query
stringlengths 7
33.1k
| document
stringlengths 7
335k
| metadata
dict | negatives
listlengths 3
101
| negative_scores
listlengths 3
101
| document_score
stringlengths 3
10
| document_rank
stringclasses 102
values |
---|---|---|---|---|---|---|
This function is called periodically during operator control
|
public void teleopPeriodic() {
double forward = joy.getX();
double strafe = joy.getY();
double rotate = joy2.getX()/2;
double ftLeft = forward + strafe + rotate;
double ftRight = -forward + strafe + rotate;
double bkLeft = forward - strafe + rotate;
double bkRight = -forward - strafe + rotate;
try{
frontLeft.set(ftLeft);
frontRight.set(ftRight);
backLeft.set(bkLeft);
backRight.set(bkRight);
}catch(Exception e){
System.out.println("Hey Listen");
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void teleopPeriodic() {\n \t\n \twhile (isOperatorControl() && isEnabled()) {\n \t\tdebug();\n \t\tsmartDashboardVariables();\n \t\t//driver control functions\n \t\tdriverControl();\n \t//state machine\n \tterrainStates();\n \t//this function always comes last\n \t//armSlack();\n Timer.delay(0.005);\t\t// wait for a motor update time\n }\n \tTimer.delay(0.005);\n }",
"public void teleopPeriodic() {\n Scheduler.getInstance().run();\n// if (oi.driveStick.getRawButton(4)) {\n// System.out.println(\"Left Encoder Distance: \" + RobotMap.leftDriveEncoder.getDistance());\n// System.out.println(\"RightEncoder Distance: \" + RobotMap.rightDriveEncoder.getDistance());\n// }\n\n }",
"public void teleopPeriodic() {\r\n Scheduler.getInstance().run();\r\n OI.poll();\r\n }",
"public void operatorControl() {\n myRobot.setSafetyEnabled(true);\n while (isOperatorControl() && isEnabled()) {\n \tmyRobot.tankDrive(controller, 2, controller, 5);\n Timer.delay(0.005);\t\t// wait for a motor update time\n }\n }",
"@Override\n public void teleopPeriodic() {\n try {\n mDriveController.update();\n mOperatorController.update();\n driverControl();\n \n } catch (Throwable t) {\n CrashTracker.logThrowableCrash(t);\n throw t;\n }\n \n }",
"@Override\n public void teleopPeriodic() {\n }",
"@Override\n public void teleopPeriodic() {\n }",
"public void teleopPeriodic() \n {\n // NIVision.Rect rect = new NIVision.Rect(10, 10, 100, 100);\n /*\n NIVision.IMAQdxGrab(session, frame, 1);\n //NIVision.imaqDrawShapeOnImage(frame, frame, rect,\n // DrawMode.DRAW_VALUE, ShapeMode.SHAPE_OVAL, 0.0f);\n */\n \n //cam.getImage(frame);\n //camServer.setImage(frame);\n \n //CameraServer.getInstance().setImage(frame);\n \n if(verticalLift.limitSwitchHit())\n verticalLift.resetEnc();\n \n Scheduler.getInstance().run();\n }",
"public void teleopPeriodic() {\r\n }",
"@Override\n public void teleopPeriodic() {\n CommandScheduler.getInstance().run();\n OI.getInstance().getPilot().run();\n SmartDashboard.putNumber(\"gyro\", getRobotContainer().getTecbotSensors().getYaw());\n SmartDashboard.putBoolean(\"isSpeed\", getRobotContainer().getDriveTrain().getTransmissionMode() == DriveTrain.TransmissionMode.speed);\n SmartDashboard.putString(\"DT_MODE\", getRobotContainer().getDriveTrain().getCurrentDrivingMode().toString());\n SmartDashboard.putNumber(\"x_count\", getRobotContainer().getClimber().getxWhenPressedCount());\n\n }",
"public void operatorControl() {\n \tmyRobot.setSafetyEnabled(true);\n while (isOperatorControl() && isEnabled()) {\n \tdouble x = stick2.getRawAxis(0);\n \tdouble y = stick2.getRawAxis(1);\n \tdouble rot = stick.getRawAxis(0);\n \tSmartDashboard.putNumber(\"x1\", x);\n SmartDashboard.putNumber(\"y1\", y);\n SmartDashboard.putNumber(\"rot1\", rot);\n \tif(Math.abs(x) < .2)\n \t\tx = 0;\n \tif(Math.abs(y) < .2)\n \t\ty = 0;\n \tif(Math.abs(rot) < .2)\n \t\trot = 0;\n \tmyRobot.mecanumDrive_Cartesian(x*-1, y*-1,rot*-1, gyro.getAngle());\n double current1 = pdp.getCurrent(0);\n double current2 = pdp.getCurrent(13);\n double current3 = pdp.getCurrent(15);\n double current4 = pdp.getCurrent(12);\n SmartDashboard.putNumber(\"Front Left current\", current1);\n SmartDashboard.putNumber(\"back Left current\", current2);\n SmartDashboard.putNumber(\"Front right current\", current3);\n SmartDashboard.putNumber(\"back right current\", current4);\n SmartDashboard.putNumber(\"x\", x);\n SmartDashboard.putNumber(\"y\", y);\n SmartDashboard.putNumber(\"rot\", rot);\n SmartDashboard.putNumber(\"Gyro\", gyro.getAngle());\n \tTimer.delay(0.005);\t\t// wait for a motor update time\n }\n }",
"public void teleopPeriodic() \r\n {\r\n Watchdog.getInstance().feed();\r\n Scheduler.getInstance().run();\r\n \r\n //Polls the buttons to see if they are active, if they are, it adds the\r\n //command to the Scheduler.\r\n if (mecanumDriveTrigger.get()) \r\n Scheduler.getInstance().add(new MechanumDrive());\r\n \r\n else if (tankDriveTrigger.get())\r\n Scheduler.getInstance().add(new TankDrive());\r\n \r\n else if (OI.rightJoystick.getRawButton(2))\r\n Scheduler.getInstance().add(new PolarMechanumDrive());\r\n \r\n resetGyro.get();\r\n \r\n //Puts the current command being run by DriveTrain into the SmartDashboard\r\n SmartDashboard.putData(DriveTrain.getInstance().getCurrentCommand());\r\n \r\n SmartDashboard.putString(ERRORS_TO_DRIVERSTATION_PROP, \"Test String\");\r\n \r\n \r\n }",
"@Override\n\tpublic void teleopPeriodic() {\n\t}",
"@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\tisAutonomous = false;\n\t\tisTeleoperated = true;\n\t\tisEnabled = true;\n\t\tupdateLedState();\n\t\t//SmartDashboard.putNumber(\"Gyro\", Robot.drivebase.driveGyro.getAngle());\n\t\tSmartDashboard.putNumber(\"Climber Current Motor 1\", Robot.climber.climberTalon.getOutputCurrent());\n\t\tSmartDashboard.putNumber(\"Climber Current motor 2\", Robot.climber.climberTalon2.getOutputCurrent());\n\t\t//visionNetworkTable.getGearData();\n\t//\tvisionNetworkTable.showGearData();\n\t\tSmartDashboard.putNumber(\"GM ACTUAL POSITION\", Robot.gearManipulator.gearManipulatorPivot.getPosition());\n\n\t\tif(Robot.debugging){\t\t\t\n\t\t\tSmartDashboard.putNumber(\"Shooter1RPM Setpoint\", shooter.shooter1.getSetpoint());\n\t \tSmartDashboard.putNumber(\"Intake Pivot Encoder Position\", Robot.gearManipulator.gearManipulatorPivot.getPosition());\n\t\n\t\t\tSmartDashboard.putNumber(\"Gear Manipulator Setpoint\", gearManipulator.gearManipulatorPivot.getSetpoint());\n\t\t}\n\t\t//\tvisionNetworkTable.getGearData();\n\t\t//visionNetworkTable.getHighData();\n\t}",
"public void teleopPeriodic() {\n \tteleop.teleopPeriodic();\n }",
"@Override\n public void teleopPeriodic() {\n\tupdateDiagnostics();\n\tScheduler.getInstance().run();\n }",
"public void teleopPeriodic() {\r\n\t\tScheduler.getInstance().run();\r\n\t}",
"public void teleopPeriodic() {\n driverScreen.updateLCD();\n }",
"@Override\n public void teleopPeriodic() {\n teleop.periodic();\n toggleCompressor = toggleCompressor ^ robot.compressorToggle.get();\n robot.runCompressor.set(toggleCompressor);\n Watcher.update();\n\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"@Override\n public void robotPeriodic() {\n }",
"public void updatePeriodic() {\r\n }",
"public void teleopPeriodic() {\n \t//getInstance().run();;\n \t//RobotMap.robotDrive1.arcadeDrive(oi.stickRight); //This line drives the robot using the values of the joystick and the motor controllers selected above\n \tScheduler.getInstance().run();\n\t\n }",
"public void teleopPeriodic() {\n Scheduler.getInstance().run();\n drive.updateTeleop();\n sensor.updateTeleop();\n }",
"@Override\n public void teleopPeriodic() {\n // drive.DrivePeriodic();\n controllerMap.controllerMapPeriodic();\n // intake.IntakePeriodic();\n // climb.ClimbPeriodic();\n\n }",
"public void teleopPeriodic()\n\t{\n\t\tScheduler.getInstance().run();\n\t}",
"@Override\n\tpublic void teleopPeriodic() //runs the teleOp part of the code, repeats every 20 ms\n\t{\n\t\tScheduler.getInstance().run(); //has to be here, I think that this is looping the method\n\t\tSmartDashboard.putNumber(\"Encoder Left: \", RobotMap.encoderLeft.getRaw()); //putting the value of the left encoder to the SmartDashboard\n\t\tSmartDashboard.putNumber(\"Encoder Right: \", RobotMap.encoderRight.getRaw()); //putting the value of the right encoder to the smartDashboard\n\t\tSmartDashboard.putNumber(\"Ultrasonic sensor\", ultrasonic.getDistanceIn()); //putting the value of the ultrasonic sensor to the smartDashboard\n//\t\tSmartDashboard.putBoolean(\"allOK\", Robot.driveFar.ultrasonicOK);\n\t\tdriveExecutor.execute(); //running the execute method in driveExecutor\n\t\tgrab.execute(); //running the execute() method in GearGrab_Command (should run without this but this is ensuring us that it is on)\n\t}",
"@Override\n public void teleopPeriodic()\n {\n commonPeriodic();\n }",
"@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\n\t\tif (oi.getRightTrig()) {\n\t\t\tshifter.set(Value.kForward);\n\t\t} else if (oi.getLeftTrig()) {\n\t\t\tshifter.set(Value.kReverse);\n\t\t}\n\t\tSystem.out.println(shifter.get());\n\t\t\t\n\t\tif(oi.getClimber()){\n\t\t\tclimber.set(1.0);\n\t\t\tSystem.out.println(\"climber running\");\n\t\t}else {\n\t\t\tclimber.set(0);\n\t\t\tSystem.out.println(\"climber not running\");\n\t\t}\n\t}",
"@Override\n public void autonomousPeriodic() {\n \n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void autonomousPeriodic() {\n\n }",
"@Override\n\tpublic void robotPeriodic() {\n\t}",
"@Override\n\tpublic void robotPeriodic() {\n\t}",
"public void teleopPeriodic() {\n Scheduler.getInstance().run();\n }",
"public void teleopPeriodic() {\n Scheduler.getInstance().run();\n }",
"public void teleopPeriodic() {\n Scheduler.getInstance().run();\n }",
"public void teleopPeriodic() {\n Scheduler.getInstance().run();\n }",
"@Override\n public void robotPeriodic() {\n\n enabledCompr = pressBoy.enabled();\n //pressureSwitch = pressBoy.getPressureSwitchValue();\n currentCompr = pressBoy.getCompressorCurrent();\n //SmartDashboard.putBoolean(\"Pneumatics Loop Enable\", closedLoopCont);\n SmartDashboard.putBoolean(\"Compressor Status\", enabledCompr);\n //SmartDashboard.putBoolean(\"Pressure Switch\", pressureSwitch);\n SmartDashboard.putNumber(\"Compressor Current\", currentCompr);\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void autonomousPeriodic() {\n }",
"@Override\n public void autonomousPeriodic() {\n }",
"@Override\n public void autonomousPeriodic() {\n }",
"@Override\r\n public void periodic() {\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t\tSmartDashboard.putBoolean(\"Max Intake Extension: \", RobotMap.intakeLifted.get());\n\t\tSmartDashboard.putBoolean(\"Max Lift Extension:\", RobotMap.isAtTop.get());\n\t\tSmartDashboard.putBoolean(\"Min Lift Extension:\", RobotMap.isAtBottom.get());\n\t\tDriveTrain.driveWithJoystick(RobotMap.stick, RobotMap.rd); // Drive\n\t\tTeleOp.RaiseLift(RobotMap.liftTalon, RobotMap.controller); // Raise lift\n\t\tif(RobotMap.controller.getRawAxis(RobotMap.lowerLiftAxis) >= 0.2) {\n\t\tTeleOp.LowerLift(RobotMap.liftTalon, RobotMap.controller);\n\t\t}\n\t\tTeleOp.DropIntake(RobotMap.controller, RobotMap.intakeLifter);\n\t\tTeleOp.spinOut(RobotMap.intakeVictorLeft, RobotMap.controller);\n\t\t//TeleOp.spinnySpinny(RobotMap.intakeVictorLeft, RobotMap.stick);\n\t}",
"public void autonomousPeriodic()\r\n {\r\n \r\n }",
"@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}",
"@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}",
"@Override\n\tpublic void teleopPeriodic() {\n\t\tScheduler.getInstance().run();\n\t}",
"@Override\n\tpublic void teleopPeriodic() {\n\t\tupdate();\n\t\t\n\t\t//dashboard outputs\n\t\tdashboardOutput();\n\t\t\n\t\t\n\t\t\n\t\tif (tankDriveBool) {\n\t\t\ttankDrive();\n\t\t} \n\t\telse {\n\t\t\ttankDrive();\n\t\t}\n\t\tif (buttonA) {\n\t\t\ttest = true;\n\t\t\twhile (test) {\n\t\t\t\tcalibrate(10);\n\t\t\t\ttest = false;\n\t\t\t}\n\t\t}\n\t\tif (buttonY) {\n\t\t\tclimbMode = !climbMode;\n\t\t\tcontroller.setRumble(Joystick.RumbleType.kRightRumble, 0.5);\n\t\t\tcontroller.setRumble(Joystick.RumbleType.kLeftRumble, 0.5);\n\t\t\tTimer.delay(0.5);\n\t\t\tcontroller.setRumble(Joystick.RumbleType.kRightRumble, 0);\n\t\t\tcontroller.setRumble(Joystick.RumbleType.kLeftRumble, 0);\n\t\t}\n\t\tverticalMovement();\n\t\tgrab();\n\t}",
"public void teleopPeriodic() {\n\t\t// resetAndDisable();\n\t\tupdateDashboard();\n\t\tLogitechJoystick.controllers();\n\t\tDrivetrain.arcadeDrive();\n\t\tShooterAngleMotor.angleShooter();\n\t\tBallShooter.shootBalls();\n\t\tSonicSensor.updateSensors();\n\t\t\n\t\t//if(LogitechJoystick.rightBumper2)\n\t\t\t//{\n\t\t\t\t//LowBar.makeArmStable();\n\t\t\t//}\n\n\t}",
"@Override\n public void autonomousPeriodic() {\n }",
"@Override\n public void teleopPeriodic() {\n \tbeginPeriodic();\n Scheduler.getInstance().run();\n endPeriodic();\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n\tpublic void periodic()\n\t{\n\t}",
"public void teleopPeriodic() {\n Scheduler.getInstance().run();\n rumbleInYourPants();\n turnSpindleIfNeeded();\n turnWinchIfNeeded();\n if (arcadeDrive != null) \n arcadeDrive.start();\n }"
] |
[
"0.7665666",
"0.73227316",
"0.7286976",
"0.72593725",
"0.7255314",
"0.71488637",
"0.71488637",
"0.71138996",
"0.7093574",
"0.7090445",
"0.70560575",
"0.7046668",
"0.704289",
"0.7039102",
"0.7032054",
"0.7023366",
"0.6963418",
"0.69623876",
"0.69429386",
"0.69309705",
"0.69309705",
"0.69309705",
"0.69309705",
"0.69309705",
"0.69309705",
"0.6899386",
"0.68936527",
"0.6882646",
"0.68753546",
"0.687443",
"0.6872987",
"0.68692183",
"0.6860374",
"0.68447095",
"0.6841578",
"0.6841578",
"0.6831749",
"0.68232137",
"0.68232137",
"0.6814693",
"0.6814693",
"0.6814693",
"0.6814693",
"0.67941135",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.677258",
"0.67706984",
"0.67706984",
"0.67706984",
"0.6768479",
"0.6764131",
"0.6764131",
"0.6764131",
"0.6764131",
"0.6757807",
"0.67566633",
"0.67341703",
"0.67341703",
"0.67341703",
"0.67252094",
"0.6721157",
"0.67074573",
"0.6701728",
"0.66846615",
"0.66846615",
"0.66846615",
"0.6682299",
"0.6671709"
] |
0.0
|
-1
|
This function is called periodically during test mode
|
public void testPeriodic() {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n public void testPeriodic()\n {\n \n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n }",
"@Override\n public void testPeriodic() {\n\n LiveWindow.updateValues();\n }",
"@Override\n\tpublic void testPeriodic() {\n\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t\tLiveWindow.run();\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t\tLiveWindow.run();\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t\tLiveWindow.run();\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t\tLiveWindow.run();\n\t}",
"public void testPeriodic() {\n Scheduler.getInstance().run();\n }",
"@Override\n\tpublic void testPeriodic() {\n\t\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t\t\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t\t\n\t}",
"public void testPeriodic() {\n\t\tLiveWindow.run();\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t\tLiveWindow.run();\n\t\tisAutonomous = false;\n\t\tisTeleoperated = true;\n\t\tisEnabled = true;\n\t}",
"@Override\n\tpublic void testPeriodic() {\n\t\tbeginPeriodic();\n\t\t//LiveWindow.run();\n\t\tendPeriodic();\n\t}",
"@Override\r\n\tpublic void sssDoLwTestPeriodic() {\n\r\n\t}",
"@Override\n\tpublic void testPeriodic() {}",
"public void testPeriodic() {\n \n }",
"public void testPeriodic() {\n \n }",
"public void testPeriodic() {\n \n }",
"public void testPeriodic() {\n\n\t}",
"public void testPeriodic() {\n\t}",
"@Override\n public void testPeriodic() {\n //Diagnostics.writeString(\"State\", \"TEST\");\n }",
"public void testPeriodic() {\r\n }",
"public void testPeriodic() {\n LiveWindow.run();\n }",
"public void testPeriodic() {\n LiveWindow.run();\n }",
"public void testPeriodic() {\n LiveWindow.run();\n }",
"public void testPeriodic() {\n LiveWindow.run();\n }",
"public void testPeriodic() {\n LiveWindow.run();\n }",
"public void testPeriodic() {\n LiveWindow.run();\n }",
"public void testPeriodic() {\n LiveWindow.run();\n }",
"public void testPeriodic() {\n LiveWindow.run();\n }",
"public void testPeriodic() {\n LiveWindow.run();\n //init.start();\n }",
"protected void runEachSecond() {\n \n }",
"@Override\n public void testPeriodic() {\n CommandScheduler.getInstance().run();\n\n SmartDashboard.putNumber(\"XCOUNT\", getRobotContainer().getClimber().getxWhenPressedCount());\n\n\n }",
"public void testPeriodic() \n {\n LiveWindow.run();\n }",
"public void testPeriodic() {\n \t\n }",
"public void testPeriodic() {\n \tterrainStates();\n \tdebug();\n }",
"@Test\n public void testTimelyTest() {\n }",
"public void testPeriodic() {\r\n \r\n }",
"@SuppressWarnings(\"PMD.JUnit4TestShouldUseTestAnnotation\")\n public void testPeriodic() {\n if (m_tmpFirstRun) {\n System.out.println(\"Default testPeriodic() method... Override me!\");\n m_tmpFirstRun = false;\n }\n }",
"protected void runEachMinute() {\n \n }",
"@Test\n public void refresh() throws Exception {\n }",
"@Override\r\n public void runTests() {\r\n getTemperature();\r\n }",
"@Override\n public void simulationPeriodic() {\n }",
"public void demoSchduleMethod() {\n log.info(\"Method executed at every 5 seconds. Current time is :: \" + new Date());\n }",
"@Override\n public void periodic() {\n // This method will be called once per scheduler run\n }",
"private void dofakework() {\n\t\ttry {\n\t\t\tThread.sleep(1000);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Before\r\n\tpublic void doThisEveryTime() {\n\t}",
"@Override\n public void simulationPeriodic() {\n }",
"public void run() {\n\n long now = System.currentTimeMillis();\n //System.out.println(\"1: \" + this.getClass().getName() + \"#\" + id + \", \" + (System.currentTimeMillis()) + \" ms\");\n try {\n\n test.setUp();\n this.testReport = new TestReport(id, this.getClass().getName());\n while (alive.get()) {\n test.test(this.id);\n counter.incrementAndGet();\n }\n //long stop = System.currentTimeMillis();\n //System.out.println(\"2: \" + this.getClass().getName() + \"#\" + id + \", \" + stop + \" \" + (stop - now) + \" ms\");\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n try {\n test.tearDown();\n this.testReport.stopTimers();\n //testReport.printInfo();\n } catch (Exception e) {\n // ignore errors in tearDown for now\n }\n }\n\n }",
"@Override\n public void autonomousPeriodic() {\n \n }",
"public void run() {\n\t\t\t \t \n\t\t\t \t test.load2();\n\t\t\t \t //System.out.println(\"heart beat report\"+System.currentTimeMillis());\n\t\t\t }",
"public void _testSandbox() throws InterruptedException{\n Thread.sleep(500000);\n }",
"@Override\n public void autonomousPeriodic() {\n\n }",
"public void run() {\n\t\t\t \t \n\t\t\t \t test.load1();\n\t\t\t \t //System.out.println(\"heart beat report\"+System.currentTimeMillis());\n\t\t\t }",
"protected void runEach10Minutes() {\n try {\n saveHistoryData();\n if (isEnabledScheduler()) {\n boolean action = getLightSchedule().getCurrentSchedule();\n if (action) {\n if (!currentState) switchOn();\n } else {\n if (currentState) switchOff();\n }\n }\n } catch (RemoteHomeManagerException e) {\n RemoteHomeManager.log.error(44,e);\n } catch (RemoteHomeConnectionException e) {\n RemoteHomeManager.log.error(45,e);\n }\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n\tpublic void testPeriodic(IRobot robot) {\n\t}",
"@Override\n public void autonomousPeriodic() {\n }",
"@Override\n public void autonomousPeriodic() {\n }",
"@Override\n public void autonomousPeriodic() {\n }",
"protected void runEachHour() {\n \n }",
"protected void runAfterTest() {}",
"@Override\n public void periodic() {\n UpdateDashboard();\n }",
"@Override\n\tpublic void sleep() {\n\t\t\n\t}",
"public void runLastTime(){\n\t\t/*try {\n\t\t\tlong timeDiff = 100;\n\t\t\t\n\t\t\tFeatureListController controller = new FeatureListController(timeDiff);\n\t\t\tTestSensorListener listener1 = new TestSensorListener();\n\t\t\tcontroller.registerSensorListener(listener1);\n\t\t\tTestSensorListener listener2 = new TestSensorListener();\n\t\t\tcontroller.registerSensorListener(listener2);\n\t\t\t\n\t\t\t\n\t\t\t//20 samples in total\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tThread.sleep(10);\n\t\t\tcontroller.addFeatureList(listener2, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\tcontroller.addFeatureList(listener1, new FeatureList(new double[10], new Timestamp(new Date().getTime())));\n\t\t\t\n\t\t\t\n\t\t\tfor(int i=0;i<2;++i){\n\t\t\t\tSensorListener listener;\n\t\t\t\tif(i==0)\n\t\t\t\t\tlistener = listener1;\n\t\t\t\telse \n\t\t\t\t\tlistener = listener2;\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"LISTENER\" + (i+1));\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Now:\" + new Date().getTime());\n\t\t\t\tList<FeatureList> featureLists = controller.getLastFeatureListsInMilliseconds(listener, -1);\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"All feature lists with milliseconds method\");\n\t\t\t\tfor(FeatureList l : featureLists)\n\t\t\t\t\tSystem.out.println(l.getTimestamp().getTime());\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"All feature lists with n method\");\n\t\t\t\tList<FeatureList> featureLists2 = controller.getLastNFeatureList(listener, -1);\n\t\t\t\tfor(FeatureList l : featureLists)\n\t\t\t\t\tSystem.out.println(l.getTimestamp().getTime());\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Last milliseconds \" + 40);\n\t\t\t\tList<FeatureList> featureLists3 = controller.getLastFeatureListsInMilliseconds(listener, 40);\n\t\t\t\tfor(FeatureList l : featureLists3)\n\t\t\t\t\tSystem.out.println(l.getTimestamp().getTime());\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Last N Feature Lists \" + 6);\n\t\t\t\tList<FeatureList> featureLists4 = controller.getLastNFeatureList(listener, 6);\n\t\t\t\tfor(FeatureList l : featureLists4)\n\t\t\t\t\tSystem.out.println(l.getTimestamp().getTime());\n\t\t\t}\n\t\t\t\n\n\t\t} catch (InterruptedException ex) {\n\t\t\tSystem.out.println(ex.getLocalizedMessage());\n//Logger.getLogger(CaseFeatureListController.class.getName()).log(Level.SEVERE, new double[10], ex);\n\t\t}*/\n\t\t\n\t}",
"@Override\n\tpublic void homeTestRun() {\n\t\t\n\t}",
"@Override\r\n\tpublic void run() {\r\n\t\ttimer = new Timer();\r\n\t\ttimer.schedule(new TimerTask() {\r\n\t\t\t@Override\r\n public void run() {\r\n Main.myIntegratedSensorSuite.reinitializeRainData();\r\n }\r\n\t\t}, 0, 20000); //runs once initially then again every 20 seconds\r\n\t}",
"@Override\r\n\tpublic void perSecond() {\n\r\n\t}",
"private void stressTest() {\n\t\t\n\t\tTimerTask task = new TimerTask() {\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tint count = 1;\n\t\t\t\tint len = 100;\n\t\t\t\tint maxCount = 1000000;\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Start stress test...\");\n\t\t\t\twhile (count <= maxCount) {\n\t\t\t\t\t\n\t\t\t\t\tif ((count % 1000) == 0) {\n\t\t\t\t\t\tSystem.out.println(\"Count: \" + count + \" of \" + maxCount);\n\t\t\t\t\t\tSystem.gc();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tlong larray[] = new long[len];\n\t\t\t\t\t\n\t\t\t\t\tlarray[0] = count;\n\t\t\t\t\tlarray[len-1] = count;\n\t\t\t\t\t\n\t\t\t\t\tMessage message = Message.createMessage(getId(), \"Triggers\");\n\t\t\t\t\tmessage.setPayload(larray);\n\t\t\t\t\tsend(message);\n\n\t\t\t\t\t\n//\t\t\t\t\ttry {\n//\t\t\t\t\t\tThread.sleep(25);\n//\t\t\t\t\t} catch (InterruptedException e) {\n//\t\t\t\t\t\te.printStackTrace();\n//\t\t\t\t\t}\n\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Done.\");\n\n\t\t\t}\n\n\t\t};\n\n\t\tTimer timer = new Timer();\n\t\t// one time schedule\n\t\ttimer.schedule(task, 2000L);\n\t}",
"@Override\n public void autonomousPeriodic() {\n \n Scheduler.getInstance().run();\n \n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void periodic() {\n\n }",
"@Override\n public void autonomousPeriodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }",
"@Override\n public void periodic() {\n }"
] |
[
"0.7800467",
"0.75683486",
"0.75683486",
"0.75683486",
"0.75683486",
"0.75683486",
"0.75683486",
"0.75683486",
"0.75683486",
"0.75683486",
"0.75683486",
"0.7513078",
"0.7469104",
"0.7374911",
"0.7364876",
"0.7364876",
"0.7364876",
"0.7364876",
"0.73407346",
"0.7327271",
"0.73171455",
"0.73171455",
"0.7293993",
"0.7293993",
"0.72778416",
"0.72312987",
"0.7207229",
"0.720396",
"0.71983147",
"0.716904",
"0.716904",
"0.716904",
"0.713752",
"0.7127215",
"0.7124398",
"0.71158797",
"0.71142244",
"0.71142244",
"0.71142244",
"0.71142244",
"0.71142244",
"0.71142244",
"0.71142244",
"0.71142244",
"0.71140385",
"0.7086685",
"0.6976778",
"0.6969408",
"0.6967512",
"0.6930725",
"0.68409485",
"0.67182064",
"0.6617569",
"0.6584265",
"0.65554386",
"0.65530086",
"0.65268195",
"0.64798206",
"0.6477171",
"0.6472228",
"0.6443787",
"0.6429172",
"0.6394023",
"0.63703555",
"0.6364299",
"0.63590497",
"0.634407",
"0.63261676",
"0.63225466",
"0.6301144",
"0.6301144",
"0.62885046",
"0.6285774",
"0.6285774",
"0.6285774",
"0.62847394",
"0.6282452",
"0.62705654",
"0.6259278",
"0.62195456",
"0.6217139",
"0.62130535",
"0.6211397",
"0.6197089",
"0.61921287",
"0.6189988",
"0.6189988",
"0.6189988",
"0.6189988",
"0.6185031",
"0.6179041",
"0.6179041",
"0.6179041",
"0.6179041",
"0.6179041",
"0.6179041",
"0.6179041",
"0.6179041",
"0.6179041"
] |
0.7108927
|
46
|
TODO Autogenerated method stub
|
@Override
public ArrayList<String> showFlights(String source, String destination, String date) throws ParseException {
ArrayList<String> result = new ArrayList<String>();
Timestamp travelTimestamp = new Timestamp(((new SimpleDateFormat("dd/MM/yyyy")).parse(date)).getTime());
ArrayList<TransportMode> flights;
if(allFlightsByTimestamp.containsKey(travelTimestamp)){
flights = allFlightsByTimestamp.get(travelTimestamp);
Flight flight;
for(int i = 0;i<flights.size();i++){
flight = (Flight)flights.get(i);
if(flight.getSource().equalsIgnoreCase(source) && flight.getDestination().equalsIgnoreCase(destination))
result.add(""+flight.getModeNumber());
}
}
if(result.size() == 0)
result = null;
return result;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
load the user via api users service
|
@Override
protected void successfulAuthentication(HttpServletRequest request, HttpServletResponse response, FilterChain chain,
Authentication authResult) throws IOException, ServletException {
ApiUser apiUser = this.apiUsersService.getApiUserByUserName(((User) authResult.getPrincipal()).getUsername());
String jwtToken = Jwts.builder()
.setSubject(((User) authResult.getPrincipal()).getUsername())
.setExpiration(new Date(System.currentTimeMillis() + EXPIRATION_TIME))
.claim("authorities", ((User) authResult.getPrincipal()).getAuthorities().toArray())
.claim("firstName", apiUser.getFirstName())
.claim("lastName", apiUser.getLastName())
.claim("apiUserId", apiUser.getId())
.signWith(SignatureAlgorithm.HS512, SECRET.getBytes(StandardCharsets.UTF_8))
.compact();
try {
response.getWriter().write(TOKEN_PREFIX + jwtToken);
this.eventsService.createEvent(new Event("Logged In", apiUser,
new Date(System.currentTimeMillis()).getTime(), false));
} catch (Exception e) {
authLogger.warn(e.getMessage());
throw (e);
}
response.setStatus(HttpServletResponse.SC_ACCEPTED);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public User loadUserDetails(String id)throws Exception;",
"User loadUser( String username ) throws UserNotFoundException;",
"private void fetchUser() {\n UserFetcher userFetcher = new UserFetcher();\n userFetcher.setListener(this);\n userFetcher.getUser();\n }",
"User loadUserByUserName(String userName);",
"User getUserById(int id);",
"User getUser(Long id);",
"User getUserInformation(Long user_id);",
"@GET(\"administrators/{id}\")\n Call<User> getUser(\n @retrofit2.http.Path(\"id\") Integer id\n );",
"User getUserById(Long id);",
"User getUserById(Long id);",
"User loadUser(int id) throws DataAccessException;",
"private void getUser(){\n user = new User();\n SharedPreferences preferences = getSharedPreferences(\"account\", MODE_PRIVATE);\n user.setId(preferences.getInt(\"id\", 0));\n user.setPhone(preferences.getString(\"phone\", \"\"));\n user.setType(preferences.getInt(\"type\",0));\n }",
"protected void loadUser(String id) {\n\t\tIntent intent = new Intent();\n\t\tintent.setClass(activity, ShowUserInfo.class);\n\t\tintent.putExtra(\"username\", id);\n\t\tintent.putExtra(\"owner\", username);\n\t\t\n\t\tstartActivity(intent);\n//\t\tthis.finish();\n\t}",
"@Override\n public User getUserById(int id) {\n Session session = this.sessionFactory.getCurrentSession(); \n User u = (User) session.load(User.class, new Integer(id));\n logger.info(\"User loaded successfully, User details=\"+u);\n return u;\n }",
"private void populateUser() {\n // After user is authenticated, grab their data from the net\n // TODO This will ping the net on every resume (which is probably frequent).\n userListener = saplynService.viewUser();\n\n userListener.subscribeOn(Schedulers.newThread())\n .observeOn(AndroidSchedulers.mainThread())\n .subscribe(\n\n // We got a valid user from the web. Populate our local object and spawn\n // the dashboard.\n user -> {\n this.user = user;\n FragmentTransaction ft = fm.beginTransaction();\n ft.add(R.id.main_fragment_container_home, new DashboardFragment());\n ft.commit();\n },\n throwable -> {\n if(throwable instanceof HttpException) {\n ResponseBody body = ((HttpException) throwable).response().errorBody();\n Log.e(TAG, \"onErrorFromPopulateUser: \"\n + body.toString());\n }\n }\n );\n }",
"User getUser();",
"User getUser();",
"@GET(\"users/{id}\")\n Call<UserResource> getUser(\n @retrofit2.http.Path(\"id\") String id\n );",
"public static User getUser(String id){\n\t\tWSResponse response = null;\n\t\tUser user = null;\n\t\ttry{\n\t\tPromise<WSResponse> result = WS.url(Utils.getApiUrl()+Urls.GET_ONE_USER+id)\n\t\t\t\t\t\t\t\t\t\t.setContentType(Urls.CONTENT_TYPE_JSON)\n\t\t\t\t\t\t\t\t\t\t.get();\n\t\tresponse = result.get(10000);\n\t\tuser = new Gson().fromJson(response.getBody(), User.class);\n\t\t} catch(Exception exception){\n\t\t\tController.flash(Messages.ERROR, Messages.CANT_LOAD_USERS + exception);\n\t\t}\n\t\treturn user;\n\t}",
"public User getUserData(String id);",
"public User getUserById(Long id) throws Exception;",
"User getUser(String userId);",
"@GET(\"/api/users/{id}\")\n public void getUserById(@Path(\"id\") Integer id,Callback<User> callback);",
"public User read(String id);",
"public User get(String username);",
"@Override\n public UserInfo loadUserInfo() {\n // load the user directly from the database. the instance returned from currentUser() might not\n // be with the latest changes\n return userGroupService.findUser(userGroupService.currentUser().getUsername());\n }",
"public User getUser (String userName);",
"@RequestMapping(\n value = \"/user/{user_id}\", method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_UTF8_VALUE\n )\n public ResponseEntity<User> getUser(@PathVariable(\"user_id\") long id) {\n System.out.println(\"Fetching User with id \" + id);\n User user = new User();\n user.setId(id);\n user.setName(\"Boby\");\n return new ResponseEntity<>(user, HttpStatus.OK);\n }",
"@CrossOrigin(origins = \"*\")\r\n\t@GetMapping(\"/user/{id}\")\r\n\tpublic ResponseEntity<Users> getUserById(@PathVariable(value=\"id\")Long id){\r\n\t\t\r\n\t\tUsers user = usersDAO.findById(id);\r\n\t\t\r\n\t\tif(user==null) {\r\n\t\t\t\r\n\t\t\treturn ResponseEntity.notFound().build();\r\n\t\t}\r\n\t\treturn ResponseEntity.ok().body(user);\r\n\t}",
"public static PrivateUser loadUser() {\n SharedPreferences preferences = getSharedPrefs();\n String jsonUser = preferences.getString(USER_PREF, null);\n PrivateUser user = null;\n\n if (jsonUser != null) {\n user = new Gson().fromJson(jsonUser, PrivateUser.class);\n }\n\n return user;\n }",
"UserDetails get(String id);",
"public User getUser(String userName);",
"public UserTO getUser (String id);",
"private void startLoading() {\n\t\tJSONObject obj = new JSONObject();\r\n\t\tobj.put(\"userId\", new JSONString(User.id));\r\n\t\tobj.put(\"userSID\", new JSONString(User.SID));\r\n\t\tapi.execute(RequestType.GetUserInfo, obj, this);\r\n\t}",
"public User getUser();",
"User get(Key id);",
"public User loadById(int id) {\n\t\treturn this.userDao.loadById(id);\r\n\t}",
"public User loadUserByLogin(String login);",
"private void loadUserInformation() {\n FirebaseUser user = mAuth.getCurrentUser();\n\n if (user != null) {\n if (user.getPhotoUrl() != null) {\n Glide.with(this).load(user.getPhotoUrl().toString()).into(profilePic);\n }\n if (user.getDisplayName() != null) {\n name.setText(user.getDisplayName());\n }\n\n }\n\n }",
"@PostMapping(value = \"/load\")\r\n\tpublic Users load(@RequestBody final Users users)\r\n\t{\r\n\t\tuserJPARepository.save(users);\r\n\t\treturn userJPARepository.findByName(users.getName());\r\n\t}",
"private void getUserDetailApi() {\n RetrofitService.getOtpData(new Dialog(mContext), retrofitApiClient.getUserDetail(strUserId), new WebResponse() {\n @Override\n public void onResponseSuccess(Response<?> result) {\n UserDataMainModal mainModal = (UserDataMainModal) result.body();\n if (mainModal != null) {\n AppPreference.setBooleanPreference(mContext, Constant.IS_PROFILE_UPDATE, true);\n Gson gson = new GsonBuilder().setLenient().create();\n String data = gson.toJson(mainModal);\n AppPreference.setStringPreference(mContext, Constant.USER_DATA, data);\n User.setUser(mainModal);\n }\n }\n\n @Override\n public void onResponseFailed(String error) {\n Alerts.show(mContext, error);\n }\n });\n }",
"private void loadData() {\n FileInputStream fis;\n\n try {\n fis = openFileInput(DATA_FILE);\n user = (User) new JsonReader(fis).readObject();\n fis.close();\n } catch(Exception e) {\n Log.i(\"Exception :\", e.toString());\n }\n }",
"@Override\n\tpublic User getUser(int id) {\n\t\treturn userRepository.findById(id);\n\t}",
"public User getUser(Long userId);",
"private void loadCurrentUser() {\n\n // Confirm the user is logged in\n FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser();\n\n if (user == null) {\n finish();\n return;\n }\n\n mUserListener = new ModelChangeListener<Author>(AUTHOR, user.getUid()) {\n @Override\n public void onModelReady(Author model) {\n mUser = model;\n }\n\n @Override\n public void onModelChanged() {\n\n // Update the Adapter with the changes in the logged in user\n removeExistingFromResults(mResultList, mUser.getFriends());\n\n if (mSearchType == FOLLOW) {\n removeExistingFromResults(mResultList, mUser.getFollowing());\n } else {\n removeExistingFromResults(mResultList, mUser.getSentRequests());\n }\n\n mAdapter.setFriendList(mResultList);\n }\n };\n\n mService.registerModelChangeListener(mUserListener);\n }",
"UserModel retrieveUserModel(String username, String password);",
"public User getUser(String username);",
"public User getUserById(Long userId);",
"@Override\n public User getUser(String userId){\n return userDAO.getUser(userId);\n }",
"UserInfo getUserById(Integer user_id);",
"private void loadUser() {\n File dataFile = new File(getFilesDir().getPath() + \"/\" + DATA_FILE);\n\n if(dataFile.exists()) {\n loadData();\n } else { // First time CigCount is launched\n user = new User();\n }\n }",
"@Override\r\n\tpublic User user(int id) {\r\n\t\tMap<String,String> map = getOne(SELECT_USERS+ WHERE_ID, id);\r\n\t\tif(map!= null){\r\n\t\t\treturn IMappable.fromMap(User.class, map);\r\n\t\t}\r\n\t\treturn null;\r\n\t}",
"TrackerUsers loadTrackerUsers(final Integer id);",
"public User getUser(String name);",
"public User getUser(String name);",
"@Override\r\n public IUser getUserByUserId(String id)\r\n {\r\n EntityManager em = getEntityManager();\r\n\r\n try\r\n {\r\n return em.find(User.class, id);\r\n }\r\n finally\r\n {\r\n em.close();\r\n }\r\n }",
"public PrototypeUser getUserById(Long id) {\n\t\treturn userDao.findById(id);\r\n\t}",
"public User getUser(long id){\n User user = userRepository.findById(id);\n if (user != null){\n return user;\n } else throw new UserNotFoundException(\"User not found for user_id=\" + id);\n }",
"@Override\r\n\tpublic User getUserById(int id) {\n\t\treturn userMapper.selById(id);\r\n\t}",
"KingdomUser loadUser(Player player);",
"public User getUserById(String id) {\n // return userRepo.findById(id);\n\n return null;\n }",
"ResponseEntity<Response> userById(String userId);",
"public List<User> loadAllUserDetails()throws Exception;",
"@Override\n\tpublic ERSUser getUser(int userId) {\n\t\treturn userDao.selectUserById(userId);\n\t}",
"@Override\n\tpublic UserBaseInfo loadById(Integer id) {\n\t\treturn userBaseInfoMapper.loadById(id);\n\t}",
"public Users getUser(Integer id) {\r\n\t\treturn usDao.findById(id, true);\r\n\r\n\t}",
"public User getUserByUserId(String userId) throws UserManagementException;",
"public User getUserData();",
"@GetMapping(\"/users/{id}\")\n\tpublic User retrieveUser(@PathVariable int id) {\n\t\tUser user = userService.findById(id).get();\n\t\tif (user == null) {\n\t\t\tthrow new UserNotFoundException(\"id - \" + id);\n\t\t}\n\t\treturn user;\n\t}",
"@Override\r\n public User userfindById(Integer u_id) {\n return userMapper.userfindById(u_id);\r\n }",
"public User getUser() {\n SharedPreferences sharedPreferences = mCtx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\n String userJson = sharedPreferences.getString(KEY_USER, null);\n User user = new Gson().fromJson(userJson, new TypeToken<User>(){}.getType());\n return user;\n }",
"public UsuarioRest obtenerUsuarioRest(String user);",
"public User getById(@NotBlank String id){\n System.out.println(\"Sukses mengambil data User.\");\n return null;\n }",
"@Override\n\tpublic AppUser getUserById(int id) {\n\t\tAppUser user = store.get(id);\n return user;\n\t\t\n\t}",
"public void getUserData() {\r\n User user = serverView.getUserInfo(username.getText());\r\n username.setText(\"\");\r\n if (user == null) {\r\n Alert alert = new Alert(AlertType.ERROR);\r\n alert.setTitle(\"Error\");\r\n alert.setHeaderText(\"no User with this username\");\r\n alert.showAndWait();\r\n } else {\r\n\r\n try {\r\n userContent.getChildren().clear();\r\n FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource(\"UserInfoView.fxml\"));\r\n fxmlLoader.setController(new UserInfoController(user));\r\n Pane pane = fxmlLoader.load();\r\n userContent.getChildren().add(pane);\r\n\r\n } catch (IOException ex) {\r\n ex.printStackTrace();\r\n }\r\n }\r\n }",
"User findUserById(Long id) throws Exception;",
"@Override\n\tpublic UserDetails loadUserByUsername(String arg0) throws UsernameNotFoundException {\n\t\tList <UserDetailsPojo> list=dao.getUserByName(arg0);\n\t\tif(list==null || list.size()==0){\t\t\n\t\tthrow new UsernameNotFoundException(\"No user available\");\n\t\t}\n\t\t\n\t\tUserDetailsPojo user=list.get(0);\n\t\t\n\t\treturn user;\n\t}",
"User getUser(String userName) throws UserNotFoundException;",
"public User get(String emailID);",
"@Override\n public Employee load(Integer key) throws CacheLoaderException {\n return userDao.findUserById(key);\n }",
"public abstract User getUserById(int id) throws UserNotFoundException;",
"@GetMapping(path = \"/{userId}\",\n produces =\n {MediaType.APPLICATION_XML_VALUE,\n MediaType.APPLICATION_JSON_VALUE\n })\n public ResponseEntity<UserRest> getUserById(@PathVariable String userId) {\n if (true) throw new UserServiceException(\"A user service exception is thrown\");\n /* String firstName=null;\n int firstNameLength=firstName.length();*/\n\n if (users.containsKey(userId)) {\n return new ResponseEntity<>(users.get(userId), HttpStatus.OK);\n } else {\n return new ResponseEntity<>(HttpStatus.NO_CONTENT);\n }\n }",
"@Override\r\n\tpublic User getUserByID(int id) {\n\t\treturn userMapper.getUserByID(id);\r\n\t}",
"@GET(\"user\")\n Call<User> getUser();",
"public User getUser() { return this.user; }",
"@GetMapping(\"/{id}\")\n public ResponseEntity<CompleteUsers> getUser(@PathVariable UUID id) throws IOException, InterruptedException{\n return ResponseEntity.ok().body(userService.getById(id));\n }",
"@PostConstruct\n\tprotected void handleLoad() {\n\t\tString _id = contextMB.getUser().getId();\n\t\tsetUser(userBC.load(Long.valueOf(_id)));\n\t}",
"public static StandardUserModel loaduser(Context context) throws InvalidKeyException, NoSuchAlgorithmException, UnsupportedEncodingException {\n\t\tconstructGson();\n\t\tStandardUserModel user = new StandardUserModel(context);\n\t\tfilename = userprofile;\n\t\tFileInputStream FileOpen;\n\t\ttry {\n\t\t\tFileOpen = context.getApplicationContext().openFileInput(filename);\n\t\t\tInputStreamReader FileReader = new InputStreamReader(FileOpen);\n\t\t\tBufferedReader buffer = new BufferedReader(FileReader);\n\n\t\t\tString input;\n\t\t\twhile ((input = buffer.readLine()) != null) {\n\t\t\t\t\tuser = gson.fromJson(input,StandardUserModel.class);\t\t\t\t\t\n\t\t\t}\n\t\t\tStandardUserModel.setInstance(user);\n\t\t\treturn user;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tStandardUserModel.setInstance(user);\n\n\t\treturn user;\n\t}",
"@Override\n\tpublic User getUserById(int id) {\n\t\treturn userDao.getUserById(id);\n\t}",
"@Override\n public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {\n return users.get(username);\n }",
"public bean_user_information loadUser(String userId) {\n Session session = HibernateUtil.getSession();\n bean_user_information user = (bean_user_information)session.get(bean_user_information.class, userId);\n return user;\n }",
"@Override\r\n\tpublic User findByIdUser(Integer id) {\n\t\treturn userReposotory.findById(id).get();\r\n\t}",
"public User getUser(long id) {\n\t\tUser user = null;\n\t\t\n\t\tString queryString = \n\t\t\t \"PREFIX sweb: <\" + Config.NS + \"> \" +\n\t\t\t \"PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> \" +\n\t\t\t \"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> \" +\n\t\t\t \"PREFIX foaf: <http://xmlns.com/foaf/0.1/>\" +\n\t\t\t \"select * \" +\n\t\t\t \"where { \" +\n\t\t\t \t\"?user sweb:id \" + id + \".\" +\n\t\t\t \"} \\n \";\n\n\t Query query = QueryFactory.create(queryString);\n\t \n\t QueryExecution qe = QueryExecutionFactory.create(query, this.model);\n\t ResultSet results = qe.execSelect();\n\t \n\t while(results.hasNext()) {\n\t \tQuerySolution solution = results.nextSolution() ;\n\t Resource currentResource = solution.getResource(\"user\");\n\n\t user = this.buildUserFromResource(currentResource);\n\t \n\t user.setTweets(this.getTweetsByUserId(id));\n\t user.setVisited(this.getVenuesVisitedByUserId(id));\n\t user.setInContact(this.getInContactForUserId(id));\n\t }\n\t \n\t return user;\n\t}",
"User getUser(String userName) throws InstanceNotFoundException;",
"public User user(long id) {\n\t\tOptional<User> user = repository.findById(id);\n\n\t\tif (user.isPresent()) {\n\t\t\treturn user.get();\n\t\t} else {\n\t\t\tthrow new NotFoundException(\"User com o Id: \" + id + \" não encontrado em nossa base de dados!\");\n\t\t}\n\n\t}",
"@Test\n public void testLoad() {\n List<User> result = userStore.load();\n\n assertEquals(3, result.size());\n\n assertEquals(\"Claire\", result.get(0).getUserId());\n assertEquals(\"Claire55\", result.get(0).getPassword());\n\n assertEquals(\"Todd\", result.get(1).getUserId());\n assertEquals(\"Todd34\", result.get(1).getPassword());\n }",
"@ApiOperation(value = \"get user details web service end point\",\n notes = \"This web service end point returns user details. Use public user id in the path\")\n //Api Implicit Params is for swagger to add authroization as an input field\n @ApiImplicitParams(\n @ApiImplicitParam(name = \"authorization\", value = \"${userController.authorizationHeader.description}\", paramType = \"header\"))\n @GetMapping(produces = {MediaType.APPLICATION_XML_VALUE, MediaType.APPLICATION_JSON_VALUE})\n // to mention from where we allow cross origins\n @CrossOrigin(origins = {\"http://localhost:8080\", \"http://localhost:8081\"})\n public List<UserRest> getUserList(@RequestParam(value = \"page\", defaultValue = \"1\") int page,\n @RequestParam(value = \"limit\", defaultValue = \"10\") int limit) {\n List<UserRest> returnList = new ArrayList<>();\n List<UserDto> userDtoList = userService.getUserList(page, limit);\n UserRest userRest;\n for (UserDto userDto : userDtoList) {\n userRest = new UserRest();\n BeanUtils.copyProperties(userDto, userRest);\n returnList.add(userRest);\n }\n return returnList;\n }",
"void getUser(String uid, final UserResult result);",
"public User getUser(String userName, String password);",
"public User getUser(){\n return this.getAccountController().getUser();\n }",
"User get(String name);"
] |
[
"0.72172195",
"0.71799153",
"0.6990898",
"0.68650293",
"0.6854368",
"0.68500084",
"0.68126905",
"0.67953944",
"0.6770859",
"0.6770859",
"0.6770581",
"0.6719164",
"0.66830534",
"0.6678184",
"0.66775805",
"0.665865",
"0.665865",
"0.6657846",
"0.66531575",
"0.66334045",
"0.66299236",
"0.6593597",
"0.65597355",
"0.65595764",
"0.6553962",
"0.65485775",
"0.65445024",
"0.65409434",
"0.6537143",
"0.65353227",
"0.65324074",
"0.65311605",
"0.65310454",
"0.65121895",
"0.6510343",
"0.65052074",
"0.6502622",
"0.64896125",
"0.64823246",
"0.6480619",
"0.6479864",
"0.6468031",
"0.6466469",
"0.6461371",
"0.6455658",
"0.6453441",
"0.64513314",
"0.6448319",
"0.64409876",
"0.6432108",
"0.64279777",
"0.64237314",
"0.64207196",
"0.6420297",
"0.6420297",
"0.6391503",
"0.63883156",
"0.6386055",
"0.6382175",
"0.63737065",
"0.63721067",
"0.6371156",
"0.63647646",
"0.63641447",
"0.6362383",
"0.6357272",
"0.63562685",
"0.6355465",
"0.6354522",
"0.63533455",
"0.63515043",
"0.6348849",
"0.63416135",
"0.63348806",
"0.633385",
"0.63228875",
"0.6313128",
"0.6309096",
"0.6303655",
"0.6289563",
"0.62842256",
"0.62823147",
"0.6281352",
"0.628038",
"0.6279193",
"0.6276368",
"0.626997",
"0.62697965",
"0.6269631",
"0.62660897",
"0.62642",
"0.6260942",
"0.62548125",
"0.625408",
"0.62535",
"0.62466526",
"0.6244642",
"0.6238641",
"0.62300456",
"0.62289906",
"0.6228966"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
@Override
public MobileOperator getMobileOperatorByCode(Integer mobileOperatorCode) {
return mobileOperatorMapper.selectByPrimaryKey(mobileOperatorCode);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
Toast.makeText(PokemonBankActivity.this, "clicked "+ pokemon.id, Toast.LENGTH_LONG).show();
|
@Override
public void onClickPokemon(PokemonItem pokemon) {
// Toast.makeText(PokemonBankActivity.this, "clicked "+ pokemon.id, Toast.LENGTH_LONG).show();
//
gotoPkmDetail(pokemon);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n public void onClick(View v) {\n Toast.makeText(mContext, \"You Clicked \" + position, Toast.LENGTH_LONG).show();\n }",
"@Override\n public void onClick(View v) {\n\n String s = v.getTag().toString();\n int duration = Toast.LENGTH_SHORT;\n Toast toast = Toast.makeText(context, s, duration);\n toast.show();\n }",
"@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tToast.makeText(context.getBaseContext(), \"a:\"+v.getId(), Toast.LENGTH_SHORT).show();\n\t\t\t\t}",
"@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked \" + result[position], Toast.LENGTH_SHORT).show();\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tToast.makeText(context.getBaseContext(), \"a:\"+v.getId(), Toast.LENGTH_SHORT).show();\n\t\t\t}",
"@Override\n public void onClick(View v) {\n Toast.makeText(getContext(),\"hey uuuu clicked me \",Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View v) {\n Toast.makeText(context, \"You Clicked \" + titles.get(position), Toast.LENGTH_SHORT).show();\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tToast.makeText(context, \"You Clicked \"+imageId[position], Toast.LENGTH_LONG).show();\n\t\t\t}",
"@Override\n public void onItemClick(AdapterView<?> av, View v, int pos,\n long id)\n {\n Toast.makeText(getActivity(), data.get(pos).get(\"Player\"), Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onItemClick(AdapterView<?> av, View v, int pos,\n long id) {\n\n Toast.makeText(getActivity(), data.get(pos).get(\"Player\"), Toast.LENGTH_SHORT).show();\n\n }",
"public void onClick(View v) {\n Toast.makeText( getActivity(),\"Voice Recognition\", Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View v) {\n Toast.makeText(getApplicationContext(),\n \"like to watch: \"+((Movie)v.getTag()).title,\n Toast.LENGTH_SHORT).show();\n }",
"public void onClick(DialogInterface arg0, int arg1) {\n // the button was clicked\n Toast.makeText(getApplicationContext(), \"Professional backhand-Male Video\", Toast.LENGTH_LONG).show();\n }",
"@Override\n public void onClick(View view) {\n Toast.makeText(MeetDetails.this,\n \"WIP: Ir a EditarCita\", Toast.LENGTH_LONG).show();\n }",
"public void onClick(DialogInterface dialog, int id) {\n\r\n Context context = getApplicationContext();\r\n CharSequence text = \"Welcome \" + name + \"! Signing up...\";\r\n int duration = Toast.LENGTH_SHORT;\r\n\r\n Toast toast = Toast.makeText(context, text, duration);\r\n toast.show();\r\n }",
"@Override\n public void onClick(View v) {\n Toast.makeText(MainActivity.this, \"Goodbye!\", Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View v) {\n Toast.makeText(MainActivity.this, \"Hello World\", Toast.LENGTH_LONG).show();\n }",
"@Override\n public void onClick(View v) {\n Toast.makeText(RecycleTestActivity.this, pos + \"\", Toast.LENGTH_SHORT)\n .show();\n }",
"@Override\n\t\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\t\tToast.makeText(getContext(), \"告辞!\",\n\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t\t}",
"@Override\n public void onButtonClick(int nButtonIndex) {\n Toast.makeText(this, \"onButtonClick:\" + nButtonIndex, Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View v) {\n \tSystem.out.println(\"ss1ss\");\n //Toast.makeText(ListViewActivity.this, title[mPosition], Toast.LENGTH_SHORT).show();\n }",
"@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\r\n\t\t\r\n\t\t\t\tToast.makeText(getApplicationContext(), \"등록완료\", Toast.LENGTH_SHORT).show();\r\n\t\t\t\r\n\t\t\t\t\t \r\n\t\t\t}",
"@Override\n public void onClick(View v) {\n Toast.makeText(ct,\" Blood Group \"+bloodgroup[position], Toast.LENGTH_LONG).show();\n }",
"public void onClick(DialogInterface dialog, int which) {\n displayToast(getString(R.string.revise_el_pedido));\n }",
"@Override\n public void onClick(View v) {\n\n Toast toast = Toast.makeText(getApplicationContext(), \"Coming soon.\", Toast.LENGTH_SHORT);\n toast.show();\n\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n Log.i(\"Tag\", myfamily.get(position));\n\n Toast.makeText(MainActivity.this, \"Hello \"+myfamily.get(position), Toast.LENGTH_SHORT).show();\n }",
"void toast(int resId);",
"@Override\n public void onClick(View view) {\n // Create a new intent\n Intent new_release_intent = new Intent(VietPopActivity.this, MainActivity.class);\n new_release_intent.putExtra(\"uniqueid\",\"from_viet\");\n // Start the new activity\n startActivity(new_release_intent);\n }",
"@Override\n public void onClick(View v) {\n\n\n Toast.makeText( LoginActivity.this, \"Saved\", Toast.LENGTH_SHORT ).show();\n }",
"public void onClick(View v) {\n Toast toast = Toast.makeText(getApplicationContext(), \"This button will launch my Scores app!\", Toast.LENGTH_SHORT);\n toast.show();\n }",
"@Override\n public void onClick(View view) {\n Toast.makeText(contexto, contexto.getResources().getString(R.string.addFavoritos), Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View view, int pos) {\n String tag = (String) view.getTag();\n Toast.makeText(XCArcMenuViewDemo.this, tag, Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View v) {\n CustomToast.show(getContext(),\"Service will be available Soon\");\n }",
"public void onClick(View v) {\n Toast toast = Toast.makeText(getApplicationContext(), \"This button will launch my Capstone app!\", Toast.LENGTH_SHORT);\n toast.show();\n }",
"@Override\n public void onClick(View v) {\n Toast tst = Toast.makeText(MainActivity.this, \"test\", Toast.LENGTH_SHORT);\n tst.show();\n Test();\n }",
"@Override\n public void onClick(View view) {\n\n Intent intent = new Intent(mContext, HelpDetails.class);\n intent.putExtra(\"hid\", item.getHelpId());\n mContext.startActivity(intent);\n\n\n // Toast.makeText(mContext, \"clicked\", Toast.LENGTH_SHORT).show();\n // Toast.makeText(mContext, \"\"+user_id, Toast.LENGTH_SHORT).show();\n\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n Toast.makeText(this, \"ITEM CLICKED\", Toast.LENGTH_SHORT).show();\n }",
"@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\tToast.makeText(getApplicationContext(), \"Booked\", 500).show();\n\t\t\t}",
"@Override\n public void onClick(View v) {\n String toastText = \"Hello World\";\n\n // This is how long we want to show the toast\n int duration = Toast.LENGTH_SHORT;\n\n // Get the context\n Context context = getApplicationContext();\n\n // Create the toast\n Toast toast = Toast.makeText(context, toastText, duration);\n\n // Show the toast\n toast.show();\n }",
"@Override\n public void onClick(View view) {\n Toast.makeText(getActivity(),\"bal\",Toast.LENGTH_SHORT).show();\n Intent intent=new Intent(getActivity(),osmanyhallcapt.class);\n startActivity(intent);\n }",
"@Override\r\n public void onClick(View v)\r\n {\n DJIDrone.getDjiMainController().getAircraftSn(new DJIExecuteStringResultCallback(){\r\n\r\n @Override\r\n public void onResult(String result)\r\n {\r\n // TODO Auto-generated method stub\r\n handler.sendMessage(handler.obtainMessage(SHOWTOAST, \"SN = \"+result));\r\n }\r\n \r\n });\r\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n Toast.makeText(Cardio.this,cardios.get(position).getTitle(), Toast.LENGTH_SHORT).show();\n }",
"public void onClick(View view){\n\n String name = mNameField.getText().toString();\n Toast.makeText(this,\"Hello There\"+name, Toast.LENGTH_LONG).show();\n\n }",
"@Override\n public void onClick(View v) {\n Toast.makeText(getContext(), \"Not Ready Yet :(\", Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n Toast.makeText(getActivity(), \"clicked okay\", Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n final candidato cand = candidatoList.get(position);\n // intent.putExtra(\"name\", cand.getId());\n test(Integer.toString(cand.getId()));\n\n // startActivity(intent);\n }",
"public void onClick(View v) {\n Toast toast = Toast.makeText(getApplicationContext(), \"This button will launch my Spotify Streamer app!\", Toast.LENGTH_SHORT);\n toast.show();\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tToast.makeText(getApplicationContext(), \"Button 1\", Toast.LENGTH_SHORT).show();\n\t\t\t}",
"void onClick(int id);",
"public void onItemClick(AdapterView<?> parent, View view,\n\t\t\t\t\tint position, long id) {\n\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t((TextView) view).getText() + \" is an awesome prof!\",\n\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t}",
"@OnClick(R.id.tv_guankan)\n public void guankan() {\n\n }",
"@Override\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position,\n\t\t\tlong id) {\n\t\tString text=listview.getItemAtPosition(position)+\"\";\n\t\tToast tipsToast=Toast.makeText(this, \"position+\"+position+\"text=\"+text, Toast.LENGTH_SHORT);\n\t\ttipsToast.show();\n\t}",
"@Override\n public void onClick(View v) {\n\n\n Toast.makeText(MainSOSActivity.this, \"Stay Safe and Confirm the Message! Your emergnecy conctacts will be notified!\", Toast.LENGTH_SHORT).show();\n\n }",
"public void onClick(View v) {\n \t\t// get the current context to display a Toast (below)\n \t\tContext context = getApplicationContext();\n\n \t\tCharSequence text;\n\n \t\t// figure out which button was clicked by comparing\n \t\t// the View's ID with known IDs.\n \t\tswitch(v.getId()) {\n\t \t\tcase R.id.one: text = \"one pushed!\"; break;\n\t \t\tcase R.id.two: text = \"two pushed!\"; break;\n\t \t\tcase R.id.three: text = \"three pushed!\"; break;\n\t \t\tcase R.id.four: text = \"four pushed!\"; break;\n\t \t\tcase R.id.five: text = \"five pushed!\"; break;\n\t \t\tcase R.id.six: text = \"six pushed!\"; break;\n\t \t\tdefault: text=\"Who knows what was pushed!\";\n \t\t}\n\n \t\t// show a Toast for a short amount of time, displaying\n \t\t// which button was pushed.\n \t\tint duration = Toast.LENGTH_SHORT;\n \t\tToast toast = Toast.makeText(context, text, duration);\n \t\ttoast.show();\n \t}",
"@Override\n\t\t\t\tpublic void onItemClick(AdapterView<?> parent, View view,\n\t\t\t\t\t\tint position, long id) {\n\t\t\t\t\tToast.makeText(MainActivity.this, \"我被点击了\", 0).show();\n\t\t\t\t}",
"@Override\n \t\t\tpublic void onClick(View v) {\n \t\t\t\tLog.d(\"VoMPCall\", \"Picking up\");\n \t\t\t\tServalBatPhoneApplication.context.servaldMonitor\n \t\t\t\t\t\t.sendMessage(\"pickup \"\n \t\t\t\t\t\t+ Integer.toHexString(local_id));\n \t\t\t}",
"private void sendToCatTheater()\n {\n Toast.makeText(getApplicationContext(), \"No Results Found For 'Theater'\", Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View v) {\n lastSelectedSpotIndex=position;\n Toast.makeText(context, \"You Clicked \"+categoryNames[position], Toast.LENGTH_LONG).show();\n }",
"private void showToast(final int resid) {\n\t\tm_toastHandler.post(new Runnable() {\n\t\t\tpublic void run() {\n\t\t\t\tToast.makeText(InstrumentService.this, resid, Toast.LENGTH_SHORT).show();\n\t\t\t}\n\t\t});\n\t}",
"public void onClick(View v) {\n Intent intent = new Intent();\n intent.setClass(memberinfo.this,near_res.class);\n startActivity(intent);\n\n }",
"@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tToast.makeText(getApplication(), \"right\", 1).show();\r\n\t\t\t}",
"public void onClick(View v) {\n Toast toast = Toast.makeText(getApplicationContext(), \"This button will launch my XYZ Reader app!\", Toast.LENGTH_SHORT);\n toast.show();\n }",
"@Override\n\tpublic void onClick(View v) {\n\t\tif (v.getId() == R.id.tijiao) {\n\t\t\tAction();\n\t\t}\n\n\t}",
"@Override\n public void onClick(View v) {\n onClickTwitt();\n }",
"public void onClick(View v) \n {\n Button b = (Button) v;\n Toast.makeText(this.mAnchorView.getContext(), b.getText(), Toast.LENGTH_SHORT).show();\n this.dismiss();\n }",
"public void showToast(View view) {\n // Switch based on button ID\n switch (view.getId()) {\n case R.id.popular_movies:\n case R.id.stock_hawk:\n case R.id.build_it_bigger:\n case R.id.make_your_app_material:\n case R.id.go_ubiquitous:\n case R.id.capstone:\n displayToast(\"This button will launch \" +\n ((Button) view).getText().toString()\n + \" app!\");\n break;\n\n default:\n break;\n }\n }",
"public void onClick(View btn) {\n String paintingDescription = (String) btn.getContentDescription();\n\n // MAKE A METHOD CALL TO DISPLAY THE INFORMATION\n displayToast(paintingDescription);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tstartThread();\n\t\t\t Toast.makeText(getContext(), \"Êղسɹ¦\", 1).show();\n\t\t\t}",
"@Override\n public void onClick(View view) {\n insertLogEntry();\n\n Toast toast = Toast.makeText(getActivity(), \"Sighting logged\", Toast.LENGTH_SHORT);\n toast.show();\n\n // go to the log book activity\n Intent intent = new Intent(getActivity(), LogBookActivity.class);\n startActivity(intent);\n }",
"@Override\n public void onItemClicked(RecyclerView recyclerView, int position, View v) {\n Toast.makeText(getApplicationContext(), znamkyItemList.get(position).popis, Toast.LENGTH_LONG).show();\n\n }",
"@Override\n public void onClick(View view)\n {\n Intent intent = new Intent(BoilerRoom.this, ScanQR.class);\n //intent.putExtra( \"id\", tvmechID.getText().toString() );\n startActivity(intent);\n }",
"@Override\n public void onClick(View v) {\n Intent returnToPressHelp = new Intent(getApplicationContext(), PressHelp.class);\n startActivity(returnToPressHelp);\n\n\n //Tell the phone that the medication was taken.\n\n }",
"@Override\n public void onClick(View view) {\n if(view.getId()==b.getId()) {\n i++;\n tv.setText(String.valueOf(i));\n }\n Toast.makeText(this, \"Hello Android :) clicked \"+i,\n Toast.LENGTH_SHORT).show();\n Log.d(\"MainActivity\",\"Button Clicked... \");\n\n }",
"@Override\n\t\tpublic void onClick(View v) {\n\t\t\tIntent i = new Intent(MainActivity.this, OgleAksam.class);\n\t\t\ti.putExtra(\"GosterimTipi\", 2);\n\t\t\tstartActivity(i);\n\t\t}",
"private void toastmessage(String message){\n Toast.makeText(Accountinfo.this,message,Toast.LENGTH_SHORT).show();\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent(getApplicationContext(), ActivitySonidoImagenText.class);\n //guardamos el id del boton\n intent.putExtra(\"category\", mCategory);\n intent.putExtra(\"boton\", v.getId());\n startActivityForResult(intent, RESULT_OK);\n //Log.d(\"ID DEL BOTON\", String.valueOf(v.getId()));\n }",
"@Override\n public void onItemClick(AdapterView<?> arg0, View arg1, int position,\n long id) {\n Toast.makeText(getApplicationContext(), actorsList.get(position).getName(), Toast.LENGTH_LONG).show();\n }",
"@Override\n\t\t \t public void onItemClick(AdapterView<?> arg0, View arg1,int position, long arg3) {\n\t\t \t \n\t\t \t Toast.makeText(getApplicationContext(), \"Clicked at Position\"+position, Toast.LENGTH_SHORT).show();\n\t\t \t }",
"public void onItemClick(AdapterView<?> parent, View view, int position, long id){\n Aliment al= (Aliment) parent.getItemAtPosition(position);\r\n Toast.makeText(getApplicationContext(),\r\n \"Nom aliment : \"+al.getNom(), Toast.LENGTH_LONG).show();\r\n }",
"public void onClick(View v){\n\n //El id del boton seleccionado es v.getId\n switch (v.getId()) {\n\n //El id del boton seleccionado es v.getId\n case R.id.button:\n //Se manda a llamar la Facil\n Intent intent = new Intent(MainActivity.this,Niveles.class);\n startActivity(intent);\n break;\n\n //Esto también\n case R.id.settings_button:\n // Toast.makeText(getApplicationContext(),R.string.Pao,Toast.LENGTH_SHORT).show();\n Intent settings = new Intent(MainActivity.this,Configuracion.class);\n startActivity(settings);\n break;\n\n case R.id.credits_button:\n Intent credits = new Intent(MainActivity.this,Creditos.class);\n startActivity(credits);\n break;\n case R.id.salir:\n finish();\n break;\n }\n }",
"@Override\n public void onClick(View v) {\n ((TextView) findViewById(R.id.text)).setText(\"Android is AWESOME!!\");\n }",
"@Override\r\n public void onClick(View view) {\r\n Toast.makeText(context, \"satu\" +list_data.get(getAdapterPosition()), Toast.LENGTH_SHORT).show();\r\n\r\n }",
"public void showToast(View clickedButton) {\n String greetingText = getString(R.string.greeting_text);\n Toast tempMessage\n = Toast.makeText(this, greetingText,\n Toast.LENGTH_SHORT);\n tempMessage.show();\n }",
"@Override\n\tpublic void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\t\tString text = listview.getItemAtPosition(position)+\"\";\n\t\t\n\t\tToast.makeText(context, \"position=\"+position+\" text=\"+text, Toast.LENGTH_SHORT).show();\n\t}",
"@Override\n public void onClick(View v){\n switch (v.getId()){\n case R.id.lbl_Temperatur:\n Intent showDetailActivityIntent = new Intent(this.getActivity(), DetailsActivity.class);\n showDetailActivityIntent.putExtra(\"key_city_name\", city.getName());\n showDetailActivityIntent.putExtra(\"key_city_id\", city.getId());\n showDetailActivityIntent.putExtra(\"key_city_temp\", city.getTemperature());\n showDetailActivityIntent.putExtra(\"key_city_status\", city.getStatus());\n startActivity(showDetailActivityIntent);\n break;\n case R.id.btn_Favorit:\n cityDao.UpdateNotFavorite(city.getId());\n startActivity(new Intent (getActivity() , MainActivity.class));\n break;\n default:\n break;\n }\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tToast.makeText(mContext, \"购物\", Toast.LENGTH_SHORT).show();\n\t\t\t}",
"public void showToast(final String message){\n\t runOnUiThread(new Runnable() {\n\t public void run()\n\t {\n\t Toast.makeText(VisitMultiplayerGame.this, message, Toast.LENGTH_SHORT).show();\n\t }\n\t });\n\t}",
"@Override\n\tpublic void onTestButtonClick(FeaturedItem o) {\n\t\tToast.makeText(this, \"Este mensaje se genera en el fragmento pero lo maneja la actividad\", Toast.LENGTH_SHORT).show();\t\t\n\t}",
"public void onClick(DialogInterface dialog,int id) {\n ref_number = userInput.getText().toString();\n new PostOutstandingLoanClass(context).execute();\n }",
"public void onClick(DialogInterface dialog,int id) {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tToast toast = Toast.makeText(MainActivity.nowcontext,\n\t\t\t\t\t\t\t\t\t\t\t\t\tJson.getJson(MainActivity.website+\"/removefan?ui=\"+MainActivity.jsonlateoginst.getString(\"registrationId\")+\"&ai=\"\n\t\t\t\t\t\t\t\t\t +uid,MainActivity.httpclient).toString(),\n\t\t\t\t\t\t\t\t\t\t Toast.LENGTH_SHORT);\n\t\t\t\t\t\t\t\t\t\t toast.setGravity(Gravity.BOTTOM|Gravity.CENTER_HORIZONTAL, 0, 0);\n\t\t\t\t\t\t\t\t\t\t toast.show();\n\t\t\t\t\t\t\t\t\t\t} catch (JSONException e) {\n\t\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\t\te.printStackTrace();\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t}",
"public void onClickInsertFav_Jogo(View v){\n }",
"void showToast(String message);",
"void showToast(String message);",
"public void onItemClick(AdapterView<?> parent, View view, int position, long id){\n Aliment al= (Aliment) parent.getItemAtPosition(position);\r\n Toast.makeText(getApplicationContext(),\r\n \"Nom aliment : \"+al.getNom(), Toast.LENGTH_LONG).show();\r\n }",
"public void onClick(DialogInterface dialog,int id) {\n\t\t\t\t\t\t\t\t\tJSONObject fanresult = null;\n\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\tfanresult = Json.getJson(MainActivity.website+\"/befan?ui=\"+MainActivity.jsonlateoginst.getString(\"registrationId\")+\"&ai=\"\n\t\t\t\t\t\t\t\t\t\t +uid,MainActivity.httpclient);\n\t\t\t\t\t\t\t\t\t} catch (JSONException e1) {\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\te1.printStackTrace();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t if(fanresult.getString(\"status\").equals(\"ok\")){\n\t\t\t\t\t\t\t\t\t\t Toast toast = Toast.makeText(MainActivity.nowcontext,\n\t\t\t\t\t\t\t\t\t\t\t\t \"Now you become a fan of \"+uidjson.getString(\"name\")+\" \"+uidjson.getString(\"surname\"),\n\t\t\t\t\t\t\t\t\t Toast.LENGTH_SHORT);\n\t\t\t\t\t\t\t\t\t toast.setGravity(Gravity.BOTTOM|Gravity.CENTER_HORIZONTAL, 0, 0);\n\t\t\t\t\t\t\t\t\t toast.show();\n\t\t\t\t\t\t\t\t\t\t }else{\n\t\t\t\t\t\t\t\t\t\t\t Toast toast = Toast.makeText(MainActivity.nowcontext,\n\t\t\t\t\t\t\t\t\t\t\t\t\t fanresult.getString(\"message\"),\n\t\t\t\t\t\t\t\t\t\t\t Toast.LENGTH_SHORT);\n\t\t\t\t\t\t\t\t\t\t\t toast.setGravity(Gravity.BOTTOM|Gravity.CENTER_HORIZONTAL, 0, 0);\n\t\t\t\t\t\t\t\t\t\t\t toast.show();\n\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t} catch (JSONException 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\n\t\t\t\t\t\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tToast.makeText(Test.this, Boolean.toString(tagButton.getStatus()), Toast.LENGTH_SHORT).show();\n\t\t\t}",
"@Override\n public void onClick(View v) {\n new AlertDialog.Builder(MainActivity.this)\n .setIcon(android.R.drawable.ic_menu_myplaces)\n .setTitle(\"Collect GPS Point\")\n .setMessage(\"Is this the location where you would like to collect a GPS point?\")\n .setPositiveButton(\"Yes\", new DialogInterface.OnClickListener()\n {\n\n @Override\n public void onClick(DialogInterface dialog, int which) {\n\n digitiseMarker(digitise());\n\n }\n\n })\n .setNegativeButton(\"No\", null)\n .show();\n\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tToast.makeText(CanvasActivity.this, \"HIHIHI\", Toast.LENGTH_SHORT).show();\n\t\t\t}",
"@Override\n\t\t\tpublic void onResponse(String arg0) {\n\t\t\t\tToast.makeText(MainActivity.this, arg0, Toast.LENGTH_SHORT).show();\n\t\t\t}",
"@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\n\t\t\t\t\tdoVote(getIntent().getStringExtra(\"aid\"), getIntent().getStringExtra(\"id\"));\n\t\t\t\t\t\n\t\t\t\t}"
] |
[
"0.73037267",
"0.7294913",
"0.714666",
"0.7085572",
"0.7079824",
"0.70669806",
"0.6907034",
"0.687794",
"0.6845494",
"0.6838485",
"0.68174833",
"0.68096083",
"0.6801787",
"0.67563",
"0.67546636",
"0.6752743",
"0.67107767",
"0.6682527",
"0.6661593",
"0.6634974",
"0.6621392",
"0.6611242",
"0.66090727",
"0.6595325",
"0.65939826",
"0.65667415",
"0.65610015",
"0.6518555",
"0.64807385",
"0.6475187",
"0.6462397",
"0.64617395",
"0.64610714",
"0.6456459",
"0.6452999",
"0.64309615",
"0.6420715",
"0.6414754",
"0.64111614",
"0.6398686",
"0.6396761",
"0.6391645",
"0.63820755",
"0.6346791",
"0.63400894",
"0.63388246",
"0.63289064",
"0.6321425",
"0.63184315",
"0.63156545",
"0.6311648",
"0.6297677",
"0.6292787",
"0.6290755",
"0.62869835",
"0.6280331",
"0.6257285",
"0.62476444",
"0.6236638",
"0.62218297",
"0.6218647",
"0.62047607",
"0.6204655",
"0.61992556",
"0.61977816",
"0.61898065",
"0.6184823",
"0.6179456",
"0.6176653",
"0.6172464",
"0.6161827",
"0.6159655",
"0.6156403",
"0.6154456",
"0.6154141",
"0.6150695",
"0.61423826",
"0.6141509",
"0.6139947",
"0.613904",
"0.61294997",
"0.61264294",
"0.61262906",
"0.6121094",
"0.61188906",
"0.61170316",
"0.6116357",
"0.6115455",
"0.6112428",
"0.61070913",
"0.60997915",
"0.609822",
"0.609822",
"0.60962677",
"0.60953975",
"0.6094203",
"0.608913",
"0.6083486",
"0.6081264",
"0.6080208"
] |
0.8448364
|
0
|
OK Excluir da Tela o Objecto como um todo do Banco de Dados
|
private void alertBuilderClickLongoAction() {
AlertDialog.Builder alerta = new AlertDialog.Builder(activity);
alerta.setTitle(R.string.MESSAGE_builderTitle);
String alertaMessage = activity.getString(R.string.MESSAGE_ExcluirProduto, pedidoVO.toString());
alerta.setMessage(alertaMessage);
alerta.setIcon(android.R.drawable.ic_menu_delete);
alerta.setNegativeButton(R.string.MESSAGE_fechar, (dialog, which) -> this.pedidoVO = null);
alerta.setPositiveButton(R.string.MESSAGE_sim, (dialog, which) -> this.excluirAction());
alerta.show();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"void incluir(Entidade entidade);",
"public void borrarZonaObjetivoAtaque() {\n\t\t\n\t}",
"public void borrarZonaObjetivoMovimiento() {\n\t\t\n\t}",
"public void excluirPorTalento(Talento objTalento)\r\n throws DAOException\r\n {\r\n if (log.isDebugEnabled())\r\n {\r\n log.debug(\"Entrada no metodo\");\r\n }\r\n \r\n // Monta consulta de exclusão\r\n String strConsulta =\r\n \" FROM\" +\r\n \" AtributoTalentoValorado atributoTalentoValorado\" +\r\n\t\t\t\r\n \" WHERE\" +\r\n \" atributoTalentoValorado.talento.identificador = \" + \r\n objTalento.getIdentificador();\r\n \r\n //Executa\r\n excluir(strConsulta);\r\n }",
"@Override\n\tpublic void delete(Unidade obj) {\n\n\t}",
"public void borrarTodo(){\n diccionario.clear();\n }",
"@Override\n\tpublic void excluir(Cliente o) {\n\t\t\n\t}",
"public Exposicao() {\n obras = new TreeSet<Obra>();\n }",
"public void populateListaObjetos() {\n listaObjetos.clear();\n Session session = HibernateUtil.getSessionFactory().openSession();\n try {\n String tipo = null;\n if (selectedTipo.equals(\"submenu\")) {\n tipo = \"menu\";\n } else if (selectedTipo.equals(\"accion\")) {\n tipo = \"submenu\";\n }\n\n Criteria cObjetos = session.createCriteria(Tblobjeto.class);\n cObjetos.add(Restrictions.eq(\"tipoObjeto\", tipo));\n Iterator iteObjetos = cObjetos.list().iterator();\n while (iteObjetos.hasNext()) {\n Tblobjeto o = (Tblobjeto) iteObjetos.next();\n listaObjetos.add(new SelectItem(new Short(o.getIdObjeto()).toString(), o.getNombreObjeto(), \"\"));\n }\n } catch (HibernateException e) {\n //logger.throwing(getClass().getName(), \"populateListaObjetos\", e);\n } finally {\n session.close();\n }\n }",
"@Override\n\tpublic void excluir(Produto entidade) {\n\n\t}",
"void incluir(List<TabelaIRRFLegadoDTO> lstTabelaIRRF) throws BancoobException;",
"@Override\r\n public Resultado excluir(EntidadeDominio entidade) {\n String nmClass = entidade.getClass().getName();\r\n //executando validações de regras de negocio \r\n String msg = executarRegras(entidade, \"EXCLUIR\");\r\n if (msg.isEmpty()) {\r\n IDAO dao = daos.get(nmClass);\r\n dao.excluir(entidade);\r\n resultado.setMsg(\"Dados excluidos\");\r\n } else {\r\n resultado.setMsg(msg.toString());\r\n }\r\n return resultado;\r\n }",
"public void desmarcarTodos() {\r\n\t\tfor (int i = 0; i < listaPlantaCargoDto.size(); i++) {\r\n\t\t\tPlantaCargoDetDTO p = new PlantaCargoDetDTO();\r\n\t\t\tp = listaPlantaCargoDto.get(i);\r\n\t\t\tp.setReservar(false);\r\n\t\t\tlistaPlantaCargoDto.set(i, p);\r\n\t\t}\r\n\t\tcantReservados = 0;\r\n\t}",
"@Override\r\n\tpublic List<Conta> RecuperTodos() {\n\t\treturn null;\r\n\t}",
"public void excluir() {\n try {\n ClienteDao fdao = new ClienteDao();\n fdao.Excluir(cliente);\n\n JSFUtil.AdicionarMensagemSucesso(\"Cliente excluido com sucesso!\");\n\n } catch (RuntimeException e) {\n JSFUtil.AdicionarMensagemErro(\"Não é possível excluir um cliente que tenha uma venda associado!\");\n e.printStackTrace();\n }\n }",
"public void excluirDados() {\n\n int linha;\n\n if (verificarAbaAtiva() == 0) {\n linha = HorarioDeTrabalho.getSelectedRow();\n modHT = (DefaultTableModel) HorarioDeTrabalho.getModel();\n tratDados.excluirDadosTabela(modHT, linha);\n txtEntrada_Horario.requestFocus();\n } else {\n linha = MarcacoesFeitas.getSelectedRow();\n modMF = (DefaultTableModel) MarcacoesFeitas.getModel();\n tratDados.excluirDadosTabela(modMF, linha);\n txtEntrada_Marcacoes.requestFocus();\n }\n \n //Limpa as tabelas de Atraso e Extras\n modAt.setRowCount(0);\n modEx.setRowCount(0);\n }",
"List<O> obtenertodos() throws DAOException;",
"@Override\n public void incluir(Colaborador objeto)throws Exception {\n try {\n System.out.println(\"Estou Gravando no Arquivo\" + nomeDoArquivoNoDisco);\n FileWriter fw = new FileWriter(nomeDoArquivoNoDisco, true);\n //Criar o buffer do arquivo\n BufferedWriter bw = new BufferedWriter(fw);\n //Escreve no arquivo\n bw.write(objeto.toString() + \"\\n\");\n //Fechar o arquivo\n bw.close();\n } catch (Exception erro) {\n throw erro;\n }\n }",
"@Override\n public boolean delete(Revue objet) {\n return false;\n }",
"public ListaDuplamenteEncadeada(){\r\n\t\t\r\n\t}",
"@Override\n\tpublic List<AposentadoriaCompulsoria> listaDeObjetos() {\n\t\treturn null;\n\t}",
"public boolean remover(Veterinario obj) throws ClassNotFoundException, SQLException{\n VeterinarioDAO dao = new VeterinarioDAO();\n return dao.remover(obj);\n }",
"public void incluirDescendiente(INodo INodo) {\n\t\tif (this.getDescendientes().size() > numArg) {\n\t\t\treturn;\n\t\t}\n\t\tsuper.incluirDescendiente(INodo);\n\t}",
"void excluir(List<TabelaIRRFLegadoDTO> lstTabelaIRRF) throws BancoobException;",
"public void eliminar(Object o) {\n\t\t\n\t}",
"public void casdastrar(RelatorioDAO obj) throws SQLException {\n\t\t\n\t}",
"@Override\n\tpublic void excluirIngresso(Ingresso ingresso) throws DBException {\n\t\t\n\t}",
"@Override\r\n public List<Assunto> buscarTodas() {\r\n EntityManager em = PersistenceUtil.getEntityManager();\r\n Query query = em.createQuery(\"FROM Assunto As a\");\r\n return query.getResultList();\r\n }",
"@Override\r\n\tpublic List<CommandeDistri> Offre(List<CommandeDistri> o) {\n\t\treturn null;\r\n\t}",
"@DELETE\n\t@Produces(MediaType.APPLICATION_JSON)\n\t@Path(\"eliminarPrestamo\")\n\tpublic String eliminarPrestamo(\n\t\t@QueryParam(\"idObjeto\")int idObj, \n\t\t@QueryParam(\"usuario\")String usuario) {\n\ttry {\n\t\t//objetoBL.eliminarObjeto(usuario, idObjeto);//Se llama el metodo desde objetoBL\n\t\tprestamoBL.eliminarPrestamo(idObj, usuario);\n\t}catch(ExceptionController e) {\n\t\tlog.error(\"Error al eliminar objeto\");\n\t\te.getMessage();\n\t}\n\tString json = new Gson().toJson(\"listo\");\n\treturn json;\n\t}",
"public void AddReliquias(){\n DLList reliquias = new DLList();\n reliquias.insertarInicio(NombreReliquia); \n }",
"public void eliminarcola(){\n Cola_banco actual=new Cola_banco();// se crea un metodo actual para indicar los datos ingresado\r\n actual=primero;//se indica que nuestro dato ingresado va a ser actual\r\n if(primero != null){// se usa una condiccion si nuestro es ingresado es diferente de null\r\n while(actual != null){//se usa el while que recorra la cola indicando que actual es diferente de null\r\n System.out.println(\"\"+actual.nombre);// se imprime un mensaje con los datos ingresado con los datos ingresado desde el teclado\r\n actual=actual.siguiente;// se indica que el dato actual pase a ser igual con el apuntador siguente\r\n }\r\n }else{// se usa la condicion sino se cumple la condicion\r\n System.out.println(\"\\n la cola se encuentra vacia\");// se indica al usuario que la cola esta vacia\r\n }\r\n }",
"private void excluirAction() {\r\n Integer i = daoPedido.excluir(this.pedidoVO);\r\n\r\n if (i != null && i > 0) {\r\n msg = activity.getString(R.string.SUCCESS_excluido, pedidoVO.toString());\r\n Toast.makeText(activity, msg + \"(\" + i + \")\", Toast.LENGTH_SHORT).show();\r\n Log.i(\"DB_INFO\", \"Sucesso ao Alterar: \" + this.pedidoVO.toString());\r\n\r\n// this.adapter.remove(this.pedidoVO);\r\n this.refreshData(2);\r\n } else {\r\n msg = activity.getString(R.string.ERROR_excluir, pedidoVO.toString());\r\n Toast.makeText(activity, msg, Toast.LENGTH_SHORT).show();\r\n Log.e(\"DB_INFO\", \"Erro ao Excluir: \" + this.pedidoVO.toString());\r\n }\r\n }",
"@Override\n\tpublic void findAll(Unidade obj) {\n\n\t}",
"@Override\n\tpublic void excluir() {\n\t\t\n\t}",
"@Override\r\n\tpublic void excluir(Telefone vo) throws Exception {\n\t\t\r\n\t}",
"private void carregarAgendamentos() {\n agendamentos.clear();\n\n // Carregar os agendamentos do banco de dados\n agendamentos = new AgendamentoDAO(this).select();\n\n // Atualizar a lista\n setupRecyclerView();\n }",
"public void marcarTodos() {\r\n\t\tfor (int i = 0; i < listaPlantaCargoDto.size(); i++) {\r\n\t\t\tPlantaCargoDetDTO p = new PlantaCargoDetDTO();\r\n\t\t\tp = listaPlantaCargoDto.get(i);\r\n\t\t\tif (!obtenerCategoria(p.getPlantaCargoDet())\r\n\t\t\t\t\t.equals(\"Sin Categoria\"))\r\n\t\t\t\tp.setReservar(true);\r\n\t\t\tlistaPlantaCargoDto.set(i, p);\r\n\t\t}\r\n\t\tcantReservados = listaPlantaCargoDto.size();\r\n\t}",
"private void populaObjetivoCat()\n {\n objetivoCatDAO.insert(new ObjetivoCat(\"Hipertrofia\", \"weight\"));\n objetivoCatDAO.insert(new ObjetivoCat(\"Saude\", \"apple\"));\n objetivoCatDAO.insert(new ObjetivoCat(\"Emagrecer\", \"gloves\"));\n }",
"@Override\n\tpublic void delete(CorsoDiLaurea corso) {\n\t\t\n\t}",
"ParqueaderoEntidad agregar(ParqueaderoEntidad parqueadero);",
"public void addObject(DcObject dco);",
"public void excluir(){\n\t\tSystem.out.println(\"\\n*** Excluindo Registro\\n\");\n\t\ttry{\n\t\t\tpacienteService.excluir(getPaciente());\n\t\t\tatualizarTela();\n\t\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\n\t\t\tfacesContext.addMessage(null, new FacesMessage(\"Registro Deletado com Sucesso!!\")); //Mensagem de validacao \n\t\t}catch(Exception e){\n\t\t\tSystem.err.println(\"** Erro ao deletar: \"+e.getMessage());\n\t\t\tatualizarTela();\n\t\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\n\t\t\tfacesContext.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, \"Erro ao deletar o paciente: \"+e.getMessage(), \"\")); //Mensagem de erro \n\t\t\t\n\t\t}\n\t}",
"public CensoPSAMExcluidos() {\n this.nombre = \"\";\n this.apellidom = \"\";\n this.apellidop = \"\";\n this.rut = \"\";\n this.edad = 0;\n this.razon_exclusion = \"\";\n }",
"public List<Aluno> buscarTodos() {\n\t\treturn null;\n\t}",
"public CensoCCVnoREMExcluidos() {\n this.nombre = \"\";\n this.apellidom = \"\";\n this.apellidop = \"\";\n this.rut = \"\";\n this.edad = 0;\n this.razon_exclusion = \"\";\n }",
"public List<GrauParentesco> getListTodos();",
"@Override\n\tpublic void delete(Usuario object) {\n\n\t}",
"public void add(Object objeto) throws BolsaCompletaException {\r\n\r\n\t\tif (lista.size() < tope) { // chequeamos que la bolsa ya no este llena\r\n\t\t\tlista.add(objeto);// agregamos el objeto a la bolsa\r\n\t\t\tSystem.out.println(\"Se Agrego el objeto a la bolsa\");\r\n\t\t} else {\r\n\r\n\t\t\t throw new BolsaCompletaException(\" Cosas \");//recordar agregar throws\r\n\t\t\t//throw new RuntimeException(\"No Caben Mas elementos\");\r\n\t\t}\r\n\r\n\t}",
"@Override\n\tpublic ResponseEntity<?> deletarTodos(@Valid List<ProdutoImagem> objeto,\n\t\tHttpServletRequest request) {\n\t\treturn null;\n\t}",
"public JanelaTipoContato() {\r\n initComponents();\r\n try {\r\n\r\n List<TipoContato> tipoContatos = (List<TipoContato>) (Object) tipoContatoDao.pesquisarTodos();\r\n adicionarListaTipoContatosTabela(tipoContatos);\r\n } catch (Exception exception) {\r\n }\r\n }",
"List<Entidade> listarTodos();",
"public void Lista(){\n\t\tcabeza = null;\n\t\ttamanio = 0;\n\t}",
"public void anadirObjetoRecolectable (ObjetoRecolectable pObjeto){\n\t\tif (pObjeto instanceof ObjetoClave){\n\t\t\tthis.anadirObjetoClave((ObjetoClave)pObjeto);\n\t\t}\n\t\telse if (pObjeto instanceof PiezaArmadura){\n\t\t\tthis.actualizarArmadura((PiezaArmadura)pObjeto);\n\t\t}\n\t}",
"public List<Mobibus> darMobibus();",
"public void addPrimero(Object obj) {\n if (cabeza == null) { //Si la cabeza es nula, entoces se creará un nuevo nodo donde le pasaremos el valor de obj\n cabeza = new Nodo(obj);\n } else { //Si no es nula, signifa que el valor que se ingrese, pasara a ser la nueva cabeza\n Nodo temp = cabeza; //Metemos la cabeza en un nodo temporal\n Nodo nuevo = new Nodo(obj); //Creamos un nuevo nodo, que no está enlazado\n nuevo.enlazarSiguiente(temp); //Y el nuevo nodo lo enlazamos a el nodo Temp, que contenia el valor anterior de la otra cabeza\n cabeza = nuevo; //Y ahora le decimos que la cabeza sera nuevo\n }\n size++; //Cada vez que agreguemos un nuevo nodo el tamaño de nuestra lista tendra que aumentar\n }",
"public void eliminarMateria() {\n ejbFacade.remove(materia);\n items = ejbFacade.findAll();\n RequestContext requestContext = RequestContext.getCurrentInstance();\n requestContext.update(\"MateriaListForm:datalist\");\n requestContext.execute(\"PF('Confirmacion').hide()\");\n departamento = new Departamento();\n materia = new Materia();\n FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, \"Información\", \"La materia se eliminó con éxito\");\n FacesContext.getCurrentInstance().addMessage(null, msg);\n\n requestContext.update(\"msg\");//Actualiza la etiqueta growl para que el mensaje pueda ser mostrado\n requestContext.update(\"MateriaListForm\");\n }",
"public NodoA desconectar(NodoA t){\n if(t != cabeza){\n t.getLigaDer().setLigaIzq(t.getLigaIzq());\n System.out.println(\"Direccion:\"+t+\" izquierdo:\"+t.getLigaIzq()+\" derecho:\"+t.getLigaDer());\n t.getLigaIzq().setLigaDer(t.getLigaDer());\n return t;\n }\n return null;\n }",
"public DAOPedidoMesa() {\n\t\trecursos = new ArrayList<Object>();\n\t}",
"void salirDelMazo() {\n mazo.inhabilitarCartaEspecial(this);\n }",
"@Override\n\tpublic List<Materia> recuperarTodo() throws DataAccessException {\n\t\treturn null;\n\t}",
"public ArrayList<Libro> recuperaTodos();",
"public ContoContoPadreConverterToDelete() {\n\t\tsuper(Conto.class, SiacTPdceConto.class);\n\t}",
"public void buscarEntidad(){\r\n\t\tlistaEstructuraDetalle.clear();\r\n\t\tPersona persona = null;\r\n\t\tList<EstructuraDetalle> lstEstructuraDetalle = null;\r\n\t\ttry {\r\n\t\t\tstrFiltroTextoPersona = strFiltroTextoPersona.trim();\r\n\t\t\tif(intTipoPersonaC.equals(Constante.PARAM_T_TIPOPERSONA_JURIDICA)){\r\n\t\t\t\tif (intPersonaRolC.equals(Constante.PARAM_T_TIPOROL_ENTIDAD)) {\r\n\t\t\t\t\tlstEstructuraDetalle = estructuraFacade.getListaEstructuraDetalleIngresos(SESION_IDSUCURSAL,SESION_IDSUBSUCURSAL);\r\n\t\t\t\t\tif (lstEstructuraDetalle!=null && !lstEstructuraDetalle.isEmpty()) {\r\n\t\t\t\t\t\tfor (EstructuraDetalle estructuraDetalle : lstEstructuraDetalle) {\r\n\t\t\t\t\t\t\tpersona = personaFacade.getPersonaPorPK(estructuraDetalle.getEstructura().getJuridica().getIntIdPersona());\r\n\t\t\t\t\t\t\tif (persona.getStrRuc().trim().equals(\"strFiltroTextoPersona\")) {\r\n\t\t\t\t\t\t\t\testructuraDetalle.getEstructura().getJuridica().setPersona(persona);\r\n\t\t\t\t\t\t\t\tlistaEstructuraDetalle.add(estructuraDetalle);\r\n\t\t\t\t\t\t\t}\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} catch (Exception e) {\r\n\t\t\tlog.error(e.getMessage(), e);\r\n\t\t}\r\n\t}",
"@Override\n\tpublic MensajeBean elimina(Tramite_informesem nuevo) {\n\t\treturn tramite_informesemDao.elimina(nuevo);\n\t}",
"@Override\r\n\tpublic ArrayList<TransferUsuario> buscarDesarroladorDescuento(int descuento) {\n Transaction transaccion= TransactionManager.getInstance().nuevaTransaccion();\r\n transaccion.start();\r\n\t\t\r\n //Obtenemos el DAO\r\n \r\n Query query = factoriaQuery.getInstance().getQuery(Eventos.QUERY_DESARROLLADOR);\t\t \r\n ArrayList<TransferUsuario> ret= (ArrayList<TransferUsuario>) query.execute(descuento);\r\n \r\n TransactionManager.getInstance().eliminarTransaccion();\r\n \r\n return ret;\r\n\t}",
"@Transactional\n\tpublic void excluir(Fabricante fabricanteSelecionado) throws NegocioException{\n\t\tFabricante fabricanteTemp= em.find(Fabricante.class, fabricanteSelecionado.getCodigo());\n\t\t\n\t\tem.remove(fabricanteTemp);\n\t\tem.flush();\n\t}",
"@Override\r\n\tprotected void borrarObjeto() throws ClassNotFoundException {\n\t\tif (tbJustificaciones.getSelectedRow() != -1\r\n\t\t\t\t&& tbJustificaciones.getValueAt(tbJustificaciones.getSelectedRow(), 0) != null) {\r\n\t\t\tthis.setTitle(\"PROCESOS - PERMISOS INDIVIDUALES (ELIMINANDO)\");\r\n\t\t\tthis.opcion = 3;\r\n\t\t\tactivarFormulario();\r\n\t\t\tcargarDatosModificar();\r\n\t\t\ttxtCedula.setEnabled(false);\r\n\t\t\tlimpiarTabla();\r\n\t\t\tthis.panelBotones.habilitar();\r\n\t\t} else {\r\n\t\t\tJOptionPane.showMessageDialog(null, GlobalUtil.MSG_ITEM_NO_SELECCIONADO, \"ATENCION\",\r\n\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\r\n\t\t}\r\n\t}",
"private void caricaLista() {\n /** variabili e costanti locali di lavoro */\n ArrayList unaLista = null;\n CampoDati unCampoDati = null;\n CDBLinkato unCampoDBLinkato = null;\n //@todo da cancellare\n try { // prova ad eseguire il codice\n /* recupera il campo DB specializzato */\n unCampoDBLinkato = (CDBLinkato)unCampoParente.getCampoDB();\n\n /* recupera la lista dal campo DB */\n unaLista = unCampoDBLinkato.caricaLista();\n\n /* recupera il campo dati */\n unCampoDati = unCampoParente.getCampoDati();\n\n /* registra i valori nel modello dei dati del campo */\n if (unaLista != null) {\n unCampoDati.setValoriInterni(unaLista);\n// unCampoDatiElenco.regolaElementiAggiuntivi();\n } /* fine del blocco if */\n\n } catch (Exception unErrore) { // intercetta l'errore\n /* mostra il messaggio di errore */\n Errore.crea(unErrore);\n } /* fine del blocco try-catch */\n\n }",
"@Override\n public void deletar(Object pacienteParametro) {\n Paciente paciente;\n paciente = (Paciente) pacienteParametro;\n EntityManagerFactory factory = Persistence.createEntityManagerFactory(\"vesaliusPU\"); \n EntityManager em = factory.createEntityManager();\n em.getTransaction().begin();\n em.remove(em.merge(paciente));\n em.getTransaction().commit();\n em.close();\n factory.close();\n }",
"@Override\r\n\tpublic void excluir(Evento evento) {\n\t\trepository.delete(evento);\r\n\t}",
"public void agregarOrden(Orden o) {\n\t\tthis.colaOrdenes.add(o);\n\t}",
"public void incluirImovel() {\n\r\n\t\t@SuppressWarnings(\"resource\")\r\n\t\tScanner insere = new Scanner(System.in);\r\n\r\n\t\tSystem.out.println(\"Insira o endereço:(EX:Rua tal, 49)\");\r\n\t\tsetEndereco(insere.next());\r\n\r\n\t\tSystem.out.println(\"Insira a AREA do Imovel:(EX:M²)\");\r\n\t\tsetTamanhoImovel(insere.next());\r\n\r\n\t\tSystem.out.println(\"Insira o numero de comodos do Imovel:(EX:4)\");\r\n\t\tsetNumeroDeComodos(insere.next());\r\n\r\n\t\tSystem.out.println(\"Insira o valor do Imovel:(EX:10000)\");\r\n\t\tsetValorImovel(insere.nextInt());\r\n\r\n\t\tSystem.out.println(\"Insira o tipo de Imovel:(EX:casa,apartamento..)\");\r\n\t\tsetTipo(insere.next());\r\n\r\n\t\tSystem.out.println(\"Insira o status do Imovel:(EX:vender,alugar)\");\r\n\t\tsetStatus(insere.next());\r\n\r\n\t\tSystem.out.println(\"++++++++++++++++++++++++++++++++++++++++++\");\r\n\t\tSystem.out.println(\" Sucesso! Seu cadastro esta completo.\");\r\n\t\tSystem.out.println(\"++++++++++++++++++++++++++++++++++++++++++\");\r\n\t\t\r\n\t\tLerBanco ler = new LerBanco();\r\n\t\tMap<Integer, Imovel> listaImovel = new HashMap<Integer, Imovel>();\r\n\t\tList<Imovel>lImovel = new ArrayList<Imovel>();\r\n\t\t\r\n\t\tler.leituraImovel(listaImovel);\r\n\t\tsetCod(lImovel.size());\r\n\t\t\r\n\n\r\n\t\tGravaTxt gravaArq = new GravaTxt();\r\n\r\n\t\tgravaArq.grava(\"Imoveis.txt\", toString());\r\n\r\n\t}",
"@Override\n public boolean excluirRegistro() {\n this.produto.excluir();\n return true;\n }",
"@Override\n\tpublic boolean delete(Langues obj) {\n\t\treturn false;\n\t}",
"public Object getDeletedObject(ABEDto object)\n\t{\n\t\t//Send this as return object when input object is null\n\t\tObject obj = new Object();\n\t\t if (object instanceof Hotel) {\n\t\t\t List<Hotel> hotelsList = new ArrayList<Hotel>();\n\t\t\t com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.hotel.v1.Hotel hotelBO = new com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.hotel.v1.Hotel();\n\t\t\t List<com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.hotel.v1.Hotel> hotelListBO = new ArrayList<com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.hotel.v1.Hotel>();\n\t\t\t\thotelsList.add((Hotel) object);\n\t\t\t\tif(hotelsList!=null && hotelsList.size()>0)\n\t\t\t\t{\n\t\t\t\t\tfor(int i=0;i<hotelsList.size();i++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif(hotelsList.get(i)!=null)\n\t\t\t\t\t\t{\n\t\t\t\t\t\thotelBO = this.getHotelReq(hotelsList.get(i));\n\t\t\t\t\t\thotelListBO.add(hotelBO);\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\treturn hotelListBO;\n\t\t }\n\t\t \n\t\t else if(object instanceof Service)\n\t\t {\n\t\t\t List<Service> servicesList = new ArrayList<Service>();\n\t\t\t com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.service.v1.Service serviceBO = new com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.service.v1.Service();\n\t\t\t List<com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.service.v1.Service> serviceListBO = new ArrayList<com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.service.v1.Service>();\n\t\t\t servicesList.add((Service) object); \n\t\t\t\tif(servicesList!=null && servicesList.size()>0)\n\t\t\t\t{\n\t\t\t\t\tfor(int i=0;i<servicesList.size();i++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif(servicesList.get(i)!=null)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tserviceBO = this.getServiceReq(servicesList.get(i));\n\t\t\t\t\t\t\tserviceListBO.add(serviceBO);\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\treturn serviceListBO;\n\t\t }\n\t\t \n\t\t else if(object instanceof Insurance)\n\t\t {\n\t\t\t List<Insurance> insuranceList = new ArrayList<Insurance>();\n\t\t\t\tinsuranceList.add((Insurance) object);\n\t\t\t\t\n\t\t\tcom.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.insurance.v1.Insurance insuranceBO = new com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.insurance.v1.Insurance();\n\t\t\tList<com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.insurance.v1.Insurance> insuranceListBO = new ArrayList<com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.insurance.v1.Insurance>();\n\t\t\tif(insuranceList!=null && insuranceList.size()>0)\n\t\t\t{\n\t\t\t\tfor(int i=0;i<insuranceList.size();i++)\n\t\t\t\t{\n\t\t\t\t\tif(insuranceList.get(i)!=null)\n\t\t\t\t\t{\n\t\t\t\t\t\tinsuranceBO = this.getInsuranceReq(insuranceList.get(i));\n\t\t\t\t\t\tinsuranceListBO.add(insuranceBO);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\treturn insuranceListBO;\n\t\t }\n\treturn obj;\t\n\t}",
"private void mueveObjetos()\n {\n // Mueve las naves Ufo\n for (Ufo ufo : ufos) {\n ufo.moverUfo();\n }\n \n // Cambia el movimiento de los Ufos\n if (cambiaUfos) {\n for (Ufo ufo : ufos) {\n ufo.cambiaMoverUfo();\n }\n cambiaUfos = false;\n }\n\n // Mueve los disparos y los elimina los disparos de la nave Guardian\n if (disparoGuardian.getVisible()) {\n disparoGuardian.moverArriba();\n if (disparoGuardian.getPosicionY() <= 0) {\n disparoGuardian.setVisible(false);\n }\n }\n\n // Dispara, mueve y elimina los disparos de las naves Ufo\n disparaUfo();\n if (disparoUfo.getVisible()) {\n disparoUfo.moverAbajo();\n if (disparoUfo.getPosicionY() >= altoVentana) {\n disparoUfo.setVisible(false);\n }\n }\n\n // Mueve la nave Guardian hacia la izquierda\n if (moverIzquierda) {\n guardian.moverIzquierda();\n }\n // Mueve la nave Guardian hacia la derecha\n if (moverDerecha) {\n guardian.moverDerecha();\n }\n // Hace que la nave Guardian dispare\n if (disparar) {\n disparaGuardian();\n }\n }",
"public NodoDoble(NodoDoble<E> anterior, E elemento, NodoDoble<E> siguiente){//a ver si no te da problema el nodo por no estar especigicando su tipo... puesto que esta clase es genérica y aquí estas creando uno sin saber, asi que creo que debería de especificarselo\n contenido = elemento;\n nodoSiguiente = siguiente;\n nodoAnterior = anterior;\n }",
"public static void main(String[] args) {\n Perro perro = new Perro(1, \"Juanito\", \"Frespuder\", 'M');\n Gato gato = new Gato(2, \"Catya\", \"Egipcio\", 'F', true);\n Tortuga paquita = new Tortuga(3, \"Pquita\", \"Terracota\", 'F', 12345857);\n\n SetJuego equipo = new SetJuego(4, \"Gato equipo\", 199900, \"Variado\", \"16*16*60\", 15, \"Gatos\");\n PelotaMorder pelotita = new PelotaMorder(1, \"bola loca\", 15000, \"Azul\", \"60 diam\");\n\n System.out.println(perro.toString());//ToString original de \"mascotas\"\n System.out.println(gato.toString());//ToString sobrescrito\n System.out.println(paquita.toString());\n\n System.out.println(equipo);//ToString sobrescrito (tambien se ejecuta sin especificarlo)\n System.out.println(pelotita.toString());//Original de \"Juguetes\"\n\n //metodos clase mascota\n perro.darCredito();//aplicado de la interface darcredito\n paquita.darDeAlta(\"Terracota\",\"Paquita\");\n equipo.devolucion(4,\"Gato Equipo\");\n\n //vamos a crear un arraylist\n ArrayList<String> servicios = new ArrayList<String>();\n servicios.add(\"Inyectologia\");\n servicios.add(\"Peluqueria\");\n servicios.add(\"Baño\");\n servicios.add(\"Desparacitacion\");\n servicios.add(\"Castracion\");\n\n System.out.println(\"Lista de servicios: \" + servicios + \", con un total de \" + servicios.size());\n\n servicios.remove(3);//removemos el indice 3 \"Desparacitacion\"\n\n System.out.println(\"Se ha removido un servicio..................\");\n System.out.println(\"Lista de servicios: \" + servicios + \", con un total de \" + servicios.size());\n\n\n //creamos un vector\n Vector<String> promociones = new Vector<String>();\n\n promociones.addElement(\"Dia perruno\");\n promociones.addElement(\"Gatutodo\");\n promociones.addElement(\"10% Descuento disfraz de perro\");\n promociones.addElement(\"Jornada de vacunacion\");\n promociones.addElement(\"Serpiente-Promo\");\n\n System.out.println(\"Lista de promos: \" + promociones);\n System.out.println(\"Total de promos: \" + promociones.size());\n\n promociones.remove(4);//removemos 4 \"Serpiente-Promo\"\n System.out.println(\"Se ha removido una promocion..................\");\n\n System.out.println(\"Lista de promos: \" + promociones);\n System.out.println(\"Total de promos: \" + promociones.size());\n\n String[] dias_Semana = {\"Lunes\",\"Martes\",\"Miercoles\",\"Jueves\",\"Viernes\", \"Sabado\",\"Domingo\"};\n\n try{\n System.out.println(\"Elemento 6 de servicios: \" + dias_Semana[8]);\n } catch (ArrayIndexOutOfBoundsException e){\n System.out.println(\"Ey te pasaste del indice, solo hay 5 elementos\");\n } catch (Exception e){\n System.out.println(\"Algo paso, el problema es que no se que...\");\n System.out.println(\"La siguiente linea ayudara a ver el error\");\n e.printStackTrace();//solo para desarrolladores\n }finally {\n System.out.println(\"------------------------El curso termino! Pero sigue el de Intro a Android!!!!--------------------------\");\n }\n\n }",
"private void popuniComboZaMesto() {\n try {\n jComboMesto.removeAllItems();\n List<MestoEntity> mesta = Controller.ucitajListuMesta();\n \n for (IDomainEntity mesto : mesta) {\n if(mesto instanceof MestoEntity)\n jComboMesto.addItem((MestoEntity) mesto);\n }\n } catch (Exception ex) {\n Logger.getLogger(FKupac.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"@Override\n\tpublic List<Produto> listarTodos() throws ControleEstoqueSqlException {\n\t\treturn null;\n\t}",
"public Artefato() {\r\n\t\tthis.membros = new ArrayList<Membro>();\r\n\t\tthis.servicos = new ArrayList<IServico>();\r\n\t}",
"@Override\r\n\tpublic void eliminar() {\n\t\tLOG.info(\"Se elimino los datos del equipo\");\r\n\t}",
"public void excluir(Filme f) {\r\n\r\n //Pegando o gerenciador de acesso ao BD\r\n EntityManager gerenciador = JPAUtil.getGerenciador();\r\n\r\n //Iniciar a transação\r\n gerenciador.getTransaction().begin();\r\n\r\n //Para excluir tem que dar o merge primeiro para \r\n //sincronizar o ator do BD com o ator que foi\r\n //selecionado na tela\r\n f = gerenciador.merge(f);\r\n\r\n //Mandar sincronizar as alterações \r\n gerenciador.remove(f);\r\n\r\n //Commit na transação\r\n gerenciador.getTransaction().commit();\r\n\r\n }",
"public String eliminarDetalle()\r\n/* 340: */ {\r\n/* 341:400 */ this.cuentaContableDimensionContable = ((CuentaContableDimensionContable)this.dtCuentaContable.getRowData());\r\n/* 342:401 */ this.cuentaContableDimensionContable.setEliminado(true);\r\n/* 343:402 */ return \"\";\r\n/* 344: */ }",
"public boolean delete(Etudiant obj) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic void adicionarNoInicio(T obj) {\n\n\t}",
"@Override\n\tpublic void imprimirBancoDados() {\n\t\tSystem.out.println(\"Nome do Banco: \"+nomeBanco);\n\t\tSystem.out.println(\"Tipo do Banco: \"+tipoBanco);\n\t\tSystem.out.println(\"Lista de Metodos: \"+listaMetodos);\n\t}",
"public void reloadTableCliente() {\n\n this.removeAllData();// borramos toda la data \n for (int i = 0; i < (lista.size()); i++) { // este for va de la primera casilla hast ael largo del arreglo \n Cliente object = lista.get(i);\n this.AddtoTableCliente(object);\n }\n\n }",
"public void excluirPorCategoriaAtributoTalento(CategoriaAtributoTalento objCategoriaAtributoTalento)\r\n throws DAOException\r\n {\r\n if (log.isDebugEnabled())\r\n {\r\n log.debug(\"Entrada no metodo\");\r\n }\r\n \r\n // Monta consulta de exclusão\r\n String strConsulta =\r\n \" FROM\" +\r\n \" AtributoTalentoValorado atributoTalentoValorado\" +\r\n\t\t\t\r\n \" WHERE\" +\r\n \" atributoTalentoValorado.categoriaAtributoTalento.identificador = \" + \r\n objCategoriaAtributoTalento.getIdentificador();\r\n \r\n //Executa\r\n excluir(strConsulta);\r\n }",
"List<Persona> obtenerTodasLasPersona();",
"@Override\n\tpublic List<Aluno> carregar() {\n\t\tList<Aluno> lista = new ArrayList<Aluno>();\n\t\ttry {\n\t\t\tConnection con = DBUtil.getInstance().getConnection();\n\t\t\tString cmd = \"SELECT * FROM Aluno \";\n\t\t\tPreparedStatement stmt = con.prepareStatement( cmd );\n\t\t\n\t\t\tResultSet rs = stmt.executeQuery();\n\t\t\twhile (rs.next()) { \n\t\t\t\tAluno a = new Aluno();\n\t\t\t\ta.setNome( rs.getString(\"Nome\") );\n\t\t\t\ta.setNumero(Integer.parseInt(rs.getString(\"idAluno\")) );\n\t\t\t\tlista.add( a );\n\t\t\t}\t\n\t\t} catch (SQLException e) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Erro no Sql, verifique o banco\", \"ERRO\", JOptionPane.ERROR_MESSAGE);\n\n\t\t}\n\t\treturn lista;\n\t}",
"public ResponseEntity<GrupoDS> incluirGrupo(@ApiParam(value = \"Objeto utilizado para tranferência de dados.\" ,required=true ) @Valid @RequestBody GrupoDS ds) {\n \tGrupoModel model = ds.getModel();\n grupoRepository.save(model);\n return new ResponseEntity<GrupoDS>(new GrupoDS(model), HttpStatus.CREATED);\n }",
"@Override\r\n\tpublic List<ReservaBean> traeTodos() throws Exception {\n\t\treturn null;\r\n\t}",
"@Override\n public List recuperarTodosLosElementos(Class clase) {\n Query query = database.query();\n query.constrain(clase);\n ObjectSet result = query.execute();\n return result;\n }",
"public void carregar(DadosGrafico dados){\r\n \r\n }",
"public void incluirRecusouInformar(BemDTO dto) throws BancoobException {\n\t\tgetServico().incluirRecusouInformar(dto);\n\t}",
"public ObjetoBBDD clonar() {\n\t\t\n\t\tIsFicha ficha=new IsFicha();\n\t\tficha.IDISFICHA=this.IDISFICHA;\n\t\tficha.NOTAS=ficha.NOTAS;\n\t\tficha.ANOTACIONES=this.ANOTACIONES;\n\t\tficha.NOTAS_EJERCICIOS=this.NOTAS_EJERCICIOS;\n\t\t//ficha.inicializar();\n\t\treturn ficha;\n\t}",
"private void guardarEstadoObjetosUsados() {\n }",
"public void limpiarDatos() {\r\n FormularioUtil.limpiarComponentes(groupboxEditar, idsExcluyentes);\r\n tbxNro_identificacion.setValue(\"\");\r\n tbxNro_identificacion.setDisabled(false);\r\n deshabilitarCampos(true);\r\n\r\n }",
"public static Object getLista(Object obj) {\n\t\tConexionDB db=new TipoComisionDB();\r\n\t\treturn db.getAll(obj);\r\n\t}"
] |
[
"0.6393546",
"0.63677156",
"0.6205788",
"0.61686265",
"0.6155003",
"0.61350125",
"0.6116726",
"0.6105965",
"0.6022047",
"0.59913546",
"0.5970982",
"0.5966702",
"0.595966",
"0.5959126",
"0.5938386",
"0.5934589",
"0.5928677",
"0.59100497",
"0.58992314",
"0.585413",
"0.58526456",
"0.58365965",
"0.5832996",
"0.5812595",
"0.58015025",
"0.57782257",
"0.5774598",
"0.57659346",
"0.57549906",
"0.57520974",
"0.5747529",
"0.57399946",
"0.5739023",
"0.5727337",
"0.57270616",
"0.57210773",
"0.57097703",
"0.5699487",
"0.569505",
"0.569074",
"0.56874794",
"0.5686799",
"0.5679623",
"0.56762135",
"0.5676087",
"0.56598604",
"0.56518126",
"0.56412923",
"0.5637296",
"0.56345767",
"0.5619194",
"0.56175596",
"0.5613721",
"0.56129986",
"0.5607863",
"0.5607",
"0.56008244",
"0.5596206",
"0.55925447",
"0.55915135",
"0.558071",
"0.55722415",
"0.5567454",
"0.55659413",
"0.55652064",
"0.5562851",
"0.55581784",
"0.5552289",
"0.5541365",
"0.55396664",
"0.5536808",
"0.5532108",
"0.55308217",
"0.5528116",
"0.55265725",
"0.5521631",
"0.5518865",
"0.55144113",
"0.5506347",
"0.5504664",
"0.55032134",
"0.5503082",
"0.5497054",
"0.5496092",
"0.54942197",
"0.54930824",
"0.54893327",
"0.54876333",
"0.54844314",
"0.54787916",
"0.5476601",
"0.5476494",
"0.54756755",
"0.54724705",
"0.5470459",
"0.546973",
"0.5467216",
"0.54633987",
"0.5463097",
"0.5460076",
"0.5460074"
] |
0.0
|
-1
|
OK Click Longo Excluir o Objeto
|
private void excluirAction() {
Integer i = daoPedido.excluir(this.pedidoVO);
if (i != null && i > 0) {
msg = activity.getString(R.string.SUCCESS_excluido, pedidoVO.toString());
Toast.makeText(activity, msg + "(" + i + ")", Toast.LENGTH_SHORT).show();
Log.i("DB_INFO", "Sucesso ao Alterar: " + this.pedidoVO.toString());
// this.adapter.remove(this.pedidoVO);
this.refreshData(2);
} else {
msg = activity.getString(R.string.ERROR_excluir, pedidoVO.toString());
Toast.makeText(activity, msg, Toast.LENGTH_SHORT).show();
Log.e("DB_INFO", "Erro ao Excluir: " + this.pedidoVO.toString());
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private void alertBuilderClickLongoAction() {\r\n AlertDialog.Builder alerta = new AlertDialog.Builder(activity);\r\n alerta.setTitle(R.string.MESSAGE_builderTitle);\r\n String alertaMessage = activity.getString(R.string.MESSAGE_ExcluirProduto, pedidoVO.toString());\r\n alerta.setMessage(alertaMessage);\r\n alerta.setIcon(android.R.drawable.ic_menu_delete);\r\n alerta.setNegativeButton(R.string.MESSAGE_fechar, (dialog, which) -> this.pedidoVO = null);\r\n alerta.setPositiveButton(R.string.MESSAGE_sim, (dialog, which) -> this.excluirAction());\r\n alerta.show();\r\n }",
"@Override\n public boolean onLongClick(View v) {\n League league = mLeagues.get(getPosition());\n showDialogConfirmDelete(league);\n return false;\n }",
"@Override\n\tpublic void excluir() {\n\t\t\n\t}",
"private void doExcluir() {\n ClearMsgsEvent.fire(this);\n if (Window.confirm(\"Tem certeza que deseja excluir o contato \" + contato.getNome() + \"?\")) {\n dispatcher\n .execute(new ExcluirContatoAction(contato), new AsyncCallback<ExcluirContatoResult>() {\n @Override\n public void onFailure(Throwable caught) {\n ShowMsgEvent\n .fire(CadastroContatoPresenter.this, \"Erro: \" + caught.getLocalizedMessage(),\n AlertType.ERROR);\n }\n\n @Override\n public void onSuccess(ExcluirContatoResult result) {\n if (result.isOk()) {\n doNovo();\n AtualizarListaDeContatosEvent.fire(CadastroContatoPresenter.this);\n }\n for (String msg : result.getMensagens()) {\n ShowMsgEvent.fire(CadastroContatoPresenter.this, msg,\n result.isOk() ? AlertType.SUCCESS : AlertType.ERROR);\n }\n }\n });\n }\n }",
"@Override\r\n\t\t\t\t\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\t\t\t\t\tObject data = event.getButton().getData();\r\n\t\t\t\t\t\t\t\ttableObjects.select(data);\r\n\t\t\t\t\t\t\t\tItem itemClickEvent = tableObjects.getItem(data);\r\n\t\t\t\t\t\t\t\tConfirmDialog.Factory df = new DefaultConfirmDialogFactory() {\r\n\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t @Override\r\n\t\t\t\t\t\t\t\t\tpublic ConfirmDialog create(String caption, String message, String okCaption,\r\n\t\t\t\t\t\t\t\t\t\t\tString cancelCaption, String notOkCaption) {\r\n\r\n\t\t\t\t\t\t\t\t ConfirmDialog d = super.create(caption,message,okCaption, cancelCaption, notOkCaption\r\n\t\t\t\t\t\t\t\t );\r\n\t\t\t\t\t\t\t\t // Change the order of buttons\r\n\t\t\t\t\t\t\t\t Button ok = d.getOkButton();\r\n\t\t\t\t\t\t\t\t HorizontalLayout buttons = (HorizontalLayout) ok.getParent();\r\n\t\t\t\t\t\t\t\t buttons.removeComponent(ok);\r\n\t\t\t\t\t\t\t\t buttons.addComponent(ok,1);\r\n\t\t\t\t\t\t\t\t buttons.setComponentAlignment(ok, Alignment.MIDDLE_RIGHT);\r\n\t\t\t\t\t\t\t\t return d;\r\n\t\t\t\t\t\t\t\t }\r\n\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\tConfirmDialog.setFactory(df);\t\t\r\n\t\t\t\t\t\t \tConfirmDialog.show(UI.getCurrent(), \"Delete Pack\", \"Are you sure delete all objects of this Pack ?\",\r\n\t\t\t\t\t\t \t \"Yes\", \"No\", new ConfirmDialog.Listener() {\r\n\r\n\t\t\t\t\t\t \t public void onClose(ConfirmDialog dialog) {\r\n\t\t\t\t\t\t \t if (dialog.isConfirmed()) {\r\n\r\n\t\t\t\t\t\t \t \t// Borramos el registro\r\n\t\t\t\t\t\t \t \ttry {\r\n\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tconexion = new Conexion();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tConnection con = conexion.getConnection();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tStatement statement = con.createStatement();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tObject rowId = tableObjects.getValue(); // get the selected rows id\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tInteger id = (Integer)tableObjects.getContainerProperty(rowId,\"IdObject\").getValue();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tString cadena = \"DELETE ObjectBYPacks WHERE IDpack =\" + String.valueOf(id); \r\n\t\t\t\t\t\t \t \t\t\t\t\t\tstatement.executeUpdate(cadena);\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tstatement.close();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tcon.close();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\r\n\t\t\t\t\t\t \t \t\t\t\t\t\ttableObjects.removeItem(rowId);\r\n\r\n\t\t\t\t\t\t \t \t\t\t\t\tnew Notification(\"Process OK\",\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\t\"Object deleted\",\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\tNotification.Type.TRAY_NOTIFICATION, true)\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\t.show(Page.getCurrent());\r\n\t\t\t\t\t\t \t \t\t\t\t\t\r\n\t\t\t\t\t\t \t \t\t } catch (SQLException e) {\r\n\t\t\t\t\t\t \t \t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\t \t \t\t \te.printStackTrace();\r\n\t\t\t\t\t\t \t \t\t \tnew Notification(\"Got an exception!\",\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\te.getMessage(),\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\tNotification.Type.ERROR_MESSAGE, true)\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\t.show(Page.getCurrent());\r\n\t\t\t\t\t\t \t \t\t \t\r\n\t\t\t\t\t\t \t \t\t\t\t\t\r\n\t\t\t\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 \t });\r\n\t\t\t\t\t\t\t\t}",
"private void popupDelete() {\n\t\taufzugschacht.removeElement(this);\n\t}",
"public void clickOnDeleteButton() {\r\n\t\tsafeClick(addMarkerOkButton.replace(\".ant-modal-footer button.ant-btn.ant-btn-primary\",\r\n\t\t\t\t\".ant-btn.ant-btn-danger.ant-btn-circle\"), MEDIUMWAIT);\r\n\t}",
"private void remove() {\n disableButtons();\n clientgui.getClient().sendDeleteEntity(cen);\n cen = Entity.NONE;\n }",
"@FXML void Removebtnpushed1(ActionEvent event8) throws FileNotFoundException, IOException {\n\t try {\n\t Pane annunci[] = { Annuncio1, Annuncio2, Annuncio3};\n\t offerService.deleteOffer(TitleLabel.getText().toString(), eoEmail.getText().toString());\n\t annunci[0].setVisible(false);\n\t } catch (Exception e) {\n\t e.printStackTrace(); }\n\t}",
"public void removeIngre(Button btn, RecipeTM tm, ObservableList<RecipeTM> obList) {\r\n btn.setOnAction((e) -> {\r\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION);\r\n alert.setTitle(\"Warning\");\r\n alert.setContentText(\"Are you sure ?\");\r\n Optional<ButtonType> result = alert.showAndWait();\r\n if (result.get() == ButtonType.OK) {\r\n try {\r\n deleteResIngre(tm.getIngreID(), cmbCakeID.getSelectionModel().getSelectedItem());\r\n } catch (SQLException | ClassNotFoundException throwables) {\r\n throwables.printStackTrace();\r\n }\r\n obList.remove(tm);\r\n tblRecipe.refresh();\r\n }\r\n });\r\n }",
"@FXML\n\tpublic void handleExcluir(MouseEvent event) {\n\t\tif(colNome.getCellData(jtvIngredienteTable.getSelectionModel().getSelectedIndex()) != null){\n\t\t\tingredienteService = new IngredienteService();\n\t\t\tIngrediente ingrediente = jtvIngredienteTable.getSelectionModel().getSelectedItem();\n\t\t\tingredienteService.delete(ingrediente.getId());\n\t\t\tatualizarTable();\n\t\t}else{\n\t\t\tScreenUtils.janelaInformação(spDialog, Internationalization.getMessage(\"header_erro3\"), Internationalization.getMessage(\"item_nao_selecionado\"), Internationalization.getMessage(\"erro_button2\"));\n//\t\t\tScreenUtils.janelaInformação(spDialog, \"Ops\", \"Por favor, selecione um item.\", \"Sem problemas\");\n\t\t}\n\t}",
"@Override\r\n\t\t\t\t\t\t\tpublic void buttonClick(ClickEvent event) {\n\t\t\t\t\t\t\t\tObject data = event.getButton().getData();\r\n\t\t\t\t\t\t\t\ttablePacks.select(data);\r\n\t\t\t\t\t\t\t\tItem itemClickEvent = tablePacks.getItem(data);\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tConfirmDialog.Factory df = new DefaultConfirmDialogFactory() {\r\n\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t @Override\r\n\t\t\t\t\t\t\t\t\tpublic ConfirmDialog create(String caption, String message, String okCaption,\r\n\t\t\t\t\t\t\t\t\t\t\tString cancelCaption, String notOkCaption) {\r\n\r\n\t\t\t\t\t\t\t\t ConfirmDialog d = super.create(caption,message,okCaption, cancelCaption, notOkCaption\r\n\t\t\t\t\t\t\t\t );\r\n\t\t\t\t\t\t\t\t // Change the order of buttons\r\n\t\t\t\t\t\t\t\t Button ok = d.getOkButton();\r\n\t\t\t\t\t\t\t\t HorizontalLayout buttons = (HorizontalLayout) ok.getParent();\r\n\t\t\t\t\t\t\t\t buttons.removeComponent(ok);\r\n\t\t\t\t\t\t\t\t buttons.addComponent(ok,1);\r\n\t\t\t\t\t\t\t\t buttons.setComponentAlignment(ok, Alignment.MIDDLE_RIGHT);\r\n\t\t\t\t\t\t\t\t return d;\r\n\t\t\t\t\t\t\t\t }\r\n\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\tConfirmDialog.setFactory(df);\t\t\r\n\t\t\t\t\t\t \tConfirmDialog.show(UI.getCurrent(), \"Delete Objects by Pack\", \"Are you sure delete objects of this pack ?\",\r\n\t\t\t\t\t\t \t \"Yes\", \"No\", new ConfirmDialog.Listener() {\r\n\r\n\t\t\t\t\t\t \t public void onClose(ConfirmDialog dialog) {\r\n\t\t\t\t\t\t \t if (dialog.isConfirmed()) {\r\n\r\n\t\t\t\t\t\t \t \t// Borramos el registro\r\n\t\t\t\t\t\t \t \ttry {\r\n\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tconexion = new Conexion();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tConnection con = conexion.getConnection();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tStatement statement = con.createStatement();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tObject rowId = tablePacks.getValue(); // get the selected rows id\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tInteger id = (Integer)tablePacks.getContainerProperty(rowId,\"IdPack\").getValue();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tString cadena = \"DELETE ObjectbyPacks WHERE idpack =\" + String.valueOf(id); \r\n\t\t\t\t\t\t \t \t\t\t\t\t\tstatement.executeUpdate(cadena);\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tstatement.close();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\tcon.close();\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\r\n\t\t\t\t\t\t \t \t\t\t\t\t\ttablePacks.removeItem(rowId);\r\n\r\n\t\t\t\t\t\t \t \t\t\t\t\tnew Notification(\"Process OK\",\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\t\"Objects by Pack deleted\",\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\tNotification.Type.TRAY_NOTIFICATION, true)\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\t.show(Page.getCurrent());\r\n\t\t\t\t\t\t \t \t\t\t\t\t\r\n\t\t\t\t\t\t \t \t\t } catch (SQLException e) {\r\n\t\t\t\t\t\t \t \t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\t \t \t\t \te.printStackTrace();\r\n\t\t\t\t\t\t \t \t\t \tnew Notification(\"Got an exception!\",\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\te.getMessage(),\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\tNotification.Type.ERROR_MESSAGE, true)\r\n\t\t\t\t\t\t \t \t\t\t\t\t\t\t.show(Page.getCurrent());\r\n\t\t\t\t\t\t \t \t\t \t\r\n\t\t\t\t\t\t \t \t\t\t\t\t\r\n\t\t\t\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 \t });\r\n\r\n\t\t\t\t\t\t\t\t}",
"public void evt_DeleteCurrentObject()\r\n {\r\n rh2EventPos.hoOiList.oilNumOfSelected -= 1;\t\t\t\t\t// Un de moins dans l'OiList\r\n if (rh2EventPrev != null)\r\n {\r\n rh2EventPrev.hoNextSelected = rh2EventPos.hoNextSelected;\r\n rh2EventPos = rh2EventPrev; // Car le courant est vire!\r\n }\r\n else\r\n {\r\n// rhPtr.rhOiList[rh2EventPosOiList].oilListSelected=rh2EventPos.hoNextSelected;\r\n rh2EventPrevOiList.oilListSelected = rh2EventPos.hoNextSelected;\r\n rh2EventPos = null;\r\n }\r\n }",
"@Override\n public void onClick(View v) {\n EliminarLibroCarrito hconexion=new EliminarLibroCarrito();\n\n hconexion.execute(String.valueOf(items.get(i).getId()));\n //parent.renderizarInformacion();\n\n }",
"public void delOnlineShelfAction() {\n\t\tdelOnlineShelf.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\thid();\n\t\t\t\tDelOnlineShelf del = null;\n\t\t\t\tint optionType = JOptionPane.YES_NO_OPTION; // ��ť����\n\t\t\t\tint messageType = JOptionPane.WARNING_MESSAGE; // ͼ������\n\t\t\t\tint result = JOptionPane.showConfirmDialog(null,\"删除选中书架将清空书架内书籍,是否确认删除?\", \"消息\", optionType, messageType);\n\t\t\t\tif(result==JOptionPane.YES_OPTION)\n\t\t\t\t{\n\t\t\t\t\tdel=new DelOnlineShelf(nodeText);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}",
"public void borrarZonaObjetivoAtaque() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\thid();\n\t\t\t\tDelOnlineShelf del = null;\n\t\t\t\tint optionType = JOptionPane.YES_NO_OPTION; // ��ť����\n\t\t\t\tint messageType = JOptionPane.WARNING_MESSAGE; // ͼ������\n\t\t\t\tint result = JOptionPane.showConfirmDialog(null,\"删除选中书架将清空书架内书籍,是否确认删除?\", \"消息\", optionType, messageType);\n\t\t\t\tif(result==JOptionPane.YES_OPTION)\n\t\t\t\t{\n\t\t\t\t\tdel=new DelOnlineShelf(nodeText);\n\t\t\t\t}\n\t\t\t}",
"@Override\r\n\tpublic void excluir(Telefone vo) throws Exception {\n\t\t\r\n\t}",
"@FXML\n\tprivate void deleteButtonAction(ActionEvent clickEvent) {\n\t\t\n\t\tPart deletePartFromProduct = partListProductTable.getSelectionModel().getSelectedItem();\n\t\t\n\t\tif (deletePartFromProduct != null) {\n\t\t\t\n\t\t\tAlert alert = new Alert(Alert.AlertType.CONFIRMATION, \"Pressing OK will remove the part from the product.\\n\\n\" + \"Are you sure you want to remove the part?\");\n\t\t\n\t\t\tOptional<ButtonType> result = alert.showAndWait();\n\t\t\n\t\t\tif (result.isPresent() && result.get() == ButtonType.OK) {\n\t\t\t\n\t\t\t\tdummyList.remove(deletePartFromProduct);\n\n\t\t\t}\n\t\t}\n\t}",
"public ExcluirFilme() {\n initComponents();\n setTitle(\"LocVideo\");\n AtualizarCombo();\n }",
"@Override\n public void onClick(View v) {\n palaceClicked.getObject(objectNumber).setO_name(clickedObjName.getText().toString());\n palaceClicked.getObject(objectNumber).setO_desc(clickedObjDesc.getText().toString());\n //Save objects to the file.\n listOfMyPalaces.writePalacesFile(MyPalaceDetail.this);\n myDialog.cancel();\n }",
"@Override\n\t\t\tpublic boolean onLongClick(View v) {\n\t\t\t\tif (mSpinner.getSelectedItemPosition() >= str1.length) {\n\t\t\t\t\tmIsDelete = true;\n\t\t\t\t\tBuilder builder = new Builder(MainActivity.this);\n\t\t\t\t\tbuilder.setMessage(\"确认删除此项吗?\");\n\n\t\t\t\t\tbuilder.setTitle(\"提示\");\n\n\t\t\t\t\tbuilder.setPositiveButton(\"确定\",\n\t\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\t\t\t\t\tint which) {\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\tString[] strArray = { mSpinner\n\t\t\t\t\t\t\t\t\t\t\t.getSelectedItem().toString() };\n\t\t\t\t\t\t\t\t\tmWebDao.delete(strArray);\n\t\t\t\t\t\t\t\t\tlist.remove(mSpinner\n\t\t\t\t\t\t\t\t\t\t\t.getSelectedItemPosition());\n\t\t\t\t\t\t\t\t\tadapter.notifyDataSetChanged();\n\t\t\t\t\t\t\t\t\tdialog.dismiss();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\tbuilder.setNegativeButton(\"取消\",\n\t\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\t\t\t\t\tint which) {\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\tdialog.dismiss();\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t});\n\n\t\t\t\t\tbuilder.create().show();\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}",
"@Override\r\n\tpublic void deleteObjectListener(ActionEvent e) {\n\t\t\r\n\t}",
"@Override\n\tpublic void deleteClick(Object id) {\n\t\t\n\t}",
"@Override\r\n\tprotected void borrarObjeto() throws ClassNotFoundException {\n\t\tif (tbJustificaciones.getSelectedRow() != -1\r\n\t\t\t\t&& tbJustificaciones.getValueAt(tbJustificaciones.getSelectedRow(), 0) != null) {\r\n\t\t\tthis.setTitle(\"PROCESOS - PERMISOS INDIVIDUALES (ELIMINANDO)\");\r\n\t\t\tthis.opcion = 3;\r\n\t\t\tactivarFormulario();\r\n\t\t\tcargarDatosModificar();\r\n\t\t\ttxtCedula.setEnabled(false);\r\n\t\t\tlimpiarTabla();\r\n\t\t\tthis.panelBotones.habilitar();\r\n\t\t} else {\r\n\t\t\tJOptionPane.showMessageDialog(null, GlobalUtil.MSG_ITEM_NO_SELECCIONADO, \"ATENCION\",\r\n\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\r\n\t\t}\r\n\t}",
"@FXML\r\n private void excluir(ActionEvent event) {\n selecionado = tabelaCliente.getSelectionModel()\r\n .getSelectedItem();\r\n \r\n //Verifico se tem cliente selecionado\r\n if(selecionado != null){ //existe cliente selecionado\r\n \r\n //Pegando a resposta da confirmacao do usuario\r\n Optional<ButtonType> btn = \r\n mensagemDeConfirmacao(\"Deseja mesmo excluir?\",\r\n \"EXCLUIR\");\r\n \r\n //Verificando se apertou o OK\r\n if(btn.get() == ButtonType.OK){\r\n \r\n //Manda para a camada de serviço excluir\r\n servico.excluir(selecionado);\r\n \r\n //mostrar mensagem de sucesso\r\n mensagemSucesso(\"cliente excluído com sucesso\");\r\n \r\n //Atualizar a tabela\r\n listarClienteTabela(); \r\n \r\n }\r\n \r\n \r\n \r\n }else{\r\n mensagemErro(\"Selecione um cliente.\");\r\n }\r\n \r\n }",
"public void removeGameObj(GameObject obj){\n display.getChildren().remove(obj.getDisplay());\n }",
"@Override\n\tpublic boolean delete(Langues obj) {\n\t\treturn false;\n\t}",
"private void toDelete() {\n if(toCount()==0)\n {\n JOptionPane.showMessageDialog(rootPane,\"No paint detail has been currently added\");\n }\n else\n {\n String[] choices={\"Delete First Row\",\"Delete Last Row\",\"Delete With Index\"};\n int option=JOptionPane.showOptionDialog(rootPane, \"How would you like to delete data?\", \"Delete Data\", WIDTH, HEIGHT,null , choices, NORMAL);\n if(option==0)\n {\n jtModel.removeRow(toCount()-toCount());\n JOptionPane.showMessageDialog(rootPane,\"Successfully deleted first row\");\n }\n else if(option==1)\n {\n jtModel.removeRow(toCount()-1);\n JOptionPane.showMessageDialog(rootPane,\"Successfully deleted last row\");\n }\n else if(option==2)\n {\n toDeletIndex();\n }\n else\n {\n \n }\n }\n }",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tmanager.getAbnormal().remove();\n\t\t\t\tXianlu();\n\t\t\t}",
"@Override\n\t\t\tpublic boolean onLongClick(View v) {\n\t\t\t\tDialogUtils.dialogBuilder((Activity) mContext, \"删除内容?\", \"确定要删除内容?\", new DialogCallBack() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void callBack() {\n\t\t\t\t\t\tLog.d(TAG, \"检测到删除任务!删除list_id为:\" + listitem.get(position).get(\"list_id\").toString());\n\t\t\t\t\t\tlistitem.remove(position);\n\t\t\t\t\t\tnotifyDataSetChanged();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn true;\n\t\t\t}",
"public void removeBtn(){\r\n\t\t\r\n\t\tWorkflowEntry entryToBeRemoved = (WorkflowEntry) tableView.getSelectionModel().getSelectedItem();\r\n\t\t\r\n\t\tdata.remove(entryToBeRemoved);\r\n\t\t\r\n\t}",
"@Override\n public void onClick(View v) {\n newObj.setO_name(clickedObjName.getText().toString());\n newObj.setO_desc(clickedObjDesc.getText().toString());\n //Save objects to the file.\n listOfMyPalaces.writePalacesFile(MyPalaceDetail.this);\n myDialog.cancel();\n }",
"@FXML\r\n public void onDelete() {\r\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION);\r\n alert.setTitle(\"Mensagem\");\r\n alert.setHeaderText(\"\");\r\n alert.setContentText(\"Deseja excluir?\");\r\n Optional<ButtonType> result = alert.showAndWait();\r\n if (result.get() == ButtonType.OK) {\r\n AlunoModel alunoModel = tabelaAluno.getItems().get(tabelaAluno.getSelectionModel().getSelectedIndex());\r\n\r\n if (AlunoDAO.executeUpdates(alunoModel, AlunoDAO.DELETE)) {\r\n tabelaAluno.getItems().remove(tabelaAluno.getSelectionModel().getSelectedIndex());\r\n alert(\"Excluido com sucesso!\");\r\n desabilitarCampos();\r\n } else {\r\n alert(\"Não foi possivel excluir\");\r\n }\r\n }\r\n }",
"@Override\n public void clickPositive() {\n meetingManager.undoConfirm(chosenTrade, chosenTrader);\n Toast.makeText(this, \"Successfully undo confirm\", Toast.LENGTH_SHORT).show();\n viewList();\n\n }",
"@Override\r\n\tpublic void excluir(int id) throws Exception {\n\t\t\r\n\t}",
"@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\ttry {\n\t\t\t\t\tmyDataBase.delete(pnm, null, null);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t}\n\t\t\t\tTBDispContacts.items.clear();\n\t\t\t\tfinish();\n\t\t\t}",
"@Override\n public void onClick(ClickEvent event) {\n onRemoveAction();\n }",
"public void supprimerJoueur() {\n cercle.setStroke(Color.TRANSPARENT);\n isVisible = false;\n }",
"@Override\n public void onClick(View v) {\n ((CreateDocketActivityPart2) activity).deleteSpareParts(pos);\n }",
"@FXML\n void removeAssociatedPart(ActionEvent event) {\n\n Part selectedPart = assocPartTableView.getSelectionModel().getSelectedItem();\n\n if (selectedPart == null) {\n AlartMessage.displayAlertAdd(6);\n } else {\n\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION);\n alert.setTitle(\"Alert\");\n alert.setContentText(\"Are you sure you want to remove the selected part?\");\n Optional<ButtonType> result = alert.showAndWait();\n\n if (result.isPresent() && result.get() == ButtonType.OK) {\n assocParts.remove(selectedPart);\n assocPartTableView.setItems(assocParts);\n }\n }\n }",
"public void Remove_button() {\n\t\tProduct product = (Product) lsvProduct.getSelectionModel().getSelectedItem();\n\t\tif (product!=null) {\n\t\t\tint ind = lsvProduct.getSelectionModel().getSelectedIndex();\n\t\t\tcart.removeProduct(product);\n\t\t\tcart.removePrice(ind);\n\t\t\tcart.removeUnit(ind);\n\t\t}\n\t\tthis.defaultSetup();\n\t}",
"private void buttonToDeleteMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_buttonToDeleteMouseClicked\n ActivityService activityService = new ActivityService();\n activityService\n .setId(this.id)\n .setUser(this.dashboard.user);\n try {\n activityService.delete();\n this.setVisible(false);\n this.dashboard.refreshUI();\n }catch (Exception err) {\n this.alert.showMessageDialog(null, \"gagal menghapus data\");\n }\n }",
"@FXML void onActionModifyProductRemovePart(ActionEvent event) {\n Part selectedPart = associatedPartTableView.getSelectionModel().getSelectedItem();\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION, \"Do you want to delete this part?\");\n Optional<ButtonType> result = alert.showAndWait();\n if(result.isPresent() && result.get() == ButtonType.OK) {\n tmpAssociatedParts.remove(selectedPart);\n }\n }",
"private void borrarAeropuertoMenuActionPerformed(ActionEvent evt) {\n if (tblAeropuertos.getSelectedRow() != -1) {\n\n int eleccion = JOptionPane.showConfirmDialog(this, \"Quieres borrar el aeropuerto?\", \"Confirmacion\", JOptionPane.YES_NO_OPTION);\n\n if (eleccion == JOptionPane.YES_OPTION) {\n int fila = tblAeropuertos.getSelectedRow(); //GUARDA QUE FILA FUE SELECCIONADA\n\n int id = (int) tblAeropuertos.getValueAt(fila, 0); //EVALUA LA FILA Y LA COLUMNA, Y COMO LA FILA ME LA DA LA LINEA ANTERIOR, Y LA COLUMNA ES 0, YA QUE ESTAMOS EVALUANDO EL ID\n Aeropuerto aeropuerto = buscarAeropuerto(id);\n\n VariablesGlobales.aeropuertos.remove(aeropuerto);\n\n try {\n MetodosSueltos.actualizarFichero();\n\n } catch (IOException ex) {\n Logger.getLogger(Principal.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n if (rdbPrivado.isSelected()) {\n cargarDatos(PRIVADO, txtFiltroNombre.getText());\n\n } else {\n cargarDatos(PUBLICO, txtFiltroNombre.getText());\n }\n }\n\n } else {\n JOptionPane.showMessageDialog(this, \"No hay filas seleccionadas\", \"error\", JOptionPane.ERROR_MESSAGE);\n }\n }",
"private void delete() {\n\t\tComponents.questionDialog().message(\"Are you sure?\").callback(answeredYes -> {\n\n\t\t\t// if confirmed, delete the current product PropertyBox\n\t\t\tdatastore.delete(TARGET, viewForm.getValue());\n\t\t\t// Notify the user\n\t\t\tNotification.show(\"Product deleted\", Type.TRAY_NOTIFICATION);\n\n\t\t\t// navigate back\n\t\t\tViewNavigator.require().navigateBack();\n\n\t\t}).open();\n\t}",
"@FXML\n public void excluiCidade(){\n\t\tCidade sel = tblCidade.getSelectionModel().getSelectedItem();\n\t\t\n \tif(sel!=null){\n \t\tif(Mensagens.msgExcluir()){\n \t\t\tsel.exclui(conn);\n \t\t\tattTblCidade();\n \t\t\tlimpaCidade();\n \t\t\tMensagens.msgInformacao(\"Sucesso\", \"Cidade excluída com êxito\");\n \t\t}else\n \t\t\tMensagens.msgInformacao(\"Cancelado\", \"Cidade não excluída\");\n \t}else\n \t\tMensagens.msgErro(\"FALHA\", \"Selecione uma Cidade\");\n }",
"@Override\n\tpublic void delete(Unidade obj) {\n\n\t}",
"public void borrarZonaObjetivoMovimiento() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tdeleteall();\n\t\t\t}",
"public void deleteLUC() {\r\n/* 135 */ this._has_LUC = false;\r\n/* */ }",
"public void deletar() {\n if(Sessao.isConfirm()){\n Usuario use = new Usuario();\n use.setId(Sessao.getId());\n Delete_Banco del = new Delete_Banco();\n del.Excluir_Usuario(use);\n this.setVisible(false);\n Sessao.setId(0);\n tela_Principal prin = Sessao.getPrin();\n prin.atualizar_Tela();\n }\n }",
"public void delLift(){\n //https://stackoverflow.com/questions/36747369/how-to-show-a-pop-up-in-android-studio-to-confirm-an-order\n AlertDialog.Builder builder = new AlertDialog.Builder(SetsPage.this);\n builder.setCancelable(true);\n builder.setTitle(\"Confirm Delete\");\n builder.setMessage(\"Are you sure you want to delete this lift?\");\n builder.setPositiveButton(\"Confirm Delete\",\n new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n lift.setId(lift.getId()*-1);\n Intent intent=new Intent(SetsPage.this, LiftsPage.class);\n intent.putExtra(\"lift\", lift);\n setResult(Activity.RESULT_OK, intent);\n finish();\n }\n });\n builder.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n }\n });\n\n AlertDialog dialog = builder.create();\n dialog.show();\n }",
"@FXML\n private void setRemoveButton() {\n Coach selectedRow = coachesTable.getSelectionModel().getSelectedItem();\n try {\n Connection conn = DatabaseHandler.getInstance().getConnection();\n try (Statement st = conn.createStatement()) {\n st.execute(\"delete from szkolka.uzytkownik where id_u=\" + selectedRow.getId() + \";\");\n coachesTable.getItems().remove(coachesTable.getSelectionModel().getSelectedItem());\n removeButton.setDisable(true);\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"@Override\n public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {\n Cursor cursor = (Cursor) eventListview.getItemAtPosition(position);\n String EventoDelete = cursor.getString(cursor.getColumnIndexOrThrow(\"nomEvent\"));\n dbHelper.deleteEvent(EventoDelete);\n Toast.makeText(EventListActivity.this, \"Deleted \"+parent.getItemAtPosition(position).toString(), Toast.LENGTH_SHORT).show();\n DisplayEventListView();\n dataAdapter2.notifyDataSetChanged();\n return false;\n }",
"@Override\n public boolean delete(Revue objet) {\n return false;\n }",
"@Override\n public void onClickButtonCancel(Object roomToCancel) {\n // durante il caricamento della stanza il giocatore annulla il tentativo di creazione stanza\n String room =(String) roomToCancel;\n\n DatabaseReference roomToDelete = firebaseDatabase.getReference(ROOMS_NODE).child(room);\n\n roomToDelete.removeValue( new DatabaseReference.CompletionListener() {\n @Override\n public void onComplete(@Nullable DatabaseError error, @NonNull DatabaseReference ref) {\n loadingDialog.dismissDialog();\n dialogCodeRoom.dismiss();\n }\n });\n\n }",
"@Override\n\tpublic void excluir(Cliente o) {\n\t\t\n\t}",
"@Override\n public void onClick(View v) {\n long sid = allListOkLast.get(position).getId();\n Query<GpsPointDetailData> build = db.getGpsPointDetailDao().queryBuilder().where(GpsPointDetailDao.Properties.Id.eq(sid)).build();\n db.deleteGpsPointDetailData(sid);\n adapter.removeItem(position);\n }",
"public void erroExcluir(){\n JOptionPane.showMessageDialog(null, \"Erro ao excluir projeto!\", null, \n\t\t\t\tJOptionPane.ERROR_MESSAGE);\n\t\tjanela.dispose();\n }",
"public void eliminarManoObra(ActionEvent actionEvent) {\r\n manoobraDao manobraDao = new manoobraDaoImpl();\r\n String msg;\r\n if (manobraDao.eliminarManoObra(this.manoobra.getCodigoManob())) {\r\n msg = \"Mano de Obra eliminada correctamente\";\r\n FacesMessage message1 = new FacesMessage(FacesMessage.SEVERITY_INFO, msg, null);\r\n FacesContext.getCurrentInstance().addMessage(null, message1);\r\n } else {\r\n msg = \"No se elimino la Mano de Obra\";\r\n FacesMessage message2 = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, null);\r\n FacesContext.getCurrentInstance().addMessage(null, message2);\r\n }\r\n \r\n }",
"@Override\n public void onClick(View view) {\n DialogUtil.showInfoDialog(CJ_BXBQ_XCKP_edit.this, \"确认删除?\", \"确定\" , new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n imgs.remove(imgkey);\n removeImage(v, imgItemWidth, 0);\n }\n });\n }",
"@Override\n\t\t\t\tpublic void onClick(ClickEvent event) {\n\t\t\t\t\tint removeIndex = listdir.indexOf(rowb);\n\t\t\t\t\tlistdir.remove(removeIndex);\n\t\t\t\t\tgetView().getDireccion().removeRow(removeIndex + 1);\n\t\t\t\t}",
"public void onClick(DialogInterface arg0, int arg1) { \n\n if (db.getBreadcrumbsCount() > 0) {\n\n \tdb.deleteAllBreadcrumbs();\n \t map.clear();}\n }",
"@Override\n public boolean onLongClick(View v) {\n AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(context);\n\n // set title\n\n // set dialog message\n alertDialogBuilder\n .setMessage(\"Do you want to delete this folder? \")\n .setCancelable(false)\n .setPositiveButton(\"Yes\",new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog,int id) {\n // if this button is clicked, close\n // current activity\n DeleteFolder(videoList.get(getAdapterPosition()).get(\"id\"));\n }\n })\n .setNegativeButton(\"No\",new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog,int id) {\n // if this button is clicked, just close\n // the dialog box and do nothing\n dialog.cancel();\n }\n });\n\n // create alert dialog\n AlertDialog alertDialog = alertDialogBuilder.create();\n\n // show it\n alertDialog.show();\n return false;\n }",
"public void removeDialog(ArrayList<Order> listOrder) {\n\t\tJLabel rmLabelOrder = new JLabel(\"Order's id\");\n\t\trmLabelOrder.setSize(80,40);\n\t\trmLabelOrder.setLocation(100, 50);\n\t\tJTextField rmTextOrder = new JTextField();\n\t\trmTextOrder.setSize(250,40);\n\t\trmTextOrder.setLocation(250, 50);\n\t\tadd(rmLabelOrder);\n\t\tadd(rmTextOrder);\n\t\t\n\t\t// setup field Item for remove dialog\n\t\tJLabel rmLabelItem = new JLabel(\"Item's id\");\n\t\trmLabelItem.setSize(80,40);\n\t\trmLabelItem.setLocation(100, 120);\n\t\tJTextField rmTextItem = new JTextField();\n\t\trmTextItem.setSize(250,40);\n\t\trmTextItem.setLocation(250, 120);\n\t\tadd(rmLabelItem);\n\t\tadd(rmTextItem);\n\t\t\n\t\tokJButton.setSize(100,30);\n\t\tokJButton.setLocation(250,330);\n\t\tokJButton.setFocusPainted(false);\n\t\tadd(okJButton);\n\t\tokJButton.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tsetVisible(false);\n\t\t\t\tif(rmLabelOrder.getText() == null || rmLabelItem == null) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Ban chua nhap thong tin\", \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\tString strIdOrder = rmTextOrder.getText();\n\t\t\t\t\tString strIdItem = rmTextItem.getText();\n\t\t\t\t\tcheckTypeForRemove(strIdOrder, strIdItem);\n\t\t\t\t\t\n\t\t\t\t\tint idOrder = Integer.parseInt(rmTextOrder.getText());\n\t\t\t\t\tint idItem = Integer.parseInt(rmTextItem.getText());\n\t\t\t\t\t\n\t\t\t\t\tcheckIdOrderForRemove(idOrder, listOrder);\n\t\t\t\t\tcheckIdMediaForRemove(idItem, listOrder.get(idOrder -1));\n\t\t\t\t\t\n\t\t\t\t\tlistOrder.get(idOrder -1).removeMedia(idItem);\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Remove Item complete!\", \"Remove Item\", JOptionPane.INFORMATION_MESSAGE);\n\t\t\t\t} catch (Exception e1) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e1.getMessage(), \"Warning\", JOptionPane.WARNING_MESSAGE);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tsetVisible(true);\n\t}",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n if(realiadabusqueda==true){\n for(Cliente cli:listaaux) {\n if(listaCuentas.get(position).getNombreCliente().equals(cli.getNombreCliente())&&\n listaCuentas.get(position).getCantidad()==cli.getCantidad() &&\n listaCuentas.get(position).getFechaconsulta().equals(cli.getFechaconsulta())){\n\n listaaux.remove(cli);\n break;\n }\n\n }\n searchView.setIconified(true);\n\n }else {\n listaCuentas.remove(position);\n }\n // cierro la ventana\n dialog.dismiss();\n // renuevo la vista\n rellenarListview(listaCuentas);\n\n\n\n }",
"private void btnStergeActionPerformed(java.awt.event.ActionEvent evt) { \n if (!model.isEmpty()) {\n Contact c = (Contact) model.getElementAt(ContactList.getSelectedIndex());\n int response = JOptionPane.showConfirmDialog(this, \"Doriti sa stergeti contactul \" + c.getNume() + \" \" + c.getPrenume() + \" ?\", \"Confirmare\", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);\n if (response == JOptionPane.YES_OPTION) {\n model.removeElementAt(ContactList.getSelectedIndex());\n listaContacte.remove(c);\n actualizeazaModel();\n }\n }\n }",
"@FXML\n\t\t \tprivate void BorrarSongfromPlylist() {\n\t\t \t\tList_Song a = new List_Song();\n\t\t \t\tPlaylist select= tablaPlayList.getSelectionModel().getSelectedItem();\n\t\t \t\tSong selected=tablaCancionesPlaylist.getSelectionModel().getSelectedItem();\n\t\t \t\tif ( selected != null && select!=null) {\n\t\t \t\t\ttry {\n\t\t \t\t\t\ta.setSong(selected);\n\t\t \t\t\t\ta.setList(select);\n\t\t \t\t\t\tList_SongDAO b = new List_SongDAO(a);\n\n\t\t \t\t\t\tb.remove_List_Song();\n\t\t \t\t\t\tconfiguraTablaPlaylist();\n\t\t \t\t\t} catch (Exception e) {\n\t\t \t\t\t\tDialog.showError(\"Eliminar cancion de una playlist\", \"Ha surgido un error al borrarla\", \"\");\n\t\t \t\t\t\te.printStackTrace();\n\t\t \t\t\t}\n\t\t \t\t} else {\n\t\t \t\t\tDialog.showWarning(\"Eliminar cancion de una playlist\", \"Selecciona Cancion\", \"\");\n\t\t \t\t}\n\n\t\t \t}",
"@Override\n public void onClick( DialogInterface dialog, int btn ) {\n deleteGM( false );\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\teliminarNota();\n\t\t\t}",
"private void deleteRoutine() {\n String message = \"Are you sure you want to delete this routine\\nfrom your routine collection?\";\n int n = JOptionPane.showConfirmDialog(this, message, \"Warning\", JOptionPane.YES_NO_OPTION);\n if (n == JOptionPane.YES_OPTION) {\n Routine r = list.getSelectedValue();\n\n collection.delete(r);\n listModel.removeElement(r);\n }\n }",
"@Override\n\tpublic void delete(CorsoDiLaurea corso) {\n\t\t\n\t}",
"public void onClick(DialogInterface dialog, int id) {\n realm.beginTransaction();\n RealmResults <Model_reservarSalas> excluirAgendamento = realm.where(Model_reservarSalas.class)\n .equalTo(\"FkSalas_letraBloco\",buscarSalasReservadas.get(position).getFkSalas_letraBloco())\n .equalTo(\"FkSala_numSala\",buscarSalasReservadas.get(position).getFkSala_numSala())\n .equalTo(\"data\",buscarSalasReservadas.get(position).getData())\n .equalTo(\"turno\",buscarSalasReservadas.get(position).getTurno())\n .findAll();\n excluirAgendamento.deleteAllFromRealm();\n realm.commitTransaction();\n onResume();\n Toast.makeText(getContext(), \"Agendamento deletado com sucesso.\", Toast.LENGTH_SHORT).show();\n }",
"private void delete() {\n AltDatabase.getInstance().getAlts().remove(getCurrentAsEditable());\n if (selectedAccountIndex > 0)\n selectedAccountIndex--;\n updateQueried();\n updateButtons();\n }",
"public void darBaja() {\r\n for (int i = 0; i < coleccion.size(); i++) {\r\n if (coleccion.get(i).getUnidades() == 0) {\r\n String resumen = (\"Se ha dado de baja: \\n\" + coleccion.get(i).getTitulo() + \"\\npor falta de ejemplares\");\r\n JOptionPane.showMessageDialog(null, resumen);\r\n coleccion.remove(i);\r\n }\r\n\r\n }\r\n }",
"private void popupRemoveTrap() {\n\n new AlertDialog.Builder(this)\n .setTitle(\"Remove \" + trap.getName())\n .setMessage(\"Do you really want to remove \" + trap.getName() + \"?\")\n .setIcon(android.R.drawable.ic_dialog_alert)\n .setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {\n\n public void onClick(DialogInterface dialog, int whichButton) {\n dialog.dismiss();\n\n Auth.getInstance().removeDeviceTopics(trap.getId(), new Runnable() {\n @Override\n public void run() {\n MqttClient.getInstance().connect();\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n remove = true;\n finish();\n }\n });\n }\n });\n }\n })\n .setNegativeButton(android.R.string.no, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n }\n }).show();\n }",
"@Override\n\t\tpublic boolean onItemLongClick(AdapterView<?> arg0, View arg1,\n\t\t\t\tfinal int arg2, long arg3) {\n\t\t\tBuilder builder=new Builder(Main.this);\n\t\t\tbuilder.setTitle(\"删除\");\n\t\t\tbuilder.setMessage(\"确定删除\");\n\t\t\tbuilder.setPositiveButton(\"确定\", 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\t// TODO Auto-generated method stub\n\t\t\t\t\tdbService.deleteRecord(idList.get(arg2));\n\t\t\t\t\tinitdate(null);\n\t\t\t\t}\n\t\t\t});\n\t\t\tbuilder.setNegativeButton(\"取消\", null);\n\t\t\tbuilder.create().show();\n\t\t\treturn true;\n\t\t}",
"@Override\n public void onItemLongClick(View view, int position) {\n deleteDialog(listChaoCommodities1.get(position).getId(), position, 1);\n }",
"private void removecompanyObj(final int position) {\n //Creating an alert dialog to confirm the deletion\n AlertDialog.Builder builder = new AlertDialog.Builder(context);\n builder.setTitle(\"Are you sure you want to delete this?\");\n\n //if the response is positive in the alert\n builder.setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n\n //removing the item\n companyObjList.remove(position);\n\n //reloading the list\n notifyDataSetChanged();\n }\n });\n\n //if response is negative nothing is being done\n builder.setNegativeButton(\"No\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n\n }\n });\n\n //creating and displaying the alert dialog\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n }",
"public void hapusItem(Item objItem) {\n arrItem.remove(objItem); //buang item\n }",
"public boolean onItemLongClick(final AdapterView<?> arg0, View arg1,\n final int pos, long id) {\n AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);\n builder.setTitle(\"Erase this task?\");\n \n // Set up the buttons, OK deletes from database, NO! does\n // nothing\n builder.setPositiveButton(\"OK\", new\n DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n String title = ((Task) arg0.getItemAtPosition(pos)).name;\n db.deleteTaskByName(title);\n taskListAdapter.notifyDataSetChanged();\n Intent i = new Intent(getApplicationContext(), MainActivity.class);\n startActivityForResult(i, 1);\n }\n });\n builder.setNegativeButton(\"NO!\", new\n DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n }\n });\n builder.show();\n\n return true;\n }",
"@Override\n\tpublic void quitar(Alumno alumno) {\n\t\tcomision.remove(alumno);\n\t}",
"@Override\n\tpublic void deleteClick(int id) {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif(cbElPuesto.getSelectedIndex()!=0) {\n\t\t\t\t\tString eliminar=((String) cbElPuesto.getSelectedItem());\n\t\t\t\t\tSystem.out.println(eliminar);\n\t\t\t\t\tdata.setQuery(\"DELETE FROM TipoPuesto WHERE puesto='\"+eliminar+\"'\");\n\t\t\t\t\tcbElPuesto.removeAllItems();\n\t\t\t\t\tcbEdPuesto.removeAllItems();\n\t\t\t\t\tcbElPuesto.addItem(\"Seleccione un hospital...\");\n\t\t\t\t\tcbEdPuesto.addItem(\"Seleccione un hospital...\");\n\t\t\t\t\tJOptionPane.showMessageDialog(btnEliminar,\"Eliminación exitosa\");\n\t\t\t\t\tregistros=(ResultSet) data.getQuery(\"Select * from TipoPuesto\");\n\t\t\t\t\ttry {\n\t\t\t\t\t\twhile(registros.next()) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tcbElPuesto.addItem(registros.getString(\"puesto\"));\n\t\t\t\t\t\t\tcbEdPuesto.addItem(registros.getString(\"puesto\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\t}else {\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t}",
"public void onClick(DialogInterface dialog, int id) {\n study1.delete(l_name);\n listItems.remove(l_name);\n adapter.notifyDataSetChanged();\n }",
"private void deleteButton(Button b) {\n DefaultListModel m = (DefaultListModel) srcList.getModel();\n int i;\n for (i = 0; i < m.getSize(); ++i) {\n if (m.get(i) == b) {\n break;\n }\n }\n if (i == m.getSize()) {\n m.addElement(b);\n }\n }",
"private void createRowForDeleteAllButton(Composite compo)\n {\n buttonDeleteAll = toolkit.createButton(section, \"Remove All\", SWT.PUSH); //$NON-NLS-1$\n buttonGridData(buttonDeleteAll, SWT.BOTTOM);\n buttonDeleteAll.addSelectionListener(new SelectionListener()\n {\n public void widgetDefaultSelected(SelectionEvent e)\n {\n }\n\n public void widgetSelected(SelectionEvent e)\n {\n // Erase all the list\n tree.getChildren().clear();\n // Refresh\n listFormat.refresh();\n // Remove req id\n deleteReqId();\n controller.removeDocumentType();\n }\n });\n }",
"private void deleteButtonClicked(){\n\t\tif (theDialogClient != null) theDialogClient.dialogFinished(DialogClient.operation.DELETEING);\n\t\tdispose();\n\t}",
"private void showDeleteSuccess() {\n Notification notification = Notification.show(\"Your Advert Has Been Deleted \");\n notification.addThemeVariants(NotificationVariant.LUMO_ERROR);\n UI.getCurrent().getPage().reload();\n }",
"@Override\r\n public void onClick(View v) {\n LogManager.e(\"parentRight item click================\");\r\n closeDeleteBtn();\r\n }",
"private void removeFinalBtn()\n {\n if (finalListModel.size() <= 0)\n JOptionPane.showMessageDialog(null, \"Cannot remove more buttons\");\n else\n if(finalListModel.size() <= order.getSelectedIndex())\n JOptionPane.showMessageDialog(null, \"Sorry, try to pick the previous buttons first \");\n else\n finalListModel.remove(order.getSelectedIndex());\n }",
"@Override\n\t\t\tpublic boolean onItemLongClick(AdapterView<?> arg0, View arg1,\n\t\t\t\t\tfinal int arg2, long arg3) {\n\t\t\t\tnew AlertDialog.Builder(MySave.this)\n\t\t\t\t\t\t.setIcon(R.drawable.ic_action_about)\n\t\t\t\t\t\t.setTitle(\"删除?\")\n\t\t\t\t\t\t.setPositiveButton(\"删除\",\n\t\t\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\t\t\tint which) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\tjob.deleteJob(list.get(arg2).getId());\n\t\t\t\t\t\t\t\t\t\tlist.remove(arg2);\n\t\t\t\t\t\t\t\t\t\tadapter.notifyDataSetChanged();\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.setNegativeButton(\"取消\",\n\t\t\t\t\t\t\t\tnew DialogInterface.OnClickListener() {\n\n\t\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\t\tpublic void onClick(DialogInterface dialog,\n\t\t\t\t\t\t\t\t\t\t\tint which) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}).show();\n\t\t\t\treturn true;\n\t\t\t}",
"public void onClick(DialogInterface dialog, int which) {\n actuallyRemove();\n // startQuery();\n // mListView.requestLayout();\n mRemovePosition = -1;\n mRemoveConfirmDialog = null;\n }",
"@FXML\n void removeAction(ActionEvent event) {\n\n cm.setAutoHide(true);\n\n //Creates menuItems and adds listeners\n MenuItem removeQueue = new MenuItem(\"From queue\");\n removeQueue.setOnAction(this::removeFromQueue);\n MenuItem removeNotes = new MenuItem(\"Notes\");\n removeNotes.setOnAction(this::deleteNotes);\n MenuItem deletePod = new MenuItem(\"Delete podcast\");\n deletePod.setOnAction(this::deletePodcast);\n MenuItem deleteMP3 = new MenuItem(\"Delete MP3 file\");\n deleteMP3.setOnAction(this::deletePodcastMP3);\n\n //Removes all previous options from contextMenu\n cm.getItems().clear();\n\n //Based on the properties of the podcast will determine which options pop-up\n if(podcast.isQueued()){\n cm.getItems().add(removeQueue);\n }\n if(podcast.hasNotes()){\n cm.getItems().add(removeNotes);\n }\n if(podcast.hasNotes() || podcast.isQueued()){\n cm.getItems().add(new SeparatorMenuItem());\n }\n cm.getItems().addAll(deleteMP3, deletePod);\n\n if(!cm.isShowing()) {\n removeBtn.addEventHandler(MouseEvent.MOUSE_CLICKED, mouseEvent -> cm.show(removeBtn, mouseEvent.getScreenX()\n , mouseEvent.getScreenY()));\n }\n }",
"@Override\n public boolean onItemLongClick(AdapterView<?> adapterView, View view, final int position, long l) {\n AlertDialog.Builder ad = new AlertDialog.Builder(ActividadDireccion.this);\n ad.setMessage(\"Está seguro de eliminar la direccion?\")\n .setTitle(\"Confirmación\");\n\n ad.setPositiveButton(\"Si\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n ActividadDireccion.refDireccion\n .child(direcciones.get(position).getKey()).removeValue();\n\n Toast.makeText(ActividadDireccion.this,\n \"Registro borrado!\", Toast.LENGTH_SHORT).show();\n finish();\n startActivity(getIntent());\n }\n });\n ad.setNegativeButton(\"No\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n Toast.makeText(ActividadDireccion.this,\n \"Operación de borrado cancelada!\", Toast.LENGTH_SHORT).show();\n }\n });\n\n ad.show();\n return true;\n }",
"@Override\r\n\tpublic boolean delete(Moteur obj) {\n\t\treturn false;\r\n\t}",
"@Override\n public boolean onItemLongClick(final AdapterView<?> parent, View viewClicked, final int position, long id) {\n AlertDialog.Builder builder = new AlertDialog.Builder(CollectionsActivity.this);\n builder.setMessage(\"Delete this collection?\");\n\n // delete the collection if the user wants it\n builder.setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n // delete the collection\n dbManager.deleteCollectionFromDB((String) parent.getItemAtPosition(position));\n }\n });\n builder.setNegativeButton(\"NO!\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int id) {\n\n }\n });\n\n AlertDialog dialog = builder.create();\n dialog.show();\n\n return true;\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tdelete();\n\t\t\t}",
"public void trouverQuelObjetEstSeletionne(MouseEvent e) {\n\t\tdouble xPrecedent = e.getX();\n\t\tdouble yPrecedent = e.getY();\n\t\t//double xPrecedent =0;\n\t\t//double yPrecedent = 0;\n\t\tif(getObstaclesList().size()>indiceObjetSelectionne) {\n\t\t\twhile(getObstaclesList().get(i).getArea().contains(e.getX(), e.getY())&&getObstaclesList().size()>i&& enClique) {\n\n\n\t\t\t\tinterieur=true;\n\t\t\t\t//System.out.println(\"clic sur un obstacle!!\");\n\t\t\t\tindiceObjetSelectionne =i;\n\t\t\t\ti++;\n\t\t\t\tif(i==getObstaclesList().size()) {\n\n\t\t\t\t\ti=0;\n\t\t\t\t\tenClique= false;\n\t\t\t\t}\n\t\t\t\t//break;\n\n\n\t\t\t}\n\t\t}\n\n\t}"
] |
[
"0.63614005",
"0.62230563",
"0.6168156",
"0.61534417",
"0.60894495",
"0.6011257",
"0.60071146",
"0.60018075",
"0.5998361",
"0.5990935",
"0.594002",
"0.59389615",
"0.5934483",
"0.58806854",
"0.58800685",
"0.58753335",
"0.5874021",
"0.584795",
"0.5825284",
"0.5818145",
"0.58106595",
"0.5744428",
"0.5691475",
"0.5689427",
"0.56821185",
"0.5680714",
"0.567954",
"0.5679394",
"0.56788045",
"0.56773067",
"0.5677233",
"0.5673419",
"0.56625736",
"0.56610304",
"0.56273764",
"0.56260365",
"0.5617794",
"0.5614386",
"0.5587839",
"0.55823994",
"0.55744845",
"0.55739826",
"0.5569696",
"0.55678344",
"0.5564898",
"0.5560415",
"0.55447",
"0.5538363",
"0.5537634",
"0.55346096",
"0.5532408",
"0.55231315",
"0.5520198",
"0.55187607",
"0.55129874",
"0.5496365",
"0.5490997",
"0.5489469",
"0.54836404",
"0.5483028",
"0.5481197",
"0.54801476",
"0.5477427",
"0.54725105",
"0.5456651",
"0.5444556",
"0.54364425",
"0.54333365",
"0.5431994",
"0.542913",
"0.5428345",
"0.54278904",
"0.5426918",
"0.54193825",
"0.5416391",
"0.5414716",
"0.5413296",
"0.5412864",
"0.5408578",
"0.54020745",
"0.5399158",
"0.5397987",
"0.5397477",
"0.5395735",
"0.539538",
"0.5393477",
"0.53926116",
"0.5390639",
"0.5388315",
"0.53874004",
"0.53852755",
"0.53835106",
"0.5378791",
"0.5373868",
"0.53716195",
"0.5370615",
"0.5370316",
"0.536974",
"0.5367835",
"0.53649145"
] |
0.571891
|
22
|
metoda koja radi posao
|
@Override
protected void doFilterInternal(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, FilterChain filterChain) throws ServletException, IOException {
String header = httpServletRequest.getHeader(jwtConfig.getHeader());
//if(header == null || !header.startsWith(jwtConfig.getPrefix())) {
// filterChain.doFilter(httpServletRequest, httpServletResponse); // If not valid, go to the next filter.
// return;
// }
try{
String token = header.replace(jwtConfig.getPrefix(), "");
String username = jwtUtils.extractUsername(token);
System.out.println(username);
if (username != null && SecurityContextHolder.getContext().getAuthentication() == null) {
if (jwtUtils.validateToken(token)) {
UsernamePasswordAuthenticationToken usernamePasswordAuthenticationToken = new UsernamePasswordAuthenticationToken(username, null, null);
usernamePasswordAuthenticationToken.setDetails(token);
SecurityContextHolder.getContext().setAuthentication(usernamePasswordAuthenticationToken);
System.out.println(username);
}
}
}catch(Exception e){
SecurityContextHolder.clearContext();
}
filterChain.doFilter(httpServletRequest, httpServletResponse);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"Radian createRadian();",
"void getRadiationlevel();",
"public Unit<Angle> radian() {return radian;}",
"public void mostrarPregunta(int indicePregunta){\n etiquetaTituloPregunta.setText(preguntas.get(indicePregunta).getTitulo());\n\n //Llenamos con el modelo los radio buttons\n for (int i = 0; i < radios.size(); i++) {\n radios.get(i).setText(preguntas.get(indicePregunta).getOpciones()[i].getTitulo());\n }\n\n}",
"public double getRadius(){return radius;}",
"public int getRadius() { return radius; }",
"public float perimetro(){\r\n return 2*(float)Math.PI*radio;\r\n }",
"public void circulo(){\n JOptionPane.showMessageDialog(null,\"Bienvenido\\nA continuacion sabra el Area y Perimetro de un Circulo\");\n texto = JOptionPane.showInputDialog(\"Ingrese el radio\");\n l = Double.parseDouble(texto);\n if (l<=0){\n JOptionPane.showMessageDialog(null,\"Valor Invalido\\nA continuacion ingrese un valor positivo\");\n texto = JOptionPane.showInputDialog(\"Ingrese el radio\");\n l = Double.parseDouble(texto);\n }\n a = 3.1416*(l*l);\n p = 3.1416*(l*2);\n JOptionPane.showMessageDialog(null,\"El Area es de \"+a+\" u^2 y un Perimetro un de \"+p+\" u\");\n \n }",
"public double getRadius(){\n return radius;\n }",
"public double getRadius(){\n return r;\n }",
"double getRadius();",
"int getRadius();",
"public Circulo (double r) {\n radio = r;\n }",
"public double getRadius() {\n return radius; \n }",
"public double getradio() {\n return radio;\n }",
"public double getRadius(){\r\n return radius;\r\n }",
"public String getRad() {\n\t\treturn rad;\r\n\t}",
"long getRadius();",
"public int getRadio() {\n return radio;\n }",
"public double getRadio() {\n return radio;\n }",
"public double getRadio() {\n return radio;\n }",
"public double getRadius() { return radius; }",
"public abstract float getRadius();",
"public abstract float getRadius();",
"public int getRadius()\n {\n return this.radius;\n }",
"public int getRadius() {\n return radius;\n }",
"@Override\n public double calculaTributos() {\n // TODO Auto-generated method stub\n return 10;\n }",
"public double getRadius()\r\n {\r\n return radius;\r\n }",
"public float getRadius()\n {\n return _radius;\n }",
"void setemisoraRadio(){\n emisoraRadio = !emisoraRadio;\n }",
"public Cartesiana polar_cartesiano (Polar p){\n \n return polar_cartesiano (p.getRadio(),p.getAngulo()); // implementar procedimiento correcto\n}",
"public double getRadius() {\n return radius;\n }",
"private JRadioButton getDistanceBufferRadioButton() {\n\t\tif (distanceBufferRadioButton == null) {\n\t\t\tdistanceBufferRadioButton = new JRadioButton();\n\t\t\tdistanceBufferRadioButton.setText(PluginServices.getText(this,\n\t\t\t\t\t\"Area_de_influencia_definida_por_una_distancia\") + \":\");\n\t\t\tdistanceBufferRadioButton.setBounds(new java.awt.Rectangle(2, 10,\n\t\t\t\t\t303, 24));\n\t\t\tdistanceBufferRadioButton\n\t\t\t\t\t.addActionListener(new java.awt.event.ActionListener() {\n\t\t\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\t\t\tconstantDistanceSelected();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t}\n\t\treturn distanceBufferRadioButton;\n\t}",
"public float getRadius() {\n return radius;\n }",
"public Circle(double radio) {\n\n super(\"circle\");\n this.radio=radio;\n }",
"public int getRadius()\n\t{\n\t\treturn radius;\n\t}",
"public double getRadius(){\n\t\treturn radius;\n\t}",
"public double getCircleRadius();",
"boolean getemisoraRadio(){\n return emisoraRadio;\n }",
"public void generarCuestionario() {\n \n try{\n ValidarOpcionSeleccionada.validar (radios);\n }catch (OpcionNoSeleccionadaException e) {\n etiquetaRespuesta.setText(\"Debes selecionar una opcion\");\n}\n \n\n //Con el modelo construido debemos representar nuestra pregunta\n //y mostrarala\n //Primero creamos las opciones\n Opcion op1 = new Opcion();\n op1.setTitulo(\"Inglaterra\");\n op1.setCorrecta(false);\n\n Opcion op2 = new Opcion();\n op2.setTitulo(\"México\");\n op2.setCorrecta(false);\n\n Opcion op3 = new Opcion();\n op3.setTitulo(\"Italia\");\n op3.setCorrecta(false);\n\n Opcion op4 = new Opcion();\n op4.setTitulo(\"Francia\");\n op4.setCorrecta(true);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones = {op1, op2, op3, op4};\n Pregunta p1 = new Pregunta();\n p1.setTitulo(\"¿Que país tiene más Premios Nobel de Literatura?\");\n p1.setOpciones(opciones);\n\n \n //opciones de la pregunta 2\n Opcion op21 = new Opcion();\n op21.setTitulo(\"Ares\");\n op21.setCorrecta(false);\n\n Opcion op22 = new Opcion();\n op22.setTitulo(\"Prometeo\");\n op22.setCorrecta(false);\n\n Opcion op23 = new Opcion();\n op23.setTitulo(\"Poseidón\");\n op23.setCorrecta(true);\n\n Opcion op24 = new Opcion();\n op24.setTitulo(\"Hefesto\");\n op24.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones2 = {op21, op22, op23, op24};\n Pregunta p2 = new Pregunta();\n p2.setTitulo(\"¿Quién es el padre del cíclope Polifemo según la mitología griega?\");\n p2.setOpciones(opciones2);\n \n //opciones de la pregunta 3\n Opcion op31 = new Opcion();\n op31.setTitulo(\"J.K Rowling\");\n op31.setCorrecta(false);\n\n Opcion op32 = new Opcion();\n op32.setTitulo(\"Emily Bronte\");\n op32.setCorrecta(false);\n\n Opcion op33 = new Opcion();\n op33.setTitulo(\"Stephen King\");\n op33.setCorrecta(false);\n\n Opcion op34 = new Opcion();\n op34.setTitulo(\"Jane Austen\");\n op34.setCorrecta(true);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones3 = {op31, op32, op33, op34};\n Pregunta p3 = new Pregunta();\n p3.setTitulo(\"¿Quien escribio el libro Orgullo y Prejuicio?\");\n p3.setOpciones(opciones3);\n \n //Opciones pregunta 4\n Opcion op41 = new Opcion();\n op41.setTitulo(\"El Cáliz de Fuego\");\n op41.setCorrecta(true);\n\n Opcion op42 = new Opcion();\n op42.setTitulo(\"Festin de Cuervos\");\n op42.setCorrecta(false);\n\n Opcion op43 = new Opcion();\n op43.setTitulo(\"El prisionero de Azkaban\");\n op43.setCorrecta(false);\n\n Opcion op44 = new Opcion();\n op44.setTitulo(\"Principe Mecánico\");\n op44.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones4 = {op41, op42, op43, op44};\n Pregunta p4 = new Pregunta();\n p4.setTitulo(\"¿Como se llama el cuarto libro de Harry Potter?\");\n p4.setOpciones(opciones4);\n \n //Opciones pregunta 5\n Opcion op51 = new Opcion();\n op51.setTitulo(\"Dunkirk\");\n op51.setCorrecta(false);\n\n Opcion op52 = new Opcion();\n op52.setTitulo(\"Los Miserables\");\n op52.setCorrecta(true);\n\n Opcion op53 = new Opcion();\n op53.setTitulo(\"Interestelar\");\n op53.setCorrecta(false);\n\n Opcion op54 = new Opcion();\n op54.setTitulo(\"Batman: El caballero de la noche\");\n op54.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones5= {op51, op52, op53, op54};\n Pregunta p5 = new Pregunta();\n p5.setTitulo(\"¿Que película NO dirigio Chistopher Nolan?\");\n p5.setOpciones(opciones5);\n \n //Opciones pregunta 6\n Opcion op61 = new Opcion();\n op61.setTitulo(\"Joe Greene\");\n op61.setCorrecta(false);\n\n Opcion op62 = new Opcion();\n op62.setTitulo(\"Tom Brady\");\n op62.setCorrecta(false);\n\n Opcion op63 = new Opcion();\n op63.setTitulo(\"Joe Montana\");\n op63.setCorrecta(false);\n\n Opcion op64 = new Opcion();\n op64.setTitulo(\"Peyton Manning\");\n op64.setCorrecta(true);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones6 = {op61, op62, op63, op64};\n Pregunta p6 = new Pregunta();\n p6.setTitulo(\"¿Que jugador ha ganado más MVP en la NFL?\");\n p6.setOpciones(opciones6);\n \n //Opciones pregunta 7\n Opcion op71 = new Opcion();\n op71.setTitulo(\"Bayern Munich\");\n op71.setCorrecta(false);\n\n Opcion op72 = new Opcion();\n op72.setTitulo(\"Real Madrid\");\n op72.setCorrecta(true);\n\n Opcion op73 = new Opcion();\n op73.setTitulo(\"Barcelona\");\n op73.setCorrecta(false);\n\n Opcion op74 = new Opcion();\n op74.setTitulo(\"Manchester United\");\n op74.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones7 = {op71, op72, op73, op74};\n Pregunta p7 = new Pregunta();\n p7.setTitulo(\"¿Que equipo ha ganado más Champions League en la hsitoria?\");\n p7.setOpciones(opciones7);\n \n \n //Opciones pregunta 8\n \n Opcion op81 = new Opcion();\n op81.setTitulo(\"Tratado de Versalles\");\n op81.setCorrecta(true);\n\n Opcion op82 = new Opcion();\n op82.setTitulo(\"Tratado de Granada\");\n op82.setCorrecta(false);\n\n Opcion op83 = new Opcion();\n op83.setTitulo(\"Tratado de Lyon\");\n op83.setCorrecta(false);\n\n Opcion op84 = new Opcion();\n op84.setTitulo(\"Tratado de Londres\");\n op84.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones8 = {op81, op82, op83, op84};\n Pregunta p8 = new Pregunta();\n p8.setTitulo(\"¿Como se llamo el tratado con el que se le dio fin a la PGM?\");\n p8.setOpciones(opciones8);\n \n //opciones pregunta 9 \n \n Opcion op91 = new Opcion();\n op91.setTitulo(\"Hermanos Lumiere\");\n op91.setCorrecta(false);\n\n Opcion op92 = new Opcion();\n op92.setTitulo(\"Steven Spielberg\");\n op92.setCorrecta(false);\n\n Opcion op93 = new Opcion();\n op93.setTitulo(\"Thomas Harper\");\n op93.setCorrecta(false);\n\n Opcion op94 = new Opcion();\n op94.setTitulo(\"George Mellies\");\n op94.setCorrecta(true);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones9 = {op91, op92, op93, op94};\n Pregunta p9 = new Pregunta();\n p9.setTitulo(\"¿A quien se le considera como el mago del cine?\");\n p9.setOpciones(opciones9);\n \n //Opciones pregunta 10\n Opcion op101 = new Opcion();\n op101.setTitulo(\"Miguel Ángel\");\n op101.setCorrecta(false);\n\n Opcion op102 = new Opcion();\n op102.setTitulo(\"Rafael Sanzio\");\n op102.setCorrecta(false);\n\n Opcion op103 = new Opcion();\n op103.setTitulo(\"Leonardo Da Vinci\");\n op103.setCorrecta(true);\n\n Opcion op104 = new Opcion();\n op104.setTitulo(\"Bernini\");\n op104.setCorrecta(false);\n\n //Sigue el arreglo de opcion\n Opcion[] opciones10 = {op101, op102, op103, op104};\n Pregunta p10 = new Pregunta();\n p10.setTitulo(\"¿Que artífice NO participo en la construcción de la Basílica de San Pedro?\");\n p10.setOpciones(opciones10);\n \n \n \n //Pregunta p11 =new Pregunta();\n System.out.println(\"Fin de Cuestionario \");\n \n \n \n //Vamos a adaptar el cuestioanario a lo que ya teniamos\n Cuestionario c = new Cuestionario();\n //Creamos el list de preguntas\n \n \n \n //Se agrega a este list las preguntas que tenemos\n preguntas.add(p1);\n preguntas.add(p2);\n preguntas.add(p3);\n preguntas.add(p4);\n preguntas.add(p5);\n preguntas.add(p6);\n preguntas.add(p7);\n preguntas.add(p8);\n preguntas.add(p9);\n preguntas.add(p10);\n // preguntas.add(p11);\n //A este list le vamos a proporcionar el valor del correspondiente\n //cuestioanrio\n \n c.setPreguntas(preguntas);\n //Ajustamos el titulo de la primera pregunta\n mostrarPregunta (preguntaActual); \n//Primero ajustamos el titulo de la primer pregunta en la etiqueta de la pregunta\ntry{\n int opcion= Integer.parseInt (etiquetaRespuesta.getText());\n ValidarNumeroPreguntas.validar (opcion);\n }catch (NumberFormatException e) {\n \n}\n \n }",
"public int getRadius() {\n return radius_;\n }",
"public double getRadius() {\n return radius;\n }",
"public double getRadius() {\n return radius;\n }",
"public double getRadius() {\n return radius;\n }",
"public double getRadius() {\n return radius;\n }",
"public double getRadius() {\n return radius;\n }",
"public double getRadius() {\n return radius;\n }",
"public double getRadius() {\n return radius;\n }",
"public double getRadius() {\n return radius;\n }",
"public double getRadius() {\n return radius;\n }",
"public double getRadius() {\n return radius;\n }",
"@Override\r\n\tpublic double getRadius() {\n\t\treturn 0;\r\n\t}",
"public void printRad(){\n System.out.println(\"The radius of the circle is: \" + getRadius());\n }",
"public int getRadius_() {\r\n\t\treturn radius_;\r\n\t}",
"public int getRadius() {\r\n\t\treturn this.radius;\r\n\t}",
"public int radius()\n\t{\n\t\treturn radius;\n\t}",
"public void setRadius(int radius);",
"public double getRadius()\r\n\t{\r\n\t\treturn radius;\r\n\t}",
"public double getRadius()\n {\n return m_Radius;\n }",
"public Circle(double r)\n {\n setRad(r);\n\n }",
"public float getRad() {\n\t\treturn rad;\n\t}",
"public double getRadius() {\n\t\treturn r;\n\t}",
"public double getRadius() { return radius.get(); }",
"public int getRadius() {\n return radius_;\n }",
"public int getRadius() {\n\t\treturn radius;\n\t}",
"public Double getRadius() {\n return this.radius;\n }",
"public void setRadio(float radio){\r\n if(radio<0){\r\n this.radio=Math.abs(radio);\r\n }else{\r\n this.radio=radio;\r\n }\r\n \r\n }",
"public String getRadius()\n\t{\n\t\treturn radius.getText();\n\t}",
"private double getRadius() {\n\t\treturn Math.min(getWidth(), getHeight()) / 2.0 * RADIUS_MODIFIER;\n\t}",
"public void onRadioClick(View view)\n {\n boolean checked = ((RadioButton) view).isChecked();\n switch (view.getId())\n {\n case R.id.piscesRadio:\n if(checked) {\n\n body.setText(info.pisBody());\n water.setImageResource(R.mipmap.pisces_sign);\n\n\n\n cancerButton.setChecked(false);\n scorpioButton.setChecked(false);\n\n Toast.makeText(WaterActivity.this,\n \"Erm\", Toast.LENGTH_SHORT).show();\n\n\n\n\n }\n else\n {\n\n body.setEnabled(false);\n\n\n }\n break;\n\n case R.id.cancerRadio:\n if(checked) {\n\n body.setText(info.cancerBody());\n water.setImageResource(R.mipmap.cancer_sign);\n\n\n\n piscesButton.setChecked(false);\n scorpioButton.setChecked(false);\n\n Toast.makeText(WaterActivity.this,\n \"Meh\", Toast.LENGTH_SHORT).show();\n\n }\n else\n {\n\n body.setEnabled(false);\n\n\n }\n break;\n case R.id.scorpioRadio:\n if(checked) {\n\n body.setText(info.scorpioBody());\n water.setImageResource(R.mipmap.scorpio_sign);\n\n\n\n piscesButton.setChecked(false);\n cancerButton.setChecked(false);\n\n Toast.makeText(WaterActivity.this,\n \"Yikes\", Toast.LENGTH_SHORT).show();\n\n }\n else\n {\n\n body.setEnabled(false);\n\n\n }\n break;\n\n\n\n\n }\n\n\n }",
"public void onClick(View v) {\n\t\t\t\tint selectedId = radioGroup.getCheckedRadioButtonId();\n\t \n\t\t\t\t// find the radiobutton by returned id\n\t\t\t radioButton = (RadioButton) findViewById(selectedId);\n\t\t\t if(selectedId ==R.id.radio3){\n\t\t\t \t\n\t\t\t \tint myNum = Integer.parseInt(MainActivity.points);\n\t\t\t \tmyNum += 5;\n\t\t\t \tMainActivity.points = String.valueOf(myNum);\n\t\t\t \tIntent intent=new Intent(Test.this,Star.class);\n\t\t\t \tstartActivity(intent);\n\t\t\t \t\n\t\t\t \t\tToast.makeText(Test.this,\n\t\t\t \t\t\"Correct Answer\", Toast.LENGTH_SHORT).show();\n\t\t\t \t\t}\n\t\t\t else{\n\t\t\t \tToast.makeText(Test.this,\n\t\t\t\t \t\t\"Try Again\", Toast.LENGTH_SHORT).show();\n\t\t\t }\n\t\t\t }",
"public String toString(){\n\n return \"circle [radio =\"+ radius + \", color =\" + color +\" ]\";\n }",
"public double getRadius() {\r\n\t\treturn _radius;\r\n\t}",
"public AreaPoligonoRegular(int numeroDeLados, float radio) {\n super(\"polígono regular de \" + numeroDeLados + \" lados\");\n this.numeroDeLados = numeroDeLados;\n this.radio = radio;\n }",
"public void zmiana_rozmiaru_okna()\n {\n b.dostosowanie_rozmiaru(getWidth(),getHeight());\n w.dostosowanie_rozmiaru(getWidth(),getHeight());\n\n for (Pilka np : p) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n for (Naboj np : n) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n for (Bonus np : bon) {\n np.dostosowanie_rozmiaru(getWidth(),getHeight());\n }\n\n }",
"public double getRadius() {\r\n\t\treturn radius;\r\n\t}",
"@Override\r\n public String toString() {\r\n return \"Circulo{\" + \"radio=\" + radio + '}';\r\n }",
"public void pesanNow(View view) {\n GRUP = (RadioGroup) findViewById(R.id.radioGroup);\n // bila radio button terpilih pada radio untuk dine in :\n if (GRUP.getCheckedRadioButtonId()== R.id.rbDineIn){\n Toast.makeText(this, \"Dine In terpilih\", Toast.LENGTH_SHORT).show();\n // pindah ke activity DineIn\n startActivity(new Intent(this, DineIn.class));\n\n }\n // bila terpilih selain dine in\n else {\n Toast.makeText(this, \"Take Away terpilih\", Toast.LENGTH_SHORT).show();\n // pindah ke activity Take Away\n startActivity(new Intent(this, TakeAway.class));\n }\n\n }",
"public void setRaio(double raio) {\n this.raio = raio;\n }",
"private JRadioButton getJRadioButtonButtZero() {\r\n\t\tif (buttZero == null) {\r\n\t\t\tbuttZero = new JRadioButton();\r\n\t\t\tbuttZero.setText(\"Zero\");\r\n\t\t\tbuttZero.setToolTipText(\"filling borders with zeros\");\r\n\t\t\tbuttZero.addActionListener(this);\r\n\t\t\tbuttZero.setActionCommand(\"parameter\");\r\n\t\t}\r\n\t\treturn buttZero;\r\n\t}",
"private void setCurrentRadius(double r){\n\t\t\n\t\t_currentRadius = r;\n\t\t\n\t}",
"public void setRadius(int r) {\n this.radius = r;\n }",
"double getPerimetro(){\n return 2 * 3.14 * raggio;\n }",
"public int getRadius() {\n return getType().getClaimableRadius();\n }",
"AngleResource inclination();",
"@Override\n public double getRadius() {\n return this.getRenderable().getRadius();\n }",
"@Override\n\tpublic Retorno verMovilesEnRadio(Double coordX, Double coordY, int radio) {\n\t\treturn new Retorno();\n\t}",
"public double getRadius() {\n\t\treturn radius;\n\t}",
"public double getRadius() {\n\t\treturn radius;\n\t}",
"private void calcularDistanciaRecorrer(){\r\n\t\tfloat diferenciax = siguientePunto.x - posicion.x;\r\n\t\tfloat diferenciay = siguientePunto.y - posicion.y;\r\n\t\tdistanciaRecorrer = (float) Math.sqrt(diferenciax*diferenciax+diferenciay*diferenciay);\r\n\t}",
"public Color getRadColor() {\n return radColor;\n }",
"private float calculateRadian(FPointType fptPos, FPointType fptCalculate) {\n // Need to get the radian of the triangle from fptCalculate to fptPos.\n float xDelta = fptPos.x - fptCalculate.x;\n float yDelta = fptPos.y - fptCalculate.y;\n \n float rad = 0.0f;\n if (xDelta == 0.0f) {\n if (yDelta > 0.0f)\n rad = (float)Math.PI / 2;\n else\n rad = ((float)Math.PI * 2) - ((float)Math.PI / 2);\n } else {\n rad = (float)Math.atan(yDelta / xDelta);\n if (xDelta < 0.0f)\n rad += (float)Math.PI;\n }\n \n return rad;\n }",
"public String getRadius() {\n\t\treturn null;\n\t}",
"boolean getestadoRadio(){\n return estadoRadio;\n }",
"public void setRadius( double r ) \r\n { radius = ( r >= 0.0 ? r : 0.0 ); }",
"boolean hasRadius();",
"boolean hasRadius();",
"public float radius() {\n\t\treturn radius;\n\t}",
"private void eventoSemiSumergido(){\n s1.setChecked(false);\n s2.setChecked(true);\n s3.setChecked(false);\n esquema.setImageDrawable(getResources().getDrawable(R.drawable.np2));\n PosicionBarrasReactor.setPosicionActual(PosicionBarrasReactor.SEMI_SUMERGIDO);\n }",
"public void TeleopCode() {\n\t\tMLeft.set(-Controls.joy2.getRawAxis(5)+ 0.06); //(Controls.joy2.getRawAxis5 + 0.06);\n\t}",
"public Nodo getRaiz() {\n return raiz;\n }"
] |
[
"0.67464703",
"0.6308822",
"0.6172513",
"0.6083551",
"0.60184836",
"0.6015545",
"0.5998583",
"0.5994896",
"0.59654546",
"0.59442806",
"0.59142137",
"0.5878964",
"0.58713037",
"0.5850559",
"0.5849663",
"0.58467364",
"0.58326286",
"0.58148104",
"0.5807951",
"0.5791459",
"0.5791459",
"0.57592213",
"0.574449",
"0.574449",
"0.57266253",
"0.57080424",
"0.5691694",
"0.56533414",
"0.56523204",
"0.5632711",
"0.55880725",
"0.5580159",
"0.5579954",
"0.5562567",
"0.5553408",
"0.5538052",
"0.5524677",
"0.55116236",
"0.54895866",
"0.5486927",
"0.548218",
"0.5473906",
"0.5473906",
"0.5473906",
"0.5473906",
"0.5473906",
"0.5473906",
"0.5473906",
"0.5473906",
"0.5473906",
"0.5473906",
"0.54693407",
"0.5466651",
"0.5454695",
"0.54348916",
"0.5432758",
"0.54300064",
"0.5428943",
"0.54278344",
"0.5419733",
"0.54165447",
"0.5404922",
"0.5384429",
"0.537658",
"0.5369997",
"0.5360687",
"0.5352253",
"0.5340303",
"0.53370917",
"0.5331664",
"0.531919",
"0.5312449",
"0.5308068",
"0.52921444",
"0.52780324",
"0.5269203",
"0.52656424",
"0.525955",
"0.5256662",
"0.52499014",
"0.5249711",
"0.5235983",
"0.52339077",
"0.52288646",
"0.5228494",
"0.52264917",
"0.5224527",
"0.5211941",
"0.5211941",
"0.52103585",
"0.52078396",
"0.52008855",
"0.519813",
"0.51937073",
"0.51900905",
"0.5189415",
"0.5189415",
"0.51857597",
"0.5172352",
"0.51705253",
"0.51504844"
] |
0.0
|
-1
|
Configures the visibility of the fields in view mode depending on the user privileges
|
public void setFieldReadAccess() {
if (!AccessManager.canReadPersonnelIdentification())
personnel_nomFilterBox.setVisible(false);
if (!AccessManager.canReadCentreDiagTraitDescription())
cdt_nomFilterBox.setVisible(false);
if (!AccessManager.canReadCandidatureFormationRegionApprobation())
approuveeRegionFilterBox.setVisible(false);
if (!AccessManager.canReadCandidatureFormationGtcApprobation())
approuveeGTCFilterBox.setVisible(false);
if (!AccessManager.canReadDistrictSanteDescription())
districtsante_nomFilterBox.setVisible(false);
if (!AccessManager.isAdmin())
deletedEntityBoxFilterBox.setVisible(false);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setFieldReadAccess() {\n\n\t\tif (!AccessManager.canReadSmsPredefiniDescription())\n\t\t\ttypeFilterBox.setVisible(false);\n\n\t\tif (!AccessManager.canReadSmsPredefiniDescription())\n\t\t\tobjetFilterBox.setVisible(false);\n\n\t\tif (!AccessManager.canReadSmsPredefiniDescription())\n\t\t\tmessageFilterBox.setVisible(false);\n\n\t\tif (!AccessManager.isAdmin())\n\t\t\tdeletedEntityBoxFilterBox.setVisible(false);\n\t}",
"public void setHiddenOrReadOnly() {\n if(getField_type().toLowerCase().matches(\"view|vfunction\")) {\n if(!getType().toLowerCase().matches(\"hidden\")){\n setSaveRequired(\"read\");\n }\n }\n }",
"private void setViews4Display() {\n nameView.setFocusable(false);\n nameView.setClickable(false);\n nameView.setInputType(InputType.TYPE_NULL);\n\n ageView.setFocusable(false);\n ageView.setClickable(false);\n ageView.setInputType(InputType.TYPE_NULL);\n\n phoneView.setFocusable(false);\n phoneView.setClickable(false);\n phoneView.setInputType(InputType.TYPE_NULL);\n\n workView.setFocusable(false);\n workView.setClickable(false);\n workView.setInputType(InputType.TYPE_NULL);\n\n emailView.setFocusable(false);\n emailView.setClickable(false);\n emailView.setInputType(InputType.TYPE_NULL);\n\n save.setVisibility(View.GONE);\n\n if (nameView.getText().toString().equals(\"\"))\n nameView.setVisibility(View.GONE);\n if (ageView.getText().toString().equals(\"\"))\n ageView.setVisibility(View.GONE);\n if (emailView.getText().toString().equals(\"\"))\n emailView.setVisibility(View.GONE);\n if (workView.getText().toString().equals(\"\"))\n workView.setVisibility(View.GONE);\n if (phoneView.getText().toString().equals(\"\"))\n phoneView.setVisibility(View.GONE);\n\n // check if user have past activities\n int childCount = past_activities.getChildCount();\n if (childCount == 1)\n past_activities.setVisibility(View.GONE);\n }",
"private void refreshFieldsVisibility()\n {\n \n }",
"@Override\n public void setVisible(boolean arg0)\n {\n \n }",
"@Override\n public boolean isVisible(Field field) {\n return true;\n }",
"public void setVisible(boolean v) {\n }",
"public static void ShowAdminPreferences() {\n if (Controller.permission.GetUserPermission(\"EditUser\")) {\n ToggleVisibility(UsersPage.adminWindow);\n } else {\n DialogWindow.NoAccessTo(\"Admin options\");\n }\n }",
"private void setViewToUserSwiping () {\n\t\ttextViewRestaurantName.setVisibility(View.VISIBLE);\n\t\ttextViewRestaurantDistance.setVisibility(View.VISIBLE);\n\t\timageButtonRestaurantImage.setVisibility(View.VISIBLE);\n\t\tbuttonAcceptRestaurant.setVisibility(View.VISIBLE);\n\t\tbuttonRejectRestaurant.setVisibility(View.VISIBLE);\n\t\ttextViewNoMoreResults.setVisibility(View.INVISIBLE);\n\t}",
"private void selectFieldsToDisplay()\n\t{\n\t\t_X_A0.setEnabled(true);\n\t\t_Y_A0.setEnabled(true);\n\t\tif ( _downStream == ProjectData.CAMS_NO_DOWNSTREAM || \n\t\t _downStream == ProjectData.LEVER_NO_DOWNSTREAM || \n\t\t _downStream == ProjectData.LEVER_PUSHER_TUGS)\n\t\t{\n\t\t\t_X_d.setEnabled(false);\n\t\t\t_Y_d.setEnabled(false);\n\t\t}\n\t\tif ( _camType == ProjectData.ROLLER_SLIDE || \n\t\t\t _downStream != ProjectData.LEVER_FOUR_JOIN)\n\t\t{\n\t\t\t_X_s.setEnabled(false);\n\t\t\t_Y_s.setEnabled(false);\n\t\t}\n\t\t_ro_min.setEnabled(true);\n\t\t_L3.setEnabled(true);\n\t\tif ( _camProfile != ProjectData.LEVER_DOUBLE_CAM &&\n\t\t\t _camProfile != ProjectData.LEVER_BEAD_CAM &&\n\t\t\t _camProfile != ProjectData.SLIDER_DOUBLE_CAM &&\n\t\t\t _camProfile != ProjectData.SLIDER_BEAD_CAM)\n\t\t{\n\t\t\t_L31.setEnabled(false);\n\t\t}\n\t\tif ( _camType == ProjectData.ROLLER_SLIDE ||\n\t\t\t _camType == ProjectData.ROLLER_LEVER && _downStream == ProjectData.LEVER_NO_DOWNSTREAM)\n\t\t{\n\t\t\t_L3p.setEnabled(false);\n\t\t}\n\t\tif ( _downStream == ProjectData.CAMS_NO_DOWNSTREAM || \n\t\t\t _downStream == ProjectData.LEVER_NO_DOWNSTREAM || \n\t\t\t _downStream == ProjectData.LEVER_PUSHER_TUGS)\n\t\t{\n\t\t\t_L4.setEnabled(false);\n\t\t}\n\t\t/*On L5 easier to use opposite logic.*/\n\t\t_L5.setEnabled(false);\n\t\tif ( _camType == ProjectData.ROLLER_SLIDE && _downStream == ProjectData.CAMS_CRANK \n\t\t\t\t||\n\t\t\t _camType == ProjectData.ROLLER_LEVER && _downStream == ProjectData.LEVER_FOUR_JOIN)\n\t\t{\n\t\t\t_L5.setEnabled(true);\n\t\t}\n\t\t_L1.setEnabled(false);\n\t\t_rR.setEnabled(true);\n\t\t_rG.setEnabled(true);\n\t\t/*On ep easier to use opposite logic.*/\n\t\t_ep.setEnabled(false);\n\t\tif ( _camProfile == ProjectData.SLIDER_DOUBLE_CAM )\n\t\t{\n\t\t\t_ep.setEnabled(true);\n\t\t}\n\t\t/*On y easier to use opposite logic.*/\n\t\t_y.setEnabled(false);\n\t\tif ( _camType == ProjectData.ROLLER_SLIDE || _downStream == ProjectData.LEVER_PUSHER_TUGS)\n\t\t{\n\t\t\t_y.setEnabled(true);\n\t\t}\n\t\tif ( _downStream == ProjectData.LEVER_NO_DOWNSTREAM ||\n\t\t\t _downStream == ProjectData.CAMS_CRANK)\n\t\t{\n\t\t\t_delta.setEnabled(false);\n\t\t}\n\t\tif ( _camProfile != ProjectData.LEVER_DOUBLE_CAM &&\n\t\t\t _camProfile != ProjectData.LEVER_BEAD_CAM )\t\n\t\t{\n\t\t\t_gama.setEnabled(false);\n\t\t}\n\t\t_miu_an_min.setEnabled(true);\n\t\t_miu_ab_min.setEnabled(true);\n\t\t_n.setEnabled(true);\n\t}",
"public void setVisible(boolean val);",
"@Override\n public void setVisible (boolean f)\n { \n }",
"public void showTableFields(final boolean canEdit) {\n addMetadata.showFields(canEdit);\n addMetadata.setVisible(canEdit);\n dispatch.execute(new ListUserMetadataFields(false), new AsyncCallback<ListUserMetadataFieldsResult>() {\n public void onFailure(Throwable caught) {\n GWT.log(\"Error retrieving available list of User Specified Metadata fields\", caught);\n }\n\n public void onSuccess(ListUserMetadataFieldsResult result) {\n availableFields = result.getFieldsSortedByName();\n GWT.log(\"available fields: \" + availableFields);\n if (availableFields.size() > 0) {\n\n dispatch.execute(new GetUserMetadataFields(uri), new AsyncCallback<GetUserMetadataFieldsResult>() {\n public void onFailure(Throwable caught) {\n GWT.log(\"Error retrieving User Specified Information\", caught);\n }\n\n public void onSuccess(GetUserMetadataFieldsResult result) {\n Set<String> predicates = result.getThingsOrderedByName().keySet();\n if (predicates.size() == 0) {\n addNoFields();\n } else {\n for (String predicate : predicates ) {\n String label = result.getThingNames().get(predicate);\n String description = getDescription(predicate);\n SortedSet<UserMetadataValue> values = NamedThing.orderByName(result.getValues().get(predicate));\n addNewField(predicate, label, description, values, canEdit);\n }\n }\n }\n });\n\n }\n }\n });\n }",
"@Override\n\tpublic void setVisible(boolean b) {\n\t\t\n\t}",
"@Override\r\n public boolean isEditable(AuthenticationInfo obj) {\n if (CFG_GUI.CFG.isPresentationModeEnabled()) {\r\n return false;\r\n }\r\n return true;\r\n }",
"private void enableFields() {\n\t\ttxtStockCenterName.setEnabled(false);\n\t\trdBtnPreferredNo.setEnabled(false);\n\t\trdBtnPreferredYes.setEnabled(false);\n\n\t\t//disable Facility Details fields\n\t\ttxtPharmacyName.setEnabled(false);\n\t\ttxtStreetAdd.setEnabled(false);\n\t\ttxtCity.setEnabled(false);\n\t\ttxtTel.setEnabled(false);\n\t\ttxtPharmacistName1.setEnabled(false);\n\t\ttxtPharmacyAssistant.setEnabled(false);\n\t\tgrpLabel.setEnabled(false);\n\n\t\tif(rdBtnAddStockCenter.getSelection()) {\n\t\t\ttxtStockCenterName.setEnabled(true);\n\t\t\tbtnSearch.setVisible(false);\n\t\t}\n\t\telse if(rdBtnUpdateStockCenter.getSelection()) {\n\t\t\ttxtStockCenterName.setEnabled(true);\n\t\t\tbtnSearch.setVisible(true);\n\t\t\tbtnSearch.setEnabled(true);\n\t\t}\n\t\telse {\n\t\t\ttxtPharmacyName.setEnabled(true);\n\t\t\ttxtStreetAdd.setEnabled(true);\n\t\t\ttxtCity.setEnabled(true);\n\t\t\ttxtTel.setEnabled(true);\n\t\t\ttxtPharmacistName1.setEnabled(true);\n\t\t\ttxtPharmacyAssistant.setEnabled(true);\n\t\t\tgrpLabel.setEnabled(true);\n\t\t\tbtnSearch.setVisible(false);\n\t\t}\n\n\t\t//}\n\t}",
"@Override\n\t\t\tpublic void setUserVisibleHint(boolean isVisibleToUser) {\n\t\t\t\tsuper.setUserVisibleHint(isVisibleToUser);\n\t\t\t\tisonshow=isVisibleToUser;\n\t\t\t\t//Log.i(\"isonshow\", isVisibleToUser+\"\");\n\n\t\t\t}",
"public void setRrVisible(boolean value) {\n rrVisible = value;\n }",
"private void applyVisibilityFlags() {\n if (rangeRings == null) {\n return;\n }\n try {\n boolean visibility = getDisplayVisibility();\n rangeRings.setRangeRingsVisible(rrVisible && visibility);\n rangeRings.setAzimuthLinesVisible(radVisible && visibility);\n rangeRings.setLabelsVisible(lblVisible && visibility);\n } catch (Exception exc) {}\n }",
"public void setVisible(boolean b) {\n\t\t\n\t}",
"public void viewUser() {\n\t\tsuper.viewUser();\n\t}",
"public void setVisible(Boolean visible);",
"public abstract void setVisible(boolean visible);",
"public void setVisible(boolean visible);",
"void setVisible(boolean visible);",
"void setVisible(boolean visible);",
"private void setFormVisible(boolean value){\r\n vb_form.setVisible(value); //Establece el estado grafico del formulario\r\n// if(value){ //Si el estado es visible entonces \r\n// vb_table.relocate(30, 439);\r\n// vb_table.setPrefHeight(133);\r\n// }else{\r\n// vb_table.relocate(30, 64);\r\n// vb_table.setPrefHeight(508);\r\n// }\r\n }",
"public void setVisible(Boolean isVisible);",
"private void setUserDetailsToView() {\n\t\tdetailDisplay.getFirstName().setValue(currentDetails.getFirstName());\n\t\tdetailDisplay.getLastName().setValue(currentDetails.getLastName());\n\t\tdetailDisplay.getMiddleInitial().setValue(currentDetails.getMiddleInitial());\n\t\tdetailDisplay.getLoginId().setText(currentDetails.getLoginId());\n\t\tdetailDisplay.getTitle().setValue(currentDetails.getTitle());\n\t\tdetailDisplay.getEmailAddress().setValue(currentDetails.getEmailAddress());\n\t\tdetailDisplay.getPhoneNumber().setValue(currentDetails.getPhoneNumber());\n\t\tdetailDisplay.getOrganizationListBox().setValue(currentDetails.getOrganizationId());\n\t\tdetailDisplay.getIsActive().setValue(currentDetails.isActive());\n\t\tif (!currentDetails.isActive()) {\n\t\t\tdetailDisplay.getIsRevoked().setValue(true);\n\t\t} else { // added else to fix default Revoked radio check in Mozilla (User Story 755)\n\t\t\tdetailDisplay.getIsRevoked().setValue(false);\n\t\t}\n\t\t\n\t\tdetailDisplay.setUserLocked(currentDetails.isLocked());\n\t\tif (currentDetails.isExistingUser()) {\n\t\t\tdetailDisplay.setShowRevokedStatus(currentDetails.isCurrentUserCanChangeAccountStatus());\n\t\t\t// detailDisplay.setUserIsDeletable(currentDetails.isCurrentUserCanChangeAccountStatus());\n\t\t} else {\n\t\t\tdetailDisplay.setShowRevokedStatus(false);\n\t\t\t//detailDisplay.setUserIsDeletable(false);\n\t\t}\n\t\tdetailDisplay.setUserIsActiveEditable(currentDetails.isCurrentUserCanChangeAccountStatus());\n\t\tdetailDisplay.setShowUnlockOption(currentDetails.isCurrentUserCanUnlock() && currentDetails.isActive());\n\t\tdetailDisplay.getRole().setValue(currentDetails.getRole());\n\t\tdetailDisplay.getOid().setValue(currentDetails.getOid());\n\t\tdetailDisplay.getOid().setTitle(currentDetails.getOid());\n\t\t//detailDisplay.getRootOid().setValue(currentDetails.getRootOid());\n\t}",
"public void getGroupHideColumn() {\r\n\t\tString showHide = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(WsrdConstants.HIDESHOWCOLUMN);\r\n\t\tif(showHide.equalsIgnoreCase(WsrdConstants.SHOW_AUTHOR_INFO)) {\r\n\t\t\twsrdModel.setGroupShowHide(WsrdConstants.HIDE_AUTHOR_INFO);\r\n\t\t\twsrdModel.setShowHideFlag(true);\r\n\t\t}\r\n\t\tif(showHide.equalsIgnoreCase(WsrdConstants.HIDE_AUTHOR_INFO)) {\r\n\t\t\twsrdModel.setGroupShowHide(WsrdConstants.SHOW_AUTHOR_INFO);\r\n\t\t\twsrdModel.setShowHideFlag(false);\r\n\t\t\t\r\n\t\t}\r\n\t}",
"@Override\n\tpublic void setVisible(boolean vis) {\n\t\t\n\t}",
"private void setPrivilagesToModifyUser(User user){\n\t\tsetFields(false);\n\t\tif (!LoginWindowController.loggedUser.getPermissions().equals(\"administrator\"))\n\t\t{\n\t\t\tif (LoginWindowController.loggedUser.getId() != user.getId()){\n\t\t\t\tif ((user.getPermissions().equals(\"manager\")) \n\t\t\t\t\t\t|| (user.getPermissions().equals(\"administrator\"))){\n\t\t\t\t\tsetFields(true);\n\t\t\t\t}\n\t\t\t\tif (user.getPermissions().equals(\"pracownik\")){\n\t\t\t\t\tsetFields(false);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\telse {\n\t\t\t\tsetFields(false);\n\t\t\t\tdeleteMenuItem.setDisable(true);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tif (LoginWindowController.loggedUser.getId() == user.getId()){\n\t\t\t\tdeleteMenuItem.setDisable(true);\n\t\t\t\tuserPermissionsBox.setDisable(true);\n\t\t\t}\n\t\t}\n\t}",
"public static void ShowEditUser() {\n ToggleVisibility(UsersPage.window);\n }",
"@Override\n\tpublic void setVisible(boolean visibility) {\n\t\t//do nothing\n\t}",
"@Override\r\n \tpublic void setVisible(boolean visible) {\r\n \t\tsessionBeanPkgNameditor\r\n \t\t\t\t.setValue(\"org.domain.\" //$NON-NLS-1$\r\n \t\t\t\t\t\t+ model\r\n \t\t\t\t\t\t\t\t.getProperty(IFacetDataModelProperties.FACET_PROJECT_NAME)\r\n \t\t\t\t\t\t+ \".session\"); //$NON-NLS-1$\r\n \t\tentityBeanPkgNameditor\r\n \t\t\t\t.setValue(\"org.domain.\" //$NON-NLS-1$\r\n \t\t\t\t\t\t+ model\r\n \t\t\t\t\t\t\t\t.getProperty(IFacetDataModelProperties.FACET_PROJECT_NAME)\r\n \t\t\t\t\t\t+ \".entity\"); //$NON-NLS-1$\r\n \t\ttestsPkgNameditor\r\n \t\t\t\t.setValue(\"org.domain.\" //$NON-NLS-1$\r\n \t\t\t\t\t\t+ model\r\n \t\t\t\t\t\t\t\t.getProperty(IFacetDataModelProperties.FACET_PROJECT_NAME)\r\n \t\t\t\t\t\t+ \".test\"); //$NON-NLS-1$\r\n \t\tif (visible) {\r\n \t\t\tITaggedFieldEditor runtimesField = (ITaggedFieldEditor)((CompositeEditor)jBossSeamHomeEditor).getEditors().get(1);\r\n \t\t\tObject oldValue = runtimesField.getValue();\r\n \t\t\tObject newValue = \"\";\r\n \t\t\tList<String> runtimes = getRuntimeNames(model.getProperty(IFacetDataModelProperties.FACET_VERSION_STR).toString());\r\n \t\t\tif(oldValue==null || !runtimes.contains(oldValue)) {\r\n \t\t\t\tObject defaultRnt = getSeamRuntimeDefaultValue();\r\n \t\t\t\tif(defaultRnt!=null && runtimes.contains(defaultRnt)) {\r\n \t\t\t\t\tnewValue = defaultRnt;\r\n \t\t\t\t} else if(runtimes.size()>0) {\r\n \t\t\t\t\tnewValue = runtimes.get(0);\r\n \t\t\t\t}\r\n \t\t\t} else {\r\n \t\t\t\tnewValue = oldValue;\r\n \t\t\t}\r\n \t\t\truntimesField.setValue(newValue);\r\n \t\t\truntimesField.setTags(runtimes.toArray(new String[0]));\r\n \t\t\tvalidate();\r\n \t\t}\r\n \t\tsuper.setVisible(visible);\r\n \t}",
"private void editMode() {\n\t\t// Set the boolean to true to indicate in edit mode\n\t\teditableEditTexts();\n\t\thideEditDelete();\n\t\thideEmail();\n\t\tshowSaveAndAdd();\n\t\tshowThatEditable();\n\t}",
"public void setVisible( boolean v) {\r\n visible = v;\r\n }",
"public boolean isViewable()\n {\n return this.isEditable() || this.viewable;\n }",
"private void setMemberInformationPanelEditableTrue() {\n \n fNameTF.setEditable(true);\n lNameTF.setEditable(true);\n cprTF.setEditable(true);\n cityTF.setEditable(true);\n adressTF.setEditable(true);\n emailTF.setEditable(true);\n memberIdTF.setEditable(true);\n fNameTF.setEditable(true);\n phoneTF.setEditable(true);\n postalCodeTF.setEditable(true);\n adressNrTF.setEditable(true);\n changePictureBTN.setEnabled(true);\n }",
"public void setVisible(boolean value) {\n\t\tvisible = value;\n\t}",
"public void setHideFields(boolean hideFields) {\n\t\tthis.hideFields = hideFields;\n\t}",
"public void setVisible(boolean b) {\n\t\tLoginSystem l = new LoginSystem();\r\n\r\n\t}",
"public void setSearchNameTextFieldVisible(boolean visible) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_searchNameTextField_propertyVisible\");\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_searchNameTextField_propertyVisible\", visible);\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setSearchNameTextFieldVisible(\" + visible + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }",
"public void setIsVisible(boolean isVisible);",
"@Override\n\tprotected void updateUI() {\n\t\tmDisableSave = true;\n\n\t\t// Set visibility based on edit mode\n\t\tsuper.updateUI();\n\n\t\tif (mEditMode) {\n\t\t\tmDiveSiteLocationViewContainer.setVisibility(View.GONE);\n\t\t\tmDiveSiteDescriptionView.setVisibility(View.GONE);\n\t\t\tmDiveSiteDifficultyView.setVisibility(View.GONE);\n\t\t\tmDiveSiteDirectionsView.setVisibility(View.GONE);\n\t\t\tmDiveSiteHistoryView.setVisibility(View.GONE);\n\t\t\tmDiveSiteNotesView.setVisibility(View.GONE);\n\t\t\tmDiveSiteSourceView.setVisibility(View.GONE);\n\t\t\tmDiveSiteNameEdit.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteRating.setIsIndicator(false);\n\t\t\tmDiveSiteLocationEditContainer.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteDescriptionEdit.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteDifficultyEdit.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteCoordinatesEditContainer.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteDirectionsEdit.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteHistoryEdit.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteNotesEdit.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteSourceEdit.setVisibility(View.VISIBLE);\n\t\t} else {\n\t\t\tmDiveSiteLocationViewContainer.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteDescriptionView.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteDifficultyView.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteDirectionsView.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteHistoryView.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteNotesView.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteSourceView.setVisibility(View.VISIBLE);\n\t\t\tmDiveSiteNameEdit.setVisibility(View.GONE);\n\t\t\tmDiveSiteRating.setIsIndicator(true);\n\t\t\tmDiveSiteLocationEditContainer.setVisibility(View.GONE);\n\t\t\tmDiveSiteDescriptionEdit.setVisibility(View.GONE);\n\t\t\tmDiveSiteDifficultyEdit.setVisibility(View.GONE);\n\t\t\tmDiveSiteCoordinatesEditContainer.setVisibility(View.GONE);\n\t\t\tmDiveSiteDirectionsEdit.setVisibility(View.GONE);\n\t\t\tmDiveSiteHistoryEdit.setVisibility(View.GONE);\n\t\t\tmDiveSiteNotesEdit.setVisibility(View.GONE);\n\t\t\tmDiveSiteSourceEdit.setVisibility(View.GONE);\n\t\t}\n\n\t\tupdateMapViewHeight();\n\n\t\t// Set UI elements with current diveSite\n\t\tif (mDiveSite != null) {\n\n\t\t\tmDiveSiteNameEdit.setText(mDiveSite.getName());\n\t\t\tgetActivity().setTitle(mDiveSite.getName());\n\n\t\t\tif (mDiveSite.getRatingCount() == 0) {\n\t\t\t\tmDiveSiteRating.setRating(0);\n\t\t\t} else {\n\t\t\t\tmDiveSiteRating.setRating(mDiveSite.getTotalRating() / mDiveSite.getRatingCount());\n\t\t\t}\n\n\t\t\tmDiveSiteDifficultyView\n\t\t\t\t\t.setText(mDiveSite.getDifficulty().getName());\n\t\t\tmDiveSiteCityView.setText(mDiveSite.getCity());\n\t\t\tmDiveSiteProvinceView.setText(mDiveSite.getProvince());\n\n\t\t\tif (mDiveSite.getCity().isEmpty()\n\t\t\t\t\t|| mDiveSite.getProvince().isEmpty()) {\n\t\t\t\tmDiveSiteCityProvinceComma.setVisibility(View.INVISIBLE);\n\t\t\t} else {\n\t\t\t\tmDiveSiteCityProvinceComma.setVisibility(View.VISIBLE);\n\t\t\t}\n\n\t\t\tmDiveSiteCountryView.setText(mDiveSite.getCountry());\n\n\t\t\tif (mDiveSite.isSalty()) {\n\t\t\t\tmDiveSiteIndicatorSalt\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_salt_enabled_icon);\n\t\t\t} else {\n\t\t\t\tmDiveSiteIndicatorSalt\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_salt_disabled_icon);\n\t\t\t}\n\n\t\t\tif (!mDiveSite.isSalty()) {\n\t\t\t\tmDiveSiteIndicatorFresh\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_fresh_enabled_icon);\n\t\t\t} else {\n\t\t\t\tmDiveSiteIndicatorFresh\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_fresh_disabled_icon);\n\t\t\t}\n\n\t\t\tif (mDiveSite.isShoreDive()) {\n\t\t\t\tmDiveSiteIndicatorShore\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_shore_enabled_icon);\n\t\t\t} else {\n\t\t\t\tmDiveSiteIndicatorShore\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_shore_disabled_icon);\n\t\t\t}\n\n\t\t\tif (mDiveSite.isBoatDive()) {\n\t\t\t\tmDiveSiteIndicatorBoat\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_boat_enabled_icon);\n\t\t\t} else {\n\t\t\t\tmDiveSiteIndicatorBoat\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_boat_disabled_icon);\n\t\t\t}\n\n\t\t\tif (mDiveSite.isWreck()) {\n\t\t\t\tmDiveSiteIndicatorWreck\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_wreck_enabled_icon);\n\t\t\t} else {\n\t\t\t\tmDiveSiteIndicatorWreck\n\t\t\t\t\t\t.setImageResource(R.drawable.divesite_wreck_disabled_icon);\n\t\t\t}\n\n\t\t\tmDiveSiteDescriptionView.setText(Html.fromHtml(mDiveSite\n\t\t\t\t\t.getDescription()));\n\t\t\tmDiveSiteCityEdit.setText(mDiveSite.getCity());\n\t\t\tmDiveSiteProvinceEdit.setText(mDiveSite.getProvince());\n\t\t\tmDiveSiteCountryEdit\n\t\t\t\t\t.setSelection(findCountrySelectionPosition(mDiveSite\n\t\t\t\t\t\t\t.getCountry()));\n\t\t\tmDiveSiteDescriptionEdit.setText(mDiveSite.getDescription());\n\t\t\tmDiveSiteDifficultyEdit\n\t\t\t\t\t.setText(mDiveSite.getDifficulty().getName());\n\n\t\t\tmDiveSiteLatitudeEdit.setText(String.valueOf(mDiveSite\n\t\t\t\t\t.getLatitude()));\n\t\t\tmDiveSiteLongitudeEdit.setText(String.valueOf(mDiveSite\n\t\t\t\t\t.getLongitude()));\n\n\t\t\tif (!mEditMode && mDiveSite.getDirections().trim().isEmpty()) {\n\t\t\t\tmDiveSiteDirectionsTitle.setVisibility(View.GONE);\n\t\t\t\tmDiveSiteDirectionsView.setVisibility(View.GONE);\n\t\t\t} else {\n\t\t\t\tmDiveSiteDirectionsTitle.setVisibility(View.VISIBLE);\n\t\t\t}\n\n\t\t\tif (!mEditMode && mDiveSite.getHistory().trim().isEmpty()) {\n\t\t\t\tmDiveSiteHistoryTitle.setVisibility(View.GONE);\n\t\t\t\tmDiveSiteHistoryView.setVisibility(View.GONE);\n\t\t\t} else {\n\t\t\t\tmDiveSiteHistoryTitle.setVisibility(View.VISIBLE);\n\t\t\t}\n\n\t\t\tif (!mEditMode && mDiveSite.getNotes().trim().isEmpty()) {\n\t\t\t\tmDiveSiteNotesTitle.setVisibility(View.GONE);\n\t\t\t\tmDiveSiteNotesView.setVisibility(View.GONE);\n\t\t\t} else {\n\t\t\t\tmDiveSiteNotesTitle.setVisibility(View.VISIBLE);\n\t\t\t}\n\n\t\t\tmDiveSiteDirectionsView.setText(Html.fromHtml(mDiveSite\n\t\t\t\t\t.getDirections()));\n\t\t\tmDiveSiteDirectionsEdit.setText(mDiveSite.getDirections());\n\t\t\tmDiveSiteHistoryView.setText(Html.fromHtml(mDiveSite.getHistory()));\n\t\t\tmDiveSiteHistoryEdit.setText(mDiveSite.getHistory());\n\t\t\tmDiveSiteNotesView.setText(Html.fromHtml(mDiveSite.getNotes()));\n\t\t\tmDiveSiteNotesEdit.setText(mDiveSite.getNotes());\n\t\t\tmDiveSiteSourceView.setText(Html.fromHtml(mDiveSite.getSource()));\n\t\t\tmDiveSiteSourceEdit.setText(mDiveSite.getSource());\n\t\t\tmDiveSiteSubmitterView.setText(mDiveSite.getUsername());\n\n mDiveSiteSubmitterImage.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent i = new Intent(getActivity(), DiverActivity.class);\n i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK|Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\n i.putExtra(DiverActivity.EXTRA_DIVER_ID, mDiveSite.getUserId());\n i.putExtra(DiverActivity.EXTRA_DIVER_USERNAME, mDiveSite.getUsername());\n startActivity(i);\n }\n });\n\n DiveSiteOnlineDatabaseLink diveSiteOnlineDatabaseLink = new DiveSiteOnlineDatabaseLink(getActivity());\n diveSiteOnlineDatabaseLink.setDiveSiteOnlineLoaderListener(new DiveSiteOnlineDatabaseLink.OnlineDiveDataListener() {\n\n @Override\n public void onOnlineDiveDataRetrievedComplete(\n ArrayList<Object> resultList,\n String message, Boolean isError) {\n if (resultList.size() > 0) {\n // Now get bitmap profile image for diver if available\n Diver diver = (Diver) resultList.get(0);\n if (!diver.getPictureURL().trim().isEmpty()) {\n LoadOnlineImageTask task = new LoadOnlineImageTask(mDiveSiteSubmitterImage);\n task.execute(diver.getPictureURL());\n }\n }\n }\n\n @Override\n public void onOnlineDiveDataProgress(\n Object result) {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void onOnlineDiveDataPostBackground(\n ArrayList<Object> resultList,\n String message) {\n // TODO Auto-generated method stub\n\n }\n });\n diveSiteOnlineDatabaseLink.getUser(String.valueOf(mDiveSite.getUserId()), \"\", \"\");\n\n\t\t}\n\n\t\tmDisableSave = false;\n\t}",
"private boolean setVisible(boolean b) {\n\t\treturn b;\n\t}",
"@SuppressWarnings(\"unchecked\")\n\tprivate void setEditable(boolean isEditable) {\n\t\tint size = lnr_form.getChildCount();\n\t\tif (isEditable) {\n\t\t\tfor (int i = 0; i < size; i++) {\n\n\t\t\t\tView v = lnr_form.getChildAt(i);\n\t\t\t\tHashMap<String, String> row = (HashMap<String, String>) v.getTag();\n\t\t\t\tif (((LinearLayout) v.findViewById(R.id.lnrGgroup)).getVisibility() == View.VISIBLE) {\n\n\t\t\t\t} else {\n\t\t\t\t\tif (row.get(TYPE).equals(TEXT)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEdit)).setVisibility(View.VISIBLE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(TEXTAREA)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEditArea)).setVisibility(View.VISIBLE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(DATE)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEditClickable)).setVisibility(View.VISIBLE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(TIME)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEditClickable)).setVisibility(View.VISIBLE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(SELECT)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrSpin)).setVisibility(View.VISIBLE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(MULTIPLESELECT)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEditClickable)).setVisibility(View.VISIBLE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(LABEL)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrLabel)).setVisibility(View.VISIBLE);\n\t\t\t\t\t}\n\n\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrReadOnly)).setVisibility(View.GONE);\n\t\t\t\t}\n\n\t\t\t}\n\t\t} else {\n\t\t\tfor (int i = 0; i < size; i++) {\n\n\t\t\t\tView v = lnr_form.getChildAt(i);\n\t\t\t\tHashMap<String, String> row = (HashMap<String, String>) v.getTag();\n\t\t\t\tif (((LinearLayout) v.findViewById(R.id.lnrGgroup)).getVisibility() == View.VISIBLE) {\n\n\t\t\t\t} else {\n\t\t\t\t\tif (row.get(TYPE).equals(TEXT)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEdit)).setVisibility(View.GONE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(TEXTAREA)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEditArea)).setVisibility(View.GONE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(DATE)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEditClickable)).setVisibility(View.GONE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(TIME)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEditClickable)).setVisibility(View.GONE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(SELECT)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrSpin)).setVisibility(View.GONE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(MULTIPLESELECT)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrEditClickable)).setVisibility(View.GONE);\n\t\t\t\t\t} else if (row.get(TYPE).equals(LABEL)) {\n\t\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrLabel)).setVisibility(View.GONE);\n\t\t\t\t\t}\n\n\t\t\t\t\t((LinearLayout) v.findViewById(R.id.lnrReadOnly)).setVisibility(View.VISIBLE);\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\t}",
"@Override\n\tpublic void setUserVisibleHint(boolean isVisibleToUser) {\n\t\tsuper.setUserVisibleHint(isVisibleToUser);\n\t}",
"public void setVisible(boolean a){\n \t\tvisible = a;\n \t}",
"public void setDisplayVisibility(boolean on) {\n if (settingVisibility) {\n return;\n }\n super.setDisplayVisibility(on);\n applyVisibilityFlags();\n }",
"void setVisivel(boolean visivel);",
"public void enableFields (Boolean enable) {\n if (enable) {\n if (textViewV.getVisibility() == View.INVISIBLE) {\n textViewV.setVisibility(View.VISIBLE);\n editTextV.setVisibility(View.VISIBLE);\n editTextV.getText().clear();\n textViewDateTime.setVisibility(View.INVISIBLE);\n editTextV.requestFocus();\n }\n if (editTextV.getText().length() == 4 ) {\n int user = Integer.valueOf(editTextV.getText().toString());\n if (textViewS.getVisibility() == View.INVISIBLE && user != 9999) {\n textViewS.setVisibility(View.VISIBLE);\n editTextS.setVisibility(View.VISIBLE);\n editTextS.getText().clear();\n editTextS.setShowSoftInputOnFocus(false);\n editTextS.setClickable(false);\n editTextS.setSelection(editTextS.getText().length());\n editTextS.setCursorVisible(false);\n }\n }\n } else {\n\n\n if (textViewS.getVisibility() == View.VISIBLE) {\n editTextS.getText().clear();\n textViewS.setVisibility(View.INVISIBLE);\n editTextS.setVisibility(View.INVISIBLE);\n return;\n }\n\n if (textViewV.getVisibility() == View.VISIBLE) {\n textViewDateTime.setVisibility(View.VISIBLE);\n editTextV.getText().clear();\n textViewV.setVisibility(View.INVISIBLE);\n editTextV.setVisibility(View.INVISIBLE);\n }\n }\n }",
"private void DisableOrEnableFields(){\n for (Node node:super.newAppointmentView.getChildren()) {\n if (node instanceof GridPane){\n GridPane gridpane = (GridPane)node;\n for (Node node1:gridpane.getChildren()) {\n if(node1 instanceof TextField || node1 instanceof ComboBox){\n node1.setDisable(isDisabled);\n }\n }\n }\n\n }\n isDisabled = !isDisabled;\n }",
"private void setVisibilityToViewList(boolean z) {\n CopyOnWriteArrayList<NetworkSpeedView> copyOnWriteArrayList = this.mViewList;\n if (copyOnWriteArrayList != null) {\n Iterator<NetworkSpeedView> it = copyOnWriteArrayList.iterator();\n while (it.hasNext()) {\n it.next().setVisibilityByController(z);\n }\n }\n }",
"public void setVisibility(int value) {\n this.visibility = value;\n }",
"private void setMembershipPanelEditableTrue() {\n \n accountNrTF.setEditable(true);\n fromDateTF.setEditable(true);\n groupTrainingCB.setEnabled(true);\n monthPayTF.setEditable(true);\n pbsDateTF.setEditable(true);\n pbsNumberTF.setEditable(true);\n regNrTF.setEditable(true);\n balanceTF.setEditable(true);\n poolsCB.setEnabled(true);\n timeLimitCB.setEnabled(true);\n endDateTF.setEditable(true);\n membershipDropD.setEnabled(true);\n }",
"public void setEditButtonVisible(boolean visible) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_editButton_propertyVisible\");\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_editButton_propertyVisible\", visible);\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setEditButtonVisible(\" + visible + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }",
"@SuppressWarnings(\"unused\")\n void setVisible(boolean visible);",
"private void setFields(boolean disabled){\n\t\tuserNameField.setDisable(disabled);\n\t\tuserLastNameField.setDisable(disabled);\n\t\tuserLoginField.setDisable(disabled);\n\t\tuserPermissionsBox.setDisable(disabled);\n\t\teditingCheck.setDisable(disabled);\n\t\treminderCheck.setDisable(disabled);\n\t\tchangeCancelButton.setDisable(disabled);\n\t\tsaveUser.setDisable(disabled);\n\t\tdeleteMenuItem.setDisable(disabled);\n\t}",
"private void initAccess() {\n\t\tif (!Users.doesCurrentUserHaveAccess(Users.ACCESS_CLASS_BEGINNING_DATA_ENTRY) &&\n\t\t\t\t!this.getParentEditor().getNewRecord() &&\n\t\t\t\t!referenceNewPatron) {\n\t\t\treadOnly = true;\n\t\t\tsetFormToReadOnly();\n\t\t\t//research purpose\n\t\t\taddResearchPurpose.setEnabled(false);\n\t\t\tremoveResearchPurpose.setEnabled(false);\n\t\t\t//subject buttons\n\t\t\taddSubject.setEnabled(false);\n\t\t\tremoveSubject.setEnabled(false);\n\t\t\t//name buttons\n\t\t\taddName.setEnabled(false);\n\t\t\tremoveName.setEnabled(false);\n\t\t\teditNameRelationshipButton.setEnabled(false);\n // resource button\n addResourceButton.setEnabled(false);\n removeResourceButton.setEnabled(false);\n\t\t}\n\t}",
"private void setMemberInformationPanelEditableFalse() {\n \n fNameTF.setEditable(false);\n lNameTF.setEditable(false);\n cprTF.setEditable(false);\n cityTF.setEditable(false);\n adressTF.setEditable(false);\n emailTF.setEditable(false);\n memberIdTF.setEditable(false);\n fNameTF.setEditable(false);\n phoneTF.setEditable(false);\n postalCodeTF.setEditable(false);\n adressNrTF.setEditable(false);\n changePictureBTN.setEnabled(false);\n }",
"@Schema(description = \"Details about any restrictions in the visibility of the worklog. Optional when creating or updating a worklog.\")\n public AllOfWorklogVisibility getVisibility() {\n return visibility;\n }",
"private void enableFields(boolean enability){\n txtReference.setEditable(enability);\n txtItem.setEditable(enability);\n txtDescription.setEditable(enability);\n txtBrand.setEditable(enability);\n txtModel.setEditable(enability);\n txtQuantity.setEditable(enability);\n txtUnit.setEditable(enability);\n txtProductDate.setEnabled(enability);\n txtOrigPrice.setEditable(enability);\n txtAgent.setEditable(enability);\n txtCurrency.setEditable(enability);\n txtCurrency.setEnabled(enability);\n txtContactPerson.setEnabled(enability);\n \n }",
"public void setEditAuthUserPublicEvents(final boolean val) {\n editAuthUserType |= UserAuth.publicEventUser;\n }",
"void hideNoneParametersView();",
"public boolean setVisible(boolean visible) {\n\t\tthrow new UnsupportedOperationException(\"readonly\");\n\t}",
"public void cambiarVisibilidad(int opcion){\n if(opcion==1){\n vistaInicial.jpCentral.setVisible(true);\n vistaInicial.jpDerecha.setVisible(true);\n vistaInicial.jpCentralGeneral.setVisible(false);\n }else{\n vistaInicial.jpCentral.setVisible(false);\n vistaInicial.jpDerecha.setVisible(false);\n vistaInicial.jpCentralGeneral.setVisible(true);\n }\n }",
"public void setEditAuthUserContentAdmin(final boolean val) {\n editAuthUserType |= UserAuth.contentAdminUser;\n }",
"private void setButtonVisibilities(){\n\n if(eventType.equals(EventType.ORGANISE)){\n btnUpdateOrSignIn.setVisibility(View.VISIBLE);\n btnUpdateOrSignIn.setText(R.string.update);\n }\n else if(timeType.equals(TimeType.ONGOING) && eventType.equals(EventType.ATTEND)){\n btnUpdateOrSignIn.setVisibility(View.VISIBLE);\n btnUpdateOrSignIn.setText(R.string.sign_in);\n }\n else{\n btnUpdateOrSignIn.setVisibility(View.GONE);\n }\n }",
"public void setEditableFields(EditableFields fields) {\n\n List<AbstractField> allFields = Arrays.asList(firstName, lastName, legalFirstName, legalLastName,\n nameIsLegalName, fanName, badgeNumber, phoneNumber, birthDate, email, zip, emergencyContactFullName,\n emergencyContactPhone, parentFormReceived, parentFullName, parentPhone, paidAmount,\n compedBadge, checkedIn);\n switch (fields) {\n case ALL:\n for (AbstractField field : allFields) {\n field.setEnabled(true);\n// field.setValidationVisible(true);\n }\n badgeNumber.setEnabled(false);\n badge.setEnabled(true);\n break;\n case NONE:\n for (AbstractField field : allFields) {\n field.setEnabled(false);\n }\n badgeNumber.setEnabled(false);\n badge.setEnabled(false);\n }\n }",
"public void setInfoVisible(boolean visible) {\n/*Generated! Do not modify!*/ replyDTO.getVariablesToSet().add(\"overviewSmall_info_propertyVisible\");\n/*Generated! Do not modify!*/ replyDTO.getVariableValues().put(\"overviewSmall_info_propertyVisible\", visible);\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ addRecordedAction(\"setInfoVisible(\" + visible + \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ }",
"void setVisibility(ASTAccessSpecNode accessSpec)\n {\n if (accessSpec.isPublic())\n this.visibility = Visibility.PUBLIC;\n else if (accessSpec.isPrivate())\n this.visibility = Visibility.PRIVATE;\n }",
"private void Visibility(Boolean vis) {\n jSP1.setVisible(vis);\r\n jSP2.setVisible(vis);\r\n loadFile.setVisible(!vis);\r\n saveFile.setVisible(!vis);\r\n sourceFileLabel.setVisible(!vis);\r\n sourceFileName.setVisible(!vis);\r\n resultFileLabel.setVisible(!vis);\r\n resultFileName.setVisible(!vis);\r\n }",
"private void adjustFields( Flow f ) {\n boolean lockedByUser = isLockedByUser( f );\n\n nameField.setEnabled( lockedByUser && f.canSetNameAndElements() );\n intentChoice.setEnabled( lockedByUser && f.canSetNameAndElements() );\n askedForButtons.setEnabled( lockedByUser && f.canSetAskedFor() );\n allField.setVisible( isSend() && f.canGetAll() );\n allField.setEnabled( lockedByUser && isSend() && f.canSetAll() );\n significanceToTargetLabel.setVisible( f.canGetSignificanceToTarget() );\n significanceToTargetChoice.setEnabled(\n lockedByUser && f.canSetSignificanceToTarget() );\n channelRow.setVisible( f.canGetChannels() );\n this.timingContainer.setVisible( f.canGetMaxDelay() );\n delayPanel.enable( lockedByUser && f.canSetMaxDelay() );\n significanceToSourceContainer.setVisible( f.canGetSignificanceToSource() );\n triggersSourceContainer.setVisible( ( !isSend() || f.isAskedFor() ) && f.canGetTriggersSource() );\n triggersSourceCheckBox.setEnabled( lockedByUser && f.canSetTriggersSource() );\n terminatesSourceContainer.setVisible( f.canGetTerminatesSource() );\n terminatesSourceCheckBox.setEnabled( lockedByUser && f.canSetTerminatesSource() );\n otherChoice.setEnabled( lockedByUser );\n restrictedCheckBox.setEnabled( lockedByUser );\n flowDescription.setEnabled(\n ( isSend() && f.isNotification() || !isSend() && f.isAskedFor() ) && isLockedByUser( getFlow() ) );\n makeVisible( issuesPanel, getAnalyst().hasIssues( getQueryService(), getFlow(), false ) );\n makeVisible( ifTaskFailsContainer, canGetIfTaskFails() );\n ifTaskFailsCheckBox.setEnabled( canSetIfTaskFails() );\n makeVisible( prohibitedContainer, f.canGetProhibited() );\n prohibitedCheckBox.setEnabled( lockedByUser && f.canSetProhibited() );\n makeVisible( referencesEventPhaseContainer, f.canGetReferencesEventPhase() );\n makeVisible( canBypassIntermediateContainer, !isShowSimpleForm() && f.canGetCanBypassIntermediate() );\n makeVisible( receiptConfirmationRequestedContainer, !isShowSimpleForm() && f.canGetReceiptConfirmationRequested() );\n referencesEventPhaseCheckBox.setEnabled( lockedByUser && f.canSetReferencesEventPhase() );\n canBypassIntermediateCheckBox.setEnabled( lockedByUser && f.canSetCanBypassIntermediate() );\n receiptConfirmationRequestedCheckBox.setEnabled( lockedByUser && f.canSetReceiptConfirmationRequested() );\n }",
"private boolean isVisible(final MemberRecordCustomField field) {\n if (permissionService.hasPermission(AdminSystemPermission.MEMBER_RECORD_TYPES_VIEW)) {\n return true;\n }\n Group group = LoggedUser.group();\n Collection<MemberRecordType> visibleRecordTypes = Collections.emptyList();\n if (group instanceof AdminGroup) {\n visibleRecordTypes = fetchService.fetch((AdminGroup) group, AdminGroup.Relationships.VIEW_MEMBER_RECORD_TYPES).getViewMemberRecordTypes();\n } else if (group instanceof BrokerGroup) {\n // For brokers, it is possible that specific fields are not visible\n if (field.getBrokerAccess() != MemberRecordCustomField.Access.NONE) {\n visibleRecordTypes = fetchService.fetch((BrokerGroup) group, BrokerGroup.Relationships.BROKER_MEMBER_RECORD_TYPES).getBrokerMemberRecordTypes();\n }\n }\n return visibleRecordTypes.contains(field.getMemberRecordType());\n }",
"private void hideAdvanceFeatures() {\n sourceLabel.setVisible(false);\n sourceTextField.setVisible(false);\n threadsTextField.setEnabled(false);\n adminLabel.setVisible(false);\n adminTextField.setVisible(false);\n tracerPanel.setVisible(false);\n simulateCheckBox.setVisible(false);\n useScriptCheckBox.setVisible(false);\n editScriptButton.setVisible(false);\n batchImportCheckBox.setVisible(false);\n numResourceToCopyLabel.setVisible(false);\n numResourceToCopyTextField.setVisible(false);\n recordURIComboBox.setVisible(false);\n paramsLabel.setVisible(false);\n paramsTextField.setVisible(false);\n viewRecordButton.setVisible(false);\n testRecordButton.setVisible(false);\n basicUIButton.setVisible(false);\n\n isBasicUI = true;\n }",
"public void getApHideColumn(){\r\n\t\tString showHide = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get(WsrdConstants.HIDESHOWCOLUMN);\r\n\t\tif(showHide.equalsIgnoreCase(WsrdConstants.SHOW_AUTHOR_INFO)) {\r\n\t\t\twsrdModel.setApShowHide(WsrdConstants.HIDE_AUTHOR_INFO);\r\n\t\t\twsrdModel.setShowHideFlag(true);\r\n\t\t}\r\n\t\tif(showHide.equalsIgnoreCase(WsrdConstants.HIDE_AUTHOR_INFO)) {\r\n\t\t\twsrdModel.setApShowHide(WsrdConstants.SHOW_AUTHOR_INFO);\r\n\t\t\twsrdModel.setShowHideFlag(false);\r\n\t\t\t\r\n\t\t}\r\n\t}",
"public void enableSelfView(boolean val);",
"public AdminView() {\n initComponents();\n \n staffTbl.setSelectionMode(\n ListSelectionModel.SINGLE_SELECTION);\n rentalTbl.setSelectionMode(\n ListSelectionModel.SINGLE_SELECTION);\n carTbl.setSelectionMode(\n ListSelectionModel.SINGLE_SELECTION);\n carClassTbl.setSelectionMode(\n ListSelectionModel.SINGLE_SELECTION);\n }",
"public void setReadWriteOnMyLatestView()\n {\n \t m_acl = \tm_acl | (1<<2);\n }",
"public void setVisible(boolean b) {\n if (b) {\n loadTable();\n }\n }",
"public void setFieldOfView(int fieldOfView) {\r\n\t\tthis.fieldOfView = fieldOfView;\r\n\t\tchanged = true;\r\n\t}",
"private void togglePostControls(boolean hidePostFields)\n {\n }",
"void setUserIsActiveEditable(boolean b);",
"public void setAdmin(boolean value) {\r\n this.admin = value;\r\n }",
"public void display() \r\n {\r\n ((GrantsByPIForm) getControlledUI()).setVisible(true);\r\n }",
"private void setTagEditable(boolean bool){\n \t\teditTag.setVisible(!bool);\r\n \t\teditTag.setVisible(bool); //actually we want editTag visible false\r\n \t\t\r\n \t\tviewTag.setVisible(bool);\r\n \t\tviewTag.setVisible(!bool); //actually we want viewTag visible true\r\n \t}",
"@FXML\n private void enableFields(ActionEvent e) {\n if (txfFirstName.isDisabled()) {\n txfFirstName.setDisable(false);\n txfLastName.setDisable(false);\n txfAddress.setDisable(false);\n txfZIP.setDisable(false);\n txfZIPloc.setDisable(false);\n txfEmail.setDisable(false);\n txfPhone.setDisable(false);\n } else{\n txfFirstName.setDisable(true);\n txfLastName.setDisable(true);\n txfAddress.setDisable(true);\n txfZIP.setDisable(true);\n txfZIPloc.setDisable(true);\n txfEmail.setDisable(true);\n txfPhone.setDisable(true);\n }\n }",
"public void setVisible(boolean val)\r\n\t{\r\n\t\t_isOn = val;\r\n\t}",
"private void setViews() {\n\n }",
"public boolean isHideFields() {\n\t\treturn hideFields;\n\t}",
"public boolean isVisidonModeEnabled() {\n return false;\n }",
"public interface MainView extends MvpView {\n public void setAuthorized(boolean isAuthorized);\n}",
"public void setVisible(boolean visible)\n {\n this.visible = visible;\n }",
"public final void mo91706b(User user) {\n if (user == null || !user.isSecret()) {\n this.f94788aH.setVisibility(8);\n } else {\n this.f94788aH.setVisibility(0);\n }\n }",
"protected boolean checkVisiblePermission() {\r\n ClientSecurityManager manager = ApplicationManager.getClientSecurityManager();\r\n if (manager != null) {\r\n if (this.visiblePermission == null) {\r\n if ((this.buttonKey != null) && (this.parentForm != null)) {\r\n this.visiblePermission = new FormPermission(this.parentForm.getArchiveName(), \"visible\",\r\n this.buttonKey, true);\r\n }\r\n }\r\n try {\r\n // Checks to show\r\n if (this.visiblePermission != null) {\r\n manager.checkPermission(this.visiblePermission);\r\n }\r\n this.restricted = false;\r\n return true;\r\n } catch (Exception e) {\r\n this.restricted = true;\r\n if (e instanceof NullPointerException) {\r\n ToggleButton.logger.error(null, e);\r\n }\r\n if (ApplicationManager.DEBUG_SECURITY) {\r\n ToggleButton.logger.debug(this.getClass().toString() + \": \" + e.getMessage(), e);\r\n }\r\n return false;\r\n }\r\n } else {\r\n return true;\r\n }\r\n }",
"private void setExpandableLayoutVisiblity(){\n if(mExpandToggleBtn.isChecked()){\n mExpandableLayout.setVisibility(View.VISIBLE);\n }\n // if expand is set to false, then hide the expandable layout\n else{\n mExpandableLayout.setVisibility(View.GONE);\n }\n }",
"public void setVisible(boolean value)\n\t{\n\t\tisVisible = value;\n\t\tif(!isVisible)\n\t\t{\n\t\t\tsetWorldRegion(null);\n\t\t}\n\t}",
"public void formatFields() {\r\n if( getFunctionType() == TypeConstants.DISPLAY_MODE ){\r\n ratesBaseWindow.btnOK.setEnabled(false);\r\n }\r\n }",
"private void conmuteFields() {\r\n\t\ttxPassword.setEditable(!txPassword.isEditable());\r\n\t\ttxUsuario.setEditable(!txUsuario.isEditable());\r\n\t\tcheckAdmin.setDisable(!checkAdmin.isDisable());\r\n\t\tcheckTPV.setDisable(!checkTPV.isDisable());\r\n\t}"
] |
[
"0.70096827",
"0.63979554",
"0.63496363",
"0.6270395",
"0.6248248",
"0.622794",
"0.61584723",
"0.6104357",
"0.60859567",
"0.60780627",
"0.60701454",
"0.60358334",
"0.5996962",
"0.5900193",
"0.58921176",
"0.5854022",
"0.5833579",
"0.5816315",
"0.5798064",
"0.5795799",
"0.57789063",
"0.57781166",
"0.57706857",
"0.5755351",
"0.57546043",
"0.57546043",
"0.574519",
"0.57432956",
"0.57337594",
"0.5728059",
"0.5724696",
"0.57072055",
"0.56779647",
"0.56709504",
"0.56590366",
"0.5634796",
"0.5630924",
"0.56091124",
"0.5601783",
"0.5590057",
"0.55893564",
"0.5555483",
"0.5551574",
"0.55474764",
"0.5541154",
"0.5540036",
"0.5508788",
"0.5508704",
"0.54847544",
"0.5483005",
"0.54773206",
"0.54756594",
"0.54653925",
"0.5461149",
"0.5447714",
"0.5441536",
"0.5441244",
"0.5440934",
"0.54390913",
"0.5434549",
"0.54297286",
"0.5417308",
"0.5414388",
"0.54088545",
"0.5408125",
"0.54059756",
"0.5399208",
"0.5396447",
"0.53898144",
"0.5388994",
"0.5386474",
"0.5384603",
"0.5377792",
"0.53709215",
"0.5368637",
"0.53686064",
"0.53573835",
"0.5356235",
"0.53535444",
"0.5352244",
"0.53490484",
"0.53459907",
"0.53449667",
"0.534352",
"0.5335585",
"0.53352916",
"0.53336936",
"0.5332248",
"0.5328502",
"0.5326106",
"0.5312669",
"0.5294644",
"0.5285445",
"0.5281413",
"0.52699596",
"0.52679795",
"0.52670777",
"0.52648616",
"0.5262363",
"0.52623135"
] |
0.7310704
|
0
|
method to create Cloudscape connections
|
public String createConnection() {
// Use DRIVER and DBURL to create a connection
// Recommend connection pool implementation/usage
return "Connect to Cloudscape > " + DRIVER + "::" + DBURL + "\n";
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"void createConnection();",
"Connection createConnection();",
"private void createConnection() {\n this.callbacks = getCallbacks();\n\n Properties props = new Properties();\n props.putAll(getTestProps());\n props.putAll(getProps());\n this.connection = Connections.create((ConnectionCallbacks) callbacks, props);\n configureConnection(connection);\n }",
"Cloud createCloud();",
"NodeConnection createNodeConnection();",
"public void setup_connections()\n {\n setup_servers();\n setup_clients();\n }",
"private void establishConnection() {\n\n try {\n\n for(Clone clone:this.clones){\n ClearConnection connection = new ClearConnection();\n connection.connect(clone.getIp(), clone.getOffloadingPort(), 5 * 1000);\n this.connections.add(connection);\n }\n\n this.protocol = new ERAMProtocol();\n this.ode = new ERAMode();\n\n } catch (Exception e) {\n Log.e(TAG,\"Connection setup with the Remote Server failed - \" + e);\n }\n }",
"public void initializeConnections(){\n cc = new ConnectorContainer();\n cc.setLayout(null);\n cc.setAutoscrolls(true);\n connections = new LinkedList<JConnector>();\n agents = new LinkedList<JConnector>();\n }",
"public void createCon(){\n\t\ttry {\n\t\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\t\tcon=DriverManager.getConnection(\"jdbc:oracle:thin:@172.26.132.40:1521:ORCLILP\", \"a63d\", \"a63d\");\n\t\t} catch (ClassNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\n\t\t\te.printStackTrace();\n\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\n\t\t\te.printStackTrace();\n\n\t\t}\n\n\n\t}",
"Connection createConnection(ExecutorService pool);",
"public void initializeConnection() {\n\n cluster = Cluster.builder().addContactPoint(host).build();\n session = cluster.connect(keyspaceName);\n session.execute(\"USE \".concat(keyspaceName));\n }",
"@Override\n public Connection newConnection(String url, String login, String password) {\n Connection connection = null;\n cpds.setJdbcUrl(url);\n cpds.setUser(login);\n cpds.setPassword(password);\n //logger.debug(\"Connection params: JdbcUrl \" + url + \", Login \" + login + \", Password \" + password);\n\n\n try {\n //logger.debug(\"Try to create new C3P0 connection ...\");\n connection = cpds.getConnection();\n //logger.debug(\"New C3P0 connection created succesfully! \" + connection.toString());\n } catch (SQLException e) {\n //logger.warn(\"Creation of new C3P0 connection is failed!\", e);\n }\n\n return connection;\n }",
"public LDAPSDKConnection createConnection() {\r\n return new NetscapeV3Connection(false);\r\n }",
"void connectionCreated();",
"abstract public boolean createConnection();",
"public static void connect() {\n \t\tconnPool.start();\n \t}",
"ClientConnection connection();",
"public void connect() {}",
"private void init() {\n DatabaseInitializer databaseInitializer = new DatabaseInitializer();\n try {\n for (int i = 0; i < DEFAULT_POOL_SIZE; i++) {\n ProxyConnection connection = new ProxyConnection(databaseInitializer.getConnection());\n connections.put(connection);\n }\n } catch (InterruptedException e) {\n logger.log(Level.ERROR, e);\n }\n }",
"public void connect();",
"public void connect();",
"public void connect();",
"public Connections getConnections();",
"public static Connection createConnection() {\n\t\treturn new FabricaDeConexoes().getConnection();\n\t}",
"public void establishConnection() {\n httpNetworkService = new HTTPNetworkService(handler);\n }",
"private static void createCouchbaseClient() {\n LOGGER.debug(\"Creating Couchbase Client\");\n String bucket = CONFIG.getString(\"couchbase.bucket\");\n String[] hosts = CONFIG.getString(\"couchbase.host\").split(\";\");\n String port = CONFIG.getString(\"couchbase.port\");\n String base = CONFIG.getString(\"couchbase.base\");\n\n List<URI> uris = new ArrayList<>();\n for (final String host : hosts) {\n uris.add(URI.create(\"http://\" + host + \":\" + port + \"/\" + base));\n }\n try {\n tapClient = new TapClient(uris, bucket, \"\");\n } catch (Exception ex) {\n LOGGER.error(\"Caught exception trying to connect to Couchbase\", ex);\n }\n }",
"private Connection() {\n\t\tSystem.out.println(\"--Connection Created--\");\n\t}",
"java.util.List<io.netifi.proteus.admin.om.Connection> \n getConnectionList();",
"public InitialValuesConnectionCenter() \n\t{\n\t\ttry {\n\t\t\tserverSocket = new ServerSocket(PORT);\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"IOException ServerConnectionCenter.\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"protected void connectionEstablished() {}",
"public void connectClusters()\n\t{\n//\t\tfor(int i = 0; i<edges.size();i++)\n//\t\t{\n//\t\t\tEdgeElement edge = edges.get(i);\n//\t\t\tString fromNodeID = edge.fromNodeID;\n//\t\t\tNodeElement fromNode = findSubNode(fromNodeID);\n//\t\t\tString toNodeID = edge.toNodeID;\n//\t\t\tNodeElement toNode = findSubNode(toNodeID); \n//\t\t\t\n//\t\t\tif(fromNode != null && toNode != null)\n//\t\t\t{\n//\t\t\t\tPortInfo oport = new PortInfo(edge, fromNode);\n//\t\t\t\tfromNode.addOutgoingPort(oport);\n//\t\t\t\tedge.addIncomingPort(oport);\n//\t\t\t\tPortInfo iport = new PortInfo(edge, toNode);\n//\t\t\t\ttoNode.addIncomingPort(iport);\n//\t\t\t\tedge.addOutgoingPort(iport);\n//\t\t\t}\n//\t\t}\n\t}",
"@Override\r\n\tpublic void connect(URL url) throws RemoteException {\n\t\tclientPool=ClientPoolManager.INSTANCE.getClientPool(url);\r\n\r\n\t}",
"@Override\n\tpublic SwimConnection createInstance() {\n\t\tSwimConnection connection = null;\n\t\t\n\t\tif (this.hasSpecification()) {\n\t\t\tif (this.getSpecification().getId().equals(Specification.CONNECTION_SWIM_SIMULATED_ID)) {\n\t\t\t\tSimulatedSwimConnectionProperties properties = (SimulatedSwimConnectionProperties) this.getSpecification().getProperties();\n\t\t\t\tconnection = new SimulatedSwimConnection(\n\t\t\t\t\t\tproperties.getResourceDirectory(),\n\t\t\t\t\t\tDuration.ofMillis(properties.getUpdatePeriod()),\n\t\t\t\t\t\tproperties.getUpdateProbability(),\n\t\t\t\t\t\tproperties.getUpdateQuantity());\n\t\t\t\tif (properties.getSubscribesAIXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.AIXM);\n\t\t\t\tif (properties.getSubscribesFIXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.FIXM);\n\t\t\t\tif (properties.getSubscribesWXXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.WXXM);\n\t\t\t\tif (properties.getSubscribesIWXXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.IWXXM);\n\t\t\t\tif (properties.getSubscribesAMXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.AMXM);\n\t\t\t} else if (this.getSpecification().getId().equals(Specification.CONNECTION_SWIM_LIVE_ID)) {\n\t\t\t\tLiveSwimConnectionProperties properties = (LiveSwimConnectionProperties) this.getSpecification().getProperties();\n\t\t\t\tconnection = new LiveSwimConnection();\n\t\t\t\t// TODO: set properties for live SWIM connection\n\t\t\t\tif (properties.getSubscribesAIXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.AIXM);\n\t\t\t\tif (properties.getSubscribesFIXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.FIXM);\n\t\t\t\tif (properties.getSubscribesWXXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.WXXM);\n\t\t\t\tif (properties.getSubscribesIWXXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.IWXXM);\n\t\t\t\tif (properties.getSubscribesAMXM())\n\t\t\t\t\tconnection.subscribe(SwimProtocol.AMXM);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn connection;\n\t}",
"public <T> Connection<T> createConnection( ConnectionContext<T> context ) throws ConnectionBuildException;",
"public void connect(){\n if (connected) {\n // connection already established\n return;\n }\n // Create connection to Database\n Properties props = new Properties();\n props.setProperty(\"user\", DB_USER);\n props.setProperty(\"password\", DB_PASSWORD);\n //props.setProperty(\"ssl\", \"true\");\n //\"Connecting to database...\"\n try {\n Class.forName(\"org.postgresql.Driver\");\n String connection_string = generateURL();\n dbConnect = DriverManager.getConnection(connection_string, props);\n //\"Connection established\"\n status = \"Connection established\";\n connected = true;\n } catch (SQLException e) {\n //\"Connection failed: SQL error\"\n status = \"Connection failed: \" + e.getMessage();\n connected = false;\n } catch (Exception e) {\n //\"Connection failed: unknown error\"\n status = \"Connection failed: \" + e.getMessage();\n connected = false;\n }\n }",
"public ConnectionConfig createConnection()\n {\n return _connectionConfig;\n }",
"private void openConnection(){}",
"void onConnectToNetByIPSucces();",
"public void newConnection(String hostname, int port) throws Exception;",
"io.netifi.proteus.admin.om.Connection getConnection(int index);",
"public String getConnectionURL (CConnection connection);",
"public String getConnectionURL (CConnection connection);",
"public Connections(String info) { \n\t\tnoteForConnection = info;\n\t\tArrayList<Chunk> c = SingletonInterpreter.getInterpreter().getChunks();\n\t\tsetChunks(c);\n\t\tcopyOfChunks = copyChunks(getChunks());\n\t\toldList = copyOfChunks;\n\t}",
"void getConnection() {\n }",
"public void connecting() {\n\n }",
"private ConnectionPool() {\r\n\t\tResourceManagerDB resourceManager = ResourceManagerDB.getInstance();\r\n\t\tthis.driver = resourceManager.getValue(ParameterDB.DRIVER_DB);\r\n\t\tthis.url = resourceManager.getValue(ParameterDB.URL_DB);\r\n\t\tthis.user = resourceManager.getValue(ParameterDB.USER_DB);\r\n\t\tthis.password = resourceManager.getValue(ParameterDB.PASSWORD_DB);\r\n\t\tthis.poolsize = Integer.parseInt(resourceManager.getValue(ParameterDB.POOLSIZE_DB));\r\n\t}",
"public void connexion() {\r\n\t\ttry {\r\n\r\n\t\t\tsoapConnFactory = SOAPConnectionFactory.newInstance();\r\n\t\t\tconnection = soapConnFactory.createConnection();\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\t}",
"ManagedConnection createManagedConnection(ExecutionContext ec, Map<String, Object> transactionOptions);",
"protected Connection createConnectionFigure() {\n\t\treturn new NormConnectionFigure();\n\t}",
"private void init() {\r\n\t\tif (cn == null) {\r\n\t\t\ttry {\r\n\t\t\t\tcn = new XGConnection(url,login,passwd); // Etape 2 : r�cup�ration de la connexion\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\ttry {\r\n\t\t\t\t\tTimeUnit.MINUTES.sleep(1);\r\n\t\t\t\t} catch (InterruptedException e2) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te2.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcn.close();// lib�rer ressources de la m�moire.\r\n\t\t\t\t} catch (SQLException e1) {\r\n\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public static void establishConnection() {\n try {\n PropertiesLoader loader = new PropertiesLoader();\n String sshUser = loader.loadProperty().getProperty(\"sshUser\");\n String sshPassword = loader.loadProperty().getProperty(\"sshPassword\");\n String sshHost = loader.loadProperty().getProperty(\"sshHost\");\n int sshPort = Integer.parseInt(loader.loadProperty().getProperty(\"sshPort\"));\n String remoteHost = loader.loadProperty().getProperty(\"remoteHost\");\n int localPort = Integer.parseInt(loader.loadProperty().getProperty(\"localPort\"));\n int remotePort = Integer.parseInt(loader.loadProperty().getProperty(\"remotePort\"));\n\n String dbUrl = loader.loadProperty().getProperty(\"dbUrl\");\n String dbUser = loader.loadProperty().getProperty(\"dbUser\");\n String dbPassword = loader.loadProperty().getProperty(\"dbPassword\");\n\n DatabaseManager.doSshTunnel(sshUser, sshPassword, sshHost, sshPort, remoteHost, localPort, remotePort);\n connection = DriverManager.getConnection(dbUrl, dbUser, dbPassword);\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }",
"protected Connection createConnectionFigure() {\r\n\t\treturn new ImplicitCallFigure();\r\n\t}",
"public DatabaseConnection newConnection();",
"public void connectToExternalServer()\n\t{\n\t\tbuildConnectionString(\"10.228.6.204\", \"\", \"ctec\", \"student\");\n\t\tsetupConnection();\n\t\t// createDatabase(\"Kyler\");\n\t}",
"public LDAPSDKConnection createSSLConnection() {\r\n return new NetscapeV3Connection(true);\r\n }",
"public synchronized void connectToCloud() {\n if (!Platform.cloudSelected) {\n // guarantee to execute once\n Platform.cloudSelected = true;\n AppConfigReader reader = AppConfigReader.getInstance();\n String name = reader.getProperty(EventEmitter.CLOUD_CONNECTOR, \"none\");\n if (\"none\".equalsIgnoreCase(name)) {\n // there are no cloud connector. Check if there are cloud services.\n startCloudServices();\n } else {\n SimpleClassScanner scanner = SimpleClassScanner.getInstance();\n List<ClassInfo> services = scanner.getAnnotatedClasses(CloudConnector.class, true);\n if (!startService(name, services, true)) {\n log.error(\"Cloud connector ({}) not found\", name);\n }\n }\n }\n }",
"protected void configureConnectionPool() {\n JdbcPropertyAdapter adapter = getPropertyAdapter(dbType, properties);\n JdbcConnectionProvider cp = new JdbcConnectionProvider(this.translator, adapter);\n this.connectionPool = new PoolConnectionProvider(cp, this.maxConnectionPoolSize);\n this.transactionProvider = new SimpleTransactionProvider(this.connectionPool);\n }",
"@Override\n public abstract void connect();",
"WithCreate withConnectionProfile(ConnectionProfile connectionProfile);",
"abstract public void openConnection();",
"@Override\n public List<Link> getConnectionList()\n {\n return connections;\n }",
"@Override\r\n\tpublic Connection connect(String url, Properties info) throws SQLException\r\n\t{\r\n\t\tif (!acceptsURL(url))\r\n\t\t\treturn null;\r\n\t\t// Parse URL\r\n\t\tConnectionProperties properties = ConnectionProperties.parse(url);\r\n\t\t// Get connection properties from properties\r\n\t\tproperties.setAdditionalConnectionProperties(info);\r\n\r\n\t\tCloudSpannerDatabaseSpecification database = new CloudSpannerDatabaseSpecification(properties.project,\r\n\t\t\t\tproperties.instance, properties.database);\r\n\t\tCloudSpannerConnection connection = new CloudSpannerConnection(this, url, database, properties.keyFile,\r\n\t\t\t\tproperties.oauthToken, properties.allowExtendedMode, info);\r\n\t\tconnection.setSimulateProductName(properties.productName);\r\n\t\tregisterConnection(connection);\r\n\r\n\t\treturn connection;\r\n\t}",
"public void connect(String hostname, int port, String username, String database, String password, boolean useSSL, boolean compress, int maxconnections) throws ClassNotFoundException, SQLException {\n while (connections.size() > 0) {\n ThreadConnection tconn = connections.pop();\n tconn.conn.close();\n }\n if (watchDog != null) {\n watchDog.terminate();\n }\n try {\n this.isCompetitionDB = null;\n this.hostname = hostname;\n this.port = port;\n this.username = username;\n this.password = password;\n this.database = database;\n properties = new Properties();\n properties.put(\"user\", username);\n properties.put(\"password\", password);\n properties.put(\"rewriteBatchedStatements\", \"true\");\n //properties.put(\"profileSQL\", \"true\");\n //properties.put(\"traceProtocol\", \"true\");\n //properties.put(\"logger\", \"edacc.model.MysqlLogger\");\n //properties.put(\"useUnbufferedInput\", \"false\");\n //properties.put(\"useServerPrepStmts\", \"true\");\n if (useSSL) {\n properties.put(\"useSSL\", \"true\");\n properties.put(\"requireSSL\", \"true\");\n }\n if (compress) {\n properties.put(\"useCompression\", \"true\");\n }\n /*java.io.PrintWriter w =\n new java.io.PrintWriter(new java.io.OutputStreamWriter(System.out));\n DriverManager.setLogWriter(w);*/\n \n Class.forName(\"com.mysql.jdbc.Driver\");\n this.maxconnections = maxconnections;\n watchDog = new ConnectionWatchDog();\n connections.add(new ThreadConnection(Thread.currentThread(), getNewConnection(), System.currentTimeMillis()));\n watchDog.start();\n } catch (ClassNotFoundException e) {\n throw e;\n } catch (SQLException e) {\n throw e;\n } finally {\n // inform Observers of changed connection state\n this.setChanged();\n this.notifyObservers();\n }\n }",
"@Override\n public Connection call() throws Exception {\n return createConnection();\n }",
"public ConnectionPoolDataSource createPoolDataSource(CConnection connection);",
"public ConnectionPoolDataSource createPoolDataSource(CConnection connection);",
"public String getConnection();",
"public Connection create() {\n\t\tif(ds==null)return null ;\n\t\ttry{\n\t\t\treturn ds.getConnection();\n\t\t}catch(Exception e ){\n\t\t\tSystem.out.println(e) ;\n\t\t\treturn null ;\n\t\t}\n\t\t\n\t}",
"private void setupconfigIpCPoints() {\n for (int i = 1; i <= 3; i++) {\n ConnectPoint connectPoint = new ConnectPoint(\n getDeviceId(i),\n PortNumber.portNumber(1));\n configIpCPoints.add(connectPoint);\n }\n }",
"public void setup(){\n this.cluster = Cluster.builder().addContactPoint(\"127.0.0.1\").build();\n this.session = this.cluster.connect(\"demo\");\n }",
"public\n Connection getConnection();",
"private void initConnection(Socket cli) {\t\n\tConnection conn = new Connection(this, cli);\n conn.setConnlist(connlist);\n\tThread t = new Thread(conn);\n\tt.start();\n\t\n\tconnlist.add(conn);\n\t\t\n\tsetConnectedStatus(true);\n }",
"Vector<JPPFClientConnection> getAvailableConnections();",
"public void getConnect() \n {\n con = new ConnectDB().getCn();\n \n }",
"public Connection getConnection();",
"public Connection getConnection();",
"public Connection getConnection();",
"public void open() throws JSchException {\n for ( TunnelConnection tunnelConnection : tunnelConnections ) {\n tunnelConnection.open();\n }\n }",
"protected Connection createConnectionFigure() {\n\t\treturn new SyncFigure();\n\t}",
"public void init() {\n configuration.init();\n \n //Connections connections = configuration.getBroker().getConnections(\"topic\");\n Connections connections = configuration.getBrokerPool().getBroker().getConnections(\"topic\");\n \n if (connections == null) {\n handleException(\"Couldn't find the connection factor: \" + \"topic\");\n }\n \n sensorCatalog = new SensorCatalog();\n clientCatalog = new ClientCatalog();\n \n nodeCatalog = new NodeCatalog();\n \n updateManager = new UpdateManager(configuration, sensorCatalog, this);\n updateManager.init();\n \n endpointAllocator = new EndpointAllocator(configuration, nodeCatalog);\n\n registry = new JCRRegistry(this);\n registry.init();\n\n // Initialize Public-End-Point\n if(!isPublicEndPointInit) {\n \tinitPublicEndpoint();\n }\n }",
"public ConnectionList() {\n connections = new ConcurrentHashMap<>();\n keyCounter = 0;\n }",
"void init() throws CouldNotInitializeConnectionPoolException;",
"abstract public boolean createConnection(String database);",
"java.util.List<io.netifi.proteus.admin.om.Connection> \n getConnectionsList();",
"String getConnection();",
"String getConnection();",
"String getConnection();",
"String getConnection();",
"void closeConnectionsPool();",
"public interface Pool {\n public PooledConnection getConnection();\n\n public void createConnection(int ocunt);\n}",
"private CuratorFramework createCurator() {\n // Create list of Servers\n final String serverStr = sharedZookeeperTestResource.getZookeeperConnectString();\n final List<String> serverList = Arrays.asList(Tools.splitAndTrim(serverStr));\n\n // Create config map\n final Map<String, Object> config = new HashMap<>();\n config.put(\"servers\", serverList);\n\n return CuratorFactory.createNewCuratorInstance(config, getClass().getSimpleName());\n }",
"@Override\n\tpublic void connect() {\n\t\t\n\t}",
"@Override\n\tpublic void connect() {\n\t\t\n\t}",
"public interface ConnectionProducer {\n\n /**\n * Build connection base on NBI vpn connection model.<br>\n * \n * @param connection The NBI vpn connection model\n * @return The connection group\n * @throws ServiceException when build connection failed\n * @since SDNO 0.5\n */\n ConnectionGroup buildNetConnection(NbiVpnConnection connection) throws ServiceException;\n\n /**\n * Build connection base on NBI internal vpn connection model.<br>\n * \n * @param connection The NBI internal vpn connection model\n * @return The connection group\n * @throws ServiceException when build connection failed\n * @since SDNO 0.5\n */\n ConnectionGroup buildNetConnection(InternalVpnConnection connection) throws ServiceException;\n}",
"default void connect() { }",
"private Connection () {}",
"NetworkClientConnection getConnection(String uriToNode);",
"public interface ConnectionFactory {\r\n\r\n /**\r\n * Creates a connection instance based on the given parameters.\r\n * \r\n * @param context\r\n * the context\r\n * @param <T>\r\n * the type of the objects that are handled by the connection.\r\n * @return the connection instance\r\n * @throws ConnectionBuildException\r\n * if creating the connection fails\r\n */\r\n public <T> Connection<T> createConnection( ConnectionContext<T> context ) throws ConnectionBuildException;\r\n\r\n}",
"Map getConnectionManagerMap();",
"protected Connection createConnection() {\n Properties connectionProperties = new Properties();\n JdbcPropertyAdapter adapter = getPropertyAdapter(dbType, properties);\n adapter.getExtraProperties(connectionProperties);\n\n String url = translator.getUrl(properties);\n logger.info(\"Opening connection to: \" + url);\n Connection connection;\n try {\n connection = DriverManager.getConnection(url, connectionProperties);\n connection.setAutoCommit(false);\n } catch (SQLException x) {\n throw translator.translate(x);\n }\n return connection;\n }"
] |
[
"0.67616224",
"0.6493082",
"0.61696726",
"0.6047278",
"0.5994237",
"0.5969304",
"0.5922478",
"0.5894126",
"0.58901435",
"0.5877589",
"0.58629924",
"0.5854297",
"0.5838389",
"0.5827732",
"0.58250064",
"0.5795101",
"0.5769538",
"0.57575",
"0.57491255",
"0.5721182",
"0.5721182",
"0.5721182",
"0.56961304",
"0.56837887",
"0.56824505",
"0.5681968",
"0.56719816",
"0.5632535",
"0.5621191",
"0.5613774",
"0.5606388",
"0.5604286",
"0.55956954",
"0.55913574",
"0.5587184",
"0.5584873",
"0.5570574",
"0.5566364",
"0.55569214",
"0.5552079",
"0.55503124",
"0.55503124",
"0.5544108",
"0.5539697",
"0.55387956",
"0.552227",
"0.55143976",
"0.5511349",
"0.5492714",
"0.5490939",
"0.54895025",
"0.54867864",
"0.5482477",
"0.54807156",
"0.5427127",
"0.541816",
"0.54170024",
"0.54135364",
"0.5413162",
"0.5405169",
"0.54037625",
"0.5396391",
"0.5380715",
"0.5380258",
"0.53682995",
"0.53682995",
"0.5365707",
"0.535848",
"0.53563774",
"0.5353703",
"0.5350188",
"0.5348912",
"0.53428",
"0.53378844",
"0.5316163",
"0.5316163",
"0.5316163",
"0.53158695",
"0.531297",
"0.5310213",
"0.53060776",
"0.5302217",
"0.53018284",
"0.5299357",
"0.529869",
"0.529869",
"0.529869",
"0.529869",
"0.52958983",
"0.52945143",
"0.52877885",
"0.5281814",
"0.5281814",
"0.52721417",
"0.5267342",
"0.5261573",
"0.5259145",
"0.52495265",
"0.52471024",
"0.5234472"
] |
0.6324447
|
2
|
Define class variables with contents of properties file File has been determined at this point.
|
public void loadProperties(){
try{
prop.load(file);
// get the property value and print it out
host = prop.getProperty("host");
port = prop.getProperty("port");
sslmode = prop.getProperty("sslmode");
source = prop.getProperty("source");
dbname = prop.getProperty("dbname");
help_url_prefix = prop.getProperty("base.help.url");
password = prop.getProperty("password");
user = prop.getProperty("user");
temp_dir = new File(System.getProperty("java.io.tmpdir")).toString();
working_dir = new File(System.getProperty("user.dir")).toString();
file.close();
}catch(IOException ioe){
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"void setPropertiesFile(File file);",
"private static void loadPropertiesFile() {\n checkNotNull(propertyFileName, \"propertyFileName cannot be null\");\n String currentDir = new File(\"\").getAbsolutePath();\n propertyFile = currentDir + \"/\" + propertyFileName;\n File propFile = new File(propertyFile);\n try {\n propFile.createNewFile();\n } catch (IOException ex) {\n Debugger.logMessage(ex);\n }\n\n props = new Properties();\n try {\n FileInputStream fis = new FileInputStream(propertyFile);\n props.load(fis);\n fis.close();\n } catch (IOException ex) {\n Debugger.logMessage(ex);\n }\n }",
"private void init(String propFilePath) {\n properties = new Properties();\n try {\n properties.load(new FileInputStream(new File(propFilePath)));\n } catch (FileNotFoundException e1) {\n logger.error(\"External properties file not found!\", e1);\n System.exit(1);\n } catch (IOException e2) {\n logger.error(\"Error while reading External properties file!\", e2);\n System.exit(1);\n }\n }",
"PropertiesTask setProperties( File propertiesFile );",
"public PropertiesUtil() {\n\t\t// Read properties file.\n\n\t\tproperties = new Properties();\n\t\ttry {\n\t\t\tproperties.load(PropertiesUtil.class.getClassLoader().getResourceAsStream(\"variables.properties\"));\n\t\t\tlog.info(\"variables.properties file loaded successfully\");\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\"variables.properties file not found: \", e);\n\t\t}\n\t}",
"private void getPropValues() {\n Properties prop = new Properties();\n \n InputStream inputStream = getClass().getClassLoader().getResourceAsStream(propFileName);\n try {\n prop.load(inputStream);\n } catch (IOException ex) {\n Logger.getLogger(PropResources.class.getName()).log(Level.SEVERE, null, ex);\n }\n if (inputStream == null) {\n try {\n throw new FileNotFoundException(\"ERROR: property file '\" + propFileName + \"' not found in the classpath\");\n } catch (FileNotFoundException ex) {\n Logger.getLogger(PropResources.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n // get property values\n this.defaultDirectory = prop.getProperty(\"defaultDirectory\");\n this.topicsFile = this.defaultDirectory + prop.getProperty(\"topics\");\n this.scripturesFile = this.defaultDirectory + prop.getProperty(\"scriptures\");\n this.defaultJournalXML = this.defaultDirectory + prop.getProperty(\"defaultJournalXML\");\n this.defaultJournalTxt = this.defaultDirectory + prop.getProperty(\"defaultJournalTxt\");\n }",
"private void loadData() {\n\n \tInputStream inputStream = this.getClass().getResourceAsStream(propertyFilePath);\n \n //Read configuration.properties file\n try {\n //prop.load(new FileInputStream(propertyFilePath));\n \tprop.load(inputStream);\n //prop.load(this.getClass().getClassLoader().getResourceAsStream(\"configuration.properties\"));\n } catch (IOException e) {\n System.out.println(\"Configuration properties file cannot be found\");\n }\n \n //Get properties from configuration.properties\n browser = prop.getProperty(\"browser\");\n testsiteurl = prop.getProperty(\"testsiteurl\");\n defaultUserName = prop.getProperty(\"defaultUserName\");\n defaultPassword = prop.getProperty(\"defaultPassword\");\n }",
"public BaseClass() {\n\t\t \n\t try {\n\t\t\t \n\t\t\t prop=new Properties();\n\t\t\t \n\t\t\tString path=System.getProperty(\"user.dir\");\n\t\t\t \n\t\t\t // FileInputStream is the pre-defined class\n\t\t\tFileInputStream ip=new FileInputStream(path+\"\\\\src\\\\main\\\\java\\\\com\\\\demoQA\\\\config\\\\Config.Properties\");\n\t\t\t prop.load(ip);\n\t\t} catch (FileNotFoundException e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t}\n\t\t \n\t\t \n\t }",
"void loadPropertiesFile()\n\t{\n\t\tlogger.info(\"Fetching the properties files\");\n\t\t\n\t\tconfigProp=new Properties(); \n\t\ttry{\tconfigProp.load(loadFile(\"Config.properties\"));\t\t} \n\t\tcatch (IOException e){\tAssert.assertTrue(\"Cannot initialise the Config properties file, Check if the file is corrupted\", false);\t}\t\t\t\n\t}",
"@Override\r\n\tpublic void setPropFile(Properties prop) {\n\t\t\r\n\t}",
"void load() {\n\t\ttry {\n\t\t\tfinal FileInputStream fis = new FileInputStream(propertyFile);\n\t\t\tfinal Properties newProperties = new Properties();\n\t\t\tnewProperties.load(fis);\n\t\t\ttimeLastRead = propertyFile.lastModified();\n\t\t\tproperties = newProperties;\n\t\t\tfis.close();\n\t\t} catch (final Exception e) {\n\t\t\tlogger.info(\"Property file \" + propertyFile + \" \" + e.getMessage());\n\t\t}\n\t}",
"private static synchronized void setProperties(\n final String strPropertiesFilename) {\n if (msbPropertiesLoaded) {\n Verbose.warning(\"Properties already loaded; ignoring request\");\n\n return;\n }\n\n File oFile = new File(strPropertiesFilename);\n\n if (!oFile.exists()) {\n // Try to get it from jar file\n ClassLoader classLoader = Thread.currentThread()\n .getContextClassLoader();\n final InputStream input;\n\n if (classLoader == null) {\n classLoader = Class.class.getClassLoader();\n }\n input = classLoader\n .getResourceAsStream('/' + strPropertiesFilename);\n PropertyDef.setProperties(input, null);\n } else {\n PropertyDef.setProperties(new File(strPropertiesFilename), null,\n false);\n }\n if (strPropertiesFilename == DEFAULT_PROPERTIES_FILENAME) {\n oFile = new File(CUSTOMER_PROPERTIES_FILENAME);\n if (oFile.exists() && oFile.isFile()) {\n PropertyDef.addProperties(oFile);\n }\n }\n AdaptiveReplicationTool.msbPropertiesLoaded = true;\n }",
"public void setupProp() {\r\n\t\tprop = new Properties();\r\n\t\tInputStream in = getClass().getResourceAsStream(\"C:/Users/Marcus/git/EmailProgram/EmailProgram/resources/config.properties\");\r\n\t\ttry {\r\n\t\t\tprop.load(in);\r\n\t\t\tFileInputStream fin = new FileInputStream(\"C:/Users/Marcus/git/EmailProgram/EmailProgram/resources/config.properties\");\r\n\t\t\tObjectInputStream ois = new ObjectInputStream(fin);\r\n\t\t\tdblogic = (PatronDBLogic) ois.readObject();\r\n\t\t\tois.close();\r\n\r\n\t\t} catch (IOException | ClassNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Properties() {\n\n\t\tconfig = new java.util.Properties();\n\n\t\ttry {\n\t\t\tInputStream input = new FileInputStream(new File(\n\t\t\t\t\t\"ConfigurationFile.txt\"));\n\t\t\tconfig.load(input);\n\n\t\t} catch (Exception e) {\n\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"public final Properties init() throws FileNotFoundException, IOException{\n /*\n Your properties file must be in the deployed .war file in WEB-INF/classes/tokens. It is there automatically\n if you have it in Source Packages/java/tokens when you build. That is how this will read it in without defining a root location\n https://stackoverflow.com/questions/2395737/java-relative-path-of-a-file-in-a-java-web-application\n */\n String fileLoc =TinyTokenManager.class.getResource(Constant.PROPERTIES_FILE_NAME).toString();\n fileLoc = fileLoc.replace(\"file:\", \"\");\n setFileLocation(fileLoc);\n InputStream input = new FileInputStream(propFileLocation);\n props.load(input);\n input.close();\n currentAccessToken = props.getProperty(\"access_token\");\n currentRefreshToken = props.getProperty(\"refresh_token\");\n currentS3AccessID = props.getProperty(\"s3_access_id\");\n currentS3Secret = props.getProperty(\"s3_secret\");\n currentS3BucketName = props.getProperty(\"s3_bucket_name\");\n currentS3Region = Region.US_WEST_2;\n apiSetting = props.getProperty(\"open_api_cors\");\n return props;\n }",
"@Override\n public Properties loadProperties(String filename) {\n return testProperties;\n }",
"public File getPropertyFile() { return propertyFile; }",
"private static void storePropsFile() {\n try {\n FileOutputStream fos = new FileOutputStream(propertyFile);\n props.store(fos, null);\n fos.close();\n } catch (IOException ex) {\n Debugger.logMessage(ex);\n }\n }",
"@SuppressWarnings(\"unchecked\")\n private void loadProperties()\n {\n File f = getPropertiesFile();\n if (!f.exists())\n return;\n \n m_props = (Map<String, Object>) PSConfigUtils.loadObjectFromFile(f);\n }",
"public void init() {\n this.properties = loadProperties(\"/project3.properties\");\n }",
"public void setPropertiesFile(File propertiesFile) {\n this.propertiesFile = propertiesFile;\n }",
"PropertiesTask setTargetFile( File propertiesFile );",
"private void loadProperties(){\n try {\n input = new FileInputStream(fileName);\n properties.load(input);\n } catch (IOException e) {\n System.out.println(\"--- FAILED TO LOAD GAME ---\");\n e.printStackTrace();\n } finally {\n if (input != null) {\n try {\n input.close();\n } catch (IOException e) {\n System.out.println(\"--- FAILED TO CLOSE INTPUT ---\");\n e.printStackTrace();\n }\n }\n }\n }",
"public void refresh() {\n try (InputStream stream = new FileInputStream(file)) {\n Map<String, String> properties = new HashMap<>();\n Properties props = new Properties();\n props.load(stream);\n for (String key : props.stringPropertyNames()) {\n properties.put(key, props.getProperty(key));\n }\n LOG.log(Level.FINEST, \"Loaded properties from \" + file);\n this.properties = properties;\n } catch (IOException e) {\n LOG.log(Level.FINEST, \"Cannot load properties from \" + file, e);\n }\n }",
"@Test\r\n\t\tpublic static void Properties() \r\n\r\n\t\t{\r\n\t\t\ttry{\r\n\t\t\t\tprop = new Properties();\r\n\t\t\t\tfile = new File(\"C:\\\\Users\\\\vardhan\\\\eclipse-workspace\\\\com.makemytrip\\\\prop.properties\");\r\n\t\t\t\tfilereader = new FileReader(file);\r\n\t\t\t\tprop.load(filereader);\r\n\t\t\t\t\r\n\t\t\t }\r\n\t\t\r\n\t\t\r\n\t\t\tcatch(Exception e)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\t\r\n\t\t\t}\r\n\t\t}",
"public Configuration(File configFile) {\r\n \t\tproperties = loadProperties(configFile);\r\n \t}",
"private void loadProperties() {\n Path path = getSamplePropertiesPath();\n LOG.info(\"Loading Properties from {}\", path.toString());\n try {\n FileInputStream fis = new FileInputStream(getSamplePropertiesPath().toFile());\n Properties properties = new Properties();\n properties.load(fis);\n\n String privateKey = properties.getProperty(PRIVATE_KEY);\n this.credentials = Credentials.create(privateKey);\n this.contract1Address = properties.getProperty(CONTRACT1_ADDRESS);\n this.contract2Address = properties.getProperty(CONTRACT2_ADDRESS);\n this.contract3Address = properties.getProperty(CONTRACT3_ADDRESS);\n this.contract4Address = properties.getProperty(CONTRACT4_ADDRESS);\n this.contract5Address = properties.getProperty(CONTRACT5_ADDRESS);\n this.contract6Address = properties.getProperty(CONTRACT6_ADDRESS);\n\n } catch (IOException ioEx) {\n // By the time we have reached the loadProperties method, we should be sure the file\n // exists. As such, just throw an exception to stop.\n throw new RuntimeException(ioEx);\n }\n }",
"private void initializeProperties(String propertiesFilename) throws IOException {\n this.properties = new Properties();\n\n // Set defaults for 'standard' operation.\n // properties.setProperty(FILENAME_KEY, clientHome + \"/bmo-data.tsv\");\n properties.setProperty(BMO_URI_KEY,\n \"http://www.buildingmanageronline.com/members/mbdev_export.php/download.txt\");\n\n FileInputStream stream = null;\n try {\n stream = new FileInputStream(propertiesFilename);\n properties.load(stream);\n System.out.println(\"Loading data input client properties from: \" + propertiesFilename);\n }\n catch (IOException e) {\n System.out.println(propertiesFilename\n + \" not found. Using default data input client properties.\");\n throw e;\n }\n finally {\n if (stream != null) {\n stream.close();\n }\n }\n trimProperties(properties);\n }",
"public FileServicePropertiesProperties() {\n }",
"public void IntialProperties() {\r\n Properties prop = new Properties();\r\n try (FileInputStream input = new FileInputStream(\"./config.properties\")) {\r\n prop.load(input);\r\n generate = prop.getProperty(\"generate\");\r\n solve = prop.getProperty(\"algorithm\");\r\n setChanged();\r\n notifyObservers(\"prop\");\r\n } catch (FileNotFoundException e) {\r\n e.printStackTrace();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n }",
"public GMailProperties(final String filepath, final String charsetName) throws FileNotFoundException, IOException {\r\n this.properties = new PropertyStorage(filepath, charsetName);\r\n }",
"@PostConstruct\n\tpublic void loadProperties() {\n\t\tproperties.put(PropertyKey.TRANSLATION_FILE_STORE, \"C:\\\\development\\\\projects\\\\mega-translator\\\\store\");\n\t}",
"public PropertyManager() {\n propFileName = System.getProperty(\"user.home\") + File.separator +\n defPropFile;\n\n recentResult = loadPropertyFile(propFileName);\n }",
"public static void LoadIntoConfigFiles()\n {\n \tProperties prop = new Properties();\n ///*\n \ttry {\n \t\t//set the properties value\n \n prop.setProperty(\"comp_name\", \"Teledom International Ltd\");\n prop.setProperty(\"com_city\", \"Lagos\");\n \t\tprop.setProperty(\"State\", \"Lagos\");\n \t\tprop.setProperty(\"logo_con\", \"logo.png\");\n \t\tprop.setProperty(\"front_frame\", \"front.png\");\n prop.setProperty(\"back_frame\", \"back.png\");\n \n \n \n \n \t\t//save properties to project root folder\n \t\tprop.store(new FileOutputStream(setupFileName), null);\n \n \t} catch (IOException ex) {\n \t\tex.printStackTrace();\n }\n // */\n \n \n \n }",
"public final void setUserPropertiesFile(final File cuserPropertiesFile) {\n\t\tthis.userPropertiesFile = cuserPropertiesFile;\n\t}",
"public static void loadPropertyFile() {\r\n\t\t\r\n\t\tif (loaded) {\r\n\t\t\tthrow new IllegalStateException(\"Properties have already been loaded!\"); \r\n\t\t}\r\n\t\tloaded = true; \r\n\t\t\r\n\t\t// if property file was specified, use it instead of standard property\r\n\t\t// file\r\n\r\n\t\tString file = STANDARD_PROPERTY_FILE;\r\n\r\n\t\tif (System.getProperty(PROPERTY_WHERE_TO_FIND_PROPERTY_FILE) != null\r\n\t\t\t\t&& System.getProperty(PROPERTY_WHERE_TO_FIND_PROPERTY_FILE)\r\n\t\t\t\t\t\t.length() != 0) {\r\n\t\t\tfile = System.getProperty(PROPERTY_WHERE_TO_FIND_PROPERTY_FILE);\r\n\t\t}\r\n\r\n\t\t// load property file\r\n\t\ttry {\r\n\t\t\tProperties props = System.getProperties();\r\n\t\t\tprops.load(ClassLoader.getSystemResourceAsStream(file));\r\n\t\t\tSystem.setProperties(props);\r\n\t\t} catch (IOException e) {\r\n\t\t\tthrow new RuntimeException(\"Property file was not found: \" + file\r\n\t\t\t\t\t+ \"! It must be located in the CLASSPATH and \"\r\n\t\t\t\t\t+ \"either be named 'chord.properties' or its name \"\r\n\t\t\t\t\t+ \"be specified by -Dchord.properties.file='filename'\", e);\r\n\t\t} catch (NullPointerException e) {\r\n\t\t\tthrow new RuntimeException(\"Property file was not found: \" + file\r\n\t\t\t\t\t+ \"! It must be located in the CLASSPATH and \"\r\n\t\t\t\t\t+ \"either be named 'chord.properties' or its name \"\r\n\t\t\t\t\t+ \"be specified by -Dchord.properties.file='filename'\", e);\r\n\t\t}\r\n\r\n\t}",
"public Property(String configFileName) {\r\n\r\n\t\tpositive = new String[] { \"fun\", \"happy\", \"positive\" };\r\n\t\tnegative = new String[] { \"sad\", \"bad\", \"angry\" };\r\n\t\tstop = new String[] { \"a\", \"an\", \"the\" };\r\n\t\tscoringmethod = 0;\r\n\t\tmindistance = 0.5;\r\n\r\n\t\tif (configFileName == null) {\r\n\t\t\tthrow new NullPointerException();\r\n\t\t}\r\n\t\tScanner in = null;\r\n\t\tScanner scan = null;\r\n\t\ttry {\r\n\t\t\tFile conf = new File(configFileName);\r\n\t\t\tin = new Scanner(conf);\r\n\t\t\twhile (in.hasNextLine()) {\r\n\t\t\t\tString line = in.nextLine().replace('=', ',');\r\n\t\t\t\tscan = new Scanner(line);\r\n\t\t\t\tscan.useDelimiter(\",\");\r\n\t\t\t\tString firstWord = scan.next();\r\n\t\t\t\tif (firstWord.equals(\"positive\")) {\r\n\t\t\t\t\tpositive = termsArray(scan);\r\n\t\t\t\t} else if (firstWord.equals(\"negative\")) {\r\n\t\t\t\t\tnegative = termsArray(scan);\r\n\t\t\t\t} else if (firstWord.equals(\"stop\")) {\r\n\t\t\t\t\tstop = termsArray(scan);\r\n\t\t\t\t} else if (firstWord.equals(\"scoringmethod\")) {\r\n\t\t\t\t\tString next = scan.next();\r\n\t\t\t\t\tscoringmethod = Integer.parseInt(next);\r\n\t\t\t\t} else if (firstWord.equals(\"mindistance\")) {\r\n\t\t\t\t\tString next = scan.next();\r\n\t\t\t\t\tmindistance = Double.parseDouble(next);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (NumberFormatException ex) {\r\n\t\t\tSystem.out.println(ex.getMessage());\r\n\t\t\tpositive = new String[] { \"fun\", \"happy\", \"positive\" };\r\n\t\t\tnegative = new String[] { \"sad\", \"bad\", \"angry\" };\r\n\t\t\tstop = new String[] { \"a\", \"an\", \"the\" };\r\n\t\t\tscoringmethod = 0;\r\n\t\t\tmindistance = 0.5;\r\n\t\t} catch (IOException ex) {\r\n\t\t\tSystem.out.println(ex.getMessage());\r\n\t\t\tpositive = new String[] { \"fun\", \"happy\", \"positive\" };\r\n\t\t\tnegative = new String[] { \"sad\", \"bad\", \"angry\" };\r\n\t\t\tstop = new String[] { \"a\", \"an\", \"the\" };\r\n\t\t\tscoringmethod = 0;\r\n\t\t\tmindistance = 0.5;\r\n\t\t} finally{\r\n\t\t\tif(scan != null)\r\n\t\t\t\tscan.close();\r\n\t\t}\r\n\t}",
"public CMProps(final Properties p, final String filename) {\n super(p);\n final char c = Thread.currentThread().getThreadGroup().getName().charAt(0);\n if (props[c] == null)\n props[c] = this;\n\n try {\n this.load(new ByteArrayInputStream(new CMFile(filename, null).raw()));\n loaded = true;\n } catch (final IOException e) {\n loaded = false;\n }\n }",
"public static void loadProperties() {\r\n\t\tif (!isLoaded) {\r\n\t\t\tnew BCProperties() ;\r\n\t\t\tisLoaded = true ;\r\n\t\t}\r\n\t}",
"protected void initVars() {\n prefFile = \"./server.ini\";\n mimeFile = \"./mime.ini\";\n }",
"public void createProperties(String nameClass) throws ClassNotFoundException, IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException {\n Object myInstanceBundle = Class.forName(\"utils2BundleConverter.\" + nameClass).newInstance();\n if (myInstanceBundle instanceof ListResourceBundle) {\n Method m = myInstanceBundle.getClass().getDeclaredMethod(\"getContents\");\n File file = new File(\"src\\\\utils2BundleConverter\\\\\" + nameClass + \".properties\");\n setFile(file);\n Object tmp = m.invoke(myInstanceBundle);\n Object[][] contents = (Object[][])tmp;\n for (Object[] content : contents) {\n writeCompareOutputFile(content[0] + \"=\" + content[1]);\n }\n }\n }",
"@BeforeSuite\n\tpublic void propertiesFileReader(){\n\t\tif(prop == null){\t\t\t\n\t\t\tprop = new Properties();\n\t\t\ttry {\n\t\t\t\t\n\t\t\t\t/*\n\t\t\t\t * if(strEnvironment.equalsIgnoreCase(\"qa\")){ prop.load(new\n\t\t\t\t * FileInputStream(qaProperty)); }else\n\t\t\t\t * if(strEnvironment.equalsIgnoreCase(\"stage\")){ prop.load(new\n\t\t\t\t * FileInputStream(stagProperty)); }else\n\t\t\t\t * if(strEnvironment.equalsIgnoreCase(\"prod\")){ prop.load(new\n\t\t\t\t * FileInputStream(prodProperty)); }\n\t\t\t\t */\n\t\t\t\t\n\t\t\t\tif(strEnvironment.equalsIgnoreCase(\"qa\")) \n\t\t\t\t\tFileUtils.copyFile(new File(qaProperty), new File(defaultProperty));\n\t\t\t\tif(strEnvironment.equalsIgnoreCase(\"stage\"))\n\t\t\t\t\tFileUtils.copyFile(new File(stagProperty), new File(defaultProperty));\n\t\t\t\tif(strEnvironment.equalsIgnoreCase(\"prod\"))\n\t\t\t\t\tFileUtils.copyFile(new File(prodProperty), new File(defaultProperty));\n\t\t\t\t\n\t\t\t\tprop.load(new FileInputStream(defaultProperty));\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"user + pass [\"+prop.getProperty(\"username\")+\"===\"+prop.getProperty(\"password\"));\n\t\t\t\t\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}",
"public ReadPropertyFile()\n\t{\n\t prob = new Properties(); \n\t \n\t try\n\t {\n\t FileInputStream fis = new FileInputStream(\".//config.properties\");\n\t prob.load(fis);\n\t }\n\t catch(FileNotFoundException e)\n\t {\n\t\t System.out.println(e.getMessage());\n\t }\n catch(IOException e)\n\t {\n \t System.out.println(e.getMessage());\n\t }\n\t}",
"public ConfigFileReader(){\r\n\t\tBufferedReader reader;\r\n\t\ttry {\r\n\t\t\treader = new BufferedReader(new FileReader(propertyFilePath));\r\n\t\t\tproperties = new Properties();\r\n\t\t\ttry {\r\n\t\t\t\tproperties.load(reader);\r\n\t\t\t\treader.close();\r\n\t\t\t}catch(IOException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}catch(FileNotFoundException ex) {\r\n\t\t\tSystem.out.println(\"Configuration.properties not found at \"+propertyFilePath);\r\n\t\t}\r\n\t}",
"public PropertiesPlus(File propertiesFile) throws IOException\n\t{\n\t\tsuper();\n\t\tpropertyFile = propertiesFile; \n\t\tdateFormatGMT.setTimeZone(TimeZone.getTimeZone(\"GMT\"));\n\t\tdateFormatGMT_MS.setTimeZone(TimeZone.getTimeZone(\"GMT\"));\n\t\tload(new FileReader(propertiesFile));\n\t}",
"public final void loadPropertiesFromFile(final String fileName)\n {\n\n Properties tempProp = PropertyLoader.loadProperties(fileName);\n fProp.putAll(tempProp);\n\n }",
"public DBCredentials() {\n try {\n // Get the inputStream\n InputStream inputStream = this.getClass().getClassLoader()\n .getResourceAsStream(file);\n\n Properties properties = new Properties();\n\n // load the inputStream using the Properties\n properties.load(inputStream);\n // get the value of the property\n this.dbUser = properties.getProperty(\"Username\");\n this.dbPassword = properties.getProperty(\"Password\");\n this.dbUrl = properties.getProperty(\"DataBase\");\n\n } catch (IOException e) {\n System.out.println(\"IOException\");\n e.printStackTrace();\n }\n }",
"private void initProperties()\r\n {\r\n try\r\n {\r\n properties.load(new FileInputStream(propertiesURL));\r\n }\r\n catch (IOException ex)\r\n {\r\n log.log(DEBUG,\"\"+ex);\r\n } \r\n }",
"public DetectionProperties() throws Exception {\n super(DetectionProperties.class.getResourceAsStream(PROPERTIES_FILE_NAME));\n }",
"private void writeProperties() {\n propsMutex.writeAccess(new Runnable() {\n public void run() {\n OutputStream out = null;\n FileLock lock = null;\n try {\n FileObject pFile = file.getPrimaryFile();\n FileObject myFile = FileUtil.findBrother(pFile, extension);\n if (myFile == null) {\n myFile = FileUtil.createData(pFile.getParent(), pFile.getName() + \".\" + extension);\n }\n lock = myFile.lock();\n out = new BufferedOutputStream(myFile.getOutputStream(lock));\n props.store(out, \"\");\n out.flush();\n lastLoaded = myFile.lastModified();\n logger.log(Level.FINE, \"Written AssetData properties for {0}\", file);\n } catch (IOException e) {\n Exceptions.printStackTrace(e);\n } finally {\n if (out != null) {\n try {\n out.close();\n } catch (IOException ex) {\n Exceptions.printStackTrace(ex);\n }\n }\n if (lock != null) {\n lock.releaseLock();\n }\n }\n }\n });\n }",
"public static void main(String[] args) {\n\t\tpublic static CfgSingletonfactory getpropertiesfromFile() {\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"public abstract String getPropertyFile();",
"void loadProperties(final String fileName){\n mProperties = new Properties();\n try {\n InputStreamReader stream = new InputStreamReader(CoreLib.getAppContext().getResources().\n getAssets().open(fileName));\n mProperties.load(stream);\n }catch (IOException e){\n throw new Error(\"Make sure you have both properties file(\" + fileName + \")present under assets\");\n }\n }",
"public void extractProperties(File file) {\n\t\tFile input = file;\n\t\tBufferedReader stream;\n\t\ttry {\n\t\t\tString line;\n\t\t\tMatcher m_title, m_subtitle, m_spacing;\n\t\t\tStringBuffer extractable = new StringBuffer();\n\t\t\tstream = new BufferedReader(new FileReader(input));\n\t\t\t\n\t\t\t/* Read all comment lines from the input file and concatenate them */\n\t\t\twhile ((line = stream.readLine()) != null) {\n\t\t\t\tline = line.replaceAll(\"\\\\s+$\", \"\");\n\t\t\t\tTabString temp = new TabString(line);\n\t\t\t\tif (!line.isEmpty()) {\n\t\t\t\t\tif (temp.checkError() == TabString.ERROR_COMMENT)\n\t\t\t\t\t\textractable.append(\"%\" + line + \"%\");\n\t\t\t\t\telse\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t/* Return if nothing was found */\n\t\t\tif (extractable.length() == 0) {\n\t\t\t\tstream.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\tm_title = TITLE_PATTERN.matcher(extractable.toString());\n\t\t\tm_subtitle = SUBTITLE_PATTERN.matcher(extractable.toString());\n\t\t\tm_spacing = SPACING_PATTERN.matcher(extractable.toString());\n\t\t\t\n\t\t\t/* Set the title to the extracted title */\n\t\t\tif (m_title.find())\n\t\t\t\tthis.setTitle(m_title.group(VALUE_POSITION));\n\t\t\t\n\t\t\t/* Set the subtitle to the extracted subtitle */\n\t\t\tif (m_subtitle.find())\n\t\t\t\tthis.setSubtitle(m_subtitle.group(VALUE_POSITION));\n\t\t\t\n\t\t\t/* Set the spacing to the extracted spacing */\n\t\t\tif (m_spacing.find())\n\t\t\t\tthis.setSpacing(Float.parseFloat(m_spacing.group(VALUE_POSITION)));\n\t\t\t\t\n\t\t\tstream.close();\n\t\t\t\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void init()\n {\n try\n {\n userPasswordsProperties = new Properties();\n userPasswordsProperties.load(new FileInputStream(userPasswordsPropertiesFileName));\n log.info(\"Successfully initialized. UsersPasswords property file is: \" + userPasswordsPropertiesFileName);\n }\n catch (Exception e)\n {\n throw new IllegalArgumentException(\"UserNamesPropertyFile name: \" + userPasswordsPropertiesFileName + \" not valid. Error: \" + e);\n }\n \n }",
"private void storeProperties() {\n storeValue(Variable.MODE);\n storeValue(Variable.ITEM);\n storeValue(Variable.DEST_PATH);\n storeValue(Variable.MAXTRACKS_ENABLED);\n storeValue(Variable.MAXTRACKS);\n storeValue(Variable.MAXSIZE_ENABLED);\n storeValue(Variable.MAXSIZE);\n storeValue(Variable.MAXLENGTH_ENABLED);\n storeValue(Variable.MAXLENGTH);\n storeValue(Variable.ONE_MEDIA_ENABLED);\n storeValue(Variable.ONE_MEDIA);\n storeValue(Variable.CONVERT_MEDIA);\n storeValue(Variable.CONVERT_COMMAND);\n storeValue(Variable.NORMALIZE_FILENAME);\n storeValue(Variable.RATING_LEVEL);\n }",
"private void loadPropertiesFile(String propertiesFile) {\n\n\t\t//open the properties file.\n\t\t_props = new Properties();\n\n\t\t//sanity check the properties file\n\t\tFile f = new File(propertiesFile);\n\t\tif (!f.canRead()) {\n\t\t\t//print an error - can't read the props file.\n\t\t\tSystem.err.println(\"Properties file \" + propertiesFile + \" cannot be read.\");\n\t\t}\n\n\t\ttry {\n\t\t\t_props.load(new FileInputStream(f));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public ConfigFileReader(){\r\n\t\t \r\n\t\t BufferedReader reader;\r\n\t\t try {\r\n\t\t\t reader = new BufferedReader(new FileReader(propertyFilePath));\r\n\t\t\t properties = new Properties();\r\n\t\t\t try {\r\n\t\t\t\t properties.load(reader);\r\n\t\t\t\t reader.close();\r\n\t\t\t } catch (IOException e) {\r\n\t\t\t\t e.printStackTrace();\r\n\t\t\t }\r\n\t\t } catch (FileNotFoundException e) {\r\n\t\t\t e.printStackTrace();\r\n\t\t\t throw new RuntimeException(\"configuration.properties not found at \" + propertyFilePath);\r\n\t \t } \r\n\t }",
"private void loadPropertyFile(InputStream stream) throws IOException{\n\t\tproperties = new Properties();\n\t\tproperties.load(stream);\n\t}",
"public CMProps(String filename) {\n final char c = Thread.currentThread().getThreadGroup().getName().charAt(0);\n if (props[c] == null)\n props[c] = this;\n try {\n final CMFile F = new CMFile(filename, null);\n if (F.exists()) {\n this.load(new ByteArrayInputStream(F.textUnformatted().toString().getBytes()));\n loaded = true;\n } else\n loaded = false;\n } catch (final IOException e) {\n loaded = false;\n }\n }",
"public Properties propertiesSource() {\n\t\tSystem.out.println(\"code execution is reaching propertiesSource()\");\n\t\tProperties properties = new Properties();\n\t\tproperties.put(\"name of property in property file\", environment.getRequiredProperty(\n\t\t\t\t\"name of property in property file\"));\n\t\treturn properties;\n\t}",
"private void addProperties() {\n\n\t\t/**\n\t\t * Add fusion.conf = src/test/resource\n\t\t */\n\t\tif (isPropertyRequired(\"fusion.conf.dir\")) {\n\t\t\texpect(bundleContextMock.getProperty(\"fusion.conf.dir\")).andReturn(\n\t\t\t\t\t\"src/test/resources/\").anyTimes();\n\t\t}\n\t\t/**\n\t\t * set fusion.process.dir\n\t\t */\n\t\tif (isPropertyRequired(\"fusion.process.dir\")) {\n\t\t\texpect(bundleContextMock.getProperty(\"fusion.process.dir\"))\n\t\t\t\t\t.andReturn(\"src/test/resources/\").anyTimes();\n\t\t}\n\n\t\t/**\n\t\t * set fusion.process.temp\n\t\t */\n\t\tif (isPropertyRequired(\"fusion.process.temp.dir\")) {\n\t\t\texpect(bundleContextMock.getProperty(\"fusion.process.temp.dir\"))\n\t\t\t\t\t.andReturn(\"src/test/resources/\").anyTimes();\n\t\t}\n\n\t\t/**\n\t\t * set fusion.home\n\t\t */\n\t\tif (isPropertyRequired(\"fusion.home\")) {\n\t\t\texpect(bundleContextMock.getProperty(\"fusion.home\")).andReturn(\n\t\t\t\t\t\"src/test/resources/\").anyTimes();\n\t\t}\n\t}",
"private void loadProperties() {\n try (InputStream in = getClass().getClassLoader().getResourceAsStream(PATH_TO_PROPERTIES)) {\n this.prs.load(in);\n } catch (IOException e1) {\n e1.printStackTrace();\n }\n }",
"public static void readProperties(String propFilename){\n\t\tString propertiesFilename = propFilename;\n\t\tProperties properties = new Properties();\n\n\t\tFileInputStream in;\n\t\ttry {\n\t\t\tin = new FileInputStream(propertiesFilename);\n\t\t\tproperties.load(in);\n\t\t\tin.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error reading properties \"+propertiesFilename);\n\t\t\tSystem.exit(1);\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tString path=\"Not set\";\n\t\tint popSize=0;\n\t\tint features=0;\n\t\tint maxGenerations=0;\n\t\tboolean log=false;\n\t\tboolean debug=false;\n\t\tboolean printbest=false;\n\t\tboolean cwd=false;\n\t\tboolean arrcache=false;\n\t\tdouble addSubRangeH;\n\t\tdouble divMultRangeH;\n\t\tdouble randomThicknessRange;\n\t\tdouble randomVelocityRange;\n\n\t\tdouble addSubRangeVS;\n\t\tdouble divMultRangeVS;\n\n\t\tint zThreshold=0;\n\t\tboolean useThreshold = true;\n\n\tif(properties.containsKey(\"path\")){\n\t\tpath = ((String)properties.get(\"path\"));\n\t\tif(properties.containsKey(\"cwd\")){\n\t\t\tcwd = Boolean.parseBoolean((String)properties.get(\"cwd\"));\n\t\t}\n\t\tc.path=path;\n\t\tc.setPaths(cwd);\n\t}else{\n\t\tSystem.out.println(\"Path : \"+path);\n\t\tSystem.exit(1);\n\t}if(properties.containsKey(\"populationSize\")){\n\t\tpopSize = Integer.parseInt((String)properties.get(\"populationSize\"));\n\t\tc.populationSize =popSize;\n\t}if(properties.containsKey(\"printBest\")){\n\t\tprintbest = Boolean.parseBoolean((String)properties.get(\"printBest\"));\n\t\tc.printBest=printbest;\n\t}if(properties.containsKey(\"maxGenerations\")){\n\t\tmaxGenerations = Integer.parseInt((String)properties.get(\"maxGenerations\"));\n\t\tc.maxGenerations=maxGenerations;\n\t}if(properties.containsKey(\"log\")){\n\t\tlog = Boolean.parseBoolean((String)properties.get(\"log\"));\n\t\tc.log=log;\n\t}if(properties.containsKey(\"debug\")){\n\t\tdebug = Boolean.parseBoolean((String)properties.get(\"debug\"));\n\t\tc.debug=debug;\n\t}if(properties.containsKey(\"features\")){\n\t\tfeatures = Integer.parseInt((String)properties.get(\"features\"));\n\t\tc.features=features;\n\t}if(properties.containsKey(\"addSubRangeH\")){\n\t\taddSubRangeH = Double.parseDouble((String)properties.get(\"addSubRangeH\"));\n\t\tc.addSubRangeH=addSubRangeH;\n\t}if(properties.containsKey(\"addSubRangeVS\")){\n\t\taddSubRangeVS = Double.parseDouble((String)properties.get(\"addSubRangeVS\"));\n\t\tc.addSubRangeVS=addSubRangeVS;\n\t}if(properties.containsKey(\"divMultRangeH\")){\n\t\tdivMultRangeH = Double.parseDouble((String)properties.get(\"divMultRangeH\"));\n\t\tc.divMultRangeH=divMultRangeH;\n\t}if(properties.containsKey(\"divMultRangeVS\")){\n\t\tdivMultRangeVS = Double.parseDouble((String)properties.get(\"divMultRangeVS\"));\n\t\tc.divMultRangeVS=divMultRangeVS;\n\t}if(properties.containsKey(\"randomThicknessRange\")){\n\t\trandomThicknessRange = Double.parseDouble((String)properties.get(\"randomThicknessRange\"));\n\t\tc.randomThicknessRange=randomThicknessRange;\n\t}if(properties.containsKey(\"randomVelocityRange\")){\n\t\trandomVelocityRange = Double.parseDouble((String)properties.get(\"randomVelocityRange\"));\n\t\tc.randomVelocityRange=randomVelocityRange;\n\t}if(properties.containsKey(\"zThreshold\")){\n\t\tzThreshold = Integer.parseInt((String)properties.get(\"zThreshold\"));\n\t\tc.zThreshold=zThreshold;\n\t}if(properties.containsKey(\"useThreshold\")){\n\t\tuseThreshold = Boolean.parseBoolean((String)properties.get(\"useThreshold\"));\n\t\tc.useThreshold=useThreshold;\n\t}\n\n\tSystem.out.println(\" Debug? \"+debug + \" | Log? \"+ log + \" | printBest? \"+ printbest);\n\tSystem.out.println(\"Pop: \"+c.populationSize+\" | Max Gens: \"+ maxGenerations+ \"\\nPath: \"+c.path);\n\tSystem.out.println(\"randomThicknessRange :\"+c.randomThicknessRange+\" randomVelocityRange :\"+c.randomVelocityRange);\n\tSystem.out.println(\"AddSubRange H :\"+c.addSubRangeH+\" VS :\"+c.addSubRangeVS);\n\tSystem.out.println(\"divMultRange H :\"+c.divMultRangeH+\" VS :\"+c.divMultRangeVS);\n\tSystem.out.println(\"Threshold ? \"+c.useThreshold+\" : \"+c.zThreshold);\n\t}",
"File getPropertiesFile();",
"public TestBase() {\n try {\n properties = new Properties();\n FileInputStream fileInputStream = new FileInputStream(\"F:/LearningStuff/PracticalWork\" +\n \"/Frameworks/DataDrivenFrameworkSelenium/src/main/resources/config/config.properties\");\n properties.load(fileInputStream);\n } catch (FileNotFoundException f) {\n f.printStackTrace();\n } catch (IOException i) {\n i.printStackTrace();\n }\n }",
"public static void loadProperties(String filename) {\n\n if (filename.equals(\"\")) {\n return;\n }\n propfilename = userhome + FS + filename;\n File f = new File(propfilename);\n if (f.exists()) {\n //loadProperties(propfilename);\n } else {\n propfilename = userhome + FS + \"Properties\" + FS + filename;\n f = new File(propfilename);\n if (f.exists()) {\n //loadProperties(propfilename);\n }\n }\n\n try {\n try (FileInputStream i = new FileInputStream(propfilename)) {\n prop.load(i);\n //prtProperties();\n }\n } catch (FileNotFoundException e) {\n System.out.println(\" ** Properties file not found=\" + propfilename + \" userhome=\" + userhome + \" \" + System.getProperty(\"user.home\"));\n saveProperties();\n } catch (IOException e) {\n System.out.println(\"IOException reading properties file=\" + propfilename);\n System.exit(1);\n }\n }",
"public static void loadPropertyFile() throws IOException {\n\t\tPropertyFileReader.property = new Properties();\n\t\tPropertyFileReader.targetPlatform = System.getProperty(\"targetPlatform\");\n\t\tPropertyFileReader.targetDevice = System.getProperty(\"targetDevice\");\n\n\t\t// Load the property file based on platform and device\n\n\t\tif (PropertyFileReader.targetPlatform.equalsIgnoreCase(\"android\")) {\n\t\t\tfinal File file = new File(String.valueOf(System.getProperty(\"user.dir\"))\n\t\t\t\t\t+ \"\\\\src\\\\main\\\\resources\\\\testdata\\\\\" + PropertyFileReader.targetPlatform + \"\\\\\"\n\t\t\t\t\t+ PropertyFileReader.targetDevice + \"\\\\capabilities.properties\");\n\t\t\tPropertyFileReader.filereader = new FileReader(file);\n\t\t\tPropertyFileReader.property.load(PropertyFileReader.filereader);\n\t\t}\n\n\t\tif (PropertyFileReader.targetPlatform.equalsIgnoreCase(\"iOS\")) {\n\t\t\t// To do in case of iOS\n\t\t}\n\t}",
"public GlobalSetup(){\n\t\t\n\t\tpropertyData = new Properties();\n\t\t\n\t\ttry{\n\t\t\tInputStream propertyPath = new FileInputStream(\"src/test/resources/properties/categoriesData.properties\");\n\t\t\tpropertyData.load(propertyPath);\n\t\t}catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t\t// TODO: handle exception\n\t\t}\n\t\t\n\t}",
"public File getPropertiesFile() {\n return propertiesFile;\n }",
"private static void readCitProperties(String fileName) {\n/* */ try {\n/* 91 */ ResourceLocation e = new ResourceLocation(fileName);\n/* 92 */ InputStream in = Config.getResourceStream(e);\n/* */ \n/* 94 */ if (in == null) {\n/* */ return;\n/* */ }\n/* */ \n/* */ \n/* 99 */ Config.dbg(\"CustomItems: Loading \" + fileName);\n/* 100 */ Properties props = new Properties();\n/* 101 */ props.load(in);\n/* 102 */ in.close();\n/* 103 */ useGlint = Config.parseBoolean(props.getProperty(\"useGlint\"), true);\n/* */ }\n/* 105 */ catch (FileNotFoundException var4) {\n/* */ \n/* */ return;\n/* */ }\n/* 109 */ catch (IOException var5) {\n/* */ \n/* 111 */ var5.printStackTrace();\n/* */ } \n/* */ }",
"public TestProperties() {\n\t\tthis.testProperties = new Properties();\n\t}",
"@Test\n public void testCreateFromProperties_Properties() throws Exception {\n System.out.println(\"createFromProperties\");\n Properties props = new Properties();\n props.load(Thread.currentThread().getContextClassLoader().getResourceAsStream(propertiesName));\n EngineConfiguration result = EngineConfiguration.createFromProperties(props);\n assertProperties(result);\n }",
"public void readProperties() {\r\n File directory = new File(OptionItems.XML_DEFINITION_PATH);\r\n if (directory.exists()) {\r\n propertyParserXML.readPropertyDefinition(configData.getPropertyList());\r\n propertyParserXML.processPropertyDependency();\r\n }\r\n Log.info(\"info.progress_control.load_property_description\");\r\n }",
"public void setupProperties() {\n // left empty for subclass to override\n }",
"private void loadProperties() {\n\t\t\n\t\tString fldr = env.getProperty(\"response.folder\");\n\t\tthis.repo.setRootFolder( new File(fldr));;\n\t\t\n\t\tint nthConfigItem = 1;\n\t\twhile(true) {\n\t\t\tString seq = (\"\"+nthConfigItem++).trim();\n\t\t\t\n\t\t\tString xpathPropName = \"request.\" + seq + \".xpath\";\n\t\t\tString responseTextFilePropName = \"request.\" + seq + \".response.file\";\n\t\t\tString xpath = env.getProperty(xpathPropName);\n\t\t\tString responseTextFileName = env.getProperty(responseTextFilePropName);\n\t\t\tif (xpath!=null && !\"\".equals(xpath.trim())\n\t\t\t\t&& responseTextFileName!=null & !\"\".equals(responseTextFileName.trim())\t) {\n\t\t\t\t\n\t\t\t\trepo.addFile(xpath, responseTextFileName);\n\t\t\t\tController.logAlways(\"Loading config item [\" + seq + \"] xpath: [\" + rpad(xpath, 60) + \"] data file: [\" + rpad(responseTextFileName,25) + \"]\" );\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tController.logAlways(\"End of littleMock initialization. No more properties from application.properties will be loaded because either [\" + xpathPropName + \"] or [\" + responseTextFilePropName + \"] was not found in application.properties.\");\n\t\t\t\t//parameters in application.properties must be\n\t\t\t\t//in sequential order, starting at 1.\n\t\t\t\t//When we discover the first missing one, stop looking for more.\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\thumanReadableConfig = PlaybackRepository.SINGLETON.humanReadable();\n\t}",
"public static void basefn() throws IOException {\r\n\t\t//Below line creates an object of Properties called 'prop'\r\n\t\tprop = new Properties(); \r\n\t\t\r\n\t\t//Below line creates an object of FileInputStream called 'fi'. Give the path of the properties file which you have created\r\n\t\tFileInputStream fi = new FileInputStream(\"D:\\\\Java\\\\workspace\\\\Buffalocart\\\\src\\\\test\\\\resources\\\\config.properties\");\r\n\t\t\r\n\t\t//Below line of code will load the property file\r\n\t\tprop.load(fi);\t\t\t\t\r\n\t}",
"public static void loadProperties() {\n properties = new Properties();\n try {\n File f = new File(\"system.properties\");\n if (!(f.exists())) {\n OutputStream out = new FileOutputStream(f);\n }\n InputStream is = new FileInputStream(f);\n properties.load(is);\n lastDir = getLastDir();\n if (lastDir == null) {\n lastDir = \"~\";\n setLastDir(lastDir);\n }\n properties.setProperty(\"lastdir\", lastDir);\n\n // Try loading properties from the file (if found)\n properties.load(is);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"void setKarafPropertiesFileLocation(String propFile);",
"public void loadObject() {\n\n obj = new Properties();\n try {\n obj.load(new FileInputStream(\"./src/test/resources/config.properties\"));\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 }",
"static void getProp() throws Exception {\r\n\r\n\t\tFileInputStream fileInputStream = new FileInputStream(\r\n\t\t\t\t\"C:\\\\repos\\\\test\\\\src\\\\main\\\\java\\\\test\\\\config.properties\");\r\n\r\n\t\tProperties properties = new Properties();\r\n\t\tproperties.load(fileInputStream);\r\n\r\n\t\tSystem.out.println(\"By using File Input stream class: \" + properties.getProperty(\"username\"));\r\n\r\n\t}",
"public static Properties file2Properties(File file) {\r\n Properties props = new Properties();\r\n FileInputStream stream = null;\r\n InputStreamReader streamReader = null;\r\n\r\n\r\n try {\r\n stream = new FileInputStream(file);\r\n streamReader = new InputStreamReader(stream, charSet);\r\n props.load(streamReader);\r\n } catch (IOException ex) {\r\n Logger.getLogger(RunProcessor.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n\r\n return props;\r\n }",
"private Properties loadProperties(String propertyFile) {\n\t\toAuthProperties = new Properties();\n\t\ttry {\n\t\t\toAuthProperties.load(App.class.getResourceAsStream(propertyFile));\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"Unable to read \" + propertyFile\n\t\t\t\t\t+ \" configuration. Make sure you have a properly formatted \" + propertyFile + \" file.\");\n\t\t\treturn null;\n\t\t}\n\t\treturn oAuthProperties;\n\t}",
"public void getConfigProperty() {\n Properties properties = new Properties();\n try(InputStream input = new FileInputStream(\"config.properties\");){\n properties.load(input);\n logger.info(\"BASE URL :\" + properties.getProperty(\"BASEURL\"));\n setBaseUrl(properties.getProperty(\"BASEURL\"));\n setLoginMode(properties.getProperty(\"LOGINMODE\"));\n setProjectId(properties.getProperty(\"PROJECTID\"));\n setReportId(properties.getProperty(\"REPORTID\"));\n if (!(properties.getProperty(\"PASSWORD\").trim().equals(\"\"))) {\n setPassword(properties.getProperty(\"PASSWORD\"));\n }\n if (!(properties.getProperty(\"USERNAME\").trim().equals(\"\"))) {\n setUserName(properties.getProperty(\"USERNAME\"));\n }\n }catch(IOException ex) {\n logger.debug(\"Failed to fetch value from configure file: \", ex);\n }\n\n }",
"public ConfigFile(String fileName, String encoding) {\n InputStream inputStream = null;\n try {\n inputStream = getClassLoader().getResourceAsStream(fileName); // properties.load(ConfigFile.class.getResourceAsStream(fileName));\n if (inputStream == null) {\n throw new IllegalArgumentException(\"Properties file not found in classpath: \" + fileName);\n }\n\n properties = new Properties();\n if (fileName.endsWith(\"yml\")){\n isYml = true;\n properties= new Yaml().loadAs(new InputStreamReader(inputStream, encoding),Properties.class);\n }else\n properties.load(new InputStreamReader(inputStream, encoding));\n } catch (IOException e) {\n throw new RuntimeException(\"Error loading properties file.\", e);\n } finally {\n if (inputStream != null) try {\n inputStream.close();\n } catch (IOException e) {\n LogKit.error(e.getMessage(), e);\n }\n }\n }",
"protected static Properties loadFileAsProperty(File file) throws FileNotFoundException, IOException {\r\n\t\tProperties result = new Properties();\r\n\t\tresult.load(new FileReader(file));\r\n\t\treturn result;\r\n\t}",
"public void init(){\n\t\tif(prop==null){\r\n\t\t\tprop=new Properties();\r\n\t\t\t\r\n\t\t\ttry {\r\n\t\t\t\tFileInputStream fs = new FileInputStream(System.getProperty(\"user.dir\")+\"//src//test//resources//projectconfig.properties\");\r\n\t\t\t\tprop.load(fs);\r\n\t\t\t\t\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\t\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private void storeProperties() {\n Path path = getSamplePropertiesPath();\n LOG.info(\"Storing Properties to {}\", path.toString());\n try {\n final FileOutputStream fos = new FileOutputStream(path.toFile());\n final Properties properties = new Properties();\n String privateKey = this.credentials.getEcKeyPair().getPrivateKey().toString(16);\n properties.setProperty(PRIVATE_KEY, privateKey);\n properties.setProperty(CONTRACT1_ADDRESS, this.contract1Address);\n properties.setProperty(CONTRACT2_ADDRESS, this.contract2Address);\n properties.setProperty(CONTRACT3_ADDRESS, this.contract3Address);\n properties.setProperty(CONTRACT4_ADDRESS, this.contract4Address);\n properties.setProperty(CONTRACT5_ADDRESS, this.contract5Address);\n properties.setProperty(CONTRACT6_ADDRESS, this.contract6Address);\n properties.store(fos, \"Sample code properties file\");\n\n } catch (IOException ioEx) {\n // By the time we have reached the loadProperties method, we should be sure the file\n // exists. As such, just throw an exception to stop.\n throw new RuntimeException(ioEx);\n }\n }",
"public PropertiesDocument() {\n\t\tthis.documentBuilderFactory = DocumentBuilderFactory.newInstance();\n try {\n\t\t\tthis.documentBuilder = documentBuilderFactory.newDocumentBuilder();\n\t\t} catch (ParserConfigurationException e) {\n\t\t\t// Exception with default configuration\n\t\t\te.printStackTrace();\n\t\t}\n this.properties = new Properties();\n\t}",
"@Override\r\n public void initValues() {\r\n try {\r\n crackedPasswords = Files.readAllLines(Paths.get(DefectivePasswordValidatorConstants.PASSWORD_FILE_PATH),\r\n StandardCharsets.UTF_8);\r\n } catch (IOException e) {\r\n log.error(\"Exception occured while reading and initializing values from \"\r\n + DefectivePasswordValidatorConstants.PASSWORD_FILE_NAME, e);\r\n }\r\n }",
"public static void load() {\n try {\n File confFile = SessionService.getConfFileByPath(Const.FILE_CONFIGURATION);\n UtilSystem.recoverFileIfRequired(confFile);\n // Conf file doesn't exist at first launch\n if (confFile.exists()) {\n // Now read the conf file\n InputStream str = new FileInputStream(confFile);\n try {\n properties.load(str);\n } finally {\n str.close();\n }\n }\n } catch (Exception e) {\n Log.error(e);\n Messages.showErrorMessage(114);\n }\n }",
"private void loadProperties() {\n\t\tInputStream propsFile;\n\t\tProperties tempProp = new Properties();\n\n\t\ttry {\n\t\t\t//propsFile = new FileInputStream(\"plugins\\\\balloonplugin\\\\BalloonSegmentation.properties\");\n\t\t\tpropsFile = getClass().getResourceAsStream(\"/BalloonSegmentation.properties\");\n\t\t\ttempProp.load(propsFile);\n\t\t\tpropsFile.close();\n\n\t\t\t// load properties\n\t\t\tinit_channel = Integer.parseInt(tempProp.getProperty(\"init_channel\"));\t\t\t\t// initial channel selected for segmenting the cell architecture 1 - red, 2 - green, 3 - blue\n\t\t\tinit_max_pixel = Integer.parseInt(tempProp.getProperty(\"init_max_pixel\"));\t\t\t// initial max pixel intensity used for finding the doundaries of the colony of cells\n\t\t\tinit_HL = Integer.parseInt(tempProp.getProperty(\"init_HL\"));\t\t\t\t\t\t// initial H*L factor used finding seeds in the population\n\t\t\tinit_min_I = Integer.parseInt(tempProp.getProperty(\"init_min_I\"));\t\t\t\t\t// initial pixel intensity when balloon algorithm starts\n\t\t\tinit_max_I = Integer.parseInt(tempProp.getProperty(\"init_max_I\"));\t\t\t\t\t// final pixel intensity when balloon algorithm stops\n\n\t\t}\n\t\tcatch (IOException ioe) {\n\t\t\tIJ.error(\"I/O Exception: cannot read .properties file\");\n\t\t}\n\t}",
"public void loadObjectData(String datafile) {\n\t\tProperties databaseAddData = new Properties();\n\t\ttry {\n\t\t\tdatabaseAddData.load(new FileInputStream(langFile));\n\t\t} catch (Exception e) {}\n\t\t//put values from the properties file into hashmap\n\t\tthis.properties.put(\"PROPERTY\", databaseAddData.getProperty(\"PROPERTY\"));\n\t}",
"public void load(File file)\n throws FileNotFoundException, IOException, MissingRequiredTestPropertyException \n {\n\t initializeTestProperties(new BufferedInputStream(new FileInputStream(file)));\n\t}",
"private LODEParameters(){\n prefsFile=new File(LODEConstants.PARAMS_FILE);\n }",
"public PropertyManager(String propFileName) {\n if ((propFileName != null) && (propFileName.length() > 0)) {\n this.propFileName = propFileName;\n recentResult = loadPropertyFile(propFileName);\n }\n }",
"public void writeProp(File propFile) {\n\t\tprop = new Properties();\n\n\t\t// File file = new File(\"../resources/files/Config.properties\");\n\n\t\tpropFile = new File(propFile.getAbsolutePath().replace(\"..\", \"src\\\\main\"));\n\n\t\ttry {\n\n\t\t\toutput = new FileOutputStream(propFile);\n\n\t\t\t// set the properties value\n\t\t\tprop.setProperty(\"database\", \"localhost\");\n\t\t\tprop.setProperty(\"dbuser\", \"mkyong\");\n\t\t\tprop.setProperty(\"dbpassword\", \"password\");\n\n\t\t\t// save properties to project root folder\n\t\t\tprop.store(output, null);\n\n\t\t} catch (Exception io) {\n\t\t\tio.printStackTrace();\n\t\t} finally {\n\t\t\tif (output != null) {\n\t\t\t\ttry {\n\t\t\t\t\toutput.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}",
"private void init() {\n\t\tif ( PropertiesConfigurationFilename == null ) {\n\t\t\tlogger.info(\"config.properties is default\");\n\t\t\tconfigProp = createDefaultProperties();\n\t\t} else {\n\t\t\ttry {\n\t\t\t\tlogger.info(\"config.properties is \"+ PropertiesConfigurationFilename.getAbsolutePath());\n\t\t\t\tconfigProp = new PropertiesConfiguration();\n\t\t\t\tconfigProp.load(PropertiesConfigurationFilename);\n\t\t\t} catch (ConfigurationException e) {\n\t\t\t\tlogger.error(\"Unable to open config file: \" + PropertiesConfigurationFilename.getAbsolutePath(), e);\n\t\t\t\tlogger.info(\"config.properties is default\");\n\t\t\t\tconfigProp = createDefaultProperties();\n\t\t\t}\n\t\t}\n\n\n\t\t// Load the locale information\n\t\tString locale = configProp.getString(\"locale\");\n\n\t\tconfigProp.setProperty(\"zmMsg\", ResourceBundle.getBundle(\"ZmMsg\", new Locale(locale)));\n\n\t\tconfigProp.setProperty(\"zhMsg\", ResourceBundle.getBundle(\"ZhMsg\", new Locale(locale)));\n\n\t\tconfigProp.setProperty(\"ajxMsg\", ResourceBundle.getBundle(\"AjxMsg\", new Locale(locale)));\n\n\t\tconfigProp.setProperty(\"i18Msg\", ResourceBundle.getBundle(\"I18nMsg\", new Locale(locale)));\n\n\t\tconfigProp.setProperty(\"zsMsg\", ResourceBundle.getBundle(\"ZsMsg\", new Locale(locale)));\n\n\t}",
"private void GetRequiredProperties() {\r\n\r\n\r\n\t\t\r\n\t\tProperties prop = new Properties();\r\n\t\t\r\n try {\r\n \r\n File file = new File(fileToRead);\r\n \r\n if (file.exists()) {\r\n logger.info(\"Config file exists\");\r\n } else {\r\n logger.error(\"Exception :: GetRequiredProperties :: Config file not found\");\r\n throw new RuntimeException(\"Exception :: GetRequiredProperties :: Config file not found\");\r\n }\r\n \r\n prop.load(new FileInputStream(file));\r\n\r\n } catch (Exception e) {\r\n\r\n logger.error(\"Exception :: GetRequiredProperties :: \" + e.getMessage(), e);\r\n\r\n throw new RuntimeException(\"Exception :: GetRequiredProperties :: \" + e.getMessage());\r\n }\r\n\r\n\t sifUrl = prop.getProperty(\"MDM_SIF_URL\");\r\n\t orsId = prop.getProperty(\"MDM_ORS_ID\");\r\n\t username = prop.getProperty(\"MDM_USER_NAME\");\r\n\t password = prop.getProperty(\"MDM_PASSWORD\");\r\n\t \r\n\t logger.info(\"SIF URL ::\" + sifUrl);\r\n\t logger.info(\"ORS ID ::\" + orsId );\r\n\t logger.info(\"User Id ::\" + username);\r\n\t logger.info(\"Password ::\" + password);\r\n\t \r\n\t\r\n\t}",
"public String accessLocationPropFile(){\n\t\tProperties prop = new Properties();\n\t\tString loc=\"\";\n\t\ttry {\n\t\t\t//load a properties file\n\t\t\tprop.load(new FileInputStream(\"C:/Users/SARA/Desktop/OpenMRS/de/DeIdentifiedPatientDataExportModule/api/src/main/resources/config1.properties\"));\n\t\t\tInteger a = getRandomBetween(1, 3);\n\t\t\tloc = prop.getProperty(a.toString());\n\n\t\t} catch (IOException ex) {\n\t\t\tlog.error(\"IOException in accessing Location File\", ex);\n\t\t}\n\t\treturn loc;\n\t}"
] |
[
"0.6914919",
"0.6621996",
"0.65530556",
"0.65371066",
"0.6490984",
"0.63823843",
"0.635147",
"0.635121",
"0.6325412",
"0.63203067",
"0.63031995",
"0.6299484",
"0.62982357",
"0.62614733",
"0.62427324",
"0.6215004",
"0.61814594",
"0.61687344",
"0.6120421",
"0.61097044",
"0.6106973",
"0.6104555",
"0.6089714",
"0.6076661",
"0.6071568",
"0.6047977",
"0.60318094",
"0.60180014",
"0.6014842",
"0.5979837",
"0.5977237",
"0.5971041",
"0.59692615",
"0.5947246",
"0.59372956",
"0.5932629",
"0.5929618",
"0.5925712",
"0.5901527",
"0.58968765",
"0.58910084",
"0.58709526",
"0.5869271",
"0.5859864",
"0.5859596",
"0.5852727",
"0.5846521",
"0.5841055",
"0.58283085",
"0.5827485",
"0.58231014",
"0.5817828",
"0.5814445",
"0.58015627",
"0.5801477",
"0.5800276",
"0.57989496",
"0.5790637",
"0.5783839",
"0.57794166",
"0.5769671",
"0.5760955",
"0.5753296",
"0.5749465",
"0.5742951",
"0.57285786",
"0.5724691",
"0.5716427",
"0.56910294",
"0.56903106",
"0.5688352",
"0.56738055",
"0.56736815",
"0.5672985",
"0.5667648",
"0.56641686",
"0.5661492",
"0.5659031",
"0.5657217",
"0.56530035",
"0.56514525",
"0.5648733",
"0.5646687",
"0.5635719",
"0.56325704",
"0.56229836",
"0.5618557",
"0.5613261",
"0.5600842",
"0.5593498",
"0.5589637",
"0.5589177",
"0.55858827",
"0.55793774",
"0.55784744",
"0.557576",
"0.5573507",
"0.55700386",
"0.5565767",
"0.5565132"
] |
0.64907867
|
5
|
Continuation of login; at this point user has been determined either from properties or login dialog Have to separate so that the proper username is used i.e. null might have been entered in properties file
|
public void postLoadProperties(){
try{
switch (source){
case "heroku":
URL = new String("jdbc:postgresql://" + host + ":" + port + "/" + dbname + "?sslmode=require&user=" + user + "&password=" +password );
break;
case "local":
URL = new String("jdbc:postgresql://" + host + "/" + dbname);
break;
case "elephantsql":
URL = new String("jdbc:postgresql://" + host + ":" + port + "/" + dbname + "?user=" + user + "&password=" +password + "&SSL=true" );
break;
}
// LOGGER.info("URL: " + URL);
dbm = new DatabaseManager( this );
if(authenticated){
dbr = dbm.getDatabaseRetriever();
dbi = dbm.getDatabaseInserter();
dmf = new DialogMainFrame(this);
}else{
JOptionPane.showMessageDialog(null,
"Invalid username or password. Session terminated.",
"Authentication Failure!",
JOptionPane.ERROR_MESSAGE);
}
}
catch(SQLException sqle){
LOGGER.info("SQL exception creating DatabaseManager: " + sqle);
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void login() {\n\t\tUser user = new User(\"admin\", \"12345678\", Role.ADMIN);\n\t\tuser.setEmail(\"[email protected]\");\n\t\t\n\t\tif(user != null) {\n\t\t\tuserBean.setLoggedInUser(user);\n\t\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\t\tHttpServletRequest req = (HttpServletRequest)context.getExternalContext().getRequest();\n\t\t\treq.getSession().setAttribute(ATTR_USER, user);\n\t\t}else{\n\t\t\tkeepDialogOpen();\n\t\t\tdisplayErrorMessageToUser(\"Wrong Username/Password. Try again\");\n\t\t}\n\t\t\n\t}",
"private void checkUser() {\n\t\tloginUser = mySessionInfo.getCurrentUser();\n\t}",
"private void logInBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_logInBtnActionPerformed\n User theUser = null;\n String[] options = {\"OK\"};\n String userName = userNameTF.getText();\n String password = passwordTF.getText();\n\n theUser = HF.findUser(userName);\n\n if (userNameTF.getText().equals(\"\") || passwordTF.getText().equals(\"\")){\n JOptionPane.showOptionDialog(this, \"Please fill in your username \"\n + \"and password!\",\n \"\", JOptionPane.ERROR_MESSAGE, JOptionPane.INFORMATION_MESSAGE,\n null, options, options[0] );\n }\n else if (theUser == null) {\n JOptionPane.showOptionDialog(this, \"No such username!\",\n \"\", JOptionPane.ERROR_MESSAGE, JOptionPane.INFORMATION_MESSAGE,\n null, options, options[0] );\n }\n else if (!theUser.getPassword().equals(password)) {\n JOptionPane.showOptionDialog(this, \"Invalid password!\",\n \"\", JOptionPane.ERROR_MESSAGE, JOptionPane.INFORMATION_MESSAGE,\n null, options, options[0] );\n }\n else {\n if (theUser instanceof Trainer){\n TrainerMenu tm = new TrainerMenu(this, (Trainer)theUser);\n tm.setVisible(true);\n this.setVisible(false);\n }\n else if (theUser instanceof Member){\n MemberMenu mm = new MemberMenu(this, (Member)theUser);\n mm.setVisible(true);\n this.setVisible(false);\n }\n userNameTF.setText(\"\");\n passwordTF.setText(\"\");\n }\n }",
"public void login(ActionEvent event) throws IOException {\n\t\t//if user is admin, open admin screen\n\t\tif(username.getText().toLowerCase().equals(\"admin\")) {\n\t\t\t//open admin screen\n\t\t\tMain.changeScene(\"/view/admin.fxml\", \"Administrator Dashboard\");\t\t\t\n\t\t}\n\t\t//if user is blank, throw error\n\t\telse if(username.getText().isEmpty()){\n\t\t\tinvalidUserError.setVisible(true);\n\t\t}\n\t\t//otherwise make sure user exists and if they do set current user and change screen, if not throw error.\n\t\telse {\n\t\t\tfor(User user : UserState.getAllUsers()) {\n\t\t\t\tif(user.getUserName().toLowerCase().equals(username.getText().toLowerCase())) {\n\t\t\t\t\tUserState.setCurrentUser(user);\n\t\t\t\t\tMain.changeScene(\"/view/userhome.fxml\", \"User Home\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tinvalidUserError.setVisible(true);\n\t\t\tusername.setText(\"\");\n\t\t}\n\t}",
"private void serchUser() {\n if (!userNameTextField.getText().isEmpty() && !passwordPasswordField.getText().isEmpty()) {\n try {\n User user = UserController.searchUserByUserName(userNameTextField.getText());\n if (user != null) {\n if (passwordPasswordField.getText().equals(user.getPassword())) {\n closeFadeOut();\n Hi hi = new Hi();\n hi.setUser(user);\n hi.setVisible(true);\n dispose();\n } else {\n JOptionPane.showMessageDialog(this, \"Incorrect username or password !\");\n passwordPasswordField.setText(\"\");\n userNameTextField.requestFocus();\n userNameTextField.selectAll();\n }\n } else {\n JOptionPane.showMessageDialog(this, \"Incorrect username or password !\");\n passwordPasswordField.setText(\"\");\n userNameTextField.requestFocus();\n userNameTextField.selectAll();\n }\n\n } catch (ClassNotFoundException ex) {\n ex.printStackTrace();\n } catch (SQLException ex) {\n ex.printStackTrace();\n }\n } else {\n JOptionPane.showMessageDialog(this, \"Please enter username and password\");\n passwordPasswordField.setText(\"\");\n userNameTextField.requestFocus();\n userNameTextField.selectAll();\n }\n\n }",
"public void login(ActionEvent e) throws IOException {\r\n\t\t\r\n \tString username = loginuser.getText().trim();\r\n \t//if user is admin, change to userlist screen\r\n \tif (username.equals(\"admin\")) {\r\n \tPhotos.userlistscreen();\r\n \t} else {\r\n \t\tUser user = currentAdmin.findUser(username);\r\n \t\t//if user is found, log into that user and show the album view for that user specifically\r\n \t\tif (user!=null) {\r\n \t\t\tAlbumController.currentUser = (NonAdmin) user;\r\n \t\t\tCopyController.currentUser = (NonAdmin) user;\r\n \t\t\tMoveController.currentUser = (NonAdmin) user;\r\n \t\t\tPhotos.albumscreen(user);\r\n \t\t}\r\n \t\telse {\r\n \t\t\tAlert alert = new Alert(Alert.AlertType.ERROR);\r\n \t\t\talert.setTitle(\"Error\");\r\n \t\t\talert.setHeaderText(\"Invalid username\");\r\n \t\t\talert.setContentText(\"Please try again\");\r\n \t\t\talert.showAndWait();\r\n \t\t\tloginuser.setText(\"\");\r\n \t\t}\r\n \t}\r\n\t}",
"public void login() {\n if (!areFull()) {\n return;\n }\n\n // Get the user login info\n loginInfo = getDBQuery(nameField.getText());\n if (loginInfo.equals(\"\")) {\n return;\n }\n\n // Get password and check if the entered password is true\n infoArray = loginInfo.split(\" \");\n String password = infoArray[1];\n if (!passField.getText().equals(password)) {\n errorLabel.setText(\"Wrong Password!\");\n return;\n }\n\n continueToNextPage();\n }",
"private void attemptUsernamePasswordLogin()\n {\n if (mAuthTask != null)\n {\n return;\n }\n\n if(mLogInButton.getText().equals(getResources().getString(R.string.logout)))\n {\n mAuthTask = new RestCallerPostLoginTask(this,mStoredToken,MagazzinoService.getAuthenticationHeader(this),true);\n mAuthTask.execute(MagazzinoService.getLogoutService(this));\n return;\n }\n // Reset errors.\n mUsernameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mUsernameView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password))\n {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email))\n {\n mUsernameView.setError(getString(R.string.error_field_required));\n focusView = mUsernameView;\n cancel = true;\n }\n else if (!isUsernameOrEmailValid(email))\n {\n mUsernameView.setError(getString(R.string.error_invalid_email));\n focusView = mUsernameView;\n cancel = true;\n }\n\n if (cancel)\n {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n return;\n }\n\n mAuthTask = new RestCallerPostLoginTask(this,email, password);\n mAuthTask.execute(MagazzinoService.getLoginService(this));\n\n }",
"Login(String strLogin)\n {\n \tsetLogin(strLogin);\n }",
"private void logIn() {\n char[] password = jPasswordField1.getPassword();\n String userCode = jTextField1.getText();\n\n String txtpassword = \"\";\n for (char pw : password) {\n txtpassword += pw;\n }\n if (\"\".equals(txtpassword)) {\n JOptionPane.showMessageDialog(this, textBundle.getTextBundle().getString(\"enterPassword\"), \"No Password\", JOptionPane.WARNING_MESSAGE);\n } else if (txtpassword.equals(userData.get(0).toString())) {\n jPasswordField2.setEnabled(true);\n jPasswordField3.setEnabled(true);\n jPasswordField2.setEditable(true);\n jPasswordField3.setEditable(true);\n jPasswordField2.grabFocus();\n }\n }",
"@FXML\n private void handleLoginAttempt() {\n\n if (isInputValid()) {\n String uname = userField.getText();\n if (Model.doesUsernameExist(uname)) {\n User user = Model.verifyLogin(uname, pwField.getText());\n\n if (user == null) {\n // uname exists but incorrect login\n user = UserInfoTable.getUserFromUserName(uname);\n _loginAuthenticated = false;\n user.setLockoutNum(user.getLockoutNum() + 1);\n Model.editUser(user);\n\n // increment incorrect login attempts, check if banned\n if (user.getLockoutNum() >= 3) {\n bannedAlert();\n return;\n }\n } else {\n // uname exists and correct login\n // check if banned\n if (user.getLockoutNum() >= 3) {\n bannedAlert();\n return;\n }\n user.setLockoutNum(0);\n Model.editUser(user);\n Model.setUser(user);\n _loginAuthenticated = true;\n app.showMainPage();\n return;\n }\n }\n // Show the error message if bad data\n Alert alert = new Alert(Alert.AlertType.ERROR);\n alert.initOwner(_dialogStage);\n alert.setTitle(\"Please Correct Invalid Fields \");\n alert.setHeaderText(\"Incorrect password and/or username\");\n\n alert.showAndWait();\n }\n }",
"public void initLogin() {\n\n Log.d(TAG, \"Setting: Initial Login\");\n txtUsername.setError(null);\n txtPassword.setError(null);\n\n String username = txtUsername.getText().toString();\n String password = txtPassword.getText().toString();\n\n boolean cancelLogin = false;\n View focusView = null;\n\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n txtPassword.setError(getString(R.string.message_invalid_password));\n focusView = txtPassword;\n cancelLogin = true;\n }\n if (TextUtils.isEmpty(username)) {\n txtUsername.setError(getString(R.string.message_field_required));\n focusView = txtUsername;\n cancelLogin = true;\n } else if (!isUsernameValid(username)) {\n txtUsername.setError(getString(R.string.message_invalid_username));\n focusView = txtUsername;\n cancelLogin = true;\n }\n\n if (cancelLogin) {\n Log.d(TAG, \"Error in login\");\n focusView.requestFocus();\n } else {\n Log.d(TAG, \"Show progress spinner, and start background task to login\");\n showProgress(true);\n userLoginTask = new UserLoginTask(username, password);\n userLoginTask.execute((Void) null);\n }\n }",
"public void loginUser() {\n \tString username = usernameField.getText().toString();\n \tString password = passwordField.getText().toString();\n \n \t// Validation part.\n \tString empty = \"\";\n \t// Check if username is empty.\n \tif(username.isEmpty()) {\n \t\tToast toast = Toast.makeText(\n \t\t\tthis,\n \t\t\t\"Please enter a username.\",\n \t\t\tToast.LENGTH_LONG);\n \t\ttoast.show();\n \t\treturn;\n \t}\n \t// Check if username contains othe characters.\n \tif(! Pattern.matches(\"[a-zA-Z]+\", username)) {\n \t\tToast toast = Toast.makeText(\n \t\t\tthis,\n \t\t\t\"Username can only contain alphabets\",\n \t\t\tToast.LENGTH_LONG);\n \t\ttoast.show();\n \t\treturn;\n \t}\n \t\n \t// Check if password is empty.\n \tif(password.isEmpty()) {\n \t\tToast toast = Toast.makeText(\n \t\t\tthis,\n \t\t\t\"Please enter a password.\",\n \t\t\tToast.LENGTH_LONG);\n \t\ttoast.show();\n \t\treturn;\n \t}\n\n \t\n \tArrayList<NameValuePair> userData = new ArrayList<NameValuePair>();\n \tuserData.add(new BasicNameValuePair(\"username\", username));\n \tuserData.add(new BasicNameValuePair(\"password\", password));\n \t\n \t// Now send the data to the login user task to\n \t// check if they are correct.\n \tnew AuthenticateUserTask(this, userData).execute();\n \t\n }",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mNameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String name = mNameView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid user name.\n if (TextUtils.isEmpty(name)) {\n mNameView.setError(getString(R.string.error_field_required));\n focusView = mNameView;\n cancel = true;\n } else if (!isNameValid(name)) {\n mNameView.setError(getString(R.string.error_invalid_name));\n focusView = mNameView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(name, password);\n mAuthTask.execute(mUrl);\n }\n }",
"private void login() {\n\t\t \tetUserName.addTextChangedListener(new TextWatcher() {\n\t\t public void afterTextChanged(Editable s) {\n\t\t Validation.hasText(etUserName);\n\t\t }\n\t\t public void beforeTextChanged(CharSequence s, int start, int count, int after){}\n\t\t public void onTextChanged(CharSequence s, int start, int before, int count){}\n\t\t });\n\t\t \t\n\t\t \t // TextWatcher would let us check validation error on the fly\n\t\t \tetPass.addTextChangedListener(new TextWatcher() {\n\t\t public void afterTextChanged(Editable s) {\n\t\t Validation.hasText(etPass);\n\t\t }\n\t\t public void beforeTextChanged(CharSequence s, int start, int count, int after){}\n\t\t public void onTextChanged(CharSequence s, int start, int before, int count){}\n\t\t });\n\t\t }",
"public void handleLogin() {\n\t\tString username = usernameInput.getText();\n\t\tString password = passwordInput.getText();\n\n\t\t// Saves username and password if remember me is ticked\n\t\t// otherwise it deletes the file.\n\t\tif (rememberMeCheckbox.isSelected()) {\n\t\t\twriteRememberMe(username, password);\n\t\t} else {\n\t\t\tclearRememberMe();\n\t\t}\n\n\n\t\ttryUsernamePassword(username, password);\n\t}",
"private boolean login()\n {\n System.out.print(\"Enter your username: \");\n String userName = keyboard.nextLine().toLowerCase();\n currentUser = fs.getUser(userName);\n System.out.println();\n\n return currentUser != null;\n }",
"private void login(JTextField user){\n\t\tString username1 = user.getText();\n\t\tuser.setText(null);\n\t\tuser.requestFocus();\n\n\t\t//Validate username\n\t\tif (username1.isEmpty()){\n\t\t\tJOptionPane.showMessageDialog(this,\"Empty values!\", \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t\telse if (!username1.matches(\"[a-zA-Z]+\")){\n\t\t\tJOptionPane.showMessageDialog(this,\"Improper Name!\", \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\n\t\telse {\n\t\t\tif (DBInit.connectDB(username1)){\n\t\t\t\tFrameController s = BudgieUI.getSwitcher();\n\t\t\t\tJFrame main = new MainUI(\"Budgie\", s);\n\t\t\t\tBudgieUI.setMain(main);\n\t\t\t\ts.setFrame(main);\n\t\t\t\tFrameController.switchFrames();\n\t\t\t} else{\n\t\t\t\tJOptionPane.showMessageDialog(this, \"Host Does not exist\", \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\tusername.setText(null);\n\t\t\t\tusername.requestFocus();\n\t\t\t}\n\t\t}\n\n\t}",
"public void logincredentials() {\n\t\tutil.entertext(prop.getValue(\"locators.text.uname\"), \"admin\");\n\t\tutil.entertext(prop.getValue(\"locators.text.password\"), \"Admin123\");\n\t\tutil.ClickElement(prop.getValue(\"locators.button.regdesk\"));\n\t\tutil.ClickElement(prop.getValue(\"locators.button.login\"));\n\t\tlogreport.info(\"logged into the application\");\n\n\t}",
"private final static void onLogin(TextField username, PasswordField password)\n\t{\n\t\tif (ProfileManipulation.checkLogin(username.getText(), password.getText())) {\n\t\t\tif (ProfileManipulation.isVerfied(username.getText())) {\n\t\t\t\tProfileManipulation.updateLoginStatus(username.getText(), true);\n\n\t\t\t\t// Jetzt wird das Profil aufgerufen\n\t\t\t\tPartylize.setUsername(username.getText());\n\t\t\t\tPartylize.showMainScene();\n\t\t\t} else {\n\t\t\t\tPartylize.setUsername(username.getText());\n\t\t\t\tPartylize.showVerification();\n\t\t\t}\n\t\t}\n\t\t// Funktionsaufruf Datenbankanbindung -> Erstellen einer Session ID\n\t\t// Funktionsaufruf Profildaten in lokalen Speicher laden - WIP\n\t\telse {\n\t\t\tusername.setText(\"\");\n\t\t\tpassword.setText(\"\");\n\t\t}\n\t}",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n mUsrView.setError(null);\n mPasswordView.setError(null);\n\n String usr = mUsrView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n Tuple<String, String> creds = /*getCredentials()*/ SERVER_CREDENTIALS;\n\n boolean cancel = false;\n View focusView = null;\n\n if (!TextUtils.isEmpty(password)) {\n if (!mPasswordView.getText().toString().equals(creds.y)) {\n if (Util.D) Log.i(\"attemptLogin\", \"pwd was \" + mPasswordView.getText().toString());\n mPasswordView.setError(getString(R.string.error_incorrect_creds));\n cancel = true;\n }\n focusView = mPasswordView;\n }\n\n if (TextUtils.isEmpty(usr)) {\n mUsrView.setError(getString(R.string.error_field_required));\n focusView = mUsrView;\n cancel = true;\n } else if (!usr.equals(creds.x)) {\n mUsrView.setError(getString(R.string.error_incorrect_creds));\n focusView = mUsrView;\n cancel = true;\n }\n\n if (cancel) {\n focusView.requestFocus();\n } else {\n if (prefs != null)\n prefs.edit().putBoolean(getString(R.string.settingAuthorized), true);\n showProgress(true);\n mAuthTask = new UserLoginTask(usr, password);\n mAuthTask.execute((Void) null);\n }\n }",
"private void attemptLogin() {\n\n String username = mEmailView.getText().toString().trim();\n String idNumber = mIdNumber.getText().toString().trim();\n String password = mPasswordView.getText().toString().trim();\n\n if (TextUtils.isEmpty(username)) {\n// usernameView.setError(errorMessageUsernameRequired);\n// errorView = usernameView;\n }\n\n if (TextUtils.isEmpty(password)) {\n// password.setError(errorMessagePasswordRequired);\n// if (errorView == null) {\n// errorView = passwordView;\n// }\n }\n\n final User user = new User();\n ((DealerManager)getApplication()).setUser(user);\n navigateTo(R.id.nav_home);\n }",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mUserNameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String userName = mUserNameView.getText().toString();\n String password = mPasswordView.getText().toString();\n UserDetail user = new UserDetail(userName, password);\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n user = null;\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(userName)) {\n mUserNameView.setError(getString(R.string.error_field_required));\n focusView = mUserNameView;\n\n\n }\n else if(user!=null && isNetworkConnected()) {\n getPermissiontoAccessInternet();\n mAuthTask = new UserLoginTask(user);\n mAuthTask.execute((Void) null);\n\n }\n// } else if (!isUserNameValid(userName)) {\n// mUserNameView.setError(getString(R.string.error_invalid_email));\n// focusView = mUserNameView;\n// cancel = true;\n// }\n\n// if (cancel) {\n// // There was an error; don't attempt login and focus the first\n// // form field with an error.\n// focusView.requestFocus();\n// } else {\n// // Show a progress spinner, and kick off a background task to\n// // perform the user login attempt.\n//\n// }\n }",
"public void attemptLogin() {\r\n\t\tif (mAuthTask != null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// Reset errors.\r\n\t\tmUserView.setError(null);\r\n\t\tmPasswordView.setError(null);\r\n\t\t// Store values at the time of the login attempt.\r\n\t\tmUser = mUserView.getText().toString();\r\n\t\tmPassword = mPasswordView.getText().toString();\r\n\t\tboolean cancel = false;\r\n\t\tView focusView = null;\r\n\t\t// Check for a valid password.\r\n\t\tif (TextUtils.isEmpty(mPassword)) {\r\n\t\t\tmPasswordView.setError(getString(R.string.error_field_required));\r\n\t\t\tfocusView = mPasswordView;\r\n\t\t\tcancel = true;\r\n\t\t} else if (mPassword.length() < 3) {\r\n\t\t\tmPasswordView.setError(getString(R.string.error_invalid_password));\r\n\t\t\tfocusView = mPasswordView;\r\n\t\t\tcancel = true;\r\n\t\t}\r\n\t\t// Check for a valid username address.\r\n\t\tif (TextUtils.isEmpty(mUser)) {\r\n\t\t\tmUserView.setError(getString(R.string.error_field_required));\r\n\t\t\tfocusView = mUserView;\r\n\t\t\tcancel = true;\r\n\t\t}\r\n\t\tif (cancel) {\r\n\t\t\t// There was an error; don't attempt login and focus the first\r\n\t\t\t// form field with an error.\r\n\t\t\tfocusView.requestFocus();\r\n\t\t} else {\r\n\t\t\t// Show a progress spinner, and kick off a background task to\r\n\t\t\t// perform the user login attempt.\r\n\t\t\tmLoginStatusMessageView.setText(R.string.login_progress_signing_in);\r\n\t\t\tmAuthTask = new UserLoginTask(this);\r\n\t\t\tmAuthTask.execute((Void) null);\r\n\t\t}\r\n\t}",
"public void authenticateUser() {\n\n String username = viewUsername.getText().toString();\n String password = viewPassword.getText().toString();\n\n Timber.v(\"authenticateUser called username: \" + username);\n activity.getOnboardingViewModel().authenticateUser(username, password);\n }",
"public void authenticateUser()\r\n\t{\r\n\t\tsc.nextLine(); \r\n\t\tint index=loginattempt();\r\n\t}",
"public String login()\n\t{\n\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\tUsersBean userBean = new UsersBean();\n\t\ttry {\n//\t\t\tctx = new InitialContext(props);\n\t\t\t\n\t\t\t//userBean = (usersPersistentBean) ctx.lookup(\"usersPersistentBean\");\n\t\t\tUser attempting_user = new User();\n\t\t\tattempting_user.setUsername(getUsername());\n\t\t\tattempting_user.setPassword(getPassword());\n\t\t\tUser resultUser = userBean.getUser(attempting_user);\n\t\t\tif (resultUser.getUsername() != null)\n\t\t\t{\n\t\t\t\tsetIsAdmin(resultUser.isAdmin());\n\t\t\t\tsetUserId(resultUser.getUserId());\n\t\t\t\tsetLoginMessage(\"success\");\n\t\t\t\tcontext.getExternalContext().redirect(\"basicCalculator.xhtml\");\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsetLoginMessage(\"*Incorrect Username and password\");\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\treturn getLoginMessage();\t\t\n\t}",
"protected void login() {\n\t\t\r\n\t}",
"public void doLogin() {\r\n\t\tif(this.getUserName()!=null && this.getPassword()!=null) {\r\n\t\t\tcdb=new Connectiondb();\r\n\t\t\tcon=cdb.createConnection();\r\n\t\t\ttry {\r\n\t\t\t\tps=con.prepareStatement(\"Select idUser,nom,prenom,userName,type,tel from t_user where userName=? and pass=? and status=?\");\r\n\t\t\t\tps.setString(1, this.getUserName());\r\n\t\t\t\tps.setString(2, this.getPassword());\r\n\t\t\t\tif(rs.next()) {\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"idUser\", rs.getInt(\"idUser\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"nom\", rs.getString(\"nom\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"prenom\", rs.getString(\"prenom\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"userName\", rs.getString(\"userName\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"type\", rs.getString(\"type\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"tel\", rs.getString(\"tel\"));\r\n\t\t\t\t\tFacesContext.getCurrentInstance().getExternalContext().redirect(\"view/welcome.xhtml\");\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\tnew Message().error(\"echec de connexion\");\r\n\t\t\t}finally {\r\n\t\t\t\tcdb.closeConnection(con);\r\n\t\t\t}\r\n\t\t}else {\r\n\t\t\tnew Message().warnig(\"Nom d'utilisateur ou mot de passe incorrecte\");\r\n\t\t}\r\n\t}",
"public Optional<Pair<String,String>> showLogin( final Pair<String,String> initialUserInfo, final Callback<Pair<String,String>, Void> authenticator ) {\n \t\n \tfinal CustomTextField txUserName = (CustomTextField) TextFields.createClearableTextField();\n \ttxUserName.setLeft(new ImageView( DialogResources.getImage(\"login.user.icon\")) ); //$NON-NLS-1$\n \t\n \tfinal CustomPasswordField txPassword = (CustomPasswordField) TextFields.createClearablePasswordField();\n \ttxPassword.setLeft(new ImageView( DialogResources.getImage(\"login.password.icon\"))); //$NON-NLS-1$\n\t\t\n\t\tfinal Label lbMessage= new Label(\"\"); //$NON-NLS-1$\n\t\tlbMessage.getStyleClass().addAll(\"message-banner\"); //$NON-NLS-1$\n\t\tlbMessage.setVisible(false);\n\t\tlbMessage.setManaged(false);\n\t\t\n\t\tfinal VBox content = new VBox(10);\n\t\tcontent.getChildren().add(new Label(\"User name\"));\n\t\tcontent.getChildren().add(txUserName);\n\t\tcontent.getChildren().add(txPassword);\n\t\t\n\t\tfinal Action actionLogin = new DialogAction(\"Connect\", null, false, false, true) { //$NON-NLS-1$\n\t\t\t{\n\t\t\t\tButtonBar.setType(this, ButtonType.OK_DONE);\n\t\t\t\tsetEventHandler(this::handleAction);\n\t\t\t}\n\t\t\t\n\t\t\tprotected void handleAction(ActionEvent ae) {\n\t\t\t\tDialog dlg = (Dialog) ae.getSource();\n\t\t\t\ttry {\n\t\t\t\t\tif ( authenticator != null ) {\n\t\t\t\t\t\tauthenticator.call(new Pair<>(txUserName.getText(), txPassword.getText()));\n\t\t\t\t\t}\n\t\t\t\t\tlbMessage.setVisible(false);\n\t\t\t\t\tlbMessage.setManaged(false);\n\t\t\t\t\tdlg.hide();\n\t\t\t\t\tdlg.setResult(this);\n\t\t\t\t} catch( Throwable ex ) {\n\t\t\t\t\tlbMessage.setVisible(true);\n\t\t\t\t\tlbMessage.setManaged(true);\n\t\t\t\t\tlbMessage.setText(ex.getMessage());\n\t\t\t\t\tdlg.sizeToScene();\n\t\t\t\t\tdlg.shake();\n\t\t\t\t\tex.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@Override public String toString() {\n\t\t\t\treturn \"LOGIN\"; //$NON-NLS-1$\n\t\t\t};\n\t\t};\n\t\t\n\t\tfinal Dialog dlg = buildDialog(Type.LOGIN);\n dlg.setContent(content);\n \n dlg.setResizable(false);\n\t\tdlg.setIconifiable(false);\n\t\tif ( dlg.getGraphic() == null ) { \n\t\t\tdlg.setGraphic( new ImageView( DialogResources.getImage(\"login.icon\"))); //$NON-NLS-1$\n\t\t}\n\t\tdlg.getActions().setAll(actionLogin, ACTION_CANCEL);\n\t\tfinal String userNameCation = getString(\"login.dlg.user.caption\"); //$NON-NLS-1$\n\t\tfinal String passwordCaption = getString(\"login.dlg.pswd.caption\"); //$NON-NLS-1$\n\t\ttxUserName.setPromptText(userNameCation);\n\t\ttxUserName.setText( initialUserInfo.getKey());\n\t\ttxPassword.setPromptText(passwordCaption);\n\t\ttxPassword.setText(new String(initialUserInfo.getValue()));\n\n\t\tfinal ValidationSupport validationSupport = new ValidationSupport();\n\t\tPlatform.runLater(new Runnable()\n\t\t{\n\t\t@Override\n\t\tpublic void run()\n\t\t{\n\t\t\tString requiredFormat = \"'%s' is required\"; //$NON-NLS-1$\n\t\t\tvalidationSupport.registerValidator(txUserName, Validator.createEmptyValidator( String.format( requiredFormat, userNameCation )));\n\t\t\tactionLogin.disabledProperty().bind(validationSupport.invalidProperty());\n\t\t\ttxUserName.requestFocus();\t\t\t\n\t\t}});\n\n\t\tdlg.sizeToScene();\n \treturn Optional.ofNullable( \n \t\t\tdlg.show() == actionLogin? \n \t\t\t\t\tnew Pair<>(txUserName.getText(), txPassword.getText()): \n \t\t\t\t\tnull);\n }",
"public void Login()throws Exception{\r\n if(eMailField.getText().equals(\"user\") && PasswordField.getText().equals(\"pass\")){\r\n displayMainMenu();\r\n }\r\n else{\r\n System.out.println(\"Username or Password Does not match\");\r\n }\r\n }",
"@FXML\n\tprivate void handleLogin() {\n\t \n\t\t\t\ttry {\n\t\t\t\t\tmain.showHomePageOverview(username.getText(),password.getText());\n\t\t\t\t} catch (SQLException 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\n\t}",
"private void login() {\r\n\r\n if (String.valueOf(login_usernameTextField.getText()).equals(\"\"))\r\n JOptionPane.showMessageDialog\r\n (null, \"Must Enter A Username\");\r\n\r\n else if (String.valueOf(login_passwordField.getPassword()).equals(\"\"))\r\n JOptionPane.showMessageDialog\r\n (null, \"Must Enter A Password\");\r\n\r\n else if (MainGUI.pimsSystem.staff_exists(login_usernameTextField.getText(), String.valueOf(login_passwordField.getPassword()))) {\r\n remove(loginPanel);\r\n add(tabbedPane);\r\n JOptionPane.showMessageDialog\r\n (null, \"Login Successful\");\r\n repaint();\r\n revalidate();\r\n\r\n // reset username and password fields\r\n login_usernameTextField.setText(\"\");\r\n login_passwordField.setText(\"\");\r\n\r\n } else\r\n JOptionPane.showMessageDialog\r\n (null, \"Invalid Password or Username\");\r\n }",
"private void auto_log_in()\n {\n jtf_username.setText(Config.USERNAME);\n jpf_password.setText(Config.PASSWORD);\n jb_prijavi.doClick();\n\n }",
"public String login() {\r\n FacesContext context = FacesContext.getCurrentInstance();\r\n HttpServletRequest request = (HttpServletRequest) context.getExternalContext().getRequest();\r\n System.out.println(\"Username: \" + email);\r\n System.out.println(\"Password: \" + password);\r\n try {\r\n //this method will actually check in the realm for the provided credentials\r\n request.login(this.email, this.password);\r\n\r\n } catch (ServletException e) {\r\n context.addMessage(null, new FacesMessage(\"Login failed.\"));\r\n return \"error\";\r\n }\r\n return \"/faces/users/index.xhtml\";\r\n }",
"public void login() {\n\n String username = usernameEditText.getText().toString();\n String password = passwordEditText.getText().toString();\n regPresenter.setHost(hostEditText.getText().toString());\n regPresenter.login(username, password);\n }",
"private void login()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t//Get the connection to the database\r\n\t\t\tDatabase db = new Database();\r\n\r\n\t\t\t//Get the data and format it correctly\r\n\t\t\tString username = txtUsername.getText().trim().toLowerCase();\r\n\t\t\tString password = new String(txtPassword.getPassword()).trim();\r\n\r\n\t\t\t//Verify that user information has been inserted into the username/password fields\r\n\t\t\tif (username.length() == 0)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\tthis,\r\n\t\t\t\t\t\"Please enter your username.\",\r\n\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t);\r\n\r\n\t\t\t\ttxtUsername.requestFocus();\r\n\t\t\t}//End of if\r\n\t\t\telse if (password.length() == 0)\r\n\t\t\t{\r\n\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\tthis,\r\n\t\t\t\t\t\"Please enter your password.\",\r\n\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t);\r\n\r\n\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t}//End of else if\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tif (!db.usernameExists(username))\r\n\t\t\t\t{\r\n\t\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\t\tthis,\r\n\t\t\t\t\t\t\"The username/password combination you provided does not exist.\",\r\n\t\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t\t);\r\n\r\n\t\t\t\t\ttxtPassword.setText(\"\");\r\n\t\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t\t}//End of if\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tUser user = db.loadUser(username);\r\n\t\t\t\t\tbyte [] bPassword = PasswordEncryption.hashPassword(username, password);\r\n\r\n\t\t\t\t\tif (bPassword.length != user.getPassword().length)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\t\t\t\tthis,\r\n\t\t\t\t\t\t\t\t\"The username/password combination you provided does not exist.\",\r\n\t\t\t\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\t\ttxtPassword.setText(\"\");\r\n\t\t\t\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t\t\t}//End of if\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tboolean same = true;\r\n\r\n\t\t\t\t\t\t//Check the passwords for equality\r\n\t\t\t\t\t\tfor (int x = 0; x < bPassword.length; x++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif (bPassword[x] != user.getPassword()[x])\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tsame = false;\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t}//End of if\r\n\t\t\t\t\t\t}//End of for\r\n\r\n\t\t\t\t\t\tif (same)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif (user.getAccountLevel() < 10)\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\t\t\t\t\tthis,\r\n\t\t\t\t\t\t\t\t\t\"You do not have sufficient rights to access this application.\",\r\n\t\t\t\t\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\t\t\ttxtPassword.setText(\"\");\r\n\t\t\t\t\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t\t\t\t\t}//End of if\r\n\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t//Login the user\r\n\t\t\t\t\t\t\t\tSession.login(user);\r\n\r\n\t\t\t\t\t\t\t\t//Open the dashbard\r\n\t\t\t\t\t\t\t\tSession.openWindow(new Dashboard());\r\n\r\n\t\t\t\t\t\t\t\t//Close this window\r\n\t\t\t\t\t\t\t\tthis.dispose();\r\n\t\t\t\t\t\t\t}//End of else\r\n\t\t\t\t\t\t}//End of if\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\t\t\t\t\tthis,\r\n\t\t\t\t\t\t\t\t\"The username/password combination your provided does not exist.\",\r\n\t\t\t\t\t\t\t\tApplication.NAME,\r\n\t\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE\r\n\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\t\ttxtPassword.setText(\"\");\r\n\t\t\t\t\t\t\ttxtPassword.requestFocus();\r\n\t\t\t\t\t\t}//End of else\r\n\t\t\t\t\t}//End of else\r\n\t\t\t\t}//End of else\r\n\t\t\t}//End of else\r\n\t\t}//End of try\r\n\t\tcatch (Exception e)\r\n\t\t{\r\n\t\t\t//Inform the user that the application was unable to connect to the database.\r\n\t\t\tJOptionPane.showMessageDialog(\r\n\t\t\t\tthis,\r\n\t\t\t\t\"An error occured connecting to the database.\\n\\nIf this problem continues, please contact your system administrator.\",\r\n\t\t\t\tApplication.NAME,\r\n\t\t\t\tJOptionPane.ERROR_MESSAGE\r\n\t\t\t);\r\n\t\t}//End of catch\r\n\t}",
"@Override\r\n protected final String loginAsAutoUser(boolean launch) {\r\n \t//login(DDConstants.AUTO_USERNAME, DDConstants.AUTO_PASSWORD, launch);\r\n \tsuper.login(getAutoUserName(), getAutoPassword(), launch);\r\n\r\n \tchooseApp();\r\n\r\n \treturn getCurrentUser();\r\n }",
"public final void login() {\n Activity_ExtensionKt.hideSoftKeyboard(this);\n if (hasAllRequiredField()) {\n EditText editText = (EditText) _$_findCachedViewById(C2723R.C2726id.etUserName);\n Intrinsics.checkExpressionValueIsNotNull(editText, \"etUserName\");\n String obj = editText.getText().toString();\n if (obj != null) {\n this.username = StringsKt.trim((CharSequence) obj).toString();\n EditText editText2 = (EditText) _$_findCachedViewById(C2723R.C2726id.etPassword);\n Intrinsics.checkExpressionValueIsNotNull(editText2, \"etPassword\");\n String obj2 = editText2.getText().toString();\n if (obj2 != null) {\n this.password = StringsKt.trim((CharSequence) obj2).toString();\n LoginViewModel loginViewModel = this.viewModel;\n if (loginViewModel == null) {\n Intrinsics.throwUninitializedPropertyAccessException(\"viewModel\");\n }\n EditText editText3 = (EditText) _$_findCachedViewById(C2723R.C2726id.etUserName);\n Intrinsics.checkExpressionValueIsNotNull(editText3, \"etUserName\");\n String obj3 = editText3.getText().toString();\n EditText editText4 = (EditText) _$_findCachedViewById(C2723R.C2726id.etPassword);\n Intrinsics.checkExpressionValueIsNotNull(editText4, \"etPassword\");\n loginViewModel.login(obj3, editText4.getText().toString());\n return;\n }\n throw new TypeCastException(\"null cannot be cast to non-null type kotlin.CharSequence\");\n }\n throw new TypeCastException(\"null cannot be cast to non-null type kotlin.CharSequence\");\n }\n }",
"private void loadLogin() throws IOException{\n FXMLLoader loginLoader = new FXMLLoader(getClass().getResource(\"/com/slackers/inc/Boundary/FXML/loginregisterform.fxml\"));\n Parent login = loginLoader.load();\n String cssDoc = getClass().getResource(\"/com/slackers/inc/Boundary/CSS/custom.css\").toExternalForm();\n login.getStylesheets().add(cssDoc);\n\n LoginController loginController = loginLoader.getController();\n loginController.setMainController(this);\n\n Stage stage = new Stage();\n stage.setTitle(\"Login or Signup\");\n stage.setScene(new Scene(login));\n stage.showAndWait();\n\n\n if (userController.getUser().getEmail() == null || userController.getUser().getEmail().equals(\"\")\n || userController.getUser().getPassword() == null || userController.getUser().getPassword().equals(\"\")) {\n Platform.exit();\n System.exit(1);\n }\n\n programPref.put(\"email\", userController.getUser().getEmail());\n try {\n programPref.put(\"password\", CryptoTools.encrypt(userController.getUser().getPassword(), programPref));\n } catch (GeneralSecurityException | IOException e) {\n e.printStackTrace();\n Notifications.create().title(\"Username Not Saved\").text(\"Could not save username and password for reiterations. Please try again later.\").showError();\n System.out.println(\"Could not save username and password for reiterations\");\n }\n\n }",
"private void attemptLogin() {\n if (authTask != null) {\n return;\n }\n\n // Reset errors.\n usernameView.setError(null);\n passwordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = usernameView.getText().toString();\n String password = passwordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n passwordView.setError(getString(R.string.error_invalid_password));\n focusView = passwordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n usernameView.setError(getString(R.string.error_field_required));\n focusView = usernameView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n usernameView.setError(getString(R.string.error_invalid_email));\n focusView = usernameView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n //set loginID for session\n session.setID(email);\n\n startDashboard();\n /*authTask = new UserLoginTask(email, password);\n authTask.execute((Void) null);*/\n }\n }",
"private void checkLogin() {\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\n String username = preferences.getString(\"username\", null);\n if(username==null){\n Intent intent = new Intent(this,LoginActivity.class);\n startActivity(intent);\n }\n else {\n /* if(preferences.getString(\"name\",null) ==null)\n Toast.makeText(HomeActivity.this, \"Hello \" +username, Toast.LENGTH_SHORT).show();\n else\n Toast.makeText(this, \"Hello \" + preferences.getString(\"name\", \"username\"), Toast.LENGTH_SHORT).show();\n */}\n }",
"private void loggedInUser() {\n\t\t\n\t}",
"@FXML\r\n\tpublic void handleLoginButton() throws IOException{\r\n\t\tString username = tfUsernameLogin.getText();\r\n\t\tString password = pfPasswordLogin.getText();\r\n\t\tuserCred = theController.isValidUser(username, password);\r\n\t\tif(userCred.equals(\"manager\")){\r\n\t\t\tloginSuccess = true;\r\n\t\t\tconsoleScreen.setDisable(false);\r\n\t\t\tactionItemsScreen.setDisable(false);\r\n\t\t\tmemberScreen.setDisable(false);\r\n\t\t\tteamScreen.setDisable(false);\r\n\t\t\thandleConsoleButton();\r\n\t\t}\r\n\t\telse if(userCred.equals(\"employee\")){\r\n\t\t\tloginSuccess = true;\r\n\t\t\tconsoleScreen.setDisable(false);\r\n\t\t\tactionItemsScreen.setDisable(false);\r\n\t\t\tmemberScreen.setDisable(true);\r\n\t\t\tteamScreen.setDisable(true);\r\n\t\t\thandleConsoleButton();\r\n\t\t}\r\n\t\telse{\r\n\t\t\tlbAlertLogin.setTextFill(Color.RED);\r\n\t\t\tlbAlertLogin.setText(userCred);\r\n\t\t}\r\n\t}",
"private void attemptLogin() {\n // Reset errors.\n edtID.setError(null);\n edtPassword.setError(null);\n\n // Store values at the time of the login attempt.\n String userId = edtID.getText().toString();\n String password = edtPassword.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n edtPassword.setError(\"Password is empty\");\n focusView = edtPassword;\n cancel = true;\n } else if(!isPasswordValid(password)) {\n edtPassword.setError(getString(R.string.error_invalid_password));\n focusView = edtPassword;\n cancel = true;\n }\n\n // Check for a valid user id.\n if (TextUtils.isEmpty(userId)) {\n edtID.setError(getString(R.string.error_field_required));\n focusView = edtID;\n cancel = true;\n } else if (!isUserIdValid(userId)) {\n edtID.setError(getString(R.string.error_invalid_id));\n focusView = edtID;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n JSONObject json = new JSONObject();\n try {\n json.put(\"user_id\", userId);\n json.put(\"password\", password);\n } catch (Exception e) {\n e.printStackTrace();\n }\n reqUserID = userId;\n reqUserPW = password;\n loginConnector.request(json);\n }\n }",
"@FXML\n\tprivate void onLogin(ActionEvent event) throws IOException {\n\t\tif (!username.getText().equals(\"\") && !password.getText().equals(\"\")) {\n\t\t\tUserCommunication clientCom = new UserCommunication();\n\t\t\tSession client = clientCom.login(username.getText(), password.getText());\n\t\t\t\n\t\t\tif(client != null) { \n\t\t\t\t// login good\n\t\t\t\tparent.createSession(client);\n\t\t\t\tparent.populateProfileDatas();\n\t\t\t\tparent.goToHome();\n\t\t\t\tparent.changeContextualMenu(TypeMenu.CONNECTED);\n\t\t\t\tusername.clear();\n\t\t\t\tpassword.clear();\n\t\t\t\t\n\t\t\t\t// load favorites\n\t\t\t\tArrayList<SearchFavorite> sf = new SearchFavoriteDAO().findByUserId(client.getUser().getID());\n\t\t\t\tparent.setFavorites(sf);\n\t\t\t\tparent.populateSearcheScrollPane();\n\t\t\t\t\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\t// login failed\n\t\t\t\tMessage.show(\"Erreur\", \"Authentification échouée\", AlertType.INFORMATION);\n\t\t\t}\n\t\t} else {\n\t\t\tMessage.show(\"Erreur au niveau du formulaire\", \"Veuillez remplir le formulaire convenablement.\", AlertType.WARNING);\n\t\t}\n\t}",
"public void login() {\n presenter.login(username.getText().toString(), password.getText().toString());\n }",
"@Override\n public void setUsername() {\n try {\n JCheckBox botCheckBox = (JCheckBox) logIn.getComponent(5);\n bot = botCheckBox.isSelected();\n if(bot) {\n try {\n int thinkingTime = Integer.parseInt((String) JOptionPane.showInputDialog(frame, \"Please enter the AI thinking time in seconds\", \"Thinking time\", JOptionPane.INFORMATION_MESSAGE, null, null, 0));\n client.setThinkintTime(thinkingTime);\n } catch (NumberFormatException e) {\n JOptionPane.showMessageDialog(frame, \"Set thinking time to 0\", \"Illegal input\", JOptionPane.ERROR_MESSAGE);\n client.setThinkintTime(0);\n }\n }\n username = ((JTextField) logIn.getComponent(3)).getText();\n client.setName(username);\n if(serverBrowser == null) {\n serverList();\n } else {\n frame.setContentPane(serverBrowser);\n ((JLabel)((JPanel) serverBrowser.getComponent(0)).getComponent(0)).setText(username);\n }\n } catch (IllegalNameException e) {\n JOptionPane.showMessageDialog(frame, \"Invalid name, please do not use ';' in your name.\", \"Ilegal username\", JOptionPane.ERROR_MESSAGE);\n }\n }",
"public void login(ActionEvent e) throws IOException{\n\t\tString username = Username.getText().toLowerCase();\n\t\tString password = Password.getText();\n\t\tif(username.equalsIgnoreCase(\"admin\")){\n\t\t\tif (password.equals(PhotoAlbum.admin.getPassword())) {\n\t\t\t\tsegue(\"/view/Admin.fxml\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tpasswrong.setStyle(\"-fx-opacity: 1;\");\n\t\t\t\tPassword.setStyle(\"-fx-text-box-border: red; -fx-focus-color: red;\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t} \n\t\t//search through list\n\t\tfor(int i = 0; i < PhotoAlbum.admin.getUserList().size(); i++){\n\t\t\tPhotoAlbum.regular_user = (NonAdminUser) PhotoAlbum.admin.getUserList().get(i);\n\t\t\tif(PhotoAlbum.regular_user.getUsername().equals(username)){\n\t\t\t\tif(PhotoAlbum.regular_user.getPassword().equals(password)){\n\t\t\t\t\tUsername.setStyle(\"-fx-text-box-border: white; -fx-focus-color: #008ED6;\");\n\t\t\t\t\tuserwrong.setStyle(\"-fx-opacity: 0;\");\n\t\t\t\t\tPassword.setStyle(\"-fx-text-box-border: white; -fx-focus-color: #008ED6;\");\n\t\t\t\t\tpasswrong.setStyle(\"-fx-opacity: 0;\");\n\t\t\t\t\tPhotoAlbum.logged_in = (NonAdminUser) PhotoAlbum.admin.getUserList().get(i);\n\t\t\t\t\tsegue(\"/view/Albums.fxml\");\n\t\t\t\t\treturn;\n\t\t\t\t} else {\n\t\t\t\t\tpasswrong.setStyle(\"-fx-opacity: 1;\");\n\t\t\t\t\tPassword.setStyle(\"-fx-text-box-border: red; -fx-focus-color: red;\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//if not found\n\t\tuserwrong.setStyle(\"-fx-opacity: 1;\");\n\t\tUsername.setStyle(\"-fx-text-box-border: #e67e22; -fx-focus-color: #e67e22;\");\n\t\tPassword.setStyle(\"-fx-text-box-border: #e67e22; -fx-focus-color: #e67e22;\");\n\t}",
"private static ErrorType handleLogin(String username) {\n\t\tUser currUser = VersionControlDb.findUser(username);\n\t\tif (currUser != null) {\n\t\t\tSystem.out.println(ErrorType.SUCCESS);\n\t\t\tprocessUserMenu(currUser);\n\t\t\treturn ErrorType.SUCCESS;\n\t\t}\n\t\telse {\n\t\t\treturn ErrorType.USER_NOT_FOUND;\n\t\t}\n\t}",
"@Override\n\tpublic void loginUser() {\n\t\t\n\t}",
"private final static void onLoginAdmin(TextField username, PasswordField password)\n\t{\n\t\tif(ProfileManipulation.findUsername(username.getText()) && !ProfileManipulation.checkLoginStatus(username.getText())){\n\t\t\tif (ProfileManipulation.isVerfied(username.getText())) {\n\t\t\t\tProfileManipulation.updateLoginStatus(username.getText(), true);\n\n\t\t\t\t// Jetzt wird das Profil aufgerufen\n\t\t\t\tPartylize.setUsername(username.getText());\n\n\t\t\t\tProfileManipulation.changePassword(password.getText());\n\n\t\t\t\tPartylize.showMainScene();\n\t\t\t} else {\n\t\t\t\tPartylize.setUsername(username.getText());\n\t\t\t\tPartylize.showVerification();\n\t\t\t}\n\t\t}\n\t\t// Funktionsaufruf Datenbankanbindung -> Erstellen einer Session ID\n\t\t// Funktionsaufruf Profildaten in lokalen Speicher laden - WIP\n\t\telse {\n\t\t\tusername.setText(\"\");\n\t\t\tpassword.setText(\"\");\n\t\t}\n\t}",
"private void loginFlow() {\n\t\tActiveUserModel userController = ActiveUserModel.getInstance();\n\n\t\tif (userController.isLoggedIn()) {\n\t\t\t// continue\n\t\t} else {\n\t\t\tIntent intent = new Intent(this, LoginActivity.class);\n\t\t\tstartActivityForResult(intent, LOGIN_ACTIVITY);\n\t\t}\n\t}",
"@Test(priority = 4)\n public void emptyUsernameLogin() {\n Login login = new Login(driver, wait);\n login.LoginMethod(login);\n login.typeCredentials(login.emailLabel, \"\");\n login.typeCredentials(login.passwordLabel, correctPassword);\n login.click(login.submitBtn);\n login.checkElementDisplayed(login.errorBox);\n login.checkErrorMessageMatching(login.errorBox,emptyUsernameError);\n }",
"@FXML\n\tvoid login(ActionEvent event) throws IOException {\n\t\tMessage messageToServer = new Message();\n\t\tString userName = txtUserName.getText();\n\t\tString password = txtPassword.getText();\n\t\t// check that user put details\n\t\tif (userName.trim().isEmpty() || password.trim().isEmpty())\n\t\t\tlblErr.setText(\"User Name or Password is missing\");\n\t\telse {\n\t\t\tlblErr.setText(\"\");\n\t\t\t// create new Message object with the request\n\t\t\tmessageToServer.setMsg(userName + \" \" + password);\n\t\t\tmessageToServer.setOperation(\"isUserExists\");\n\t\t\tmessageToServer.setControllerName(\"UserController\");\n\t\t\t// the result User instance\n\t\t\tuser = (User) ClientUI.client.handleMessageFromClientUI(messageToServer);\n\t\t\t// user isn't exists in DB\n\t\t\tif (user == null) { // create pop up alert\n\t\t\t\tlblErr.setText(\"User Name or Password is incorrect\");\n\t\t\t}\n\t\t\t// user already log in\n\t\t\telse if (user.isLogedIN() == true) { // create pop up alert\n\t\t\t\tlblErr.setText(\"User already logged in\");\n\t\t\t} else { // user logged in successfully\n\t\t\t\tmessageToServer.setMsg(userName);\n\t\t\t\tmessageToServer.setOperation(\"updateConnectionStatus\");\n\t\t\t\tmessageToServer.setControllerName(\"UserController\");\n\t\t\t\t// update the user's connection status\n\t\t\t\tClientUI.client.handleMessageFromClientUI(messageToServer);\n\t\t\t\t// navigate user to the right home page, by his permission\n\t\t\t\tswitch (user.getUserType()) {\n\t\t\t\tcase STUDENT:\n\t\t\t\t\tNavigator.instance().navigate(\"StudentHomeForm\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase TEACHER:\n\t\t\t\t\tNavigator.instance().navigate(\"TeacherHomeForm\");\n\t\t\t\t\tbreak;\n\t\t\t\tcase PRINCIPAL:\n\t\t\t\t\tNavigator.instance().navigate(\"PrincipalHomeForm\");\n\t\t\t\t\tbreak;\n\t\t\t\t} // end switch case\n\t\t\t}\n\t\t}\n\t}",
"private void setLogin(String username) {\n\t\tif(username == null) {\n\t\t\treturn;\n\t\t}\n\t\tloginTextBox.sendKeys(username);\n\t}",
"private void validateLoginUser() {\n\t\tUser user = userDao.getByPin(et_password.getText().toString());\n\t\tSession.setDriver(user);\n\n\t\tif (user.getWorkStatus().equals(User.STATUS_INACTIVE)) {\n\n\t\t\tdoLogin();\n\t\t} else {\n\t\t\tString locAt = \"\";\n\t\t\tif (user.getWorkStatus().equals(User.STATUS_IN_VEHICLE)) {\n\t\t\t\tVehiclesDao dao = new VehiclesDao();\n\t\t\t\tlocAt = dao.getById(user.getCurrentVehicleId()).getName();\n\t\t\t} else {\n\t\t\t\tServiceLocationDao dao = new ServiceLocationDao();\n\t\t\t\tlocAt = dao.getById(user.getCurrentServiceLocationId()).getName();\n\t\t\t}\n\t\t\tString msg = \"You are currently marked as \" + user.getWorkStatus() + \" at \" + locAt + \" since \" + user.getWorkStatusDate()\n\t\t\t\t\t+ \"\\n\" + \"Do you want to continue and override this status?\";\n\t\t\tAlertDialog.Builder alert_box = new AlertDialog.Builder(this);\n\t\t\talert_box.setIcon(R.drawable.icon);\n\t\t\talert_box.setMessage(msg);\n\t\t\talert_box.setPositiveButton(\"YES\", new DialogInterface.OnClickListener() {\n\n\t\t\t\t@Override\n\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\tdoPunchOut(et_password.getText().toString());\n\t\t\t\t\tdoLogin();\n\t\t\t\t\tdialog.dismiss();\n\t\t\t\t}\n\t\t\t});\n\t\t\talert_box.setNeutralButton(\"NO\", new DialogInterface.OnClickListener() {\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}\n\t\t\t});\n\n\t\t\talert_box.show();\n\t\t}\n\t}",
"private void login(){\n\t\tprogress.toggleProgress(true, R.string.pagetext_signing_in);\n\t\tParseUser.logInInBackground(email.split(\"@\")[0], password, new LogInCallback() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void done(ParseUser user, ParseException e) {\n\t\t\t\tif (e == null) {\n\t\t\t\t\tprogress.toggleProgress(false);\n\t\t\t\t\tIntent intent = new Intent(context, MainActivity.class);\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t} else {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t// else, incorrect password\n\t\t\t\t\tToast.makeText(context, \n\t\t\t\t\t\t\t\t getString(R.string.parse_login_fail, email), \n\t\t\t\t\t\t\t\t Toast.LENGTH_LONG).show();\t\t\t\t\t\n\t\t\t\t\tLog.e(\"Error Logging into Parse\", \"Details: \" + e.getMessage());\n\t\t\t\t}\n\t\t\t}\t\t\t\t\t\t\t\n\t\t});\n\t}",
"private void login() {\n AnonimoTO dati = new AnonimoTO();\n String username = usernameText.getText();\n String password = passwordText.getText();\n\n if (isValidInput(username, password)) {\n dati.username = username;\n dati.password = password;\n\n ComplexRequest<AnonimoTO> request =\n new ComplexRequest<AnonimoTO>(\"login\", RequestType.SERVICE);\n request.addParameter(dati);\n\n SimpleResponse response =\n (SimpleResponse) fc.processRequest(request);\n\n if (!response.getResponse()) {\n if (ShowAlert.showMessage(\n \"Username o password non corretti\", AlertType.ERROR)) {\n usernameText.clear();\n passwordText.clear();\n }\n }\n }\n\n }",
"private void setLoginInformation()\n {\n // Set up the login form.\n mIPView_ = (EditText) findViewById( R.id.IP );\n mPortView_ = (EditText) findViewById( R.id.password );\n\n // Set the intial display\n if ( rememberLoginIsSet_ )\n {\n if ( properties_.containsKey( getString( R.string.saved_IP ) ) )\n {\n mIP_ =\n properties_\n .getProperty( getString( R.string.saved_IP ) );\n }\n\n if ( properties_.containsKey( getString( R.string.saved_Port ) ) )\n {\n mPort_ =\n properties_\n .getProperty( getString( R.string.saved_Port ) );\n }\n }\n\n // Set the values to whatever the load settings or default are\n mIPView_.setText( mIP_ );\n mPortView_.setText( mPort_ );\n\n mPortView_\n .setOnEditorActionListener( new TextView.OnEditorActionListener()\n {\n @Override\n public boolean onEditorAction( TextView textView, int id,\n KeyEvent keyEvent )\n {\n if ( id == R.id.login || id == EditorInfo.IME_NULL )\n {\n attemptLogin();\n return true;\n }\n return false;\n }\n } );\n\n mLoginFormView = findViewById( R.id.login_form );\n mLoginStatusView = findViewById( R.id.login_status );\n mLoginStatusMessageView =\n (TextView) findViewById( R.id.login_status_message );\n }",
"private void authenticateAction() {\n if (requestModel.getUsername().equals(\"superuser\")\n && requestModel.getPassword().equals(\"\")) {\n Collection<Webres> webres = getAllWebres();\n proceedWhenAuthenticated(new User(null, null, null, \"superuser\", \"\", null) {\n @Override\n public Collection<Webres> getAllowedResources() {\n return webres;\n }\n @Override\n public ActionController getDefaultController() {\n return ActionController.EMPLOYEES_SERVLET;\n }\n });\n return;\n }\n \n // try to authenticate against other credentials from the database\n Optional<User> u = getUserByCredentials(requestModel.getUsername(), requestModel.getPassword()); \n if (u.isPresent()) {\n proceedWhenAuthenticated(u.get());\n return;\n }\n \n // report authentication failed\n LOG.log(Level.INFO, \"{0} Authentication failed. Login: {1}, Password: {2}\", new Object[]{httpSession.getId(), requestModel.getUsername(), requestModel.getPassword()});\n SignInViewModel viewModel = new SignInViewModel(true);\n renderSignInView(viewModel);\n }",
"@Test(\tdescription = \"Verify initial focus on the login screen should be in username\",\n\t\t\tgroups = { \"skip-functional\" })\n\tpublic void LoginScreen03() throws HarnessException {\n\t\tapp.zPageLogin.zNavigateTo();\n\t\t\n\t\t// Type a unique string into the browser\n\t\tString value = \"foo\" + ZmailSeleniumProperties.getUniqueString();\n\t\tapp.zPageLogin.zKeyboardTypeString(value);\n\t\t\n\t\t// Get the value of the username field\n\t\tString actual = app.zPageLogin.sGetValue(PageLogin.Locators.zInputUsername);\n\t\t\n\t\t// Verify typed text and the actual text match\n\t\tZAssert.assertEquals(actual, value, \"Verify the username has initial focus\");\n\t\t\n\t}",
"protected void handleLoginSucceeded(){\n super.handleLoginSucceeded();\n\n // Apply any ivar changes which might have occurred when we were waiting\n // for login.\n synchronized(this){\n\n // Workaround: the server won't send us the full seek list if we set seekinfo\n // on the login line.\n if (ivarStates.get(Ivar.SEEKINFO.getIndex())){\n sendCommand(\"$$iset seekinfo 1\");\n filterLine(\"seekinfo set.\");\n }\n\n\n for (int i = 0; i < requestedIvarStates.size(); i++){\n boolean state = requestedIvarStates.get(i);\n Ivar ivar = Ivar.getByIndex(i);\n if (state != ivarStates.get(i)){\n sendCommand(\"$$iset \"+ivar.getName()+\" \"+(state ? \"1\" : \"0\"));\n filterLine(ivar.getName()+\" \"+(state ? \"\" : \"un\")+\"set.\");\n }\n }\n\n sendCommand(\"$set style \"+style);\n filterLine(\"Style \"+style+\" set.\");\n\n sendCommand(\"$set interface \"+interfaceVar);\n\n sendCommand(\"$set ptime 0\");\n filterLine(\"Your prompt will now not show the time.\");\n }\n }",
"public void setlogUserIn() {\n\t\tmenu1.setOnAction(event -> {\n\t\t\topenUserSettings();\n\t\t});\n\t\tmenu2.setOnAction(event -> {\n\t\t\tsetlogUserOut();\n\t\t});\n\t\tuserMenuButton.setText(controller.loggedIn());\n\t\tuserMenuButton.setStyle(\"-fx-font-size: 10pt; -fx-text-fill:black;\"); // MUOTOILU CSSSSSÄÄÄÄN\n\t\tuserMenuButton.getItems().addAll(menu1, menu2);\n\t\tloggedinuser.setVisible(true);\n\t\tloggedinuser.setText(bundle.getString(\"mVloggedin\"));\n\t\tloggedinuser.setGraphic(userMenuButton);\n\t\tloggedinuser.setContentDisplay(ContentDisplay.RIGHT);\n\t\tuserSettings.setVisible(true);\n\t\tloginoption.setVisible(false);\n\t}",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n mPasswordView.setError(getString(R.string.error_field_required));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email.replace(\" \", \"%20\"), password.replace(\" \", \"%20\"));\n mAuthTask.execute((Void) null);\n }\n }",
"@Override\n\tpublic ResultMessage login(String user_name, String password) throws RemoteException{\n\t\treturn null;\n\t}",
"public void attemptLogin() {\n\t\t// Reset errors.\n\t\temailTextView.setError(null);\n\t\tpasswordTextView.setError(null);\n\n\t\t// Store values at the time of the login attempt.\n\t\temail = emailTextView.getText().toString();\n\t\tpassword = passwordTextView.getText().toString();\n\n\t\tboolean cancel = false;\n\n\t\t// Check for a valid email address.\n\t\tcancel = Validate.PresenceOf(emailTextView);\n\t\tif (!cancel) cancel = Validate.PatternOf(emailTextView, Patterns.EMAIL_ADDRESS);\n\t\t\n\t\t// check valid password\n\t\tif (!cancel) cancel = Validate.PresenceOf(passwordTextView);\t\t\n\n\t\tif (!cancel) {\t\n\t\t\tKeyboard.hide(getActivity());\n\t\t\tlogin();\n\t\t}\n\t}",
"private void jButtonLoginActionPerformed(java.awt.event.ActionEvent evt) {\n Username= jTextUsername.getText();\n Password= String.valueOf(jPassword.getPassword()); \n if ((Username != null)&& (Password!= null)) {\n if(Common.CheckSpace(Username)!= false){\n jLabelCheckSpace.setText(\"Username must not have space. Try again!\");\n System.out.println(\"Try again!\");\n }\n else{\n if (userController.Login(Username, Password)==true) {\n System.out.println(\"Login success!\");\n try {\n DashBoard.role_user = userController.GetRole(Username);\n System.out.println(\"\"+DashBoard.role_user);\n } catch (SQLException ex) {\n Logger.getLogger(Login.class.getName()).log(Level.SEVERE, null, ex);\n }\n DashBoard dashBoard= new DashBoard();\n dashBoard.show();\n dashBoard.getjLabelUsername().setText(Username);\n this.dispose();\n }\n else{\n jLabelCheckPassword.setText(\"Password is not right! Please try again!\");\n System.out.println(\"Fail!\"); \n }\n } \n } \n }",
"private boolean AlreadyLogin() {\n\t\tString usn = uPreferences.getString(\"username\", null);\n\t\tString pwd = uPreferences.getString(\"password\", null);\n\t\tif((usn == null) || ((pwd == null))){\n\t\t\treturn false;\n\t\t}\n\t\telse \n\t\t\treturn true;\n\t}",
"@Before(unless = { \"signin\", \"doLogin\" })\n\tprivate static void checkAuthentification() {\n\t\t// get ID from secure social plugin\n\t\tString uid = session.get(PLAYUSER_ID);\n\t\tif (uid == null) {\n\t\t\tsignin(null);\n\t\t}\n\n\t\t// get the user from the store. TODO Can also get it from the cache...\n\t\tUser user = null;\n\t\tif (Cache.get(uid) == null) {\n\t\t\ttry {\n\t\t\t\tuser = UserClient.getUserFromID(uid);\n\t\t\t\tCache.set(uid, user);\n\t\t\t} catch (ApplicationException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tflash.error(\"Problem while getting user from store...\");\n\t\t\t}\n\t\t} else {\n\t\t\tuser = (User) Cache.get(uid);\n\t\t}\n\n\t\tif (user == null) {\n\t\t\tflash.error(\"Problem while getting user from store...\");\n\t\t\tAuthentifier.logout();\n\t\t}\n\n\t\tif (user.avatarURL == null) {\n\t\t\tuser.avatarURL = Gravatar.get(user.email, 100);\n\t\t}\n\n\t\t// push the user object in the request arguments for later display...\n\t\trenderArgs.put(PLAYUSER, user);\n\t}",
"private void loginButtonMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_loginButtonMouseClicked\n //Make a default user object and bind the input data\n User loginUser;\n loginUser = new User(emailField.getText(), new String(passwordField.getPassword()));\n //Check hashed credentials against database\n //JEncryption encrypter = new JEncryption();\n //loginUser.setPswd(new String(encrypter.encrypt(loginUser.getPswd())));\n try\n {\n if(loginUser.login())\n {\n //If successful load the view\n //System.out.println(loginUser.toString());\n View v = new View(loginUser.getRole(), loginUser.getUserId());\n v.setVisible(true);\n this.setVisible(false);\n }\n //If not, pop out a login failed message\n else\n {\n JOptionPane.showMessageDialog(null, \"No user with that e-mail/password combination found.\");\n }\n }\n catch(DLException d)\n {\n JOptionPane.showMessageDialog(null, \"Connection Error. Please contact an administrator if the problem persists.\");\n }\n }",
"private void autoLogon() {\n\n // Get the username from the shared preferences file\n String strMailID = null;\n SharedPreferences appPreferences = getSharedPreferences(RegistrationScreenActivity.PREFERENCES_FILENAME, MODE_PRIVATE);\n if( appPreferences.contains(RegistrationScreenActivity.KEY_MAIL_ID) ) {\n strMailID = appPreferences.getString(RegistrationScreenActivity.KEY_MAIL_ID, null);\n }\n\n // If the username is not stored in the file, then request\n // the user to explicitly login by providing the credentials\n if(strMailID != null) {\n\n // Fetch the data from the database\n DatabaseHandler dbHandler = new DatabaseHandler(getApplicationContext());\n AccountInformation accountInfo = dbHandler.getAccountInfo(strMailID);\n if(accountInfo != null) {\n\n // If the account exists, then check auto logon is set to true\n if( !accountInfo.getIfSignedOut() && accountInfo.getIfAlwaysSignIn() ) {\n\n strUserMailID = accountInfo.getEmail();\n strUserName = accountInfo.getName();\n\n // Do auto login by auto displaying the home screen\n Intent intent = new Intent(this, HomeScreenActivity.class);\n intent.putExtra(RegistrationScreenActivity.KEY_MAIL_ID, strUserMailID);\n intent.putExtra(RegistrationScreenActivity.KEY_NAME, strUserName);\n startActivity(intent);\n\n } else {\n\n // Request user to enter the credentials\n Toast.makeText(getApplicationContext(), \"Session signed out previously. \\n \" +\n \"Please enter credentials to login\", Toast.LENGTH_LONG).show();\n }\n } else {\n // Display error if the account does not exists\n Toast.makeText(getApplicationContext(), \"No such user exists. \\n \" +\n \"Please register to login\", Toast.LENGTH_LONG).show();\n }\n }\n }",
"public UserLoginhandle() {\n\t\tsuper();\n\t}",
"private void attemptLogin() {\n String email = text_email.getText().toString();\n String password = text_password.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n text_password.setError(getString(R.string.error_field_required));\n focusView = text_password;\n cancel = true;\n }\n if (!isPasswordValid(password)) {\n text_password.setError(getString(R.string.error_invalid_password));\n focusView = text_password;\n cancel = true;\n }\n\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n text_email.setError(getString(R.string.error_field_required));\n focusView = text_email;\n cancel = true;\n } else if (!isEmailValid(email)) {\n text_email.setError(getString(R.string.error_invalid_email));\n focusView = text_email;\n cancel = true;\n }\n\n if (cancel) {\n focusView.requestFocus();\n } else {\n //showProgress(true);\n login(USER_NORMAL);\n }\n }",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.kkkkkkkkl[]/\\]\n\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n\n // Intent signInActivityIntent= new Intent(this,UserProfileActivity.class);\n // startActivity(signInActivityIntent);\n }\n }",
"public void attemptLogin()\n {\n if ( mAuthTask != null )\n {\n return;\n }\n\n // Reset errors.\n mIPView_.setError( null );\n mPortView_.setError( null );\n\n // Store values at the time of the login attempt.\n mIP_ = mIPView_.getText().toString();\n mPort_ = mPortView_.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password.\n if ( TextUtils.isEmpty( mPort_ ) )\n {\n mPortView_\n .setError( getString( R.string.error_field_required ) );\n focusView = mPortView_;\n cancel = true;\n }\n // The port should be four digits long\n else if ( mPort_.length() != 4 )\n {\n mPortView_\n .setError( getString( R.string.error_invalid_server ) );\n focusView = mPortView_;\n cancel = true;\n }\n\n // Check for a valid email address.\n if ( TextUtils.isEmpty( mIP_ ) )\n {\n mIPView_.setError( getString( R.string.error_field_required ) );\n focusView = mIPView_;\n cancel = true;\n }\n\n if ( cancel )\n {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n }\n else\n {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n mLoginStatusMessageView\n .setText( R.string.login_progress_signing_in );\n showProgress( true );\n\n // Start the asynchronous thread to connect and post to the server\n mAuthTask = new UserLoginTask();\n mAuthTask.execute( (Void) null );\n }\n }",
"public void attemptLogin() {\n\t\tif (mAuthTask != null) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Reset errors.\n\t\tmEmailView.setError(null);\n\t\tmPasswordView.setError(null);\n\n\t\t// Store values at the time of the login attempt.\n\t\tmEmail = mEmailView.getText().toString();\n\t\tmPassword = mPasswordView.getText().toString();\n\n\t\tboolean cancel = false;\n\t\tView focusView = null;\n\n\t\t/*\n\t\t * // Check for a valid password. if (TextUtils.isEmpty(mPassword)) {\n\t\t * mPasswordView.setError(getString(R.string.error_field_required));\n\t\t * focusView = mPasswordView; cancel = true; } else if\n\t\t * (mPassword.length() < 4) {\n\t\t * mPasswordView.setError(getString(R.string.error_invalid_password));\n\t\t * focusView = mPasswordView; cancel = true; }\n\t\t * \n\t\t * // Check for a valid email address. if (TextUtils.isEmpty(mEmail)) {\n\t\t * mEmailView.setError(getString(R.string.error_field_required));\n\t\t * focusView = mEmailView; cancel = true; } else if\n\t\t * (!mEmail.contains(\"@\")) {\n\t\t * mEmailView.setError(getString(R.string.error_invalid_email));\n\t\t * focusView = mEmailView; cancel = true; }\n\t\t */\n\t\tif (cancel) {\n\t\t\t// There was an error; don't attempt login and focus the first\n\t\t\t// form field with an error.\n\t\t\tfocusView.requestFocus();\n\t\t} else {\n\t\t\t// Show a progress spinner, and kick off a background task to\n\t\t\t// perform the user login attempt.\n\t\t\tshowProgress(true);\n\t\t\tmAuthTask = new UserLoginTask();\n\t\t\tmAuthTask.execute((Void) null);\n\t\t}\n\t}",
"public void loginUser(String username, String password)\n {\n // check password and username entered\n if(StringUtils.isNotBlank(username) &&\n StringUtils.isNotBlank(password))\n {\n // username and password not blank: continue\n // check user exists\n UserEntry template = new UserEntry();\n template.setUsername(username);\n\n UserEntry existingUser =\n spaceSearcher.getUserByUsername(username);\n\n if(existingUser != null)\n {\n // user exists\n try\n {\n boolean correctPassword = CipherUtils.verifyPassword(password,\n existingUser.getPassword(), existingUser.getSalt());\n\n if(correctPassword)\n {\n // login successful\n JOptionPane.showMessageDialog(loginForm,\n \"Welcome Back \" + existingUser.getUsername()+ \"!\");\n\n loginForm.setVisible(false);\n loginForm.dispose();\n\n // create new main form\n new MainForm(existingUser);\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Incorrect username or password!\");\n }\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"User does not exist! Please register.\");\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Please enter a valid username and password.\");\n }\n }",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n // Sets up a new login task with the provide login form\n mAuthTask = new UserLoginTask(email, password);\n try {\n // Executes login task\n mAuthTask.execute();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }",
"public void authUser(){\n\n String emptyString = \"\";\n if(!(String.valueOf(userName.getText()).equals(emptyString) ||\n String.valueOf(userNumber.getText()).equals(emptyString))){\n\n SharedPreferences preferences = getApplicationContext().getSharedPreferences(\"user_info\", 0);\n SharedPreferences.Editor editor = preferences.edit();\n editor.putBoolean(getResources().getString(R.string.isLoggedIn), true);\n editor.putString(getResources().getString(R.string.userName), String.valueOf(userName.getText()));\n editor.putString(getResources().getString(R.string.userNumber), String.valueOf(userNumber.getText()));\n editor.apply();\n\n Intent intent = new Intent(getApplicationContext(), HomeScreen.class);\n\n startActivity(intent);\n }\n else{\n Toast.makeText(getApplicationContext(),\n \"Please enter compelete credentials..\", Toast.LENGTH_SHORT)\n .show();\n }\n\n }",
"@Override\n public void onLogin(String userName, String userPassword)\n {\n User user=new User();\n\n if(user.getuserName().equals(userName) && user.getPassword().equals(userPassword))\n {\n mainView.onLoginResult(\"Successfully Logged In\");\n }\n else\n {\n mainView.onLoginResult(\"Failed to Log In\");\n }\n\n }",
"private void attemptLogin() {\r\n if (mAuthTask != null) {\r\n return;\r\n }\r\n\r\n // Reset errors.\r\n mPhoneView.setError(null);\r\n mPasswordView.setError(null);\r\n\r\n // Store values at the time of the login attempt.\r\n String phone = mPhoneView.getText().toString();\r\n String password = mPasswordView.getText().toString();\r\n\r\n boolean cancel = false;\r\n View focusView = null;\r\n\r\n // Check for a valid password, if the user entered one.\r\n if (TextUtils.isEmpty(password)) {\r\n mPasswordView.setError(getString(R.string.error_field_required));\r\n focusView = mPasswordView;\r\n cancel = true;\r\n }\r\n\r\n // Check for a valid phone address.\r\n if (TextUtils.isEmpty(phone)) {\r\n mPhoneView.setError(getString(R.string.error_field_required));\r\n focusView = mPhoneView;\r\n cancel = true;\r\n } else if (!isPhoneValid(phone)) {\r\n mPhoneView.setError(getString(R.string.error_invalid_phone));\r\n focusView = mPhoneView;\r\n cancel = true;\r\n }\r\n\r\n if (cancel) {\r\n // There was an error; don't attempt login and focus the first\r\n // form field with an error.\r\n focusView.requestFocus();\r\n } else {\r\n // Show a progress spinner, and kick off a background task to\r\n // perform the user login attempt.\r\n showProgress(true);\r\n mAuthTask = new UserLoginTask(phone, password);\r\n mAuthTask.execute((Void) null);\r\n }\r\n }",
"public String login() {\n try {\n HttpServletRequest request = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();\n request.login(name, password);\n initUser();\n request.getSession().setAttribute(\"current_user\", this);\n return \"/index?faces-redirect=true\";\n } catch (ServletException e) {\n FacesContext context = FacesContext.getCurrentInstance();\n FacesMessage message = new FacesMessage(\"Wrong login or password\");\n message.setSeverity(FacesMessage.SEVERITY_ERROR);\n context.addMessage(\"login\", message);\n }\n return \"/pages/login.xhtml\";\n }",
"public void checkForTempUsername() {\r\n\t\t// get my profile, and check for a default username\r\n\t\tUserProfile userProfile = authenticationController.getCurrentUserProfile();\r\n\t\tif (userProfile != null && DisplayUtils.isTemporaryUsername(userProfile.getUserName())) {\r\n\t\t\tgotoChangeUsernamePlace();\r\n\t\t} else {\r\n\t\t\tgoToLastPlace();\r\n\t\t}\r\n\t}",
"public void loginAsUser() {\n vinyardApp.navigateToUrl(\"http://localhost:8080\");\n vinyardApp.fillUsername(\"user\");\n vinyardApp.fillPassord(\"123\");\n vinyardApp.clickSubmitButton();\n }",
"public void attemptLogin() {\n\n\t\t// Reset errors.\n\t\tmUserView.setError(null);\n\t\tmPasswordView.setError(null);\n\n\t\t// Save values.\n\t\tmUser = mUserView.getText().toString();\n\t\tmPassword = mPasswordView.getText().toString();\n\n\t\tboolean cancel = false;\n\t\tView focusView = null;\n\n\t\t// Check for a valid password.\n\t\tif (TextUtils.isEmpty(mPassword)) {\n\t\t\tmPasswordView.setError(getString(R.string.error_field_required));\n\t\t\tfocusView = mPasswordView;\n\t\t\tcancel = true;\n\t\t} else if (mPassword.length() < 4) {\n\t\t\tmPasswordView.setError(getString(R.string.error_invalid_password));\n\t\t\tfocusView = mPasswordView;\n\t\t\tcancel = true;\n\t\t}\n\n\t\t// Check for a valid user.\n\t\tif (TextUtils.isEmpty(mUser)) {\n\t\t\tmUserView.setError(getString(R.string.error_field_required));\n\t\t\tfocusView = mUserView;\n\t\t\tcancel = true;\n\t\t} else if (mUser.length() < 4) {\n\t\t\tmUserView.setError(getString(R.string.error_invalid_user));\n\t\t\tfocusView = mUserView;\n\t\t\tcancel = true;\n\t\t}\n\t\t\t\t\n\t\tif (cancel) {\n\t\t\t// There is an error, so registration does not success and focus on the error.\n\t\t\tfocusView.requestFocus();\n\t\t} else {\n\t\t\t// Send information to server.\n\t\t\tmLoginStatusMessageView.setText(R.string.login_progress_registering);\n\t\t\tshowProgress(true);\n\t\t\tsendInfoToServer();\n\t\t}\n\t}",
"private void login() {\n if (usrField.getText().equals(\"\") || passwordField.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(rootPane,\n \"YOU MUST ENTER USER AND PASSWORD\",\n \"ERROR\",\n JOptionPane.WARNING_MESSAGE);\n return;\n }\n\n //User.ID = userField.getText();\n User.ID = \"BPDB\";\n\n //User.password = passwordField.getText();\n\n User.password = \"BPDB\";\n\n\n //String sql = \"SELECT desig FROM BPDB.usr WHERE name = '\" + userField.getText() + \"',\"and\" +passwordField.getText() +\"'\";\n\n String sql = \"select desig from BPDB.usr where name='\" + usrField.getText()\n + \"' and password='\" + passwordField.getText() + \"'\";\n\n User.desig = Utility2.singleStOPQuery(login, sql);\n System.out.println(\"Designation : \" + User.desig);\n if (User.desig.isEmpty()) {\n\n\n JOptionPane.showMessageDialog(rootPane,\n \"YOU MUST ENTER USER AND PASSWORD\",\n \"ERROR\",\n JOptionPane.WARNING_MESSAGE);\n return;\n } else {\n\n sql = \"SELECT name FROM BPDB.usr WHERE name = '\" + usrField.getText() + \"'\";\n User.name = Utility2.singleStOPQuery(login, sql);\n\n if (User.desig.equalsIgnoreCase(\"BPDB\")) {\n setVisible(false);\n dispose();\n new HomeFrame().setVisible(true);\n\n } else if (User.desig.equalsIgnoreCase(\"DRAFT\")) {\n setVisible(false);\n dispose();\n new DRAFTFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"APPLY\")) {\n setVisible(false);\n dispose();\n new APPLYFrame().setVisible(true);\n\n } else if (User.desig.equalsIgnoreCase(\"HR\")) {\n setVisible(false);\n dispose();\n new HRFrame().setVisible(true);\n\n } else if (User.desig.equalsIgnoreCase(\"ADMIN\")) {\n setVisible(false);\n dispose();\n new ADMINFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"ACCOUNT\")) {\n setVisible(false);\n dispose();\n new ACCOUNTFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"SALARY\")) {\n setVisible(false);\n dispose();\n new SALARYFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"BILLING\")) {\n setVisible(false);\n dispose();\n new BILLINGFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"DISTRIBUTION\")) {\n setVisible(false);\n dispose();\n new DISTRIBUTIONFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"GENERATION\")) {\n setVisible(false);\n dispose();\n new GENERATIONFrame().setVisible(true);\n\n } else if (User.desig.equalsIgnoreCase(\"DHAKA\")) {\n setVisible(false);\n dispose();\n new DHAKAFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"KHULNA\")) {\n setVisible(false);\n dispose();\n new KHULNAFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"RAUJAN\")) {\n setVisible(false);\n dispose();\n new RAUJANFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"SHIDDERGANJ\")) {\n setVisible(false);\n dispose();\n new SHIDDERGANJFrame().setVisible(true);\n } else if (User.desig.equalsIgnoreCase(\"GRASHAL\")) {\n setVisible(false);\n dispose();\n new GRASHALFrame().setVisible(true);\n }\n }\n }",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password, false);\n mAuthTask.execute((Void) null);\n }\n }",
"private void attemptLogin() {\r\n if (mAuthTask != null) {\r\n return;\r\n }\r\n\r\n\r\n // Store values at the time of the login attempt.\r\n String email = mEmailView.getText().toString();\r\n String password = mPasswordView.getText().toString();\r\n\r\n boolean cancel = false;\r\n View focusView = null;\r\n\r\n // Check for a valid password, if the user entered one.\r\n\r\n // Check for a valid email address.\r\n if (TextUtils.isEmpty(email)) {\r\n mEmailView.setError(getString(R.string.error_field_required));\r\n focusView = mEmailView;\r\n cancel = true;\r\n } else if (!isEmailValid(email)) {\r\n mEmailView.setError(getString(R.string.error_invalid_email));\r\n focusView = mEmailView;\r\n cancel = true;\r\n }\r\n mAuthTask = new UserLoginTask(email, password);\r\n try {\r\n Boolean logStatus = mAuthTask.execute(\"http://shubhamgoswami.me/login\").get();\r\n if(logStatus){\r\n SQLiteDatabase db = openOrCreateDatabase(\"adharShila\",MODE_PRIVATE, null);\r\n db.execSQL(\"UPDATE LOGSTATUS SET USERNAME=\\\"\"+mEmailView.getText()+\"\\\", STATUS=1 WHERE ENTRY=1\");\r\n db.close();\r\n Intent i = new Intent(getApplicationContext(), MainActivity.class);\r\n i.putExtra(\"username\", mEmailView.getText());\r\n i.putExtra(\"password\", password);\r\n startActivity(i);\r\n }\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n } catch (ExecutionException e) {\r\n e.printStackTrace();\r\n }\r\n }",
"@Test\n\tpublic void loginWithValidCredentials(){\n\t\tapp.loginScreen().waitUntilLoaded();\n\t\tapp.loginScreen().logIn(Credentials.USER_VALID.username, Credentials.USER_VALID.password);\n\t\tassertTrue(app.userDashboardScreen().isActive());\n\t}",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n\n }",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n// showProgress(true);\n mEmail = email;\n mPassword = password;\n mAuthTask = new UserLoginTask(this);\n mAuthTask.execute((Void) null);\n }\n }",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n }",
"private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n }",
"public void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_user));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n\n // save data in local shared preferences\n if (savePassword.isChecked()) {\n saveLoginDetails(email, password);\n }\n\n\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n }",
"public void setLogin(String strLogin)\n {\n \tstringLogin = strLogin;\n }",
"void initiateLogin() {\n\t\tString username = this.mAuthUsername.getText().toString();\n\t\tString password = this.mAuthPassword.getText().toString();\n\t\t\n\t\tfetch();\n\t\tthis.mAuthTask = new AuthenticationTask(this, this, username, password);\n\t\tthis.mAuthTask.execute();\n\t}",
"void AllowUserToLogin(String userName, String password) {\n\t\tParseUser.logInInBackground(userName, password, new LogInCallback() {\r\n\t\t\tpublic void done(ParseUser user, ParseException e) {\r\n\t\t\t\tif (user != null) {\r\n\t\t\t\t\t// If user exist and authenticated, send user to\r\n\t\t\t\t\t// Welcome.class\r\n\t\t\t\t\tIntent intent = new Intent(Register.this, ClientList.class);\r\n\t\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK\r\n\t\t\t\t\t\t\t| Intent.FLAG_ACTIVITY_CLEAR_TASK);\r\n\t\t\t\t\tstartActivity(intent);\r\n\t\t\t\t\tprogressdialog.dismiss();\r\n\t\t\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\t\t\"Successfully Logged in\", Toast.LENGTH_LONG).show();\r\n\t\t\t\t\tfinish();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tprogressdialog.dismiss();\r\n\t\t\t\t\tshowAlert(\"No such user exist, please signup\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t}",
"public String processLogin(Credential credential) {\n\t\tString result = null;\n \tSystem.out.println(\"input username is:\" + credential.getUname());\n \tSystem.out.println(\"input password is:\" + String.valueOf(credential.getPwd()));\n if (credential.getUname().equalsIgnoreCase(\"josephzelo\")){\n \tSystem.out.println(\"username is correct\");\n \tif(String.valueOf(credential.getPwd()).equalsIgnoreCase(\"asdasd\")){\n \t\tresult = \"customer\";\n \t} else {\n \t\tSystem.out.println(\"password is wrong\");\n \t}\n } else if (credential.getUname().equalsIgnoreCase(\"admin\")) {\n \tSystem.out.println(\"username is correct\");\n \tif(String.valueOf(credential.getPwd()).equalsIgnoreCase(\"admin\")){\n \t\tresult = \"admin\";\n \t} else {\n \t\tSystem.out.println(\"password is wrong\");\n \t}\n } else {\n \tSystem.out.println(\"username is wrong\");\n }\n\t\treturn result;\n\t}",
"public static void login() {\n\t\t\n\t\t\n\n\t\twhile(!userIsLogged) {\n\n\t\t\tSystem.out.println(\"--> LOGIN <--\");\n\n\t\t\tString username = \"\";\n\t\t\tString password = \"\";\n\n\t\t\tdo {\n\t\t\t\tSystem.out.print(\"Username: \");\n\t\t\t\tusername = Main.scanner.nextLine();\n\t\t\t\tSystem.out.print(\"Password: \");\n\t\t\t\tpassword = Main.scanner.nextLine();\n\n\t\t\t\tif(username.isEmpty() && password.isEmpty()) {\n\t\t\t\t\tSystem.out.println(\"\\n>> Username or Password not inserted\\n\");\n\t\t\t\t}\n\n\t\t\t} while (username.isEmpty() && password.isEmpty());\n\n\n\t\t\tfor (Person person : userList) {\n\t\t\t\tif (person.getUsername().equals(username) && person.getPassword().equals(password)) {\n\t\t\t\t\t// loging correct\n\t\t\t\t\tloggedUser = person;\n\t\t\t\t\tuserIsLogged = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(!userIsLogged) {\n\t\t\t\tSystem.out.println(\"\\n>> Wrong username or password\\n\");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"Welcome \" + loggedUser.getName() + \" \" + loggedUser.getSurname());\n\t}",
"public boolean ValidCredentials() { \n\t\tif(!isEmptyFieldData()){\n\t\t\tSystemUserQuery sq = new SystemUserQuery();\n\t\t\tUser user = sq.loginQuery(getUsername(), getPassword());\n\t\t\t\n\t\t\tif(user != null){\n\t\t\t\tMain.setCurrentUser(user);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t\treturn false;\n\t}"
] |
[
"0.71384144",
"0.69907933",
"0.6971489",
"0.6836995",
"0.68090963",
"0.67889345",
"0.6760627",
"0.67551035",
"0.6732519",
"0.67077166",
"0.67074174",
"0.6631476",
"0.6623934",
"0.6595075",
"0.6592032",
"0.6578718",
"0.65643364",
"0.6544988",
"0.6529199",
"0.6526276",
"0.65093833",
"0.65020156",
"0.6498482",
"0.6487637",
"0.64867145",
"0.6477481",
"0.6476922",
"0.64691174",
"0.6464466",
"0.6459768",
"0.645061",
"0.64505655",
"0.6447909",
"0.64469886",
"0.6445198",
"0.64362323",
"0.64282316",
"0.64077175",
"0.63919044",
"0.6391678",
"0.6375499",
"0.63714826",
"0.6369411",
"0.6363976",
"0.63613933",
"0.6340932",
"0.63400775",
"0.63372785",
"0.6335182",
"0.6332656",
"0.6313828",
"0.63100094",
"0.6306496",
"0.6306379",
"0.6302874",
"0.6292881",
"0.6292497",
"0.62897706",
"0.627161",
"0.62654704",
"0.62650126",
"0.62638813",
"0.62593687",
"0.6254201",
"0.6253463",
"0.6243491",
"0.62414926",
"0.622933",
"0.6226933",
"0.6214124",
"0.6207616",
"0.6204987",
"0.61993223",
"0.61924124",
"0.61892694",
"0.6179213",
"0.61790293",
"0.6166222",
"0.6164891",
"0.6163451",
"0.6161855",
"0.61558914",
"0.61544704",
"0.61536235",
"0.6153343",
"0.6151334",
"0.6143245",
"0.61403507",
"0.61387944",
"0.61384434",
"0.6137865",
"0.6137588",
"0.6137303",
"0.6137303",
"0.6132877",
"0.61303973",
"0.612704",
"0.6125085",
"0.61249226",
"0.61199677",
"0.61118835"
] |
0.0
|
-1
|
/Name: Triangle (ctor) Purpose: Sets the name of the shape as triangle, makes the new 3 points Parameter: None
|
public Triangle() {
super("Triangle: ");
this.setP1(new Point());
this.setP2(new Point());
this.setP3(new Point());
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Triangle(int x1, int y1, int x2, int y2, int x3, int y3, String name){\n this.x1 = x1;\n this.y1 = y1;\n this.x2 = x2;\n this.y2 = y2;\n this.x3 = x3;\n this.y3 = y3;\n this.name = name;\n \n \n }",
"public Triangle( Point p1, Point p2, Point p3 ) {\n super(\"Triangle: \");\n this.setP1(p1);\n this.setP2(p2);\n this.setP3(p3);\n }",
"public Triangle() {\n\t\tsuper.addPoint(new java.awt.Point(0,1));\n\t\tsuper.addPoint(new java.awt.Point(1,0));\n\t\tsuper.addPoint(new java.awt.Point(2,1));\n\t}",
"public Triangle() {\n setPointsAs0();\n S = 0;\n }",
"public Triangle() {\n this(0,0,0,0,0);\n }",
"public Triangle (int x, int y, int z){ \r\n \r\n \r\n }",
"public Triangle()\n {\n\n this(new Point(-0.5f, (float)-Math.tan(Math.PI / 6), 0f), new Point(\n 0.5f,\n (float)-Math.tan(Math.PI / 6),\n 0f), new Point(0f, (float)Math.sqrt(0.75)\n + (float)-Math.tan(Math.PI / 6), 0f));\n }",
"public Triangle(){\n\t\tside1=1.0;\n\t\tside2=1.0;\n\t\tside3=1.0;\n\t}",
"public Triangle( Triangle tri ) {\n super(\"Triangle: \");\n this.setP1( new Point( tri.getP1() ) );\n this.setP2( new Point( tri.getP2() ) );\n this.setP3( new Point( tri.getP3() ) );\n }",
"public Triangle() {}",
"Triangle(){\n side1 = 1.0;\n side2 = 1.0;\n side3 = 1.0;\n }",
"public Triangle(IPoint firstPoint, IPoint secondPoint, IPoint thirdPoint)\n {\n this(firstPoint, secondPoint, thirdPoint, null);\n\n }",
"public Triangle(Point p1, Point p2, Point p3) {\n this.p1 = p1;\n this.p2 = p2;\n this.p3 = p3;\n this.path = buildPath();\n }",
"public Triangle (double x1,double y1,double x2, double y2,double x3,double y3)\r\n {\r\n v1 = new Point(x1,y1);\r\n v2 = new Point(x2,y2);\r\n v3 = new Point(x3,y3);\r\n }",
"public Triangle(\n IPoint firstPoint,\n IPoint secondPoint,\n IPoint thirdPoint,\n IPrimitive parent)\n {\n super(parent);\n this.addVertex(firstPoint);\n this.addVertex(secondPoint);\n this.addVertex(thirdPoint);\n\n }",
"public Triangle() {\n\t\tsuper();\n\t\tthis.base = 0;\n\t\tthis.height = 0;\n\t\t\n\t}",
"public Triangle(double x,double y,double length,String name)\n\t{\n\t\tsetName(name);\n\t\tsetLength(length);\n\t\tsetX(x);\n\t\tsetY(y);\n\t\tsetX1();\n\t\tsetY1();\n\t\tsetX2();\n\t\tSetY2();\t\t\n\t}",
"public Triangle(String stringTriangle) {\n setPointsAs0();\n setPoints(stringTriangle);\n setRibs();\n calculateBaseAndHeight();\n calculateS();\n }",
"public Triangle(Point a, Point b, Point c){\n this.a=a;\n this.b=b;\n this.c=c;\n }",
"Triangle(int x, int y, int z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"Triangle (double side1, double side2, double side3){\n this.side1 = side1;\n this.side2 = side2;\n this.side3 = side3;\n }",
"public Triangle (int tipX, int tipY, int height, String orientation){\n super.points = new ArrayList();\n x1 = tipX;\n y1 = tipY;\n this.height = height;\n defineVertexes(orientation);\n definePoints();\n }",
"public Triangle (double x1,double y1,double x2, double y2)\r\n {\r\n v1 = new Point(x1,y1);\r\n v2 = new Point(x2,y2);\r\n v3 = new Point(0,0);\r\n }",
"public Triangle(double s1, double s2, double s3){\n\t\tside1=s1;\n\t\tside2=s2;\n\t\tside3=s3;\n\t}",
"public Triangle() {\n // initialize vertex byte buffer for shape coordinates\n ByteBuffer bb = ByteBuffer.allocateDirect(\n // (number of coordinate values * 4 bytes per float)\n triangleCoords.length * 4);\n // use the device hardware's native byte order\n bb.order(ByteOrder.nativeOrder());\n\n // create a floating point buffer from the ByteBuffer\n vertexBuffer = bb.asFloatBuffer();\n // add the coordinates to the FloatBuffer\n vertexBuffer.put(triangleCoords);\n // set the buffer to read the first coordinate\n vertexBuffer.position(0);\n\n // prepare shaders and OpenGL program\n int vertexShader = MyGLRenderer.loadShader(\n GLES20.GL_VERTEX_SHADER, vertexShaderCode);\n int fragmentShader = MyGLRenderer.loadShader(\n GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode);\n\n mProgram = GLES20.glCreateProgram(); // create empty OpenGL Program\n GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program\n GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program\n GLES20.glLinkProgram(mProgram); // create OpenGL program executables\n\n }",
"public TriangleGizmo(String name, double x1, double y1) {\n\t\t\tdouble w = 20;\n\t\t\tdouble h = 20;\n\t\t\txpos1 = x1*20;\n\t\t\txpos2 = (x1*20) + w;\n\t\t\txpos3 = xpos2;\n\t\t\typos1 = y1*20;\n\t\t\typos2 = y1*20;\n\t\t\typos3 = ypos2 + h;\n\t\t\twidth = w;\n\t\t\theight = h;\n\t\t\tcolour = Color.WHITE;\n\t\t\tls1 = new LineSegment(x1*20, y1*20, xpos2, ypos2);\n\t\t\tls2 = new LineSegment(xpos2, ypos2, xpos3, ypos3);\n\t\t\tls3 = new LineSegment(x1*20, y1*20, xpos3, ypos3);\n\t\t\tsetName(name);\n\t\t}",
"public Triangle(double side1, double side2, double side3) {\n\t\tthis.side1 = side1;\n\t\tthis.side2 = side2;\n\t\tthis.side3 = side3;\n\t}",
"public EquilateralTriangle( String name, double length) {\n super(name, 3, length);\n }",
"public Triangle(IPrimitive parent)\n {\n this(new Point(-0.5f, (float)-Math.tan(Math.PI / 6), 0f), new Point(\n 0.5f,\n (float)-Math.tan(Math.PI / 6),\n 0f), new Point(0f, (float)Math.sqrt(0.75)\n + (float)-Math.tan(Math.PI / 6), 0f), parent);\n\n }",
"public Triangle(Triangle tri){\n this(tri.width, tri.height, tri.perpendicular, tri.getX(), tri.getY());\n }",
"public ShapeTriMesh() {\n\t\tsuper();\n\t\tthis.setName(UUID.randomUUID().toString());\n\t}",
"void addTriangle(AbstractTriangle t);",
"public Triangle(int width, int height, int perpendicular) {\n this(width,height,perpendicular,0,0);\n }",
"TriangleChecker(int x, int y, int z) {\n triangle = new Triangle(x, y, z);\n }",
"Triangle(int height) {\r\n\t this.height = height;\r\n\t}",
"void addTriangle(int vertexIndex1, int vertexIndex2, int vertexIndex3);",
"public Triangle(int width, int height, int perpendicular, int x, int y){\n super(x,y);\n setWidth(width);\n setHeight(height);\n setPerpendicular(perpendicular);\n }",
"public Triangle(float c0X, float c0Y, float c1X, float c1Y, float c2X, float c2Y, float r, float g, float b) {\n triangleCoords[0] = c0X;\n triangleCoords[1] = c0Y;\n triangleCoords[2] = 0;\n triangleCoords[3] = c1X;\n triangleCoords[4] = c1Y;\n triangleCoords[5] = 0;\n triangleCoords[6] = c2X;\n triangleCoords[7] = c2Y;\n triangleCoords[8] = 0;\n color[0] = r;\n color[1] = g;\n color[2] = b;\n centerX = (c0X+c1X) / 2.0f;\n centerY = (float)(c0Y - ((c1X-c0X)/(Math.sqrt(3)*2.0f)));\n\n // initialize vertex byte buffer for shape coordinates\n ByteBuffer bb = ByteBuffer.allocateDirect(\n // (number of coordinate values * 4 bytes per float)\n triangleCoords.length * 4);\n // use the device hardware's native byte order\n bb.order(ByteOrder.nativeOrder());\n\n // create a floating point buffer from the ByteBuffer\n vertexBuffer = bb.asFloatBuffer();\n // add the coordinates to the FloatBuffer\n vertexBuffer.put(triangleCoords);\n // set the buffer to read the first coordinate\n vertexBuffer.position(0);\n\n\n // The drawn object (This triangle) needs to claim shaders for vertex and fragment, so it can be drawn\n int vertexShader = MyGLRenderer.loadShader(GLES20.GL_VERTEX_SHADER,\n vertexShaderCode);\n int fragmentShader = MyGLRenderer.loadShader(GLES20.GL_FRAGMENT_SHADER,\n fragmentShaderCode);\n\n // create empty OpenGL ES Program ( = one openGL procedure responsible for drawing this shape)\n mProgram = GLES20.glCreateProgram();\n\n // add the vertex shader to program\n GLES20.glAttachShader(mProgram, vertexShader);\n\n // add the fragment shader to program\n GLES20.glAttachShader(mProgram, fragmentShader);\n\n // creates OpenGL ES program executables\n GLES20.glLinkProgram(mProgram);\n }",
"public Triangle(ITriangle triangleToCopy, IPrimitive parent)\n {\n super(triangleToCopy, parent);\n\n }",
"public Triangle(double sideLength, double borderWidth) {\r\n this.sideLength = sideLength;\r\n this.borderWidth = borderWidth;\r\n }",
"public Triangle(int n)\n {\n level = n;\n\n // Get the dimensions of the window\n height = TriangleViewer.getHeight() - 50;\n }",
"public Triangles()\n {\n this.triangles = new ArrayList<>();\n }",
"public void triangulo() {\n fill(0);\n stroke(255);\n strokeWeight(5);\n triangle(width/2, 50, height+100, 650, 350, 650);\n //(width/2, height-100, 350, 150, 900, 150);\n }",
"private Polygon createTriangle(Point a, Point b, Point c) {\n Polygon p = new Polygon();\n p.addPoint(a.x, a.y);\n p.addPoint(b.x, b.y);\n p.addPoint(c.x, c.y);\n\n return p;\n }",
"public void addTriangle(Triangle triangle){\n triangles.add(triangle);\n }",
"public Triangle(Context context, Point[] points, int color) {\n super(context);\n init(points, color);\n }",
"public TriangleObject (double[][][] t) {\n\tfor (double[][] i: t) {\n Triangle in = new Triangle(i);\n\t\ttriangles.add(in); //You need to instantiate a new triangle to satsify this ^^\n\t}\n }",
"public Triangle(double length) {\n super(length); //Creates the square\n super.calculateArea(); //Calculates the area of the whole square\n calculateArea(); //Right Triangle 1/2 area\n }",
"public static Triangle getTriangle(String[] inputArgs) {\n\t\tif(inputArgs.length != 7)\n\t\t\tthrow new IllegalArgumentException();\n\t\treturn new Triangle(\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[1]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[2]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[3]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[4]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[5]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[6])\n\t\t\t\t\t\t\t);\n\t}",
"public EquilateralTriangle(double length) {\n super(\"Equilateral Triangle\", 3, length);\n }",
"public void triangle(){\n Shape triangle = new Shape();\n triangle.addPoint(new Point(0,0));\n triangle.addPoint(new Point(6,0));\n triangle.addPoint(new Point(3,6));\n for (Point p : triangle.getPoints()){\n System.out.println(p);\n }\n double peri = getPerimeter(triangle);\n System.out.println(\"perimeter = \"+peri);\n }",
"public TriangleComponent()\n {\n status=-1;\n }",
"protected abstract Triangle makeTriangle(final Vector3d edge1, final Vector3d edge2,\n\t\t\tfinal Vector3d edge3);",
"public TriangleSolitaireModelImpl() {\r\n super(new TriangleBoard());\r\n }",
"public PascalTriangleException()\r\n {\r\n }",
"public TriangleElt3D(Point3D point1, Point3D point2, Point3D point3,\n\t\t\tScalarOperator sop) {\n\t\tthis(new Point3D[] { point1, point2, point3 }, sop);\n\t}",
"public TriangleVisualizer(String rulesClass, Map<Integer, String> names, int numPossibleStates) {\n super(rulesClass, names, numPossibleStates);\n pointUp = false;\n }",
"public static void main(String[] args) {\n\t\t\r\n\t\tTriangle t=new Triangle();\r\n\t\tt.draw();\r\n\t\t\r\n\t\tRectangle r= new Rectangle();\r\n\t\tr.draw();\r\n\t\t\r\n\t\tShape s = new Triangle();\r\n\t\ts.name=\"삼각형\";\r\n\t\ts.degree=60;\r\n\t\ts.drawLine();\r\n\t\ts.draw();//Shape의 draw() 호출되지않고 Triangle의 draw() 호출됨 \r\n\t\t/*\r\n\t\ts.dot=\"\";\r\n\t\ts.angleDegree=180;\r\n\t\ts.drawCoordinate();\r\n\t\t*/\r\n\t\t\r\n\t\t\r\n\t}",
"public TriangleData()\r\n {\r\n knownCount = 0;\r\n /*--------------------------------------------------------------------*\r\n Input is validated by set. \r\n Must be >= 0.0\r\n Is there a practical maximum?\r\n \r\n Can you throw an exception in a constructor?\r\n *--------------------------------------------------------------------*/\r\n set( DataID.DATA_A, 0.0 );\r\n set( DataID.DATA_B, 0.0 );\r\n set( DataID.DATA_C, 0.0 );\r\n\r\n }",
"public Shape(TriangleMesh mesh) {\n super(mesh);\n this.mesh = mesh;\n setVisuals(\"purple\");\n }",
"public TriangleElt3D(Point3D[] points, ScalarOperator sop)\n\t\t\tthrows IllegalArgumentException {\n\t\tsuper(points, sop);\n\t\tthis.eltZero = null;\n\t\tthis.eltOne = null;\n\t\tthis.eltTwo = null;\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn \"(Triangle \"+verts+\")\" ;\n\t}",
"public TriangleGamePane(Grid grid, int width, int height) {\n super(grid, width, height);\n }",
"void drawShape() {\n System.out.println(\"Drawing Triangle\");\n this.color.addColor();\n }",
"public Triangulo(double l1, double l2, double l3)\n {\n // initialise instance variables\n lado1=l1;\n lado2=l2;\n lado3=l3;\n }",
"public PascalTriangleException(String message)\r\n {\r\n\tsuper(message);\r\n }",
"public String toString(){\n return \"Triangle: side1 = \" + side1 + \" side2 = \" + side2 + \" side3 = \" + side3;\n }",
"public NewShape() {\r\n\t\tsuper();\r\n\t}",
"public TrianglePanel()\n {\n this.setPreferredSize(new Dimension(PANEL_W, PANEL_H));\n this.repaint();\n }",
"public Vertex3D() {\n this(0.0, 0.0, 0.0);\n }",
"public Triangle copy()\r\n {\r\n return new Triangle (v1.getX(),v1.getY(),v2.getX(),v2.getY(),v3.getX(),v3.getY());\r\n }",
"public static VertexBuffer createCenteredTriangle() {\n return new VertexBuffer(\"a_Pos\", new VerticesData(BufferTestUtil.createTriangleData(0.5f, 0.5f, 0, 0)), BufferUsage.STATIC);\n }",
"public TriangleElt3D(Point3D point, Segment3D seg, ScalarOperator sop) {\n\t\tthis(new Point3D[] { point, seg.getPoint(0), seg.getPoint(1) }, sop);\n\t}",
"@Override\r\n public String toString() {\r\n return \"Triangle base: \" + base + \", Triangle height: \" + height + \", Triangle color: \" + super.toString();\r\n }",
"public TriangleNavStart() {\n initComponents();\n }",
"public static VertexBuffer createLeftTriangle() {\n return new VertexBuffer(\"a_Pos\", new VerticesData(BufferTestUtil.createTriangleData(0.5f, 0.5f, -0.5f, 0)), BufferUsage.STATIC);\n }",
"public String toString() {\n\t\treturn \"Triangle with side1 = \" +side1+ \", side2 = \" +side2+ \", side3 = \" +side3;\n\t}",
"public TriangleBug(int length) {\n\t\tsteps = 0;\n\t\tbaseSteps = length;\n\t}",
"public Cube(String shapeName, double sideLength){\n super(shapeName, sideLength, sideLength, sideLength);\n }",
"public PascalTriangleException(String message, Throwable cause)\r\n {\r\n\tsuper(message, cause);\r\n }",
"public TrianglePatternToy(int number){ \n this.number = number;\n }",
"public void setTrigauche(Triangle trigauche) {\r\n this.trigauche = trigauche;\r\n }",
"private void drawTriangle(double newVal) {\n\n triangle.getPoints().clear();\n triangle.getPoints().addAll(getEndX(), getEndY(), getEndX() - Point.RADIUS / 2.0,\n getEndY() + Point.RADIUS * 5 / 4.0 * (newVal) / (getAbsMax()), getEndX() + Point.RADIUS / 2.0,\n getEndY() + Point.RADIUS * 5 / 4.0 * (newVal) / getAbsMax());\n\n }",
"public Triangle(int h, int b){\n if(h == b){\n height = h;\n base = b;\n }\n else{\n height = h;\n base = height;\n }\n }",
"private void init(Point[] points, int color) {\n // Set paint\n paint = new Paint(Paint.ANTI_ALIAS_FLAG);\n paint.setColor(color);\n\n setPadding(50,50,50,50);\n setBackgroundColor(Color.TRANSPARENT);\n\n // Create path for triangle\n path = new Path();\n path.setFillType(Path.FillType.EVEN_ODD);\n // Draw triangle\n path.moveTo(points[0].x, points[0].y);\n path.lineTo(points[1].x,points[1].y);\n path.lineTo(points[2].x,points[2].y);\n path.lineTo(points[0].x,points[0].y);\n path.close();\n }",
"public Polygon getTriangle() {\n\n Matrix4 normalProjection = new Matrix4().setToOrtho2D(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());\n\n spriteDebugger.setProjectionMatrix(normalProjection);\n spriteDebugger.begin(ShapeRenderer.ShapeType.Line);\n spriteDebugger.polygon(getLine().getVertices());\n spriteDebugger.setColor(Color.PURPLE);\n spriteDebugger.end();\n\n spriteDebugger.end();\n return getLine();\n }",
"public boolean isTriangle () {\r\n\t\tif (startSide1 > 0 && startSide2 > 0 && startSide3 > 0){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse return false;\r\n\t}",
"public Shape() {\n\t\tthis(DEFAULT_X_POS, DEFAULT_Y_POS, DEFAULT_DELTA_X, DEFAULT_DELTA_Y, DEFAULT_WIDTH, DEFAULT_HEIGHT);\n\t}",
"public TetrisPiece (int shape, int location) {\n\t\t\n\t}",
"public PascalTriangleException(Throwable cause)\r\n {\r\n\tsuper(cause);\r\n }",
"public Vec3(){\n\t\tthis(0,0,0);\n\t}",
"public MyGLRenderer(Context context, ArrayList<Point_dt[]> triangles) {\n this.context = context;\n this.triangles=triangles;\n\n }",
"public Shape() { this(X_DEFAULT, Y_DEFAULT); }",
"public String toString(){\n\t\treturn (\"this triangle has side 1 of length\"+side1+\"side 2 of length\"+side2+\"and side 3 of length\"+side3);\n\t}",
"public static VertexBuffer createTopTriangle() {\n return new VertexBuffer(\"a_Pos\", new VerticesData(BufferTestUtil.createTriangleData(0.5f, 0.5f, 0, 0.5f)), BufferUsage.STATIC);\n }",
"public void setTriangleMesh(TriangleMesh tMesh) {\r\n this.triangleMesh = tMesh;\r\n // Trigger onRepaint\r\n repaint();\r\n }",
"public Paint(){\n triangles = new ArrayList<>();\n rectangles = new ArrayList<>();\n circles = new ArrayList<>();\n }",
"Shape1(){\n\t\tSystem.out.println(\"Shape is constructed\");\n\t}",
"Triangle133(int a, int b, int c) {\n\t\tthis.a = a;\n\t\tthis.b = b;\n\t\tthis.c = c;\n\t\ts = 0;\n\t}",
"public Mesh(String shape) {\n\t\tthis(primitiveFromStr(shape)); // Call the other constructor for primitive geometries\n\t}"
] |
[
"0.8415871",
"0.81651855",
"0.80568683",
"0.79905903",
"0.79899",
"0.7891779",
"0.7880099",
"0.7879606",
"0.7877851",
"0.7834905",
"0.7764724",
"0.77494127",
"0.77493256",
"0.77158225",
"0.7692485",
"0.7610884",
"0.76004845",
"0.7597298",
"0.75854164",
"0.75346315",
"0.7502252",
"0.74578035",
"0.7389692",
"0.7320997",
"0.722795",
"0.71351683",
"0.712092",
"0.7082487",
"0.70403796",
"0.70023817",
"0.6982692",
"0.6976699",
"0.6966744",
"0.6940262",
"0.6859952",
"0.68207663",
"0.67487156",
"0.6733366",
"0.6713288",
"0.66903293",
"0.6614399",
"0.6544751",
"0.6544474",
"0.647304",
"0.6463882",
"0.64285433",
"0.64243233",
"0.6415395",
"0.64141554",
"0.6381923",
"0.63398737",
"0.6338812",
"0.632069",
"0.6317046",
"0.63127136",
"0.6279362",
"0.62631446",
"0.6254396",
"0.6234584",
"0.6209783",
"0.6125139",
"0.60516477",
"0.60292286",
"0.6017256",
"0.59474516",
"0.59379923",
"0.593545",
"0.59223336",
"0.5918667",
"0.5908192",
"0.5902157",
"0.58977205",
"0.58971256",
"0.58432764",
"0.58319503",
"0.5831123",
"0.5828053",
"0.58037585",
"0.5788012",
"0.5742853",
"0.57369864",
"0.5721801",
"0.570401",
"0.5696899",
"0.5694167",
"0.56598634",
"0.5648109",
"0.56469387",
"0.5590277",
"0.5583579",
"0.55780107",
"0.5554662",
"0.55249685",
"0.551815",
"0.5514946",
"0.5507773",
"0.5501267",
"0.54942155",
"0.54929847",
"0.54728186"
] |
0.8638796
|
0
|
/Name: Triangle Purpose: Takes the arguments and sets them to the 3 points Parameter: Point p1, Point p2, Point p3
|
public Triangle( Point p1, Point p2, Point p3 ) {
super("Triangle: ");
this.setP1(p1);
this.setP2(p2);
this.setP3(p3);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Triangle (double x1,double y1,double x2, double y2,double x3,double y3)\r\n {\r\n v1 = new Point(x1,y1);\r\n v2 = new Point(x2,y2);\r\n v3 = new Point(x3,y3);\r\n }",
"public Triangle(Point p1, Point p2, Point p3) {\n this.p1 = p1;\n this.p2 = p2;\n this.p3 = p3;\n this.path = buildPath();\n }",
"public Triangle (double x1,double y1,double x2, double y2)\r\n {\r\n v1 = new Point(x1,y1);\r\n v2 = new Point(x2,y2);\r\n v3 = new Point(0,0);\r\n }",
"public Triangle(IPoint firstPoint, IPoint secondPoint, IPoint thirdPoint)\n {\n this(firstPoint, secondPoint, thirdPoint, null);\n\n }",
"public Triangle(Point a, Point b, Point c){\n this.a=a;\n this.b=b;\n this.c=c;\n }",
"void addTriangle(int vertexIndex1, int vertexIndex2, int vertexIndex3);",
"public Triangle (int x, int y, int z){ \r\n \r\n \r\n }",
"Triangle (double side1, double side2, double side3){\n this.side1 = side1;\n this.side2 = side2;\n this.side3 = side3;\n }",
"public Triangle(\n IPoint firstPoint,\n IPoint secondPoint,\n IPoint thirdPoint,\n IPrimitive parent)\n {\n super(parent);\n this.addVertex(firstPoint);\n this.addVertex(secondPoint);\n this.addVertex(thirdPoint);\n\n }",
"Triangle(int x, int y, int z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public Triangle(int x1, int y1, int x2, int y2, int x3, int y3, String name){\n this.x1 = x1;\n this.y1 = y1;\n this.x2 = x2;\n this.y2 = y2;\n this.x3 = x3;\n this.y3 = y3;\n this.name = name;\n \n \n }",
"public Triangle(double side1, double side2, double side3) {\n\t\tthis.side1 = side1;\n\t\tthis.side2 = side2;\n\t\tthis.side3 = side3;\n\t}",
"public Triangle() { \n super(\"Triangle: \");\n this.setP1(new Point());\n this.setP2(new Point());\n this.setP3(new Point());\n }",
"public Triangle(double s1, double s2, double s3){\n\t\tside1=s1;\n\t\tside2=s2;\n\t\tside3=s3;\n\t}",
"Triangle(){\n side1 = 1.0;\n side2 = 1.0;\n side3 = 1.0;\n }",
"public Triangle(){\n\t\tside1=1.0;\n\t\tside2=1.0;\n\t\tside3=1.0;\n\t}",
"public TriangleElt3D(Point3D point1, Point3D point2, Point3D point3,\n\t\t\tScalarOperator sop) {\n\t\tthis(new Point3D[] { point1, point2, point3 }, sop);\n\t}",
"public Triangle( Triangle tri ) {\n super(\"Triangle: \");\n this.setP1( new Point( tri.getP1() ) );\n this.setP2( new Point( tri.getP2() ) );\n this.setP3( new Point( tri.getP3() ) );\n }",
"public Triangle() {\n\t\tsuper.addPoint(new java.awt.Point(0,1));\n\t\tsuper.addPoint(new java.awt.Point(1,0));\n\t\tsuper.addPoint(new java.awt.Point(2,1));\n\t}",
"public static Triangle getTriangle(String[] inputArgs) {\n\t\tif(inputArgs.length != 7)\n\t\t\tthrow new IllegalArgumentException();\n\t\treturn new Triangle(\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[1]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[2]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[3]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[4]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[5]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[6])\n\t\t\t\t\t\t\t);\n\t}",
"public void triangulo() {\n fill(0);\n stroke(255);\n strokeWeight(5);\n triangle(width/2, 50, height+100, 650, 350, 650);\n //(width/2, height-100, 350, 150, 900, 150);\n }",
"public Triangle(int width, int height, int perpendicular) {\n this(width,height,perpendicular,0,0);\n }",
"protected abstract Triangle makeTriangle(final Vector3d edge1, final Vector3d edge2,\n\t\t\tfinal Vector3d edge3);",
"public Triangle(int width, int height, int perpendicular, int x, int y){\n super(x,y);\n setWidth(width);\n setHeight(height);\n setPerpendicular(perpendicular);\n }",
"public void triangle(){\n Shape triangle = new Shape();\n triangle.addPoint(new Point(0,0));\n triangle.addPoint(new Point(6,0));\n triangle.addPoint(new Point(3,6));\n for (Point p : triangle.getPoints()){\n System.out.println(p);\n }\n double peri = getPerimeter(triangle);\n System.out.println(\"perimeter = \"+peri);\n }",
"public Triangle (int tipX, int tipY, int height, String orientation){\n super.points = new ArrayList();\n x1 = tipX;\n y1 = tipY;\n this.height = height;\n defineVertexes(orientation);\n definePoints();\n }",
"public TriangleElt3D(Point3D[] points, ScalarOperator sop)\n\t\t\tthrows IllegalArgumentException {\n\t\tsuper(points, sop);\n\t\tthis.eltZero = null;\n\t\tthis.eltOne = null;\n\t\tthis.eltTwo = null;\n\t}",
"public Triangle(double x,double y,double length,String name)\n\t{\n\t\tsetName(name);\n\t\tsetLength(length);\n\t\tsetX(x);\n\t\tsetY(y);\n\t\tsetX1();\n\t\tsetY1();\n\t\tsetX2();\n\t\tSetY2();\t\t\n\t}",
"public Triangle()\n {\n\n this(new Point(-0.5f, (float)-Math.tan(Math.PI / 6), 0f), new Point(\n 0.5f,\n (float)-Math.tan(Math.PI / 6),\n 0f), new Point(0f, (float)Math.sqrt(0.75)\n + (float)-Math.tan(Math.PI / 6), 0f));\n }",
"public Triangle() {\n setPointsAs0();\n S = 0;\n }",
"private Polygon createTriangle(Point a, Point b, Point c) {\n Polygon p = new Polygon();\n p.addPoint(a.x, a.y);\n p.addPoint(b.x, b.y);\n p.addPoint(c.x, c.y);\n\n return p;\n }",
"TriangleChecker(int x, int y, int z) {\n triangle = new Triangle(x, y, z);\n }",
"public Triangulo(double l1, double l2, double l3)\n {\n // initialise instance variables\n lado1=l1;\n lado2=l2;\n lado3=l3;\n }",
"public Point3(double x_, double y_, double z_) {\n x = x_; y = y_; z = z_;\n }",
"public Triangle() {}",
"public Triangle() {\n this(0,0,0,0,0);\n }",
"public void vertex(PointType p)\r\n\t{\r\n\t // System.out.println(\"vert: \"+p.x+\", \"+p.y+\", \"+p.z);\r\n\t\tgl.glVertex3d(p.x, p.y, p.z);\r\n\t}",
"public Triangle(Context context, Point[] points, int color) {\n super(context);\n init(points, color);\n }",
"public static void main(String[] args) {\n\t\t\r\n\t\tTriangle t=new Triangle();\r\n\t\tt.draw();\r\n\t\t\r\n\t\tRectangle r= new Rectangle();\r\n\t\tr.draw();\r\n\t\t\r\n\t\tShape s = new Triangle();\r\n\t\ts.name=\"삼각형\";\r\n\t\ts.degree=60;\r\n\t\ts.drawLine();\r\n\t\ts.draw();//Shape의 draw() 호출되지않고 Triangle의 draw() 호출됨 \r\n\t\t/*\r\n\t\ts.dot=\"\";\r\n\t\ts.angleDegree=180;\r\n\t\ts.drawCoordinate();\r\n\t\t*/\r\n\t\t\r\n\t\t\r\n\t}",
"public Triangle(String stringTriangle) {\n setPointsAs0();\n setPoints(stringTriangle);\n setRibs();\n calculateBaseAndHeight();\n calculateS();\n }",
"public PointList calculateTrianglePoints(Rectangle r)\r\n\t{\r\n\t\tPointList points = new PointList(3);\r\n\t\t\r\n\t\tpoints.addPoint(new Point(r.x + (r.width-1) / 2, r.y));\r\n\t\tpoints.addPoint(new Point(r.x, r.y + r.height-1));\r\n\t\tpoints.addPoint(new Point(r.x + r.width-1, r.y + r.height-1));\r\n\r\n\t\treturn points;\r\n\t}",
"private void drawTriangle(GL2 gl2, int x1, int y1, int x2, int y2, int x3, int y3, int r, int g, int b)\n {\n gl2.glBegin(GL2.GL_TRIANGLES);\n gl2.glColor3f(r, g, b);\n gl2.glVertex2f(x1, y1);\n gl2.glVertex2f(x2, y2);\n gl2.glVertex2f(x3, y3);\n gl2.glEnd();\n }",
"private static void addTriangle(Hull3f sphere, Point3f p1, Point3f p2,\n Point3f p3, float resolution) {\n if ((p1.distance(p2) < resolution) || (p2.distance(p3) < resolution) || (p3.distance(p1) < resolution)) {\n Triangle3f t;\n t = new Triangle3f(p1, p2, p3);\n sphere.getTriangles().add(t);\n } else {\n Point3f p12;\n p12 = new Point3f(p1);\n p12.add(p2);\n Point3fLogic.normalize(p12);\n Point3f p23;\n p23 = new Point3f(p2);\n p23.add(p3);\n Point3fLogic.normalize(p23);\n Point3f p31;\n p31 = new Point3f(p3);\n p31.add(p1);\n Point3fLogic.normalize(p31);\n addTriangle(sphere, p1, p12, p31, resolution);\n addTriangle(sphere, p2, p23, p12, resolution);\n addTriangle(sphere, p3, p31, p23, resolution);\n addTriangle(sphere, p12, p23, p31, resolution);\n }\n }",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble xa;\n\t\tdouble ya;\n\t\tSystem.out.println(\"Input x and y coordinates of vertex A\");\n\t\txa = sc.nextDouble();\n\t\tya = sc.nextDouble();\n\t\tdouble xb;\n\t\tdouble yb;\n\t\tSystem.out.println(\"Input x and y coordinates of vertex B\");\n\t\txb = sc.nextDouble();\n\t\tyb = sc.nextDouble();\n\t\tdouble xc;\n\t\tdouble yc;\n\t\tSystem.out.println(\"Input x and y coordinates of vertex C\");\n\t\txc = sc.nextDouble();\n\t\tyc = sc.nextDouble();\n\t\tdouble xd;\n\t\tdouble yd;\n\t\tSystem.out.println(\"Input x and y coordinates of point D\");\n\t\txd = sc.nextDouble();\n\t\tyd = sc.nextDouble();\n\t\tdouble s1 = (xa - xd) * (yb - ya) - (xb - xa) * (ya - yd);\n\t\tdouble s2 = (xb - xd) * (yc - yb) - (xc - xb) * (yb - yd);\n\t\tdouble s3 = (xc - xd) * (ya - yc) - (xa - xc) * (yc - yd);\n\t\tif ((s1 <= 0 && s2 <= 0 && s3 <= 0) || (s1 > 0 && s2 > 0 && s3 > 0)) {\n\t\t\tSystem.out.println(\"Point lies inside the triangle\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Point doesn`t lie inside the triangle\");\n\t\t}\n\t}",
"public ThreeVector(double v1,double v2,double v3) {\r\n\t\tthis.x=v1;\r\n\t\tthis.y=v2;\r\n\t\tthis.z=v3;\r\n\t}",
"public TriangleGizmo(String name, double x1, double y1) {\n\t\t\tdouble w = 20;\n\t\t\tdouble h = 20;\n\t\t\txpos1 = x1*20;\n\t\t\txpos2 = (x1*20) + w;\n\t\t\txpos3 = xpos2;\n\t\t\typos1 = y1*20;\n\t\t\typos2 = y1*20;\n\t\t\typos3 = ypos2 + h;\n\t\t\twidth = w;\n\t\t\theight = h;\n\t\t\tcolour = Color.WHITE;\n\t\t\tls1 = new LineSegment(x1*20, y1*20, xpos2, ypos2);\n\t\t\tls2 = new LineSegment(xpos2, ypos2, xpos3, ypos3);\n\t\t\tls3 = new LineSegment(x1*20, y1*20, xpos3, ypos3);\n\t\t\tsetName(name);\n\t\t}",
"public Point3D(double x,double y,double z)\n {\n _x=x;\n _y=y;\n _z=z;\n }",
"public Point3(float x, float y, float z) {\r\n\t\tsuper(x, y);\r\n\t\tthis.z = z;\r\n\t}",
"public Point3(Point3 p) {\n this.x = p.x; this.y = p.y; this.z = p.z;\n }",
"public static void drawTriangle(double[] x, double[] y, double[] z) {\n int[][] coord = new int[2][4];\n int i;\n \n coord[0][0] = (int) (this_size.width * x[0]);\n coord[0][1] = (int) (this_size.width * y[0]);\n coord[0][2] = (int) (this_size.width * z[0]);\n coord[0][3] = (int) (this_size.width * x[0]);\n \n coord[1][0] = (int) (this_size.height * x[1]);\n coord[1][1] = (int) (this_size.height * y[1]);\n coord[1][2] = (int) (this_size.height * z[1]);\n coord[1][3] = (int) (this_size.height * x[1]);\n \n this_graphics.drawPolygon(coord[0], coord[1], 4);\n }",
"public TriangleElt3D(Point3D point, Segment3D seg, ScalarOperator sop) {\n\t\tthis(new Point3D[] { point, seg.getPoint(0), seg.getPoint(1) }, sop);\n\t}",
"public EquilateralTriangle(double length) {\n super(\"Equilateral Triangle\", 3, length);\n }",
"public EquilateralTriangle( String name, double length) {\n super(name, 3, length);\n }",
"Triangle(int height) {\r\n\t this.height = height;\r\n\t}",
"Point3D (double x, double y, double z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"void addTriangle(AbstractTriangle t);",
"public Triangle() {\n // initialize vertex byte buffer for shape coordinates\n ByteBuffer bb = ByteBuffer.allocateDirect(\n // (number of coordinate values * 4 bytes per float)\n triangleCoords.length * 4);\n // use the device hardware's native byte order\n bb.order(ByteOrder.nativeOrder());\n\n // create a floating point buffer from the ByteBuffer\n vertexBuffer = bb.asFloatBuffer();\n // add the coordinates to the FloatBuffer\n vertexBuffer.put(triangleCoords);\n // set the buffer to read the first coordinate\n vertexBuffer.position(0);\n\n // prepare shaders and OpenGL program\n int vertexShader = MyGLRenderer.loadShader(\n GLES20.GL_VERTEX_SHADER, vertexShaderCode);\n int fragmentShader = MyGLRenderer.loadShader(\n GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode);\n\n mProgram = GLES20.glCreateProgram(); // create empty OpenGL Program\n GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program\n GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program\n GLES20.glLinkProgram(mProgram); // create OpenGL program executables\n\n }",
"public static void main(String[] args)\n {\n\n Triangle tri;\n Point a = new Point(4, 0);\n Point b = new Point(-2, -1);\n Point c = new Point(1, 4);\n \n tri = new Triangle(a, b, c, Color.cyan, false);\n System.out.println(tri.getArea());\n }",
"private void parseTriangle(String line) {\n String first_integer = line.substring(2);\n first_integer = first_integer.trim();\n int second_space_index = first_integer.indexOf(' ') + 1;\n String second_integer = first_integer.substring(second_space_index);\n second_integer = second_integer.trim();\n int third_space_index = second_integer.indexOf(' ') + 1;\n String third_integer = second_integer.substring(third_space_index);\n third_integer = third_integer.trim();\n\n parseTriplet(first_integer.substring(0, second_space_index - 1));\n parseTriplet(second_integer.substring(0, third_space_index - 1));\n parseTriplet(third_integer);\n }",
"public Triangle() {\n\t\tsuper();\n\t\tthis.base = 0;\n\t\tthis.height = 0;\n\t\t\n\t}",
"public Triangle(IPrimitive parent)\n {\n this(new Point(-0.5f, (float)-Math.tan(Math.PI / 6), 0f), new Point(\n 0.5f,\n (float)-Math.tan(Math.PI / 6),\n 0f), new Point(0f, (float)Math.sqrt(0.75)\n + (float)-Math.tan(Math.PI / 6), 0f), parent);\n\n }",
"public void fillTriangle(int px1, int py1, int px2, int py2, int px3, \n int py3, int color) {\n \n int[] ordered = new int[6];\n if (!orderByPointY(px1, py1, px2, py2, px3, py3, ordered)) {\n if (!orderByPointY(px2, py2, px1, py1, px3, py3, ordered)) {\n if (!orderByPointY(px3, py3, px2, py2, px1, py1, ordered)) {\n String errorMsg = \"could not order triangle points !\";\n throw new RuntimeException(errorMsg);\n }\n }\n }\n px1 = ordered[0]; py1 = ordered[1];\n px2 = ordered[2]; py2 = ordered[3];\n px3 = ordered[4]; py3 = ordered[5];\n fillHalfTriangle(px1, py1, px2, py2, px3, py3, color, 1); // top\n fillHalfTriangle(px3, py3, px2, py2, px1, py1, color, -1); // down\n }",
"private void setP3( Point p3 ){\n this.p3=p3;\n }",
"public void moveToPoint(double x, double y, double z);",
"public Triangle(Triangle tri){\n this(tri.width, tri.height, tri.perpendicular, tri.getX(), tri.getY());\n }",
"public static double trianglePerimeter(Point2D point1, Point2D point2, Point2D point3) {\n\n double distance12 = point1.distance(point2);\n double distance23 = point2.distance(point3);\n double distance31 = point3.distance(point1);\n\n return distance12 + distance23 + distance31;\n\n }",
"public Triangle(double sideLength, double borderWidth) {\r\n this.sideLength = sideLength;\r\n this.borderWidth = borderWidth;\r\n }",
"public Point3F(float x, float y, float z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public Triangle(float c0X, float c0Y, float c1X, float c1Y, float c2X, float c2Y, float r, float g, float b) {\n triangleCoords[0] = c0X;\n triangleCoords[1] = c0Y;\n triangleCoords[2] = 0;\n triangleCoords[3] = c1X;\n triangleCoords[4] = c1Y;\n triangleCoords[5] = 0;\n triangleCoords[6] = c2X;\n triangleCoords[7] = c2Y;\n triangleCoords[8] = 0;\n color[0] = r;\n color[1] = g;\n color[2] = b;\n centerX = (c0X+c1X) / 2.0f;\n centerY = (float)(c0Y - ((c1X-c0X)/(Math.sqrt(3)*2.0f)));\n\n // initialize vertex byte buffer for shape coordinates\n ByteBuffer bb = ByteBuffer.allocateDirect(\n // (number of coordinate values * 4 bytes per float)\n triangleCoords.length * 4);\n // use the device hardware's native byte order\n bb.order(ByteOrder.nativeOrder());\n\n // create a floating point buffer from the ByteBuffer\n vertexBuffer = bb.asFloatBuffer();\n // add the coordinates to the FloatBuffer\n vertexBuffer.put(triangleCoords);\n // set the buffer to read the first coordinate\n vertexBuffer.position(0);\n\n\n // The drawn object (This triangle) needs to claim shaders for vertex and fragment, so it can be drawn\n int vertexShader = MyGLRenderer.loadShader(GLES20.GL_VERTEX_SHADER,\n vertexShaderCode);\n int fragmentShader = MyGLRenderer.loadShader(GLES20.GL_FRAGMENT_SHADER,\n fragmentShaderCode);\n\n // create empty OpenGL ES Program ( = one openGL procedure responsible for drawing this shape)\n mProgram = GLES20.glCreateProgram();\n\n // add the vertex shader to program\n GLES20.glAttachShader(mProgram, vertexShader);\n\n // add the fragment shader to program\n GLES20.glAttachShader(mProgram, fragmentShader);\n\n // creates OpenGL ES program executables\n GLES20.glLinkProgram(mProgram);\n }",
"public void setVertices(float x0, float y0, float z0,\n float x1, float y1, float z1,\n float x2, float y2, float z2) {\n x_array[0] = x0;\n x_array[1] = x1;\n x_array[2] = x2;\n \n y_array[0] = y0;\n y_array[1] = y1;\n y_array[2] = y2;\n \n z_array[0] = z0;\n z_array[1] = z1;\n z_array[2] = z2;\n }",
"Triangle133(int a, int b, int c) {\n\t\tthis.a = a;\n\t\tthis.b = b;\n\t\tthis.c = c;\n\t\ts = 0;\n\t}",
"public int inTriangleNumber(Point pt) {\n\t\t\n\t\tint n = 3; // triangle = 3 sides\n\t\t\n\t\t// Make point arrays\n\t\tArrayList<Float> t1x = new ArrayList<Float>(3);\n\t\tArrayList<Float> t1y = new ArrayList<Float>(3);\n\t\tArrayList<Float> t2x = new ArrayList<Float>(3);\n\t\tArrayList<Float> t2y = new ArrayList<Float>(3);\n\t\tArrayList<Float> t3x = new ArrayList<Float>(3);\n\t\tArrayList<Float> t3y = new ArrayList<Float>(3);\n\n\t\tt1x.add(px[0]);\n\t\tt1x.add(px[2]);\n\t\tt1x.add(px[1]);\n\t\t\n\t\tt2x.add(px[2]);\n\t\tt2x.add(px[4]);\n\t\tt2x.add(px[3]);\n\n\t\tt3x.add(px[1]);\n\t\tt3x.add(px[3]);\n\t\tt3x.add(px[2]);\n\n\t\tt1y.add(py[0]);\n\t\tt1y.add(py[0]);\n\t\tt1y.add(py[1]);\n\t\t\n\t\tt2y.add(py[0]);\n\t\tt2y.add(py[0]);\n\t\tt2y.add(py[1]);\n\n\t\tt3y.add(py[1]);\n\t\tt3y.add(py[1]);\n\t\tt3y.add(py[2]);\n\n\t\tif (Shape.contains(n, t1x, t1y, pt)) { // left triangle\n\t\t\treturn 1;\n\t\t} else if (Shape.contains(n, t2x, t2y, pt)) { // right triangle\n\t\t\treturn 2;\n\t\t} else if (Shape.contains(n, t3x, t3y, pt)) { // bottom triangle\n\t\t\treturn 3;\n\t\t}\n\t\t\n\t\treturn 0;\n\t}",
"public Vertex3D(double x, double y, double z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public Triangle(int n)\n {\n level = n;\n\n // Get the dimensions of the window\n height = TriangleViewer.getHeight() - 50;\n }",
"public void setupTriangles(VrState state);",
"public Polygon(Point p1, Point p2, Point p3, Point p4)\r\n\t{\r\n\t\tthis.p1 = p1;\r\n\t\tthis.p2 = p2;\r\n\t\tthis.p3 = p3;\r\n\t\tthis.p4 = p4;\r\n\t}",
"public Vector3 (double x, double y, double z) {\n set(x, y, z);\n }",
"public String toString(){\n return \"Triangle: side1 = \" + side1 + \" side2 = \" + side2 + \" side3 = \" + side3;\n }",
"public Vector3(double x, double y, double z) {\n this.x = x; this.y = y; this.z = z;\n }",
"public static ArrayList<Triangle> Triangulation(ArrayList<Point> points){\n\t\t\n\t\t\n\t\t\n\t\tpoints.sort(new PointComperator());\n\t\tpoints.add(MainFrame.buutomLeft);\n\t\tStack<Point> CH= new Stack<Point>();\n\t\tArrayList<Triangle> T=new ArrayList<Triangle>();\n\t\tCH.push(MainFrame.buutomLeft);\n\t\tCH.push(points.get(0));\n\t\tCH.push(points.get(1));\n\t\t\n\t\tfor (int i = 0; i < points.size(); i++) {\n\t\t\tPoint curr=points.get(i);\n\t\t\tif(Orient(CH.get(CH.size()-2),CH.peek(), curr))\n\t\t\t{\n\t\t\t\tT.add(new Triangle(curr, CH.peek(), MainFrame.buutomLeft));\n\t\t\t\tCH.push(curr);\t\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tT.add(new Triangle(CH.peek(), curr, MainFrame.buutomLeft));\n\n\t\t\t\twhile(!Orient(CH.get(CH.size()-2),CH.peek(),curr)) {\n\t\t\t\t\tPoint temp = CH.pop();\n\t\t\t\t\tT.add(new Triangle(temp, CH.peek(), curr));\n\t\t\t\t}\n\t\t\t\tCH.push(curr);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn T;\n\t}",
"public Triangle(double length) {\n super(length); //Creates the square\n super.calculateArea(); //Calculates the area of the whole square\n calculateArea(); //Right Triangle 1/2 area\n }",
"public static void main(String[] args) {\n\n Triangle[] triangles = new Triangle[3];\n\n triangles[0] = new Triangle(10, 10, 15);\n triangles[1] = new Triangle(4, 3, 4);\n triangles[2] = new Triangle(5, 5, 5);\n\n printTriangleAreas(triangles);\n }",
"public void addPoint(double x, double y, double z);",
"public static boolean pointInTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int px, int py) {\n\t\t\n\t\tVector2i a = new Vector2i(x1, y1);\n\t\tVector2i b = new Vector2i(x2, y2);\n\t\tVector2i c = new Vector2i(x3, y3);\n\t\tVector2i p = new Vector2i(px, py);\n\t\t\n\t\tVector3f bary = MathUtils.barycentric(a, b, c, p);\n\t\t\n\t\tif(bary.x < 0 || bary.y < 0 || bary.z < 0) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn true;\n\t\t}\n\t\t\n\t}",
"public void addTriangle(Triangle triangle){\n triangles.add(triangle);\n }",
"public static void main(String[] args) {\n\t\tTriangle(5);\t//5개\n\t\tTriangle(7);\t//7개\n\t\tTriangle(10);\t//10개\n\t\t\n\t}",
"public void isItATriangle(){\n Scanner firstSide = new Scanner(System.in);\n System.out.println(\"Please put in your first side length: \");\n int side1 = firstSide.nextInt();\n\n Scanner secondSide = new Scanner(System.in);\n System.out.println(\"Please put in your second side length: \");\n int side2 = secondSide.nextInt();\n\n Scanner thirdSide = new Scanner(System.in);\n System.out.println(\"Please put in your third side length: \");\n int side3 = thirdSide.nextInt();\n\n System.out.println(\"\\nNow calculating to see if you have a Triangle...\");\n System.out.println(\"Your first side value: \" + side1 + \"\\nYour second side value: \" + side2 + \"\\nYour third side value: \" + side3 + \"\\n\");\n\n //*****************************************************************\n /*\n *This is seeing is the sides are going to be enough for a Triangle\n *using Triangle Inequality Theorem\n */\n if(side1 + side2 > side3){\n if(side1 + side3 > side2){\n if(side2 + side3 > side1){\n System.out.println(\"Yes! This is a Triangle!\");\n\n if ((side1 == side2) && (side2 == side3) && (side3 == side1)){\n System.out.println(\"Oh hey! Your Triangle is an Equilaterall Triangle!\");\n }else{\n System.out.print(\"\");\n }\n\n if (((side1 == side2) && (side2 != side3)) || ((side2 == side3) && (side3 != side1)) || ((side3 == side1) && (side3 != side2))){\n System.out.println(\"Wow! Your triangle is Isosoleces!\");\n }else{\n System.out.print(\"\");\n }\n\n }else{\n System.out.println(\"No, Not a Triangle\");\n }\n }else{\n System.out.println(\"No, Not a Triangle\");\n }\n }else{\n System.out.println(\"No, Not a Triangle.\");\n return;\n }\n\n //checking to see if equilaterall\n\n }",
"public Vector3(double x, double y, double z)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.z = z;\n\t}",
"public boolean isTriangle () {\r\n\t\tif (startSide1 > 0 && startSide2 > 0 && startSide3 > 0){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse return false;\r\n\t}",
"public static void main (String [] args)\r\n\r\n{\n\t\tTriangleorNot ck= new TriangleorNot();\r\n\t\t\r\n\t\tck.CheckTriangle(0, 0, 0);\r\n}",
"private void setPoints(String stringTriangle) {\n\n StringTokenizer tokenizer = new StringTokenizer(stringTriangle,\" \");\n double cornetX, cornetY;\n\n int counter = 0;\n\n while (tokenizer.hasMoreTokens()) {\n cornetX = Double.parseDouble(tokenizer.nextToken());\n points[counter].setX(cornetX);\n\n if (tokenizer.hasMoreTokens()){\n cornetY = Double.parseDouble(tokenizer.nextToken());\n points[counter].setY(cornetY);\n }\n\n counter++;\n }\n\n }",
"void computeTriangleNormals();",
"@Override\n protected Double[] getCorners(){\n return new Double[]{\n //leftmost point\n getXPos(), getYPos(),\n //rightmost point\n getXPos() + getWidth(), getYPos(),\n //middle point\n getXPos() + getWidth() / 2, getYPos() + getHeight() * getThirdTriangleYPoint(pointUp)\n };\n }",
"public static void main(String[] args) {\n\t\t\n\t\tPoint3D pt4 = new Point3D(1000, 2000, 3000);\n\t\tSystem.out.println(pt4);\n\t}",
"public TriangleObject (double[][][] t) {\n\tfor (double[][] i: t) {\n Triangle in = new Triangle(i);\n\t\ttriangles.add(in); //You need to instantiate a new triangle to satsify this ^^\n\t}\n }",
"public Vector3 (float x, float y, float z) {\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t\tthis.z = z;\r\n\t}",
"public boolean insideTriangle(Node p1, Node p2, Node p3) {\n\t\tboolean b1, b2, b3;\n\n\t\tb1 = sign(this, p1, p2) < 0.0f;\n\t\tb2 = sign(this, p2, p3) < 0.0f;\n\t\tb3 = sign(this, p3, p1) < 0.0f;\n\n\t\treturn ((b1 == b2) && (b2 == b3));\n\n\t}",
"public static void main(String[] args) {\n\t\tScanner cin = new Scanner(System.in);\n\t\tint a = cin.nextInt();\n\t\tint b = cin.nextInt();\n\t\tint c = cin.nextInt();\n\t\tint isTrigle = 0;\n\t\tif(a+b<c||a+c<b||b+c<a)System.out.println(\"Not triangle\");\n\t\telse {\n\t\t\tif(Math.pow(a,2)==Math.pow(b,2)+Math.pow(c,2)||\n\t\t\t Math.pow(b,2)==Math.pow(a,2)+Math.pow(c,2)||\n\t\t\t Math.pow(c,2)==Math.pow(b,2)+Math.pow(a,2)){\n\t\t\t isTrigle = 1;\t\n\t\t\t System.out.println(\"Right triangle\");\n\t\t\t}\n\t\t\tif(Math.pow(a,2)>Math.pow(b,2)+Math.pow(c,2)||\n\t\t\t Math.pow(b,2)>Math.pow(a,2)+Math.pow(c,2)||\n\t\t\t Math.pow(c,2)>Math.pow(b,2)+Math.pow(a,2)){\n\t\t\t\tisTrigle = 1;\n\t\t\t\tSystem.out.println(\"Obtuse triangle\");\n\t\t\t}\n\t\t\tif(isTrigle==0)System.out.println(\"Acute triangle\");\n\t\t\tif(a==b||b==c||a==c)System.out.println(\"Isosceles triangle\");\n\t\t\tif(a==b&&b==c&&a==c)System.out.println(\"Equilateral triangle\");\n\t\t\t\n\t\t}\n\t\t \n\t\t\n\t}",
"public static void main(String[] args) {\n Point p1 = new Point(0D, 0D);\r\n Point p2 = new Point(4D, 4D);\r\n Point p = new Point(2D, 0D);\r\n Double r = 1D;\r\n test3(p1, p2);\r\n }",
"public void add(Point3 p) {\r\n\t\tadd(p.x, p.y, p.z);\r\n\t}"
] |
[
"0.79755145",
"0.7912208",
"0.7550642",
"0.7544282",
"0.7518018",
"0.74959946",
"0.7461565",
"0.7459375",
"0.7360202",
"0.7347534",
"0.7329074",
"0.7280041",
"0.725419",
"0.7128969",
"0.7024389",
"0.68053454",
"0.6735911",
"0.66348016",
"0.657332",
"0.6524166",
"0.6519116",
"0.65162855",
"0.6511905",
"0.6459549",
"0.64176655",
"0.6416521",
"0.63529336",
"0.63352567",
"0.6333957",
"0.62744975",
"0.62548494",
"0.62489593",
"0.6228655",
"0.61979455",
"0.6182103",
"0.6180122",
"0.61031574",
"0.6091201",
"0.6069913",
"0.6032113",
"0.6018462",
"0.60051703",
"0.5993794",
"0.5976565",
"0.596933",
"0.596171",
"0.59614635",
"0.59538794",
"0.5941623",
"0.59349674",
"0.59301937",
"0.5924501",
"0.5905842",
"0.5901977",
"0.58944356",
"0.58585167",
"0.5848271",
"0.5844471",
"0.58197564",
"0.58173585",
"0.58042455",
"0.5778851",
"0.5775885",
"0.57683706",
"0.5762361",
"0.5748175",
"0.5726191",
"0.5714461",
"0.56972146",
"0.5686048",
"0.5676682",
"0.5671478",
"0.56652087",
"0.56579316",
"0.56483537",
"0.5637387",
"0.5632198",
"0.5603963",
"0.55925983",
"0.55544114",
"0.5549627",
"0.55495596",
"0.55493593",
"0.5543889",
"0.55376506",
"0.55308837",
"0.5523336",
"0.55231535",
"0.55196434",
"0.5518352",
"0.5507982",
"0.5502953",
"0.550177",
"0.5497634",
"0.54955053",
"0.54922247",
"0.5484092",
"0.54830027",
"0.5472046",
"0.5465639"
] |
0.813633
|
0
|
/Name: Triangle Purpose: Functions as Triangle's copy ctor Parameter: Triangle tri
|
public Triangle( Triangle tri ) {
super("Triangle: ");
this.setP1( new Point( tri.getP1() ) );
this.setP2( new Point( tri.getP2() ) );
this.setP3( new Point( tri.getP3() ) );
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Triangle copy()\r\n {\r\n return new Triangle (v1.getX(),v1.getY(),v2.getX(),v2.getY(),v3.getX(),v3.getY());\r\n }",
"public Triangle(Triangle tri){\n this(tri.width, tri.height, tri.perpendicular, tri.getX(), tri.getY());\n }",
"public Triangle(ITriangle triangleToCopy, IPrimitive parent)\n {\n super(triangleToCopy, parent);\n\n }",
"public Triangle() {}",
"public Triangle (int x, int y, int z){ \r\n \r\n \r\n }",
"public Triangle() {\n\t\tsuper.addPoint(new java.awt.Point(0,1));\n\t\tsuper.addPoint(new java.awt.Point(1,0));\n\t\tsuper.addPoint(new java.awt.Point(2,1));\n\t}",
"public Triangle(IPoint firstPoint, IPoint secondPoint, IPoint thirdPoint)\n {\n this(firstPoint, secondPoint, thirdPoint, null);\n\n }",
"public Triangle() {\n setPointsAs0();\n S = 0;\n }",
"public Triangle() {\n this(0,0,0,0,0);\n }",
"public Triangle() { \n super(\"Triangle: \");\n this.setP1(new Point());\n this.setP2(new Point());\n this.setP3(new Point());\n }",
"public Triangle(){\n\t\tside1=1.0;\n\t\tside2=1.0;\n\t\tside3=1.0;\n\t}",
"public Triangle(Point a, Point b, Point c){\n this.a=a;\n this.b=b;\n this.c=c;\n }",
"Triangle(){\n side1 = 1.0;\n side2 = 1.0;\n side3 = 1.0;\n }",
"public Triangle()\n {\n\n this(new Point(-0.5f, (float)-Math.tan(Math.PI / 6), 0f), new Point(\n 0.5f,\n (float)-Math.tan(Math.PI / 6),\n 0f), new Point(0f, (float)Math.sqrt(0.75)\n + (float)-Math.tan(Math.PI / 6), 0f));\n }",
"public Triangle() {\n\t\tsuper();\n\t\tthis.base = 0;\n\t\tthis.height = 0;\n\t\t\n\t}",
"public Triangle(Point p1, Point p2, Point p3) {\n this.p1 = p1;\n this.p2 = p2;\n this.p3 = p3;\n this.path = buildPath();\n }",
"public TriangleObject (double[][][] t) {\n\tfor (double[][] i: t) {\n Triangle in = new Triangle(i);\n\t\ttriangles.add(in); //You need to instantiate a new triangle to satsify this ^^\n\t}\n }",
"public Triangle(\n IPoint firstPoint,\n IPoint secondPoint,\n IPoint thirdPoint,\n IPrimitive parent)\n {\n super(parent);\n this.addVertex(firstPoint);\n this.addVertex(secondPoint);\n this.addVertex(thirdPoint);\n\n }",
"public Triangle (double x1,double y1,double x2, double y2,double x3,double y3)\r\n {\r\n v1 = new Point(x1,y1);\r\n v2 = new Point(x2,y2);\r\n v3 = new Point(x3,y3);\r\n }",
"public Triangle( Point p1, Point p2, Point p3 ) {\n super(\"Triangle: \");\n this.setP1(p1);\n this.setP2(p2);\n this.setP3(p3);\n }",
"public Triangle (double x1,double y1,double x2, double y2)\r\n {\r\n v1 = new Point(x1,y1);\r\n v2 = new Point(x2,y2);\r\n v3 = new Point(0,0);\r\n }",
"public Triangle (int tipX, int tipY, int height, String orientation){\n super.points = new ArrayList();\n x1 = tipX;\n y1 = tipY;\n this.height = height;\n defineVertexes(orientation);\n definePoints();\n }",
"public Triangle(double length) {\n super(length); //Creates the square\n super.calculateArea(); //Calculates the area of the whole square\n calculateArea(); //Right Triangle 1/2 area\n }",
"public Triangle(String stringTriangle) {\n setPointsAs0();\n setPoints(stringTriangle);\n setRibs();\n calculateBaseAndHeight();\n calculateS();\n }",
"Triangle (double side1, double side2, double side3){\n this.side1 = side1;\n this.side2 = side2;\n this.side3 = side3;\n }",
"public Triangle(int x1, int y1, int x2, int y2, int x3, int y3, String name){\n this.x1 = x1;\n this.y1 = y1;\n this.x2 = x2;\n this.y2 = y2;\n this.x3 = x3;\n this.y3 = y3;\n this.name = name;\n \n \n }",
"public Triangle(IPrimitive parent)\n {\n this(new Point(-0.5f, (float)-Math.tan(Math.PI / 6), 0f), new Point(\n 0.5f,\n (float)-Math.tan(Math.PI / 6),\n 0f), new Point(0f, (float)Math.sqrt(0.75)\n + (float)-Math.tan(Math.PI / 6), 0f), parent);\n\n }",
"public TriangleSolitaireModelImpl() {\r\n super(new TriangleBoard());\r\n }",
"public Triangle(double s1, double s2, double s3){\n\t\tside1=s1;\n\t\tside2=s2;\n\t\tside3=s3;\n\t}",
"public Triangles()\n {\n this.triangles = new ArrayList<>();\n }",
"public Triangle(double side1, double side2, double side3) {\n\t\tthis.side1 = side1;\n\t\tthis.side2 = side2;\n\t\tthis.side3 = side3;\n\t}",
"Triangle(int height) {\r\n\t this.height = height;\r\n\t}",
"Triangle(int x, int y, int z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public Triangle(double x,double y,double length,String name)\n\t{\n\t\tsetName(name);\n\t\tsetLength(length);\n\t\tsetX(x);\n\t\tsetY(y);\n\t\tsetX1();\n\t\tsetY1();\n\t\tsetX2();\n\t\tSetY2();\t\t\n\t}",
"public void triangulo() {\n fill(0);\n stroke(255);\n strokeWeight(5);\n triangle(width/2, 50, height+100, 650, 350, 650);\n //(width/2, height-100, 350, 150, 900, 150);\n }",
"public Triangle(int width, int height, int perpendicular) {\n this(width,height,perpendicular,0,0);\n }",
"public Triangle(double sideLength, double borderWidth) {\r\n this.sideLength = sideLength;\r\n this.borderWidth = borderWidth;\r\n }",
"TriangleChecker(int x, int y, int z) {\n triangle = new Triangle(x, y, z);\n }",
"public Triangle() {\n // initialize vertex byte buffer for shape coordinates\n ByteBuffer bb = ByteBuffer.allocateDirect(\n // (number of coordinate values * 4 bytes per float)\n triangleCoords.length * 4);\n // use the device hardware's native byte order\n bb.order(ByteOrder.nativeOrder());\n\n // create a floating point buffer from the ByteBuffer\n vertexBuffer = bb.asFloatBuffer();\n // add the coordinates to the FloatBuffer\n vertexBuffer.put(triangleCoords);\n // set the buffer to read the first coordinate\n vertexBuffer.position(0);\n\n // prepare shaders and OpenGL program\n int vertexShader = MyGLRenderer.loadShader(\n GLES20.GL_VERTEX_SHADER, vertexShaderCode);\n int fragmentShader = MyGLRenderer.loadShader(\n GLES20.GL_FRAGMENT_SHADER, fragmentShaderCode);\n\n mProgram = GLES20.glCreateProgram(); // create empty OpenGL Program\n GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program\n GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program\n GLES20.glLinkProgram(mProgram); // create OpenGL program executables\n\n }",
"public Triangle(int width, int height, int perpendicular, int x, int y){\n super(x,y);\n setWidth(width);\n setHeight(height);\n setPerpendicular(perpendicular);\n }",
"public ShapeTriMesh() {\n\t\tsuper();\n\t\tthis.setName(UUID.randomUUID().toString());\n\t}",
"protected abstract Triangle makeTriangle(final Vector3d edge1, final Vector3d edge2,\n\t\t\tfinal Vector3d edge3);",
"public Triangulo(double l1, double l2, double l3)\n {\n // initialise instance variables\n lado1=l1;\n lado2=l2;\n lado3=l3;\n }",
"void addTriangle(AbstractTriangle t);",
"public TriangleBug(int length) {\n\t\tsteps = 0;\n\t\tbaseSteps = length;\n\t}",
"public TriangleComponent()\n {\n status=-1;\n }",
"public EquilateralTriangle(double length) {\n super(\"Equilateral Triangle\", 3, length);\n }",
"void addTriangle(int vertexIndex1, int vertexIndex2, int vertexIndex3);",
"public static Triangle getTriangle(String[] inputArgs) {\n\t\tif(inputArgs.length != 7)\n\t\t\tthrow new IllegalArgumentException();\n\t\treturn new Triangle(\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[1]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[2]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[3]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[4]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[5]),\n\t\t\t\t\t\t\tInteger.parseInt(inputArgs[6])\n\t\t\t\t\t\t\t);\n\t}",
"public PascalTriangleException()\r\n {\r\n }",
"public ColinearTrioV2(Point[] thePoints) {\n\t\t myPoints = thePoints;\n\t\t myPairs = new ArrayList<PointPair>();\n\t\t map = new HashMap<>(thePoints.length);\n\t\t SIZE_OF_ORIGINAL_LIST = thePoints.length; // just a pointer to the original list.\n\t\t start();\n\t}",
"public ColinearTrioV2() {\n\t\tthis(generateRandomPointArray());\n\t}",
"public EquilateralTriangle( String name, double length) {\n super(name, 3, length);\n }",
"private Polygon createTriangle(Point a, Point b, Point c) {\n Polygon p = new Polygon();\n p.addPoint(a.x, a.y);\n p.addPoint(b.x, b.y);\n p.addPoint(c.x, c.y);\n\n return p;\n }",
"public TriangleGamePane(Grid grid, int width, int height) {\n super(grid, width, height);\n }",
"public Triangle(int n)\n {\n level = n;\n\n // Get the dimensions of the window\n height = TriangleViewer.getHeight() - 50;\n }",
"public TrianglePatternToy(int number){ \n this.number = number;\n }",
"@Override\n\tpublic String toString() {\n\t\treturn \"(Triangle \"+verts+\")\" ;\n\t}",
"public Polygon getTriangle() {\n\n Matrix4 normalProjection = new Matrix4().setToOrtho2D(0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());\n\n spriteDebugger.setProjectionMatrix(normalProjection);\n spriteDebugger.begin(ShapeRenderer.ShapeType.Line);\n spriteDebugger.polygon(getLine().getVertices());\n spriteDebugger.setColor(Color.PURPLE);\n spriteDebugger.end();\n\n spriteDebugger.end();\n return getLine();\n }",
"public void triangle(){\n Shape triangle = new Shape();\n triangle.addPoint(new Point(0,0));\n triangle.addPoint(new Point(6,0));\n triangle.addPoint(new Point(3,6));\n for (Point p : triangle.getPoints()){\n System.out.println(p);\n }\n double peri = getPerimeter(triangle);\n System.out.println(\"perimeter = \"+peri);\n }",
"public Triangle(Context context, Point[] points, int color) {\n super(context);\n init(points, color);\n }",
"public Triangle(float c0X, float c0Y, float c1X, float c1Y, float c2X, float c2Y, float r, float g, float b) {\n triangleCoords[0] = c0X;\n triangleCoords[1] = c0Y;\n triangleCoords[2] = 0;\n triangleCoords[3] = c1X;\n triangleCoords[4] = c1Y;\n triangleCoords[5] = 0;\n triangleCoords[6] = c2X;\n triangleCoords[7] = c2Y;\n triangleCoords[8] = 0;\n color[0] = r;\n color[1] = g;\n color[2] = b;\n centerX = (c0X+c1X) / 2.0f;\n centerY = (float)(c0Y - ((c1X-c0X)/(Math.sqrt(3)*2.0f)));\n\n // initialize vertex byte buffer for shape coordinates\n ByteBuffer bb = ByteBuffer.allocateDirect(\n // (number of coordinate values * 4 bytes per float)\n triangleCoords.length * 4);\n // use the device hardware's native byte order\n bb.order(ByteOrder.nativeOrder());\n\n // create a floating point buffer from the ByteBuffer\n vertexBuffer = bb.asFloatBuffer();\n // add the coordinates to the FloatBuffer\n vertexBuffer.put(triangleCoords);\n // set the buffer to read the first coordinate\n vertexBuffer.position(0);\n\n\n // The drawn object (This triangle) needs to claim shaders for vertex and fragment, so it can be drawn\n int vertexShader = MyGLRenderer.loadShader(GLES20.GL_VERTEX_SHADER,\n vertexShaderCode);\n int fragmentShader = MyGLRenderer.loadShader(GLES20.GL_FRAGMENT_SHADER,\n fragmentShaderCode);\n\n // create empty OpenGL ES Program ( = one openGL procedure responsible for drawing this shape)\n mProgram = GLES20.glCreateProgram();\n\n // add the vertex shader to program\n GLES20.glAttachShader(mProgram, vertexShader);\n\n // add the fragment shader to program\n GLES20.glAttachShader(mProgram, fragmentShader);\n\n // creates OpenGL ES program executables\n GLES20.glLinkProgram(mProgram);\n }",
"public TriangleGizmo(String name, double x1, double y1) {\n\t\t\tdouble w = 20;\n\t\t\tdouble h = 20;\n\t\t\txpos1 = x1*20;\n\t\t\txpos2 = (x1*20) + w;\n\t\t\txpos3 = xpos2;\n\t\t\typos1 = y1*20;\n\t\t\typos2 = y1*20;\n\t\t\typos3 = ypos2 + h;\n\t\t\twidth = w;\n\t\t\theight = h;\n\t\t\tcolour = Color.WHITE;\n\t\t\tls1 = new LineSegment(x1*20, y1*20, xpos2, ypos2);\n\t\t\tls2 = new LineSegment(xpos2, ypos2, xpos3, ypos3);\n\t\t\tls3 = new LineSegment(x1*20, y1*20, xpos3, ypos3);\n\t\t\tsetName(name);\n\t\t}",
"public Triangulo(int L1, int b, float h) { // el metodo constructor con su parametros que me se servira para inicializar mis atributos\r\n lado = L1;\r\n base = b;\r\n haltura = h;\r\n }",
"public TriangleElt3D(Point3D[] points, ScalarOperator sop)\n\t\t\tthrows IllegalArgumentException {\n\t\tsuper(points, sop);\n\t\tthis.eltZero = null;\n\t\tthis.eltOne = null;\n\t\tthis.eltTwo = null;\n\t}",
"public Shape(TriangleMesh mesh) {\n super(mesh);\n this.mesh = mesh;\n setVisuals(\"purple\");\n }",
"public static ITriangle getTriangle() {\n return corners;\n }",
"public TriangleElt3D(Point3D point1, Point3D point2, Point3D point3,\n\t\t\tScalarOperator sop) {\n\t\tthis(new Point3D[] { point1, point2, point3 }, sop);\n\t}",
"public TriangleData()\r\n {\r\n knownCount = 0;\r\n /*--------------------------------------------------------------------*\r\n Input is validated by set. \r\n Must be >= 0.0\r\n Is there a practical maximum?\r\n \r\n Can you throw an exception in a constructor?\r\n *--------------------------------------------------------------------*/\r\n set( DataID.DATA_A, 0.0 );\r\n set( DataID.DATA_B, 0.0 );\r\n set( DataID.DATA_C, 0.0 );\r\n\r\n }",
"public Triangle(int h, int b){\n if(h == b){\n height = h;\n base = b;\n }\n else{\n height = h;\n base = height;\n }\n }",
"public TriangleSolitaireModelImpl(int dimensions) throws IllegalArgumentException {\r\n super(new TriangleBoard(dimensions));\r\n }",
"@Override\n\tpublic String toString() {\n\t\treturn \"Triangulo [b_=\" + b_ + \", h_=\" + h_ + \", Area=\" + Area() +\n\t\t\", Diameter=\" + super.Perimeter() + \", Diagonals=\" + super.Diagonals() +\"]\";\n\t}",
"@Override\r\n public String toString() {\r\n return \"Triangle base: \" + base + \", Triangle height: \" + height + \", Triangle color: \" + super.toString();\r\n }",
"public void addTriangle(Triangle triangle){\n triangles.add(triangle);\n }",
"public TriangleElt3D(Point3D point, Segment3D seg, ScalarOperator sop) {\n\t\tthis(new Point3D[] { point, seg.getPoint(0), seg.getPoint(1) }, sop);\n\t}",
"public TriangleSolitaireModelImpl(int emptyRow, int emptyCol) throws IllegalArgumentException {\r\n super(new TriangleBoard(emptyRow, emptyCol));\r\n }",
"public String toString(){\n return \"Triangle: side1 = \" + side1 + \" side2 = \" + side2 + \" side3 = \" + side3;\n }",
"public Line copy() {\r\n Line l = new Line();\r\n l.line = new ArrayList < Point > (this.line);\r\n l.direction = this.direction;\r\n l.clickedPoint = this.clickedPoint;\r\n return l;\r\n }",
"public TrianglePanel()\n {\n this.setPreferredSize(new Dimension(PANEL_W, PANEL_H));\n this.repaint();\n }",
"public TriangleStripGenerator2d(final int rowLength) {\n\t\tthis(rowLength, true);\n\t}",
"protected AbstractPathElement(AbstractPathElement<V, E> original)\r\n/* */ {\r\n/* 117 */ this.nHops = original.nHops;\r\n/* 118 */ this.prevEdge = original.prevEdge;\r\n/* 119 */ this.prevPathElement = original.prevPathElement;\r\n/* 120 */ this.vertex = original.vertex;\r\n/* */ }",
"abstract public Vertex getClone();",
"public PascalTriangleException(Throwable cause)\r\n {\r\n\tsuper(cause);\r\n }",
"public Paint(){\n triangles = new ArrayList<>();\n rectangles = new ArrayList<>();\n circles = new ArrayList<>();\n }",
"public Triangle getTriangle(int n) {\n\treturn triangles.get(n); \n }",
"public String toString() {\n\t\treturn \"Triangle with side1 = \" +side1+ \", side2 = \" +side2+ \", side3 = \" +side3;\n\t}",
"@Override\n public Vector3 clone()\n {\n return new Vector3(this);\n }",
"abstract public Vertex cloneMe();",
"public Trips() {\n this(\"trips\", null);\n }",
"public TriangleNavStart() {\n initComponents();\n }",
"public TriangleSolitaireModelImpl(int dimensions, int emptyRow, int emptyCol)\r\n throws IllegalArgumentException {\r\n super(new TriangleBoard(dimensions, emptyRow, emptyCol));\r\n }",
"public Trips(String alias) {\n this(alias, TRIPS);\n }",
"public Triangle getTridroit() {\r\n return tridroit;\r\n }",
"Vertex(){}",
"public Tribute()\n {\n vectOfCoef = new Vector<Double>(numOfCoef);\n for(int x =0; x < numOfCoef; x++)\n {\n vectOfCoef.addElement((Math.random() * 2) - 1);\n }\n }",
"public int getTriangleCount();",
"public Triangle getSubTriangle(int i) {\r\n switch(i) {\r\n case 0: return(subTriangleA);\r\n case 1: return(subTriangleB);\r\n case 2: return(subTriangleC);\r\n default: return null;\r\n } \r\n }",
"public Tetraedro(double base, double altura){\n c = new Triangulo(base, altura);\n }",
"public\n\tVector3( Vector3 other )\n\t{\n\t\tdata = new double[3];\n\t\tcopy( other );\n\t}",
"public Plane3(Plane3 p) {\n this.a = p.a; this.b = p.b; this.c = p.c; this.v = p.v; this.d = p.d;\n }"
] |
[
"0.81603223",
"0.80536884",
"0.7915246",
"0.78789204",
"0.7667266",
"0.7662036",
"0.7646799",
"0.75171727",
"0.74930185",
"0.74649507",
"0.735555",
"0.7331417",
"0.72936183",
"0.723734",
"0.7235341",
"0.7227298",
"0.72151494",
"0.721447",
"0.7175447",
"0.71575665",
"0.7037574",
"0.6988974",
"0.6972798",
"0.69094396",
"0.6852238",
"0.68407935",
"0.6786511",
"0.67614686",
"0.6755366",
"0.6672473",
"0.66274107",
"0.6613723",
"0.6611763",
"0.6599301",
"0.65799916",
"0.6573966",
"0.6523118",
"0.64727277",
"0.64564997",
"0.63969266",
"0.6372167",
"0.63249356",
"0.6301824",
"0.6261337",
"0.62501466",
"0.6246258",
"0.62162507",
"0.62047327",
"0.61398315",
"0.6114295",
"0.61096066",
"0.6107343",
"0.6088883",
"0.60859156",
"0.6077902",
"0.60246456",
"0.6017054",
"0.6014355",
"0.5954728",
"0.5940815",
"0.5932434",
"0.58996594",
"0.58953756",
"0.5880343",
"0.5871751",
"0.5859127",
"0.582961",
"0.58222604",
"0.5817934",
"0.57750934",
"0.5768834",
"0.57622963",
"0.5743889",
"0.5695365",
"0.5690813",
"0.56836474",
"0.5615329",
"0.56120867",
"0.558973",
"0.55779636",
"0.5577616",
"0.5559901",
"0.55402416",
"0.5518813",
"0.5480116",
"0.54681396",
"0.54497945",
"0.5448861",
"0.5439424",
"0.54345405",
"0.5412012",
"0.54057854",
"0.54025805",
"0.5383616",
"0.53815216",
"0.53750396",
"0.5364126",
"0.5355157",
"0.53544885",
"0.5353621"
] |
0.7948236
|
2
|
/Name: move Purpose: Moves the Triangle Parameter: int xDelta, int yDelta Return: void
|
public void move( int xDelta, int yDelta ) {
setP1(new Point (getP1().getX()+xDelta, getP1().getY()+yDelta));
setP2(new Point (getP2().getX()+xDelta, getP2().getY()+yDelta));
setP3(new Point (getP3().getX()+xDelta, getP3().getY()+yDelta));
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void move(int delta);",
"void moveTo(int dx, int dy);",
"public abstract void move(int deltaX, int deltaY);",
"void move(IntVector delta);",
"public void move (int deltaX, int deltaY)\r\n {\r\n\tx = x + deltaX;\r\n\ty = y + deltaY;\r\n }",
"void move(int dx, int dy);",
"void move(double dx, double dy);",
"private void move(int dx, int dy) {\n }",
"void move(int steps);",
"public void move(){\n x+=xDirection;\n y+=yDirection;\n }",
"public void move(int deltaX,int deltaY) {\n \tx += deltaX;\n \ty += deltaY;\n }",
"public abstract void moveTo(double x, double y);",
"public void move(double delta) {\n\t\tpreviousX = x;\n\t\tpreviousY = y;\n\t\tx += getVelocityX() * delta;\n\t\ty += getVelocityY() * delta;\n\t}",
"public void move()\n\t{\n\t\tx = x + dx;\n\t}",
"@Override\n\tpublic void move(int xPos, int yPos) {\n\t}",
"public void move(){\n\t\t\n\t}",
"public void move(String direction);",
"public void move();",
"public void move();",
"public void move(int distance);",
"public void movePiece(Coordinate from, Coordinate to);",
"public void deltaMove(Point delta){\n originPoint.x += delta.x;\n originPoint.y += delta.y;\n endPoint.x += delta.x;\n endPoint.y += delta.y;\n }",
"public void move(String direction) {\n \n }",
"public void move(Vector start,Vector dist);",
"public void move() {\r\n posX += movementX;\r\n posY += movementY;\r\n anchorX += movementX;\r\n anchorY += movementY;\r\n }",
"public void move() {\n\n }",
"protected abstract void moveTo(final float x, final float y);",
"public void move(int dx, int dy) {\n this.x = this.x + dx;\n this.y = this.y + dy;\n }",
"public abstract void move(int direction, double speed);",
"public void move() {\n\r\n\t}",
"@Override\n\tvoid move(int x, int y) {\n\n\t}",
"public void moveBy(int dx, int dy){\n x += dx;\n y += dy;\n }",
"public void move(Point p);",
"public void move()\n {\n x = x + unitVector.getValue(1)*speed;\n y = y + unitVector.getValue(2)*speed;\n }",
"void move(int dx, int dy) {\n position = position.addX(dx);\n position = position.addY(dy);\n }",
"public void move(double dx, double dy){\r\n x+= dx;\r\n y+= dy;\r\n changed();\r\n }",
"public void move(int dx, int dy) {\n this.xPosition += dx;\n this.yPosition += dy;\n }",
"public void move(int x, int y)\r\n\t{\r\n\t\ttheX = x;\r\n\t\ttheY = y;\r\n\t}",
"@Override\r\n\tpublic void moveTo(float x, float y) {\n\t\t\r\n\t}",
"public void move() {\n\t\tmoveX();\n\t\tmoveY();\n\t}",
"public void move() {\n switch (dir) {\n case 1:\n this.setX(getX() + this.speed);\n moveHistory.add(new int[] {getX() - this.speed, getY()});\n moveHistory.add(new int[] {getX(), getY()});\n break;\n case 2:\n this.setY(getY() - this.speed);\n moveHistory.add(new int[] {getX(), getY() + this.speed});\n moveHistory.add(new int[] {getX(), getY()});\n break;\n case 3:\n this.setX(getX() - this.speed);\n moveHistory.add(new int[] {getX() + this.speed, getY()});\n moveHistory.add(new int[] {getX(), getY()});\n break;\n case 4:\n this.setY(getY() + this.speed);\n moveHistory.add(new int[] {getX(), getY() - this.speed});\n moveHistory.add(new int[] {getX(), getY()});\n break;\n default:\n break;\n }\n }",
"@Override\n\tpublic void move(float x, float y) {\n\t\tsuper.move(x, y);\n\t\tpath.lineTo(x, y);\n\t}",
"public void move(long delta) {\n // update the location of the gameObject based on move speeds\n x += (delta * dx) / 1000;\n y += (delta * dy) / 1000;\n }",
"public void move(double dx, double dy)\n\t{\n\t\txPosition += dx;\n\t\tyPosition += dy;\n\t}",
"void move();",
"public abstract void move(Point point);",
"public void move(float delta) {\n move(speedX, speedY, delta);\n }",
"void moveTurtle(int turtleIndex, Coordinate start, Coordinate end);",
"public void move(int x, int y) {\n \tint xOld = this.x;\n \tint yOld = this.y;\n \tthis.x = x;\n \tthis.y = y;\n \tSystem.out.print (\"point moved from (\" + xOld + \",\" + yOld + \") to (\" + this.x + \",\" + this.y + \")\");\n }",
"public abstract void move(int newXPosition, int newYPosition, PiecePosition position) throws BoardException;",
"@Test\n public void moveExample1() {\n MarbleSolitaireModel exampleBoard = new TriangleSolitaireModelImpl(6);\n exampleBoard.move(2, 0, 0, 0);\n\n assertEquals(\" O\\n\" +\n \" _ O\\n\" +\n \" _ O O\\n\" +\n \" O O O O\\n\" +\n \" O O O O O\\n\" +\n \"O O O O O O\", exampleBoard.getGameState());\n }",
"public void move(int mv){\n\t\t\tx+= mv;\n\t\t}",
"public void move()\n\t{\n\t\tx = x + logDx;\n\t}",
"public void move(float deltaTime) {\n }",
"public void move (long delta){\r\n\r\n super.move(delta);\r\n }",
"public void moveTo(Vector position) {\n }",
"public abstract void move(Position position);",
"@Override\n\tpublic void move(int dx, int dy) {\n\t\t// TODO Auto-generated method stub\n\t\tco.move(dx, dy);\n\t}",
"public abstract Point move(Point position);",
"public void move() {\n // Check for collisions and reverse deltas accordingly\n if (collisionWithHorizontalWall()) {\n isFacingRight = !isFacingRight;\n dx *= -1;\n }\n if (collisionWithVerticalWall()) {\n dy *= -1;\n }\n \n // Handle actual movement by updating positional values\n if (dx == 0 || dy == 0) {\n xPos += dx;\n yPos += dy;\n } else {\n // Turn diagonal delta movement into 1 instead of sqrt(2)\n xPos += DIAGONAL_DIVISOR * dx;\n yPos += DIAGONAL_DIVISOR * dy;\n }\n }",
"public void moveTo(int newX, int newY) {\n xPosition = newX-radius;\n yPosition = newY-radius;\n }",
"@Test\n public void moveExample2() {\n MarbleSolitaireModel exampleBoard = new TriangleSolitaireModelImpl(7, 6, 6);\n exampleBoard.move(4, 4, 6, 6);\n assertEquals(\" O\\n\" +\n \" O O\\n\" +\n \" O O O\\n\" +\n \" O O O O\\n\" +\n \" O O O O _\\n\" +\n \" O O O O O _\\n\" +\n \"O O O O O O O\", exampleBoard.getGameState());\n }",
"@Test\n public void moveExample3() {\n MarbleSolitaireModel exampleBoard = new TriangleSolitaireModelImpl();\n exampleBoard.move(2, 0, 0, 0);\n exampleBoard.move(4, 0, 2, 0);\n\n assertEquals(\" O\\n\" +\n \" _ O\\n\" +\n \" O O O\\n\" +\n \" _ O O O\\n\" +\n \"_ O O O O\", exampleBoard.getGameState());\n }",
"public void move(int x, int y) {\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t}",
"public abstract void move( char direction );",
"public abstract void move(int p_index) ;",
"public void move()\r\n\t{\r\n\t\tmoveHor(xVel);\r\n\t\tmoveVert(yVel);\r\n\t}",
"public void Move()\n {\n \n }",
"public void Move(int x, int y)\r\n\t{\r\n\t\tP.x+=x;\r\n\t\tP.y+=y;\r\n\t}",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"public abstract void move();",
"public void increasePosition(float dx, float dy, float dz);",
"public void moveTo(double newX, double newY, double newZ){\n pos[0] = newX;\n pos[1] = newY;\n pos[2] = newZ;\n }",
"void movePiece() {\n\n }",
"@Override\n\tpublic void move() {\n\t\t\n\t}",
"public abstract void makeMove(int mouseDownX, int mouseDownY, int MouseUpX, int mouseUpY, int left, int top, int width, int height);",
"@Override\n\tpublic void move(Direction d) {\n\t\t\n\t}",
"@Override\n\tpublic void move() {\n\n\t}",
"public void move() {\n\n\tGrid<Actor> gr = getGrid();\n\tif (gr == null) {\n\n\t return;\n\t}\n\n\tLocation loc = getLocation();\n\tif (gr.isValid(next)) {\n\n\t setDirection(loc.getDirectionToward(next));\n\t moveTo(next);\n\n\t int counter = dirCounter.get(getDirection());\n\t dirCounter.put(getDirection(), ++counter);\n\n\t if (!crossLocation.isEmpty()) {\n\t\t\n\t\t//reset the node of previously occupied location\n\t\tArrayList<Location> lastNode = crossLocation.pop();\n\t\tlastNode.add(next);\n\t\tcrossLocation.push(lastNode);\t\n\t\t\n\t\t//push the node of current location\n\t\tArrayList<Location> currentNode = new ArrayList<Location>();\n\t\tcurrentNode.add(getLocation());\n\t\tcurrentNode.add(loc);\n\n\t\tcrossLocation.push(currentNode);\t\n\t }\n\n\t} else {\n\t removeSelfFromGrid();\n\t}\n\n\tFlower flower = new Flower(getColor());\n\tflower.putSelfInGrid(gr, loc);\n\t\n\tlast = loc;\n\t\t\n }",
"public void move(double x, double y, double z) {\n\t\tPublisher move_base = new Publisher(\"/ariac_human/goal_position\", \"geometry_msgs/Point\", bridge);\t\n\t\tmove_base.publish(new Point(x,y,z));\n\t}",
"public void move(int accX,int accY){\n this.accX = accX;\n this.accY = accY;\n velX = velX + accX;\n velY = velY + accY;\n }",
"void move() {\n\t\tif (reachedEdge()) {\n\t\t\tvelocityX = velocityX * -1;\n\t\t\ty = y + 50;\n\t\t}\n\t\tif (reachedLeft()) {\n\t\t\tvelocityX = velocityX * -1;\n\t\t\ty = y + 50;\n\t\t}\n\n\t\tx = x + velocityX;\n\t}",
"@Override\n public void move() {\n _location.x++;\n }",
"public abstract void move(int elapsedTime);",
"public void move()\r\n\t{\r\n\t\ty-=8;\r\n\t}",
"@Override\n public void move(){\n setDirectionSpeed(180, 7);\n this.moveTowardsAPoint(target.getCenterX(), target.getCenterY());\n }",
"public void moveLeft()\n\t{\n\t\tx = x - STEP_SIZE;\n\t}",
"public void move() {\n if (this.nextMove.equals(\"a\")) { // move down\n this.row = row + 1;\n progress += 1;\n if (progress == steps) {\n nextMove = \"b\";\n progress = 0;\n }\n } else if (this.nextMove.equals(\"b\")) { // move right\n this.col = col + 1;\n progress += 1;\n if (progress == steps) {\n nextMove = \"c\";\n progress = 0;\n }\n } else if (this.nextMove.equals(\"c\")) { // move up\n this.row = row - 1;\n progress += 1;\n if (progress == steps) {\n nextMove = \"a\";\n progress = 0;\n }\n }\n }",
"protected void moveTo (int x, int y) {\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t}",
"public void move(double x, double y) {\n\t\tposition.x += x;\n\t\tposition.y += y;\n\t\tshape.move(x, y);\n\n\t\tif (texture != null)\n\t\t\ttexture.move(x, y);\n\t}",
"void moveForward();",
"@Test\n public void testMove() {\n Point Left_1_North = Day1.move(\"L\", 1, new Point(0, 0), \"NORTH\");\n assertEquals(new Point(-1, 0), Left_1_North);\n\n Point Left_1_South = Day1.move(\"L\", 1, new Point(0, 0), \"SOUTH\");\n assertEquals(new Point(1, 0), Left_1_South);\n\n Point Left_1_East = Day1.move(\"L\", 1, new Point(0, 0), \"EAST\");\n assertEquals(new Point(0, 1), Left_1_East);\n\n Point Left_1_West = Day1.move(\"L\", 1, new Point(0, 0), \"WEST\");\n assertEquals(new Point(0, -1), Left_1_West);\n\n //turn right when facing North, South, East and West\n Point Right_1_North = Day1.move(\"R\", 1, new Point(0, 0), \"NORTH\");\n assertEquals(new Point(1, 0), Right_1_North);\n\n Point Right_1_South = Day1.move(\"R\", 1, new Point(0, 0), \"SOUTH\");\n assertEquals(new Point(-1, 0), Right_1_South);\n\n Point Right_1_East = Day1.move(\"R\", 1, new Point(0, 0), \"EAST\");\n assertEquals(new Point(0, -1), Right_1_East);\n\n Point Right_1_West = Day1.move(\"R\", 1, new Point(0, 0), \"WEST\");\n assertEquals(new Point(0, 1), Right_1_West);\n\n //wrong Input, return current point\n Point wrong = Day1.move(\"A\", 1, new Point(0, 0), \"B\");\n assertEquals(new Point(0, 0), wrong);\n\n }",
"public void move(int x, int y){\n universe.erase(this);\n this.yPosition = y;\n this.xPosition = x;\n universe.draw(this);\n }",
"@Override\r\n public void move(int deltaX, int deltaY) {\r\n\r\n for(IShape shape : children) {\r\n shape.move(deltaX,deltaY);\r\n }\r\n }",
"public void moveBy(Delta delta)\n\t{\n\t\ttry {\n\t\t\tcurrentPosition = Position.fromCoordinates(currentPosition.X + delta.X, currentPosition.Y + delta.Y);\n\t\t}\n\t\tcatch(IllegalArgumentException invalidDelta)\n\t\t{\n\t\t\t// Convert exception to convey the correct semantics \n\t\t\tthrow new IllegalStateException(invalidDelta);\n\t\t}\n\t}"
] |
[
"0.7223233",
"0.7156592",
"0.7110946",
"0.70924956",
"0.70155394",
"0.6977223",
"0.69685733",
"0.69194853",
"0.68480843",
"0.66892886",
"0.66784954",
"0.6617365",
"0.6600057",
"0.6567003",
"0.6510693",
"0.6487859",
"0.64823145",
"0.6467433",
"0.6467433",
"0.64626485",
"0.64494777",
"0.6432103",
"0.6418936",
"0.63844675",
"0.638408",
"0.6360791",
"0.63603175",
"0.63578004",
"0.63481754",
"0.63437915",
"0.6343075",
"0.63424903",
"0.6327029",
"0.63107324",
"0.6285414",
"0.6283651",
"0.6280844",
"0.6279428",
"0.6277297",
"0.6273626",
"0.6260515",
"0.62440675",
"0.6220818",
"0.6214098",
"0.62109",
"0.6191386",
"0.6179381",
"0.6179133",
"0.6175699",
"0.6158726",
"0.6154327",
"0.6154053",
"0.6144876",
"0.6124779",
"0.6119652",
"0.6106427",
"0.61046696",
"0.6103741",
"0.6091876",
"0.6070263",
"0.6069589",
"0.606532",
"0.60639805",
"0.60618484",
"0.6028073",
"0.602325",
"0.5993948",
"0.5991899",
"0.5990394",
"0.5985067",
"0.5985067",
"0.5985067",
"0.5985067",
"0.5985067",
"0.5985067",
"0.5985067",
"0.59825027",
"0.5982484",
"0.59778607",
"0.5971226",
"0.5968193",
"0.596107",
"0.5940354",
"0.59365106",
"0.59199905",
"0.59072703",
"0.5905022",
"0.5904088",
"0.59007984",
"0.5900082",
"0.5898631",
"0.58972347",
"0.58835673",
"0.5882047",
"0.58799905",
"0.5876464",
"0.5873866",
"0.5869749",
"0.58696467",
"0.5867967"
] |
0.6533249
|
14
|
/ Name: toString Purpose: Puts Triangle's information (coordinates,name,shape) in a string Parameter: None Return: String
|
@Override
public String toString() {
return super.getName() + getP1().toString() + ", " + getP2().toString()
+ ", " + getP3().toString();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public String toString() {\n\treturn triangles.toString(); \n }",
"public String toString(){\n return \"Triangle: side1 = \" + side1 + \" side2 = \" + side2 + \" side3 = \" + side3;\n }",
"public String toString() {\n\t\treturn \"Triangle with side1 = \" +side1+ \", side2 = \" +side2+ \", side3 = \" +side3;\n\t}",
"@Override\n\tpublic String toString() {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < 9; i += 1) {\n\t\t\tif (i % 3 == 0)\n\t\t\t\tsb.append(\"\\n\");\n\t\t\tsb.append(triangleCoords[i] + \" \");\n\t\t}\n\t\treturn sb.toString() + \"\\n\";\n\t}",
"public String toString(){\n\t\treturn (\"this triangle has side 1 of length\"+side1+\"side 2 of length\"+side2+\"and side 3 of length\"+side3);\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn \"(Triangle \"+verts+\")\" ;\n\t}",
"public String toString() {\n\t\t\treturn shape;\n\t\t}",
"@Override\n\tpublic String toString() {\n\t\treturn \"Triangulo [b_=\" + b_ + \", h_=\" + h_ + \", Area=\" + Area() +\n\t\t\", Diameter=\" + super.Perimeter() + \", Diagonals=\" + super.Diagonals() +\"]\";\n\t}",
"public String toString() {\n String str = \"\";\n str += \"Shape: \" + name + \"\\n\";\n str += \"Center: \" + \"(\" + (xPosition+radius) + \",\" + (yPosition+radius) + \")\" + \"\\n\";\n str += \"Radius: \" + radius + \"\\n\";\n str += \"Color: \" + color + \"\\n\";\n str += \"Selected: \" + isSelected + \"\\n\";\n return str;\n }",
"@Override//overring a library function\n public String toString() {\n return shape + \" \" + name;//toString() is called everytime printing is done\n }",
"private String vertexNamesAndCoordsToString() {\n \n //make empty string\n String s = \"\";\n \n //add # of vertices & line break\n s += N + \"\\n\";\n \n //for loop to add names/coords to it\n for (int i = 0; i < arrayOfVertices.length; i++) {\n \n //add vertex name, xcoord, & ycoord separated by spaces \n s += arrayOfVertices[i].getName() + \" \" \n + arrayOfVertices[i].getX() + \" \" \n + arrayOfVertices[i].getY() + \"\\n\"; \n \n }\n \n //return the string\n return s;\n \n }",
"public String toString(){\r\n String result = \"[ \";\r\n result = result + vertex + \" ]\";\r\n return result;\r\n }",
"public String toString() {\r\n\t\tStringBuilder stringBuilder = new StringBuilder();\r\n stringBuilder\r\n .append(this.x).append(\" \")\r\n .append(this.y).append(\" \")\r\n .append(this.z);\r\n\t\treturn stringBuilder.toString();\r\n }",
"@Override\r\n public String toString() {\r\n return \"Triangle base: \" + base + \", Triangle height: \" + height + \", Triangle color: \" + super.toString();\r\n }",
"public String toString() {\r\n\t\treturn \"(\" + this.x + \",\" + this.y + \",\" + this.z + \")\";\r\n\t}",
"public String toString() {\n\t\treturn String.format(\"Shape: %s,Color: %s\", shape, color);\n\t}",
"@Override\n public String toString() \n\t{\n\t\t// This is just for the output format\n\t\tString sg = \"\";\n\t\tsg = sg + \"(\";\n\t\tsg = sg + x;\n\t\tsg = sg + \", \";\n\t\tsg = sg + y;\n\t\tsg = sg + \") \";\n\t\t\n\t\treturn sg;\n\n\t}",
"@Override public String toString() {\n\t\tif (this.valido == true) \t\n\t \t\treturn String.format(\"Il quadrato di vertici %s %s %s %s ha perimetro %.2f e area %.2f\", this.vertici[0].toString(),\n\t\t\tthis.vertici[1].toString(), this.vertici[2].toString(), this.vertici[3].toString(),this.calcolaPerimetro(),this.calcolaArea());\n\t\telse return (\"Quadrato non valido\");\n\t}",
"public String toString() {\n\t\tString toString = null;\n\t\ttoString = \"[\" + this.px() + \", \" + this.py() + \", \" + this.pz() + \", \" + this.e() + \"]\";\n\t\treturn toString;\n\t}",
"@Override\r\n public String toString() {\r\n return String.format(\"%s:\\n%s\", \"Coordinates of Quadrilateral are\", getCoordinatesAsString());\r\n }",
"public String toString()\r\n {\r\n return \"(\" + this.x() + \", \" + this.y() + \")\";\r\n }",
"public String toString(){\n return (\"TextShape \"+x+\" \"+y+\" \"+col.getRed()+\" \"+col.getGreen()+\" \"+col.getBlue()+\" \"+str);\n }",
"public String toString() {\n return (\"(\" + x + \", \" + y + \", \" + z + \")\");\n }",
"public String toString()\n\t{\t\n\t\tString a = \"\";\n\t\tint counter = 0; //counting how many points we have added to one line so far\n\t\tfor(int i = 0; i < hullVertices.length; i++) //iterate through the whole array\n\t\t{\n\t\t\tif(counter == 5) //go to a new line if you have added 5 points\n\t\t\t{\n\t\t\t\ta += \"\\n\";\n\t\t\t\tcounter = 0;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t//add point as a string and increment the counter\n\t\t\t\tString point = hullVertices[i].toString();\n\t\t\t\ta += point;\n\t\t\t\ta += \" \";\n\t\t\t\tcounter++;\n\t\t\t}\n\t\t}\n\t\treturn a; \n\t}",
"public String toString(){\n String s = \"\";\n s += \"\\t\";\n \n for (int i = 0; i < n; i++){\n // adding vertices for columns\n s += vertices[i] + \"\\t\";\n }\n \n s += \"\\n\";\n \n for (int i = 0; i < n; i++){\n s += vertices[i] + \"\\t\"; // vertex for row\n for (int j = 0; j < n; j++){\n s += edges[j][i] + \"\\t\"; // adding edges across row\n }\n s += \"\\n\";\n }\n \n return s;\n }",
"@Override\n public String toString() {\n return this.area + \"/\" + this.aisle + \"/\" + this.x + \"/\" + this.y + \"/\" + this.z;\n }",
"public String toString(){\n return \"(\" + this.x + \",\" + this.y + \")\";\n }",
"public String toString(){\n\t\treturn vertex.toString();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn String.format(\"(%f, %f, %f)\", x, y, z);\n\t}",
"public String toString() {\n // DecimalFormat class is used to format the output\n DecimalFormat df = new DecimalFormat(\".0\");\n return \"\\nCoordinates of Parallelogram are:\\n\"\n + super.toString()\n + \"\\nWidth is :\"\n + df.format(width)\n + \"\\nHeight is :\"\n + df.format(height)\n + \"\\nArea is :\"\n + df.format(area());\n }",
"public Triangle(int x1, int y1, int x2, int y2, int x3, int y3, String name){\n this.x1 = x1;\n this.y1 = y1;\n this.x2 = x2;\n this.y2 = y2;\n this.x3 = x3;\n this.y3 = y3;\n this.name = name;\n \n \n }",
"public String toString()\r\n\t{\r\n\t\tStringBuffer buffer = new StringBuffer(\"{X = \");\r\n\t\tbuffer.append(this.x);\r\n\t\tbuffer.append(\", Y = \");\r\n\t\tbuffer.append(this.y);\r\n\t\tbuffer.append('}');\r\n\t\treturn buffer.toString();\r\n\t}",
"public String toString() {\r\n return \"Shape: \" + this.getClass().getName() +\r\n \"\\t radius: \" + radius;\r\n }",
"public String toString() {\n return \"(\"+this.x + \", \" + this.y+\")\";\n }",
"public String toString() {\n\t return \"(\" + this.x + \",\" + this.y + \")\";\n\t }",
"public String toString(){\n return \"{\"+this.x+\", \"+this.y+\"}\";\n }",
"public String toString(){\n\t\tString s = new String();\n\t\tif( x != null ){\n\t\t\ts = s+\"x: \"+x.toString()+\" \";\n\t\t}\n\t\tif( y != null ){\n\t\t\ts = s+\"y: \"+y.toString()+\" \";\n\t\t}\n\t\tif( z != null ){\n\t\t\ts = s+\"z: \"+z.toString()+\" \";\n\t\t}\n\t\tif( intensity != null){\n\t\t\ts = s+\"Intensity: \";\n\t\t\tfor( int i=0; i<intensity.length; i++){\n\t\t\t\ts = s+intensity[i]+\" \";\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t}",
"public String toString() {\n StringBuilder s = new StringBuilder();\n String NEWLINE = System.getProperty(\"line.separator\");\n s.append(vertices + \" \" + NEWLINE);\n for (int v = 0; v < vertices; v++) {\n s.append(String.format(\"%d: \", v));\n for (Map.Entry<Integer, Integer> e : adjacent(v).entrySet()) {\n s.append(String.format(\"%d (%d) \", e.getKey(), e.getValue()));\n }\n s.append(NEWLINE);\n }\n return s.toString();\n }",
"public String toString() {\n\t\tString returnString=\"\";\n\t\t\n\t\tfor (int i=0; i<squares.length; i++) {\n\t\t\tfor (int j=0; j<squares.length; j++) {\n\t\t\t\treturnString+=Character.toString(squares[i][j].getValue());\n\t\t\t}\n\t\t\treturnString+=\"// \";\n\t\t}\n\t\t\n\t\treturn returnString;\n\t}",
"public String toString() {\n\t\tString stringList = Arrays.toString(this.facets.toArray());\n\t\treturn \"solid \" + name + stringList.replace(\"[\", \"\").replace(\"]\", \"\").replace(\",\", \"\") + \"\\nendsolid \" + name;\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn \"(\" + Double.toString(x) + \", \" + Double.toString(y) + \", \" + Double.toString(z) + \")\";\r\n\t\t// String.format is cleaner, but Double.toString appears to have behavior closer to that of the old editor\r\n//\t\treturn String.format(\"(%f, %f, %f)\", x, y, z);\r\n\t}",
"@Override\n\tpublic String toString()\n\t{\n\t\tint i;\n\t\tString out = \"\";\n\t\tfor (i = 0; i < points.length; i++) {\n\t\t\tout = out + points[i].getX() + \" \" + points[i].getY();\n\t\t}\n\t\t\treturn out + \"\\n\";\n\t}",
"@Override\n public String toString() {\n if (isValid()) {\n return String.format(\n Locale.US,\n \"%+02f%+02f%s/\",\n coordinates.get(1), coordinates.get(0), coordinateSystem.toString());\n }\n return \"\";\n }",
"public String toString()\n {\n return (\"x,y\" + x + y);\n }",
"public String toStringShort() {\n\treturn AbstractFormatter.shape(this);\n}",
"public String toString() {\n\t\tString s = \"\";\n\t\t// Loop through all the vertices and add their neighbors to a string\n\t\tfor (int i = 0; i < this.vertices.size(); i++) {\n\t\t\ts += this.vertices.get(i).toString() + \": \" + this.vertices.get(i).getNeighbors() + \"\\n\\n\";\n\t\t}\n\t\ts += \"Number of Total Edges: \" + this.actualTotalEdges;\n\t\treturn s;\n\t}",
"@Override\n public String toString()\n {\n String temp = \"[\";\n String areaVal = String.format(\"%5.2f\", area);\n\n\n for(int i = 0; i < sides; i++)\n {\n temp += poly[i].toString();\n }\n\n temp += \"]: \"+ areaVal;\n this.print = temp;\n return temp;\n }",
"public String toString() {\n /* DO NOT MODIFY */\n return \"(\" + x + \", \" + y + \")\";\n }",
"public String toString() {\n /* DO NOT MODIFY */\n return \"(\" + x + \", \" + y + \")\";\n }",
"public String toString() {\n /* DO NOT MODIFY */\n return \"(\" + x + \", \" + y + \")\";\n }",
"public String getCoordinatesAsString() {\r\n return String.format(\"%s, %s, %s, %s\\n\", p1, p2, p3, p4);\r\n }",
"public String toString() {\r\n /* DO NOT MODIFY */\r\n return \"(\" + x + \", \" + y + \")\";\r\n }",
"public String toString(){\n\t\treturn \"The r is: \" + r + \"\\nThe theta is: \" + theta;\n\t}",
"public String toString ( ) {\r\n String returnString = _name + \"{ id: \" + _uniqueID + \" pos: [\"+ getPosition().getPosition() + \"] }\";\r\n return returnString;\r\n }",
"public String toString()\n\t{\n\t\tString data = \"(\" + x + \", \" + y + \")\";\n\t\treturn data;\t\t\t\t\t\t\t\t\t\t\t// Return point's data \n\t}",
"public String toString() {\n\t\treturn geoCoordinate.toString() + \" | \" + name + \" | \" + description;\n\t}",
"public String toString() {\n \n //call vertex names & coordinates helper function\n String firstHalf = vertexNamesAndCoordsToString();\n \n //call edges helper function\n String secondHalf = edgesLeavingVertexToString();\n \n //combine the first and second halves\n String stringMazeTotal = firstHalf + \"\\n\" + secondHalf;\n \n //return the result: the maze in string form\n return stringMazeTotal;\n \n }",
"public String toString() {\n\t\treturn \"<\" + x + \", \" + y + \", \" + z + \">\";\n\t}",
"public String toString() {\n\t\treturn \"(\" + x + \",\" + y + \")\";\n\t}",
"public String toString()\n\t{\n\t\treturn String.format(\"Square at x=%d, y=%d with sides %d\", anchor.x, anchor.y, oneside);\n\t}",
"@Override\n public String toString() {\n String s = \"(\" + this.getY() + \",\" + this.getX() + \")\";\n return s;\n }",
"public String toString()\n\t{\n\t \n\t\tString str = vertexName + \": \" ;\n\t\tfor(int i = 0 ; i < adjacencyList.size(); i++)\n\t\t\tstr = str + adjacencyList.get(i).vertexName + \" \";\n\t\treturn str ;\n\t\t\n\t}",
"public String toString()\n {\n return \"I am the nice \" + NAME + \", I am now standing on square \" + x + \" , \" + y + \".\";\n }",
"public String toString() {\n\t\tString pathString = \"\";\n\t\tfor(Point point : path) {\n\t\t\tpathString = pathString + \"[ \" + point.getX() + \", \" + point.getY() + \" ]\";\n\t\t}\n\t\treturn pathString;\n\t}",
"public String toString(){\n String string = new String();\n for(int i = 0; i < axis.length; i++){\n string += axis[i];\n if(i != (axis.length - 1)){\n string += \" / \";\n }\n }\n return string;\n }",
"public String toString() {\n\t\treturn \"(\" + x + \", \" + y + \")\";\n\t}",
"public String toString()\n\t{\n\t\treturn getArea() + \".\" + getLine() + \".\" + getDevice();\n\t}",
"public String toString() \n\t{\n\t\tString toReturn = \"\";\n\t\t\n\t\t\n\t\tfor(Vertex v : vertices) \n\t\t{\n\t\t\tHashMap<Vertex, Integer> E = getEdges(v);\n\t\t\t\n\t\t\tif(!E.isEmpty())\n\t\t\t{\n\t\t\t\ttoReturn = toReturn + v + \"(\";\n\t\t\t\tfor(Vertex edge : E.keySet()) \n\t\t\t\t{\n\t\t\t\t\ttoReturn = toReturn + edge.getName() + \", \";\n\t\t\t\t}\n\t\t\t\ttoReturn = toReturn.trim().substring(0, toReturn.length() - 2);\n\t\t\t\ttoReturn = toReturn + \")\\n\";\n\t\t\t}\n\t\t\telse {toReturn = toReturn + v + \"[]\\n\";}\n\t\t}\n\t\treturn toReturn;\n\t}",
"public String toString() {\r\n\tStringBuffer gline = new StringBuffer();\r\n\tgline.append(Const.SPACE);\r\n\tgline.append(\"line\");\r\n\tgline.append(Const.SPACE);\r\n\tgline.append(co1.x);\r\n\tgline.append(Const.SPACE);\r\n\tgline.append(co1.y);\r\n\tgline.append(Const.SPACE);\r\n\tgline.append(co2.x);\r\n\tgline.append(Const.SPACE);\r\n\tgline.append(co2.y);\r\n\treturn gline.toString();\r\n }",
"public String toString() {\r\n \treturn new String(\"x: \" + x + \" y: \" + y);\r\n }",
"public String makeString(){\n\t\tString title = getTitle();\n\t\tString xlabel = getXLabel();\n\t\tString ylabel = getYLabel();\n\t\tString GraphableDataInfoString = (\"<\" + title + \",\" + xlabel + \",\" + ylabel + \">\");\n\t\treturn GraphableDataInfoString;\n\t}",
"public String toString() {\n\t\t\n\t\treturn (\"(\" + getX() + \", \" + getY() + \")\");\t\t\t// Returns a string representing the Coordinate object\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\tString rtn=this.x+\".\"+this.y;\r\n\t\treturn rtn;\r\n\t}",
"public String toString() {\n return\n getLatitude(\"\") + \"|\" +\n getLongitude(\"\") + \"|\" +\n getDepth(\"\") + \"|\" +\n getTemperatureMin(\"\") + \"|\" +\n getTemperatureMax(\"\") + \"|\" +\n getSalinityMin(\"\") + \"|\" +\n getSalinityMax(\"\") + \"|\" +\n getOxygenMin(\"\") + \"|\" +\n getOxygenMax(\"\") + \"|\" +\n getNitrateMin(\"\") + \"|\" +\n getNitrateMax(\"\") + \"|\" +\n getPhosphateMin(\"\") + \"|\" +\n getPhosphateMax(\"\") + \"|\" +\n getSilicateMin(\"\") + \"|\" +\n getSilicateMax(\"\") + \"|\" +\n getChlorophyllMin(\"\") + \"|\" +\n getChlorophyllMax(\"\") + \"|\";\n }",
"public String toString() {\n return \"P(\" + x + \", \" + y + \", \" + z + \")\";\n }",
"@Override\n public String toString() {\n if (hasChildren) {\n return \"parent \" + rectangle + \" Points: \" + Arrays.toString(points.toArray());\n } else {\n return \"leaf \" + rectangle + \" Points: \" + Arrays.toString(points.toArray());\n }\n }",
"@Override\r\n public String toString(){\n return x + \", \" + y + \", \" + z ;\r\n }",
"public String toString()\n {\n StringBuilder builder = new StringBuilder();\n builder.append( \"origin=\" );\n builder.append( origin.toString() );\n builder.append( \",color=\" );\n builder.append( \n color == null ? \n \"null\" : \n String.format(\"#%02x%02x%02x\", color.getRed(), color.getGreen(), color.getBlue() ) \n );\n \n return builder.toString();\n }",
"@Override\n public String toString(){\n return x+\"\\n\"+y+\"\\n\"+z;\n }",
"public String toString()\n {\n String contents = \"\";\n double totalArea = 0;\n \n contents = contents + \"\\nThere are \" + shapes.size() + \" shapes in the container.\\n\";\n \n for(int i = 0; i < shapes.size(); i++)\n {\n totalArea = totalArea + shapes.get(i).getArea();\n contents = contents + shapes.get(i).toString();\n }\n contents = contents + \"\\nand total area of shapes is \" + totalArea + \"\\n\";\n return contents;\n }",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();"
] |
[
"0.79010886",
"0.777186",
"0.77599716",
"0.76690036",
"0.7530281",
"0.7468121",
"0.7219927",
"0.7193032",
"0.7170112",
"0.71249986",
"0.7051208",
"0.7043872",
"0.7038314",
"0.7000161",
"0.6984174",
"0.69781756",
"0.688246",
"0.6876519",
"0.6782614",
"0.67725885",
"0.6719703",
"0.67112243",
"0.6670561",
"0.66640264",
"0.66474694",
"0.6619576",
"0.6591387",
"0.6587771",
"0.6572343",
"0.6536909",
"0.6533807",
"0.65330076",
"0.6524438",
"0.6512262",
"0.6503222",
"0.648306",
"0.64709884",
"0.6453777",
"0.64527285",
"0.6407062",
"0.6401589",
"0.64010376",
"0.63998646",
"0.6391584",
"0.63774574",
"0.63756865",
"0.6370804",
"0.6365771",
"0.6365771",
"0.6365771",
"0.63611645",
"0.6360159",
"0.63524574",
"0.6348833",
"0.63453543",
"0.6329385",
"0.631923",
"0.6318013",
"0.6315928",
"0.6310631",
"0.630849",
"0.6305573",
"0.6300718",
"0.62984294",
"0.6297809",
"0.62788975",
"0.6277301",
"0.6275101",
"0.6272987",
"0.6271189",
"0.62590086",
"0.6254599",
"0.625429",
"0.6253649",
"0.62441087",
"0.6243952",
"0.62373704",
"0.62330014",
"0.6222098",
"0.62123007",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761",
"0.6205761"
] |
0.0
|
-1
|
/ Name: equals Purpose: Checks whether two objects equal one another Parameter: Object o Return: boolean
|
@Override
public boolean equals( Object o ) {
if (o!=null && this.getClass() == (o.getClass()) &&
getP1().equals(((Triangle)o).getP1()) &&
getP2().equals(((Triangle)o).getP2()) &&
getP3().equals(((Triangle)o).getP3())){
return true;
}
return false;//if not equal to each other
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public boolean equals(Object o);",
"public boolean equals(Object object);",
"public boolean equals( Object obj );",
"public boolean equals(Object obj);",
"boolean equals(Object o);",
"boolean equals(Object o);",
"boolean equals(Object o);",
"boolean equals(Object o);",
"boolean equals(Object o);",
"public abstract boolean equals(Object o);",
"boolean equals(Object object);",
"boolean equalTo(ObjectPassDemo o) {\n return (o.a == a && o.b == b);\n }",
"public abstract boolean equals(Object other);",
"boolean equals(Object obj);",
"boolean equals(Object obj);",
"public static boolean equals(Object obj1, Object obj2)\n {\n return obj1 == obj2;\n }",
"public boolean equal(Object obj1, Object obj2) {\n\t\treturn obj1.equals(obj2);\r\n\t}",
"boolean canEqual(Object obj);",
"public boolean mojeEquals(Obj o1, Obj o2) {\r\n\t\t//System.out.println(o1.getName() + \" \" + o2.getName());\r\n\t\tboolean sameRight = true; // 21.06.2020. provera prava pristupa\r\n\t\tboolean sameName = true;\t// 22.06.2020. ako nisu metode ne moraju da imaju isto ime\r\n\t\tboolean sameArrayType = true; //22.6.2020 ako je parametar niz mora isti tip niza da bude\r\n\t\t\r\n\t\tif (o1.getKind() == Obj.Meth && o2.getKind() == Obj.Meth) {\r\n\t\t\tsameRight = o1.getFpPos() == o2.getFpPos()+10; \r\n\t\t\tsameName = o1.getName().equals(o2.getName());\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif (o1.getType().getKind() == Struct.Array && o2.getType().getKind() == Struct.Array) {\r\n\t\t\t\tif (!(o1.getType().getElemType() == o2.getType().getElemType())) { // ZA KLASE MOZDA TREBA equals\r\n\t\t\t\t\tsameArrayType = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// 16.08.2020.\r\n//\t\tif (o1.getType().getKind() == Struct.Class || o1.getType().getKind() == Struct.Interface)\r\n//\t\t\treturn true;\r\n\t\t\r\n\t\t\r\n\t\treturn o1.getKind() == o2.getKind() \r\n\t\t\t\t&& sameName\r\n\t\t\t\t&& o1.getType().equals(o2.getType())\r\n\t\t\t\t&& /*adr == other.adr*/ o1.getLevel() == o2.getLevel()\r\n\t\t\t\t&& equalsCompleteHash(o1.getLocalSymbols(), o2.getLocalSymbols())\r\n\t\t\t\t&& sameRight // 21.06.2020. provera prava pristupa\r\n\t\t\t\t&& sameArrayType; //22.6.2020 ako je parametar niz mora isti tip niza da bude\r\n\t}",
"@Override\n public boolean equals(Object o) {\n return this == o;\n }",
"public boolean equals(java.lang.Object other){\n return false; //TODO codavaj!!\n }",
"@Test\r\n\tpublic void testEquality(){\n\t\t assertEquals(object1, object2);\r\n\t}",
"public boolean isEqual(Object objectname1, Object objectname2, Class<?> voClass) {\n\t\treturn false;\n\t}",
"private static final boolean equal(Object a, Object b) {\n if (a == b)\n return true;\n if (a == null)\n return false;\n if (b == null)\n return false;\n return a.equals(b);\n }",
"@Override\n boolean equals(Object o);",
"public boolean equals(Object o){\r\n if (this.compareTo(o)==0)\r\n return true;\r\n else\r\n return false;\r\n }",
"@Override public boolean equals(Object object);",
"public boolean equals(Object o) {\n return false;\n }",
"public boolean equals(Object o) {\n\t\treturn false;\n\t}",
"@Override\n boolean equals(Object other);",
"@Override\n boolean equals(Object obj);",
"@Override\n public abstract boolean equals(Object obj);",
"@Override \n boolean equals(Object obj);",
"@Override\n public abstract boolean equals(final Object o);",
"@Override\n public abstract boolean equals(final Object o);",
"static public boolean areEqual(Object aThis, Object aThat) {\r\n // System.out.println(\"Object\");\r\n return aThis == null ? aThat == null : aThis.equals(aThat);\r\n }",
"@Override\n public boolean equals(Object other) {\n return this == other;\n }",
"@Override\n\tpublic abstract boolean equals(Object other);",
"public static boolean equal(Object a, Object b) {\r\n\t\tif (a == b) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn a != null && b != null && a.equals(b);\r\n\t}",
"@Override\n public abstract boolean equals(Object other);",
"@Override\n public abstract boolean equals(Object other);",
"public boolean equals(Object o)\r\n {\r\n // make sure the object passed is actually an account\r\n if (o instanceof Account)\r\n {\r\n // cast to account - this is safe because we checked for it above\r\n Account acct = (Account) o;\r\n \r\n // compare account IDs\r\n if (_id == acct._id)\r\n return true;\r\n }\r\n\r\n return false;\r\n }",
"@Override public boolean equals(Object o) { // since 1.3.1\n // should these ever match actually?\n return (o == this);\n }",
"@NeededForTesting\n public static boolean areObjectsEqual(Object a, Object b) {\n return a == b || (a != null && a.equals(b));\n }",
"@Test\n\tpublic void testEqualsObject_True() {\n\t\tbook3 = new Book(DEFAULT_TITLE, DEFAULT_AUTHOR, DEFAULT_YEAR, DEFAULT_ISBN);\n\t\tassertEquals(book1, book3);\n\t}",
"@Override\n public boolean equals(Object obj) {\n return this == obj;\n }",
"public static boolean equal(Object o1, Object o2) {\n\t\tif (o1 == null) {\n\t\t\treturn o2 == null;\n\t\t} else {\n\t\t\treturn o1.equals(o2);\n\t\t}\n\t}",
"public boolean isIdentical(Remote obj1, Remote obj2)\n {\n\torg.omg.CORBA.Object corbaObj1 = (org.omg.CORBA.Object)obj1;\n\torg.omg.CORBA.Object corbaObj2 = (org.omg.CORBA.Object)obj2;\n\n\treturn corbaObj1._is_equivalent(corbaObj2);\n }",
"@Test\n void testEquals() {\n final boolean expected_boolean = true;\n\n // Properties for the objects\n final String username = \"username\";\n final String name = \"their_name\";\n final String password = \"password\";\n\n // Create two LoginAccount objects\n LoginAccount first_account = new LoginAccount(username, name, password);\n LoginAccount second_account = new LoginAccount(username, name, password);\n\n // Variable to check\n boolean objects_are_equal = first_account.equals(second_account);\n\n // Assert that the two boolean values are the same\n assertEquals(expected_boolean, objects_are_equal);\n }",
"@Override\n public boolean equals(Object obj) {\n \n //TODO: Complete Method\n \n return true;\n }",
"public void testObjEqual()\n {\n assertEquals( true, Util.objEqual(null,null) );\n assertEquals( false,Util.objEqual(this,null) );\n assertEquals( false,Util.objEqual(null,this) );\n assertEquals( true, Util.objEqual(this,this) );\n assertEquals( true, Util.objEqual(\"12\",\"12\") );\n }",
"public boolean equals(Object o) {\n\t\tif (o instanceof InstagramObject) {\n\t\t\t//if (((InstagramObject) o).checkClass(element.getAttribute(\"class\")) ) {\n\t\t\t\tif (((InstagramObject) o).getElement().equals(element))\n\t\t\t\t\treturn true;\n\t\t//\t}\n\t\t} return false;\n\t}",
"public boolean equals(Object o)\n {\n boolean rtnval = false;\n\n try\n {\n Person person = (Person) o;\n rtnval = ((name.equals(person.name) &&\n (birthdate == person.birthdate) &&\n (gender == person.gender)));\n }\n catch (Exception e)\n {\n }\n\n return rtnval;\n }",
"public final boolean equals(Object obj) {\r\n return this == obj;\r\n }",
"public boolean equals(XObject obj2) {\n/* */ try {\n/* 262 */ if (4 == obj2.getType())\n/* */ {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 268 */ return obj2.equals(this);\n/* */ }\n/* 270 */ if (1 == obj2.getType())\n/* */ {\n/* 272 */ return (bool() == obj2.bool());\n/* */ }\n/* 274 */ if (2 == obj2.getType())\n/* */ {\n/* 276 */ return (num() == obj2.num());\n/* */ }\n/* 278 */ if (4 == obj2.getType())\n/* */ {\n/* 280 */ return xstr().equals(obj2.xstr());\n/* */ }\n/* 282 */ if (3 == obj2.getType())\n/* */ {\n/* 284 */ return xstr().equals(obj2.xstr());\n/* */ }\n/* 286 */ if (5 == obj2.getType())\n/* */ {\n/* */ \n/* */ \n/* 290 */ return xstr().equals(obj2.xstr());\n/* */ }\n/* */ \n/* */ \n/* 294 */ return super.equals(obj2);\n/* */ \n/* */ }\n/* 297 */ catch (TransformerException te) {\n/* */ \n/* 299 */ throw new WrappedRuntimeException(te);\n/* */ } \n/* */ }",
"@Override // com.google.common.base.Equivalence\n public boolean doEquivalent(Object a, Object b) {\n return a.equals(b);\n }",
"public void testEqualsObject()\n {\n // Null check\n assertFalse(b1.equals(null));\n // Type mismatch\n assertFalse(b1.equals(\"a\"));\n\n // Reflexive\n assertTrue(b1.equals(b1));\n\n // In general, two empty boards\n assertTrue(b1.equals(b2));\n\n // Different contents\n b1.setCell(0, 0, Cell.RED1);\n assertFalse(b1.equals(b2));\n\n // Same Contents\n b2.setCell(0, 0, Cell.RED1);\n assertTrue(b1.equals(b2));\n\n // Some more complex cases\n b1.fromString(\"RRRBEEBBE\");\n assertFalse(b1.equals(b2));\n b2.fromString(\"RRRBEEBBE\");\n assertTrue(b1.equals(b2));\n\n }",
"@Test\n\tpublic void test_TCM__boolean_equals_Object() {\n\t\tfinal Attribute attribute = new Attribute(\"test\", \"value\");\n\n assertFalse(\"attribute equal to null\", attribute.equals(null));\n\n final Object object = attribute;\n assertTrue(\"object not equal to attribute\", attribute.equals(object));\n assertTrue(\"attribute not equal to object\", object.equals(attribute));\n\n // current implementation checks only for identity\n// final Attribute clonedAttribute = (Attribute) attribute.clone();\n// assertTrue(\"attribute not equal to its clone\", attribute.equals(clonedAttribute));\n// assertTrue(\"clone not equal to attribute\", clonedAttribute.equals(attribute));\n\t}",
"static public boolean testEquality(Object a, Object b) {\r\n\t\tif (a == null && b == null) // undefined == undefined\r\n\t\t\treturn true;\r\n\t\tif ((a == null || b == null) && (a instanceof JSNull || b instanceof JSNull)) // undefined or null\r\n\t\t\treturn true;\r\n\t\tif ((a == null && b instanceof JSNull) || (a == null && b instanceof JSNull)) // anything == undefined\r\n\t\t\treturn true;\r\n\t\tif (a == null || b == null) // anything equals null\r\n\t\t\treturn false;\r\n\t\treturn a.equals(b);\r\n\t}",
"@Override\n public boolean equals(Object o1) {\n return super.equals(o1);\n }",
"public static boolean equalObjects(Object o1, Object o2) {\n if (o1 == null) {\n return (o2 == null);\n } else if (o2 == null) {\n return false;\n } else {\n return o1.equals(o2);\n }\n }",
"public boolean equals(Object otherObject)\n {\n boolean isEqual = super.equals(otherObject);\n\n if(isEqual)\n {\n if(getClass() == otherObject.getClass())\n {\n isEqual = true;\n }\n else\n {\n isEqual = false;\n }\n }\n\n return isEqual;\n }",
"public boolean equals(Object another) {\n return (this == another);\n }",
"boolean _is_equivalent(org.omg.CORBA.Object other);",
"public boolean equals(Object o)\n {\n return o != null && name.equals(o.toString());\n }",
"public static boolean isSameObject(Object a, Object b) {\n return Builtins.isSameObject(a, b);\n }",
"@Override\n public final boolean equals(final Object other) {\n return super.equals(other);\n }",
"@Override\n public boolean equals(Object o) {\n return (o!=null && o.getClass().equals(this.getClass()));\n }",
"@Override\n public boolean equals(Object o) {\n return (o!=null && o.getClass().equals(this.getClass()));\n }",
"@Override\n public boolean equals(Object o) {\n return (o!=null && o.getClass().equals(this.getClass()));\n }",
"public boolean equals(Object o){\n if (o == null){\n\t return false;\n }\n\telse if (o == this){\n\t return true;\n\t}\n\telse if (o.getClass() != this.getClass()){\n\t return false;\n\t}\n\tHashGraph otherGraph = (HashGraph)o;\n\treturn otherGraph.graph.equals(this.graph);\n\n }",
"public boolean equals(Object other) {\n\n\t\t//Returns false if the object is null or the two objects are from different classes\n\t\tif (other==null||this.getClass()!=other.getClass())\n\t\t\treturn false;\n\n\t\telse {\n\n\t\t\t//Casts the object from class Object to the Airplane class\n\t\t\tAirplane a = (Airplane) other;\n\n\t\t\t//Returns a boolean value indicating if the two objects are equal\n\t\t\treturn (this.brand==a.brand&&this.price==a.price&&this.horsePower==a.horsePower);\n\t\t}\n\t}",
"public static boolean equals(Object object1, Object object2) {\n if (object1 == object2) {\n return true;\n }\n if ((object1 == null) || (object2 == null)) {\n return false;\n }\n return object1.equals(object2);\n }",
"@Override\n\tpublic boolean equals(Object o) {\n\t\treturn super.equals(o);\n\t}",
"@Override\r\n public boolean equals(Object o){\r\n boolean equals=false;\r\n if (o!=null) {\r\n equals=(this.id==((Car)o).id)&&\r\n this.currentPosition.equals(((Car)o).currentPosition)\r\n &&this.orientation==((Car)o).orientation&&this.size==((Car)o).size;\r\n }\r\n return equals;\r\n }",
"@Override\n public boolean equals(Object obj) {\n return this == obj;\n }",
"public boolean equals(Object o) { return compareTo(o) == 0; }",
"public boolean equals(Object o){\r\n if (o instanceof SalesEmployee){\r\n // d stores the parameter object if it is an instance of SalesEmployee \r\n SalesEmployee d = (SalesEmployee) o; \r\n if (this.getNumber() == d.getNumber() && this.getFirstName().equals(d.getFirstName()) && this.getLastName().equals(d.getLastName())){\r\n return true;\r\n }\r\n else \r\n return false;\r\n }\r\n else\r\n return false;\r\n }",
"@Override\n\tpublic boolean equals(Object obj) {\n\t\tif(obj!=null && obj instanceof Test1){\n\t\t\tTest1 obj2 = (Test1)obj;\n\t\t\tif(x==obj2.x && y==obj2.y){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"public boolean equals(Object other) {\n if (other == this) {\n return true;\n }\n if (other == null) {\n return false;\n }\n if (!other.getClass().equals(this.getClass())) {\n return false;\n }\n Person that = (Person) other;\n /*if (!this.name.equals(that.name))\n return false;\n if (this.info != that.info) \n return false;\n */\n return (this.name.equals(that.name) && this.info == that.info);\n }",
"public boolean equals(Object o)\n\t{\n\t\tif(o instanceof Roster)\n\t\t{\n\t\t\tRoster r2 = (Roster) o;\n\t\t\treturn isEqual(r2);\n\t\t}\n\t\telse\n\t\t\treturn false;\n\t}",
"public boolean equals(Object otherObject) {\n\t\tif (otherObject == null) return false;\n\t\tPacket otherPacket = (Packet) otherObject;\n\t\tif (!src.equalsIgnoreCase(otherPacket.src)) return false;\n\t\tif (!dst.equalsIgnoreCase(otherPacket.dst)) return false;\n\t\tif (data_len != otherPacket.data_len) return false;\n\t\tif (type != otherPacket.type) return false;\n\t\tif (group != otherPacket.group) return false;\n\t\tfor (int i=0; i < data_len; i++) {\n\t\t\tif (data[i] != otherPacket.data[i] ) return false;\n\t\t}\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean equals(Object obj) {\n\t\treturn EqualsBuilder.reflectionEquals(this, obj);\n\t}",
"public boolean equals(Object o){\n Game comparedGame = (Game) o;\n\n //Comparing current player names\n if (!comparedGame.getCurrentPlayer().equals(this.getCurrentPlayer())) return false;\n\n //Comparing queued player order\n for (int i = 0; i<this.getPlayersList().size(); i++){\n if (!this.getPlayersList().get(i).equals(comparedGame.getPlayersList().get(i))) return false;\n }\n\n //Comparing all territories\n for(int i = 0; i<this.getGenericWorldMap().getAllTerritories().size(); i++){\n if (!this.getGenericWorldMap().getAllTerritories().get(i).equals(comparedGame.getGenericWorldMap().getAllTerritories().get(i)))return false;\n }\n\n return true;\n }",
"public boolean equals(Object object) {\n/* 4770 */ if (this == object)\n/* */ {\n/* 4772 */ return true;\n/* */ }\n/* 4774 */ if (object != null && object.getClass() == getClass()) {\n/* */ \n/* 4776 */ VolaTile tile = (VolaTile)object;\n/* 4777 */ return (tile.getTileX() == this.tilex && tile.getTileY() == this.tiley && tile.surfaced == this.surfaced);\n/* */ } \n/* 4779 */ return false;\n/* */ }",
"@Override\n public boolean equals(Object other) {\n if (other.getClass() == getClass()) {\n return hashCode() == other.hashCode();\n }\n\n return false;\n }",
"public boolean equals(Object o){\r\n \tif (o != null){\r\n\t \tif (o.getClass().equals(Room.class)) {\r\n\t \t\tRoom room = (Room)o;\r\n\t \t\tif (room.id != null && (room.id.longValue() == id.longValue())) {\r\n\t \t\t\treturn true;\r\n\t \t\t}\r\n\t \t}\r\n \t}\r\n \treturn false;\r\n }",
"final public boolean equals (Object other)\n {\n\treturn compareTo (other) == 0;\n }",
"public boolean equals( Object other){\n \tif( other instanceof Person){\n \t\treturn personId == ((Person)other).getPersonId();\n \t}\n \treturn false;\n }",
"public boolean equals(Object object1) {\n if (object1 != null && object1.getClass() != this.getClass())\n {\n return false;\n }\n else\n {\n Computer c1 = (Computer) object1;\n return (this.brand.equals(c1.brand) && this.model.equals(c1.model) && this.price == c1.price);\n }\n }",
"public boolean realEquals(Object o){\n\t\treturn keywords.equals(o);\n\t}",
"public boolean equals(Object o)\n {\n\n // null-check\n if (o == null)\n {\n return false;\n }\n\n // reflexiveness\n if (o == this)\n {\n return true;\n }\n\n // transitive and symmetric because equals for Strings is such\n if (o instanceof Person)\n {\n return this.name.equals(((Person) o).getName());\n }\n\n return false;\n }",
"@Test\n public void testEquals01() {\n System.out.println(\"equals\");\n Object otherObject = new SocialNetwork();\n SocialNetwork sn = new SocialNetwork();\n boolean result = sn.equals(otherObject);\n assertTrue(result);\n }",
"@Override\r\n \tpublic boolean equals(final Object obj) {\r\n \t\t// Insert code to compare the receiver and obj here.\r\n \t\t// This implementation forwards the message to super. You may replace or supplement this.\r\n \t\t// NOTE: obj might be an instance of any class\r\n \t\treturn super.equals(obj);\r\n \t}",
"public static boolean defaultEquals(DataValue obj1, Object obj2) {\r\n if (obj1 == obj2) return true;\r\n if (obj2 == null) return false;\r\n if (!(obj2 instanceof DataValue)) return false;\r\n DataValue other = (DataValue) obj2;\r\n if (!obj1.getName().equals(other.getName())) return false;\r\n if (obj1.getObject() == null) {\r\n if (other.getObject() != null) return false;\r\n } else if (obj1.getObject().getClass().isArray()) {\r\n if (!other.getObject().getClass().isArray()) return false;\r\n return Arrays.equals((byte[]) obj1.getObject(), (byte[]) other.getObject());\r\n } else {\r\n if (!obj1.getObject().equals(other.getObject())) return false;\r\n }\r\n return true;\r\n }",
"@Override\n public boolean equals(Object o) {\n if (this == o) return true;\n\n //jesli obiekt porownywany jest null\n //albo jesli kasy obiektow sa rozne\n //to nie ten sam obiekt\n if (o == null || getClass() != o.getClass()) return false;\n\n\n Car car = (Car) o;\n\n //jak juz powyzsze przeszlo to porownojemy wszystkie pole ktore chcemy\n //brac jako okreslajace nepowtarzalnosc naszego obiektu\n return maxSpeed == car.maxSpeed && //\n name.equals(car.name) && // zapis jednej lini w wielu\n engine.equals(car.engine); //\n }",
"@Test\n public void testEquals02() {\n System.out.println(\"equals\");\n Object otherObject = new SocialNetwork();\n boolean result = sn10.equals(otherObject);\n assertFalse(result);\n }",
"public boolean equals(Object o)\n\t{\n\t\tif (o==null || this.getClass() != o.getClass())\n\t\t\treturn false;\n\t\tMagazine m = (Magazine) o;\n\t\treturn (this.ifr == m.ifr && this.pq == m.pq && \n\t\t\t\tgetNumOfPages() == m.getNumOfPages() && getPrice() == m.getPrice() && getTitle()==m.getTitle());\n\t}",
"@Override\n public boolean equals(Object o) {\n return true;\n }",
"public boolean equals(XObject obj2){\n if(obj2.getType()==XObject.CLASS_NODESET)\n return obj2.equals(this);\n if(null!=m_obj){\n return m_obj.equals(obj2.m_obj);\n }else{\n return obj2.m_obj==null;\n }\n }",
"@Test\n public void testEquals() {\n System.out.println(\"equals\");\n Receta instance = new Receta();\n instance.setNombre(\"nom1\");\n Receta instance2 = new Receta();\n instance.setNombre(\"nom2\");\n boolean expResult = false;\n boolean result = instance.equals(instance2);\n assertEquals(expResult, result);\n }"
] |
[
"0.8396135",
"0.8290508",
"0.8269481",
"0.82401186",
"0.8178233",
"0.8178233",
"0.8178233",
"0.8178233",
"0.8178233",
"0.81047344",
"0.80913466",
"0.8018209",
"0.7985758",
"0.7964618",
"0.7964618",
"0.78080124",
"0.77144533",
"0.76717645",
"0.76642996",
"0.7651076",
"0.7624054",
"0.7598939",
"0.7595363",
"0.75733286",
"0.7569844",
"0.7534308",
"0.7531284",
"0.7515393",
"0.7514117",
"0.74933803",
"0.74794245",
"0.7443517",
"0.7433136",
"0.7431564",
"0.7431564",
"0.74258405",
"0.74085784",
"0.739161",
"0.73774254",
"0.73664826",
"0.73664826",
"0.73633057",
"0.73630595",
"0.73573256",
"0.73550725",
"0.7350979",
"0.7344339",
"0.7333727",
"0.7322966",
"0.73054516",
"0.7299594",
"0.72942144",
"0.72903186",
"0.72888964",
"0.7286185",
"0.7275079",
"0.7272549",
"0.7271377",
"0.7246125",
"0.72419286",
"0.7238703",
"0.7237516",
"0.7236532",
"0.7226207",
"0.721687",
"0.7213063",
"0.7211376",
"0.72084594",
"0.72084594",
"0.72084594",
"0.7191794",
"0.71846175",
"0.7182527",
"0.7174822",
"0.7166993",
"0.7157659",
"0.71576095",
"0.71540195",
"0.71504074",
"0.71385753",
"0.7128187",
"0.71267515",
"0.7125866",
"0.71208745",
"0.7116207",
"0.7102239",
"0.70818925",
"0.7074648",
"0.7074205",
"0.70729613",
"0.7064899",
"0.7062347",
"0.7055517",
"0.70416",
"0.70404637",
"0.70396453",
"0.70365494",
"0.7035328",
"0.70190746",
"0.6988376",
"0.69844043"
] |
0.0
|
-1
|
/ Name: hashCode Purpose: Computes the hashcode Parameter: None Return: int
|
@Override
public int hashCode() {
return this.toString().hashCode();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"int hashCode();",
"int hashCode();",
"public int hashcode();",
"public int hashCode();",
"public int hashCode();",
"public int hashCode();",
"public int hashCode();",
"public abstract int hashCode();",
"int\thashCode();",
"public int hashCode() {\n if (hashCode != 0){\n return hashCode;\n }\n return hashCode = computeHash();\n }",
"public int hashCode()\n {\n return hash;\n }",
"public int hashCode()\n {\n return (int)(swigCPtr^(swigCPtr>>>32));\n }",
"public int hashCode()\n {\n int hash = 7;\n hash = 83 * hash + (counter != null ? counter.hashCode() : 0);\n return hash;\n }",
"public int hashCode() {\n return hash.hashCode();\n }",
"@Override\n public abstract int hashCode();",
"@Override\n public abstract int hashCode();",
"@Override\n public abstract int hashCode();",
"@Override\n\t public int hashCode();",
"public int hashCode() {\n\t\tint h = 0, i = 0, j = count;\n\t\twhile (j-- != 0) {\n\t\t\twhile (state[i] != OCCUPIED)\n\t\t\t\ti++;\n\t\t\th += longHash2IntHash(key[i]);\n\t\t\ti++;\n\t\t}\n\t\treturn h;\n\t}",
"public int hashCode()\n {\n int i = 0;\n if ( hasHashKey() )\n i ^= getHashKey().hashCode();\n return i;\n }",
"public int hashCode() {\n int hash = UtilConstants.HASH_INITIAL;\n hash = hash * UtilConstants.HASH_PRIME + (userId != null ? userId.hashCode() : 0);\n hash = hash * UtilConstants.HASH_PRIME + (role != null ? role.hashCode() : 0);\n return hash;\n }",
"public int hashCode()\n {\n int code = 0;\n int i;\n int shift = 0;\n \n \t\tint byteLength = getLengthInBytes();\n for( i = 0; i < byteLength; i++)\n {\n code ^= (value[i] & 0xff)<<shift;\n shift += 8;\n if( 32 <= shift)\n shift = 0;\n }\n return code;\n }",
"public int hashCode() {\n int hash = 0;\n hash = width;\n hash <<= 8;\n hash ^= height;\n hash <<= 8;\n hash ^= numBands;\n hash <<= 8;\n hash ^= dataType;\n hash <<= 8;\n for (int i = 0; i < bandOffsets.length; i++) {\n hash ^= bandOffsets[i];\n hash <<= 8;\n }\n for (int i = 0; i < bankIndices.length; i++) {\n hash ^= bankIndices[i];\n hash <<= 8;\n }\n hash ^= numBands;\n hash <<= 8;\n hash ^= numBanks;\n hash <<= 8;\n hash ^= scanlineStride;\n hash <<= 8;\n hash ^= pixelStride;\n return hash;\n }",
"public int hashCode() {\n\t\tint hash = 0;\n\t\tif (isGameOver()) {\n\t\t\treturn (1 + (winner() == Game.FIRST_PLAYER ? 1 : 2));\n\t\t}\n\t\thash = 4;\n\t\tfor (int i = 1; i < NUMBER_OF_MOVES; i++) {\n\t\t\thash *= 3;\n\t\t\tif (contains(moves1, i)) {\n\t\t\t\thash++;\n\t\t\t} else if (contains(moves2, i)) {\n\t\t\t\thash += 2;\n\t\t\t}\n\t\t}\n\t\treturn hash;\n\t}",
"int getHash();",
"public int hashCode()\n {\n int i = 0;\n if ( hasCode() )\n i ^= getCode().hashCode();\n return i;\n }",
"public int hashCode()\r\n/* */ {\r\n/* 89 */ int hash = 3;\r\n/* 90 */ hash = 19 * hash + Objects.hashCode(this.id);\r\n/* 91 */ return hash;\r\n/* */ }",
"public int hashCode() {\n return 37 * 17;\n }",
"public int hashCode() {\n int hash = 104473;\n if (token_ != null) {\n // Obtain unencrypted form as common base for comparison\n byte[] tkn = getToken();\n for (int i=0; i<tkn.length; i++)\n hash ^= (int)tkn[i];\n }\n hash ^= (type_ ^ 14401);\n hash ^= (timeoutInterval_ ^ 21327);\n hash ^= (isPrivate() ? 15501 : 12003);\n if (getPrincipal() != null)\n hash ^= getPrincipal().hashCode();\n if (getSystem() != null)\n hash ^= getSystem().getSystemName().hashCode();\n return hash;\n }",
"public int hashCode() {\n final int HASH_MULTIPLIER = 29;\n int h = HASH_MULTIPLIER * FName.hashCode() + LName.hashCode();\n h = HASH_MULTIPLIER * h + ((Integer)ID).hashCode();\n return h;\n }",
"public int hashCode(){\n \n long code;\n\n // Values in linear combination with two\n // prime numbers.\n\n code = ((21599*(long)value)+(20507*(long)n.value));\n code = code%(long)prime;\n return (int)code;\n }",
"public int hashCode() {\n long hash = UtilConstants.HASH_INITIAL;\n hash = hash * UtilConstants.HASH_PRIME + objectHashCode(getProjectName());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCodeFK(getDataProvider());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCodeFK(getPrimaryInvestigator());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCodeFK(getCreatedBy());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCode(getCreatedTime());\n return (int)(hash % Integer.MAX_VALUE);\n }",
"public int hashCode() {\r\n int result = 17;\r\n result = xCH(result, getTableDbName());\r\n result = xCH(result, getMemberAddressId());\r\n return result;\r\n }",
"public int hashCode() {\n\t\t// simple recipe for generating hashCode given by\n\t\t// Effective Java (Addison-Wesley, 2001)\n\t\tint result = 17;\n\t\tresult = 37 * result + methodName.hashCode();\n\t\treturn result;\n\t}",
"@Override\n public int hashCode();",
"public int hashCode() {\n\t\tlong code = 0;\n\t\tint elements = _rowCount * _columnCount;\n\n\t\tfor (int i = 0; i < elements; i++) {\n\t\t\tcode += _value[i];\n\t\t}\n\n\t\treturn (int) code;\n\t}",
"int computeHashCode(byte val);",
"public int hashCode() {\n int hash = UtilConstants.HASH_INITIAL;\n hash = hash * UtilConstants.HASH_PRIME + (userId != null ? userId.hashCode() : 0);\n hash = hash * UtilConstants.HASH_PRIME + (projectId != null ? projectId.hashCode() : 0);\n return hash;\n }",
"public int hashCode() {\n // For speed, this hash code relies only on the hash codes of its select\n // and criteria clauses, not on the from, order by, or option clauses\n int myHash = 0;\n myHash = HashCodeUtil.hashCode(myHash, this.operation);\n myHash = HashCodeUtil.hashCode(myHash, getProjectedQuery());\n return myHash;\n }",
"@Override\n\tpublic int hashCode() {\n\t\t\n\t\treturn (int)id * name.hashCode() * email.hashCode();\n\t\t//int hash = new HashCodeBuilder(17,37).append(id).append(name); //can be added from Apache Commons Lang's HashCodeBuilder class\n\t}",
"@Override\n int hashCode();",
"public int hashCode() {\nCodeCoverCoverageCounter$1ib8k6g9t1mz1yofrpsdr7xlpbrhwxq3l.statements[28]++;\r\n long start = getStartMillis();\nCodeCoverCoverageCounter$1ib8k6g9t1mz1yofrpsdr7xlpbrhwxq3l.statements[29]++;\r\n long end = getEndMillis();\nCodeCoverCoverageCounter$1ib8k6g9t1mz1yofrpsdr7xlpbrhwxq3l.statements[30]++;\r\n int result = 97;\r\n result = 31 * result + ((int) (start ^ (start >>> 32)));\nCodeCoverCoverageCounter$1ib8k6g9t1mz1yofrpsdr7xlpbrhwxq3l.statements[31]++;\r\n result = 31 * result + ((int) (end ^ (end >>> 32)));\nCodeCoverCoverageCounter$1ib8k6g9t1mz1yofrpsdr7xlpbrhwxq3l.statements[32]++;\r\n result = 31 * result + getChronology().hashCode();\nCodeCoverCoverageCounter$1ib8k6g9t1mz1yofrpsdr7xlpbrhwxq3l.statements[33]++;\r\n return result;\r\n }",
"@Override\n public int hashCode()\n {\n if ( h == 0 )\n {\n rehash();\n }\n\n return h;\n }",
"public int hashCode()\r\n/* 124: */ {\r\n/* 125:126 */ return this.id;\r\n/* 126: */ }",
"@Override\n public int hashCode() {\n int hash = 7;\n hash = 29 * hash + Objects.hashCode(this.id);\n hash = 29 * hash + Objects.hashCode(this.name);\n return hash;\n }",
"public int hashCode() {\n if (hash == -1) {\n hash = 0;\n byte b[] = packet.getData();\n int len = b.length;\n for (int ix = 0; ix < len; ix++) {\n\thash = 31 * hash + b[ix];\n }\n hash ^= (packet.getAddress().hashCode() ^\n\t (packet.getPort() << 15) ^\n\t (packet.getLength() << 3) ^\n\t (packet.getOffset() << 8));\n }\n return hash;\n }",
"public int hashCode() {\n return Objects.hashCode(this);\n }",
"@Override\n public int hashCode() {\n return hashcode;\n }",
"public int hashCode()\n {\n int hash = this.getClass().hashCode();\n\n hash = ( hash << 1 | hash >>> 31 ) ^ Arrays.hashCode(genome);\n\n return hash;\n }",
"public int hashCode()\n { \n \tint result = 17;\n \t\n \tresult = 37 * result + score; \t\n \t\n \treturn result;\n }",
"@Override\r\n\tpublic int hashCode()\r\n\t{\r\n\t\tint hash = 1;\r\n\r\n\t\tif (containingExpression != null)\r\n\t\t{\r\n\t\t\thash = hash & Constants.HASH_PRIME + containingExpression.hashCode();\r\n\t\t}\r\n\r\n\t\tif (conditions != null)\r\n\t\t{\r\n\t\t\thash = hash * Constants.HASH_PRIME + new HashSet<ICondition>(conditions).hashCode();\r\n\t\t}\r\n\r\n\t\treturn hash;\r\n\t}",
"public int hashCode() {\n\t\treturn hash(objects); //return the hash code of the objects\n\t}",
"public int hashCode(){\n int hash = HashCodeUtil.SEED;\n\n hash = HashCodeUtil.hash(hash,getEventTimeMillis());\n hash = HashCodeUtil.hash(hash,getEventId());\n hash = HashCodeUtil.hash(hash,getAuthenticationType());\n hash = HashCodeUtil.hash(hash,getServiceHost());\n hash = HashCodeUtil.hash(hash,getRequesterIp());\n hash = HashCodeUtil.hash(hash,getSessionId());\n hash = HashCodeUtil.hash(hash,getResourceHost());\n hash = HashCodeUtil.hash(hash,getPrincipalName());\n hash = HashCodeUtil.hash(hash,getEventType());\n hash = HashCodeUtil.hash(hash,getServiceId());\n hash = HashCodeUtil.hash(hash,getResourceId());\n\n\n return hash;\n\n }",
"public int hashCode()\n\t{\n\t\treturn y<<16+x;\n\t}",
"public int hashCode() {\n return lho.hashCode() + op.hashCode() + rho.hashCode();\n }",
"public int getHashCode(){\n return hashCode();\n }",
"@Override\n public int hashCode() {\n int hash = 3;\n hash = 97 * hash + this.x;\n hash = 97 * hash + this.y;\n return hash;\n }",
"public int hashCode() {\n\t\treturn BeanTools.createHashcode(id, consultContent, consultTime);\r\n\t}",
"@Override\r\n\tpublic int hashCode() {\n\t\tint result = 17;\r\n\t\tresult = 37*result+(int) (id ^ (id>>>32));\r\n\t\t//result = 37*result+(name==null?0:name.hashCode());\r\n\t\t//result = 37*result+displayOrder;\r\n\t\t//result = 37*result+(this.url==null?0:url.hashCode());\r\n\t\treturn result;\r\n\t}",
"@Override\r\n\tpublic int hashCode()\r\n\t{\r\n\t\tint hash = 1;\r\n\t\thash = hash * Constants.HASH_PRIME + entityInterface.hashCode();\r\n\t\treturn hash;\r\n\t}",
"@Override \n int hashCode();",
"public int hashCode() {\n int h = 0;\n for (int j = realSize(), i = 0, t = 0; j-- != 0; ) {\n while (((key[i]) == ((char) 0)))\n i++;\n t = (key[i]);\n t ^= (value[i]);\n h += t;\n i++;\n }\n // Zero / null keys have hash zero.\n if (containsNullKey) h += (value[n]);\n return h;\n }",
"public int hashCode() {\n assert false : \"hashCode not designed\";\n return 42;\n }",
"public int hashCode() {\n\t\treturn hashString.hashCode();\n\t}",
"public int hashCode() {\n\t\treturn new HashCodeBuilder().append(obox).append(wordOffsets).append(occlusions).toHashCode();\n\t}",
"@Override\n public int hashCode() {\n return Objects.hash(myInt, myLong, myString, myBool, myOtherInt);\n }",
"@Override\n public int hashCode() {\n // name's hashCode is multiplied by an arbitrary prime number (13)\n // in order to make sure there is a difference in the hashCode between\n // these two parameters:\n // name: a value: aa\n // name: aa value: a\n return key.hashCode() * 13 + (value == null ? 0 : value.hashCode());\n }",
"public int hashCode() {\n\t\treturn 0;\n\t}",
"public int hashCode()\r\n\t{\n\t\treturn (i % 9); //this will make the values to store in the table based on size of hashtable is 9 and calculation will be (i %9)\r\n\t}",
"public int hashCode() {\n int result = 1;\n Object $pageSize = this.getPageSize();\n result = result * 59 + ($pageSize == null ? 43 : $pageSize.hashCode());\n Object $pageNo = this.getPageNo();\n result = result * 59 + ($pageNo == null ? 43 : $pageNo.hashCode());\n Object $sort = this.getSort();\n result = result * 59 + ($sort == null ? 43 : $sort.hashCode());\n Object $orderByField = this.getOrderByField();\n result = result * 59 + ($orderByField == null ? 43 : $orderByField.hashCode());\n return result;\n }",
"public int hashCode() {\n return (name.ordinal() + 5) * 51;\n }",
"public int hashCode() {\n\t\treturn toString().hashCode();\n\t}",
"public int hashCode() {\n if (myhash == -1) {\n myhash = timestamp.hashCode() + signerCertPath.hashCode();\n }\n return myhash;\n }",
"public synchronized int hashCode() {\n\t\treturn super.hashCode();\n\t}",
"@Override\n public int hashCode() {\n int hash = 7;\n hash = 29 * hash + Objects.hashCode(this.firstName);\n hash = 29 * hash + Objects.hashCode(this.lastName);\n hash = 29 * hash + this.studentNumber;\n return hash;\n }",
"public int hashCode() {\n long hash = UtilConstants.HASH_INITIAL;\n hash = hash * UtilConstants.HASH_PRIME + objectHashCodeFK(getProject());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCodeFK(getUser());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCode(getStatus());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCode(getLastActivityDate());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCode(getHasPiSeen());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCode(getHasDpSeen());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCode(getHasAdminSeen());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCode(getHasRequestorSeen());\n hash = hash * UtilConstants.HASH_PRIME + objectHashCode(getEmailStatus());\n return (int)(hash % Integer.MAX_VALUE);\n }",
"@Override\n public int hashCode() {\n int hash = 7;\n hash = 71 * hash + this.id;\n hash = 71 * hash + Objects.hashCode(this.name);\n hash = 71 * hash + Objects.hashCode(this.cash);\n hash = 71 * hash + Objects.hashCode(this.skills);\n hash = 71 * hash + Objects.hashCode(this.potions);\n return hash;\n }",
"public int hashCode() {\n return 0;\n }",
"public int hashCode() {\n int result = 17;\n\n if (_address != null) {\n result = 37 * result + _address.hashCode();\n }\n\n return result;\n }",
"@Override\r\n public int hashCode()\r\n {\r\n if(this.isEmpty()) return 0;\r\n\r\n /**\r\n * En este caso es recomendable usar la funcion Arrays.hashCode porque\r\n * garantiza un hash unico para cada array.\r\n * Si se usa la suma, los objetos \"ab\" y \"ba\" tendrian el mismo hash.\r\n */\r\n return Arrays.hashCode(this.table);\r\n }",
"public int hashCode() {\n int result = 6;\n result = 31 * result * name.hashCode();\n return result;\n }",
"@Override\r\n public int hashCode() {\n int key=(Integer)(this.capsule.get(0)); // Get the key\r\n Integer bkey=Integer.parseInt(Integer.toBinaryString(key)); // Convert into binary \r\n int n=setcount(bkey); //counts the number of 1's in the binary\r\n key=key*n + Objects.hashCode(this.capsule.get(0)); //multiplies that with the hashcode of the pId\r\n return key;\r\n }",
"@Override\n public int hashCode() {\n \n final int code = 24;\n int result = 1;\n result = code * result + ((id == null) ? 0 : id.hashCode());\n return result;\n }",
"@Override\n public int hashCode() {\n int hash = size;\n for (byte key : keys) {\n // 0 can be a valid key or unused slot, but won't impact the hashcode in either case.\n // This way we can use a cheap loop without conditionals, or hard-to-unroll operations,\n // or the devastatingly bad memory locality of visiting value objects.\n // Also, it's important to use a hash function that does not depend on the ordering\n // of terms, only their values; since the map is an unordered collection and\n // entries can end up in different positions in different maps that have the same\n // elements, but with different history of puts/removes, due to conflicts.\n hash ^= hashCode(key);\n }\n return hash;\n }",
"@Override\n\tpublic int hashCode() {\n\t\tfinal int prime = 31;\n\t\tint result = 1; \n\t\t\n\t\t/*\n\t\t * result = 31*1 + 0(if rank is null) else rank.hashcode which calls the String implementation of the hashcode method.\n\t\t * So for example we will say: 31*1+20=51\n\t\t */\n\t\tresult = prime * result + ((rank == null) ? 0 : rank.hashCode());\n\t\tresult = prime * result + ((suit == null) ? 0 : suit.hashCode());\n\t\treturn result;\n\t}",
"public int hashCode()\n {\n int i = 0;\n if ( hasId() )\n i ^= getId().hashCode();\n return i;\n }",
"public int hashCode()\n {\n int i = 0;\n if ( hasId() )\n i ^= getId().hashCode();\n return i;\n }",
"public int hashCode()\n {\n int i = 0;\n if ( hasId() )\n i ^= getId().hashCode();\n return i;\n }",
"public int hashCode()\n {\n int i = 0;\n if ( hasId() )\n i ^= getId().hashCode();\n return i;\n }",
"public int hashCode()\n {\n int i = 0;\n if ( hasId() )\n i ^= getId().hashCode();\n return i;\n }",
"public abstract int getHash();",
"public int hashCode() {\n return (7 + this.key.hashCode() + this.value.hashCode() / 5) \n + this.left.hashCode()\n + this.right.hashCode();\n }",
"public int hashCode() {\n\t\treturn 14356 + historyIndex * 373 + dimension; \n\t\t// return some arbitrary number related to historyIndex and dimension\n\t}",
"public int hashCode() {\n/* 254 */ if (this.hashCode == 0) {\n/* 255 */ int i = 17;\n/* 256 */ i = 37 * i + this.methodName.hashCode();\n/* 257 */ if (this.argClasses != null) {\n/* 258 */ for (byte b = 0; b < this.argClasses.length; b++)\n/* */ {\n/* 260 */ i = 37 * i + ((this.argClasses[b] == null) ? 0 : this.argClasses[b].hashCode());\n/* */ }\n/* */ }\n/* 263 */ this.hashCode = i;\n/* */ } \n/* 265 */ return this.hashCode;\n/* */ }",
"public int hashCode()\n {\n int result = 17;\n result = 37 * result + this.m_exceptionFrequency;\n result = 37 * result + this.exception_program_number;\n return result;\n }",
"public int hashCode() {\n\treturn data.hashCode();\n }",
"public int hash(T input);",
"public int hashCode()\r\n {\r\n int hashcode = this.operations[0].hashCode();\r\n for (int i = 1; i < operations.length; i++)\r\n {\r\n hashcode ^= operations[i].hashCode();\r\n }\r\n return hashcode;\r\n }",
"@Override\n public int hashCode() {\n Object object = this.h;\n synchronized (object) {\n return this.a().hashCode();\n }\n }",
"public int hashCode(){\n int hashcode = name == null ? 0 : name.hashCode() / 2;\n return hashcode += ( value == null ? 0 : value.hashCode()/2 );\n }",
"public int hashCode() {\n int result = 17;\n result = 37 * result + column;\n result = 37 * result + sortOrder.hashCode();\n return result;\n }"
] |
[
"0.8710819",
"0.8710819",
"0.8651185",
"0.8644573",
"0.8644573",
"0.8644573",
"0.8644573",
"0.8379583",
"0.8287664",
"0.8223883",
"0.8111538",
"0.80071473",
"0.7936796",
"0.7926537",
"0.7914131",
"0.7914131",
"0.7914131",
"0.78939384",
"0.7867987",
"0.78482306",
"0.7835941",
"0.78040296",
"0.77991676",
"0.7774768",
"0.77601683",
"0.7752306",
"0.7748378",
"0.7732337",
"0.772339",
"0.77213645",
"0.77173704",
"0.7716485",
"0.7714183",
"0.77110404",
"0.76981795",
"0.7690791",
"0.7657969",
"0.76530933",
"0.7648975",
"0.7646615",
"0.762958",
"0.7624986",
"0.7624945",
"0.76217985",
"0.7600943",
"0.7596305",
"0.7595431",
"0.75803804",
"0.7577149",
"0.75751257",
"0.75651777",
"0.7561593",
"0.7557722",
"0.7556552",
"0.7550703",
"0.7548387",
"0.7536929",
"0.75313246",
"0.75282943",
"0.75213027",
"0.7516549",
"0.75134414",
"0.75090617",
"0.7501123",
"0.7499045",
"0.74935585",
"0.7478952",
"0.7469247",
"0.74658245",
"0.74602735",
"0.7454917",
"0.7443093",
"0.7439416",
"0.74388236",
"0.7433444",
"0.74320066",
"0.7427244",
"0.74194217",
"0.7416536",
"0.7402507",
"0.7385623",
"0.738166",
"0.7380733",
"0.73789126",
"0.73696434",
"0.7355722",
"0.7355722",
"0.7355722",
"0.7355722",
"0.7355722",
"0.7354435",
"0.7353691",
"0.73416024",
"0.7335863",
"0.7335149",
"0.73322845",
"0.7326597",
"0.732589",
"0.732292",
"0.7321827",
"0.73193884"
] |
0.0
|
-1
|
/Name: draw Purpose: Draws the Triangle Parameter: DrawingCanvas canvas, Color c, boolean fill Return: void
|
public void draw( DrawingCanvas canvas, Color c, boolean fill ) {
myTriLine1= new Line((double)getP1().getX(), (double)getP1().getY(),
(double)getP2().getX(),(double)getP2().getY(), canvas);
myTriLine2= new Line((double)getP2().getX(), (double)getP2().getY(),
(double)getP3().getX(),(double)getP3().getY(), canvas);
myTriLine3= new Line((double)getP3().getX(), (double)getP3().getY(),
(double)getP1().getX(),(double)getP1().getY(), canvas);
//filled
if (fill){
if (c==null){
myTriLine1.setColor(Color.black);
myTriLine2.setColor(Color.black);
myTriLine3.setColor(Color.black);
}
else{
myTriLine1.setColor(c);
myTriLine2.setColor(c);
myTriLine3.setColor(c);
}
}
//empty
else{
if (c==null){
myTriLine1.setColor(Color.black);
myTriLine2.setColor(Color.black);
myTriLine3.setColor(Color.black);
}
else{
myTriLine1.setColor(c);
myTriLine2.setColor(c);
myTriLine3.setColor(c);
}
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void draw(DrawingCanvas canvas, Color c, boolean fill) {\n\t// TODO\n\tif(canvas == null)\n\t\treturn;\n\t// If c is null, use Color.BLACK\n\tif(c == null)\n\t c = Color.BLACK;\n\tif(fill == true){\n\t // Create filledrect to draw the triangle if fill is true\n\t FilledRect mySquare = new FilledRect(\n\t\t this.getUpperLeft().getX(), \n\t\t this.getUpperLeft().getY(), \n\t\t this.getSide(), \n\t\t this.getSide(), canvas);\n\t mySquare.setColor(c);\n\t}\n\telse{\n\t FramedRect mySqr = new FramedRect\n\t\t(this.getUpperLeft().getX(), \n\t\t this.getUpperLeft().getY(), \n\t\t this.getSide(), \n\t\t this.getSide(), canvas);\n\t mySqr.setColor(c);\n\t}\n }",
"void drawShape() {\n System.out.println(\"Drawing Triangle\");\n this.color.addColor();\n }",
"@Override\r\n\tpublic void draw() {\n\t\tSystem.out.println(\"Triangle was drawing.\");\r\n\t\tSystem.out.println(\"new line\");\r\n\t\tSystem.out.println(\"second line \");\r\n\t\t//add comments\r\n\t\t// add more comments \r\n\t}",
"public abstract void draw(Canvas canvas, int x, int y, int width, int height, Paint paint);",
"@Override\r\n public final void draw(final Triangle t, final BufferedImage paper) {\n String red;\r\n String green;\r\n String blue;\r\n if (Integer.toHexString(t.getBorderColor().getRed()).length() == 1) {\r\n red = \"0\" + Integer.toHexString(t.getBorderColor().getRed());\r\n } else {\r\n red = Integer.toHexString(t.getBorderColor().getRed());\r\n }\r\n if (Integer.toHexString(t.getBorderColor().getGreen()).length() == 1) {\r\n green = \"0\" + Integer.toHexString(t.getBorderColor().getGreen());\r\n } else {\r\n green = Integer.toHexString(t.getBorderColor().getGreen());\r\n }\r\n if (Integer.toHexString(t.getBorderColor().getBlue()).length() == 1) {\r\n blue = \"0\" + Integer.toHexString(t.getBorderColor().getBlue());\r\n } else {\r\n blue = Integer.toHexString(t.getBorderColor().getBlue());\r\n }\r\n String color = \"#\" + red + green + blue;\r\n draw(new Line((String.valueOf(t.getX1())), String.valueOf(t.getY1()),\r\n String.valueOf(t.getX2()), String.valueOf(t.getY2()), color,\r\n String.valueOf(t.getBorderColor().getAlpha()), paper), paper);\r\n\r\n draw(new Line((String.valueOf(t.getX2())), String.valueOf(t.getY2()),\r\n String.valueOf(t.getX3()), String.valueOf(t.getY3()), color,\r\n String.valueOf(t.getBorderColor().getAlpha()), paper), paper);\r\n\r\n draw(new Line((String.valueOf(t.getX3())), String.valueOf(t.getY3()),\r\n String.valueOf(t.getX1()), String.valueOf(t.getY1()), color,\r\n String.valueOf(t.getBorderColor().getAlpha()), paper), paper);\r\n final int trei = 3;\r\n int xc = (t.getX1() + t.getX2() + t.getX3()) / trei;\r\n int yc = (t.getY1() + t.getY2() + t.getY3()) / trei;\r\n floodFill(xc, yc, t.getFillColor(), t.getBorderColor(), paper);\r\n\r\n }",
"@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"绘制三角形\");\t\n\t}",
"public void draw(){\n\t\tSystem.out.println(\"You are drawing a CIRCLE\");\n\t}",
"private void drawTriangle(GL2 gl2, int x1, int y1, int x2, int y2, int x3, int y3, int r, int g, int b)\n {\n gl2.glBegin(GL2.GL_TRIANGLES);\n gl2.glColor3f(r, g, b);\n gl2.glVertex2f(x1, y1);\n gl2.glVertex2f(x2, y2);\n gl2.glVertex2f(x3, y3);\n gl2.glEnd();\n }",
"protected void onDraw(Canvas canv) {\n\t\t\n\t\tPath p = new Path();\n\t\tPaint canvPaint = new Paint();\n\t\tfloat textX1 = 0, textY1 = 0, textX2 = 0, textY2 = 0, textX3 = 0, textY3 = 0;\n\n\t\t// Draw triangle in canvas according to position \n\t\t// (all three buttons of the menu will be on the same RelativeLayout)\n\t\t\n\t\tint k = 150;\n\t\t\n\t\tpx[0] = 0;\n\t\tpx[1] = canv.getWidth()/4;\n\t\tpx[2] = canv.getWidth()/2;\n\t\tpx[3] = (float) ((0.75)*canv.getWidth());\n\t\tpx[4] = canv.getWidth();\n\t\t\n\t\tpy[0] = canv.getHeight()/4 - k;\n\t\tpy[1] = canv.getHeight()/2 - k/2;\n\t\tpy[2] = (float) ((0.75)*canv.getHeight());\n\t\t\n\t\tif (sideSelection == 1) {\n\t\t\n\t\t\tp.moveTo(px[2], py[2]);\n\t\t\tp.lineTo(px[2] + 2*(px[4]-px[2]), py[2]);\n\t\t\tp.lineTo(px[4], py[2] + py[2]-py[0]);\n\t\t\tp.lineTo(px[2], py[2]);\n\t\t\n\t\t} else if (sideSelection == 2) {\n\t\t\t\n\t\t\tp.moveTo(px[2], py[2]);\n\t\t\tp.lineTo(-px[2], py[2]);\n\t\t\tp.lineTo(px[0], py[2] + py[2]-py[0]);\n\t\t\tp.lineTo(px[2], py[2]);\n\t\t\t\n\t\t} else if (sideSelection == 3) {\n\t\t\t\n\t\t\tp.moveTo(px[0], py[0]);\n\t\t\tp.lineTo(-px[2], -py[2]);\n\t\t\tp.lineTo(px[2], -py[2]);\n\t\t\tp.lineTo(px[0], py[0]);\n\t\t\t\n\t\t\tp.moveTo(px[4], py[0]);\n\t\t\tp.lineTo(px[2], -py[2]);\n\t\t\tp.lineTo(px[4]+px[2], -py[2]);\n\t\t\tp.lineTo(px[4], py[0]);\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\tif (selection == 1) {\n\t\t\t\n\t\t\tp.moveTo(px[0], py[0]);\n\t\t\tp.lineTo(px[1], py[0]);\n\t\t\tp.lineTo((px[0]+px[1])/2, (py[0]+py[1])/2);\n\t\t\tp.lineTo(px[0], py[0]);\n\t\t\t\n\t\t\tp.moveTo(px[1], py[0]);\n\t\t\tp.lineTo(px[2], py[0]);\n\t\t\tp.lineTo((px[1]+px[2])/2, (py[0]+py[1])/2);\n\t\t\tp.lineTo(px[1], py[0]);\n\t\t\t\n\t\t\tp.moveTo((px[0]+px[1])/2, (py[0]+py[1])/2);\n\t\t\tp.lineTo((px[1]+px[2])/2, (py[0]+py[1])/2);\n\t\t\tp.lineTo(px[1], py[1]);\n\t\t\t\n\t\t} else {\n\t\t\tp.moveTo(px[0], py[0]);\n\t\t\tp.lineTo(px[2], py[0]);\n\t\t\tp.lineTo(px[1], py[1]);\n\t\t\tp.lineTo(px[0], py[0]);\n\t\t\ttextX1 = canv.getWidth()/4;\n\t\t\ttextY1 = (float) ((0.3)*(py[1]-py[0]) + py[0]);\n\t\t}\n\t\t\n\t\tcanvPaint.setColor(0xFF421C52);\n\t\tcanv.drawPath(p, canvPaint);\n\t\t\n\t\tif (selection == 2) {\n\t\t\t\n\t\t\tp.moveTo(px[2], py[0]);\n\t\t\tp.lineTo(px[3], py[0]);\n\t\t\tp.lineTo((px[2]+px[3])/2, (py[0]+py[1])/2);\n\t\t\tp.lineTo(px[2], py[0]);\n\t\t\t\n\t\t\tp.moveTo(px[3], py[0]);\n\t\t\tp.lineTo(px[4], py[0]);\n\t\t\tp.lineTo((px[3]+px[4])/2, (py[0]+py[1])/2);\n\t\t\tp.lineTo(px[3], py[0]);\n\t\t\t\n\t\t\tp.moveTo((px[2]+px[3])/2, (py[0]+py[1])/2);\n\t\t\tp.lineTo((px[3]+px[4])/2, (py[0]+py[1])/2);\n\t\t\tp.lineTo(px[3], py[1]);\n\t\t\t\n\t\t} else {\n\t\t\tp.moveTo(px[2], py[0]);\n\t\t\tp.lineTo(px[4], py[0]);\n\t\t\tp.lineTo(px[3], py[1]);\n\t\t\tp.lineTo(px[2], py[0]);\n\t\t\ttextX2 = (float) ((0.75)*canv.getWidth());\n\t\t\ttextY2 = (float) ((0.3)*(py[1]-py[0]) + py[0]);\n\t\t}\n\t\t\n\t\tcanvPaint.setColor(0xFF421C52);\n\t\tcanv.drawPath(p, canvPaint);\n\t\t\n\t\tif (selection == 3) {\n\t\t\t\n\t\t\tp.moveTo(px[1], py[1]);\n\t\t\tp.lineTo(px[2], py[1]);\n\t\t\tp.lineTo((px[1]+px[2])/2, (py[1]+py[2])/2);\n\t\t\tp.lineTo(px[1], py[1]);\n\t\t\t\n\t\t\tp.moveTo(px[2], py[1]);\n\t\t\tp.lineTo(px[3], py[1]);\n\t\t\tp.lineTo((px[2]+px[3])/2, (py[1]+py[2])/2);\n\t\t\tp.lineTo(px[2], py[1]);\n\t\t\t\n\t\t\tp.moveTo((px[1]+px[2])/2, (py[1]+py[2])/2);\n\t\t\tp.lineTo((px[2]+px[3])/2, (py[1]+py[2])/2);\n\t\t\tp.lineTo(px[2], py[2]);\n\t\t\tp.lineTo((px[1]+px[2])/2, (py[1]+py[2])/2);\n\t\t\t\n\t\t} else {\n\t\t\tp.moveTo(px[1], py[1]);\n\t\t\tp.lineTo(px[3], py[1]);\n\t\t\tp.lineTo(px[2], py[2]);\n\t\t\tp.lineTo(px[1], py[1]);\n\t\t\ttextX3 = canv.getWidth()/2;\n\t\t\ttextY3 = (float) ((0.3)*(py[2]-py[1]) + py[1]);\n\t\t}\n\n\t\tcanvPaint.setColor(0xFF421C52);\n\t\tcanv.drawPath(p, canvPaint);\n\t\t\n\t\tcanvPaint.setColor(Color.WHITE);\n\t\tcanvPaint.setTextSize(30);\n\t\tcanvPaint.setTextAlign(Paint.Align.CENTER);\n\t\t\n\t\tif (selection == 1) {\n\t\t\tcanv.drawText(b2, textX2, textY2, canvPaint);\n\t\t\tcanv.drawText(b3, textX3, textY3, canvPaint);\n\t\t} else if (selection == 2) {\n\t\t\tcanv.drawText(b1, textX1, textY1, canvPaint);\t\t\t\n\t\t\tcanv.drawText(b3, textX3, textY3, canvPaint);\n\t\t} else if (selection == 3) {\n\t\t\tcanv.drawText(b1, textX1, textY1, canvPaint);\n\t\t\tcanv.drawText(b2, textX2, textY2, canvPaint);\n\t\t} else {\n\t\t\tcanv.drawText(b1, textX1, textY1, canvPaint);\n\t\t\tcanv.drawText(b2, textX2, textY2, canvPaint);\n\t\t\tcanv.drawText(b3, textX3, textY3, canvPaint);\n\t\t}\n\n\t}",
"public void draw(Canvas canvas);",
"public void draw(Canvas canvas);",
"private void _drawTriangle(Graphics2D g, Triangle t, TriangleMesh tMesh) {\r\n // Get triangle data\r\n Vector3f a = tMesh.getVertex(t.getA()).getPosition();\r\n Vector3f b = tMesh.getVertex(t.getB()).getPosition();\r\n Vector3f c = tMesh.getVertex(t.getC()).getPosition();\r\n // Draw edges of the triangle with provided algorithm\r\n String algorithm = RenderApplication.properties.getProperty(\"draw.algorithm\");\r\n if(algorithm.equals(\"Bresenham\")) {\r\n drawRasterLine(g, new Vector2f(a.x, a.y), new Vector2f(b.x, b.y));\r\n drawRasterLine(g, new Vector2f(b.x, b.y), new Vector2f(c.x, c.y));\r\n drawRasterLine(g, new Vector2f(c.x, c.y), new Vector2f(a.x, a.y));\r\n } else if (algorithm.equals(\"Scanline\")) {\r\n ArrayList<Vector2f> vertices = new ArrayList<>();\r\n // This drawing algorithm also draws lines between vertices with Bresenham\r\n vertices.addAll(drawRasterLine(g, new Vector2f(a.x, a.y), new Vector2f(b.x, b.y)));\r\n vertices.addAll(drawRasterLine(g, new Vector2f(b.x, b.y), new Vector2f(c.x, c.y)));\r\n vertices.addAll(drawRasterLine(g, new Vector2f(c.x, c.y), new Vector2f(a.x, a.y)));\r\n // Actual Scanline algorithm\r\n drawScanlines(g, vertices);\r\n // Clear vertices for next iteration\r\n vertices.clear();\r\n } else {\r\n // Draw the 'standard' way with drawLine from framework\r\n drawLine(g, new Vector2f(a.x, a.y), new Vector2f(b.x, b.y), Color.RED);\r\n drawLine(g, new Vector2f(b.x, b.y), new Vector2f(c.x, c.y), Color.RED);\r\n drawLine(g, new Vector2f(c.x, c.y), new Vector2f(a.x, a.y), Color.RED);\r\n }\r\n\r\n }",
"public Shapes draw ( );",
"public void draw() {\n \n }",
"public static void drawTriangle(SparseMatrix<Block> grid, Point3i a, Point3i b, Point3i c, short color) {\n doDrawTriangle(grid, a, b, c, color);\n doDrawTriangle(grid, b, c, a, color);\n doDrawTriangle(grid, c, a, b, color);\n }",
"public static void drawTriangle(double[] x, double[] y, double[] z) {\n int[][] coord = new int[2][4];\n int i;\n \n coord[0][0] = (int) (this_size.width * x[0]);\n coord[0][1] = (int) (this_size.width * y[0]);\n coord[0][2] = (int) (this_size.width * z[0]);\n coord[0][3] = (int) (this_size.width * x[0]);\n \n coord[1][0] = (int) (this_size.height * x[1]);\n coord[1][1] = (int) (this_size.height * y[1]);\n coord[1][2] = (int) (this_size.height * z[1]);\n coord[1][3] = (int) (this_size.height * x[1]);\n \n this_graphics.drawPolygon(coord[0], coord[1], 4);\n }",
"public void draw() {\n }",
"public abstract void draw(java.awt.Graphics canvas);",
"public abstract void drawFill();",
"public void draw(){\n\t\t int startRX = 100;\r\n\t\t int startRY = 100;\r\n\t\t int widthR = 300;\r\n\t\t int hightR = 300;\r\n\t\t \r\n\t\t \r\n\t\t // start points on Rectangle, from the startRX and startRY\r\n\t\t int x1 = 0;\r\n\t\t int y1 = 100;\r\n\t\t int x2 = 200;\r\n\t\t int y2 = hightR;\r\n\t\t \r\n //direction L - false or R - true\r\n\t\t \r\n\t\t boolean direction = true;\r\n\t\t \t\r\n\t\t\r\n\t\t //size of shape\r\n\t\t int dotD = 15;\r\n\t\t //distance between shapes\r\n\t int distance = 30;\r\n\t\t \r\n\t rect(startRX, startRY, widthR, hightR);\r\n\t \r\n\t drawStripesInRectangle ( startRX, startRY, widthR, hightR,\r\n\t \t\t x1, y1, x2, y2, dotD, distance, direction) ;\r\n\t\t \r\n\t\t super.draw();\r\n\t\t}",
"public void draw()\n {\n canvas.setForegroundColor(color);\n canvas.fillCircle(xPosition, yPosition, diameter);\n }",
"public void draw();",
"public void draw();",
"public void draw();",
"@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"绘制圆形\");\n\t}",
"protected abstract void draw();",
"public void draw() {\n\n }",
"@Override\n public void onDrawFrame(GL10 gl) {\n // Clear color and depth buffers using clear-value set earlier\n gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT);\n \n // You OpenGL|ES rendering code here\n // ......\n gl.glLoadIdentity(); // Reset model-view matrix\n gl.glTranslatef(-((float) triangles.get(5)[0].x()+1.0f),-((float) triangles.get(5)[0].y()+1.0f),0.0f);\n Log.i(\"dd\",\"\"+triangles.get(0)[0].x() + \" \"+ triangles.get(0)[0].y()+\" \"+ triangles.get(0)[0].z());\n for(int i=0;i<triangles.size();i++){\n \t\n \tfloat[] vertices=new float[] {\n \t\t(float) triangles.get(i)[0].x(),(float) triangles.get(i)[0].y(),(float) triangles.get(i)[0].z()\t , //first point\n \t\t(float) triangles.get(i)[1].x(),(float) triangles.get(i)[1].y(),(float) triangles.get(i)[1].z()\t , //second point\n \t\t(float) triangles.get(i)[2].x(),(float) triangles.get(i)[2].y(),(float) triangles.get(i)[2].z()\t //third point\n \t };\n \t triangle=new Triangle(vertices);\n \t triangle.draw(gl); // Draw triangle \n }\n /* gl.glLoadIdentity(); // Reset model-view matrix\n gl.glTranslatef(-5.0f,-6.0f,-2.0f);\n float[] vertices = { // Vertices of the triangle\n \t 5.0f, 6.0f, 1.0f, // 0. top\n \t 3.0f, 0.0f, 0.0f, // 1. left-bottom\n \t 7.0f, 0.0f, 0.0f // 2. right-bottom\n \t };\n triangle=new Triangle(vertices);\n triangle.draw(gl); */\n\n }",
"public void draw() {\n \n // TODO\n }",
"public abstract void draw( );",
"public void draw(){\n }",
"public void triangulo() {\n fill(0);\n stroke(255);\n strokeWeight(5);\n triangle(width/2, 50, height+100, 650, 350, 650);\n //(width/2, height-100, 350, 150, 900, 150);\n }",
"private void drawTriangle(double newVal) {\n\n triangle.getPoints().clear();\n triangle.getPoints().addAll(getEndX(), getEndY(), getEndX() - Point.RADIUS / 2.0,\n getEndY() + Point.RADIUS * 5 / 4.0 * (newVal) / (getAbsMax()), getEndX() + Point.RADIUS / 2.0,\n getEndY() + Point.RADIUS * 5 / 4.0 * (newVal) / getAbsMax());\n\n }",
"void draw(GraphicsContext context);",
"void draw(IViewShapes shape);",
"void draw();",
"public void paint(Graphics g) {\n double[] x = new double[2];\n double[] y = new double[2];\n double[] z = new double[2];\n \n x[0] = 0.0; x[1] = 0.0;\n y[0] = 1.0; y[1] = 0.0;\n z[0] = 0.5; z[1] = 1.0;\n this_graphics = g;\n this_size = this.size();\n drawTriangle(x, y, z);\n drawGasket(7, x, y, z);\n }",
"public abstract void draw(Graphics g, Color color);",
"@Override\n public void draw(ModernComponent c, Graphics2D g2, IntRect rect, Props props) {\n\n g2.setColor(FILL);\n\n fill(c, g2, rect, props);\n\n g2.setColor(BORDER);\n outline(c, g2, rect, props);\n }",
"private void drawMiniTriangle(int[] xPoints, int[] yPoints, int rgbVal, int rgbColor) {\n\t\tif (rgbColor == RED) {\n\t\t\tthis.canvas.setPenColor(rgbVal, 255, 255);\n\t\t} else if (rgbColor == BLUE) {\n\t\t\tthis.canvas.setPenColor(255, rgbVal, 255);\n\t\t} else {\n\t\t\tthis.canvas.setPenColor(255, 255, rgbVal);\n\t\t}\n\t\tColor color = this.canvas.getPenColor();\n\t\t// System.out.println(color.getRed() + \" \" + color.getGreen() + \" \" + color.getBlue());\n\t\tthis.canvas.fillPoly(xPoints, yPoints, NUM_TRIANGLE_SIDES);\n\t}",
"public TTriangle drawTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int width, String linecap, String color){\n\t\t\n\t\tTDraw tTriangle = new TTriangle(x1, y1, x2, y2, x3, y3, width, linecap, color, drawRaphael, elements.size());\n\t\telements.add(tTriangle);\n\t\treturn (TTriangle) tTriangle;\n\t}",
"abstract void draw();",
"abstract void draw();",
"void drawOutline(DrawContext dc, Object shape);",
"public void drawPrimitive(Canvas tempCanvas, int x, int y, float height, float width, Paint paint);",
"public void drawShape(Shape shape);",
"public void draw() {\n // añadimos el programa al entorno de opengl\n GLES20.glUseProgram(mProgram);\n\n // obtenemos el identificador de los sombreados del los vertices a vPosition\n positionHandle = GLES20.glGetAttribLocation(mProgram, \"vPosition\");\n\n // habilitamos el manejo de los vertices del triangulo\n GLES20.glEnableVertexAttribArray(positionHandle);\n\n // Preparamos los datos de las coordenadas del triangulo\n GLES20.glVertexAttribPointer(positionHandle, COORDS_PER_VERTEX,\n GLES20.GL_FLOAT, false,\n vertexStride, vertexBuffer);\n\n // Obtenemos el identificador del color del sombreado de los fragmentos\n colorHandle = GLES20.glGetUniformLocation(mProgram, \"vColor\");\n\n // Establecemos el color para el dibujo del triangulo\n GLES20.glUniform4fv(colorHandle, 1, color, 0);\n\n // SE dibuja el triangulo\n GLES20.glDrawArrays(GLES20.GL_LINE_LOOP, 0, vertexCount);\n\n // Deshabilitamos el arreglo de los vertices (que dibuje una sola vez)\n GLES20.glDisableVertexAttribArray(positionHandle);\n }",
"public abstract void draw();",
"public abstract void draw();",
"public abstract void draw();",
"public boolean draw(Canvas c, Paint p) {\n mColor = p.getColor();\n\n return drawSoftware(c, p);\n }",
"public void draw() {\r\n\t\tbackground(255); // Clear the screen with a white background\r\n\r\n\t\ttextSize(12);\r\n\t\tfill(0);\r\n\r\n\t\tstroke(0);\r\n\t\tcurve.draw(this);\r\n\t}",
"@Override\n public void render(Graphics2D g2) {\n g2.setColor(super.getColor());\n g2.fillPolygon(triangleFill);\n }",
"@Override\n\tpublic void draw(GraphicsContext gc) {\n\t\tgc.setFill(this.color.getColor());\n\t\tgc.fillRect(MyPoint.point[0], MyPoint.point[1], this.width, this.height);\n\t}",
"@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"You are drawing a RECTANGLE\");\n\t}",
"public void draw(DrawingContext context) {\n\t\t\t\t}",
"public void drawControlPolygon() {\n\t\t//this.frame.stroke(255, 0, 0);\n\t\tfor(int i=0;i<points.length;i++) {\n\t\t\tfor(int j=0;j<points[i].length;j++)\n\t\t\t\tthis.frame.drawVertex(points[i][j]);\n\t\t}\n\t}",
"@Override\n public void draw(GraphicsContext gc, int sides){}",
"public Triangle(float c0X, float c0Y, float c1X, float c1Y, float c2X, float c2Y, float r, float g, float b) {\n triangleCoords[0] = c0X;\n triangleCoords[1] = c0Y;\n triangleCoords[2] = 0;\n triangleCoords[3] = c1X;\n triangleCoords[4] = c1Y;\n triangleCoords[5] = 0;\n triangleCoords[6] = c2X;\n triangleCoords[7] = c2Y;\n triangleCoords[8] = 0;\n color[0] = r;\n color[1] = g;\n color[2] = b;\n centerX = (c0X+c1X) / 2.0f;\n centerY = (float)(c0Y - ((c1X-c0X)/(Math.sqrt(3)*2.0f)));\n\n // initialize vertex byte buffer for shape coordinates\n ByteBuffer bb = ByteBuffer.allocateDirect(\n // (number of coordinate values * 4 bytes per float)\n triangleCoords.length * 4);\n // use the device hardware's native byte order\n bb.order(ByteOrder.nativeOrder());\n\n // create a floating point buffer from the ByteBuffer\n vertexBuffer = bb.asFloatBuffer();\n // add the coordinates to the FloatBuffer\n vertexBuffer.put(triangleCoords);\n // set the buffer to read the first coordinate\n vertexBuffer.position(0);\n\n\n // The drawn object (This triangle) needs to claim shaders for vertex and fragment, so it can be drawn\n int vertexShader = MyGLRenderer.loadShader(GLES20.GL_VERTEX_SHADER,\n vertexShaderCode);\n int fragmentShader = MyGLRenderer.loadShader(GLES20.GL_FRAGMENT_SHADER,\n fragmentShaderCode);\n\n // create empty OpenGL ES Program ( = one openGL procedure responsible for drawing this shape)\n mProgram = GLES20.glCreateProgram();\n\n // add the vertex shader to program\n GLES20.glAttachShader(mProgram, vertexShader);\n\n // add the fragment shader to program\n GLES20.glAttachShader(mProgram, fragmentShader);\n\n // creates OpenGL ES program executables\n GLES20.glLinkProgram(mProgram);\n }",
"@Override\r\n\tpublic void drawArrow(Canvas cv) {\n\t\tPaint g = new Paint();\r\n\t\tg.setStyle(Paint.Style.STROKE);\r\n\t\tg.setColor(Color.BLACK);\r\n\t\tg.setAntiAlias(true);\r\n\t\tg.setDither(true);\r\n\t\tcv.drawLine(mEdgeFist.x, mEdgeFist.y, mEdgeEnd.x, mEdgeEnd.y, g);\r\n\t\tPath path = new Path();\r\n\t\tg.setStyle(Paint.Style.FILL_AND_STROKE);\r\n\t\tpath.setFillType(Path.FillType.EVEN_ODD);\r\n\t\tpath.moveTo(mEdgeEnd.x, mEdgeEnd.y);\r\n\t\tpath.lineTo(mTriangle1.x, mTriangle1.y);\r\n\t\tpath.lineTo(mTriangle2.x, mTriangle2.y);\r\n\t\tpath.close();\r\n\t\tcv.drawPath(path, g);\r\n\t}",
"private void init(Point[] points, int color) {\n // Set paint\n paint = new Paint(Paint.ANTI_ALIAS_FLAG);\n paint.setColor(color);\n\n setPadding(50,50,50,50);\n setBackgroundColor(Color.TRANSPARENT);\n\n // Create path for triangle\n path = new Path();\n path.setFillType(Path.FillType.EVEN_ODD);\n // Draw triangle\n path.moveTo(points[0].x, points[0].y);\n path.lineTo(points[1].x,points[1].y);\n path.lineTo(points[2].x,points[2].y);\n path.lineTo(points[0].x,points[0].y);\n path.close();\n }",
"@Override\r\n\tpublic void draw() {\n\t\tSystem.out.println(\"Draw all shapes\");\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic void draw() {\n\t\tSystem.out.println(\"Draw all shapes\");\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic void draw() {\n\t\tSystem.out.println(\"Draw all shapes\");\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic void draw(Graphics g) {\n\t\tg.setColor(Color.green);\r\n\t\tg.fillRect(getX(), getY(), getWidth(), getHeight());\r\n\t}",
"public void draw() {\n\t\t\tfloat[] vertices = new float[mVertices.size()];\n\t\t\tfor (int i = 0; i < vertices.length; i++)\n\t\t\t\tvertices[i] = mVertices.get(i);\n\t\t\t\n\t\t\tfloat[] textureCoords = null;\n\t\t\tif (mTextureID != 0) {\n\t\t\t\ttextureCoords = new float[mTextureCoords.size()];\n\t\t\t\tfor (int i = 0; i < textureCoords.length; i++)\n\t\t\t\t\ttextureCoords[i] = mTextureCoords.get(i);\n\t\t\t}\n\t\t\t\n\t\t\tshort[] indices = new short[mIndices.size()];\n\t\t\tfor (int i = 0; i < indices.length; i++)\n\t\t\t\tindices[i] = mIndices.get(i);\n\t\t\t\n\t\t\t// Get OpenGL\n\t\t\tGL10 gl = GameGraphics2D.this.mGL;\n\t\t\t\n\t\t\t// Set render state\n\t\t\tgl.glDisable(GL10.GL_LIGHTING);\n\t\t\tgl.glEnable(GL10.GL_DEPTH_TEST);\n\t\t\tgl.glEnable(GL10.GL_BLEND);\n\n\t\t\tif (mBlendingMode == BLENDING_MODE.ALPHA)\n\t\t\t\tgl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA);\n\t\t\telse if (mBlendingMode == BLENDING_MODE.ADDITIVE)\n\t\t\t\tgl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE);\n\t\t\t\n\t\t\tif (mTextureID != 0)\n\t\t\t\tgl.glEnable(GL10.GL_TEXTURE_2D);\n\t\t\telse\n\t\t\t\tgl.glDisable(GL10.GL_TEXTURE_2D);\n\t\t\t\n\t\t\t// Draw the batch of textured triangles\n\t\t\tgl.glColor4f(Color.red(mColour) / 255.0f,\n\t\t\t\t\t\t Color.green(mColour) / 255.0f,\n\t\t\t\t\t\t Color.blue(mColour) / 255.0f,\n\t\t\t\t\t\t Color.alpha(mColour) / 255.0f);\n\t\t\t\n\t\t\tif (mTextureID != 0) {\n\t\t\t\tgl.glBindTexture(GL10.GL_TEXTURE_2D, mTextureID);\n\t\t\t\tgl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, GameGraphics.getFloatBuffer(textureCoords));\n\t\t\t}\n\t\t\t\n\t\t\tgl.glVertexPointer(3, GL10.GL_FLOAT, 0, GameGraphics.getFloatBuffer(vertices));\n\t\t\tgl.glDrawElements(GL10.GL_TRIANGLES, indices.length,\n\t\t\t\t\tGL10.GL_UNSIGNED_SHORT, GameGraphics.getShortBuffer(indices));\n\t\t}",
"private void draw(){\n GraphicsContext gc = canvasArea.getGraphicsContext2D();\n canvasDrawer.drawBoard(canvasArea, board, gc, currentCellColor, currentBackgroundColor, gridToggle);\n }",
"@Test\n\tpublic void whenDrawTriangle() {\n\t\tnew Paint().draw(new Triangle());\n\t\tStringBuilder expected = new StringBuilder()\n\t\t\t\t.append(\" +\")\n\t\t\t\t.append(System.lineSeparator())\n\t\t\t\t.append(\" +++\")\n\t\t\t\t.append(System.lineSeparator())\n\t\t\t\t.append(\" +++++\")\n\t\t\t\t.append(System.lineSeparator())\n\t\t\t\t.append(\"+++++++\")\n\t\t\t\t.append(System.lineSeparator());\n\t\tassertThat(new String(out.toByteArray()), is(expected.toString()));\n\t}",
"public void draw()\r\n {\r\n drawn = true;\r\n }",
"public static void filledTriangle(double x, double y, double length) {\n // have to create a new array with x values and y values because each one is different and corresponds to different coordinates\n double[] xValues = new double[] { x, x - length/2, x + length/2 };\n // can aslo use this method \n //double[] xValues = new double[] \n // xValues = { x, x-length/2, x + length/2 }; both will produce same result but current code is more concise\n double[] yValues = new double[] { y, y + height(length), y + height(length)};\n \n StdDraw.filledPolygon(xValues, yValues);\n\t// WRITE YOUR CODE HERE\n }",
"abstract public void draw(GL gl);",
"@Override\n\tpublic void draw(Graphics canvas) {}",
"void drawInterior(DrawContext dc, Object shape);",
"void DrawTriangle(int triangleSize, int startx, int starty, int size, String[] labels,GamePanel gamePanel) {\n int index=0;\n for (int i = 0; i < triangleSize; i++) {\n int start = (int) Math.round(startx - (i * size * Math.sqrt(3) / 2) / 2);\n for (int j = 0; j < i + 1; j++) {\n HexButton button = new HexButton(labels[index]);\n button.setNumber( Integer.parseInt(labels[index]) - 1);\n index++;\n button.setBounds((int) Math.round(start + (j * size * Math.sqrt(3) / 2)), i * (size * 3 / 4) + starty, 100, 100);\n button.addActionListener(gamePanel);\n this.add(button);\n }\n }\n }",
"private void drawT(int[] xPoints,int[] yPoints,boolean condition){\r\n if(condition)\r\n g.setColor(Color.red); \r\n else\r\n g.setColor(Color.gray); \r\n g.fillPolygon(xPoints,yPoints,3);\r\n g.setColor(Color.black);\r\n g.drawPolygon(xPoints,yPoints,3); \r\n }",
"public void draw(GraphicsContext gc) {\n draw(gc, arrow);\n }",
"private void drawSector(float x, float y, float r1, float r2, float th1, float th2, Colour colourIn, Colour colourOut) {\n\t\tfloat sinTh1 = (float) Math.sin(th1);\n\t\tfloat sinTh2 = (float) Math.sin(th2);\n\t\tfloat cosTh1 = (float) Math.cos(th1);\n\t\tfloat cosTh2 = (float) Math.cos(th2);\n\n\t\t//1st triangle\n\t\tpushPoint(Graphics.gridToScreenX(x+cosTh2*r1), Graphics.gridToScreenY(y+sinTh2*r1), colourIn);\n\t\tint a = pushPoint(Graphics.gridToScreenX(x+cosTh1*r1), Graphics.gridToScreenY(y+sinTh1*r1), colourIn);\n\t\tint b = pushPoint(Graphics.gridToScreenX(x+cosTh2*r2), Graphics.gridToScreenY(y+sinTh2*r2), colourOut);\n\n\t\t//2nd triangle\n\t\tpushIndex(a);\n\t\tpushIndex(b);\n\t\tpushPoint(Graphics.gridToScreenX(x+cosTh1*r2), Graphics.gridToScreenY(y+sinTh1*r2), colourOut);\n\t}",
"@Override\n\tpublic void draw() {\n\n\t}",
"@Override\n\tpublic void draw() {\n\n\t}",
"@Override\r\n\tpublic void draw() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void draw() {\n\t\t\r\n\t}",
"public void draw() {\n\t\tp.pushStyle();\n\t\t{\n\t\t\tp.rectMode(PConstants.CORNER);\n\t\t\tp.fill(360, 0, 70, 180);\n\t\t\tp.rect(60f, 50f, p.width - 110f, p.height * 2f * 0.33f - 50f);\n\t\t\tp.rect(60f, p.height * 2f * 0.33f + 50f, p.width - 110f, p.height * 0.33f - 130f);\n\t\t}\n\t\tp.popStyle();\n\n\t\tlineChart.draw(40f, 40f, p.width - 80f, p.height * 2f * 0.33f - 30f);\n\t\tlineChart2.draw(40f, p.height * 2f * 0.33f + 45f, p.width - 80f, p.height * 0.33f - 110f);\n\t\t//p.line(x1, y1, x2, y2);\n\n\t}",
"public void draw(float vx, float vy, float tu, float tv, float cr, float cg, float cb, float ca){\n\t\tif(!(currentVertex + 1 < MAX_VERTICES))\n\t\t\tflushToGL();\n\t\t\n\t\tpositions[currentVertex].set(vx, vy);\n\t\ttexcoords[currentVertex].set(tu, tv);\n\t\tcolors[currentVertex].set(cr, cg, cb, ca);\n\t\t++currentVertex;\n\t}",
"public void draw() {\r\n\t\t// Draw the triangle making up the mountain\r\n\t\tTriangle mountain = new Triangle(this.x, 100,\r\n\t\t\t\tthis.x + mountainSize / 2, 100, this.x + mountainSize / 4,\r\n\t\t\t\t100 - this.y / 4, Color.DARK_GRAY, true);\r\n\t\t// Draw the triangle making up the snow cap\r\n\t\tthis.snow = new Triangle(side1, bottom - this.y / 8, side2, bottom\r\n\t\t\t\t- this.y / 8, this.x + mountainSize / 4, 100 - this.y / 4,\r\n\t\t\t\tColor.WHITE, true);\r\n\t\tthis.window.add(mountain);\r\n\t\tthis.window.add(snow);\r\n\t}",
"public void draw() {\n\t\t\r\n\t\tSystem.out.println(\"drawing...\");\r\n\t\t\r\n\t}",
"@Override\n public void draw(GraphicsContext gc) {\n gc.setFill(getFillColor());\n gc.setStroke(getStrokeColor());\n gc.setLineWidth(getStrokeWidth());\n gc.fillRect(getX1(), getY1(), getX2() - getX1(), getX2() - getX1());\n gc.strokeRect(getX1(), getY1(), getX2() - getX1(), getX2() - getX1());\n }",
"@Override\r\n public void draw() {\n }",
"public void draw(){\n\t\tcomponent.draw();\r\n\t}",
"public void draw(Graphics g);",
"public void draw(Graphics g);",
"public void draw(GL10 gl) {\n }",
"@Override\n public void draw(Canvas canvas) {\n \tsuper.draw(canvas);\n \tPaint paint = new Paint();\n paint.setAntiAlias(true); //设置画笔为无锯齿 \n paint.setColor(Color.BLACK); //设置画笔颜色 \n canvas.drawColor(Color.WHITE); //白色背景 \n paint.setStrokeWidth((float) 3.0); //线宽 \n paint.setStyle(Style.STROKE); //空心效果 \n Rect r1=new Rect(); //Rect对象 \n r1.left=50; //左边 \n r1.top=50; //上边 \n r1.right=450; //右边 \n r1.bottom=250; //下边 \n canvas.drawRect(r1, paint); //绘制矩形 \n RectF r2=new RectF(); //RectF对象 \n r2.left=50; //左边 \n r2.top=400; //上边 \n r2.right=450; //右边 \n r2.bottom=600; //下边 \n canvas.drawRoundRect(r2, 30, 10, paint); //绘制圆角矩形 \n }",
"public void draw() \n\t {\n\t\t draw(root,0,0,1,1,true);\n\t }",
"@Override\n\tpublic void draw() {\n\t\tSystem.out.println(\"绘制矩形\");\n\t\t\n\t}",
"void drawOnCanvas(@NonNull Canvas canvas) ;",
"@Override\r\n public void generateDisplayList(GL2 gl, GLU glu) {\r\n ArrayList<double[]> triangle = null;\r\n\r\n /*\r\n * List of all vertices describing the contour of the border, as well as the\r\n * vertices color and texture coordinates.\r\n */\r\n ArrayList<double[]> borderTriangle = null;\r\n\r\n // Get a denominator for the display list\r\n displayList = gl.glGenLists(1);\r\n\r\n // Create the display list\r\n gl.glNewList(displayList, GL2.GL_COMPILE);\r\n // Store the current OpenGL attribute states\r\n gl.glPushAttrib(GL2.GL_ALL_ATTRIB_BITS);\r\n\r\n /*\r\n * Set the alpha value of the colors. The opacity of the whole object\r\n * (opacity) always has a higher priority.\r\n */\r\n if (opacity < 1) {\r\n fillColor.setAlpha(opacity);\r\n borderColor.setAlpha(opacity);\r\n } else {\r\n fillColor.setAlpha(fillOpacity);\r\n borderColor.setAlpha(1);\r\n }\r\n\r\n // Don't draw if the dimensions are too small\r\n if (sideLength > 0) {\r\n\r\n // Create a list storing the triangles vertices\r\n triangle = new ArrayList<double[]>();\r\n\r\n // Check if the triangle will be rendered with a texture applied on it\r\n if (texture != null) {\r\n\r\n // Calculate the triangles contour\r\n calculateContour(triangle, null);\r\n\r\n // Set the triangles color to white (because of texture)\r\n applyColor(triangle, new Color(Color.WHITE));\r\n\r\n // Map the texture to the triangle\r\n applyTexture(triangle, texture.getImageTexCoords());\r\n\r\n // Enable texture support\r\n texture.enable();\r\n\r\n // Draw the textured triangle\r\n TessellatedPolygon poly = new TessellatedPolygon();\r\n poly.init(gl, glu);\r\n poly.beginPolygon();\r\n poly.beginContour();\r\n poly.renderContour(triangle);\r\n poly.endContour();\r\n poly.endPolygon();\r\n poly.end();\r\n poly = null;\r\n\r\n // Disable texture support\r\n texture.disable();\r\n } else {\r\n\r\n // Check if the triangle will be rendered with a border\r\n if (borderWidth > 0) {\r\n\r\n // Create a list storing the borders vertices\r\n borderTriangle = new ArrayList<double[]>(1);\r\n\r\n // Calculate the triangles contour and the contour of the border\r\n calculateContour(triangle, null);\r\n calculateContour(triangle, borderTriangle);\r\n\r\n // Apply the border color\r\n applyColor(triangle, borderColor);\r\n applyColor(borderTriangle, borderColor);\r\n\r\n // Don't apply any texture\r\n applyTexture(triangle, null);\r\n applyTexture(borderTriangle, null);\r\n\r\n // Draw the border\r\n TessellatedPolygon poly = new TessellatedPolygon();\r\n poly.init(gl, glu);\r\n poly.setWindingRule(GLU.GLU_TESS_WINDING_ODD);\r\n poly.beginPolygon();\r\n poly.beginContour();\r\n poly.renderContour(triangle);\r\n poly.endContour();\r\n poly.beginContour();\r\n poly.renderContour(borderTriangle);\r\n poly.endContour();\r\n poly.endPolygon();\r\n poly.end();\r\n\r\n // Apply the fill color\r\n applyColor(borderTriangle, fillColor);\r\n\r\n // Draw the inner triangle\r\n poly.init(gl, glu);\r\n poly.beginPolygon();\r\n poly.beginContour();\r\n poly.renderContour(borderTriangle);\r\n poly.endContour();\r\n poly.endPolygon();\r\n poly.end();\r\n poly = null;\r\n } else {\r\n\r\n // Calculate the contour of the triangle\r\n calculateContour(triangle, null);\r\n\r\n // Apply the fill color to the triangle\r\n applyColor(triangle, fillColor);\r\n\r\n // Don't apply any texture\r\n applyTexture(triangle, null);\r\n\r\n // Draw the triangle without border\r\n TessellatedPolygon poly = new TessellatedPolygon();\r\n poly.init(gl, glu);\r\n poly.beginPolygon();\r\n poly.beginContour();\r\n poly.renderContour(triangle);\r\n poly.endContour();\r\n poly.endPolygon();\r\n poly.end();\r\n poly = null;\r\n }\r\n }\r\n }\r\n\r\n // Restore the OpenGL attribute states\r\n gl.glPopAttrib();\r\n gl.glEndList();\r\n }",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"public void draw(Graphics g) {\n g.setColor(color);\n g.fillRect(x, y, width, height);\n }",
"public void draw(GL10 gl) {\n\t\t\t// Counterclockwise order for front face vertices\n\t\t\tgl.glFrontFace(GL10.GL_CCW);\n\t\t\t// Points to the vertex buffers\n\t\t\tgl.glVertexPointer(3, GL10.GL_FLOAT, 0, vertexBuffer);\n\t\t\tgl.glColorPointer(4, GL10.GL_FLOAT, 0, colorBuffer);\n\t\t\t// Enable client states\n\t\t\tgl.glEnableClientState(GL10.GL_VERTEX_ARRAY);\n\t\t\tgl.glEnableClientState(GL10.GL_COLOR_ARRAY);\n\t\t\t// Draw vertices as triangles\n\t\t\tgl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, indexBuffer);\n\t\t\t// Disable client state\n\t\t\tgl.glDisableClientState(GL10.GL_VERTEX_ARRAY);\n\t\t\tgl.glDisableClientState(GL10.GL_COLOR_ARRAY);\n\t\t}"
] |
[
"0.73964804",
"0.66092396",
"0.6505457",
"0.6289106",
"0.6287553",
"0.6277798",
"0.61622715",
"0.61259586",
"0.60951185",
"0.5991359",
"0.5991359",
"0.59766906",
"0.59187263",
"0.5916481",
"0.5897679",
"0.58899784",
"0.58799",
"0.5873088",
"0.58697736",
"0.58544147",
"0.583081",
"0.57980007",
"0.57980007",
"0.57980007",
"0.5793031",
"0.5790888",
"0.57907784",
"0.5789057",
"0.578674",
"0.57562065",
"0.57464087",
"0.57432175",
"0.571394",
"0.5712515",
"0.5700733",
"0.5698431",
"0.56929845",
"0.5689686",
"0.56759155",
"0.56643",
"0.56578696",
"0.56571394",
"0.56571394",
"0.56542045",
"0.5644932",
"0.5636744",
"0.5629125",
"0.5617317",
"0.5617317",
"0.5617317",
"0.56126666",
"0.56055486",
"0.5604406",
"0.5600501",
"0.55970025",
"0.5581495",
"0.55763894",
"0.55422944",
"0.55404156",
"0.55386645",
"0.55235887",
"0.55206084",
"0.55206084",
"0.55206084",
"0.5519874",
"0.5493667",
"0.549305",
"0.5484876",
"0.545712",
"0.5456922",
"0.5453789",
"0.5444555",
"0.5444047",
"0.5437613",
"0.5434977",
"0.54346836",
"0.5433317",
"0.5421084",
"0.5421084",
"0.54147184",
"0.54147184",
"0.5396088",
"0.5395792",
"0.53945416",
"0.53824097",
"0.53809285",
"0.5368595",
"0.5368531",
"0.53677565",
"0.53677565",
"0.5360726",
"0.53595173",
"0.5359411",
"0.5359182",
"0.5346239",
"0.53412944",
"0.5336614",
"0.5336614",
"0.5336391",
"0.53315955"
] |
0.72791547
|
1
|
/ Name: getP1 Purpose: Accessor for p1 Parameter: None Return: Point
|
public Point getP1(){
return this.p1;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Point getPoint1() {\r\n return p1;\r\n }",
"public Point2D getPoint1() {\n return this.point1;\n }",
"public double getX1() {\n\t\treturn p1.x;\n\t}",
"public Point3D getPoint1() {\r\n return point1;\r\n }",
"public int getP1Points() {\n return p1Points;\n }",
"public Player getP1() {\n return p1;\n }",
"private void setP1( Point p1 ){\n this.p1=p1;\n }",
"public GPoint getFirstPoint() {\n return(point1);\n }",
"public ResultPoint getRp1() {\n return rp1;\n }",
"public double getX1()\n\t{\n\t\treturn this.x[1];\n\t}",
"public Point getP2(){\n return this.p2;\n }",
"public double getX1()\n {\n return m_X1;\n }",
"public double getX1() {\n\t\treturn x1;\n\t}",
"public double getY1() {\n\t\treturn p1.y;\n\t}",
"public ServerPlayer getP1() {\r\n\t\treturn p1;\r\n\t}",
"@Override\n\tProp getp1() {\n\t\treturn null;\n\t}",
"@Basic\r\n\tpublic Position getPosition1() \r\n\t{\r\n\t\treturn this.position1;\r\n\t}",
"public Vector2 getPos1() {\n\t\treturn pos1;\n\t}",
"public int getX1() {\n\t\treturn x1;\n\t}",
"public byte getP1() {\n return this.apdu_buffer[P1];\n }",
"public Double getY1() {\n\t\treturn y1;\n\t}",
"public double getY1()\n {\n return m_Y1;\n }",
"public final double getX1()\n {\n return m_jso.getX1();\n }",
"public GPoint getSecondPoint(){\n return(point2);\n }",
"double getPValue();",
"public double getY1()\n\t{\n\t\treturn this.y[1];\n\t}",
"public JButton getP1WinPoint() {\n return p1WinPoint;\n }",
"public Point getPoint()\n\t{\n\t\treturn point;\n\t}",
"public int getProperty1() {\n return property1_;\n }",
"public int getProperty1() {\n return property1_;\n }",
"@Override\r\n\tpublic double getX1() {\n\t\treturn 0;\r\n\t}",
"public byte getP1() {\n\treturn (byte) (header[2] & 0xFF);\n }",
"public Pawn getPawn1() {\n return pawn1;\n }",
"public int getY1() {\n\t\treturn y1;\n\t}",
"public int getX1(){return x1;}",
"public Double getMouse1()\n {\n return this.mouse1;\n }",
"public String getPra1() {\n return pra1;\n }",
"public IPoint getFirstPoint()\n {\n Object[] verticesArray = this.getVertices().toArray();\n IPoint firstPoint = (IPoint)verticesArray[0];\n\n return firstPoint;\n }",
"public Raza getRazaP1() {\n razaP1.nombre1();\n System.out.println(razaP1.nombre1());\n return razaP1;\n }",
"public double getPoint() {\r\n return point;\r\n }",
"public double getPoint() {\r\n return point;\r\n }",
"public Point getPoint() {\n return point;\n }",
"public int getPoint(){\n return point;\n }",
"public Value get(Point2D p) {\n if (p == null) throw new IllegalArgumentException(\"p cannot be null\");\n return get(p, root);\n }",
"public Point getPoint(){\n\t\treturn _point;\n\t}",
"public Integer getPoint() {\n return point;\n }",
"public void setPoint1(Point3D point1) {\r\n this.point1 = point1;\r\n }",
"public GJPoint2D firstPoint() {\n\t\tif (this.segments.isEmpty()) \n\t\t\treturn null;\n\t\treturn this.segments.get(0).controlPoints()[0];\n\t}",
"public void setP1(Point point){\n\t\tif((point.getX() >= getP2().getX()) || (point.getY() >= getP2().getY())){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tsuper.setP1(point);\n\t}",
"public Point3 getPoint(int pointNr);",
"public Point getPoint() {\n return this.mPoint;\n }",
"public Value get(Point2D p) {\n\n\t\tif (p == null)\n\t\t\tthrow new NullPointerException(\"Point can not be null\");\n\t\treturn get(root, p, true);\n\n\t}",
"public Z getP() {\n return mP;\n }",
"double getside1(){\n\t\treturn side1;\n\t}",
"public abstract ParamNumber getParamX();",
"public Value get(Point2D p) {\n if (p == null) {\n throw new NullPointerException();\n }\n return bst.get(p);\n }",
"public void setP1(Player p1) {\n this.p1 = p1;\n }",
"public ResourcesOrPoints getGive1() {\n\t\treturn give1;\n\t}",
"public PileupElement getFirst() { return PE1; }",
"public Point getP3(){\n return this.p3;\n }",
"public Float getT1B11P1() {\r\n return t1B11P1;\r\n }",
"public GeoPointND getStartPoint();",
"public int getP1ValueInInt() {\n\t\treturn p1ValueInInt;\n\t}",
"public final double getY1()\n {\n return m_jso.getY1();\n }",
"int getProperty1();",
"public Profile getPerson1() {\n\t\treturn person1;\n\t}",
"public CVector getV1() {\n\treturn v1;\n }",
"public Point getMPoint() {\n\t\treturn new Point(getX() + (getWidth() / 2), getY() + (getHeight() / 2));\n\t}",
"public double getSolutionX1() {\n this.polySolve();\n if (this.degree == 3 || this.degree == 1) {\n return this.x1;\n } else {\n if (this.real) {\n return this.x1;\n } else {\n return 0010;\n }\n }\n\n }",
"Term getP();",
"public double getX1Real() {\n return this.x1re;\n }",
"public int getP() {\r\n\t\treturn this.p;\r\n\t}",
"public Point getPointA() {\n return pointA;\n }",
"public double getX() {\n\t\treturn point[0];\n\t}",
"@Override\r\n\tpublic double getY1() {\n\t\treturn 0;\r\n\t}",
"public String getColor1P() {\n\t\treturn color1P;\n\t}",
"public double getB1() {\n return B1;\n }",
"public double getEnvelope1side1() {\n return envelope1side1;\n }",
"public double getX2() {\n\t\treturn p2.x;\n\t}",
"public GPoint first() {\n\t\tif (points.isEmpty()) {\n\t\t\tthrow new IllegalStateException(\"line group is empty\");\n\t\t}\n\t\treturn points.get(0);\n\t}",
"public double getSide1() {\r\n\t\treturn side1;\r\n\t}",
"public Object getV1(){\n \treturn v1;\n }",
"public float getX1() {\r\n return (b + 3*a)/3;\r\n }",
"public Point3D getPoint2() {\r\n return point2;\r\n }",
"public IPoint getSecondPoint()\n {\n\n Set<IPoint> vertices = this.getVertices();\n Object[] verticesArray = vertices.toArray();\n IPoint secondPoint = (IPoint)verticesArray[1];\n\n return secondPoint;\n }",
"public JPanel getPanel1() {\n return panel1;\n }",
"public String getPvNameGetPoint() {\n\t\treturn pvNameGetPoint;\n\t}",
"public JLabel getL1() {\n return l1;\n }",
"public String getOndaP1() {\r\n return ondaP1;\r\n }",
"protected final IntervalNode getP() {\n\treturn(this.p);\n }",
"public int getPointX() {\n return pointX;\n }",
"public byte[] getP1P2() {\n\treturn new byte[]{getP1(), getP2()};\n }",
"public double getC1() {\n return c1;\n }",
"public int getd1() {\n\t\treturn d1;\n\t}",
"public KDPoint getPoint() {\n\t\treturn new KDPoint(this.loc.lat,this.loc.lng,0.0);\n\t}",
"public double getQuiz1()\n\t{\n\t\treturn this.quiz1;\n\t}",
"public MyPoint1(double x, int y) {\n this.x = x;\n this.y = y;\n }",
"public int getInput1() {\n return input1;\n }",
"public T1 _1() {\n return _1;\n }",
"@Override\n\t\tpublic V setValue(V p1){\n\t\t\treturn p1;\n\t\t}"
] |
[
"0.8442106",
"0.7788126",
"0.75421065",
"0.75006026",
"0.7296104",
"0.7247851",
"0.7144482",
"0.711864",
"0.70327497",
"0.68372387",
"0.68085515",
"0.6775154",
"0.6754737",
"0.67472655",
"0.6680553",
"0.66707695",
"0.65976936",
"0.65653527",
"0.6490827",
"0.6344911",
"0.63078547",
"0.63007975",
"0.6291693",
"0.6277001",
"0.62315553",
"0.6228382",
"0.61925423",
"0.61804575",
"0.61711574",
"0.6165683",
"0.6137122",
"0.61363214",
"0.6116893",
"0.6108132",
"0.6104426",
"0.609342",
"0.6086816",
"0.60679364",
"0.60582757",
"0.60518444",
"0.60518444",
"0.6051144",
"0.6041171",
"0.60362774",
"0.6033589",
"0.6030706",
"0.6029979",
"0.6024709",
"0.6024022",
"0.60163856",
"0.60099286",
"0.60091525",
"0.60088205",
"0.6003402",
"0.6000598",
"0.5997266",
"0.59963083",
"0.59856516",
"0.59840024",
"0.59750116",
"0.5944058",
"0.5907153",
"0.5899994",
"0.58917534",
"0.58716106",
"0.5847839",
"0.58444285",
"0.5843746",
"0.58386946",
"0.58316755",
"0.58245647",
"0.58204246",
"0.5818867",
"0.5816329",
"0.57969445",
"0.57911336",
"0.5787723",
"0.5786419",
"0.5764148",
"0.5757897",
"0.57432747",
"0.5737316",
"0.5734601",
"0.5734385",
"0.5730346",
"0.572734",
"0.57195395",
"0.57173336",
"0.5712116",
"0.57100534",
"0.5708787",
"0.570568",
"0.5683347",
"0.5669263",
"0.5655873",
"0.5649178",
"0.5646347",
"0.56403244",
"0.5632086",
"0.5618698"
] |
0.85836685
|
0
|
/ Name: setP1 Purpose: Mutator for p1 Parameter: Point P1 Return: void
|
private void setP1( Point p1 ){
this.p1=p1;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void setP1(Player p1) {\n this.p1 = p1;\n }",
"public void setPoint1(Point3D point1) {\r\n this.point1 = point1;\r\n }",
"public void setP1(Point point){\n\t\tif((point.getX() >= getP2().getX()) || (point.getY() >= getP2().getY())){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tsuper.setP1(point);\n\t}",
"public abstract void setPoint(Point p);",
"public void setP1(ServerPlayer p1) {\r\n\t\tthis.p1 = p1;\r\n\t}",
"private void setP2( Point p2 ){\n this.p2=p2;\n }",
"public void set(Point p)\r\n\t{\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t}",
"void setPos1(Vector2 pos1) {\n\t\tthis.pos1 = pos1;\n\t}",
"@Override\n\t\tpublic V setValue(V p1){\n\t\t\treturn p1;\n\t\t}",
"public Point getP1(){\n return this.p1;\n }",
"protected void setP1(byte p1) {\n\theader[2] = p1;\n }",
"protected void setP1P2(byte[] p1p2) {\n\tsetP1(p1p2[0]);\n\tsetP2(p1p2[1]);\n }",
"public void setP(Double p);",
"public Point getPoint1() {\r\n return p1;\r\n }",
"public void setP1Card1(Card p1Card1){\n\t\tthis.p1Card1 = p1Card1;\n\t\trepaint();\n\t}",
"public void setSetpoint(double setpoint);",
"public void setPoint(double point){\r\n this.point = point;\r\n }",
"void setPosition(Point point);",
"void setP2p(int p2p);",
"public void setLocation(Point2D p);",
"public void setLocation( Point p ) {\r\n this.x = p.x;\r\n this.y = p.y;\r\n }",
"public void setPawn1(Pawn pawn1) {\n this.pawn1 = pawn1;\n }",
"public void setP1Van() {\n p1Points.setText(\"Ad\");\n }",
"public void setX1(int x1) {\n\t\tthis.x1 = x1;\n\t\tfireListenerSignal();\n\t}",
"public void setP1x(double parseDouble) {\n\t\t\n\t}",
"public void setPoint(Integer point) {\n this.point = point;\n }",
"public void setX1()\n\t{\n\t\tthis.x[1] = this.x[0] - (this.length)/2;\n\t}",
"public void setP1ValueInInt(int p1ValueInInt) {\n\t\tthis.p1ValueInInt = p1ValueInInt;\n\t\trepaint();\n\t}",
"public void setA1(int a1)\n {\n this.a1 = a1;\n }",
"private void setP3( Point p3 ){\n this.p3=p3;\n }",
"abstract B setM1(M1 m1);",
"abstract B setM1(M1 m1);",
"public void setPosition(Point position);",
"public void setPoint(Integer point) {\n\t\tthis.point = point;\n\t}",
"public void setPoint1(int height)\n {\n // Konvertimi i yLabel nga String ne int per llogaritjen e vleres se y ne proporcion me gjatesine e boshtit y\n int yRange = Integer.parseInt(yLabel);\n // Udhezimi per kthimin e vleres se argumentit height ne proporcion me gjatsine e boshtit y te shprehur ne pixela\n propY1=yPos-(height*axisLength)/yRange;\n }",
"public void set(Point3 p) {\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t\tz = p.z;\r\n\t}",
"public void setP2(Point point){\n\t\tif((point.getX() <= getP1().getX()) || (point.getY() <= getP1().getY())){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tsuper.setP2(point);\n\t}",
"void setPointChange(Integer setPoint, Integer expectedValue);",
"public void setPosition(Position p);",
"public void setPoint(double value) {\r\n this.point = value;\r\n }",
"public int setPoint(float x, float y, int gnum);",
"public FractalTrace setX1(double value) throws ParameterOutOfRangeException\n {\n\t\tif(value > 50.00 || value < -50.00)\n\t {\n\t throw new ParameterOutOfRangeException(value, -50.00, 50.00);\n\t }\n\n m_X1 = value;\n setProperty(\"X1\", value);\n return this;\n }",
"public void setPosition(Point p) {\r\n\t\tthis.position = p;\r\n\t\tc.setPosition(p);\r\n\t}",
"protected abstract void setPpl();",
"public void setPoint( Float point ) {\n this.point = point;\n }",
"public MyPoint1(double x, int y) {\n this.x = x;\n this.y = y;\n }",
"public void setValue1(final java.lang.String value1) {\n this.value1 = value1;\n }",
"public abstract void setPosition(Point2D position);",
"void setPosition(Position p);",
"public void setXY(Point2D aPoint) { setXY(aPoint.getX(), aPoint.getY()); }",
"public void setPoint(int x, int y) {\r\n this.x = x;\r\n this.y = y;\r\n }",
"public void setPosition(Point newPosition);",
"public void setValue(Object param1, Object param2) {\n }",
"public void setSpielzuege1(int p[][]) {\n\t\tthis.spielfeld1 = p;\n\t}",
"public final DragBounds setX1(final double x1)\n {\n m_jso.setX1(x1);\n\n return this;\n }",
"B setM1(M1 m1);",
"B setM1(M1 m1);",
"public T setPoint(@NonNull PointF point) {\n return setPoint(point.x, point.y);\n }",
"public void setInput1(int input1) {\n this.input1 = input1;\n }",
"public Point2D setPoint(int i, double x, double y);",
"public void setValue(int param1Int) {\n/* 294 */ this.s.setValue(-param1Int);\n/* */ }",
"public void setPosition(final Point p) {\n this.position = p;\n }",
"public void setP1Card2(Card p1Card2){\n\t\tthis.p1Card2 = p1Card2;\n\t\trepaint();\n\t}",
"public void setLocation(Point p)\n\t{\n\t\tsetLocation(p.x,p.y);\n\t}",
"public void setOb1(CPointer<BlenderObject> ob1) throws IOException\n\t{\n\t\tlong __address = ((ob1 == null) ? 0 : ob1.getAddress());\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeLong(__io__address + 0, __address);\n\t\t} else {\n\t\t\t__io__block.writeLong(__io__address + 0, __address);\n\t\t}\n\t}",
"public void setLine1(String line1) {\n this.line1 = line1;\n }",
"public Point2D getPoint1() {\n return this.point1;\n }",
"@Override\n\tpublic void setCoordinates(double x1, double y2, double x2, double y1) {\n\t\tthis.x1 = x1;\n\t\tthis.y1 = y1;\n\t\tthis.x2 = x2;\n\t\tthis.y2 = y2;\n\t\t\n\t}",
"public baconhep.TTau.Builder setPt(float value) {\n validate(fields()[0], value);\n this.pt = value;\n fieldSetFlags()[0] = true;\n return this; \n }",
"public void setPoints(String points);",
"public void setSide1(double side1) {\r\n\t\tthis.side1 = side1;\r\n\t}",
"public void setLine1(java.lang.String line1) {\r\n this.line1 = line1;\r\n }",
"public void setP1y(double parseDouble) {\n\t\t\n\t}",
"public void setX(double point) {\n this.x = point;\n }",
"public Point(Point point) {\n super(point.getReferenceX(), point.getReferenceY());\n this.x = point.x;\n this.y = point.y;\n this.setHeight(point.getHeight());\n }",
"public Point3D getPoint1() {\r\n return point1;\r\n }",
"private Point(Point p) {\n\t\tthis.name = p.name;\n\t\tthis.position = p.position.copy();\n\t\tthis.collisionRadius = p.collisionRadius;\n\t}",
"public MyPoint1 (double x, double y) {}",
"public void setFlop1(Card flop1){\n\t\tthis.flop1 = flop1;\n\t\trepaint();\n\t}",
"public void setP1TotalChips(double p1TotalChips){\n\t\tthis.p1TotalChips = p1TotalChips;\n\t\trepaint();\n\t}",
"public void setAddr1(String addr1) {\r\n this.addr1 = addr1;\r\n }",
"public void setB1(int b1)\n {\n this.b1 = b1;\n }",
"public Point(Point point) {\n this.x = point.x;\n this.y = point.y;\n }",
"public int getP1Points() {\n return p1Points;\n }",
"@Override\n public void setLocation(geo_location p) {\n this.location.setX(p.x());\n this.location.setY(p.y());\n this.location.setZ(p.z());\n }",
"public void setPosition(Vector2 p) {\n\t\tpos = p;\n\t}",
"@Override\n\tpublic void setStartPoint(Point startPoint) {\n\t\tthis.startPoint=startPoint;\n\t}",
"public void setX(int x) { this.x=x; }",
"public void setFrameXY(RMPoint aPoint) { setFrameXY(aPoint.x, aPoint.y); }",
"public void setY1(int y1) {\n\t\tthis.y1 = y1;\n\t\tfireListenerSignal();\n\t}",
"public Builder setProperty1(int value) {\n bitField0_ |= 0x00000008;\n property1_ = value;\n \n return this;\n }",
"public void setStartPoint(Point2D p)throws NoninvertibleTransformException{\n if(p == null){\n start = null;\n fastestPath = null;\n removePointer(\"startPointIcon\");\n closeDirectionList();\n routePanel.getStartAddressField().setForeground(Color.gray);\n routePanel.getStartAddressField().setText(\"Enter start address\");\n return;\n }\n //Recalibrate position for precision\n Insets x = getInsets();\n p.setLocation(p.getX(), p.getY() - x.top + x.bottom);\n\n //Transform from screen coordinates to map Values.\n start = transformPoint(p);\n MapPointer startPoint = new MapPointer(start, \"startPointIcon\");\n addPointer(startPoint);\n if(end != null && start != null) //check if a route should be found.\n findFastestRoute(start, end);\n repaint();\n }",
"public void setPt(java.lang.Float value) {\n this.pt = value;\n }",
"public void setY1(Double y1) {\n\t\tthis.y1 = y1;\n\t}",
"public void setObjectAtLocation(Point p, Object o);",
"public void setInput1(final String input1) {\n this.input1 = input1;\n }",
"public void setP(boolean p) {\n\tthis.p = p;\n }",
"public void setPnode(Node<T1> pNode) {\r\n\t\tthis.pnode = pNode;\r\n\t\tcheckRep();\r\n\t}",
"public LineXY( final PointXY p1, final PointXY p2 ) {\n\t\tthis.p1 = p1;\n\t\tthis.p2\t= p2;\n\t}",
"public void setOrigin(Point p) {\n origin = new Point(p);\n }"
] |
[
"0.76494974",
"0.75374794",
"0.75192565",
"0.7281379",
"0.7169862",
"0.71301293",
"0.7071515",
"0.696299",
"0.684572",
"0.6820452",
"0.6801169",
"0.67734474",
"0.6724141",
"0.6695586",
"0.6587306",
"0.6545218",
"0.646474",
"0.64560354",
"0.64420176",
"0.63705575",
"0.6351249",
"0.634332",
"0.6315552",
"0.6308669",
"0.62885845",
"0.6273238",
"0.62346613",
"0.6219073",
"0.6180981",
"0.61758006",
"0.61654586",
"0.61654586",
"0.6156056",
"0.6139258",
"0.6133019",
"0.6120266",
"0.6116979",
"0.6112027",
"0.604207",
"0.60367286",
"0.6025262",
"0.6014669",
"0.6011834",
"0.60108966",
"0.60046226",
"0.599584",
"0.59812933",
"0.59736496",
"0.59714115",
"0.5970254",
"0.5964575",
"0.59439546",
"0.5942517",
"0.5941103",
"0.5939311",
"0.59362715",
"0.59362715",
"0.5935799",
"0.5930501",
"0.5925843",
"0.5898736",
"0.58757406",
"0.58744866",
"0.58714324",
"0.58700556",
"0.586912",
"0.5868585",
"0.58592373",
"0.585383",
"0.58532566",
"0.5848167",
"0.58465624",
"0.5844263",
"0.5828042",
"0.5819817",
"0.5798723",
"0.57958347",
"0.57880604",
"0.5786532",
"0.5774518",
"0.57625085",
"0.5759611",
"0.57518494",
"0.5743096",
"0.5742601",
"0.5742311",
"0.5741886",
"0.5737451",
"0.5735382",
"0.5733936",
"0.57270193",
"0.5718405",
"0.5718023",
"0.57123655",
"0.5692824",
"0.567886",
"0.567865",
"0.56679314",
"0.5664384",
"0.56584287"
] |
0.90909845
|
0
|
/ Name: getP2 Purpose: Accessor for p2 Parameter: None Return: Point
|
public Point getP2(){
return this.p2;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Point2D getPoint2() {\n return this.point2;\n }",
"public GPoint getSecondPoint(){\n return(point2);\n }",
"public Point3D getPoint2() {\r\n return point2;\r\n }",
"public IPoint getSecondPoint()\n {\n\n Set<IPoint> vertices = this.getVertices();\n Object[] verticesArray = vertices.toArray();\n IPoint secondPoint = (IPoint)verticesArray[1];\n\n return secondPoint;\n }",
"public double getX2() {\n\t\treturn p2.x;\n\t}",
"public double getY2() {\n\t\treturn p2.y;\n\t}",
"public Player getP2() {\n return p2;\n }",
"public ResultPoint getRp2() {\n return rp2;\n }",
"private void setP2( Point p2 ){\n this.p2=p2;\n }",
"public Vector2 getPos2() {\n\t\treturn pos2;\n\t}",
"public Point2D getPoint1() {\n return this.point1;\n }",
"public int getP2Points() {\n return p2Points;\n }",
"public Point getPoint1() {\r\n return p1;\r\n }",
"public Point getP1(){\n return this.p1;\n }",
"public Double getY2() {\n\t\treturn y2;\n\t}",
"public double getY2()\n {\n return m_Y2;\n }",
"public double getY2()\n\t{\n\t\treturn this.y[2];\n\t}",
"public ServerPlayer getP2() {\r\n\t\treturn p2;\r\n\t}",
"@Override\r\n\tpublic vec2 get2(String ponits) {\n\t\treturn null;\r\n\t}",
"public double getX2()\n\t{\n\t\treturn this.x[2];\n\t}",
"@Basic\r\n\tpublic Position getPosition2() \r\n\t{\r\n\t\treturn this.position2;\r\n\t}",
"public int getPointsP2() {\r\n\r\n pointsP2 = pointsP + getPointsPlayer3();\r\n\r\n if (pointsP2 >= 10) {\r\n pointsP2 -= 10;\r\n }\r\n return pointsP2;\r\n }",
"public double getX2()\n {\n return m_X2;\n }",
"public Value get(Point2D p) {\n if (p == null) throw new IllegalArgumentException(\"p cannot be null\");\n return get(p, root);\n }",
"public abstract Point2D getPosition();",
"public Double getX2() {\n\t\treturn x2;\n\t}",
"public Value get(Point2D p) {\n if (p == null) {\n throw new NullPointerException();\n }\n return bst.get(p);\n }",
"public int getY2() {\n\t\treturn y2;\n\t}",
"@Override\n\tProp getp2() {\n\t\treturn null;\n\t}",
"public byte getP2() {\n return this.apdu_buffer[P2];\n }",
"public Value get(Point2D p) {\n\n\t\tif (p == null)\n\t\t\tthrow new NullPointerException(\"Point can not be null\");\n\t\treturn get(root, p, true);\n\n\t}",
"public Double getMouse2()\n {\n return this.mouse2;\n }",
"godot.wire.Wire.Vector2 getVector2Value();",
"public CVector getV2() {\n\treturn v2;\n }",
"public PileupElement getSecond() { return PE2; }",
"private Point methodTwo(BigInteger xp, BigInteger xq, BigInteger yp,\n\t\t\tBigInteger yq) {\n\t\tPoint res = new Point();\n\t\tBigInteger s = (THREE.multiply(xp.multiply(xp)).add(a)).mod(zp)\n\t\t\t\t.multiply(yp.add(yp).modInverse(zp)).mod(zp);\n\t\tres.setX(s.multiply(s).subtract(xp).subtract(xq).mod(zp));\n\t\tres.setY(s.multiply(xp.subtract(res.getX())).subtract(yp).mod(zp));\n\t\treturn res;\n\t}",
"public final double getY2()\n {\n return m_jso.getY2();\n }",
"public byte[] getP1P2() {\n\treturn new byte[]{getP1(), getP2()};\n }",
"public static Point2D.Double findPositionGeneralizationMember(Point2D.Double point, Point2D.Double point2){\r\n\r\n\t\tPoint2D.Double newpoint = new Point2D.Double();\r\n\t\tnewpoint.y=point2.y;\r\n\t\tif(point.getX()>point2.getX()){\t\r\n\t\t\tnewpoint.x=point.getX()+150;\r\n\t\t}else{\r\n\t\t\tnewpoint.x=point.getX()-150;\r\n\t\t}\r\n\t\treturn newpoint;\r\n\t}",
"public double getSide2() {\r\n\t\treturn side2;\r\n\t}",
"public byte getP2() {\n\treturn (byte) (header[3] & 0xFF);\n }",
"public Point2D getLocation();",
"public int getX2() {\n\t\treturn x2;\n\t}",
"public int getProperty2() {\n return property2_;\n }",
"public int getProperty2() {\n return property2_;\n }",
"void setP2p(int p2p);",
"double getside2(){\n\t\treturn side2;\n\t}",
"public ResourcesOrPoints getGive2() {\n\t\treturn give2;\n\t}",
"public Point2 getPosition() {\r\n return this.position;\r\n }",
"public double getY() {\n\t\treturn point[1];\n\t}",
"public Object getValue2() { return this.value2; }",
"public T2 _2() {\n return _2;\n }",
"private double findYByX(double x, Point2D p1, Point2D p2) {\n \t\tdouble x1 = p1.getX();\n \t\tdouble y1 = p1.getY();\n \t\tdouble x2 = p2.getX();\n \t\tdouble y2 = p2.getY();\n \t\tdouble k = (y2-y1)/(x2-x1);\n \t\tdouble b = y1-k*x1;\n \t\treturn k*x+b;\n }",
"public final double getX2()\n {\n return m_jso.getX2();\n }",
"public int getd2() {\n\t\treturn d2;\n\t}",
"public abstract ParamNumber getParamY();",
"public static AltBn128Fq2Point g2() {\n final Fq2 x =\n Fq2.create(\n new BigInteger(\n \"10857046999023057135944570762232829481370756359578518086990519993285655852781\"),\n new BigInteger(\n \"11559732032986387107991004021392285783925812861821192530917403151452391805634\"));\n final Fq2 y =\n Fq2.create(\n new BigInteger(\n \"8495653923123431417604973247489272438418190587263600148770280649306958101930\"),\n new BigInteger(\n \"4082367875863433681332203403145435568316851327593401208105741076214120093531\"));\n return new AltBn128Fq2Point(x, y);\n }",
"public java.lang.Integer getParameterType2() {\r\n return parameterType2;\r\n }",
"private double getParam(Point p1, Point p2, double[] v1, double[] v2){\n\t\tdouble r;\n\t\t\n\t\tdouble l = _highwayLength;\n\t\t\n\t\t// auxiliary variables\n\t\tdouble A = (Math.pow(v1[0] - v2[0], 2.0)) + (Math.pow(v1[1] - v2[1], 2.0));\n\t\tdouble B = (2 * (p1.posX - p2.posX) * (v1[0] - v2[0])) + (2 * (p1.posY - p2.posY) * (v1[1] - v2[1]));\n\t\tdouble C = (Math.pow(p1.posX - p2.posX, 2.0)) + (Math.pow(p1.posY - p2.posY, 2.0));\n\t\t\n\t\t// using pq formula to find r\n\t\tdouble phalf = B / (2 * A);\n\t\tdouble q = ((C - (l * l)) / A);\n\t\tdouble r1 = - phalf + Math.sqrt((phalf * phalf) - q);\n\t\tdouble r2 = - phalf - Math.sqrt((phalf * phalf) - q);\n\t\t\n\t\tif (r1 >= 0 && r1 <= 1) r = r1;\n\t\telse r = r2;\n\t\t\n\t\treturn r;\n\t}",
"public Vector2 getPosition();",
"@Override\r\n\tpublic double getY2() {\n\t\treturn 0;\r\n\t}",
"public void setP2(Player p2) {\n this.p2 = p2;\n }",
"public Object getV2(){\n \treturn v2;\n }",
"public Position getSecond() {\n return positions[1];\n }",
"public Node getL2pNode() {\n\t\treturn myNode;\n\t}",
"public Vector2D getPosition ();",
"public int getInput2() {\n return input2;\n }",
"public String toString() {\n return \"<VariablePoint2: (\"+getX()+\", \"+getY()+\")>\";\n }",
"public void setP2(Point point){\n\t\tif((point.getX() <= getP1().getX()) || (point.getY() <= getP1().getY())){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tsuper.setP2(point);\n\t}",
"public static Point2D fromGridPoint2(GridPoint2 gridPoint2) {\n return new Point2D(gridPoint2.x, gridPoint2.y);\n }",
"public void setPoint2(Point3D point2) {\r\n this.point2 = point2;\r\n }",
"public Pawn getPawn2() {\n return pawn2;\n }",
"public double getSolutionX2() {\n this.polySolve();\n if (this.real) {\n return this.x2;\n } else {\n return 0010;\n }\n\n }",
"public float getField2() {\n return field2_;\n }",
"public float getField2() {\n return field2_;\n }",
"public int getPointsC2() {\r\n pointsC2 = pointsC + getPointsCroupier3();\r\n\r\n if (pointsC2 >= 10) {\r\n pointsC2 -= 10;\r\n }\r\n\r\n return pointsC2;\r\n }",
"public static Point2D.Double findPositionGeneralization(Point2D.Double point, Point2D.Double point2){\r\n\r\n\t\tPoint2D.Double newpoint = new Point2D.Double();\r\n\t\tif(Math.abs(point.getX()-point2.getX())>Math.abs(point.getY()-point2.getY())){\t\r\n\t\t\tif(point.getX()>point2.getX())\r\n\t\t\t\tnewpoint.x=(point.getX()+point2.getX())/2;\r\n\t\t\telse\r\n\t\t\t\tnewpoint.x=(point2.getX()+point.getX())/2;\r\n\r\n\t\t\tif(point.getY()<point2.getY())\r\n\t\t\t\tnewpoint.y=point.getY()-110;\r\n\t\t\telse\r\n\t\t\t\tnewpoint.y=point2.getY()-110;\r\n\t\t}else{\r\n\t\t\tif(point.getY()>point2.getY())\r\n\t\t\t\tnewpoint.y=(point.getY()+point2.getY())/2;\r\n\t\t\telse\r\n\t\t\t\tnewpoint.y=(point2.getY()+point.getY())/2;\r\n\r\n\t\t\tif(point.getX()<point2.getX())\r\n\t\t\t\tnewpoint.x=point.getX()+150;\r\n\t\t\telse\r\n\t\t\t\tnewpoint.x=point2.getX()+150;\r\n\r\n\t\t}\r\n\t\treturn newpoint;\r\n\t}",
"public float getW2 () {\r\n return w2;\r\n }",
"public int getBx2() {\r\n return Bx2;\r\n }",
"public double getOperand2()\r\n\t{\r\n\t\tSystem.out.println(\"enter the operand 2:\");\r\n\t\tdouble op2=sc.nextDouble();\r\n\t\treturn op2;\r\n\t}",
"private <T extends CalculusFieldElement<T>> FieldVector3D<T>\n getL2(final FieldVector3D<T> primaryToSecondary) {\n\n // mass ratio\n final double massRatio = secondaryBody.getGM() / primaryBody.getGM();\n\n // Approximate position of L2 point, valid when m2 << m1\n final T bigR = primaryToSecondary.getNorm();\n final T baseR = bigR.multiply(FastMath.cbrt(massRatio / 3) + 1);\n\n // Accurate position of L2 point, by solving the L2 equilibrium equation\n final CalculusFieldUnivariateFunction<T> l2Equation = r -> {\n final T rminusbigR = r.subtract(bigR);\n final T lhs1 = r.multiply(r).reciprocal();\n final T lhs2 = rminusbigR.multiply(rminusbigR).reciprocal().multiply(massRatio);\n final T rhs1 = bigR.multiply(bigR).reciprocal();\n final T rhs2 = rminusbigR.multiply(rhs1).multiply(1 + massRatio).divide(bigR);\n return lhs1.add(lhs2).subtract(rhs1.add(rhs2));\n };\n final T zero = primaryToSecondary.getX().getField().getZero();\n final T[] searchInterval = UnivariateSolverUtils.bracket(l2Equation,\n baseR, zero, bigR.multiply(2),\n bigR.multiply(0.01), zero.add(1),\n MAX_EVALUATIONS);\n\n\n final T relativeAccuracy = zero.add(RELATIVE_ACCURACY);\n final T absoluteAccuracy = zero.add(ABSOLUTE_ACCURACY);\n final T functionAccuracy = zero.add(FUNCTION_ACCURACY);\n\n final FieldBracketingNthOrderBrentSolver<T> solver =\n new FieldBracketingNthOrderBrentSolver<>(relativeAccuracy,\n absoluteAccuracy,\n functionAccuracy,\n MAX_ORDER);\n final T r = solver.solve(MAX_EVALUATIONS, l2Equation,\n searchInterval[0], searchInterval[1],\n AllowedSolution.ANY_SIDE);\n\n // L2 point is built\n return new FieldVector3D<>(r.divide(bigR), primaryToSecondary);\n\n }",
"Vector2 getPosition();",
"public Point3D getPoint1() {\r\n return point1;\r\n }",
"public Point2D(Point2D point){\n \n //on peut faire point.x et point.y puisqu'on est dans la classe\n this.x = point.x;\n this.y = point.y;\n }",
"@java.lang.Override\n public POGOProtos.Rpc.HoloPokemonMove getMove2() {\n @SuppressWarnings(\"deprecation\")\n POGOProtos.Rpc.HoloPokemonMove result = POGOProtos.Rpc.HoloPokemonMove.valueOf(move2_);\n return result == null ? POGOProtos.Rpc.HoloPokemonMove.UNRECOGNIZED : result;\n }",
"public Vector2 toVector2()\n {\n return new Vector2(this.x, this.z);\n }",
"public Float getT1B11P2() {\r\n return t1B11P2;\r\n }",
"@java.lang.Override public POGOProtos.Rpc.HoloPokemonMove getMove2() {\n @SuppressWarnings(\"deprecation\")\n POGOProtos.Rpc.HoloPokemonMove result = POGOProtos.Rpc.HoloPokemonMove.valueOf(move2_);\n return result == null ? POGOProtos.Rpc.HoloPokemonMove.UNRECOGNIZED : result;\n }",
"public String getLine2() {\n return line2;\n }",
"public ResourcesOrPoints getReceive2() {\n\t\treturn receive2;\n\t}",
"public Point getP3(){\n return this.p3;\n }",
"public Point2D getPosition()\n {\n return mPosition;\n }",
"public Point2D\nptAtT(double t)\n{\n\treturn(new Point2D.Double(\n\t\tthis.getP1().getX() + t *\n\t\t\t(this.getP2().getX() - this.getP1().getX()),\n\t\tthis.getP1().getY() + t *\n\t\t\t(this.getP2().getY() - this.getP1().getY())));\n}",
"public T2 getSecond() {\n\t\treturn second;\n\t}",
"public String getSide2() { return side2; }",
"public Vector2 getPos1() {\n\t\treturn pos1;\n\t}",
"public org.astrogrid.stc.coords.v1_10.beans.Size2Type getResolution2()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.astrogrid.stc.coords.v1_10.beans.Size2Type target = null;\n target = (org.astrogrid.stc.coords.v1_10.beans.Size2Type)get_store().find_element_user(RESOLUTION2$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }",
"public int getPlayerTwoPoints() {\n if (gameStatus == null) return -1;\n return gameStatus.getPlayerTwoPoints();\n }",
"public Position2D get2DPoint(Position3D point3D) {\r\n\t\tif(this.onPlane(point3D)) {\r\n\t\t\t\r\n\t\t\tVector3D dirOfPoint = this.pos.getDirection(point3D);\r\n\t\t\tVector3D xDir = this.vecX.proj(dirOfPoint);\r\n\t\t\tVector3D yDir = this.vecY.proj(dirOfPoint);\r\n\t\t\t\r\n\t\t\tPosition2D point2D = new Position2D();\r\n\t\t\t\r\n\t\t\tif (xDir.dot(this.vecX) > 0) {\r\n\t\t\t\tpoint2D.setX(xDir.getLength());\r\n\t\t\t} else {\r\n\t\t\t\tpoint2D.setX(-xDir.getLength());\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif (yDir.dot(this.vecY) > 0) {\r\n\t\t\t\tpoint2D.setY(yDir.getLength());\r\n\t\t\t} else {\r\n\t\t\t\tpoint2D.setY(-yDir.getLength());\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn point2D;\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"public String getPra2() {\n return pra2;\n }"
] |
[
"0.8286237",
"0.7866755",
"0.7850316",
"0.7469282",
"0.7448721",
"0.74406976",
"0.73862183",
"0.71603024",
"0.7156841",
"0.71455413",
"0.7114456",
"0.7105068",
"0.70303285",
"0.69901115",
"0.6985438",
"0.6945167",
"0.692615",
"0.6923109",
"0.6914532",
"0.69005436",
"0.68886924",
"0.6858141",
"0.6800322",
"0.6749264",
"0.6745698",
"0.6739794",
"0.6736375",
"0.6709948",
"0.67053246",
"0.6685279",
"0.667461",
"0.6622465",
"0.65483725",
"0.65370506",
"0.6503307",
"0.64838505",
"0.64636153",
"0.6462669",
"0.64482147",
"0.6447718",
"0.6444929",
"0.644353",
"0.6431654",
"0.64081824",
"0.6391864",
"0.6376159",
"0.63639337",
"0.63483834",
"0.62429804",
"0.6229748",
"0.6214304",
"0.62083113",
"0.61923194",
"0.6189096",
"0.618606",
"0.6169165",
"0.6167957",
"0.6138759",
"0.61255205",
"0.61237174",
"0.6105766",
"0.6105594",
"0.61006504",
"0.60789937",
"0.60525614",
"0.60327303",
"0.6010483",
"0.6009054",
"0.60062987",
"0.5997682",
"0.59924334",
"0.59828264",
"0.5965051",
"0.5958392",
"0.59542626",
"0.5953277",
"0.59528613",
"0.5945616",
"0.5939247",
"0.59387183",
"0.5921801",
"0.5913347",
"0.59037703",
"0.5894816",
"0.5894154",
"0.589317",
"0.58928496",
"0.5888866",
"0.5864327",
"0.5858897",
"0.58577794",
"0.58532494",
"0.58495975",
"0.5841816",
"0.5835913",
"0.5833099",
"0.58168787",
"0.58158726",
"0.58069676",
"0.5805919"
] |
0.86975276
|
0
|
/ Name: setP2 Purpose: Mutator for p2 Parameter: Point P2 Return: void
|
private void setP2( Point p2 ){
this.p2=p2;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"void setP2p(int p2p);",
"public void setP2(Player p2) {\n this.p2 = p2;\n }",
"public void setP2(Point point){\n\t\tif((point.getX() <= getP1().getX()) || (point.getY() <= getP1().getY())){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tsuper.setP2(point);\n\t}",
"public void setPoint2(Point3D point2) {\r\n this.point2 = point2;\r\n }",
"public void setLocation(Point2D p);",
"private void setP1( Point p1 ){\n this.p1=p1;\n }",
"public void setP2(ServerPlayer p2) {\r\n\t\tthis.p2 = p2;\r\n\t}",
"void setPos2(Vector2 pos2) {\n\t\tthis.pos2 = pos2;\n\t}",
"protected void setP1P2(byte[] p1p2) {\n\tsetP1(p1p2[0]);\n\tsetP2(p1p2[1]);\n }",
"public abstract void setPosition(Point2D position);",
"protected void setP2(byte p2) {\n\theader[3] = p2;\n }",
"public abstract void setPoint(Point p);",
"public Point getP2(){\n return this.p2;\n }",
"public void setValue2(Object value2) { this.value2 = value2; }",
"public void setXY(Point2D aPoint) { setXY(aPoint.getX(), aPoint.getY()); }",
"public Point2D setPoint(int i, double x, double y);",
"public void setPosition(Vector2 p) {\n\t\tpos = p;\n\t}",
"public void setP2Card2(Card p2Card2){\n\t\tthis.p2Card2 = p2Card2;\n\t\trepaint();\n\t}",
"public void setOb2(CPointer<BlenderObject> ob2) throws IOException\n\t{\n\t\tlong __address = ((ob2 == null) ? 0 : ob2.getAddress());\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeLong(__io__address + 8, __address);\n\t\t} else {\n\t\t\t__io__block.writeLong(__io__address + 4, __address);\n\t\t}\n\t}",
"public void setPosition(Vector2 position);",
"public void set(Point p)\r\n\t{\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t}",
"public void setPosition(Point2D position)\n {\n mPosition = position;\n }",
"public void setP2Card1(Card p2Card1){\n\t\tthis.p2Card1 = p2Card1;\n\t\trepaint();\n\t}",
"public Point2D(Point2D point){\n \n //on peut faire point.x et point.y puisqu'on est dans la classe\n this.x = point.x;\n this.y = point.y;\n }",
"KMutableProperty2Impl$_setter$1(KMutableProperty2Impl kMutableProperty2Impl) {\n super(0);\n this.this$0 = kMutableProperty2Impl;\n }",
"public void setX2()\n\t{\n\t\tthis.x[2] = this.x[0] + (this.length)/2;\n\t}",
"public void setX2(Double x2) {\n\t\tthis.x2 = x2;\n\t}",
"public void setX2(int x2) {\n\t\tthis.x2 = x2;\n\t\tfireListenerSignal();\n\t}",
"public void setPosition(Point2 position) {\r\n this.position = position;\r\n }",
"public Point2D getPoint2() {\n return this.point2;\n }",
"public Vector2 Assign(Vector2 vector2){\n x = vector2.x;\n y = vector2.y;\n return this;\n }",
"public void setP1(Point point){\n\t\tif((point.getX() >= getP2().getX()) || (point.getY() >= getP2().getY())){\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tsuper.setP1(point);\n\t}",
"public void setP2x(double parseDouble) {\n\t\t\n\t}",
"public Builder setProperty2(int value) {\n bitField0_ |= 0x00000010;\n property2_ = value;\n \n return this;\n }",
"public void setValue2(final java.lang.String value2) {\n this.value2 = value2;\n }",
"void setPos1(Vector2 pos1) {\n\t\tthis.pos1 = pos1;\n\t}",
"public void set(Vec2 v) {\r\n\t\tx = v.x;\r\n\t\ty = v.y;\r\n\t}",
"public void setP1Card2(Card p1Card2){\n\t\tthis.p1Card2 = p1Card2;\n\t\trepaint();\n\t}",
"public void setY2(int y2) {\n\t\tthis.y2 = y2;\n\t\tfireListenerSignal();\n\t}",
"public void setY2(Double y2) {\n\t\tthis.y2 = y2;\n\t}",
"public void setMove2(char playerTwo, int location) {\n\t\t\n\t}",
"public void setA2(int a2)\n {\n this.a2 = a2;\n }",
"void setPosition(Point point);",
"public void setSide2(double side2) {\r\n\t\tthis.side2 = side2;\r\n\t}",
"public void setP(Double p);",
"public Point3D getPoint2() {\r\n return point2;\r\n }",
"public void setPawn2(Pawn pawn2) {\n this.pawn2 = pawn2;\n }",
"public GPoint getSecondPoint(){\n return(point2);\n }",
"public void setInput2(int input2) {\n this.input2 = input2;\n }",
"public void setLine2(String line2) {\n this.line2 = line2;\n }",
"public void setLine2(java.lang.String line2) {\r\n this.line2 = line2;\r\n }",
"public void setB2(int b2)\n {\n this.b2 = b2;\n }",
"public void setValue(Object param1, Object param2) {\n }",
"@Override\n\tpublic void setCoordinates(double x1, double y2, double x2, double y1) {\n\t\tthis.x1 = x1;\n\t\tthis.y1 = y1;\n\t\tthis.x2 = x2;\n\t\tthis.y2 = y2;\n\t\t\n\t}",
"void setPose(IPose2D newPose);",
"public void setP2y(double parseDouble) {\n\t\t\n\t}",
"public void setValue2 (String Value2);",
"public FractalTrace setX2(double value) throws ParameterOutOfRangeException\n {\n\t\tif(value > 50.00 || value < -50.00)\n\t {\n\t throw new ParameterOutOfRangeException(value, -50.00, 50.00);\n\t }\n\n m_X2 = value;\n setProperty(\"X2\", value);\n return this;\n }",
"public void SetY2()\n\t{\n\t\tdouble h;\n\t\th = Math.pow(this.length, 2) - Math.pow((this.length/2), 2);\n\t\th = Math.sqrt(h);\n\t\tthis.y[2] = this.y[0] - h;\n\t}",
"public void setEndPoint(Point2D p)throws NoninvertibleTransformException{\n if(p == null){ //if given null it removes the point and path.\n end = null;\n fastestPath = null;\n removePointer(\"endPointIcon\");\n closeDirectionList();\n routePanel.getEndAddressField().setForeground(Color.gray);\n routePanel.getEndAddressField().setText(\"Enter end address\");\n return;\n }\n Insets x = getInsets(); //Recalibrate position for precision\n p.setLocation(p.getX(), p.getY() - x.top + x.bottom);\n end = transformPoint(p);\n\n addPointer(new MapPointer(end, \"endPointIcon\".intern()));\n if(end != null && start != null)\n findFastestRoute(start, end);\n repaint();\n }",
"public void setFlop2(Card flop2){\n\t\tthis.flop2 = flop2;\n\t\trepaint();\n\t}",
"private void setP3( Point p3 ){\n this.p3=p3;\n }",
"public void setSpielzuege2(int p[][]) {\n\t\tthis.spielfeld2 = p;\n\t}",
"public void setPosition(final Vector2f position);",
"@Override\n\tpublic void setField2(boolean field2) {\n\t\t_second.setField2(field2);\n\t}",
"public void setLocation( Point p ) {\r\n this.x = p.x;\r\n this.y = p.y;\r\n }",
"public void setP1(Player p1) {\n this.p1 = p1;\n }",
"public void setPoint(double point){\r\n this.point = point;\r\n }",
"public LineXY( final PointXY p1, final PointXY p2 ) {\n\t\tthis.p1 = p1;\n\t\tthis.p2\t= p2;\n\t}",
"public VariablePoint2(){\n super(0, 0);\n x = 0;\n y = 0;\n }",
"public void setP2ValueInInt(int p2ValueInInt) {\n\t\tP2ValueInInt = p2ValueInInt;\n\t\trepaint();\n\t}",
"public Point2D()\n {\n this.x = this.y = 0f;\n }",
"public void setPoint(int x, int y) {\r\n this.x = x;\r\n this.y = y;\r\n }",
"public Vector2f set (Vector2f other)\n {\n return set(other.x, other.y);\n }",
"public void setPosition(Position p);",
"public void put(Point2D p, Value val) {\n if (p == null || val == null) throw new IllegalArgumentException(\"input null\");\n root = put(p, val, root, rootVertical);\n }",
"public final DragBounds setX2(final double x2)\n {\n m_jso.setX2(x2);\n\n return this;\n }",
"public VariablePoint2(double x, double y){\n super(x, y);\n this.x = x;\n this.y = y;\n }",
"public void setAddr2(String addr2) {\r\n this.addr2 = addr2;\r\n }",
"public void put(Point2D p, Value val) {\n if (p == null) {\n throw new NullPointerException();\n }\n \n bst.put(p, val);\n }",
"public void setPosition(Point newPosition);",
"@Override\n\tpublic void setStreet2(java.lang.String street2) {\n\t\t_candidate.setStreet2(street2);\n\t}",
"void setEnemyPos(Point2D pos);",
"public void swap() {\n Point2D temp = this.point1;\n this.point1 = this.point2;\n this.point2 = temp;\n }",
"public void setParameterType2(java.lang.Integer parameterType2) {\r\n this.parameterType2 = parameterType2;\r\n }",
"public FractalTrace setY2(double value) throws ParameterOutOfRangeException\n {\n\t\tif(value > 50.00 || value < -50.00)\n\t {\n\t throw new ParameterOutOfRangeException(value, -50.00, 50.00);\n\t }\n\n m_Y2 = value;\n setProperty(\"Y2\", value);\n return this;\n }",
"public void setResolution2(org.astrogrid.stc.coords.v1_10.beans.Size2Type resolution2)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.astrogrid.stc.coords.v1_10.beans.Size2Type target = null;\n target = (org.astrogrid.stc.coords.v1_10.beans.Size2Type)get_store().find_element_user(RESOLUTION2$0, 0);\n if (target == null)\n {\n target = (org.astrogrid.stc.coords.v1_10.beans.Size2Type)get_store().add_element_user(RESOLUTION2$0);\n }\n target.set(resolution2);\n }\n }",
"public void setCurve (IPoint p1, IPoint cp, IPoint p2) {\n setCurve(p1.x(), p1.y(), cp.x(), cp.y(), p2.x(), p2.y());\n }",
"public void setSide2(String side2) {\n \tthis.side2 = side2;\n }",
"public void setInput2(final String input2) {\n this.input2 = input2;\n }",
"void setPosition(Position p);",
"public final DragBounds setY2(final double y2)\n {\n m_jso.setY2(y2);\n\n return this;\n }",
"public void setPosition(Point position);",
"public Vector2f (float x, float y)\n {\n set(x, y);\n }",
"public Builder setData2(int value) {\n bitField0_ |= 0x00000004;\n data2_ = value;\n \n return this;\n }",
"public Builder setData2(int value) {\n bitField0_ |= 0x00000004;\n data2_ = value;\n \n return this;\n }",
"public void setPosition(Point p) {\r\n\t\tthis.position = p;\r\n\t\tc.setPosition(p);\r\n\t}",
"public void setP1(ServerPlayer p1) {\r\n\t\tthis.p1 = p1;\r\n\t}",
"public void setY(double point) {\n this.y = point;\n }",
"public void setPoint1(Point3D point1) {\r\n this.point1 = point1;\r\n }"
] |
[
"0.8099879",
"0.7627279",
"0.76112074",
"0.7552706",
"0.7519155",
"0.73526603",
"0.7289643",
"0.72273207",
"0.71857667",
"0.7159037",
"0.69816893",
"0.69618994",
"0.6938398",
"0.6933772",
"0.68220675",
"0.681848",
"0.67835325",
"0.6765071",
"0.6648621",
"0.6635011",
"0.6631108",
"0.65959585",
"0.6566395",
"0.65660596",
"0.65238667",
"0.646727",
"0.64636445",
"0.6460809",
"0.6452363",
"0.64260864",
"0.64067125",
"0.6405519",
"0.6329756",
"0.63248515",
"0.6321881",
"0.6307965",
"0.62604177",
"0.62493914",
"0.6228476",
"0.62130314",
"0.62127864",
"0.61838466",
"0.6169671",
"0.6158857",
"0.61445034",
"0.61346966",
"0.61103415",
"0.6109978",
"0.6106475",
"0.6105844",
"0.61019135",
"0.60985166",
"0.6093419",
"0.6083715",
"0.60803545",
"0.60763776",
"0.6059222",
"0.6036007",
"0.60347825",
"0.60151434",
"0.6003238",
"0.5998741",
"0.59946597",
"0.59913635",
"0.599051",
"0.59669745",
"0.5961068",
"0.592764",
"0.59257084",
"0.59206486",
"0.5918407",
"0.5917512",
"0.5900464",
"0.58933794",
"0.5892877",
"0.589176",
"0.58873826",
"0.58844495",
"0.5878632",
"0.58761644",
"0.5868583",
"0.58625776",
"0.5862137",
"0.58545643",
"0.58528894",
"0.58467513",
"0.5845234",
"0.584117",
"0.5840104",
"0.58324474",
"0.58322084",
"0.5826512",
"0.58230346",
"0.58126545",
"0.5805717",
"0.5805717",
"0.57922035",
"0.579155",
"0.5770522",
"0.5758541"
] |
0.904104
|
0
|
/ Name: getP3 Purpose: Accessor for p3 Parameter: None Return: Point
|
public Point getP3(){
return this.p3;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public IPoint getThirdPoint()\n {\n\n Set<IPoint> vertices = this.getVertices();\n Object[] verticesArray = vertices.toArray();\n IPoint thirdPoint = (IPoint)verticesArray[2];\n\n return thirdPoint;\n }",
"public Point3 getPoint(int pointNr);",
"public ResultPoint getRp3() {\n return rp3;\n }",
"private void setP3( Point p3 ){\n this.p3=p3;\n }",
"@Override\r\n\tpublic vec3 get3(String ponits) {\n\t\treturn null;\r\n\t}",
"public Point3D getPoint() {\r\n\t\treturn point;\r\n\t}",
"public Point3(Point3 p) {\n this.x = p.x; this.y = p.y; this.z = p.z;\n }",
"public Point3D getP0() {\n\t\treturn _p0;\n\t}",
"public Point3D getPoint1() {\r\n return point1;\r\n }",
"public Point3D getLocation() {\n\t\treturn p;\n\t}",
"public double getPositionToP3()\r\n\t{\r\n\t\tdouble max = 0;\r\n\t\tfor(Unit u : units)\r\n\t\t{\r\n\t\t\tif(u instanceof Gate)\r\n\t\t\t\tcontinue;\r\n\t\t\tdouble d = u.getPositionAlongCurve() + u.getRadius()/owner.getLength();\r\n\t\t\tif(d > max)\r\n\t\t\t\tmax = d;\r\n\t\t}\r\n\t\tif(max < 0)\r\n\t\t\tmax = 0;\r\n\t\tif(max > 1)\r\n\t\t\tmax = 1;\r\n\t\treturn 1 - max;\r\n\t}",
"public Point3(double x_, double y_, double z_) {\n x = x_; y = y_; z = z_;\n }",
"public us.ihmc.euclid.geometry.Pose3D getPose()\n {\n return pose_;\n }",
"public Double getMouse3()\n {\n return this.mouse3;\n }",
"public java.lang.Double getVar3() {\n return var3;\n }",
"godot.wire.Wire.Vector3 getVector3Value();",
"public java.lang.Double getVar3() {\n return var3;\n }",
"Point3D (double x, double y, double z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public double getSide3() {\r\n\t\treturn side3;\r\n\t}",
"public String getParameter3() {\n return parameter3;\n }",
"public Vector getL(Point3D p){\n if (p.equals(_position)) {\n return null;\n }\n return p.subtract(_position).normalize();\n }",
"public Point3D getPoint(double t) {\n\t\ttry {\n\t\t\tif (Util.isZero(t))\n\t\t\t\treturn _p0;\n\t\t\treturn _p0.add(_dir.scale(t));\n\t\t} catch (IllegalArgumentException e) {\n\t\t\treturn _p0;\n\t\t}\n\n\t}",
"public us.ihmc.euclid.tuple3D.Point3D getMousePoint()\n {\n return mouse_point_;\n }",
"double getside3(){\n\t\treturn side3;\n\t}",
"public Point3 add(Point3 p) {\n Point3 res = new Point3(x + p.x, y + p.y, z + p.z);\n return res;\n }",
"public Point3D getA() {\r\n return a;\r\n }",
"public T3 _3() {\n return _3;\n }",
"public Point3D getD() {\r\n return d;\r\n }",
"public Float getT1B11P3() {\r\n return t1B11P3;\r\n }",
"public Point3D getC() {\r\n return c;\r\n }",
"public double getField3() {\n return field3_;\n }",
"public double getField3() {\n return field3_;\n }",
"public Point3D(double x,double y,double z)\n {\n _x=x;\n _y=y;\n _z=z;\n }",
"public Point3F(float x, float y, float z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public void set(Point3 p) {\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t\tz = p.z;\r\n\t}",
"public SbVec3f\ngetObjectPoint() {\n\treturn getObjectPoint(null);\n}",
"com.google.protobuf.ByteString\n getC3Bytes();",
"public double getSolutionX3() {\n this.polySolve();\n if (this.degree < 3) {\n return 0010;\n } else {\n if (this.real) {\n return this.x3;\n } else {\n return 0010;\n }\n }\n }",
"public Point3D getPoint2() {\r\n return point2;\r\n }",
"public double getQuiz3()\n\t{\n\t\treturn this.quiz3;\n\t}",
"public Vect3 PerpL() {\n\t\treturn new Vect3(-y,x,0);\n\t}",
"public Vect3 PerpR() {\n\t\treturn new Vect3(y,-x,0);\n\t}",
"public float getTemp3() {\n\t\treturn temp3;\n\t}",
"public Point3D subtract(Point3D p) {\n\t\treturn new Point3D(x - p.x, y - p.y, z - p.z);\n\t}",
"Point getRandomPoint() {\n\t\t\t\t\tdouble val = Math.random() * 3;\n\t\t\t\t\tif (val >=0.0 && val <1.0)\n\t\t\t\t\t\treturn p1;\n\t\t\t\t\telse if (val >=1.0 && val <2.0)\n\t\t\t\t\t\t\treturn p2;\n\t\t\t\t\telse\n\t\t\t\t\t\t\treturn p3;\n\t\t\t\t\t}",
"public Z getP() {\n return mP;\n }",
"public Point3(float x, float y, float z) {\r\n\t\tsuper(x, y);\r\n\t\tthis.z = z;\r\n\t}",
"public Vector subtract(Point3D p){\n// return new Vector(\n// p.x.coord- x.coord,\n// p.y.coord- y.coord,\n// p.z.coord- z.coord);\n return new Vector(\n x.coord- p.x.coord,\n y.coord- p.y.coord,\n z.coord- p.z.coord);\n }",
"DVector3C getPosition();",
"public abstract ParamNumber getParamZ();",
"public Point3D(Point3D point) {\n\t this.x = point.x;\n\t this.y = point.y;\n\t this.z = point.z;\n }",
"public T third() {\n return this.third;\n }",
"public String getPra3() {\n return pra3;\n }",
"public float getW3 () {\r\n return w3;\r\n }",
"public Vector3f getPoint(float t) {\r\n\t\tVector3f point = new Vector3f();\r\n\t\tpoint.scaleAdd(t, mDirection, mOrigin);\r\n\t\treturn point;\r\n\t}",
"public Location3D getRallyPoint () {\n return myRallyPoint;\n }",
"CartogramWizardPanelThree getPanelThree ()\n\t{\n\t\treturn mPanelThree;\n\t}",
"public java.lang.Long getC3()\n {\n return this.c3;\n }",
"@java.lang.Override\n public godot.wire.Wire.Vector3 getVector3Value() {\n if (typeCase_ == 8) {\n return (godot.wire.Wire.Vector3) type_;\n }\n return godot.wire.Wire.Vector3.getDefaultInstance();\n }",
"public Point3D getPoint(double delta) {\n return isZero(delta) ? _p0 : _p0.add(_dir.scale(delta));\n }",
"godot.wire.Wire.Vector3OrBuilder getVector3ValueOrBuilder();",
"public Point3 max(Point3 p) {\n return new Point3( Math.max(x, p.x),\n Math.max(y, p.y),\n Math.max(z, p.z) );\n }",
"public final int getParameter(PS3_PARAM param){\n return LIBRARY.CLEyeGetCameraParameter(camera_, param.getIndex());\n }",
"@java.lang.Override public int getMove3Value() {\n return move3_;\n }",
"@java.lang.Override public int getMove3Value() {\n return move3_;\n }",
"public Vec3 toVec3()\n {\n return Vec3.createVectorHelper(this.x, this.y, this.z);\n }",
"public int getXD3 ()\n\t{\n\t\treturn xDimension3;\n\t}",
"public CMLVector3(CMLPoint3 p) {\r\n Vector3 v = new Vector3(p.getEuclidPoint3());\r\n this.setXYZ3(v.getArray());\r\n }",
"public java.lang.Number getComponent3AsNumber() {\n\t\treturn SwiftFormatUtils.getNumber(getComponent(3));\n\t}",
"public Point3D cross(Point3D p) {\n\t\treturn new Point3D(\n\t\t\t\tthis.y*p.z - this.z*p.y, \n\t\t\t\tthis.z*p.x - this.x*p.z, \n\t\t\t\tthis.x*p.y - this.y*p.x);\n\t}",
"public Position2D get2DPoint(Position3D point3D) {\r\n\t\tif(this.onPlane(point3D)) {\r\n\t\t\t\r\n\t\t\tVector3D dirOfPoint = this.pos.getDirection(point3D);\r\n\t\t\tVector3D xDir = this.vecX.proj(dirOfPoint);\r\n\t\t\tVector3D yDir = this.vecY.proj(dirOfPoint);\r\n\t\t\t\r\n\t\t\tPosition2D point2D = new Position2D();\r\n\t\t\t\r\n\t\t\tif (xDir.dot(this.vecX) > 0) {\r\n\t\t\t\tpoint2D.setX(xDir.getLength());\r\n\t\t\t} else {\r\n\t\t\t\tpoint2D.setX(-xDir.getLength());\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif (yDir.dot(this.vecY) > 0) {\r\n\t\t\t\tpoint2D.setY(yDir.getLength());\r\n\t\t\t} else {\r\n\t\t\t\tpoint2D.setY(-yDir.getLength());\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn point2D;\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"int getMove3Value();",
"public double dot(Point3D p) {\n\t\treturn x*p.x + y*p.y + z*p.z;\n\t}",
"public Point3D getNormal(Point3D p){\n\t\treturn this.n;\n\t}",
"public double getDoubleValue3() {\n return doubleValue3_;\n }",
"public String getValue3() { return this.value3; }",
"public double getDoubleValue3() {\n return doubleValue3_;\n }",
"@java.lang.Override\n public godot.wire.Wire.Vector3 getVector3Value() {\n if (vector3ValueBuilder_ == null) {\n if (typeCase_ == 8) {\n return (godot.wire.Wire.Vector3) type_;\n }\n return godot.wire.Wire.Vector3.getDefaultInstance();\n } else {\n if (typeCase_ == 8) {\n return vector3ValueBuilder_.getMessage();\n }\n return godot.wire.Wire.Vector3.getDefaultInstance();\n }\n }",
"public abstract APoint3<DataType> newOffset(DataType x, DataType y, DataType z);",
"public String getThirdNumber() {\n return thirdNumber;\n }",
"public Image getThree();",
"public PdVector get(int i) {\n switch(i)\n {\n case 0: return p1;\n case 1: return p2;\n case 2: return p3;\n default: throw new IndexOutOfBoundsException(\"Triangle indices should be in range [0, 2].\");\n }\n }",
"public java.math.BigDecimal getQtyPeriod3() \r\n {\r\n return get_ValueAsBigDecimal(\"QtyPeriod3\");\r\n \r\n }",
"@java.lang.Override public POGOProtos.Rpc.HoloPokemonMove getMove3() {\n @SuppressWarnings(\"deprecation\")\n POGOProtos.Rpc.HoloPokemonMove result = POGOProtos.Rpc.HoloPokemonMove.valueOf(move3_);\n return result == null ? POGOProtos.Rpc.HoloPokemonMove.UNRECOGNIZED : result;\n }",
"@java.lang.Override\n public POGOProtos.Rpc.HoloPokemonMove getMove3() {\n @SuppressWarnings(\"deprecation\")\n POGOProtos.Rpc.HoloPokemonMove result = POGOProtos.Rpc.HoloPokemonMove.valueOf(move3_);\n return result == null ? POGOProtos.Rpc.HoloPokemonMove.UNRECOGNIZED : result;\n }",
"public double getX3AddSolution() {\n this.polyAddSolve();\n return this.x3add;\n }",
"public void getMarker( int frame, int marker, Tuple3d p ) {\n switch ( coordinateOrder ) {\n case XnZY: \n p.x = dofs[frame][marker*3];\n p.z = -dofs[frame][marker*3+1];\n p.y = dofs[frame][marker*3+2];\n break;\n case ZXY:\n p.z = dofs[frame][marker*3];\n p.x = dofs[frame][marker*3+1];\n p.y = dofs[frame][marker*3+2];\n break;\n }\n }",
"public Vec3d method_2833() {\n return this.field_1649;\n }",
"public\n\tVector3( Point3 point )\n\t{\n\t\tdata = new double[3];\n\t\tcopy( point );\n\t}",
"public double getZ() {\n\t\treturn point[2];\n\t}",
"public Point3 getPointMinus(int pointNr);",
"@java.lang.Override\n public godot.wire.Wire.Vector3OrBuilder getVector3ValueOrBuilder() {\n if (typeCase_ == 8) {\n return (godot.wire.Wire.Vector3) type_;\n }\n return godot.wire.Wire.Vector3.getDefaultInstance();\n }",
"public Point getP1(){\n return this.p1;\n }",
"public void crossInto(final WB_Point3d p, final WB_Normal3d result) {\r\n\t\tresult.x = y * p.z - z * p.y;\r\n\t\tresult.y = z * p.x - x * p.z;\r\n\t\tresult.z = x * p.y - y * p.x;\r\n\t}",
"public Vector3f getPosition() {\r\n\t\treturn this.position;\r\n\t}",
"public Position coord3dToGeoCoord(Point3D p) {\n double lat_cor = java.lang.Math.toDegrees(java.lang.Math.asin(-p.getY()));\n float lat = (float)lat_cor - TEXTURE_LAT_OFFSET;\n\n // First case issue: longitude between 0° and 180° => half the globe\n double lon_cor = java.lang.Math.toDegrees(java.lang.Math.acos(p.getZ()\n / java.lang.Math.cos(java.lang.Math.asin(-p.getY()))));\n\n // Second case issue: longitude between -90° and 90° => half the globe too\n //double lon_cor = java.lang.Math.toDegrees(java.lang.Math.asin(-p.getX()\n // / java.lang.Math.cos(java.lang.Math.asin(-p.getY()))));\n\n float lon = (float)lon_cor - TEXTURE_LON_OFFSET;\n\n return new Position(lat, lon);\n }",
"public Boolean getC3() {\n\t\treturn c3;\n\t}",
"private Vector3d convertToModelAnswer()\r\n {\r\n GeographicPosition pos = (GeographicPosition)EasyMock.getCurrentArguments()[0];\r\n\r\n return pos.asVector3d();\r\n }",
"public double getX3SubSolution() {\n this.polySubSolve();\n return this.x3sub;\n }",
"public Point3 min(Point3 p) {\n return new Point3( Math.min(x, p.x),\n Math.min(y, p.y),\n Math.min(z, p.z) );\n }"
] |
[
"0.7883347",
"0.7817437",
"0.7370058",
"0.727791",
"0.72334486",
"0.71529853",
"0.6951865",
"0.6916233",
"0.687929",
"0.6803111",
"0.67991716",
"0.6648159",
"0.6636446",
"0.6602868",
"0.66008466",
"0.6596201",
"0.6591862",
"0.6561314",
"0.65505546",
"0.65081364",
"0.65066385",
"0.6505029",
"0.64717245",
"0.6430371",
"0.6408673",
"0.6408321",
"0.64048755",
"0.6396381",
"0.6374356",
"0.6364364",
"0.6363549",
"0.6351864",
"0.6344333",
"0.6319183",
"0.6311147",
"0.6300482",
"0.6274432",
"0.62738127",
"0.6268431",
"0.62431794",
"0.6239164",
"0.62165636",
"0.62094694",
"0.62073374",
"0.61979854",
"0.61674315",
"0.6165744",
"0.615783",
"0.6150894",
"0.6140056",
"0.61362267",
"0.6135882",
"0.6125604",
"0.6119352",
"0.6075884",
"0.60476434",
"0.6026237",
"0.6022939",
"0.60177356",
"0.6001289",
"0.5982579",
"0.5980058",
"0.59589416",
"0.5949137",
"0.59386826",
"0.5930981",
"0.5918226",
"0.59167683",
"0.5912568",
"0.5910314",
"0.5904866",
"0.5895834",
"0.5894312",
"0.5893569",
"0.5889124",
"0.58773446",
"0.5865516",
"0.58386785",
"0.58325493",
"0.58247983",
"0.58067816",
"0.57983196",
"0.579733",
"0.57966775",
"0.5794896",
"0.5789033",
"0.5784429",
"0.576791",
"0.57533276",
"0.5748315",
"0.574498",
"0.57373565",
"0.5736338",
"0.57358617",
"0.572264",
"0.5721862",
"0.57191014",
"0.57174826",
"0.5713377",
"0.56953573"
] |
0.86503965
|
0
|
/ Name: setP3 Purpose: Mutator for p3 Parameter: Point P3 Return: void
|
private void setP3( Point p3 ){
this.p3=p3;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void set(Point3 p) {\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t\tz = p.z;\r\n\t}",
"public Point3(Point3 p) {\n this.x = p.x; this.y = p.y; this.z = p.z;\n }",
"public void set(float x, float y, float z);",
"public void setLocation(Point3D p) {\r\n\t\tthis.p = new Point3D(p.longtitude, p.latitude, p.altitude);\r\n\t}",
"public void setPoint1(Point3D point1) {\r\n this.point1 = point1;\r\n }",
"public void assign(Point3D target){\n\t\tthis.x = target.x;\n\t\tthis.y = target.y;\n\t\tthis.z = target.z;\n\t\tthis.w = target.w;\n\t}",
"public Point getP3(){\n return this.p3;\n }",
"void setPosition (double x, double y, double z);",
"public Point3(double x_, double y_, double z_) {\n x = x_; y = y_; z = z_;\n }",
"public void setLoad(Vec3D p) { p_ = p; }",
"public abstract void set(DataType x, DataType y, DataType z);",
"void setPosition (DVector3C xyz);",
"public abstract void setPoint(Point p);",
"void setPosition(Vector3f position);",
"public void setPoint2(Point3D point2) {\r\n this.point2 = point2;\r\n }",
"public CMLVector3(CMLPoint3 p) {\r\n Vector3 v = new Vector3(p.getEuclidPoint3());\r\n this.setXYZ3(v.getArray());\r\n }",
"public void setValue3(String value3) { this.value3 = value3; }",
"public Point3D(Point3D point) {\n\t this.x = point.x;\n\t this.y = point.y;\n\t this.z = point.z;\n }",
"public void set(float x, float y, float z) {\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t\tthis.z = z;\r\n\t}",
"public Point3(float x, float y, float z) {\r\n\t\tsuper(x, y);\r\n\t\tthis.z = z;\r\n\t}",
"public void set(float x, float y, float z) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.z = z;\n\t}",
"public final void set(float x, float y, float z) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.z = z;\n\t}",
"public void setSide3(double side3) {\r\n\t\tthis.side3 = side3;\r\n\t}",
"public\n\tVector3( Point3 point )\n\t{\n\t\tdata = new double[3];\n\t\tcopy( point );\n\t}",
"public void setPosition(Point3D position) {\n\t\tthis.position = position;\n\t}",
"public Point3D(double x,double y,double z)\n {\n _x=x;\n _y=y;\n _z=z;\n }",
"public void setPosition(float x, float y, float z) {\n\t\tposition = new Vectorf3(x, y, z);\n\t\tmodified = true;\n\t}",
"Point3D (double x, double y, double z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public void set(double x, double y, double z)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.z = z;\n\t}",
"public void moveToPoint(double x, double y, double z);",
"public void setFlop3(Card flop3){\n\t\tthis.flop3 = flop3;\n\t\trepaint();\n\t}",
"public Vector3 (double x, double y, double z) {\n set(x, y, z);\n }",
"private void setP1( Point p1 ){\n this.p1=p1;\n }",
"public Vector3 set(float x, float y, float z) {\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t\tthis.z = z;\r\n\t\treturn this;\r\n\t}",
"public Point3F(float x, float y, float z) {\n this.x = x;\n this.y = y;\n this.z = z;\n }",
"public void setParameter3(String parameter3) {\n this.parameter3 = parameter3 == null ? null : parameter3.trim();\n }",
"abstract void setOrigin(double x, double y, double z);",
"void setPos(Vec3 pos);",
"public void set(Point p)\r\n\t{\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t}",
"public Vector3 set (double x, double y, double z) {\n this.x = x;\n this.y = y;\n this.z = z;\n return this;\n }",
"public void\n\tcopy( Point3 point )\n\t{\n\t\tdata[0] = point.x;\n\t\tdata[1] = point.y;\n\t\tdata[2] = point.z;\n\t}",
"public void add(Point3 p) {\r\n\t\tadd(p.x, p.y, p.z);\r\n\t}",
"void setPosition(Point point);",
"public void setRallyPoint (Location3D rallyPoint) {\n myRallyPoint = rallyPoint;\n }",
"public void setXYZ3(double[] xyz3) throws RuntimeException {\r\n if (xyz3.length != 3) {\r\n throw new RuntimeException(\"xyz3 must be of length 3; found: \"\r\n + xyz3.length);\r\n }\r\n this.setXMLContent(xyz3);\r\n }",
"@Override\n\tpublic void setNode_3(java.lang.String node_3) {\n\t\t_dictData.setNode_3(node_3);\n\t}",
"final void set(int param1, Scriptable param2, Object param3) {\n }",
"public void assign(Position p) {\n xCoord = p.xCoord;\n yCoord = p.yCoord;\n zCoord = p.zCoord;\n }",
"public void setPosition(Position p);",
"void setPosition(Position p);",
"@Override\n public void setValue(Point3D value) {\n this.velocity = value;\n }",
"public void setP(Double p);",
"@Override\n\tpublic void setPosition(Vector3d position) {\n\t\t\n\t}",
"public void assign(double x, double y, double z) {\n xCoord = x;\n yCoord = y;\n zCoord = z;\n }",
"public void setPosition(Point position);",
"@Override\n\tpublic void setField3(int field3) {\n\t\t_second.setField3(field3);\n\t}",
"public void setInput3(final String input3) {\n this.input3 = input3;\n }",
"public void subtract(Point3 p) {\r\n\t\tset(this.x - p.x, this.y - p.y, this.z - p.z);\r\n\t}",
"public void\n\tset( double x, double y, double z )\n\t{\n\t\tdata[0] = x;\n\t\tdata[1] = y;\n\t\tdata[2] = z;\n\t}",
"public void setPosition(Point p) {\r\n\t\tthis.position = p;\r\n\t\tc.setPosition(p);\r\n\t}",
"@Override\n\tpublic void setStreet3(java.lang.String street3) {\n\t\t_candidate.setStreet3(street3);\n\t}",
"public void setLine3(String line3) {\n this.line3 = line3;\n }",
"public void setC3(Boolean c3) {\n\t\tthis.c3 = c3;\n\t}",
"public Plane3(Plane3 p) {\n this.a = p.a; this.b = p.b; this.c = p.c; this.v = p.v; this.d = p.d;\n }",
"public void set(AffineTransform3D T) {\r\n\t\tthis.M11 = T.M11;\r\n\t\tthis.M12 = T.M12;\r\n\t\tthis.M13 = T.M13;\r\n\t\tthis.M14 = T.M14;\r\n\t\tthis.M21 = T.M21;\r\n\t\tthis.M22 = T.M22;\r\n\t\tthis.M23 = T.M23;\r\n\t\tthis.M24 = T.M24;\r\n\t\tthis.M31 = T.M31;\r\n\t\tthis.M32 = T.M32;\r\n\t\tthis.M33 = T.M33;\r\n\t\tthis.M34 = T.M34;\r\n\t\tthis.M41 = T.M41;\r\n\t\tthis.M42 = T.M42;\r\n\t\tthis.M43 = T.M43;\r\n\t\tthis.M44 = T.M44;\r\n\t}",
"public Vec3D(Point3D point) {\n\t\tx = point.x;\n\t\ty = point.y;\n\t\tz = point.z;\n\t}",
"public Vector3()\n\t{\n\t\tx = y = z = 0;\n\t}",
"public void setSeed3DPt(Point3D seedPt) {\r\n this.seed3DPt = seedPt;\r\n }",
"public void setPosition(Point newPosition);",
"public Vector3(double x, double y, double z) {\n this.x = x; this.y = y; this.z = z;\n }",
"public boolean setQuiz3(double quiz3)\n\t{\n\t\tboolean isValid;\n\t\t\n\t\tisValid = isValidQuiz3(quiz3);\n\t\t\n\t\tif(isValid)\n\t\t{\n\t\t\tthis.quiz3 = quiz3;\n\t\t}\n\t\t\n\t\treturn isValid;\n\t}",
"private void setP2( Point p2 ){\n this.p2=p2;\n }",
"public void setText3(String text3) {\n this.text3 = text3 == null ? null : text3.trim();\n }",
"public Vector3(double s)\n\t{\n\t\tx = y = z = s;\n\t}",
"public Vec3(Vec3 copy){\n\t\tthis(copy.x, copy.y, copy.z);\n\t}",
"public void setSetpoint(double setpoint);",
"public void setQtyPeriod3 (java.math.BigDecimal QtyPeriod3)\r\n {\r\n set_Value (\"QtyPeriod3\", QtyPeriod3);\r\n \r\n }",
"public static native void Set(long lpjFbxDualQuaternion, double pX1, double pY1, double pZ1, double pW1, double pX2, double pY2, double pZ2, double pW2);",
"@Resource(name=\"thirdPoint\")\r\n\tpublic void setCenter(Point center) {\r\n\t\tthis.center = center;\r\n\t}",
"public void crossInto(final WB_Point3d p, final WB_Normal3d result) {\r\n\t\tresult.x = y * p.z - z * p.y;\r\n\t\tresult.y = z * p.x - x * p.z;\r\n\t\tresult.z = x * p.y - y * p.x;\r\n\t}",
"public abstract APoint3<DataType> newOffset(DataType x, DataType y, DataType z);",
"public final void mPOINTS3() throws RecognitionException {\r\n try {\r\n int _type = POINTS3;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:274:9: ( '...' )\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:274:11: '...'\r\n {\r\n match(\"...\"); \r\n\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 \t// do for sure before leaving\r\n }\r\n }",
"public void setQuadAt(int i, int p0, int p1, int p2, int p3) {\n quadIndices[4*i] = p0;\n quadIndices[4*i+1] = p1;\n quadIndices[4*i+2] = p2;\n quadIndices[4*i+3] = p2;\n\n boundingVolume = null;\n }",
"public Vector3 (float x, float y, float z) {\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n\t\tthis.z = z;\r\n\t}",
"public void setPosition(final Point p) {\n this.position = p;\n }",
"public final void set(Matrix3f m1) {\n\tm00 = m1.m00; m01 = m1.m01; m02 = m1.m02;\n\tm10 = m1.m10; m11 = m1.m11; m12 = m1.m12;\n\tm20 = m1.m20; m21 = m1.m21; m22 = m1.m22;\n }",
"protected abstract void setPpl();",
"public Point3 add(Point3 p) {\n Point3 res = new Point3(x + p.x, y + p.y, z + p.z);\n return res;\n }",
"public void setC3(java.lang.Long c3)\n {\n this.c3 = c3;\n }",
"public Vect3(double xx, double yy, double zz) {\n\t\tx = xx;\n\t\ty = yy;\n\t\tz = zz;\n\t}",
"public void set(final float x, final float y, final float z, final float w)\n {\n this.x = x;\n this.y = y;\n this.z = z;\n this.w = w;\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar3(java.lang.Double value) {\n validate(fields()[4], value);\n this.var3 = value;\n fieldSetFlags()[4] = true;\n return this;\n }",
"public Builder setC3(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n c3_ = value;\n onChanged();\n return this;\n }",
"@Override\n\tpublic void setField3(int field3) {\n\t\t_employee.setField3(field3);\n\t}",
"void setOffsetPosition(double x, double y, double z);",
"public void setNode_3(String node_3);",
"@Override\n\t@SideOnly(Side.CLIENT)\n\tpublic void setVelocity(double p_70016_1_, double p_70016_3_, double p_70016_5_)\n\t{\n\t\tthis.motionX = p_70016_1_;\n\t\tthis.motionY = p_70016_3_;\n\t\tthis.motionZ = p_70016_5_;\n\n\t\tif ((this.prevRotationPitch == 0.0F) && (this.prevRotationYaw == 0.0F))\n\t\t{\n\t\t\tfloat f = MathHelper.sqrt_double((p_70016_1_ * p_70016_1_) + (p_70016_5_ * p_70016_5_));\n\t\t\tthis.prevRotationYaw = this.rotationYaw = (float) ((Math.atan2(p_70016_1_, p_70016_5_) * 180.0D) / Math.PI);\n\t\t\tthis.prevRotationPitch = this.rotationPitch = (float) ((Math.atan2(p_70016_3_, f) * 180.0D) / Math.PI);\n\t\t}\n\t}",
"void setPrevPos(Vec3 pos);",
"public void setVar3(java.lang.Double value) {\n this.var3 = value;\n }",
"public abstract void setPosition(Point2D position);"
] |
[
"0.84003145",
"0.72968245",
"0.710987",
"0.70800835",
"0.69004965",
"0.6851419",
"0.68209016",
"0.6809941",
"0.67930007",
"0.6743181",
"0.67289996",
"0.66021496",
"0.65821815",
"0.65771747",
"0.6564237",
"0.64787525",
"0.64473677",
"0.64414454",
"0.64263326",
"0.6414726",
"0.63782036",
"0.63686895",
"0.6355565",
"0.635091",
"0.6329593",
"0.63102734",
"0.63066685",
"0.63004565",
"0.62816083",
"0.62757903",
"0.6249074",
"0.6244371",
"0.62357414",
"0.6233122",
"0.6230183",
"0.61978936",
"0.6196623",
"0.6192283",
"0.6163878",
"0.615619",
"0.61443263",
"0.61417496",
"0.614069",
"0.6120421",
"0.609907",
"0.6094907",
"0.60845256",
"0.60790324",
"0.6078458",
"0.60491747",
"0.60345",
"0.6033411",
"0.6023813",
"0.6005267",
"0.5983216",
"0.59773934",
"0.596136",
"0.5946914",
"0.5944317",
"0.5901339",
"0.5882245",
"0.58685946",
"0.58680075",
"0.58348876",
"0.5829746",
"0.5815322",
"0.5811897",
"0.5808985",
"0.5798353",
"0.57900137",
"0.57877463",
"0.5785642",
"0.57796496",
"0.5779377",
"0.57788974",
"0.5755845",
"0.5745908",
"0.5741375",
"0.5737657",
"0.5734308",
"0.57336605",
"0.57309437",
"0.57285106",
"0.57226866",
"0.5722531",
"0.57152736",
"0.57069945",
"0.57039905",
"0.5694689",
"0.5692083",
"0.56905866",
"0.5684914",
"0.56775904",
"0.5674029",
"0.5669646",
"0.56635046",
"0.5654926",
"0.5653884",
"0.5653848",
"0.5643149"
] |
0.8927753
|
0
|
/ / / /
|
public IOContext withEncoding(JsonEncoding enc)
/* */ {
/* 116 */ this._encoding = enc;
/* 117 */ return this;
/* */ }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void divide() {\n\t\t\n\t}",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"public abstract String division();",
"public void division() {\n\t\tx=1;\n\t\ty=0;\n\t\tz=x/y;\n\t\t\t\t\n\t}",
"private boolean slash() {\r\n return MARK(OPERATOR) && CHAR('/') && gap();\r\n }",
"public abstract void bepaalGrootte();",
"public static void bottomHalf() {\n\n for(int i = 1; i <= SIZE; i++) {\n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\" \");\n }\n \n\t System.out.print(\"\\\\_\");\n\t for(int j = 3*SIZE-i; j >= i; j--) {\n\t System.out.print(\"/\\\\\");\n\t }\n\t System.out.println(\"_/\");\n }\n }",
"public void gored() {\n\t\t\n\t}",
"public String toString(){ return \"DIV\";}",
"private int parent(int i){return (i-1)/2;}",
"public String ring();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"private int leftChild(int i){return 2*i+1;}",
"double passer();",
"static void pyramid(){\n\t}",
"public void stg() {\n\n\t}",
"public static void main(String[] args) {\n\n\n for(int a=0; a<7;a++){\n for(int b=0;b<7-a;b++){\n System.out.print(\" \");\n }\n for(int c=0; c<=a;c++){\n System.out.print(\"* \");\n }\n System.out.println(\" \");\n }\n\n }",
"void mo33732Px();",
"Operations operations();",
"private int rightChild(int i){return 2*i+2;}",
"private void division()\n\t{\n\t\tFun = Function.DIVIDE; //Function set to determine what action should be taken later.\n\t\t\n\t\t\tsetLeftValue();\n\t\t\tentry.grabFocus();\n\t\t\n\t}",
"@Override\n\tpublic float dividir(float op1, float op2) {\n\t\treturn op1 / op2;\n\t}",
"void sharpen();",
"void sharpen();",
"double defendre();",
"public int generateRoshambo(){\n ;]\n\n }",
"private void e()\r\n/* 273: */ {\r\n/* 274:278 */ this.r = false;\r\n/* 275:279 */ this.s = false;\r\n/* 276:280 */ this.t = false;\r\n/* 277:281 */ this.u = false;\r\n/* 278:282 */ this.v = false;\r\n/* 279: */ }",
"public static void part2(){\n\t\n System.out.println(\"\\\\\"); //Outer wall\n System.out.println(\"\\\\\");\n System.out.println(\"\\\\\");\n for(int i = 0; i <= 16; i++){ //loop created to display top of the door\n\n \tSystem.out.print(\"-\");\n\n\t}\n System.out.println(\"\");\n System.out.println(\"\\\\\\t\\t| \\t(\\\")\"); //The door and the stick figure\n System.out.println(\"\\\\\\t\\t|\\t-|-\");\n System.out.println(\"\\\\\\t o | \\t |\");\n System.out.println(\"\\\\\\t\\t|\\t /\\\\\");\n System.out.println(\"\\\\\\t\\t|\\t/ \\\\\");\n\t\t\n }",
"String divideAtWhite()[]{ return null; }",
"protected boolean\nshouldCompactPathLists()\n//\n////////////////////////////////////////////////////////////////////////\n{\n return true;\n}",
"double volume(){\n return width*height*depth;\n }",
"public void skystonePos4() {\n }",
"void ringBell() {\n\n }",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"private static void breadcrumbArrow(int width, int height, int indent, int c1, int c2) {\n\n\t\tdouble x0 = 0, y0 = height / 2d;\n\t\tdouble x1 = indent, y1 = 0;\n\t\tdouble x2 = indent, y2 = height / 2d;\n\t\tdouble x3 = indent, y3 = height;\n\t\tdouble x4 = width, y4 = 0;\n\t\tdouble x5 = width, y5 = height / 2d;\n\t\tdouble x6 = width, y6 = height;\n\t\tdouble x7 = indent + width, y7 = 0;\n\t\tdouble x8 = indent + width, y8 = height;\n\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent)/(width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width)/(width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}",
"public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}",
"public static void method1(){\n System.out.println(\"*****\");\n System.out.println(\"*****\");\n System.out.println(\" * *\");\n System.out.println(\" *\");\n System.out.println(\" * *\");\n }",
"public int division(int x,int y){\n System.out.println(\"division methods\");\n int d=x/y;\n return d;\n\n }",
"void mo21076g();",
"private boolean dividingByZero(String operator){\n if (numStack.peek() == 0 && operator.equals(\"/\")){\n return true;\n }\n return false;\n }",
"@Override\n public void bfs() {\n\n }",
"public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }",
"Parallelogram(){\n length = width = height = 0;\n }",
"public Divide(){\n }",
"public void draw(){\n for(int i = 1; i <= height; i++){\n for(int s = 1; s <= i; s++)\n System.out.print(\"*\");\n System.out.println();\n }\n }",
"@Override\r\n\tpublic void div(int x, int y) {\n\t\t\r\n\t}",
"double Volume(){\r\n return Height * Width * Depth;\r\n }",
"@Override\npublic void div(int a, int b) {\n\t\n}",
"private double triangleBase() {\n return cellWidth() / BASE_WIDTH;\n }",
"double volume() {\n\treturn width*height*depth;\n}",
"public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}",
"private void traversePath()\n\t{\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t}",
"int getWidth() {return width;}",
"int width();",
"public void divide(int dirOp1, int dirOp2, int dirRes) {\n //traduce casos de direccionamiento indirecto\n dirOp1 = traduceDirIndirecto(dirOp1);\n dirOp2 = traduceDirIndirecto(dirOp2);\n if (ManejadorMemoria.isConstante(dirOp1)) { // OPERANDO 1 CTE\n String valor1 = this.directorioProcedimientos.getConstantes().get(dirOp1).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { //RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else if (ManejadorMemoria.isGlobal(dirOp1)) { // OPERANDO 1 GLOBAL\n String valor1 = this.registroGlobal.getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else { // OPERANDO 1 LOCAL\n String valor1 = this.pilaRegistros.peek().getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES 2 LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { //OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n }\n }",
"public static void main(String[] args) {\n\n\n\n System.out.println(4 * (1.0 - (1 / 3) + (1 / 5) - (1 / 7) + (1 / 9) - (1 / 11)));\n\n System.out.println(4 * (1.0 - (1/3) + (1/5) - (1/7)\n + (1 / 9) - (1/11) + (1/13)));\n }",
"public static void topHalf() {\n \t\n for( int i = 1; i <= SIZE; i++){\n for(int spaces = 1; spaces <= 3*SIZE - 3*i; spaces++) {\n System.out.print(\" \"); \n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"__/\");\n }\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n System.out.print(\"||\");\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"\\\\__\");\n }\n \n System.out.println();\n }\n \n System.out.print(\"|\");\n \n for(int i = 1; i <= 6 * SIZE; i++) {\n System.out.print(\"\\\"\");\n }\n \n System.out.println(\"|\");\n }",
"@Override\r\n\tpublic int div() {\n\t\treturn 0;\r\n\t}",
"private void renderPath(Node n)\n {\n\tGraphics g = getGraphics();\n\tboolean painting;\n\tColor nc,lc;\n\n\tpainting = (n.paths_passing==0);\n\twhile (n != null) {\n\t if (painting)\n\t\tn.paths_passing++;\n\t else {\n\t\tn.paths_passing--;\n\t }\n\t \n// \t nc = (n.paths_passing > 0)?hilitcolor:normalcolor;\n// \t lc = (n.paths_passing > 0)?hilitcolor:linecolor;\n\t nc = (n.paths_passing > 0)?n.path_color:normalcolor;\n\t lc = (n.paths_passing > 0)?n.path_color:linecolor;\n\t \n\t if (n.parent == null) {\n\t\tsetRenderColor(g,nc);\n\t\trenderNode(g,n);\n\t\tbreak;\n\t }\n\n\t // Double line width\n\t //setRenderColor(g,(n.paths_passing>0)?hilitcolor:Color.white);\n\t setRenderColor(g,(n.paths_passing>0)?n.path_color:Color.white);\n\t renderLine(g,n.x-1,n.y,n.parent.x-1,n.parent.y);\t\n\n\t setRenderColor(g,lc);\n\t renderLine(g,n.x,n.y,n.parent.x,n.parent.y);\n\n\t setRenderColor(g,nc);\n\t renderNode(g,n);\n\t n = n.parent;\n\t}\n }",
"public double getWidth() { return _width<0? -_width : _width; }",
"double getPerimeter(){\n return 2*height+width;\n }",
"public void mo3376r() {\n }",
"public static void unionPathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze two = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\tSystem.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = two.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber+n) != S.findAndCompress(randomNumber)){\n\t\t\t\t\t\tS.union(randomNumber+n, randomNumber);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'u');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.union(randomNumber, randomNumber+1);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(two, n);\n\t\tuserSelection_SolveMaze(n);\n\n\n\t\tStdDraw.show(0);\n\t\ttwo.draw();\n\t\ttwo.printCellNumbers();\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic double divide(double in1, double in2) {\n\t\treturn 0;\n\t}",
"void doubleBox(int sides, float x1, float y1, float z1, float x2, float y2, float z2)\r\n/* 100: */ {\r\n/* 101: 99 */ int s2 = sides << 1 & 0x2A | sides >> 1 & 0x15;\r\n/* 102: */ \r\n/* 103:101 */ this.context.renderBox(sides, x1, y1, z1, x2, y2, z2);\r\n/* 104:102 */ this.context.renderBox(s2, x2, y2, z2, x1, y1, z1);\r\n/* 105: */ }",
"public static void main (String[] args){\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n if(n%2==1)\n {\n n=n/2;\n n++;\n }\n else\n {\n n=n/2;\n }\n for(int i=1;i<=n;i++)\n {\n for(int k=1;k<=i-1;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<=((2*n-1)-2*(i-1));j++)\n {\n if(j==1||j==((2*n-1)-2*(i-1)))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n for(int i=2;i<=n;i++)\n {\n for(int k=1;k<=n-i;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<i*2;j++)\n {\n if(j==1||j==(i*2-1))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n\t}",
"public RMPath getPath() { return RMPath.unitRectPath; }",
"void walk() {\n\t\t\n\t}",
"public static void giant() {\n System.out.println(\" --------- \");\n System.out.println(\" | / \\\\| \");\n System.out.println(\" ZZZZZH | O | HZZZZZ \");\n System.out.println(\" H ----------- H \");\n System.out.println(\" ZZZZZHHHHHHHHHHHHHHHHHHHHHZZZZZ \");\n System.out.println(\" H HHHHHHHHHHH H \");\n System.out.println(\" ZZZZZH HHHHHHHHHHH HZZZZZ \");\n System.out.println(\" HHHHHHHHHHH \");\n System.out.println(\" HHH HHH \");\n System.out.println(\" HHH HHH \");\n }",
"public void title ()\n {\n\tprintSlow (\" _ __\");\n\tprintSlow (\" ___ | ' \\\\\");\n\tprintSlow (\" ___ \\\\ / ___ ,'\\\\_ | .-. \\\\ /|\");\n\tprintSlow (\" \\\\ / | |,'__ \\\\ ,'\\\\_ | \\\\ | | | | ,' |_ /|\");\n\tprintSlow (\" _ | | | |\\\\/ \\\\ \\\\ | \\\\ | |\\\\_| _ | |_| | _ '-. .-',' |_ _\");\n\tprintSlow (\" // | | | |____| | | |\\\\_|| |__ // | | ,'_`. | | '-. .-',' `. ,'\\\\_\");\n\tprintSlow (\" \\\\\\\\_| |_,' .-, _ | | | | |\\\\ \\\\ // .| |\\\\_/ | / \\\\ || | | | / |\\\\ \\\\| \\\\\");\n\tprintSlow (\" `-. .-'| |/ / | | | | | | \\\\ \\\\// | | | | | || | | | | |_\\\\ || |\\\\_|\");\n\tprintSlow (\" | | | || \\\\_| | | | /_\\\\ \\\\ / | |` | | | || | | | | .---'| |\");\n\tprintSlow (\" | | | |\\\\___,_\\\\ /_\\\\ _ // | | | \\\\_/ || | | | | | /\\\\| |\");\n\tprintSlow (\" /_\\\\ | | //_____// .||` `._,' | | | | \\\\ `-' /| |\");\n\tprintSlow (\" /_\\\\ `------' \\\\ | AND `.\\\\ | | `._,' /_\\\\\");\n\tprintSlow (\" \\\\| HIS `.\\\\\");\n\tprintSlow (\" __ __ _ _ _ _ \");\n\tprintSlow (\" | \\\\/ | (_) | | /\\\\ | | | | \");\n\tprintSlow (\" | \\\\ / | __ _ __ _ _ ___ __ _| | / \\\\ __| |_ _____ _ __ | |_ _ _ _ __ ___ \");\n\tprintSlow (\" | |\\\\/| |/ _` |/ _` | |/ __/ _` | | / /\\\\ \\\\ / _` \\\\ \\\\ / / _ \\\\ '_ \\\\| __| | | | '__/ _ \\\\\");\n\tprintSlow (\" | | | | (_| | (_| | | (_| (_| | | / ____ \\\\ (_| |\\\\ V / __/ | | | |_| |_| | | | __/\");\n\tprintSlow (\" |_| |_|\\\\__,_|\\\\__, |_|\\\\___\\\\__,_|_| /_/ \\\\_\\\\__,_| \\\\_/ \\\\___|_| |_|\\\\__|\\\\__,_|_| \\\\___|\");\n\tprintSlow (\" __/ | \");\n\tprintSlow (\" |___/ \\n\\n\\n\");\n\n\n }",
"public static String makeShapeA() {\n\tString result = \"\";\n\t\tfor (int i = 0; i < 8 ; i++) {\n\t\t\tresult+=printHash(i);\n\t\t\t\n\t\t}return result;\n\t\t\t//System.out.println(printHash(i));\n\t\t}",
"public void draw4x4 (char design){\n System.out.println(\"\"+design+design+design+design);\n System.out.println(design+\" \"+design);\n System.out.println(design+\" \"+design);\n System.out.println(\"\"+design+design+design+design);\n}",
"double area() {\nSystem.out.println(\"Inside Area for Triangle.\");\nreturn dim1 * dim2 / 2;\n}",
"private void pointer(Graphics image,int x,int y,int height,int b,int dir) {\n\n\t\tint[] xt=new int[3];\n\t\tint[] yt=new int[3];\n\n\t\tif(dir==0) {\n\t\t\txt[0]=x;\n\t\t\txt[1]=xt[2]=x+height;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=y+b/2;\n\t\t\tyt[2]=y-b/2;\n\t\t} else {\n\t\t\txt[0]=x;\n\t\t\txt[1]=x+b/2;\n\t\t\txt[2]=x-b/2;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=yt[2]=y-height;\n\t\t}\n\t\timage.fillPolygon(xt,yt,3);\n\t}",
"public int mo9774x() {\n /*\n r5 = this;\n int r0 = r5.f9082i\n int r1 = r5.f9080g\n if (r1 != r0) goto L_0x0007\n goto L_0x006a\n L_0x0007:\n byte[] r2 = r5.f9079f\n int r3 = r0 + 1\n byte r0 = r2[r0]\n if (r0 < 0) goto L_0x0012\n r5.f9082i = r3\n return r0\n L_0x0012:\n int r1 = r1 - r3\n r4 = 9\n if (r1 >= r4) goto L_0x0018\n goto L_0x006a\n L_0x0018:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 7\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x0024\n r0 = r0 ^ -128(0xffffffffffffff80, float:NaN)\n goto L_0x0070\n L_0x0024:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r1 = r1 << 14\n r0 = r0 ^ r1\n if (r0 < 0) goto L_0x0031\n r0 = r0 ^ 16256(0x3f80, float:2.278E-41)\n L_0x002f:\n r1 = r3\n goto L_0x0070\n L_0x0031:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 21\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x003f\n r2 = -2080896(0xffffffffffe03f80, float:NaN)\n r0 = r0 ^ r2\n goto L_0x0070\n L_0x003f:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r4 = r1 << 28\n r0 = r0 ^ r4\n r4 = 266354560(0xfe03f80, float:2.2112565E-29)\n r0 = r0 ^ r4\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r2 = r2[r3]\n if (r2 >= 0) goto L_0x0070\n L_0x006a:\n long r0 = r5.mo9776z()\n int r0 = (int) r0\n return r0\n L_0x0070:\n r5.f9082i = r1\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p213q.p217b.p301c.p302a.p311j0.p312a.C3656k.C3659c.mo9774x():int\");\n }",
"public SoNode \ngetCurPathTail() \n{\n//#ifdef DEBUG\n if (currentpath.getTail() != (SoFullPath.cast(getCurPath())).getTail()){\n SoDebugError.post(\"SoAction::getCurPathTail\\n\", \n \"Inconsistent path tail. Did you change the scene graph\\n\"+\n \"During traversal?\\n\");\n }\n//#endif /*DEBUG*/\n return(currentpath.getTail());\n}",
"@Override\n\tpublic void breath() {\n\n\t}",
"public static void main(String[] args) {\nint i,j,k;\r\nint num=5;\r\nfor(i=0;i<num;i++){\r\n\tfor(j=0;j<i;j++){\r\n\t\tSystem.out.print(\" \");\r\n\t}\r\n\tfor(k=num; k>=2*i-1; k--){\r\n\t\tSystem.out.print(\"*\");\r\n\t}\r\n\t\r\n\tSystem.out.println();\r\n}\r\n\t}",
"@Override\n\tpublic void div(double dx, double dy) {\n\t\t\n\t}",
"public PathCode getCurPathCode() { return /*appliedTo.curPathCode*/currentpathcode;}",
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"private void createPath(Direction d, int width, Point p1, Point p2) {\n\t\t// Determine how far away from the center the corners are\n\t\tint sideOneOffset = 0;\t// Top or Left depending on path direction\n\t\tint sideTwoOffset = 0;\t// Bot or Right depending on path direction\n\t\t// If the width is odd, balance the offsets\n\t\tif (width % 2 != 0) {\t\n\t\t\tsideOneOffset = sideTwoOffset = ((width / 2) + 1);\n\t\t} else {\n\t\t\t// If the width is even, the offsets will be off by 1\n\t\t\tsideOneOffset = width;\n\t\t\tsideTwoOffset = width - 1;\n\t\t}\n\t\tif (d == Direction.LEFT || d == Direction.RIGHT) {\n\t\t\t// If the direction is left then we want to swap the points\n\t\t\t// to pretend like the direction was right (so the following code works)\n\t\t\tif (d == Direction.LEFT) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p1.x, p1.y + sideTwoOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p2.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x, p1.y + sideTwoOffset)));\n\t\t\t// Set the left and right walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.y is the center of the path (top to bottom)\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x, p1.y + (i - width/2))));\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p2.x, p2.y + (i - width/2))));\n\t\t\t}\n\t\t\t// Set middle path and top/bottom padding (horizontal Oreo!)\n\t\t\tfor (int col = p1.x + 1, endCol = p2.x; col < endCol; col++) {\n\t\t\t\t// Add the top wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(col, p1.y - sideOneOffset)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(col, p1.y + (i - width /2))));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the bottom wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(col, p1.y + sideTwoOffset)));\n\t\t\t}\n\t\t} else {\n\t\t\t// If the direction is up then we want to swap the points\n\t\t\t// to pretend like the direction was down (so the following code works)\n\t\t\tif (d == Direction.UP) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x - sideOneOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p2.x - sideOneOffset, p2.y)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p1.x + sideTwoOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x + sideTwoOffset, p2.y)));\n\t\t\t// Set the top and bottom walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.x is the center of the path (left to right)\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(p1.x + (i - width /2), p1.y)));\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(p2.x + (i - width /2), p2.y)));\n\t\t\t}\n\t\t\t// Set middle path and left/right padding (vertical Oreo!)\n\t\t\tfor (int row = p1.y + 1, endRow = p2.y; row < endRow; row++) {\n\t\t\t\t// Add the left wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x - sideOneOffset, row)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(p1.x + (i - width /2), row)));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the right wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p1.x + sideTwoOffset, row)));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"private byte r() {\r\n\t\treturn (left_map == 0 ) ? (byte) 1 : 0;\r\n\t}",
"static String division (String s1, String s2) {\r\n if (s2==null || s2.length()==0) return s1;\r\n return product (s1, invert(s2));\r\n }",
"public static void body() {\n \tfor(int i = 1; i <= SIZE*SIZE; i++) {\n for(int j = 1; j <= 3*SIZE-(SIZE-1); j++) {\n System.out.print(\" \");\n }\n \n System.out.print(\"|\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"||\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"|\");\n \n System.out.println();\n }\n }",
"private int uniquePaths(int x, int y, int[][] dp) {\n \t\tif (x == 0 || y == 0) return 1;\n \t\tif (dp[x][y] == 0)\n \t\t\tdp[x][y] = uniquePaths(x - 1, y, dp) + uniquePaths(x, y - 1, dp);\n \t\treturn dp[x][y];\n \t}",
"public void star(float x, float y, float r, float R) {\n float angle = TWO_PI / 5;\n float halfAngle = angle/2.0f;\n beginShape();\n noStroke();\n for (float a = 0; a < TWO_PI; a += angle) {\n float sx = x + cos(a) * r;\n float sy = y + sin(a) * r;\n vertex(sx, sy);\n sx = x + cos(a+halfAngle) * R;\n sy = y + sin(a+halfAngle) * R;\n vertex(sx, sy);\n }\n endShape(CLOSE);\n}",
"@Override\r\n\tpublic void CalcPeri() {\n\t\tSystem.out.println(4*side);\t\r\n\t}",
"public int upright();",
"public static void main(String[] args) {\n\r\n\t\t\r\n\t\tint n = 7;\r\n\t\tfor (int i = n; i >= 0; i--) {\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t for(int j=0; j<n-i; j++) {\r\n\t\t\t \r\n\t\t\t System.out.print(\" \");\r\n\t\t\t \r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t \r\n\r\n\t\t\tfor (int j = n; j >= n-i; j--) {\r\n\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\r\n\t\t\r\n\t}",
"public\nstatic\nvoid\nmain(String args[]) \n\n{ \n\nBinaryTree tree = \nnew\nBinaryTree(); \n\ntree.root = \nnew\nNode(\n20\n); \n\ntree.root.left = \nnew\nNode(\n8\n); \n\ntree.root.left.left = \nnew\nNode(\n4\n); \n\ntree.root.left.right = \nnew\nNode(\n12\n); \n\ntree.root.left.right.left = \nnew\nNode(\n10\n); \n\ntree.root.left.right.right = \nnew\nNode(\n14\n); \n\ntree.root.right = \nnew\nNode(\n22\n); \n\ntree.root.right.right = \nnew\nNode(\n25\n); \n\ntree.printBoundary(tree.root); \n\n}",
"public void backSlash() {\n text.append(\"\\\\\");\n }",
"public static void main(String[] args){\t\n\t\tchar op = '/';\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"첫번째 정수입니다.\");\n\t\tint num1 = scan.nextInt();\n\t\t\n\t\tSystem.out.println(\"두번째 정수입니다.\");\n\t\tint num2 = scan.nextInt();\n\t\tint num3=0;\n\t\tif(op=='+'){\n\t\t\tnum3 = num1+num2;\n\t\t}\n\t\telse if(op=='-'){\n\t\t\tnum3 = num1-num2;\n\t\t}\n\t\telse if(op=='*'){\n\t\t\tnum3 = num1*num2;\n\t\t}\n\t\telse if(op=='/'){\n\t\t\tif(num2==0){\n\t\t\tSystem.out.println(\"오류입니다.\");\n\t\t}\n\t\t\t\n\t\t\tnum3 = num1/num2;\n\t\t}\n\t\tSystem.out.printf(\"%d%c%d=%d\" ,num1,op,num2,num3);\n\t\t\n\t\t\n\t}",
"public final void testSlash() \n\t\t\tthrows ParserConfigurationException, IOException, SAXException \n\t{\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnðýþnn\");\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnønn\");\n\t\tassertSingleResult(\"8\", fldName, \"nnunn\");\n\t}",
"AngleResource inclination();",
"public abstract void squareRootThis();",
"public UniquePathsII() {\n\t\t// Initialization here. \n\t\t//\t\tcount = 0;\n\t}",
"@Override\n\tpublic void space() {\n\t\t\n\t}"
] |
[
"0.5906264",
"0.55749613",
"0.5428019",
"0.53241616",
"0.5294036",
"0.527193",
"0.52582306",
"0.5256754",
"0.51585066",
"0.5141374",
"0.51100975",
"0.5097357",
"0.5026707",
"0.50235814",
"0.50100124",
"0.49757177",
"0.4967908",
"0.49668512",
"0.4931213",
"0.49272057",
"0.49150687",
"0.4878608",
"0.4873821",
"0.4873821",
"0.48564616",
"0.48415148",
"0.4840844",
"0.48408422",
"0.48392275",
"0.48380315",
"0.48342562",
"0.48335755",
"0.48189583",
"0.4816532",
"0.4803844",
"0.47991633",
"0.4790358",
"0.4785782",
"0.47707185",
"0.47659388",
"0.47607136",
"0.4756167",
"0.47525582",
"0.4750556",
"0.47465262",
"0.47439283",
"0.47427607",
"0.47368544",
"0.47283906",
"0.4719052",
"0.4715935",
"0.4711951",
"0.47046372",
"0.47023433",
"0.46957722",
"0.46894073",
"0.46882662",
"0.46872112",
"0.46870187",
"0.46838596",
"0.46826214",
"0.46721044",
"0.4671648",
"0.46691796",
"0.46658975",
"0.46658975",
"0.46634644",
"0.46593347",
"0.46569487",
"0.46532407",
"0.46484405",
"0.46472803",
"0.4647124",
"0.46426368",
"0.46379653",
"0.4635675",
"0.46356165",
"0.46343538",
"0.46343073",
"0.46324328",
"0.46307802",
"0.46292034",
"0.46249497",
"0.46220893",
"0.46138567",
"0.46130696",
"0.46125302",
"0.4608751",
"0.46084386",
"0.4605762",
"0.46052104",
"0.4602023",
"0.46015334",
"0.45995793",
"0.45948967",
"0.459342",
"0.45930445",
"0.45923406",
"0.45910415",
"0.45878932",
"0.45863274"
] |
0.0
|
-1
|
/ / / / / / / / 126
|
public Object getSourceReference() { return this._sourceRef; }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"static int getNumPatterns() { return 64; }",
"private static char[] m6491z(String str) {\n char[] toCharArray = str.toCharArray();\n if (toCharArray.length < 2) {\n toCharArray[0] = (char) (toCharArray[0] ^ 108);\n }\n return toCharArray;\n }",
"private static char[] m619z(String str) {\n char[] toCharArray = str.toCharArray();\n if (toCharArray.length < 2) {\n toCharArray[0] = (char) (toCharArray[0] ^ 20);\n }\n return toCharArray;\n }",
"private static char[] m7947z(String str) {\n char[] toCharArray = str.toCharArray();\n if (toCharArray.length < 2) {\n toCharArray[0] = (char) (toCharArray[0] ^ 16);\n }\n return toCharArray;\n }",
"private byte m1655h() {\n char charAt;\n int i = this.f2519d;\n while (true) {\n int i2 = this.f2519d;\n if (i2 <= 0) {\n break;\n }\n CharSequence charSequence = this.f2516a;\n int i3 = i2 - 1;\n this.f2519d = i3;\n char charAt2 = charSequence.charAt(i3);\n this.f2520e = charAt2;\n if (charAt2 == '<') {\n return 12;\n }\n if (charAt2 == '>') {\n break;\n } else if (charAt2 == '\\\"' || charAt2 == '\\'') {\n do {\n int i4 = this.f2519d;\n if (i4 <= 0) {\n break;\n }\n CharSequence charSequence2 = this.f2516a;\n int i5 = i4 - 1;\n this.f2519d = i5;\n charAt = charSequence2.charAt(i5);\n this.f2520e = charAt;\n } while (charAt != charAt2);\n }\n }\n this.f2519d = i;\n this.f2520e = '>';\n return 13;\n }",
"private static char[] m3268z(String str) {\n char[] toCharArray = str.toCharArray();\n if (toCharArray.length < 2) {\n toCharArray[0] = (char) (toCharArray[0] ^ 18);\n }\n return toCharArray;\n }",
"byte mo30283c();",
"public int mo36g() {\n return 8;\n }",
"public static void main(String[] args) {\n byte b1=125;\n System.out.println(b1);\n byte b2=(byte)129;\n System.out.println(b2);\t\t\n\t}",
"private byte m1656i() {\n char charAt;\n int i = this.f2519d;\n while (true) {\n int i2 = this.f2519d;\n if (i2 < this.f2518c) {\n CharSequence charSequence = this.f2516a;\n this.f2519d = i2 + 1;\n char charAt2 = charSequence.charAt(i2);\n this.f2520e = charAt2;\n if (charAt2 == '>') {\n return 12;\n }\n if (charAt2 == '\\\"' || charAt2 == '\\'') {\n do {\n int i3 = this.f2519d;\n if (i3 >= this.f2518c) {\n break;\n }\n CharSequence charSequence2 = this.f2516a;\n this.f2519d = i3 + 1;\n charAt = charSequence2.charAt(i3);\n this.f2520e = charAt;\n } while (charAt != charAt2);\n }\n } else {\n this.f2519d = i;\n this.f2520e = '<';\n return 13;\n }\n }\n }",
"private static int batoi(byte[] inp) {\n int len = inp.length>4?4:inp.length;\n int total = 0;\n for (int i = 0; i < len; i++) {\n total += (inp[i]<0?256+inp[i]:(int)inp[i]) << (((len - 1) - i) * 8);\n }\n return total;\n }",
"void mo12637b();",
"byte[] mo38566a();",
"long getUnknown72();",
"@Test(timeout = 4000)\n public void test072() throws Throwable {\n int int0 = JavaCharStream.hexval('e');\n assertEquals(14, int0);\n }",
"int getHighBitLength();",
"public static void main(String[] args) {\n\n\n\n\n\n System.out.println((char) ('a' - 32));\n }",
"public static void main(String[] args) {\n\t\tbyte a=(byte)130;\n\t\tSystem.out.println(\"128을 저장한 byte 값은 : \"+ a);\n\n\t}",
"static void dcx_rp(String passed){\n\t\tint h,l;\n\t\tswitch(passed.charAt(4)){\n\t\tcase 'B':\n\t\t\th = hexa_to_deci(registers.get('B'));\n\t\t\tl = hexa_to_deci(registers.get('C'));\n\t\t\tl--;\n\t\t\tif(l==-1)\n\t\t\t\th--;\n\t\t\tif(l==-1)\n\t\t\t\tl=255;\n\t\t\tif(h==-1)\n\t\t\t\th=255;\n\t\t\tregisters.put('C',decimel_to_hexa_8bit(l));\n\t\t\tregisters.put('B',decimel_to_hexa_8bit(h));\n\t\t\tbreak;\n\t\tcase 'D':\n\t\t\th = hexa_to_deci(registers.get('D'));\n\t\t\tl = hexa_to_deci(registers.get('E'));\n\t\t\tl--;\n\t\t\tif(l==-1)\n\t\t\t\th--;\n\t\t\tif(l==-1)\n\t\t\t\tl=255;\n\t\t\tif(h==-1)\n\t\t\t\th=255;\n\t\t\th+=(l>255?1:0);\n\t\t\tregisters.put('E',decimel_to_hexa_8bit(l));\n\t\t\tregisters.put('D',decimel_to_hexa_8bit(h));\n\t\t\tbreak;\n\t\tcase 'H':\n\t\t\th = hexa_to_deci(registers.get('H'));\n\t\t\tl = hexa_to_deci(registers.get('L'));\n\t\t\tl--;\n\t\t\tif(l==-1)\n\t\t\t\th--;\n\t\t\tif(l==-1)\n\t\t\t\tl=255;\n\t\t\tif(h==-1)\n\t\t\t\th=255;\n\t\t\th+=(l>255?1:0);\n\t\t\tregisters.put('L',decimel_to_hexa_8bit(l));\n\t\t\tregisters.put('H',decimel_to_hexa_8bit(h));\n\t\t\tbreak;\n\t\t}\n\t}",
"public int a(char paramChar)\r\n/* 484: */ {\r\n/* 485:481 */ if (paramChar == '§') {\r\n/* 486:482 */ return -1;\r\n/* 487: */ }\r\n/* 488:485 */ if (paramChar == ' ') {\r\n/* 489:486 */ return 4;\r\n/* 490: */ }\r\n/* 491:489 */ int i1 = \"\".indexOf(paramChar);\r\n/* 492:490 */ if ((paramChar > 0) && (i1 != -1) && (!this.k)) {\r\n/* 493:491 */ return this.d[i1];\r\n/* 494: */ }\r\n/* 495:495 */ if (this.e[paramChar] != 0)\r\n/* 496: */ {\r\n/* 497:496 */ int i2 = this.e[paramChar] >>> 4;\r\n/* 498:497 */ int i3 = this.e[paramChar] & 0xF;\r\n/* 499:499 */ if (i3 > 7)\r\n/* 500: */ {\r\n/* 501:500 */ i3 = 15;\r\n/* 502:501 */ i2 = 0;\r\n/* 503: */ }\r\n/* 504:503 */ i3++;\r\n/* 505: */ \r\n/* 506:505 */ return (i3 - i2) / 2 + 1;\r\n/* 507: */ }\r\n/* 508:508 */ return 0;\r\n/* 509: */ }",
"public static void main(String[] args) {\n\t\tbyte c = 20; //0x14\r\n\t\tbyte d = -8; //0xf8\r\n\t\t\r\n\t\tSystem.out.println(\"[시프트 연산 결과]\");\r\n\t\tSystem.out.println(c<<2);//c값을 2비트 왼쪽 시프트\r\n\t\tSystem.out.println(c>>2);//c값을 2비트 오른쪽 시프트, 왼쪽에 최상위 비트 0삽입(양수)\r\n\t\tSystem.out.println(d>>2);//d값을 2비트 오른쪽 시프트, 왼쪽에 최상위 비트 1삽입(음수)\r\n\r\n\t\r\n\t\tSystem.out.printf(\"%04x\\n\", d);//shift이전의 값 00 f \t 8\r\n\t\t\t\t\t\t\t\t\t //\t\t\t \t1111 1000 ->(00삽입)0011 1110(삭제00\r\n\t\t\r\n\t\tSystem.out.printf(\"%x\\n\", (byte)(d>>>2));\r\n\t\t\r\n\t\tSystem.out.printf(\"%x\\n\", (int)d);//fffffff8\r\n\t\tSystem.out.printf(\"%x\\n\", (d>>>2));\r\n\t\tSystem.out.printf(\"%x\\n\", (d>>>2));//d를 2비트 오른쪽 시프트, 왼쪽에 무조건 0이 삽입됨\r\n\t\t// 3 f f f f f f e (int타입으로 변환됨)\r\n\t\t//0011 1111 1111 1111 1111 1111 1111 1110\r\n\t\t//1111\t1111 1111 1111 1111 1111 1111 1000((int)d)\r\n\t\t//0011\t1111 1111 1111 1111 1111 1111 1110(d>>>2)\r\n\t}",
"@Test(timeout = 4000)\n public void test104() throws Throwable {\n int int0 = JavaCharStream.hexval('D');\n assertEquals(13, int0);\n }",
"public int getBlockLength()\r\n/* 45: */ {\r\n/* 46:107 */ return -32;\r\n/* 47: */ }",
"public static void main(String args[]) {\n\n\n byte b = (byte) 128;\n System.out.println(b);\n byte b1 = (byte) 129;\n System.out.println(b1);\n byte b2 = (byte) -128;\n System.out.println(b2);\n byte b3 = (byte) 127;\n System.out.println(b3);\n }",
"static void inx_rp(String passed){\n\t\tint h,l;\n\t\tswitch(passed.charAt(4)){\n\t\tcase 'B':\n\t\t\th = hexa_to_deci(registers.get('B'));\n\t\t\tl = hexa_to_deci(registers.get('C'));\n\t\t\tl++;\n\t\t\th+=(l>255?1:0);\n\t\t\tregisters.put('C',decimel_to_hexa_8bit(l));\n\t\t\tregisters.put('B',decimel_to_hexa_8bit(h));\n\t\t\tbreak;\n\t\tcase 'D':\n\t\t\th = hexa_to_deci(registers.get('D'));\n\t\t\tl = hexa_to_deci(registers.get('E'));\n\t\t\tl++;\n\t\t\th+=(l>255?1:0);\n\t\t\tregisters.put('E',decimel_to_hexa_8bit(l));\n\t\t\tregisters.put('D',decimel_to_hexa_8bit(h));\n\t\t\tbreak;\n\t\tcase 'H':\n\t\t\th = hexa_to_deci(registers.get('H'));\n\t\t\tl = hexa_to_deci(registers.get('L'));\n\t\t\tl++;\n\t\t\th+=(l>255?1:0);\n\t\t\tregisters.put('L',decimel_to_hexa_8bit(l));\n\t\t\tregisters.put('H',decimel_to_hexa_8bit(h));\n\t\t\tbreak;\n\t\t}\n\t}",
"@Test(timeout = 4000)\n public void test106() throws Throwable {\n int int0 = JavaCharStream.hexval('B');\n assertEquals(11, int0);\n }",
"int getLowBitLength();",
"private static int specialChar(char ch) {\n if ((ch > '\\u0621' && ch < '\\u0626') ||\n (ch == '\\u0627') ||\n (ch > '\\u062E' && ch < '\\u0633') ||\n (ch > '\\u0647' && ch < '\\u064A') ||\n (ch == '\\u0629')) {\n return 1;\n } else if (ch >= '\\u064B' && ch<= '\\u0652') {\n return 2;\n } else if (ch >= 0x0653 && ch <= 0x0655 ||\n ch == 0x0670 ||\n ch >= 0xFE70 && ch <= 0xFE7F) {\n return 3;\n } else {\n return 0;\n }\n }",
"C12000e mo41087c(String str);",
"@Test(timeout = 4000)\n public void test073() throws Throwable {\n int int0 = JavaCharStream.hexval('d');\n assertEquals(13, int0);\n }",
"String mo30285c(long j);",
"@Test(timeout = 4000)\n public void test056() throws Throwable {\n StringReader stringReader0 = new StringReader(\"+%WC\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n javaCharStream0.backup(416);\n javaCharStream0.BeginToken();\n javaCharStream0.adjustBeginLineColumn(416, 416);\n assertEquals(3680, javaCharStream0.bufpos);\n }",
"int getUnknown13();",
"private static String m21386a(int i) {\n StringBuilder sb = new StringBuilder();\n sb.append(i & 255);\n String str = \".\";\n sb.append(str);\n sb.append((i >> 8) & 255);\n sb.append(str);\n sb.append((i >> 16) & 255);\n sb.append(str);\n sb.append((i >> 24) & 255);\n return sb.toString();\n }",
"@Test(timeout = 4000)\n public void test116() throws Throwable {\n int int0 = JavaCharStream.hexval('8');\n assertEquals(8, int0);\n }",
"private char toChar(int u)\r\n { \r\n return (char)(u + 64);\r\n }",
"public int mo34973b() {\n return 48;\n }",
"@Test(timeout = 4000)\n public void test128() throws Throwable {\n StringReader stringReader0 = new StringReader(\"D!tcbD=EVjn`\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, (-7), 6);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n Token token0 = javaParserTokenManager0.getNextToken();\n assertEquals(\"D\", token0.toString());\n assertEquals(74, token0.kind);\n }",
"C12000e mo41091f(String str);",
"@Test(timeout = 4000)\n public void test075() throws Throwable {\n int int0 = JavaCharStream.hexval('b');\n assertEquals(11, int0);\n }",
"int mo27483b();",
"private static int slowCharToNibble( char c ) \r\n { \r\n if ( '0' <= c && c <= '9' ) \r\n { \r\n return c - '0'; \r\n } \r\n else if ( 'a' <= c && c <= 'f' ) \r\n { \r\n return c - 'a' + 0xa; \r\n } \r\n else if ( 'A' <= c && c <= 'F' ) \r\n { \r\n return c - 'A' + 0xa; \r\n } \r\n else \r\n { \r\n throw new IllegalArgumentException( \"Invalid hex character: \" + c ); \r\n } \r\n }",
"static int size_of_xri(String passed){\n\t\treturn 2;\n\t}",
"C5537g mo4096b(int i);",
"public void mo12628c() {\n }",
"public String toString()\r\n/* 438: */ {\r\n/* 439:522 */ return \"Luffa-\" + (getDigestLength() << 3);\r\n/* 440: */ }",
"protected abstract int decodeLength ();",
"String charWrite();",
"private static int colorspaceSh(int s) {\r\n return (s << 16);\r\n }",
"public static String a(byte paramByte) {\n/* 65 */ return \"\" + a[(paramByte & 0xF0) >>> 4] + a[paramByte & 0xF];\n/* */ }",
"void procedure()\n {\n try\n {\n fkey=new FileInputStream(file2);\n }\n catch(Exception e)\n {\n System.out.println(e);\n }\n keybuf= new byte[16];\n try\n {\n fkey.read(keybuf);\n z= new int[52];\n j1=0;\n i1=0;\n for(i=0;i<52;i++)\n z[i]=0;\n while( i1<8)\n {\n if((j1+1)%2==0)\n {\n z[i1]|=keybuf[j1]; // dividing 64 bit cypher block into four 16 bit registers\n\t i1++;\n }\n else\n \t {\n\t z[i1]=keybuf[j1];\n\t z[i1]<<=8;\n }\n\t j1++;\n }\n i=0;\n\t for(j1=1;j1<=5;j1++)\n\t {\n\t i++;\n\t z[i+7]=((z[i]<<9)&0xfe00)|((z[i+1]>>7)&0x1ff);\n\t z[i+8]=((z[i+1]<<9)&0xfe00)|((z[i+2]>>7)&0x1ff);\n\t z[i+9]=((z[i+2]<<9)&0xfe00)|((z[i+3]>>7)&0x1ff);\n\t z[i+10]=((z[i+3]<<9)&0xfe00)|((z[i+4]>>7)&0x1ff);\n\t z[i+11]=((z[i+4]<<9)&0xfe00)|((z[i+5]>>7)&0x1ff);\n\t z[i+12]=((z[i+5]<<9)&0xfe00)|((z[i+6]>>7)&0x1ff);\n z[i+13]=((z[i+6]<<9)&0xfe00)|((z[i-1]>>7)&0x1ff);\n\t z[i+14]=((z[i-1]<<9)&0xfe00)|((z[i]>>7)&0x1ff);\n\t i=i+7;\n\t }\n i1=41;\n\t z[48]=((z[i1]<<9)&0xfe00)|((z[i1+1]>>7)&0x1ff);\n\t z[49]=((z[i1+1]<<9)&0xfe00)|((z[i1+2]>>7)&0x1ff);\n\t z[50]=((z[i1+2]<<9)&0xfe00)|((z[i1+3]>>7)&0x1ff);\n\t z[51]=((z[i1+3]<<9)&0xfe00)|((z[i1+4]>>7)&0x1ff);\n}\ncatch(Exception e)\n{\nSystem.out.println(e);\n}\n}",
"void mo5875b(String str, long j);",
"String mo38971b();",
"private void outDec(){\n\t\tSystem.out.println(binary);\n\t\tpw.println(binary);\n\t\t\n\t}",
"@Override\n\t\tpublic char[] getPrintChars() {\n\t\t\tif(this.color == RedBlackTree.BLACK){\n\t\t\t\tString intString = data.toString()+\"(B)\";\n\t\t\t\treturn intString.toCharArray();\n\t\t\t\t\n\t\t\t}else{\n\t\t\t\tString intString = data.toString()+\"(R)\";\n\t\t\t\treturn intString.toCharArray();\n\t\t\t}\n\t\t\t\n\t\t}",
"String getIndexBits();",
"private void outHex(){\n\t\tSystem.out.println(binary);\n\t\tpw.println(binary);\n\t\t\n\t}",
"public abstract void mo4360a(byte b);",
"public void encodeChars() {\n encodedChars = new int[uniqueChars.size()];\n Iterator<Character> mover = uniqueChars.iterator();\n Iterator<Character> moverTwo = uniqueChars.iterator();\n System.out.print(\"\\nEncoding characters to its ASCII integer value:\");\n for(int a = 0; a < uniqueChars.size(); a++) {\n encodedChars[a] = (int)mover.next();\n encodedChars[a] = encodedChars[a] / encodedChars[a] + a - 1;\n System.out.print(moverTwo.next() + \" : \" + encodedChars[a] + \", \");\n }\n System.out.println(\"\\n\");\n }",
"private static int getX(char chr) {\n \t\tswitch (chr) {\n \t\tcase '1':\n \t\tcase '!':\n \t\tcase '~':\n \t\tcase '`':\n \t\tcase 'q':\n \t\tcase 'a':\n \t\tcase 'z':\n \t\t\treturn 0;\n \t\tcase '2':\n \t\tcase 'w':\n \t\tcase 's':\n \t\tcase 'x':\n \t\t\treturn 1;\n \t\tcase '#':\n \t\tcase '3':\n \t\tcase 'e':\n \t\tcase 'd':\n \t\tcase 'c':\n \t\t\treturn 3;\n \t\tcase '4':\n \t\tcase 'r':\n \t\tcase 'f':\n \t\tcase 'v':\n \t\t\treturn 4;\n \t\tcase '5':\n \t\tcase 't':\n \t\tcase 'g':\n \t\tcase 'b':\n \t\t\treturn 5;\n \t\tcase '6':\n \t\tcase 'y':\n \t\tcase 'h':\n \t\tcase 'n':\n \t\t\treturn 6;\n \t\tcase '7':\n \t\tcase 'u':\n \t\tcase 'j':\n \t\tcase 'm':\n \t\t\treturn 7;\n \t\tcase '8':\n \t\tcase 'i':\n \t\tcase 'k':\n \t\tcase ',':\n \t\t\treturn 8;\n \t\tcase '9':\n \t\tcase 'o':\n \t\tcase 'l':\n \t\tcase '.':\n \t\t\treturn 9;\n \t\tcase '-':\n \t\tcase '_':\n \t\tcase '+':\n \t\tcase '=':\n \t\tcase 'p':\n \t\tcase '/':\n \t\t\treturn 10;\n \t\tdefault:\n \t\t\treturn 11;\n \t\t}\n \t}",
"private static int readEscapedHexString(java.lang.String r6, int r7, int r8, java.lang.StringBuilder r9) {\n /*\n int r0 = r8 - r7\n java.nio.ByteBuffer r0 = java.nio.ByteBuffer.allocate(r0)\n L_0x0006:\n if (r7 > r8) goto L_0x00f6\n int r1 = r7 + 1\n char r7 = r6.charAt(r7)\n r2 = 2\n r3 = 0\n r4 = 1\n switch(r7) {\n case 48: goto L_0x0068;\n case 49: goto L_0x0065;\n case 50: goto L_0x0062;\n case 51: goto L_0x005f;\n case 52: goto L_0x005c;\n case 53: goto L_0x0059;\n case 54: goto L_0x0056;\n case 55: goto L_0x0053;\n case 56: goto L_0x0050;\n case 57: goto L_0x004d;\n default: goto L_0x0014;\n }\n L_0x0014:\n switch(r7) {\n case 65: goto L_0x004a;\n case 66: goto L_0x0047;\n case 67: goto L_0x0044;\n case 68: goto L_0x0041;\n case 69: goto L_0x003e;\n case 70: goto L_0x003b;\n default: goto L_0x0017;\n }\n L_0x0017:\n switch(r7) {\n case 97: goto L_0x004a;\n case 98: goto L_0x0047;\n case 99: goto L_0x0044;\n case 100: goto L_0x0041;\n case 101: goto L_0x003e;\n case 102: goto L_0x003b;\n default: goto L_0x001a;\n }\n L_0x001a:\n com.unboundid.ldap.sdk.LDAPException r7 = new com.unboundid.ldap.sdk.LDAPException\n com.unboundid.ldap.sdk.ResultCode r8 = com.unboundid.ldap.sdk.ResultCode.FILTER_ERROR\n com.unboundid.ldap.sdk.LDAPMessages r9 = com.unboundid.ldap.sdk.LDAPMessages.ERR_FILTER_INVALID_HEX_CHAR\n java.lang.Object[] r0 = new java.lang.Object[r2]\n int r1 = r1 - r4\n char r6 = r6.charAt(r1)\n java.lang.Character r6 = java.lang.Character.valueOf(r6)\n r0[r3] = r6\n java.lang.Integer r6 = java.lang.Integer.valueOf(r1)\n r0[r4] = r6\n java.lang.String r6 = r9.get(r0)\n r7.<init>((com.unboundid.ldap.sdk.ResultCode) r8, (java.lang.String) r6)\n throw r7\n L_0x003b:\n r7 = -16\n goto L_0x0069\n L_0x003e:\n r7 = -32\n goto L_0x0069\n L_0x0041:\n r7 = -48\n goto L_0x0069\n L_0x0044:\n r7 = -64\n goto L_0x0069\n L_0x0047:\n r7 = -80\n goto L_0x0069\n L_0x004a:\n r7 = -96\n goto L_0x0069\n L_0x004d:\n r7 = -112(0xffffffffffffff90, float:NaN)\n goto L_0x0069\n L_0x0050:\n r7 = -128(0xffffffffffffff80, float:NaN)\n goto L_0x0069\n L_0x0053:\n r7 = 112(0x70, float:1.57E-43)\n goto L_0x0069\n L_0x0056:\n r7 = 96\n goto L_0x0069\n L_0x0059:\n r7 = 80\n goto L_0x0069\n L_0x005c:\n r7 = 64\n goto L_0x0069\n L_0x005f:\n r7 = 48\n goto L_0x0069\n L_0x0062:\n r7 = 32\n goto L_0x0069\n L_0x0065:\n r7 = 16\n goto L_0x0069\n L_0x0068:\n r7 = 0\n L_0x0069:\n if (r1 > r8) goto L_0x00db\n int r5 = r1 + 1\n char r1 = r6.charAt(r1)\n switch(r1) {\n case 48: goto L_0x00c8;\n case 49: goto L_0x00c5;\n case 50: goto L_0x00c2;\n case 51: goto L_0x00bf;\n case 52: goto L_0x00bc;\n case 53: goto L_0x00b9;\n case 54: goto L_0x00b6;\n case 55: goto L_0x00b3;\n case 56: goto L_0x00b0;\n case 57: goto L_0x00ad;\n default: goto L_0x0074;\n }\n L_0x0074:\n switch(r1) {\n case 65: goto L_0x00aa;\n case 66: goto L_0x00a7;\n case 67: goto L_0x00a4;\n case 68: goto L_0x00a1;\n case 69: goto L_0x009e;\n case 70: goto L_0x009b;\n default: goto L_0x0077;\n }\n L_0x0077:\n switch(r1) {\n case 97: goto L_0x00aa;\n case 98: goto L_0x00a7;\n case 99: goto L_0x00a4;\n case 100: goto L_0x00a1;\n case 101: goto L_0x009e;\n case 102: goto L_0x009b;\n default: goto L_0x007a;\n }\n L_0x007a:\n com.unboundid.ldap.sdk.LDAPException r7 = new com.unboundid.ldap.sdk.LDAPException\n com.unboundid.ldap.sdk.ResultCode r8 = com.unboundid.ldap.sdk.ResultCode.FILTER_ERROR\n com.unboundid.ldap.sdk.LDAPMessages r9 = com.unboundid.ldap.sdk.LDAPMessages.ERR_FILTER_INVALID_HEX_CHAR\n java.lang.Object[] r0 = new java.lang.Object[r2]\n int r5 = r5 - r4\n char r6 = r6.charAt(r5)\n java.lang.Character r6 = java.lang.Character.valueOf(r6)\n r0[r3] = r6\n java.lang.Integer r6 = java.lang.Integer.valueOf(r5)\n r0[r4] = r6\n java.lang.String r6 = r9.get(r0)\n r7.<init>((com.unboundid.ldap.sdk.ResultCode) r8, (java.lang.String) r6)\n throw r7\n L_0x009b:\n r7 = r7 | 15\n goto L_0x00c7\n L_0x009e:\n r7 = r7 | 14\n goto L_0x00c7\n L_0x00a1:\n r7 = r7 | 13\n goto L_0x00c7\n L_0x00a4:\n r7 = r7 | 12\n goto L_0x00c7\n L_0x00a7:\n r7 = r7 | 11\n goto L_0x00c7\n L_0x00aa:\n r7 = r7 | 10\n goto L_0x00c7\n L_0x00ad:\n r7 = r7 | 9\n goto L_0x00c7\n L_0x00b0:\n r7 = r7 | 8\n goto L_0x00c7\n L_0x00b3:\n r7 = r7 | 7\n goto L_0x00c7\n L_0x00b6:\n r7 = r7 | 6\n goto L_0x00c7\n L_0x00b9:\n r7 = r7 | 5\n goto L_0x00c7\n L_0x00bc:\n r7 = r7 | 4\n goto L_0x00c7\n L_0x00bf:\n r7 = r7 | 3\n goto L_0x00c7\n L_0x00c2:\n r7 = r7 | 2\n goto L_0x00c7\n L_0x00c5:\n r7 = r7 | 1\n L_0x00c7:\n byte r7 = (byte) r7\n L_0x00c8:\n r0.put(r7)\n if (r5 > r8) goto L_0x00d9\n char r7 = r6.charAt(r5)\n r1 = 92\n if (r7 != r1) goto L_0x00d9\n int r7 = r5 + 1\n goto L_0x0006\n L_0x00d9:\n r7 = r5\n goto L_0x00f6\n L_0x00db:\n com.unboundid.ldap.sdk.LDAPException r7 = new com.unboundid.ldap.sdk.LDAPException\n com.unboundid.ldap.sdk.ResultCode r8 = com.unboundid.ldap.sdk.ResultCode.FILTER_ERROR\n com.unboundid.ldap.sdk.LDAPMessages r9 = com.unboundid.ldap.sdk.LDAPMessages.ERR_FILTER_INVALID_ESCAPED_END_CHAR\n java.lang.Object[] r0 = new java.lang.Object[r4]\n int r1 = r1 - r4\n char r6 = r6.charAt(r1)\n java.lang.Character r6 = java.lang.Character.valueOf(r6)\n r0[r3] = r6\n java.lang.String r6 = r9.get(r0)\n r7.<init>((com.unboundid.ldap.sdk.ResultCode) r8, (java.lang.String) r6)\n throw r7\n L_0x00f6:\n r0.flip()\n int r6 = r0.limit()\n byte[] r6 = new byte[r6]\n r0.get(r6)\n java.lang.String r6 = com.unboundid.util.StaticUtils.toUTF8String(r6)\n r9.append(r6)\n return r7\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.unboundid.ldap.sdk.Filter.readEscapedHexString(java.lang.String, int, int, java.lang.StringBuilder):int\");\n }",
"short digits();",
"protected int bytesPerLine() {\n return (48);\n }",
"protected int bytesPerLine() {\n return (48);\n }",
"void mo33732Px();",
"static void method_1458() {\r\n boolean var10000 = true;\r\n char[] var10003 = \"/\\fë%mwH]s,\".toCharArray();\r\n Object var10004 = var10003.length;\r\n Object var4 = true;\r\n char[] var10002 = var10003;\r\n char[] var10001 = (char[])var10004;\r\n int var0 = 0;\r\n\r\n while(true) {\r\n var10003 = var10002;\r\n var10002 = var10001;\r\n var10001 = var10003;\r\n char[] var5 = var10002;\r\n var10002 = var10003;\r\n if(var10003 <= var0) {\r\n field_1436 = (new String((char[])var4)).intern();\r\n String var2 = field_1436;\r\n return;\r\n }\r\n\r\n char var10007 = (char)((Object[])var4)[var0];\r\n short var10009;\r\n switch(var0 % 7) {\r\n case 0:\r\n var10009 = 220;\r\n break;\r\n case 1:\r\n var10009 = 240;\r\n break;\r\n case 2:\r\n var10009 = 4;\r\n break;\r\n case 3:\r\n var10009 = 165;\r\n break;\r\n case 4:\r\n var10009 = 237;\r\n break;\r\n case 5:\r\n var10009 = 247;\r\n break;\r\n default:\r\n var10009 = 200;\r\n }\r\n\r\n ((Object[])var4)[var0] = (char)(var10007 ^ var5 ^ var10009);\r\n ++var0;\r\n }\r\n }",
"private String zxt (long inp, int length) {\n String result = Long.toString(inp);\n int dist = (length - result.length());\n for (int i = 0; i < dist; i++) {\n result = \"0\" + result;\n }\n return result;\n }",
"@Test(timeout = 4000)\n public void test105() throws Throwable {\n int int0 = JavaCharStream.hexval('C');\n assertEquals(12, int0);\n }",
"Info mo7564ix();",
"private static String m6490z(char[] cArr) {\n int length = cArr.length;\n for (int i = 0; length > i; i++) {\n int i2;\n char c = cArr[i];\n switch (i % 5) {\n case 0:\n i2 = 79;\n break;\n case 1:\n i2 = 95;\n break;\n case 2:\n i2 = 53;\n break;\n case 3:\n i2 = 70;\n break;\n default:\n i2 = 108;\n break;\n }\n cArr[i] = (char) (i2 ^ c);\n }\n return new String(cArr).intern();\n }",
"@Test(timeout = 4000)\n public void test118() throws Throwable {\n int int0 = JavaCharStream.hexval('6');\n assertEquals(6, int0);\n }",
"long mo1685a(C2369e c2369e);",
"private static String m3267z(char[] cArr) {\n int length = cArr.length;\n for (int i = 0; length > i; i++) {\n int i2;\n char c = cArr[i];\n switch (i % 5) {\n case 0:\n i2 = 89;\n break;\n case 1:\n i2 = 79;\n break;\n case 2:\n i2 = 63;\n break;\n case 3:\n i2 = 125;\n break;\n default:\n i2 = 18;\n break;\n }\n cArr[i] = (char) (i2 ^ c);\n }\n return new String(cArr).intern();\n }",
"public int getHexWidth() {\n return this.hexWidth;\n }",
"public int mo36g() {\n return 4;\n }",
"public byte[] initialValue() {\n return new byte[]{(byte) -1, (byte) -40, (byte) -1, (byte) -37, (byte) 0, (byte) 67, (byte) 0, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -1, (byte) -64, (byte) 0, (byte) 17, (byte) 8, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 3, (byte) 1, (byte) 34, (byte) 0, (byte) 2, (byte) 17, (byte) 0, (byte) 3, (byte) 17, (byte) 0, (byte) -1, (byte) -60, (byte) 0, (byte) 31, (byte) 0, (byte) 0, (byte) 1, (byte) 5, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 1, (byte) 2, (byte) 3, (byte) 4, (byte) 5, (byte) 6, (byte) 7, (byte) 8, (byte) 9, (byte) 10, (byte) 11, (byte) -1, (byte) -60, (byte) 0, (byte) -75, (byte) 16, (byte) 0, (byte) 2, (byte) 1, (byte) 3, (byte) 3, (byte) 2, (byte) 4, (byte) 3, (byte) 5, (byte) 5, (byte) 4, (byte) 4, (byte) 0, (byte) 0, (byte) 1, (byte) 125, (byte) 1, (byte) 2, (byte) 3, (byte) 0, (byte) 4, (byte) 17, (byte) 5, (byte) 18, (byte) 33, (byte) 49, (byte) 65, (byte) 6, (byte) 19, (byte) 81, (byte) 97, (byte) 7, (byte) 34, (byte) 113, (byte) 20, (byte) 50, (byte) -127, (byte) -111, (byte) -95, (byte) 8, (byte) 35, (byte) 66, (byte) -79, (byte) -63, (byte) 21, (byte) 82, (byte) -47, (byte) -16, (byte) 36, (byte) 51, (byte) 98, (byte) 114, (byte) -126, (byte) 9, (byte) 10, (byte) 22, (byte) 23, (byte) 24, (byte) 25, (byte) 26, (byte) 37, (byte) 38, (byte) 39, (byte) 40, (byte) 41, (byte) 42, (byte) 52, (byte) 53, (byte) 54, (byte) 55, (byte) 56, (byte) 57, (byte) 58, (byte) 67, (byte) 68, (byte) 69, (byte) 70, (byte) 71, (byte) 72, (byte) 73, (byte) 74, (byte) 83, (byte) 84, (byte) 85, (byte) 86, (byte) 87, (byte) 88, (byte) 89, (byte) 90, (byte) 99, (byte) 100, (byte) 101, (byte) 102, (byte) 103, (byte) 104, (byte) 105, (byte) 106, (byte) 115, (byte) 116, (byte) 117, (byte) 118, (byte) 119, (byte) 120, (byte) 121, (byte) 122, (byte) -125, (byte) -124, (byte) -123, (byte) -122, (byte) -121, (byte) -120, (byte) -119, (byte) -118, (byte) -110, (byte) -109, (byte) -108, (byte) -107, (byte) -106, (byte) -105, (byte) -104, (byte) -103, (byte) -102, (byte) -94, (byte) -93, (byte) -92, (byte) -91, (byte) -90, (byte) -89, (byte) -88, (byte) -87, (byte) -86, (byte) -78, (byte) -77, (byte) -76, (byte) -75, (byte) -74, (byte) -73, (byte) -72, (byte) -71, (byte) -70, (byte) -62, (byte) -61, (byte) -60, (byte) -59, (byte) -58, (byte) -57, (byte) -56, (byte) -55, (byte) -54, (byte) -46, (byte) -45, (byte) -44, (byte) -43, (byte) -42, (byte) -41, (byte) -40, (byte) -39, (byte) -38, (byte) -31, (byte) -30, (byte) -29, (byte) -28, (byte) -27, (byte) -26, (byte) -25, (byte) -24, (byte) -23, (byte) -22, (byte) -15, (byte) -14, (byte) -13, (byte) -12, (byte) -11, (byte) -10, (byte) -9, (byte) -8, (byte) -7, (byte) -6, (byte) -1, (byte) -60, (byte) 0, (byte) 31, (byte) 1, (byte) 0, (byte) 3, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 1, (byte) 2, (byte) 3, (byte) 4, (byte) 5, (byte) 6, (byte) 7, (byte) 8, (byte) 9, (byte) 10, (byte) 11, (byte) -1, (byte) -60, (byte) 0, (byte) -75, (byte) 17, (byte) 0, (byte) 2, (byte) 1, (byte) 2, (byte) 4, (byte) 4, (byte) 3, (byte) 4, (byte) 7, (byte) 5, (byte) 4, (byte) 4, (byte) 0, (byte) 1, (byte) 2, (byte) 119, (byte) 0, (byte) 1, (byte) 2, (byte) 3, (byte) 17, (byte) 4, (byte) 5, (byte) 33, (byte) 49, (byte) 6, (byte) 18, (byte) 65, (byte) 81, (byte) 7, (byte) 97, (byte) 113, (byte) 19, (byte) 34, (byte) 50, (byte) -127, (byte) 8, (byte) 20, (byte) 66, (byte) -111, (byte) -95, (byte) -79, (byte) -63, (byte) 9, (byte) 35, (byte) 51, (byte) 82, (byte) -16, (byte) 21, (byte) 98, (byte) 114, (byte) -47, (byte) 10, (byte) 22, (byte) 36, (byte) 52, (byte) -31, (byte) 37, (byte) -15, (byte) 23, (byte) 24, (byte) 25, (byte) 26, (byte) 38, (byte) 39, (byte) 40, (byte) 41, (byte) 42, (byte) 53, (byte) 54, (byte) 55, (byte) 56, (byte) 57, (byte) 58, (byte) 67, (byte) 68, (byte) 69, (byte) 70, (byte) 71, (byte) 72, (byte) 73, (byte) 74, (byte) 83, (byte) 84, (byte) 85, (byte) 86, (byte) 87, (byte) 88, (byte) 89, (byte) 90, (byte) 99, (byte) 100, (byte) 101, (byte) 102, (byte) 103, (byte) 104, (byte) 105, (byte) 106, (byte) 115, (byte) 116, (byte) 117, (byte) 118, (byte) 119, (byte) 120, (byte) 121, (byte) 122, (byte) -126, (byte) -125, (byte) -124, (byte) -123, (byte) -122, (byte) -121, (byte) -120, (byte) -119, (byte) -118, (byte) -110, (byte) -109, (byte) -108, (byte) -107, (byte) -106, (byte) -105, (byte) -104, (byte) -103, (byte) -102, (byte) -94, (byte) -93, (byte) -92, (byte) -91, (byte) -90, (byte) -89, (byte) -88, (byte) -87, (byte) -86, (byte) -78, (byte) -77, (byte) -76, (byte) -75, (byte) -74, (byte) -73, (byte) -72, (byte) -71, (byte) -70, (byte) -62, (byte) -61, (byte) -60, (byte) -59, (byte) -58, (byte) -57, (byte) -56, (byte) -55, (byte) -54, (byte) -46, (byte) -45, (byte) -44, (byte) -43, (byte) -42, (byte) -41, (byte) -40, (byte) -39, (byte) -38, (byte) -30, (byte) -29, (byte) -28, (byte) -27, (byte) -26, (byte) -25, (byte) -24, (byte) -23, (byte) -22, (byte) -14, (byte) -13, (byte) -12, (byte) -11, (byte) -10, (byte) -9, (byte) -8, (byte) -7, (byte) -6, (byte) -1, (byte) -38, (byte) 0, (byte) 12, (byte) 3, (byte) 1, (byte) 0, (byte) 2, (byte) 17, (byte) 3, (byte) 17, (byte) 0, (byte) 63, (byte) 0, (byte) -114, (byte) -118, (byte) 40, (byte) -96, (byte) 15, (byte) -1, (byte) -39};\n }",
"C2451d mo3408a(C2457e c2457e);",
"public static void main(String args[]) {\n\n\tchar c1 = 'S';\n\tSystem.out.println(c1 + 2);\n\tSystem.out.println(c1 - 2);\n\tSystem.out.println(c1 * 2);\n\tSystem.out.println(c1 / 2);\n\tSystem.out.println(c1 << 2);\n\tSystem.out.println(c1 >>> 2);\n\tSystem.out.println(c1 >> 2);\n\tSystem.out.println(c1 | 2);\n\tSystem.out.println(c1 & 2);\n\tSystem.out.println(c1 ^ 2);\n\n\tbyte b1 = 127;\n\tSystem.out.println(b1 + 2);\n\tSystem.out.println(b1 - 2);\n\tSystem.out.println(b1 * 2);\n\tSystem.out.println(b1 / 2);\n\tSystem.out.println(b1 << 2);\n\tSystem.out.println(b1 >>> 2);\n\tSystem.out.println(b1 >> 2);\n\tSystem.out.println(b1 | 2);\n\tSystem.out.println(b1 & 2);\n\tSystem.out.println(b1 ^ 2);\n\n\n\tshort s1 = 127;\n\tSystem.out.println(s1 + 2);\n\tSystem.out.println(s1 - 2);\n\tSystem.out.println(s1 * 2);\n\tSystem.out.println(s1 / 2);\n\tSystem.out.println(s1 << 2);\n\tSystem.out.println(s1 >>> 2);\n\tSystem.out.println(s1 >> 2);\n\tSystem.out.println(s1 | 2);\n\tSystem.out.println(s1 & 2);\n\tSystem.out.println(s1 ^ 2);\n\n\tint i1 = 127;\n\tSystem.out.println(i1 + 2);\n\tSystem.out.println(i1 - 2);\n\tSystem.out.println(i1 * 2);\n\tSystem.out.println(i1 / 2);\n\tSystem.out.println(i1 << 2);\n\tSystem.out.println(i1 >>> 2);\n\tSystem.out.println(i1 >> 2);\n\tSystem.out.println(s1 | 2);\n\tSystem.out.println(s1 & 2);\n\tSystem.out.println(s1 ^ 2);\n\n\tlong l1 = 12345678910L;\n\tSystem.out.println(l1 + 2);\n\tSystem.out.println(l1 - 2);\n\tSystem.out.println(l1 * 2);\n\tSystem.out.println(l1 / 2);\n\tSystem.out.println(l1 << 2);\n\tSystem.out.println(l1 >>> 2);\n\tSystem.out.println(l1 >> 2);\n\tSystem.out.println(s1 | 2);\n\tSystem.out.println(s1 & 2);\n\tSystem.out.println(s1 ^ 2);\n\n\tfloat f1 = 667.123476F;\n\tSystem.out.println(f1 + 2);\n\tSystem.out.println(f1 - 2);\n\tSystem.out.println(f1 * 2);\n\tSystem.out.println(f1 / 2);\n\n\tdouble d1 = 32383.2345769172340;\n\tSystem.out.println(f1 + d1);\n\tSystem.out.println(f1 - d1);\n\tSystem.out.println(f1 * d1);\n\tSystem.out.println(f1 / d1);\n\n\n\n\tByte b2 = 127;\n\tSystem.out.println(b2 + 2);\n\tSystem.out.println(b2 - 2);\n\tSystem.out.println(b2 * 2);\n\tSystem.out.println(b2 / 2);\n\tSystem.out.println(b2 << 2);\n\tSystem.out.println(b2 >>> 2);\n\tSystem.out.println(b2 >> 2);\n\n\tShort s2 = 13245;\n\tSystem.out.println(s2 + 2);\n\tSystem.out.println(s2 - 2);\n\tSystem.out.println(s2 * 2);\n\tSystem.out.println(s2 / 2);\n\tSystem.out.println(s2 << 2);\n\tSystem.out.println(s2 >>> 2);\n\tSystem.out.println(s2 >> 2);\n\n\tCharacter c2 = 'C';\n\tSystem.out.println(c2 + 2);\n\tSystem.out.println(c2 - 2);\n\tSystem.out.println(c2 * 2);\n\tSystem.out.println(c2 / 2);\n\tSystem.out.println(c2 << 2);\n\tSystem.out.println(c2 >>> 2);\n\tSystem.out.println(c2 >> 2);\n\n\tInteger i2 = 127;\n\tSystem.out.println(i2 + 2);\n\tSystem.out.println(i2 - 2);\n\tSystem.out.println(i2 * 2);\n\tSystem.out.println(i2 / 2);\n\tSystem.out.println(i2 << 2);\n\tSystem.out.println(i2 >>> 2);\n\tSystem.out.println(i2 >> 2);\n\n\tLong l2 = 122273757L;\n\tSystem.out.println(l2 + 2);\n\tSystem.out.println(l2 - 2);\n\tSystem.out.println(l2 * 2);\n\tSystem.out.println(l2 / 2);\n\tSystem.out.println(l2 << 2);\n\tSystem.out.println(l2 >>> 2);\n\tSystem.out.println(l2 >> 2);\n\n\tFloat f2 = 123.44765896F;\n\tSystem.out.println(f2 + 2);\n\tSystem.out.println(f2 - 2);\n\tSystem.out.println(f2 * 2);\n\tSystem.out.println(f2 / 2);\n\n\tDouble d2 = 12322387.44765896;\n\tSystem.out.println(d2 + 2);\n\tSystem.out.println(d2 - 2);\n\tSystem.out.println(d2 * 2);\n\tSystem.out.println(d2 / 2);\n }",
"public void print1T0255(){\n StringBuilder out = new StringBuilder();\n for (int i = 1; i <= 255; i++){\n out.append( i + \" \");\n }\n System.out.println( out.toString());\n }",
"private int getNucIndex(char c) {\n\t\tswitch(c) {\n\t\tcase 'A':\n\t\t\treturn 0;\n\t\tcase 'C':\n\t\t\treturn 1;\n\t\tcase 'G':\n\t\t\treturn 2;\n\t\tcase 'T':\n\t\t\treturn 3;\n\t\tcase '-':\n\t\t\treturn 4;\n\t\tdefault:\n\t\t\treturn 4;\n\t\t}\n\t}",
"@Test(timeout = 4000)\n public void test103() throws Throwable {\n int int0 = JavaCharStream.hexval('E');\n assertEquals(14, int0);\n }",
"@Test\n public void checkUniqueCharacter() {\n int numberOfChars = compressor.getCodes().size();\n assertTrue(numberOfChars == 86 || numberOfChars == 87, \"You appear to have some very strange end-of-line configuration on your machine!\");\n }",
"@Test(timeout = 4000)\n public void test119() throws Throwable {\n int int0 = JavaCharStream.hexval('5');\n assertEquals(5, int0);\n }",
"public static int offsetBits_sum_e() {\n return 104;\n }",
"public int getInternalBlockLength()\r\n/* 40: */ {\r\n/* 41: 95 */ return 32;\r\n/* 42: */ }",
"private static int m1646b(CharSequence charSequence) {\n return new C0510a(charSequence, false).mo4452e();\n }",
"java.lang.String getField1072();",
"public static void main(String[] args) {\n\t\tchar ch1 = '헐';\n\t\tchar ch2 = '확';\n\t\tSystem.out.println(ch1 + \" \" + ch2);\n\t\t\n\t\tchar ch3 = 0xD5D0;\n\t\tchar ch4 = 0xD655;\n\t\tSystem.out.println(ch3 + \" \" + ch4);\n\t\t\n\t\tchar ch5 = 54736;\n\t\tchar ch6 = 54869;\n\t\tSystem.out.println(ch5 + \" \" + ch6);\n\t}",
"public static void main(String[] args) {\r\n\t\tint e=437;\r\n\t\tint a=0;\r\n\t\twhile(e>0)\r\n\t\t{\r\n\t\t\ta=e%10;\r\n\t\tSystem.out.print(a);\r\n\t\t\ta=e/10;\r\n\t\t\t\r\n\t\t\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\r\n\t}",
"static void method_1458() {\r\n boolean var10000 = true;\r\n char[] var10003 = \"Â\u0002;\u0017sIȰ{T\u001e\".toCharArray();\r\n Object var10004 = var10003.length;\r\n Object var4 = true;\r\n char[] var10002 = var10003;\r\n char[] var10001 = (char[])var10004;\r\n int var0 = 0;\r\n\r\n while(true) {\r\n var10003 = var10002;\r\n var10002 = var10001;\r\n var10001 = var10003;\r\n char[] var5 = var10002;\r\n var10002 = var10003;\r\n if(var10003 <= var0) {\r\n field_1791 = (new String((char[])var4)).intern();\r\n String var2 = field_1791;\r\n return;\r\n }\r\n\r\n char var10007 = (char)((Object[])var4)[var0];\r\n short var10009;\r\n switch(var0 % 7) {\r\n case 0:\r\n var10009 = 220;\r\n break;\r\n case 1:\r\n var10009 = 19;\r\n break;\r\n case 2:\r\n var10009 = 57;\r\n break;\r\n case 3:\r\n var10009 = 122;\r\n break;\r\n case 4:\r\n var10009 = 30;\r\n break;\r\n case 5:\r\n var10009 = 36;\r\n break;\r\n default:\r\n var10009 = 165;\r\n }\r\n\r\n ((Object[])var4)[var0] = (char)(var10007 ^ var5 ^ var10009);\r\n ++var0;\r\n }\r\n }",
"@Test(timeout = 4000)\n public void test117() throws Throwable {\n int int0 = JavaCharStream.hexval('7');\n assertEquals(7, int0);\n }",
"private static String m7946z(char[] cArr) {\n int length = cArr.length;\n for (int i = 0; length > i; i++) {\n int i2;\n char c = cArr[i];\n switch (i % 5) {\n case 0:\n i2 = 70;\n break;\n case 1:\n i2 = 26;\n break;\n case 2:\n i2 = C0607n.co;\n break;\n case 3:\n i2 = 99;\n break;\n default:\n i2 = 16;\n break;\n }\n cArr[i] = (char) (i2 ^ c);\n }\n return new String(cArr).intern();\n }",
"public abstract int mo9736c(int i);",
"public abstract byte[] mo32305a(String str);",
"private byte[] m1034b(java.lang.String r8) {\n /*\n r7 = this;\n r6 = 2\n r4 = 6\n r2 = 0\n java.lang.String r0 = \":\"\n java.lang.String[] r0 = r8.split(r0)\n byte[] r1 = new byte[r4]\n if (r0 == 0) goto L_0x0010\n int r3 = r0.length // Catch:{ Throwable -> 0x0043 }\n if (r3 == r4) goto L_0x001e\n L_0x0010:\n r0 = 6\n java.lang.String[] r0 = new java.lang.String[r0] // Catch:{ Throwable -> 0x0043 }\n r3 = r2\n L_0x0014:\n int r4 = r0.length // Catch:{ Throwable -> 0x0043 }\n if (r3 >= r4) goto L_0x001e\n java.lang.String r4 = \"0\"\n r0[r3] = r4 // Catch:{ Throwable -> 0x0043 }\n int r3 = r3 + 1\n goto L_0x0014\n L_0x001e:\n int r3 = r0.length // Catch:{ Throwable -> 0x0043 }\n if (r2 >= r3) goto L_0x0041\n r3 = r0[r2] // Catch:{ Throwable -> 0x0043 }\n int r3 = r3.length() // Catch:{ Throwable -> 0x0043 }\n if (r3 <= r6) goto L_0x0033\n r3 = r0[r2] // Catch:{ Throwable -> 0x0043 }\n r4 = 0\n r5 = 2\n java.lang.String r3 = r3.substring(r4, r5) // Catch:{ Throwable -> 0x0043 }\n r0[r2] = r3 // Catch:{ Throwable -> 0x0043 }\n L_0x0033:\n r3 = r0[r2] // Catch:{ Throwable -> 0x0043 }\n r4 = 16\n int r3 = java.lang.Integer.parseInt(r3, r4) // Catch:{ Throwable -> 0x0043 }\n byte r3 = (byte) r3 // Catch:{ Throwable -> 0x0043 }\n r1[r2] = r3 // Catch:{ Throwable -> 0x0043 }\n int r2 = r2 + 1\n goto L_0x001e\n L_0x0041:\n r0 = r1\n L_0x0042:\n return r0\n L_0x0043:\n r0 = move-exception\n java.lang.String r1 = \"Req\"\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n r2.<init>()\n java.lang.String r3 = \"getMacBa \"\n java.lang.StringBuilder r2 = r2.append(r3)\n java.lang.StringBuilder r2 = r2.append(r8)\n java.lang.String r2 = r2.toString()\n com.amap.loc.C0310c.m956a(r0, r1, r2)\n java.lang.String r0 = \"00:00:00:00:00:00\"\n byte[] r0 = r7.m1034b(r0)\n goto L_0x0042\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.loc.C0321cj.m1034b(java.lang.String):byte[]\");\n }",
"private static char toHexDigit(int h) {\n char out;\n if (h <= 9) out = (char) (h + 0x30);\n else out = (char) (h + 0x37);\n //System.err.println(h + \": \" + out);\n return out;\n }",
"public int method_2436() {\r\n return 16;\r\n }",
"public static int m8655e() {\n return 8;\n }",
"static int size_of_pchl(String passed){\n\t\treturn 1;\n\t}",
"BigInteger getWidth();",
"@Test(timeout = 4000)\n public void test115() throws Throwable {\n int int0 = JavaCharStream.hexval('9');\n assertEquals(9, int0);\n }"
] |
[
"0.588433",
"0.57063925",
"0.5667071",
"0.5628257",
"0.5615408",
"0.5593419",
"0.5588886",
"0.5563886",
"0.55067235",
"0.550189",
"0.54914445",
"0.54407513",
"0.54153246",
"0.5390796",
"0.5389226",
"0.53845793",
"0.53841317",
"0.53479475",
"0.53400034",
"0.5332851",
"0.53117734",
"0.5311129",
"0.5296263",
"0.5280968",
"0.5280818",
"0.527421",
"0.52705705",
"0.5250978",
"0.52469254",
"0.5233931",
"0.522809",
"0.52244014",
"0.52194124",
"0.521665",
"0.52145034",
"0.52125376",
"0.52116096",
"0.52074134",
"0.52064234",
"0.5203266",
"0.5202668",
"0.5198651",
"0.51822895",
"0.51815397",
"0.5180656",
"0.5175605",
"0.51727486",
"0.5171902",
"0.51674545",
"0.5165168",
"0.51633143",
"0.51632524",
"0.5160796",
"0.5157169",
"0.5156367",
"0.5154174",
"0.51500106",
"0.5148832",
"0.5146068",
"0.5144536",
"0.5143473",
"0.51427466",
"0.5141949",
"0.5141949",
"0.5140101",
"0.5138724",
"0.5138561",
"0.51371187",
"0.51345795",
"0.51334566",
"0.5131662",
"0.51263434",
"0.51228404",
"0.5122014",
"0.51209235",
"0.51206815",
"0.5119916",
"0.51197004",
"0.51182556",
"0.5117142",
"0.5116447",
"0.51152426",
"0.51082134",
"0.5106989",
"0.5100019",
"0.50991106",
"0.50990975",
"0.50980616",
"0.5095862",
"0.5095727",
"0.5087014",
"0.5086024",
"0.5082142",
"0.5079088",
"0.5078582",
"0.5078015",
"0.50751555",
"0.5072401",
"0.5068779",
"0.5067906",
"0.5061525"
] |
0.0
|
-1
|
/ / / / / / /
|
public TextBuffer constructTextBuffer()
/* */ {
/* 137 */ return new TextBuffer(this._bufferRecycler);
/* */ }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"public void divide() {\n\t\t\n\t}",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"private int rightChild(int i){return 2*i+2;}",
"public abstract void bepaalGrootte();",
"public static void bottomHalf() {\n\n for(int i = 1; i <= SIZE; i++) {\n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\" \");\n }\n \n\t System.out.print(\"\\\\_\");\n\t for(int j = 3*SIZE-i; j >= i; j--) {\n\t System.out.print(\"/\\\\\");\n\t }\n\t System.out.println(\"_/\");\n }\n }",
"double passer();",
"public void gored() {\n\t\t\n\t}",
"public String ring();",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"public abstract String division();",
"public String toString(){ return \"DIV\";}",
"public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }",
"private static Object[] newPath(int length, Object[] leaf) {\n Object[] node = leaf;\n for (int i = 0; i < length; i += 5) {\n node = new Object[] { node };\n }\n return node;\n }",
"int getWidth() {return width;}",
"private void pointer(Graphics image,int x,int y,int height,int b,int dir) {\n\n\t\tint[] xt=new int[3];\n\t\tint[] yt=new int[3];\n\n\t\tif(dir==0) {\n\t\t\txt[0]=x;\n\t\t\txt[1]=xt[2]=x+height;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=y+b/2;\n\t\t\tyt[2]=y-b/2;\n\t\t} else {\n\t\t\txt[0]=x;\n\t\t\txt[1]=x+b/2;\n\t\t\txt[2]=x-b/2;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=yt[2]=y-height;\n\t\t}\n\t\timage.fillPolygon(xt,yt,3);\n\t}",
"public void getTile_B8();",
"public double getWidth() {\n return this.size * 2.0; \n }",
"double volume(){\n return width*height*depth;\n }",
"@Override\n public void bfs() {\n\n }",
"public static void main(String[] args) {\n\n\n for(int a=0; a<7;a++){\n for(int b=0;b<7-a;b++){\n System.out.print(\" \");\n }\n for(int c=0; c<=a;c++){\n System.out.print(\"* \");\n }\n System.out.println(\" \");\n }\n\n }",
"int width();",
"Operations operations();",
"void sharpen();",
"void sharpen();",
"private static void breadcrumbArrow(int width, int height, int indent, int c1, int c2) {\n\n\t\tdouble x0 = 0, y0 = height / 2d;\n\t\tdouble x1 = indent, y1 = 0;\n\t\tdouble x2 = indent, y2 = height / 2d;\n\t\tdouble x3 = indent, y3 = height;\n\t\tdouble x4 = width, y4 = 0;\n\t\tdouble x5 = width, y5 = height / 2d;\n\t\tdouble x6 = width, y6 = height;\n\t\tdouble x7 = indent + width, y7 = 0;\n\t\tdouble x8 = indent + width, y8 = height;\n\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent)/(width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width)/(width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}",
"static void pyramid(){\n\t}",
"public Integer getWidth(){return this.width;}",
"private void traverseBayeredPatternHalfSizeRGB(){\n int originalPositionX = 0;\n int originalPositionY = 1;\n\n for (int newX = 0; originalPositionX < originalImageHeight -1; newX++){\n for (int newY = 0; originalPositionY < originalImageWidth -1; newY++){\n Point newPosition = new Point(newX,newY);\n int newAbsoultPosition = getAbsolutPixelPosition(newPosition, originalImageHeight / 2, originalImageWidth / 2);\n halfSizePixRGB[newAbsoultPosition] = getAverageRGB(new Point(originalPositionX,originalPositionY));\n originalPositionY += 2;\n }\n originalPositionY = 0;\n originalPositionX += 2;\n }\n }",
"@Override\npublic void processDirection() {\n\t\n}",
"private double[] getExtents(){\n return new double[] { -90, -180, 90, 180 };\n }",
"public int generateRoshambo(){\n ;]\n\n }",
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"public void skystonePos4() {\n }",
"void mo33732Px();",
"private void traversePath()\n\t{\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t}",
"protected boolean\nshouldCompactPathLists()\n//\n////////////////////////////////////////////////////////////////////////\n{\n return true;\n}",
"public void SubRect(){\n\t\n}",
"public static void unionPathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze two = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\tSystem.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = two.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber+n) != S.findAndCompress(randomNumber)){\n\t\t\t\t\t\tS.union(randomNumber+n, randomNumber);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'u');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.union(randomNumber, randomNumber+1);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(two, n);\n\t\tuserSelection_SolveMaze(n);\n\n\n\t\tStdDraw.show(0);\n\t\ttwo.draw();\n\t\ttwo.printCellNumbers();\n\t}",
"private int leftChild(int index){\n\t\treturn (2*index) +1;\n\t}",
"void walk() {\n\t\t\n\t}",
"public static void sizePathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze five = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\t//System.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = five.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber + n)){\n\t\t\t\t\t\tS.unionBySize(randomNumber+n, randomNumber);\n\t\t\t\t\t\tfive.remove_wall(col, row, 'u');\n\t\t\t\t\t\t//S.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.unionBySize(randomNumber, randomNumber+1);\n\t\t\t\t\t\tfive.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(five, n);\n\t\tuserSelection_SolveMaze(n);\n\n\t\tStdDraw.show(0);\n\t\tfive.draw();\n\t\tfive.printCellNumbers();\t\n\t}",
"public double getWidth() { return _width<0? -_width : _width; }",
"public void draw(){\n for(int i = 1; i <= height; i++){\n for(int s = 1; s <= i; s++)\n System.out.print(\"*\");\n System.out.println();\n }\n }",
"public void stg() {\n\n\t}",
"Parallelogram(){\n length = width = height = 0;\n }",
"private int get_right_child(int index){\r\n return 2 * index + 2;\r\n }",
"public void foundLeaf(int width, int height, int level, int currX, int currY, int location) {\n level = level +2;\n if (location == 1) {\n\n\n canvas.addLine(currX - (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n (currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue()) - ( (new Double(spatialHeight / Math.pow(2, level ))).intValue()),\n currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY * 2,\n Color.BLACK);\n\n\n canvas.addLine(((currX - (new Double(spatialWidth / Math.pow(2, level))).intValue())) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(), \n currX,\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.BLACK);\n\n\n\n }\n\n if (location == 2) {\n\n\n canvas.addLine(currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY + (new Double(spatialHeight / Math.pow(2, level))).intValue()) - (new Double(spatialHeight / Math.pow(2, level))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n ( currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue()) + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.black);\n\n canvas.addLine((currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n (currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue()) + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.black);\n\n\n\n }\n\n if (location == 3) {\n\n canvas.addLine(currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue()) - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n currX - (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY,\n Color.BLACK);\n\n\n\n canvas.addLine((currX - (new Double(spatialWidth / Math.pow(2, level))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n\tcurrY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(), \n (currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue()) + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.BLACK);\n\n\n }\n\n if (location == 4) {\n\n\n canvas.addLine(currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY - (new Double(spatialHeight / Math.pow(2, level))).intValue()) - (new Double(spatialHeight / Math.pow(2, level))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY,\n Color.BLACK);\n\n\n canvas.addLine((currX + (new Double(spatialWidth / Math.pow(2, level))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue() + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(), Color.BLACK);\n\n\n }\n\n\n\n\n }",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}",
"public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"private void e()\r\n/* 273: */ {\r\n/* 274:278 */ this.r = false;\r\n/* 275:279 */ this.s = false;\r\n/* 276:280 */ this.t = false;\r\n/* 277:281 */ this.u = false;\r\n/* 278:282 */ this.v = false;\r\n/* 279: */ }",
"public double getWidth() {\n return this.getRight(this.tree.getRight(0)) - this.getLeft(this.tree.getLeft(0)); \n }",
"double getPerimeter(){\n return 2*height+width;\n }",
"public static void part2(){\n\t\n System.out.println(\"\\\\\"); //Outer wall\n System.out.println(\"\\\\\");\n System.out.println(\"\\\\\");\n for(int i = 0; i <= 16; i++){ //loop created to display top of the door\n\n \tSystem.out.print(\"-\");\n\n\t}\n System.out.println(\"\");\n System.out.println(\"\\\\\\t\\t| \\t(\\\")\"); //The door and the stick figure\n System.out.println(\"\\\\\\t\\t|\\t-|-\");\n System.out.println(\"\\\\\\t o | \\t |\");\n System.out.println(\"\\\\\\t\\t|\\t /\\\\\");\n System.out.println(\"\\\\\\t\\t|\\t/ \\\\\");\n\t\t\n }",
"public double getPerimiter(){return (2*height +2*width);}",
"@Override\r\n\tpublic void walk() {\n\r\n\t}",
"double Volume(){\r\n return Height * Width * Depth;\r\n }",
"int[] union(int s1,int t1,int s2,int t2)\r\n\t{\r\n\t\tint [] st=new int[2];\r\n\t\t//Please fill in the program here\r\n\t\tst[0] = incCapacity();\r\n\t\taddEdge(st[0], epssymbol, s1);\r\n\t\taddEdge(st[0], epssymbol, s2);\r\n\t\tst[1] = incCapacity();\r\n\t\taddEdge(t1, epssymbol, st[1]);\r\n\t\taddEdge(t2, epssymbol, st[1]);\r\n\r\n\t\treturn st;\r\n\t}",
"void doubleBox(int sides, float x1, float y1, float z1, float x2, float y2, float z2)\r\n/* 100: */ {\r\n/* 101: 99 */ int s2 = sides << 1 & 0x2A | sides >> 1 & 0x15;\r\n/* 102: */ \r\n/* 103:101 */ this.context.renderBox(sides, x1, y1, z1, x2, y2, z2);\r\n/* 104:102 */ this.context.renderBox(s2, x2, y2, z2, x1, y1, z1);\r\n/* 105: */ }",
"@Override\n protected void paint2d(Graphics2D g) {\n \n }",
"public static String makeShapeA() {\n\tString result = \"\";\n\t\tfor (int i = 0; i < 8 ; i++) {\n\t\t\tresult+=printHash(i);\n\t\t\t\n\t\t}return result;\n\t\t\t//System.out.println(printHash(i));\n\t\t}",
"double getNewWidth();",
"public void draw4x4 (char design){\n System.out.println(\"\"+design+design+design+design);\n System.out.println(design+\" \"+design);\n System.out.println(design+\" \"+design);\n System.out.println(\"\"+design+design+design+design);\n}",
"public void lowerFlatbed(){\n flatbed.lowerFlatbed();\n }",
"int fi(int x, int y) {\n\t\treturn (x + 1) + (width + 2) * (y + 1);\n\t}",
"private void createPath(Direction d, int width, Point p1, Point p2) {\n\t\t// Determine how far away from the center the corners are\n\t\tint sideOneOffset = 0;\t// Top or Left depending on path direction\n\t\tint sideTwoOffset = 0;\t// Bot or Right depending on path direction\n\t\t// If the width is odd, balance the offsets\n\t\tif (width % 2 != 0) {\t\n\t\t\tsideOneOffset = sideTwoOffset = ((width / 2) + 1);\n\t\t} else {\n\t\t\t// If the width is even, the offsets will be off by 1\n\t\t\tsideOneOffset = width;\n\t\t\tsideTwoOffset = width - 1;\n\t\t}\n\t\tif (d == Direction.LEFT || d == Direction.RIGHT) {\n\t\t\t// If the direction is left then we want to swap the points\n\t\t\t// to pretend like the direction was right (so the following code works)\n\t\t\tif (d == Direction.LEFT) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p1.x, p1.y + sideTwoOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p2.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x, p1.y + sideTwoOffset)));\n\t\t\t// Set the left and right walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.y is the center of the path (top to bottom)\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x, p1.y + (i - width/2))));\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p2.x, p2.y + (i - width/2))));\n\t\t\t}\n\t\t\t// Set middle path and top/bottom padding (horizontal Oreo!)\n\t\t\tfor (int col = p1.x + 1, endCol = p2.x; col < endCol; col++) {\n\t\t\t\t// Add the top wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(col, p1.y - sideOneOffset)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(col, p1.y + (i - width /2))));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the bottom wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(col, p1.y + sideTwoOffset)));\n\t\t\t}\n\t\t} else {\n\t\t\t// If the direction is up then we want to swap the points\n\t\t\t// to pretend like the direction was down (so the following code works)\n\t\t\tif (d == Direction.UP) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x - sideOneOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p2.x - sideOneOffset, p2.y)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p1.x + sideTwoOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x + sideTwoOffset, p2.y)));\n\t\t\t// Set the top and bottom walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.x is the center of the path (left to right)\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(p1.x + (i - width /2), p1.y)));\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(p2.x + (i - width /2), p2.y)));\n\t\t\t}\n\t\t\t// Set middle path and left/right padding (vertical Oreo!)\n\t\t\tfor (int row = p1.y + 1, endRow = p2.y; row < endRow; row++) {\n\t\t\t\t// Add the left wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x - sideOneOffset, row)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(p1.x + (i - width /2), row)));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the right wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p1.x + sideTwoOffset, row)));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"@Override\n\tpublic void walk() {\n\t\t\n\t}",
"public void renderCenterBlock(int cons, int side, int end)\r\n/* 143: */ {\r\n/* 144:135 */ if (cons == 0)\r\n/* 145: */ {\r\n/* 146:136 */ this.context.setTex(end);\r\n/* 147:137 */ doubleBox(63, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F);\r\n/* 148:138 */ return;\r\n/* 149: */ }\r\n/* 150:139 */ if (cons == 3)\r\n/* 151: */ {\r\n/* 152:140 */ this.context.setTexFlags(1773);\r\n/* 153:141 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 154:142 */ doubleBox(60, 0.375F, 0.0F, 0.375F, 0.625F, 1.0F, 0.625F);\r\n/* 155:143 */ return;\r\n/* 156: */ }\r\n/* 157:144 */ if (cons == 12)\r\n/* 158: */ {\r\n/* 159:145 */ this.context.setTexFlags(184365);\r\n/* 160:146 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 161:147 */ doubleBox(51, 0.375F, 0.375F, 0.0F, 0.625F, 0.625F, 1.0F);\r\n/* 162:148 */ return;\r\n/* 163: */ }\r\n/* 164:149 */ if (cons == 48)\r\n/* 165: */ {\r\n/* 166:150 */ this.context.setTexFlags(187200);\r\n/* 167:151 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 168:152 */ doubleBox(15, 0.0F, 0.375F, 0.375F, 1.0F, 0.625F, 0.625F);\r\n/* 169:153 */ return;\r\n/* 170: */ }\r\n/* 171:155 */ this.context.setTex(end);\r\n/* 172:156 */ doubleBox(0x3F ^ cons, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F);\r\n/* 173:157 */ if ((cons & 0x1) > 0)\r\n/* 174: */ {\r\n/* 175:158 */ this.context.setTexFlags(1773);\r\n/* 176:159 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 177:160 */ doubleBox(60, 0.375F, 0.0F, 0.375F, 0.625F, 0.375F, 0.625F);\r\n/* 178: */ }\r\n/* 179:162 */ if ((cons & 0x2) > 0)\r\n/* 180: */ {\r\n/* 181:163 */ this.context.setTexFlags(1773);\r\n/* 182:164 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 183:165 */ doubleBox(60, 0.375F, 0.625F, 0.375F, 0.625F, 1.0F, 0.625F);\r\n/* 184: */ }\r\n/* 185:167 */ if ((cons & 0x4) > 0)\r\n/* 186: */ {\r\n/* 187:168 */ this.context.setTexFlags(184365);\r\n/* 188:169 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 189:170 */ doubleBox(51, 0.375F, 0.375F, 0.0F, 0.625F, 0.625F, 0.375F);\r\n/* 190: */ }\r\n/* 191:172 */ if ((cons & 0x8) > 0)\r\n/* 192: */ {\r\n/* 193:173 */ this.context.setTexFlags(184365);\r\n/* 194:174 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 195:175 */ doubleBox(51, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F, 1.0F);\r\n/* 196: */ }\r\n/* 197:177 */ if ((cons & 0x10) > 0)\r\n/* 198: */ {\r\n/* 199:178 */ this.context.setTexFlags(187200);\r\n/* 200:179 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 201:180 */ doubleBox(15, 0.0F, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F);\r\n/* 202: */ }\r\n/* 203:182 */ if ((cons & 0x20) > 0)\r\n/* 204: */ {\r\n/* 205:183 */ this.context.setTexFlags(187200);\r\n/* 206:184 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 207:185 */ doubleBox(15, 0.625F, 0.375F, 0.375F, 1.0F, 0.625F, 0.625F);\r\n/* 208: */ }\r\n/* 209: */ }",
"double seBlesser();",
"long getWidth();",
"public int getWidth() {\r\n\treturn this.width;\r\n}",
"private void render() {\n StringBuilder builder = new StringBuilder();\n builder.append(horizontalEdge).append(\"\\n\");\n for (int i = 0; i < this.height; i++) {\n builder.append(VERTICAL_CHAR);\n for (int j = 0; j < this.width; j++) {\n builder.append(pixels[i][j]);\n }\n builder.append(VERTICAL_CHAR);\n builder.append(\"\\n\");\n }\n builder.append(horizontalEdge);\n System.out.printf(builder.toString());\n }",
"public void leerPlanesDietas();",
"@Override\r\n public void draw()\r\n {\n\r\n }",
"private void buildPath() {\r\n int xNext = 1;\r\n int yNext = map.getStartPos() + 1;\r\n CellLayered before = cells[yNext][xNext];\r\n while(true)\r\n {\r\n Byte[] xy = map.getDirection(xNext-1, yNext-1);\r\n xNext = xNext + xy[0];\r\n yNext = yNext + xy[1];\r\n\r\n CellLayered next = cells[yNext][xNext];\r\n\r\n if(xy[0]==-1)\r\n before.setRight(false);\r\n else\r\n before.setRight(true);\r\n before.setPath(true);\r\n if(next==null)\r\n break;\r\n\r\n before.setNextInPath(next);\r\n before = next;\r\n }\r\n }",
"void block(Directions dir);",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"public String getRing();",
"@Override\r\n\tpublic double perimeter() {\n\t\treturn 2*length*breadth;\r\n\t}",
"public\nstatic\nvoid\nmain(String args[]) \n\n{ \n\nBinaryTree tree = \nnew\nBinaryTree(); \n\ntree.root = \nnew\nNode(\n20\n); \n\ntree.root.left = \nnew\nNode(\n8\n); \n\ntree.root.left.left = \nnew\nNode(\n4\n); \n\ntree.root.left.right = \nnew\nNode(\n12\n); \n\ntree.root.left.right.left = \nnew\nNode(\n10\n); \n\ntree.root.left.right.right = \nnew\nNode(\n14\n); \n\ntree.root.right = \nnew\nNode(\n22\n); \n\ntree.root.right.right = \nnew\nNode(\n25\n); \n\ntree.printBoundary(tree.root); \n\n}",
"public int getEdgeCount() \n {\n return 3;\n }",
"public int getWidth(){\n return width;\n }",
"public int upright();",
"protected int parent(int i) { return (i - 1) / 2; }",
"@Override\n\tpublic void draw() {\n\n\t}",
"@Override\n\tpublic void draw() {\n\n\t}",
"protected int getWidth()\n\t{\n\t\treturn 0;\n\t}",
"public int getDireccion(Pixel p) {\r\n\t\tif (x == p.x && y < p.y)\r\n\t\t\treturn DIR_N;\r\n\t\tif (x > p.x && y < p.y){\r\n\t\t\tdouble distancia = this.distancia(p);\r\n\t\t\tif (distancia <= 1){\r\n\t\t\t\treturn DIR_NE;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tint distanciaX = Math.abs(x - p.x);\r\n\t\t\t\tint distanciaY = Math.abs(y - p.y);\r\n\t\t\t\tif (distanciaX == distanciaY)\r\n\t\t\t\t\treturn DIR_NE;\r\n\t\t\t\telse if (distanciaX > distanciaY)\r\n\t\t\t\t\treturn DIR_E;\r\n\t\t\t\telse \r\n\t\t\t\t\treturn DIR_N;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (x < p.x && y < p.y){\r\n\t\t\tdouble distancia = this.distancia(p);\r\n\t\t\tif (distancia <= 1){\r\n\t\t\t\treturn DIR_NO;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tint distanciaX = Math.abs(x - p.x);\r\n\t\t\t\tint distanciaY = Math.abs(y - p.y);\r\n\t\t\t\tif (distanciaX == distanciaY)\r\n\t\t\t\t\treturn DIR_NO;\r\n\t\t\t\telse if (distanciaX > distanciaY)\r\n\t\t\t\t\treturn DIR_O;\r\n\t\t\t\telse \r\n\t\t\t\t\treturn DIR_N;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (x == p.x && y > p.y)\r\n\t\t\treturn DIR_S;\r\n\t\tif (x > p.x && y > p.y){\r\n\t\t\tdouble distancia = this.distancia(p);\r\n\t\t\tif (distancia <= 1){\r\n\t\t\t\treturn DIR_SE;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tint distanciaX = Math.abs(x - p.x);\r\n\t\t\t\tint distanciaY = Math.abs(y - p.y);\r\n\t\t\t\tif (distanciaX == distanciaY)\r\n\t\t\t\t\treturn DIR_SE;\r\n\t\t\t\telse if (distanciaX > distanciaY)\r\n\t\t\t\t\treturn DIR_E;\r\n\t\t\t\telse \r\n\t\t\t\t\treturn DIR_S;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (x < p.x && y > p.y){\r\n\t\t\tdouble distancia = this.distancia(p);\r\n\t\t\tif (distancia <= 1){\r\n\t\t\t\treturn DIR_SO;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tint distanciaX = Math.abs(x - p.x);\r\n\t\t\t\tint distanciaY = Math.abs(y - p.y);\r\n\t\t\t\tif (distanciaX == distanciaY)\r\n\t\t\t\t\treturn DIR_SO;\r\n\t\t\t\telse if (distanciaX > distanciaY)\r\n\t\t\t\t\treturn DIR_O;\r\n\t\t\t\telse \r\n\t\t\t\t\treturn DIR_S;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (x > p.x && y == p.y)\r\n\t\t\treturn DIR_E;\r\n\t\tif (x < p.x && y == p.y)\r\n\t\t\treturn DIR_O;\r\n\t\treturn -1;\r\n\t}",
"private void renderPath(Node n)\n {\n\tGraphics g = getGraphics();\n\tboolean painting;\n\tColor nc,lc;\n\n\tpainting = (n.paths_passing==0);\n\twhile (n != null) {\n\t if (painting)\n\t\tn.paths_passing++;\n\t else {\n\t\tn.paths_passing--;\n\t }\n\t \n// \t nc = (n.paths_passing > 0)?hilitcolor:normalcolor;\n// \t lc = (n.paths_passing > 0)?hilitcolor:linecolor;\n\t nc = (n.paths_passing > 0)?n.path_color:normalcolor;\n\t lc = (n.paths_passing > 0)?n.path_color:linecolor;\n\t \n\t if (n.parent == null) {\n\t\tsetRenderColor(g,nc);\n\t\trenderNode(g,n);\n\t\tbreak;\n\t }\n\n\t // Double line width\n\t //setRenderColor(g,(n.paths_passing>0)?hilitcolor:Color.white);\n\t setRenderColor(g,(n.paths_passing>0)?n.path_color:Color.white);\n\t renderLine(g,n.x-1,n.y,n.parent.x-1,n.parent.y);\t\n\n\t setRenderColor(g,lc);\n\t renderLine(g,n.x,n.y,n.parent.x,n.parent.y);\n\n\t setRenderColor(g,nc);\n\t renderNode(g,n);\n\t n = n.parent;\n\t}\n }",
"double volume() {\n\treturn width*height*depth;\n}",
"void table(){\n fill(0);\n rect(width/2, height/2, 600, 350); // boarder\n fill(100, 0 ,0);\n rect(width/2, height/2, 550, 300); //Felt\n \n \n}",
"public void snare();",
"void ringBell() {\n\n }",
"public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}",
"private byte r() {\r\n\t\treturn (left_map == 0 ) ? (byte) 1 : 0;\r\n\t}",
"public void skystonePos2() {\n }",
"public int my_leaf_count();",
"@Override\n\tpublic void draw3() {\n\n\t}"
] |
[
"0.54567957",
"0.53680295",
"0.53644985",
"0.52577376",
"0.52142847",
"0.51725817",
"0.514088",
"0.50868535",
"0.5072305",
"0.504888",
"0.502662",
"0.50005764",
"0.49740013",
"0.4944243",
"0.4941118",
"0.4937142",
"0.49095523",
"0.48940238",
"0.48719338",
"0.48613623",
"0.48604724",
"0.48558092",
"0.48546165",
"0.48490012",
"0.4843668",
"0.4843668",
"0.48420057",
"0.4839597",
"0.4832105",
"0.4817357",
"0.481569",
"0.48122767",
"0.48085573",
"0.48065376",
"0.48032433",
"0.48032212",
"0.4799707",
"0.4798766",
"0.47978994",
"0.47978172",
"0.47921672",
"0.47903922",
"0.4790111",
"0.47886384",
"0.47843018",
"0.47837785",
"0.47828907",
"0.47826976",
"0.4776919",
"0.47767594",
"0.47767594",
"0.47766045",
"0.4764252",
"0.47560593",
"0.4753577",
"0.4752732",
"0.47510985",
"0.47496924",
"0.47485355",
"0.4748455",
"0.4746839",
"0.4744132",
"0.47203988",
"0.4713808",
"0.4711382",
"0.47113234",
"0.47096533",
"0.47075558",
"0.47029856",
"0.4701444",
"0.47014076",
"0.46973658",
"0.46969122",
"0.4692372",
"0.46897912",
"0.4683049",
"0.4681391",
"0.46810925",
"0.46750805",
"0.46722633",
"0.46681988",
"0.466349",
"0.46618745",
"0.46606532",
"0.46533036",
"0.46485004",
"0.46464643",
"0.46447286",
"0.46447286",
"0.46438906",
"0.46405315",
"0.46397775",
"0.4634643",
"0.46339533",
"0.4633923",
"0.4632826",
"0.4631328",
"0.46299514",
"0.46285036",
"0.46276402",
"0.4625902"
] |
0.0
|
-1
|
/ / / / / /
|
public byte[] allocReadIOBuffer()
/* */ {
/* 146 */ _verifyAlloc(this._readIOBuffer);
/* 147 */ return this._readIOBuffer = this._bufferRecycler.allocByteBuffer(0);
/* */ }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void divide() {\n\t\t\n\t}",
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"public abstract void bepaalGrootte();",
"public static void bottomHalf() {\n\n for(int i = 1; i <= SIZE; i++) {\n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\" \");\n }\n \n\t System.out.print(\"\\\\_\");\n\t for(int j = 3*SIZE-i; j >= i; j--) {\n\t System.out.print(\"/\\\\\");\n\t }\n\t System.out.println(\"_/\");\n }\n }",
"private int rightChild(int i){return 2*i+2;}",
"public void gored() {\n\t\t\n\t}",
"double passer();",
"public abstract String division();",
"public String ring();",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"public String toString(){ return \"DIV\";}",
"private void pointer(Graphics image,int x,int y,int height,int b,int dir) {\n\n\t\tint[] xt=new int[3];\n\t\tint[] yt=new int[3];\n\n\t\tif(dir==0) {\n\t\t\txt[0]=x;\n\t\t\txt[1]=xt[2]=x+height;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=y+b/2;\n\t\t\tyt[2]=y-b/2;\n\t\t} else {\n\t\t\txt[0]=x;\n\t\t\txt[1]=x+b/2;\n\t\t\txt[2]=x-b/2;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=yt[2]=y-height;\n\t\t}\n\t\timage.fillPolygon(xt,yt,3);\n\t}",
"public static void main(String[] args) {\n\n\n for(int a=0; a<7;a++){\n for(int b=0;b<7-a;b++){\n System.out.print(\" \");\n }\n for(int c=0; c<=a;c++){\n System.out.print(\"* \");\n }\n System.out.println(\" \");\n }\n\n }",
"void sharpen();",
"void sharpen();",
"public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }",
"static void pyramid(){\n\t}",
"int getWidth() {return width;}",
"Operations operations();",
"private static void breadcrumbArrow(int width, int height, int indent, int c1, int c2) {\n\n\t\tdouble x0 = 0, y0 = height / 2d;\n\t\tdouble x1 = indent, y1 = 0;\n\t\tdouble x2 = indent, y2 = height / 2d;\n\t\tdouble x3 = indent, y3 = height;\n\t\tdouble x4 = width, y4 = 0;\n\t\tdouble x5 = width, y5 = height / 2d;\n\t\tdouble x6 = width, y6 = height;\n\t\tdouble x7 = indent + width, y7 = 0;\n\t\tdouble x8 = indent + width, y8 = height;\n\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent)/(width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width)/(width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}",
"double volume(){\n return width*height*depth;\n }",
"@Override\n public void bfs() {\n\n }",
"void mo33732Px();",
"private static Object[] newPath(int length, Object[] leaf) {\n Object[] node = leaf;\n for (int i = 0; i < length; i += 5) {\n node = new Object[] { node };\n }\n return node;\n }",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"public void stg() {\n\n\t}",
"public void skystonePos4() {\n }",
"public int generateRoshambo(){\n ;]\n\n }",
"public void draw(){\n for(int i = 1; i <= height; i++){\n for(int s = 1; s <= i; s++)\n System.out.print(\"*\");\n System.out.println();\n }\n }",
"public void getTile_B8();",
"int width();",
"public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"public static void unionPathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze two = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\tSystem.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = two.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber+n) != S.findAndCompress(randomNumber)){\n\t\t\t\t\t\tS.union(randomNumber+n, randomNumber);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'u');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.union(randomNumber, randomNumber+1);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(two, n);\n\t\tuserSelection_SolveMaze(n);\n\n\n\t\tStdDraw.show(0);\n\t\ttwo.draw();\n\t\ttwo.printCellNumbers();\n\t}",
"public static void part2(){\n\t\n System.out.println(\"\\\\\"); //Outer wall\n System.out.println(\"\\\\\");\n System.out.println(\"\\\\\");\n for(int i = 0; i <= 16; i++){ //loop created to display top of the door\n\n \tSystem.out.print(\"-\");\n\n\t}\n System.out.println(\"\");\n System.out.println(\"\\\\\\t\\t| \\t(\\\")\"); //The door and the stick figure\n System.out.println(\"\\\\\\t\\t|\\t-|-\");\n System.out.println(\"\\\\\\t o | \\t |\");\n System.out.println(\"\\\\\\t\\t|\\t /\\\\\");\n System.out.println(\"\\\\\\t\\t|\\t/ \\\\\");\n\t\t\n }",
"private void e()\r\n/* 273: */ {\r\n/* 274:278 */ this.r = false;\r\n/* 275:279 */ this.s = false;\r\n/* 276:280 */ this.t = false;\r\n/* 277:281 */ this.u = false;\r\n/* 278:282 */ this.v = false;\r\n/* 279: */ }",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"protected boolean\nshouldCompactPathLists()\n//\n////////////////////////////////////////////////////////////////////////\n{\n return true;\n}",
"Parallelogram(){\n length = width = height = 0;\n }",
"private void traversePath()\n\t{\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t}",
"public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}",
"public double getWidth() {\n return this.size * 2.0; \n }",
"private void traverseBayeredPatternHalfSizeRGB(){\n int originalPositionX = 0;\n int originalPositionY = 1;\n\n for (int newX = 0; originalPositionX < originalImageHeight -1; newX++){\n for (int newY = 0; originalPositionY < originalImageWidth -1; newY++){\n Point newPosition = new Point(newX,newY);\n int newAbsoultPosition = getAbsolutPixelPosition(newPosition, originalImageHeight / 2, originalImageWidth / 2);\n halfSizePixRGB[newAbsoultPosition] = getAverageRGB(new Point(originalPositionX,originalPositionY));\n originalPositionY += 2;\n }\n originalPositionY = 0;\n originalPositionX += 2;\n }\n }",
"@Override\npublic void processDirection() {\n\t\n}",
"void walk() {\n\t\t\n\t}",
"void doubleBox(int sides, float x1, float y1, float z1, float x2, float y2, float z2)\r\n/* 100: */ {\r\n/* 101: 99 */ int s2 = sides << 1 & 0x2A | sides >> 1 & 0x15;\r\n/* 102: */ \r\n/* 103:101 */ this.context.renderBox(sides, x1, y1, z1, x2, y2, z2);\r\n/* 104:102 */ this.context.renderBox(s2, x2, y2, z2, x1, y1, z1);\r\n/* 105: */ }",
"public void SubRect(){\n\t\n}",
"public void division() {\n\t\tx=1;\n\t\ty=0;\n\t\tz=x/y;\n\t\t\t\t\n\t}",
"public void foundLeaf(int width, int height, int level, int currX, int currY, int location) {\n level = level +2;\n if (location == 1) {\n\n\n canvas.addLine(currX - (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n (currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue()) - ( (new Double(spatialHeight / Math.pow(2, level ))).intValue()),\n currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY * 2,\n Color.BLACK);\n\n\n canvas.addLine(((currX - (new Double(spatialWidth / Math.pow(2, level))).intValue())) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(), \n currX,\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.BLACK);\n\n\n\n }\n\n if (location == 2) {\n\n\n canvas.addLine(currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY + (new Double(spatialHeight / Math.pow(2, level))).intValue()) - (new Double(spatialHeight / Math.pow(2, level))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n ( currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue()) + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.black);\n\n canvas.addLine((currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n (currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue()) + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.black);\n\n\n\n }\n\n if (location == 3) {\n\n canvas.addLine(currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue()) - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n currX - (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY,\n Color.BLACK);\n\n\n\n canvas.addLine((currX - (new Double(spatialWidth / Math.pow(2, level))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n\tcurrY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(), \n (currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue()) + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.BLACK);\n\n\n }\n\n if (location == 4) {\n\n\n canvas.addLine(currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY - (new Double(spatialHeight / Math.pow(2, level))).intValue()) - (new Double(spatialHeight / Math.pow(2, level))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY,\n Color.BLACK);\n\n\n canvas.addLine((currX + (new Double(spatialWidth / Math.pow(2, level))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue() + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(), Color.BLACK);\n\n\n }\n\n\n\n\n }",
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"public double getWidth() { return _width<0? -_width : _width; }",
"public static void sizePathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze five = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\t//System.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = five.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber + n)){\n\t\t\t\t\t\tS.unionBySize(randomNumber+n, randomNumber);\n\t\t\t\t\t\tfive.remove_wall(col, row, 'u');\n\t\t\t\t\t\t//S.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.unionBySize(randomNumber, randomNumber+1);\n\t\t\t\t\t\tfive.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(five, n);\n\t\tuserSelection_SolveMaze(n);\n\n\t\tStdDraw.show(0);\n\t\tfive.draw();\n\t\tfive.printCellNumbers();\t\n\t}",
"double getPerimeter(){\n return 2*height+width;\n }",
"double Volume(){\r\n return Height * Width * Depth;\r\n }",
"public Integer getWidth(){return this.width;}",
"@Override\n protected void paint2d(Graphics2D g) {\n \n }",
"private void createPath(Direction d, int width, Point p1, Point p2) {\n\t\t// Determine how far away from the center the corners are\n\t\tint sideOneOffset = 0;\t// Top or Left depending on path direction\n\t\tint sideTwoOffset = 0;\t// Bot or Right depending on path direction\n\t\t// If the width is odd, balance the offsets\n\t\tif (width % 2 != 0) {\t\n\t\t\tsideOneOffset = sideTwoOffset = ((width / 2) + 1);\n\t\t} else {\n\t\t\t// If the width is even, the offsets will be off by 1\n\t\t\tsideOneOffset = width;\n\t\t\tsideTwoOffset = width - 1;\n\t\t}\n\t\tif (d == Direction.LEFT || d == Direction.RIGHT) {\n\t\t\t// If the direction is left then we want to swap the points\n\t\t\t// to pretend like the direction was right (so the following code works)\n\t\t\tif (d == Direction.LEFT) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p1.x, p1.y + sideTwoOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p2.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x, p1.y + sideTwoOffset)));\n\t\t\t// Set the left and right walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.y is the center of the path (top to bottom)\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x, p1.y + (i - width/2))));\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p2.x, p2.y + (i - width/2))));\n\t\t\t}\n\t\t\t// Set middle path and top/bottom padding (horizontal Oreo!)\n\t\t\tfor (int col = p1.x + 1, endCol = p2.x; col < endCol; col++) {\n\t\t\t\t// Add the top wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(col, p1.y - sideOneOffset)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(col, p1.y + (i - width /2))));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the bottom wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(col, p1.y + sideTwoOffset)));\n\t\t\t}\n\t\t} else {\n\t\t\t// If the direction is up then we want to swap the points\n\t\t\t// to pretend like the direction was down (so the following code works)\n\t\t\tif (d == Direction.UP) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x - sideOneOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p2.x - sideOneOffset, p2.y)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p1.x + sideTwoOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x + sideTwoOffset, p2.y)));\n\t\t\t// Set the top and bottom walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.x is the center of the path (left to right)\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(p1.x + (i - width /2), p1.y)));\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(p2.x + (i - width /2), p2.y)));\n\t\t\t}\n\t\t\t// Set middle path and left/right padding (vertical Oreo!)\n\t\t\tfor (int row = p1.y + 1, endRow = p2.y; row < endRow; row++) {\n\t\t\t\t// Add the left wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x - sideOneOffset, row)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(p1.x + (i - width /2), row)));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the right wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p1.x + sideTwoOffset, row)));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"public void draw4x4 (char design){\n System.out.println(\"\"+design+design+design+design);\n System.out.println(design+\" \"+design);\n System.out.println(design+\" \"+design);\n System.out.println(\"\"+design+design+design+design);\n}",
"private double[] getExtents(){\n return new double[] { -90, -180, 90, 180 };\n }",
"public void renderCenterBlock(int cons, int side, int end)\r\n/* 143: */ {\r\n/* 144:135 */ if (cons == 0)\r\n/* 145: */ {\r\n/* 146:136 */ this.context.setTex(end);\r\n/* 147:137 */ doubleBox(63, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F);\r\n/* 148:138 */ return;\r\n/* 149: */ }\r\n/* 150:139 */ if (cons == 3)\r\n/* 151: */ {\r\n/* 152:140 */ this.context.setTexFlags(1773);\r\n/* 153:141 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 154:142 */ doubleBox(60, 0.375F, 0.0F, 0.375F, 0.625F, 1.0F, 0.625F);\r\n/* 155:143 */ return;\r\n/* 156: */ }\r\n/* 157:144 */ if (cons == 12)\r\n/* 158: */ {\r\n/* 159:145 */ this.context.setTexFlags(184365);\r\n/* 160:146 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 161:147 */ doubleBox(51, 0.375F, 0.375F, 0.0F, 0.625F, 0.625F, 1.0F);\r\n/* 162:148 */ return;\r\n/* 163: */ }\r\n/* 164:149 */ if (cons == 48)\r\n/* 165: */ {\r\n/* 166:150 */ this.context.setTexFlags(187200);\r\n/* 167:151 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 168:152 */ doubleBox(15, 0.0F, 0.375F, 0.375F, 1.0F, 0.625F, 0.625F);\r\n/* 169:153 */ return;\r\n/* 170: */ }\r\n/* 171:155 */ this.context.setTex(end);\r\n/* 172:156 */ doubleBox(0x3F ^ cons, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F);\r\n/* 173:157 */ if ((cons & 0x1) > 0)\r\n/* 174: */ {\r\n/* 175:158 */ this.context.setTexFlags(1773);\r\n/* 176:159 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 177:160 */ doubleBox(60, 0.375F, 0.0F, 0.375F, 0.625F, 0.375F, 0.625F);\r\n/* 178: */ }\r\n/* 179:162 */ if ((cons & 0x2) > 0)\r\n/* 180: */ {\r\n/* 181:163 */ this.context.setTexFlags(1773);\r\n/* 182:164 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 183:165 */ doubleBox(60, 0.375F, 0.625F, 0.375F, 0.625F, 1.0F, 0.625F);\r\n/* 184: */ }\r\n/* 185:167 */ if ((cons & 0x4) > 0)\r\n/* 186: */ {\r\n/* 187:168 */ this.context.setTexFlags(184365);\r\n/* 188:169 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 189:170 */ doubleBox(51, 0.375F, 0.375F, 0.0F, 0.625F, 0.625F, 0.375F);\r\n/* 190: */ }\r\n/* 191:172 */ if ((cons & 0x8) > 0)\r\n/* 192: */ {\r\n/* 193:173 */ this.context.setTexFlags(184365);\r\n/* 194:174 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 195:175 */ doubleBox(51, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F, 1.0F);\r\n/* 196: */ }\r\n/* 197:177 */ if ((cons & 0x10) > 0)\r\n/* 198: */ {\r\n/* 199:178 */ this.context.setTexFlags(187200);\r\n/* 200:179 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 201:180 */ doubleBox(15, 0.0F, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F);\r\n/* 202: */ }\r\n/* 203:182 */ if ((cons & 0x20) > 0)\r\n/* 204: */ {\r\n/* 205:183 */ this.context.setTexFlags(187200);\r\n/* 206:184 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 207:185 */ doubleBox(15, 0.625F, 0.375F, 0.375F, 1.0F, 0.625F, 0.625F);\r\n/* 208: */ }\r\n/* 209: */ }",
"int[] union(int s1,int t1,int s2,int t2)\r\n\t{\r\n\t\tint [] st=new int[2];\r\n\t\t//Please fill in the program here\r\n\t\tst[0] = incCapacity();\r\n\t\taddEdge(st[0], epssymbol, s1);\r\n\t\taddEdge(st[0], epssymbol, s2);\r\n\t\tst[1] = incCapacity();\r\n\t\taddEdge(t1, epssymbol, st[1]);\r\n\t\taddEdge(t2, epssymbol, st[1]);\r\n\r\n\t\treturn st;\r\n\t}",
"public double getPerimiter(){return (2*height +2*width);}",
"int fi(int x, int y) {\n\t\treturn (x + 1) + (width + 2) * (y + 1);\n\t}",
"void ringBell() {\n\n }",
"public static String makeShapeA() {\n\tString result = \"\";\n\t\tfor (int i = 0; i < 8 ; i++) {\n\t\t\tresult+=printHash(i);\n\t\t\t\n\t\t}return result;\n\t\t\t//System.out.println(printHash(i));\n\t\t}",
"@Override\r\n public void draw()\r\n {\n\r\n }",
"private int leftChild(int index){\n\t\treturn (2*index) +1;\n\t}",
"@Override\r\n\tpublic void walk() {\n\r\n\t}",
"public double getWidth() {\n return this.getRight(this.tree.getRight(0)) - this.getLeft(this.tree.getLeft(0)); \n }",
"void block(Directions dir);",
"public void lowerFlatbed(){\n flatbed.lowerFlatbed();\n }",
"private void render() {\n StringBuilder builder = new StringBuilder();\n builder.append(horizontalEdge).append(\"\\n\");\n for (int i = 0; i < this.height; i++) {\n builder.append(VERTICAL_CHAR);\n for (int j = 0; j < this.width; j++) {\n builder.append(pixels[i][j]);\n }\n builder.append(VERTICAL_CHAR);\n builder.append(\"\\n\");\n }\n builder.append(horizontalEdge);\n System.out.printf(builder.toString());\n }",
"@Override\n\tpublic void draw3() {\n\n\t}",
"public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}",
"private int get_right_child(int index){\r\n return 2 * index + 2;\r\n }",
"@Override\n\tpublic void draw() {\n\n\t}",
"@Override\n\tpublic void draw() {\n\n\t}",
"double seBlesser();",
"private void renderPath(Node n)\n {\n\tGraphics g = getGraphics();\n\tboolean painting;\n\tColor nc,lc;\n\n\tpainting = (n.paths_passing==0);\n\twhile (n != null) {\n\t if (painting)\n\t\tn.paths_passing++;\n\t else {\n\t\tn.paths_passing--;\n\t }\n\t \n// \t nc = (n.paths_passing > 0)?hilitcolor:normalcolor;\n// \t lc = (n.paths_passing > 0)?hilitcolor:linecolor;\n\t nc = (n.paths_passing > 0)?n.path_color:normalcolor;\n\t lc = (n.paths_passing > 0)?n.path_color:linecolor;\n\t \n\t if (n.parent == null) {\n\t\tsetRenderColor(g,nc);\n\t\trenderNode(g,n);\n\t\tbreak;\n\t }\n\n\t // Double line width\n\t //setRenderColor(g,(n.paths_passing>0)?hilitcolor:Color.white);\n\t setRenderColor(g,(n.paths_passing>0)?n.path_color:Color.white);\n\t renderLine(g,n.x-1,n.y,n.parent.x-1,n.parent.y);\t\n\n\t setRenderColor(g,lc);\n\t renderLine(g,n.x,n.y,n.parent.x,n.parent.y);\n\n\t setRenderColor(g,nc);\n\t renderNode(g,n);\n\t n = n.parent;\n\t}\n }",
"public void skystonePos2() {\n }",
"double volume() {\n\treturn width*height*depth;\n}",
"private void buildPath() {\r\n int xNext = 1;\r\n int yNext = map.getStartPos() + 1;\r\n CellLayered before = cells[yNext][xNext];\r\n while(true)\r\n {\r\n Byte[] xy = map.getDirection(xNext-1, yNext-1);\r\n xNext = xNext + xy[0];\r\n yNext = yNext + xy[1];\r\n\r\n CellLayered next = cells[yNext][xNext];\r\n\r\n if(xy[0]==-1)\r\n before.setRight(false);\r\n else\r\n before.setRight(true);\r\n before.setPath(true);\r\n if(next==null)\r\n break;\r\n\r\n before.setNextInPath(next);\r\n before = next;\r\n }\r\n }",
"void table(){\n fill(0);\n rect(width/2, height/2, 600, 350); // boarder\n fill(100, 0 ,0);\n rect(width/2, height/2, 550, 300); //Felt\n \n \n}",
"@Override\n\tpublic void walk() {\n\t\t\n\t}",
"public\nstatic\nvoid\nmain(String args[]) \n\n{ \n\nBinaryTree tree = \nnew\nBinaryTree(); \n\ntree.root = \nnew\nNode(\n20\n); \n\ntree.root.left = \nnew\nNode(\n8\n); \n\ntree.root.left.left = \nnew\nNode(\n4\n); \n\ntree.root.left.right = \nnew\nNode(\n12\n); \n\ntree.root.left.right.left = \nnew\nNode(\n10\n); \n\ntree.root.left.right.right = \nnew\nNode(\n14\n); \n\ntree.root.right = \nnew\nNode(\n22\n); \n\ntree.root.right.right = \nnew\nNode(\n25\n); \n\ntree.printBoundary(tree.root); \n\n}",
"public wall() { //default constructor makes a 10x10 square extending right and down from the pixel located at 5,5\r\n x = 5;\r\n y = 5;\r\n height = 10;\r\n width = 10;\r\n }",
"double getNewWidth();",
"public int upright();",
"@Override\r\n\tpublic void draw() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void draw() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic double perimeter() {\n\t\treturn 2*length*breadth;\r\n\t}",
"public void skystonePos3() {\n }",
"public void leerPlanesDietas();",
"long getWidth();",
"public static void body() {\n \tfor(int i = 1; i <= SIZE*SIZE; i++) {\n for(int j = 1; j <= 3*SIZE-(SIZE-1); j++) {\n System.out.print(\" \");\n }\n \n System.out.print(\"|\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"||\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"|\");\n \n System.out.println();\n }\n }",
"public void snare();",
"public void strength1(float x, float y){\n noStroke();\n fill(80);\n rect(x+7,y,66,6);\n bezier(x+7,y,x,y+1,x,y+5,x+7,y+6);\n bezier(x+73,y,x+80,y+1,x+80,y+5,x+73,y+6);\n rect(x+7,y+1,13,3);//1st blue ba\n bezier(x+7,y+1,x+1,y+2.5f,x+1,y+3.5f,x+7,y+4);\n}",
"public void skystonePos5() {\n }",
"void GenerateBoardPath() {\n\t\t\t\n\t\t\tint rows = board.getRowsNum();\n\t\t\tint columns = board.getColsNum();\n\t\t\tint space_number = 1; \n\t\t\t\n\t\t\t\n\t\t\tfor (int i = rows - 1; i >= 0; i--) \n\t\t\t\t//If the row is an odd-number, move L-R\n\t\t\t\tif (i % 2 != 0) {\n\t\t\t\t\tfor (int j = 0; j < columns; j++) \n\t\t\t\t\t\tBoardPathRepository.put(space_number++, board.getTile(i, j));}\n\t\t\t\telse {\n\t\t\t\t\tfor (int j = columns-1; j >=0; j--) \n\t\t\t\t\t\tBoardPathRepository.put(space_number++, board.getTile(i, j));\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t}"
] |
[
"0.5472371",
"0.5383522",
"0.52979374",
"0.5293668",
"0.5211566",
"0.51842105",
"0.5161626",
"0.51377255",
"0.5100369",
"0.5067393",
"0.5064298",
"0.50376177",
"0.49875325",
"0.49361488",
"0.49140826",
"0.49058613",
"0.49058613",
"0.48946288",
"0.48945552",
"0.48931476",
"0.48904693",
"0.48880374",
"0.48798734",
"0.48695773",
"0.48647928",
"0.48638737",
"0.48618442",
"0.48618138",
"0.48505476",
"0.48302734",
"0.48278588",
"0.48275942",
"0.48218134",
"0.48208144",
"0.48172593",
"0.4813516",
"0.48124653",
"0.4811937",
"0.4811937",
"0.48115787",
"0.4811212",
"0.48030958",
"0.47998473",
"0.4795484",
"0.47894648",
"0.47886366",
"0.47878242",
"0.47855106",
"0.4777816",
"0.47706896",
"0.47695553",
"0.4766223",
"0.47616836",
"0.4760893",
"0.47604054",
"0.47590306",
"0.47488394",
"0.4736708",
"0.47364867",
"0.47344264",
"0.47324577",
"0.47303045",
"0.47301307",
"0.47227973",
"0.4722473",
"0.4719981",
"0.47176844",
"0.47143498",
"0.4712692",
"0.47071925",
"0.47001678",
"0.46935824",
"0.46934032",
"0.46931094",
"0.46875677",
"0.46873635",
"0.4686461",
"0.46827722",
"0.46827722",
"0.46827522",
"0.46788132",
"0.46628743",
"0.46617907",
"0.46604863",
"0.4657533",
"0.46526098",
"0.46518275",
"0.46497184",
"0.46489906",
"0.46484554",
"0.46466392",
"0.46466392",
"0.46454313",
"0.46434125",
"0.46428928",
"0.46424708",
"0.4639808",
"0.46373105",
"0.46368903",
"0.46341428",
"0.46330282"
] |
0.0
|
-1
|
/ / / /
|
public byte[] allocReadIOBuffer(int minSize)
/* */ {
/* 154 */ _verifyAlloc(this._readIOBuffer);
/* 155 */ return this._readIOBuffer = this._bufferRecycler.allocByteBuffer(0, minSize);
/* */ }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void divide() {\n\t\t\n\t}",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"public abstract String division();",
"public void division() {\n\t\tx=1;\n\t\ty=0;\n\t\tz=x/y;\n\t\t\t\t\n\t}",
"private boolean slash() {\r\n return MARK(OPERATOR) && CHAR('/') && gap();\r\n }",
"public abstract void bepaalGrootte();",
"public static void bottomHalf() {\n\n for(int i = 1; i <= SIZE; i++) {\n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\" \");\n }\n \n\t System.out.print(\"\\\\_\");\n\t for(int j = 3*SIZE-i; j >= i; j--) {\n\t System.out.print(\"/\\\\\");\n\t }\n\t System.out.println(\"_/\");\n }\n }",
"public void gored() {\n\t\t\n\t}",
"public String toString(){ return \"DIV\";}",
"private int parent(int i){return (i-1)/2;}",
"public String ring();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"private int leftChild(int i){return 2*i+1;}",
"double passer();",
"static void pyramid(){\n\t}",
"public void stg() {\n\n\t}",
"public static void main(String[] args) {\n\n\n for(int a=0; a<7;a++){\n for(int b=0;b<7-a;b++){\n System.out.print(\" \");\n }\n for(int c=0; c<=a;c++){\n System.out.print(\"* \");\n }\n System.out.println(\" \");\n }\n\n }",
"void mo33732Px();",
"Operations operations();",
"private int rightChild(int i){return 2*i+2;}",
"private void division()\n\t{\n\t\tFun = Function.DIVIDE; //Function set to determine what action should be taken later.\n\t\t\n\t\t\tsetLeftValue();\n\t\t\tentry.grabFocus();\n\t\t\n\t}",
"@Override\n\tpublic float dividir(float op1, float op2) {\n\t\treturn op1 / op2;\n\t}",
"void sharpen();",
"void sharpen();",
"double defendre();",
"public int generateRoshambo(){\n ;]\n\n }",
"private void e()\r\n/* 273: */ {\r\n/* 274:278 */ this.r = false;\r\n/* 275:279 */ this.s = false;\r\n/* 276:280 */ this.t = false;\r\n/* 277:281 */ this.u = false;\r\n/* 278:282 */ this.v = false;\r\n/* 279: */ }",
"public static void part2(){\n\t\n System.out.println(\"\\\\\"); //Outer wall\n System.out.println(\"\\\\\");\n System.out.println(\"\\\\\");\n for(int i = 0; i <= 16; i++){ //loop created to display top of the door\n\n \tSystem.out.print(\"-\");\n\n\t}\n System.out.println(\"\");\n System.out.println(\"\\\\\\t\\t| \\t(\\\")\"); //The door and the stick figure\n System.out.println(\"\\\\\\t\\t|\\t-|-\");\n System.out.println(\"\\\\\\t o | \\t |\");\n System.out.println(\"\\\\\\t\\t|\\t /\\\\\");\n System.out.println(\"\\\\\\t\\t|\\t/ \\\\\");\n\t\t\n }",
"String divideAtWhite()[]{ return null; }",
"protected boolean\nshouldCompactPathLists()\n//\n////////////////////////////////////////////////////////////////////////\n{\n return true;\n}",
"double volume(){\n return width*height*depth;\n }",
"public void skystonePos4() {\n }",
"void ringBell() {\n\n }",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"private static void breadcrumbArrow(int width, int height, int indent, int c1, int c2) {\n\n\t\tdouble x0 = 0, y0 = height / 2d;\n\t\tdouble x1 = indent, y1 = 0;\n\t\tdouble x2 = indent, y2 = height / 2d;\n\t\tdouble x3 = indent, y3 = height;\n\t\tdouble x4 = width, y4 = 0;\n\t\tdouble x5 = width, y5 = height / 2d;\n\t\tdouble x6 = width, y6 = height;\n\t\tdouble x7 = indent + width, y7 = 0;\n\t\tdouble x8 = indent + width, y8 = height;\n\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent)/(width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width)/(width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}",
"public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}",
"public static void method1(){\n System.out.println(\"*****\");\n System.out.println(\"*****\");\n System.out.println(\" * *\");\n System.out.println(\" *\");\n System.out.println(\" * *\");\n }",
"public int division(int x,int y){\n System.out.println(\"division methods\");\n int d=x/y;\n return d;\n\n }",
"void mo21076g();",
"private boolean dividingByZero(String operator){\n if (numStack.peek() == 0 && operator.equals(\"/\")){\n return true;\n }\n return false;\n }",
"@Override\n public void bfs() {\n\n }",
"public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }",
"Parallelogram(){\n length = width = height = 0;\n }",
"public Divide(){\n }",
"public void draw(){\n for(int i = 1; i <= height; i++){\n for(int s = 1; s <= i; s++)\n System.out.print(\"*\");\n System.out.println();\n }\n }",
"@Override\r\n\tpublic void div(int x, int y) {\n\t\t\r\n\t}",
"double Volume(){\r\n return Height * Width * Depth;\r\n }",
"@Override\npublic void div(int a, int b) {\n\t\n}",
"private double triangleBase() {\n return cellWidth() / BASE_WIDTH;\n }",
"double volume() {\n\treturn width*height*depth;\n}",
"public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}",
"private void traversePath()\n\t{\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t}",
"int getWidth() {return width;}",
"int width();",
"public void divide(int dirOp1, int dirOp2, int dirRes) {\n //traduce casos de direccionamiento indirecto\n dirOp1 = traduceDirIndirecto(dirOp1);\n dirOp2 = traduceDirIndirecto(dirOp2);\n if (ManejadorMemoria.isConstante(dirOp1)) { // OPERANDO 1 CTE\n String valor1 = this.directorioProcedimientos.getConstantes().get(dirOp1).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { //RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else if (ManejadorMemoria.isGlobal(dirOp1)) { // OPERANDO 1 GLOBAL\n String valor1 = this.registroGlobal.getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else { // OPERANDO 1 LOCAL\n String valor1 = this.pilaRegistros.peek().getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES 2 LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { //OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n }\n }",
"public static void main(String[] args) {\n\n\n\n System.out.println(4 * (1.0 - (1 / 3) + (1 / 5) - (1 / 7) + (1 / 9) - (1 / 11)));\n\n System.out.println(4 * (1.0 - (1/3) + (1/5) - (1/7)\n + (1 / 9) - (1/11) + (1/13)));\n }",
"public static void topHalf() {\n \t\n for( int i = 1; i <= SIZE; i++){\n for(int spaces = 1; spaces <= 3*SIZE - 3*i; spaces++) {\n System.out.print(\" \"); \n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"__/\");\n }\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n System.out.print(\"||\");\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"\\\\__\");\n }\n \n System.out.println();\n }\n \n System.out.print(\"|\");\n \n for(int i = 1; i <= 6 * SIZE; i++) {\n System.out.print(\"\\\"\");\n }\n \n System.out.println(\"|\");\n }",
"@Override\r\n\tpublic int div() {\n\t\treturn 0;\r\n\t}",
"private void renderPath(Node n)\n {\n\tGraphics g = getGraphics();\n\tboolean painting;\n\tColor nc,lc;\n\n\tpainting = (n.paths_passing==0);\n\twhile (n != null) {\n\t if (painting)\n\t\tn.paths_passing++;\n\t else {\n\t\tn.paths_passing--;\n\t }\n\t \n// \t nc = (n.paths_passing > 0)?hilitcolor:normalcolor;\n// \t lc = (n.paths_passing > 0)?hilitcolor:linecolor;\n\t nc = (n.paths_passing > 0)?n.path_color:normalcolor;\n\t lc = (n.paths_passing > 0)?n.path_color:linecolor;\n\t \n\t if (n.parent == null) {\n\t\tsetRenderColor(g,nc);\n\t\trenderNode(g,n);\n\t\tbreak;\n\t }\n\n\t // Double line width\n\t //setRenderColor(g,(n.paths_passing>0)?hilitcolor:Color.white);\n\t setRenderColor(g,(n.paths_passing>0)?n.path_color:Color.white);\n\t renderLine(g,n.x-1,n.y,n.parent.x-1,n.parent.y);\t\n\n\t setRenderColor(g,lc);\n\t renderLine(g,n.x,n.y,n.parent.x,n.parent.y);\n\n\t setRenderColor(g,nc);\n\t renderNode(g,n);\n\t n = n.parent;\n\t}\n }",
"public double getWidth() { return _width<0? -_width : _width; }",
"double getPerimeter(){\n return 2*height+width;\n }",
"public void mo3376r() {\n }",
"public static void unionPathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze two = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\tSystem.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = two.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber+n) != S.findAndCompress(randomNumber)){\n\t\t\t\t\t\tS.union(randomNumber+n, randomNumber);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'u');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.union(randomNumber, randomNumber+1);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(two, n);\n\t\tuserSelection_SolveMaze(n);\n\n\n\t\tStdDraw.show(0);\n\t\ttwo.draw();\n\t\ttwo.printCellNumbers();\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic double divide(double in1, double in2) {\n\t\treturn 0;\n\t}",
"void doubleBox(int sides, float x1, float y1, float z1, float x2, float y2, float z2)\r\n/* 100: */ {\r\n/* 101: 99 */ int s2 = sides << 1 & 0x2A | sides >> 1 & 0x15;\r\n/* 102: */ \r\n/* 103:101 */ this.context.renderBox(sides, x1, y1, z1, x2, y2, z2);\r\n/* 104:102 */ this.context.renderBox(s2, x2, y2, z2, x1, y1, z1);\r\n/* 105: */ }",
"public static void main (String[] args){\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n if(n%2==1)\n {\n n=n/2;\n n++;\n }\n else\n {\n n=n/2;\n }\n for(int i=1;i<=n;i++)\n {\n for(int k=1;k<=i-1;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<=((2*n-1)-2*(i-1));j++)\n {\n if(j==1||j==((2*n-1)-2*(i-1)))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n for(int i=2;i<=n;i++)\n {\n for(int k=1;k<=n-i;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<i*2;j++)\n {\n if(j==1||j==(i*2-1))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n\t}",
"public RMPath getPath() { return RMPath.unitRectPath; }",
"void walk() {\n\t\t\n\t}",
"public static void giant() {\n System.out.println(\" --------- \");\n System.out.println(\" | / \\\\| \");\n System.out.println(\" ZZZZZH | O | HZZZZZ \");\n System.out.println(\" H ----------- H \");\n System.out.println(\" ZZZZZHHHHHHHHHHHHHHHHHHHHHZZZZZ \");\n System.out.println(\" H HHHHHHHHHHH H \");\n System.out.println(\" ZZZZZH HHHHHHHHHHH HZZZZZ \");\n System.out.println(\" HHHHHHHHHHH \");\n System.out.println(\" HHH HHH \");\n System.out.println(\" HHH HHH \");\n }",
"public void title ()\n {\n\tprintSlow (\" _ __\");\n\tprintSlow (\" ___ | ' \\\\\");\n\tprintSlow (\" ___ \\\\ / ___ ,'\\\\_ | .-. \\\\ /|\");\n\tprintSlow (\" \\\\ / | |,'__ \\\\ ,'\\\\_ | \\\\ | | | | ,' |_ /|\");\n\tprintSlow (\" _ | | | |\\\\/ \\\\ \\\\ | \\\\ | |\\\\_| _ | |_| | _ '-. .-',' |_ _\");\n\tprintSlow (\" // | | | |____| | | |\\\\_|| |__ // | | ,'_`. | | '-. .-',' `. ,'\\\\_\");\n\tprintSlow (\" \\\\\\\\_| |_,' .-, _ | | | | |\\\\ \\\\ // .| |\\\\_/ | / \\\\ || | | | / |\\\\ \\\\| \\\\\");\n\tprintSlow (\" `-. .-'| |/ / | | | | | | \\\\ \\\\// | | | | | || | | | | |_\\\\ || |\\\\_|\");\n\tprintSlow (\" | | | || \\\\_| | | | /_\\\\ \\\\ / | |` | | | || | | | | .---'| |\");\n\tprintSlow (\" | | | |\\\\___,_\\\\ /_\\\\ _ // | | | \\\\_/ || | | | | | /\\\\| |\");\n\tprintSlow (\" /_\\\\ | | //_____// .||` `._,' | | | | \\\\ `-' /| |\");\n\tprintSlow (\" /_\\\\ `------' \\\\ | AND `.\\\\ | | `._,' /_\\\\\");\n\tprintSlow (\" \\\\| HIS `.\\\\\");\n\tprintSlow (\" __ __ _ _ _ _ \");\n\tprintSlow (\" | \\\\/ | (_) | | /\\\\ | | | | \");\n\tprintSlow (\" | \\\\ / | __ _ __ _ _ ___ __ _| | / \\\\ __| |_ _____ _ __ | |_ _ _ _ __ ___ \");\n\tprintSlow (\" | |\\\\/| |/ _` |/ _` | |/ __/ _` | | / /\\\\ \\\\ / _` \\\\ \\\\ / / _ \\\\ '_ \\\\| __| | | | '__/ _ \\\\\");\n\tprintSlow (\" | | | | (_| | (_| | | (_| (_| | | / ____ \\\\ (_| |\\\\ V / __/ | | | |_| |_| | | | __/\");\n\tprintSlow (\" |_| |_|\\\\__,_|\\\\__, |_|\\\\___\\\\__,_|_| /_/ \\\\_\\\\__,_| \\\\_/ \\\\___|_| |_|\\\\__|\\\\__,_|_| \\\\___|\");\n\tprintSlow (\" __/ | \");\n\tprintSlow (\" |___/ \\n\\n\\n\");\n\n\n }",
"public static String makeShapeA() {\n\tString result = \"\";\n\t\tfor (int i = 0; i < 8 ; i++) {\n\t\t\tresult+=printHash(i);\n\t\t\t\n\t\t}return result;\n\t\t\t//System.out.println(printHash(i));\n\t\t}",
"public void draw4x4 (char design){\n System.out.println(\"\"+design+design+design+design);\n System.out.println(design+\" \"+design);\n System.out.println(design+\" \"+design);\n System.out.println(\"\"+design+design+design+design);\n}",
"double area() {\nSystem.out.println(\"Inside Area for Triangle.\");\nreturn dim1 * dim2 / 2;\n}",
"private void pointer(Graphics image,int x,int y,int height,int b,int dir) {\n\n\t\tint[] xt=new int[3];\n\t\tint[] yt=new int[3];\n\n\t\tif(dir==0) {\n\t\t\txt[0]=x;\n\t\t\txt[1]=xt[2]=x+height;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=y+b/2;\n\t\t\tyt[2]=y-b/2;\n\t\t} else {\n\t\t\txt[0]=x;\n\t\t\txt[1]=x+b/2;\n\t\t\txt[2]=x-b/2;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=yt[2]=y-height;\n\t\t}\n\t\timage.fillPolygon(xt,yt,3);\n\t}",
"public int mo9774x() {\n /*\n r5 = this;\n int r0 = r5.f9082i\n int r1 = r5.f9080g\n if (r1 != r0) goto L_0x0007\n goto L_0x006a\n L_0x0007:\n byte[] r2 = r5.f9079f\n int r3 = r0 + 1\n byte r0 = r2[r0]\n if (r0 < 0) goto L_0x0012\n r5.f9082i = r3\n return r0\n L_0x0012:\n int r1 = r1 - r3\n r4 = 9\n if (r1 >= r4) goto L_0x0018\n goto L_0x006a\n L_0x0018:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 7\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x0024\n r0 = r0 ^ -128(0xffffffffffffff80, float:NaN)\n goto L_0x0070\n L_0x0024:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r1 = r1 << 14\n r0 = r0 ^ r1\n if (r0 < 0) goto L_0x0031\n r0 = r0 ^ 16256(0x3f80, float:2.278E-41)\n L_0x002f:\n r1 = r3\n goto L_0x0070\n L_0x0031:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 21\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x003f\n r2 = -2080896(0xffffffffffe03f80, float:NaN)\n r0 = r0 ^ r2\n goto L_0x0070\n L_0x003f:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r4 = r1 << 28\n r0 = r0 ^ r4\n r4 = 266354560(0xfe03f80, float:2.2112565E-29)\n r0 = r0 ^ r4\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r2 = r2[r3]\n if (r2 >= 0) goto L_0x0070\n L_0x006a:\n long r0 = r5.mo9776z()\n int r0 = (int) r0\n return r0\n L_0x0070:\n r5.f9082i = r1\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p213q.p217b.p301c.p302a.p311j0.p312a.C3656k.C3659c.mo9774x():int\");\n }",
"public SoNode \ngetCurPathTail() \n{\n//#ifdef DEBUG\n if (currentpath.getTail() != (SoFullPath.cast(getCurPath())).getTail()){\n SoDebugError.post(\"SoAction::getCurPathTail\\n\", \n \"Inconsistent path tail. Did you change the scene graph\\n\"+\n \"During traversal?\\n\");\n }\n//#endif /*DEBUG*/\n return(currentpath.getTail());\n}",
"@Override\n\tpublic void breath() {\n\n\t}",
"public static void main(String[] args) {\nint i,j,k;\r\nint num=5;\r\nfor(i=0;i<num;i++){\r\n\tfor(j=0;j<i;j++){\r\n\t\tSystem.out.print(\" \");\r\n\t}\r\n\tfor(k=num; k>=2*i-1; k--){\r\n\t\tSystem.out.print(\"*\");\r\n\t}\r\n\t\r\n\tSystem.out.println();\r\n}\r\n\t}",
"@Override\n\tpublic void div(double dx, double dy) {\n\t\t\n\t}",
"public PathCode getCurPathCode() { return /*appliedTo.curPathCode*/currentpathcode;}",
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"private void createPath(Direction d, int width, Point p1, Point p2) {\n\t\t// Determine how far away from the center the corners are\n\t\tint sideOneOffset = 0;\t// Top or Left depending on path direction\n\t\tint sideTwoOffset = 0;\t// Bot or Right depending on path direction\n\t\t// If the width is odd, balance the offsets\n\t\tif (width % 2 != 0) {\t\n\t\t\tsideOneOffset = sideTwoOffset = ((width / 2) + 1);\n\t\t} else {\n\t\t\t// If the width is even, the offsets will be off by 1\n\t\t\tsideOneOffset = width;\n\t\t\tsideTwoOffset = width - 1;\n\t\t}\n\t\tif (d == Direction.LEFT || d == Direction.RIGHT) {\n\t\t\t// If the direction is left then we want to swap the points\n\t\t\t// to pretend like the direction was right (so the following code works)\n\t\t\tif (d == Direction.LEFT) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p1.x, p1.y + sideTwoOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p2.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x, p1.y + sideTwoOffset)));\n\t\t\t// Set the left and right walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.y is the center of the path (top to bottom)\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x, p1.y + (i - width/2))));\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p2.x, p2.y + (i - width/2))));\n\t\t\t}\n\t\t\t// Set middle path and top/bottom padding (horizontal Oreo!)\n\t\t\tfor (int col = p1.x + 1, endCol = p2.x; col < endCol; col++) {\n\t\t\t\t// Add the top wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(col, p1.y - sideOneOffset)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(col, p1.y + (i - width /2))));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the bottom wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(col, p1.y + sideTwoOffset)));\n\t\t\t}\n\t\t} else {\n\t\t\t// If the direction is up then we want to swap the points\n\t\t\t// to pretend like the direction was down (so the following code works)\n\t\t\tif (d == Direction.UP) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x - sideOneOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p2.x - sideOneOffset, p2.y)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p1.x + sideTwoOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x + sideTwoOffset, p2.y)));\n\t\t\t// Set the top and bottom walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.x is the center of the path (left to right)\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(p1.x + (i - width /2), p1.y)));\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(p2.x + (i - width /2), p2.y)));\n\t\t\t}\n\t\t\t// Set middle path and left/right padding (vertical Oreo!)\n\t\t\tfor (int row = p1.y + 1, endRow = p2.y; row < endRow; row++) {\n\t\t\t\t// Add the left wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x - sideOneOffset, row)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(p1.x + (i - width /2), row)));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the right wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p1.x + sideTwoOffset, row)));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"private byte r() {\r\n\t\treturn (left_map == 0 ) ? (byte) 1 : 0;\r\n\t}",
"static String division (String s1, String s2) {\r\n if (s2==null || s2.length()==0) return s1;\r\n return product (s1, invert(s2));\r\n }",
"public static void body() {\n \tfor(int i = 1; i <= SIZE*SIZE; i++) {\n for(int j = 1; j <= 3*SIZE-(SIZE-1); j++) {\n System.out.print(\" \");\n }\n \n System.out.print(\"|\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"||\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"|\");\n \n System.out.println();\n }\n }",
"private int uniquePaths(int x, int y, int[][] dp) {\n \t\tif (x == 0 || y == 0) return 1;\n \t\tif (dp[x][y] == 0)\n \t\t\tdp[x][y] = uniquePaths(x - 1, y, dp) + uniquePaths(x, y - 1, dp);\n \t\treturn dp[x][y];\n \t}",
"public void star(float x, float y, float r, float R) {\n float angle = TWO_PI / 5;\n float halfAngle = angle/2.0f;\n beginShape();\n noStroke();\n for (float a = 0; a < TWO_PI; a += angle) {\n float sx = x + cos(a) * r;\n float sy = y + sin(a) * r;\n vertex(sx, sy);\n sx = x + cos(a+halfAngle) * R;\n sy = y + sin(a+halfAngle) * R;\n vertex(sx, sy);\n }\n endShape(CLOSE);\n}",
"@Override\r\n\tpublic void CalcPeri() {\n\t\tSystem.out.println(4*side);\t\r\n\t}",
"public int upright();",
"public static void main(String[] args) {\n\r\n\t\t\r\n\t\tint n = 7;\r\n\t\tfor (int i = n; i >= 0; i--) {\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t for(int j=0; j<n-i; j++) {\r\n\t\t\t \r\n\t\t\t System.out.print(\" \");\r\n\t\t\t \r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t \r\n\r\n\t\t\tfor (int j = n; j >= n-i; j--) {\r\n\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\r\n\t\t\r\n\t}",
"public\nstatic\nvoid\nmain(String args[]) \n\n{ \n\nBinaryTree tree = \nnew\nBinaryTree(); \n\ntree.root = \nnew\nNode(\n20\n); \n\ntree.root.left = \nnew\nNode(\n8\n); \n\ntree.root.left.left = \nnew\nNode(\n4\n); \n\ntree.root.left.right = \nnew\nNode(\n12\n); \n\ntree.root.left.right.left = \nnew\nNode(\n10\n); \n\ntree.root.left.right.right = \nnew\nNode(\n14\n); \n\ntree.root.right = \nnew\nNode(\n22\n); \n\ntree.root.right.right = \nnew\nNode(\n25\n); \n\ntree.printBoundary(tree.root); \n\n}",
"public void backSlash() {\n text.append(\"\\\\\");\n }",
"public static void main(String[] args){\t\n\t\tchar op = '/';\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"첫번째 정수입니다.\");\n\t\tint num1 = scan.nextInt();\n\t\t\n\t\tSystem.out.println(\"두번째 정수입니다.\");\n\t\tint num2 = scan.nextInt();\n\t\tint num3=0;\n\t\tif(op=='+'){\n\t\t\tnum3 = num1+num2;\n\t\t}\n\t\telse if(op=='-'){\n\t\t\tnum3 = num1-num2;\n\t\t}\n\t\telse if(op=='*'){\n\t\t\tnum3 = num1*num2;\n\t\t}\n\t\telse if(op=='/'){\n\t\t\tif(num2==0){\n\t\t\tSystem.out.println(\"오류입니다.\");\n\t\t}\n\t\t\t\n\t\t\tnum3 = num1/num2;\n\t\t}\n\t\tSystem.out.printf(\"%d%c%d=%d\" ,num1,op,num2,num3);\n\t\t\n\t\t\n\t}",
"public final void testSlash() \n\t\t\tthrows ParserConfigurationException, IOException, SAXException \n\t{\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnðýþnn\");\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnønn\");\n\t\tassertSingleResult(\"8\", fldName, \"nnunn\");\n\t}",
"AngleResource inclination();",
"public abstract void squareRootThis();",
"public UniquePathsII() {\n\t\t// Initialization here. \n\t\t//\t\tcount = 0;\n\t}",
"@Override\n\tpublic void space() {\n\t\t\n\t}"
] |
[
"0.5906264",
"0.55749613",
"0.5428019",
"0.53241616",
"0.5294036",
"0.527193",
"0.52582306",
"0.5256754",
"0.51585066",
"0.5141374",
"0.51100975",
"0.5097357",
"0.5026707",
"0.50235814",
"0.50100124",
"0.49757177",
"0.4967908",
"0.49668512",
"0.4931213",
"0.49272057",
"0.49150687",
"0.4878608",
"0.4873821",
"0.4873821",
"0.48564616",
"0.48415148",
"0.4840844",
"0.48408422",
"0.48392275",
"0.48380315",
"0.48342562",
"0.48335755",
"0.48189583",
"0.4816532",
"0.4803844",
"0.47991633",
"0.4790358",
"0.4785782",
"0.47707185",
"0.47659388",
"0.47607136",
"0.4756167",
"0.47525582",
"0.4750556",
"0.47465262",
"0.47439283",
"0.47427607",
"0.47368544",
"0.47283906",
"0.4719052",
"0.4715935",
"0.4711951",
"0.47046372",
"0.47023433",
"0.46957722",
"0.46894073",
"0.46882662",
"0.46872112",
"0.46870187",
"0.46838596",
"0.46826214",
"0.46721044",
"0.4671648",
"0.46691796",
"0.46658975",
"0.46658975",
"0.46634644",
"0.46593347",
"0.46569487",
"0.46532407",
"0.46484405",
"0.46472803",
"0.4647124",
"0.46426368",
"0.46379653",
"0.4635675",
"0.46356165",
"0.46343538",
"0.46343073",
"0.46324328",
"0.46307802",
"0.46292034",
"0.46249497",
"0.46220893",
"0.46138567",
"0.46130696",
"0.46125302",
"0.4608751",
"0.46084386",
"0.4605762",
"0.46052104",
"0.4602023",
"0.46015334",
"0.45995793",
"0.45948967",
"0.459342",
"0.45930445",
"0.45923406",
"0.45910415",
"0.45878932",
"0.45863274"
] |
0.0
|
-1
|
/ / / /
|
public byte[] allocWriteEncodingBuffer(int minSize)
/* */ {
/* 167 */ _verifyAlloc(this._writeEncodingBuffer);
/* 168 */ return this._writeEncodingBuffer = this._bufferRecycler.allocByteBuffer(1, minSize);
/* */ }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void divide() {\n\t\t\n\t}",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"public abstract String division();",
"public void division() {\n\t\tx=1;\n\t\ty=0;\n\t\tz=x/y;\n\t\t\t\t\n\t}",
"private boolean slash() {\r\n return MARK(OPERATOR) && CHAR('/') && gap();\r\n }",
"public abstract void bepaalGrootte();",
"public static void bottomHalf() {\n\n for(int i = 1; i <= SIZE; i++) {\n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\" \");\n }\n \n\t System.out.print(\"\\\\_\");\n\t for(int j = 3*SIZE-i; j >= i; j--) {\n\t System.out.print(\"/\\\\\");\n\t }\n\t System.out.println(\"_/\");\n }\n }",
"public void gored() {\n\t\t\n\t}",
"public String toString(){ return \"DIV\";}",
"private int parent(int i){return (i-1)/2;}",
"public String ring();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"private int leftChild(int i){return 2*i+1;}",
"double passer();",
"static void pyramid(){\n\t}",
"public void stg() {\n\n\t}",
"public static void main(String[] args) {\n\n\n for(int a=0; a<7;a++){\n for(int b=0;b<7-a;b++){\n System.out.print(\" \");\n }\n for(int c=0; c<=a;c++){\n System.out.print(\"* \");\n }\n System.out.println(\" \");\n }\n\n }",
"void mo33732Px();",
"Operations operations();",
"private int rightChild(int i){return 2*i+2;}",
"private void division()\n\t{\n\t\tFun = Function.DIVIDE; //Function set to determine what action should be taken later.\n\t\t\n\t\t\tsetLeftValue();\n\t\t\tentry.grabFocus();\n\t\t\n\t}",
"@Override\n\tpublic float dividir(float op1, float op2) {\n\t\treturn op1 / op2;\n\t}",
"void sharpen();",
"void sharpen();",
"double defendre();",
"public int generateRoshambo(){\n ;]\n\n }",
"private void e()\r\n/* 273: */ {\r\n/* 274:278 */ this.r = false;\r\n/* 275:279 */ this.s = false;\r\n/* 276:280 */ this.t = false;\r\n/* 277:281 */ this.u = false;\r\n/* 278:282 */ this.v = false;\r\n/* 279: */ }",
"public static void part2(){\n\t\n System.out.println(\"\\\\\"); //Outer wall\n System.out.println(\"\\\\\");\n System.out.println(\"\\\\\");\n for(int i = 0; i <= 16; i++){ //loop created to display top of the door\n\n \tSystem.out.print(\"-\");\n\n\t}\n System.out.println(\"\");\n System.out.println(\"\\\\\\t\\t| \\t(\\\")\"); //The door and the stick figure\n System.out.println(\"\\\\\\t\\t|\\t-|-\");\n System.out.println(\"\\\\\\t o | \\t |\");\n System.out.println(\"\\\\\\t\\t|\\t /\\\\\");\n System.out.println(\"\\\\\\t\\t|\\t/ \\\\\");\n\t\t\n }",
"String divideAtWhite()[]{ return null; }",
"protected boolean\nshouldCompactPathLists()\n//\n////////////////////////////////////////////////////////////////////////\n{\n return true;\n}",
"double volume(){\n return width*height*depth;\n }",
"public void skystonePos4() {\n }",
"void ringBell() {\n\n }",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"private static void breadcrumbArrow(int width, int height, int indent, int c1, int c2) {\n\n\t\tdouble x0 = 0, y0 = height / 2d;\n\t\tdouble x1 = indent, y1 = 0;\n\t\tdouble x2 = indent, y2 = height / 2d;\n\t\tdouble x3 = indent, y3 = height;\n\t\tdouble x4 = width, y4 = 0;\n\t\tdouble x5 = width, y5 = height / 2d;\n\t\tdouble x6 = width, y6 = height;\n\t\tdouble x7 = indent + width, y7 = 0;\n\t\tdouble x8 = indent + width, y8 = height;\n\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent)/(width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width)/(width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}",
"public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}",
"public static void method1(){\n System.out.println(\"*****\");\n System.out.println(\"*****\");\n System.out.println(\" * *\");\n System.out.println(\" *\");\n System.out.println(\" * *\");\n }",
"public int division(int x,int y){\n System.out.println(\"division methods\");\n int d=x/y;\n return d;\n\n }",
"void mo21076g();",
"private boolean dividingByZero(String operator){\n if (numStack.peek() == 0 && operator.equals(\"/\")){\n return true;\n }\n return false;\n }",
"@Override\n public void bfs() {\n\n }",
"public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }",
"Parallelogram(){\n length = width = height = 0;\n }",
"public Divide(){\n }",
"public void draw(){\n for(int i = 1; i <= height; i++){\n for(int s = 1; s <= i; s++)\n System.out.print(\"*\");\n System.out.println();\n }\n }",
"@Override\r\n\tpublic void div(int x, int y) {\n\t\t\r\n\t}",
"double Volume(){\r\n return Height * Width * Depth;\r\n }",
"@Override\npublic void div(int a, int b) {\n\t\n}",
"private double triangleBase() {\n return cellWidth() / BASE_WIDTH;\n }",
"double volume() {\n\treturn width*height*depth;\n}",
"public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}",
"private void traversePath()\n\t{\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t}",
"int getWidth() {return width;}",
"int width();",
"public void divide(int dirOp1, int dirOp2, int dirRes) {\n //traduce casos de direccionamiento indirecto\n dirOp1 = traduceDirIndirecto(dirOp1);\n dirOp2 = traduceDirIndirecto(dirOp2);\n if (ManejadorMemoria.isConstante(dirOp1)) { // OPERANDO 1 CTE\n String valor1 = this.directorioProcedimientos.getConstantes().get(dirOp1).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { //RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else if (ManejadorMemoria.isGlobal(dirOp1)) { // OPERANDO 1 GLOBAL\n String valor1 = this.registroGlobal.getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else { // OPERANDO 1 LOCAL\n String valor1 = this.pilaRegistros.peek().getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES 2 LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { //OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n }\n }",
"public static void main(String[] args) {\n\n\n\n System.out.println(4 * (1.0 - (1 / 3) + (1 / 5) - (1 / 7) + (1 / 9) - (1 / 11)));\n\n System.out.println(4 * (1.0 - (1/3) + (1/5) - (1/7)\n + (1 / 9) - (1/11) + (1/13)));\n }",
"public static void topHalf() {\n \t\n for( int i = 1; i <= SIZE; i++){\n for(int spaces = 1; spaces <= 3*SIZE - 3*i; spaces++) {\n System.out.print(\" \"); \n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"__/\");\n }\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n System.out.print(\"||\");\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"\\\\__\");\n }\n \n System.out.println();\n }\n \n System.out.print(\"|\");\n \n for(int i = 1; i <= 6 * SIZE; i++) {\n System.out.print(\"\\\"\");\n }\n \n System.out.println(\"|\");\n }",
"@Override\r\n\tpublic int div() {\n\t\treturn 0;\r\n\t}",
"private void renderPath(Node n)\n {\n\tGraphics g = getGraphics();\n\tboolean painting;\n\tColor nc,lc;\n\n\tpainting = (n.paths_passing==0);\n\twhile (n != null) {\n\t if (painting)\n\t\tn.paths_passing++;\n\t else {\n\t\tn.paths_passing--;\n\t }\n\t \n// \t nc = (n.paths_passing > 0)?hilitcolor:normalcolor;\n// \t lc = (n.paths_passing > 0)?hilitcolor:linecolor;\n\t nc = (n.paths_passing > 0)?n.path_color:normalcolor;\n\t lc = (n.paths_passing > 0)?n.path_color:linecolor;\n\t \n\t if (n.parent == null) {\n\t\tsetRenderColor(g,nc);\n\t\trenderNode(g,n);\n\t\tbreak;\n\t }\n\n\t // Double line width\n\t //setRenderColor(g,(n.paths_passing>0)?hilitcolor:Color.white);\n\t setRenderColor(g,(n.paths_passing>0)?n.path_color:Color.white);\n\t renderLine(g,n.x-1,n.y,n.parent.x-1,n.parent.y);\t\n\n\t setRenderColor(g,lc);\n\t renderLine(g,n.x,n.y,n.parent.x,n.parent.y);\n\n\t setRenderColor(g,nc);\n\t renderNode(g,n);\n\t n = n.parent;\n\t}\n }",
"public double getWidth() { return _width<0? -_width : _width; }",
"double getPerimeter(){\n return 2*height+width;\n }",
"public void mo3376r() {\n }",
"public static void unionPathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze two = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\tSystem.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = two.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber+n) != S.findAndCompress(randomNumber)){\n\t\t\t\t\t\tS.union(randomNumber+n, randomNumber);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'u');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.union(randomNumber, randomNumber+1);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(two, n);\n\t\tuserSelection_SolveMaze(n);\n\n\n\t\tStdDraw.show(0);\n\t\ttwo.draw();\n\t\ttwo.printCellNumbers();\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic double divide(double in1, double in2) {\n\t\treturn 0;\n\t}",
"void doubleBox(int sides, float x1, float y1, float z1, float x2, float y2, float z2)\r\n/* 100: */ {\r\n/* 101: 99 */ int s2 = sides << 1 & 0x2A | sides >> 1 & 0x15;\r\n/* 102: */ \r\n/* 103:101 */ this.context.renderBox(sides, x1, y1, z1, x2, y2, z2);\r\n/* 104:102 */ this.context.renderBox(s2, x2, y2, z2, x1, y1, z1);\r\n/* 105: */ }",
"public static void main (String[] args){\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n if(n%2==1)\n {\n n=n/2;\n n++;\n }\n else\n {\n n=n/2;\n }\n for(int i=1;i<=n;i++)\n {\n for(int k=1;k<=i-1;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<=((2*n-1)-2*(i-1));j++)\n {\n if(j==1||j==((2*n-1)-2*(i-1)))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n for(int i=2;i<=n;i++)\n {\n for(int k=1;k<=n-i;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<i*2;j++)\n {\n if(j==1||j==(i*2-1))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n\t}",
"public RMPath getPath() { return RMPath.unitRectPath; }",
"void walk() {\n\t\t\n\t}",
"public static void giant() {\n System.out.println(\" --------- \");\n System.out.println(\" | / \\\\| \");\n System.out.println(\" ZZZZZH | O | HZZZZZ \");\n System.out.println(\" H ----------- H \");\n System.out.println(\" ZZZZZHHHHHHHHHHHHHHHHHHHHHZZZZZ \");\n System.out.println(\" H HHHHHHHHHHH H \");\n System.out.println(\" ZZZZZH HHHHHHHHHHH HZZZZZ \");\n System.out.println(\" HHHHHHHHHHH \");\n System.out.println(\" HHH HHH \");\n System.out.println(\" HHH HHH \");\n }",
"public void title ()\n {\n\tprintSlow (\" _ __\");\n\tprintSlow (\" ___ | ' \\\\\");\n\tprintSlow (\" ___ \\\\ / ___ ,'\\\\_ | .-. \\\\ /|\");\n\tprintSlow (\" \\\\ / | |,'__ \\\\ ,'\\\\_ | \\\\ | | | | ,' |_ /|\");\n\tprintSlow (\" _ | | | |\\\\/ \\\\ \\\\ | \\\\ | |\\\\_| _ | |_| | _ '-. .-',' |_ _\");\n\tprintSlow (\" // | | | |____| | | |\\\\_|| |__ // | | ,'_`. | | '-. .-',' `. ,'\\\\_\");\n\tprintSlow (\" \\\\\\\\_| |_,' .-, _ | | | | |\\\\ \\\\ // .| |\\\\_/ | / \\\\ || | | | / |\\\\ \\\\| \\\\\");\n\tprintSlow (\" `-. .-'| |/ / | | | | | | \\\\ \\\\// | | | | | || | | | | |_\\\\ || |\\\\_|\");\n\tprintSlow (\" | | | || \\\\_| | | | /_\\\\ \\\\ / | |` | | | || | | | | .---'| |\");\n\tprintSlow (\" | | | |\\\\___,_\\\\ /_\\\\ _ // | | | \\\\_/ || | | | | | /\\\\| |\");\n\tprintSlow (\" /_\\\\ | | //_____// .||` `._,' | | | | \\\\ `-' /| |\");\n\tprintSlow (\" /_\\\\ `------' \\\\ | AND `.\\\\ | | `._,' /_\\\\\");\n\tprintSlow (\" \\\\| HIS `.\\\\\");\n\tprintSlow (\" __ __ _ _ _ _ \");\n\tprintSlow (\" | \\\\/ | (_) | | /\\\\ | | | | \");\n\tprintSlow (\" | \\\\ / | __ _ __ _ _ ___ __ _| | / \\\\ __| |_ _____ _ __ | |_ _ _ _ __ ___ \");\n\tprintSlow (\" | |\\\\/| |/ _` |/ _` | |/ __/ _` | | / /\\\\ \\\\ / _` \\\\ \\\\ / / _ \\\\ '_ \\\\| __| | | | '__/ _ \\\\\");\n\tprintSlow (\" | | | | (_| | (_| | | (_| (_| | | / ____ \\\\ (_| |\\\\ V / __/ | | | |_| |_| | | | __/\");\n\tprintSlow (\" |_| |_|\\\\__,_|\\\\__, |_|\\\\___\\\\__,_|_| /_/ \\\\_\\\\__,_| \\\\_/ \\\\___|_| |_|\\\\__|\\\\__,_|_| \\\\___|\");\n\tprintSlow (\" __/ | \");\n\tprintSlow (\" |___/ \\n\\n\\n\");\n\n\n }",
"public static String makeShapeA() {\n\tString result = \"\";\n\t\tfor (int i = 0; i < 8 ; i++) {\n\t\t\tresult+=printHash(i);\n\t\t\t\n\t\t}return result;\n\t\t\t//System.out.println(printHash(i));\n\t\t}",
"public void draw4x4 (char design){\n System.out.println(\"\"+design+design+design+design);\n System.out.println(design+\" \"+design);\n System.out.println(design+\" \"+design);\n System.out.println(\"\"+design+design+design+design);\n}",
"double area() {\nSystem.out.println(\"Inside Area for Triangle.\");\nreturn dim1 * dim2 / 2;\n}",
"private void pointer(Graphics image,int x,int y,int height,int b,int dir) {\n\n\t\tint[] xt=new int[3];\n\t\tint[] yt=new int[3];\n\n\t\tif(dir==0) {\n\t\t\txt[0]=x;\n\t\t\txt[1]=xt[2]=x+height;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=y+b/2;\n\t\t\tyt[2]=y-b/2;\n\t\t} else {\n\t\t\txt[0]=x;\n\t\t\txt[1]=x+b/2;\n\t\t\txt[2]=x-b/2;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=yt[2]=y-height;\n\t\t}\n\t\timage.fillPolygon(xt,yt,3);\n\t}",
"public int mo9774x() {\n /*\n r5 = this;\n int r0 = r5.f9082i\n int r1 = r5.f9080g\n if (r1 != r0) goto L_0x0007\n goto L_0x006a\n L_0x0007:\n byte[] r2 = r5.f9079f\n int r3 = r0 + 1\n byte r0 = r2[r0]\n if (r0 < 0) goto L_0x0012\n r5.f9082i = r3\n return r0\n L_0x0012:\n int r1 = r1 - r3\n r4 = 9\n if (r1 >= r4) goto L_0x0018\n goto L_0x006a\n L_0x0018:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 7\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x0024\n r0 = r0 ^ -128(0xffffffffffffff80, float:NaN)\n goto L_0x0070\n L_0x0024:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r1 = r1 << 14\n r0 = r0 ^ r1\n if (r0 < 0) goto L_0x0031\n r0 = r0 ^ 16256(0x3f80, float:2.278E-41)\n L_0x002f:\n r1 = r3\n goto L_0x0070\n L_0x0031:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 21\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x003f\n r2 = -2080896(0xffffffffffe03f80, float:NaN)\n r0 = r0 ^ r2\n goto L_0x0070\n L_0x003f:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r4 = r1 << 28\n r0 = r0 ^ r4\n r4 = 266354560(0xfe03f80, float:2.2112565E-29)\n r0 = r0 ^ r4\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r2 = r2[r3]\n if (r2 >= 0) goto L_0x0070\n L_0x006a:\n long r0 = r5.mo9776z()\n int r0 = (int) r0\n return r0\n L_0x0070:\n r5.f9082i = r1\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p213q.p217b.p301c.p302a.p311j0.p312a.C3656k.C3659c.mo9774x():int\");\n }",
"public SoNode \ngetCurPathTail() \n{\n//#ifdef DEBUG\n if (currentpath.getTail() != (SoFullPath.cast(getCurPath())).getTail()){\n SoDebugError.post(\"SoAction::getCurPathTail\\n\", \n \"Inconsistent path tail. Did you change the scene graph\\n\"+\n \"During traversal?\\n\");\n }\n//#endif /*DEBUG*/\n return(currentpath.getTail());\n}",
"@Override\n\tpublic void breath() {\n\n\t}",
"public static void main(String[] args) {\nint i,j,k;\r\nint num=5;\r\nfor(i=0;i<num;i++){\r\n\tfor(j=0;j<i;j++){\r\n\t\tSystem.out.print(\" \");\r\n\t}\r\n\tfor(k=num; k>=2*i-1; k--){\r\n\t\tSystem.out.print(\"*\");\r\n\t}\r\n\t\r\n\tSystem.out.println();\r\n}\r\n\t}",
"@Override\n\tpublic void div(double dx, double dy) {\n\t\t\n\t}",
"public PathCode getCurPathCode() { return /*appliedTo.curPathCode*/currentpathcode;}",
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"private void createPath(Direction d, int width, Point p1, Point p2) {\n\t\t// Determine how far away from the center the corners are\n\t\tint sideOneOffset = 0;\t// Top or Left depending on path direction\n\t\tint sideTwoOffset = 0;\t// Bot or Right depending on path direction\n\t\t// If the width is odd, balance the offsets\n\t\tif (width % 2 != 0) {\t\n\t\t\tsideOneOffset = sideTwoOffset = ((width / 2) + 1);\n\t\t} else {\n\t\t\t// If the width is even, the offsets will be off by 1\n\t\t\tsideOneOffset = width;\n\t\t\tsideTwoOffset = width - 1;\n\t\t}\n\t\tif (d == Direction.LEFT || d == Direction.RIGHT) {\n\t\t\t// If the direction is left then we want to swap the points\n\t\t\t// to pretend like the direction was right (so the following code works)\n\t\t\tif (d == Direction.LEFT) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p1.x, p1.y + sideTwoOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p2.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x, p1.y + sideTwoOffset)));\n\t\t\t// Set the left and right walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.y is the center of the path (top to bottom)\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x, p1.y + (i - width/2))));\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p2.x, p2.y + (i - width/2))));\n\t\t\t}\n\t\t\t// Set middle path and top/bottom padding (horizontal Oreo!)\n\t\t\tfor (int col = p1.x + 1, endCol = p2.x; col < endCol; col++) {\n\t\t\t\t// Add the top wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(col, p1.y - sideOneOffset)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(col, p1.y + (i - width /2))));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the bottom wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(col, p1.y + sideTwoOffset)));\n\t\t\t}\n\t\t} else {\n\t\t\t// If the direction is up then we want to swap the points\n\t\t\t// to pretend like the direction was down (so the following code works)\n\t\t\tif (d == Direction.UP) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x - sideOneOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p2.x - sideOneOffset, p2.y)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p1.x + sideTwoOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x + sideTwoOffset, p2.y)));\n\t\t\t// Set the top and bottom walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.x is the center of the path (left to right)\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(p1.x + (i - width /2), p1.y)));\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(p2.x + (i - width /2), p2.y)));\n\t\t\t}\n\t\t\t// Set middle path and left/right padding (vertical Oreo!)\n\t\t\tfor (int row = p1.y + 1, endRow = p2.y; row < endRow; row++) {\n\t\t\t\t// Add the left wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x - sideOneOffset, row)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(p1.x + (i - width /2), row)));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the right wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p1.x + sideTwoOffset, row)));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"private byte r() {\r\n\t\treturn (left_map == 0 ) ? (byte) 1 : 0;\r\n\t}",
"static String division (String s1, String s2) {\r\n if (s2==null || s2.length()==0) return s1;\r\n return product (s1, invert(s2));\r\n }",
"public static void body() {\n \tfor(int i = 1; i <= SIZE*SIZE; i++) {\n for(int j = 1; j <= 3*SIZE-(SIZE-1); j++) {\n System.out.print(\" \");\n }\n \n System.out.print(\"|\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"||\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"|\");\n \n System.out.println();\n }\n }",
"private int uniquePaths(int x, int y, int[][] dp) {\n \t\tif (x == 0 || y == 0) return 1;\n \t\tif (dp[x][y] == 0)\n \t\t\tdp[x][y] = uniquePaths(x - 1, y, dp) + uniquePaths(x, y - 1, dp);\n \t\treturn dp[x][y];\n \t}",
"public void star(float x, float y, float r, float R) {\n float angle = TWO_PI / 5;\n float halfAngle = angle/2.0f;\n beginShape();\n noStroke();\n for (float a = 0; a < TWO_PI; a += angle) {\n float sx = x + cos(a) * r;\n float sy = y + sin(a) * r;\n vertex(sx, sy);\n sx = x + cos(a+halfAngle) * R;\n sy = y + sin(a+halfAngle) * R;\n vertex(sx, sy);\n }\n endShape(CLOSE);\n}",
"@Override\r\n\tpublic void CalcPeri() {\n\t\tSystem.out.println(4*side);\t\r\n\t}",
"public int upright();",
"public static void main(String[] args) {\n\r\n\t\t\r\n\t\tint n = 7;\r\n\t\tfor (int i = n; i >= 0; i--) {\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t for(int j=0; j<n-i; j++) {\r\n\t\t\t \r\n\t\t\t System.out.print(\" \");\r\n\t\t\t \r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t \r\n\r\n\t\t\tfor (int j = n; j >= n-i; j--) {\r\n\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\r\n\t\t\r\n\t}",
"public\nstatic\nvoid\nmain(String args[]) \n\n{ \n\nBinaryTree tree = \nnew\nBinaryTree(); \n\ntree.root = \nnew\nNode(\n20\n); \n\ntree.root.left = \nnew\nNode(\n8\n); \n\ntree.root.left.left = \nnew\nNode(\n4\n); \n\ntree.root.left.right = \nnew\nNode(\n12\n); \n\ntree.root.left.right.left = \nnew\nNode(\n10\n); \n\ntree.root.left.right.right = \nnew\nNode(\n14\n); \n\ntree.root.right = \nnew\nNode(\n22\n); \n\ntree.root.right.right = \nnew\nNode(\n25\n); \n\ntree.printBoundary(tree.root); \n\n}",
"public void backSlash() {\n text.append(\"\\\\\");\n }",
"public static void main(String[] args){\t\n\t\tchar op = '/';\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"첫번째 정수입니다.\");\n\t\tint num1 = scan.nextInt();\n\t\t\n\t\tSystem.out.println(\"두번째 정수입니다.\");\n\t\tint num2 = scan.nextInt();\n\t\tint num3=0;\n\t\tif(op=='+'){\n\t\t\tnum3 = num1+num2;\n\t\t}\n\t\telse if(op=='-'){\n\t\t\tnum3 = num1-num2;\n\t\t}\n\t\telse if(op=='*'){\n\t\t\tnum3 = num1*num2;\n\t\t}\n\t\telse if(op=='/'){\n\t\t\tif(num2==0){\n\t\t\tSystem.out.println(\"오류입니다.\");\n\t\t}\n\t\t\t\n\t\t\tnum3 = num1/num2;\n\t\t}\n\t\tSystem.out.printf(\"%d%c%d=%d\" ,num1,op,num2,num3);\n\t\t\n\t\t\n\t}",
"public final void testSlash() \n\t\t\tthrows ParserConfigurationException, IOException, SAXException \n\t{\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnðýþnn\");\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnønn\");\n\t\tassertSingleResult(\"8\", fldName, \"nnunn\");\n\t}",
"AngleResource inclination();",
"public abstract void squareRootThis();",
"public UniquePathsII() {\n\t\t// Initialization here. \n\t\t//\t\tcount = 0;\n\t}",
"@Override\n\tpublic void space() {\n\t\t\n\t}"
] |
[
"0.5906264",
"0.55749613",
"0.5428019",
"0.53241616",
"0.5294036",
"0.527193",
"0.52582306",
"0.5256754",
"0.51585066",
"0.5141374",
"0.51100975",
"0.5097357",
"0.5026707",
"0.50235814",
"0.50100124",
"0.49757177",
"0.4967908",
"0.49668512",
"0.4931213",
"0.49272057",
"0.49150687",
"0.4878608",
"0.4873821",
"0.4873821",
"0.48564616",
"0.48415148",
"0.4840844",
"0.48408422",
"0.48392275",
"0.48380315",
"0.48342562",
"0.48335755",
"0.48189583",
"0.4816532",
"0.4803844",
"0.47991633",
"0.4790358",
"0.4785782",
"0.47707185",
"0.47659388",
"0.47607136",
"0.4756167",
"0.47525582",
"0.4750556",
"0.47465262",
"0.47439283",
"0.47427607",
"0.47368544",
"0.47283906",
"0.4719052",
"0.4715935",
"0.4711951",
"0.47046372",
"0.47023433",
"0.46957722",
"0.46894073",
"0.46882662",
"0.46872112",
"0.46870187",
"0.46838596",
"0.46826214",
"0.46721044",
"0.4671648",
"0.46691796",
"0.46658975",
"0.46658975",
"0.46634644",
"0.46593347",
"0.46569487",
"0.46532407",
"0.46484405",
"0.46472803",
"0.4647124",
"0.46426368",
"0.46379653",
"0.4635675",
"0.46356165",
"0.46343538",
"0.46343073",
"0.46324328",
"0.46307802",
"0.46292034",
"0.46249497",
"0.46220893",
"0.46138567",
"0.46130696",
"0.46125302",
"0.4608751",
"0.46084386",
"0.4605762",
"0.46052104",
"0.4602023",
"0.46015334",
"0.45995793",
"0.45948967",
"0.459342",
"0.45930445",
"0.45923406",
"0.45910415",
"0.45878932",
"0.45863274"
] |
0.0
|
-1
|
/ / / /
|
public byte[] allocBase64Buffer()
/* */ {
/* 175 */ _verifyAlloc(this._base64Buffer);
/* 176 */ return this._base64Buffer = this._bufferRecycler.allocByteBuffer(3);
/* */ }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void divide() {\n\t\t\n\t}",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"public abstract String division();",
"public void division() {\n\t\tx=1;\n\t\ty=0;\n\t\tz=x/y;\n\t\t\t\t\n\t}",
"private boolean slash() {\r\n return MARK(OPERATOR) && CHAR('/') && gap();\r\n }",
"public abstract void bepaalGrootte();",
"public static void bottomHalf() {\n\n for(int i = 1; i <= SIZE; i++) {\n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\" \");\n }\n \n\t System.out.print(\"\\\\_\");\n\t for(int j = 3*SIZE-i; j >= i; j--) {\n\t System.out.print(\"/\\\\\");\n\t }\n\t System.out.println(\"_/\");\n }\n }",
"public void gored() {\n\t\t\n\t}",
"public String toString(){ return \"DIV\";}",
"private int parent(int i){return (i-1)/2;}",
"public String ring();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"private int leftChild(int i){return 2*i+1;}",
"double passer();",
"static void pyramid(){\n\t}",
"public void stg() {\n\n\t}",
"public static void main(String[] args) {\n\n\n for(int a=0; a<7;a++){\n for(int b=0;b<7-a;b++){\n System.out.print(\" \");\n }\n for(int c=0; c<=a;c++){\n System.out.print(\"* \");\n }\n System.out.println(\" \");\n }\n\n }",
"void mo33732Px();",
"Operations operations();",
"private int rightChild(int i){return 2*i+2;}",
"private void division()\n\t{\n\t\tFun = Function.DIVIDE; //Function set to determine what action should be taken later.\n\t\t\n\t\t\tsetLeftValue();\n\t\t\tentry.grabFocus();\n\t\t\n\t}",
"@Override\n\tpublic float dividir(float op1, float op2) {\n\t\treturn op1 / op2;\n\t}",
"void sharpen();",
"void sharpen();",
"double defendre();",
"public int generateRoshambo(){\n ;]\n\n }",
"private void e()\r\n/* 273: */ {\r\n/* 274:278 */ this.r = false;\r\n/* 275:279 */ this.s = false;\r\n/* 276:280 */ this.t = false;\r\n/* 277:281 */ this.u = false;\r\n/* 278:282 */ this.v = false;\r\n/* 279: */ }",
"public static void part2(){\n\t\n System.out.println(\"\\\\\"); //Outer wall\n System.out.println(\"\\\\\");\n System.out.println(\"\\\\\");\n for(int i = 0; i <= 16; i++){ //loop created to display top of the door\n\n \tSystem.out.print(\"-\");\n\n\t}\n System.out.println(\"\");\n System.out.println(\"\\\\\\t\\t| \\t(\\\")\"); //The door and the stick figure\n System.out.println(\"\\\\\\t\\t|\\t-|-\");\n System.out.println(\"\\\\\\t o | \\t |\");\n System.out.println(\"\\\\\\t\\t|\\t /\\\\\");\n System.out.println(\"\\\\\\t\\t|\\t/ \\\\\");\n\t\t\n }",
"String divideAtWhite()[]{ return null; }",
"protected boolean\nshouldCompactPathLists()\n//\n////////////////////////////////////////////////////////////////////////\n{\n return true;\n}",
"double volume(){\n return width*height*depth;\n }",
"public void skystonePos4() {\n }",
"void ringBell() {\n\n }",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"private static void breadcrumbArrow(int width, int height, int indent, int c1, int c2) {\n\n\t\tdouble x0 = 0, y0 = height / 2d;\n\t\tdouble x1 = indent, y1 = 0;\n\t\tdouble x2 = indent, y2 = height / 2d;\n\t\tdouble x3 = indent, y3 = height;\n\t\tdouble x4 = width, y4 = 0;\n\t\tdouble x5 = width, y5 = height / 2d;\n\t\tdouble x6 = width, y6 = height;\n\t\tdouble x7 = indent + width, y7 = 0;\n\t\tdouble x8 = indent + width, y8 = height;\n\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent)/(width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width)/(width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}",
"public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}",
"public static void method1(){\n System.out.println(\"*****\");\n System.out.println(\"*****\");\n System.out.println(\" * *\");\n System.out.println(\" *\");\n System.out.println(\" * *\");\n }",
"public int division(int x,int y){\n System.out.println(\"division methods\");\n int d=x/y;\n return d;\n\n }",
"void mo21076g();",
"private boolean dividingByZero(String operator){\n if (numStack.peek() == 0 && operator.equals(\"/\")){\n return true;\n }\n return false;\n }",
"@Override\n public void bfs() {\n\n }",
"public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }",
"Parallelogram(){\n length = width = height = 0;\n }",
"public Divide(){\n }",
"public void draw(){\n for(int i = 1; i <= height; i++){\n for(int s = 1; s <= i; s++)\n System.out.print(\"*\");\n System.out.println();\n }\n }",
"@Override\r\n\tpublic void div(int x, int y) {\n\t\t\r\n\t}",
"double Volume(){\r\n return Height * Width * Depth;\r\n }",
"@Override\npublic void div(int a, int b) {\n\t\n}",
"private double triangleBase() {\n return cellWidth() / BASE_WIDTH;\n }",
"double volume() {\n\treturn width*height*depth;\n}",
"public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}",
"private void traversePath()\n\t{\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t}",
"int getWidth() {return width;}",
"int width();",
"public void divide(int dirOp1, int dirOp2, int dirRes) {\n //traduce casos de direccionamiento indirecto\n dirOp1 = traduceDirIndirecto(dirOp1);\n dirOp2 = traduceDirIndirecto(dirOp2);\n if (ManejadorMemoria.isConstante(dirOp1)) { // OPERANDO 1 CTE\n String valor1 = this.directorioProcedimientos.getConstantes().get(dirOp1).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { //RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else if (ManejadorMemoria.isGlobal(dirOp1)) { // OPERANDO 1 GLOBAL\n String valor1 = this.registroGlobal.getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else { // OPERANDO 1 LOCAL\n String valor1 = this.pilaRegistros.peek().getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES 2 LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { //OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n }\n }",
"public static void main(String[] args) {\n\n\n\n System.out.println(4 * (1.0 - (1 / 3) + (1 / 5) - (1 / 7) + (1 / 9) - (1 / 11)));\n\n System.out.println(4 * (1.0 - (1/3) + (1/5) - (1/7)\n + (1 / 9) - (1/11) + (1/13)));\n }",
"public static void topHalf() {\n \t\n for( int i = 1; i <= SIZE; i++){\n for(int spaces = 1; spaces <= 3*SIZE - 3*i; spaces++) {\n System.out.print(\" \"); \n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"__/\");\n }\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n System.out.print(\"||\");\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"\\\\__\");\n }\n \n System.out.println();\n }\n \n System.out.print(\"|\");\n \n for(int i = 1; i <= 6 * SIZE; i++) {\n System.out.print(\"\\\"\");\n }\n \n System.out.println(\"|\");\n }",
"@Override\r\n\tpublic int div() {\n\t\treturn 0;\r\n\t}",
"private void renderPath(Node n)\n {\n\tGraphics g = getGraphics();\n\tboolean painting;\n\tColor nc,lc;\n\n\tpainting = (n.paths_passing==0);\n\twhile (n != null) {\n\t if (painting)\n\t\tn.paths_passing++;\n\t else {\n\t\tn.paths_passing--;\n\t }\n\t \n// \t nc = (n.paths_passing > 0)?hilitcolor:normalcolor;\n// \t lc = (n.paths_passing > 0)?hilitcolor:linecolor;\n\t nc = (n.paths_passing > 0)?n.path_color:normalcolor;\n\t lc = (n.paths_passing > 0)?n.path_color:linecolor;\n\t \n\t if (n.parent == null) {\n\t\tsetRenderColor(g,nc);\n\t\trenderNode(g,n);\n\t\tbreak;\n\t }\n\n\t // Double line width\n\t //setRenderColor(g,(n.paths_passing>0)?hilitcolor:Color.white);\n\t setRenderColor(g,(n.paths_passing>0)?n.path_color:Color.white);\n\t renderLine(g,n.x-1,n.y,n.parent.x-1,n.parent.y);\t\n\n\t setRenderColor(g,lc);\n\t renderLine(g,n.x,n.y,n.parent.x,n.parent.y);\n\n\t setRenderColor(g,nc);\n\t renderNode(g,n);\n\t n = n.parent;\n\t}\n }",
"public double getWidth() { return _width<0? -_width : _width; }",
"double getPerimeter(){\n return 2*height+width;\n }",
"public void mo3376r() {\n }",
"public static void unionPathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze two = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\tSystem.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = two.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber+n) != S.findAndCompress(randomNumber)){\n\t\t\t\t\t\tS.union(randomNumber+n, randomNumber);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'u');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.union(randomNumber, randomNumber+1);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(two, n);\n\t\tuserSelection_SolveMaze(n);\n\n\n\t\tStdDraw.show(0);\n\t\ttwo.draw();\n\t\ttwo.printCellNumbers();\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic double divide(double in1, double in2) {\n\t\treturn 0;\n\t}",
"void doubleBox(int sides, float x1, float y1, float z1, float x2, float y2, float z2)\r\n/* 100: */ {\r\n/* 101: 99 */ int s2 = sides << 1 & 0x2A | sides >> 1 & 0x15;\r\n/* 102: */ \r\n/* 103:101 */ this.context.renderBox(sides, x1, y1, z1, x2, y2, z2);\r\n/* 104:102 */ this.context.renderBox(s2, x2, y2, z2, x1, y1, z1);\r\n/* 105: */ }",
"public static void main (String[] args){\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n if(n%2==1)\n {\n n=n/2;\n n++;\n }\n else\n {\n n=n/2;\n }\n for(int i=1;i<=n;i++)\n {\n for(int k=1;k<=i-1;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<=((2*n-1)-2*(i-1));j++)\n {\n if(j==1||j==((2*n-1)-2*(i-1)))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n for(int i=2;i<=n;i++)\n {\n for(int k=1;k<=n-i;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<i*2;j++)\n {\n if(j==1||j==(i*2-1))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n\t}",
"public RMPath getPath() { return RMPath.unitRectPath; }",
"void walk() {\n\t\t\n\t}",
"public static void giant() {\n System.out.println(\" --------- \");\n System.out.println(\" | / \\\\| \");\n System.out.println(\" ZZZZZH | O | HZZZZZ \");\n System.out.println(\" H ----------- H \");\n System.out.println(\" ZZZZZHHHHHHHHHHHHHHHHHHHHHZZZZZ \");\n System.out.println(\" H HHHHHHHHHHH H \");\n System.out.println(\" ZZZZZH HHHHHHHHHHH HZZZZZ \");\n System.out.println(\" HHHHHHHHHHH \");\n System.out.println(\" HHH HHH \");\n System.out.println(\" HHH HHH \");\n }",
"public void title ()\n {\n\tprintSlow (\" _ __\");\n\tprintSlow (\" ___ | ' \\\\\");\n\tprintSlow (\" ___ \\\\ / ___ ,'\\\\_ | .-. \\\\ /|\");\n\tprintSlow (\" \\\\ / | |,'__ \\\\ ,'\\\\_ | \\\\ | | | | ,' |_ /|\");\n\tprintSlow (\" _ | | | |\\\\/ \\\\ \\\\ | \\\\ | |\\\\_| _ | |_| | _ '-. .-',' |_ _\");\n\tprintSlow (\" // | | | |____| | | |\\\\_|| |__ // | | ,'_`. | | '-. .-',' `. ,'\\\\_\");\n\tprintSlow (\" \\\\\\\\_| |_,' .-, _ | | | | |\\\\ \\\\ // .| |\\\\_/ | / \\\\ || | | | / |\\\\ \\\\| \\\\\");\n\tprintSlow (\" `-. .-'| |/ / | | | | | | \\\\ \\\\// | | | | | || | | | | |_\\\\ || |\\\\_|\");\n\tprintSlow (\" | | | || \\\\_| | | | /_\\\\ \\\\ / | |` | | | || | | | | .---'| |\");\n\tprintSlow (\" | | | |\\\\___,_\\\\ /_\\\\ _ // | | | \\\\_/ || | | | | | /\\\\| |\");\n\tprintSlow (\" /_\\\\ | | //_____// .||` `._,' | | | | \\\\ `-' /| |\");\n\tprintSlow (\" /_\\\\ `------' \\\\ | AND `.\\\\ | | `._,' /_\\\\\");\n\tprintSlow (\" \\\\| HIS `.\\\\\");\n\tprintSlow (\" __ __ _ _ _ _ \");\n\tprintSlow (\" | \\\\/ | (_) | | /\\\\ | | | | \");\n\tprintSlow (\" | \\\\ / | __ _ __ _ _ ___ __ _| | / \\\\ __| |_ _____ _ __ | |_ _ _ _ __ ___ \");\n\tprintSlow (\" | |\\\\/| |/ _` |/ _` | |/ __/ _` | | / /\\\\ \\\\ / _` \\\\ \\\\ / / _ \\\\ '_ \\\\| __| | | | '__/ _ \\\\\");\n\tprintSlow (\" | | | | (_| | (_| | | (_| (_| | | / ____ \\\\ (_| |\\\\ V / __/ | | | |_| |_| | | | __/\");\n\tprintSlow (\" |_| |_|\\\\__,_|\\\\__, |_|\\\\___\\\\__,_|_| /_/ \\\\_\\\\__,_| \\\\_/ \\\\___|_| |_|\\\\__|\\\\__,_|_| \\\\___|\");\n\tprintSlow (\" __/ | \");\n\tprintSlow (\" |___/ \\n\\n\\n\");\n\n\n }",
"public static String makeShapeA() {\n\tString result = \"\";\n\t\tfor (int i = 0; i < 8 ; i++) {\n\t\t\tresult+=printHash(i);\n\t\t\t\n\t\t}return result;\n\t\t\t//System.out.println(printHash(i));\n\t\t}",
"public void draw4x4 (char design){\n System.out.println(\"\"+design+design+design+design);\n System.out.println(design+\" \"+design);\n System.out.println(design+\" \"+design);\n System.out.println(\"\"+design+design+design+design);\n}",
"double area() {\nSystem.out.println(\"Inside Area for Triangle.\");\nreturn dim1 * dim2 / 2;\n}",
"private void pointer(Graphics image,int x,int y,int height,int b,int dir) {\n\n\t\tint[] xt=new int[3];\n\t\tint[] yt=new int[3];\n\n\t\tif(dir==0) {\n\t\t\txt[0]=x;\n\t\t\txt[1]=xt[2]=x+height;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=y+b/2;\n\t\t\tyt[2]=y-b/2;\n\t\t} else {\n\t\t\txt[0]=x;\n\t\t\txt[1]=x+b/2;\n\t\t\txt[2]=x-b/2;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=yt[2]=y-height;\n\t\t}\n\t\timage.fillPolygon(xt,yt,3);\n\t}",
"public int mo9774x() {\n /*\n r5 = this;\n int r0 = r5.f9082i\n int r1 = r5.f9080g\n if (r1 != r0) goto L_0x0007\n goto L_0x006a\n L_0x0007:\n byte[] r2 = r5.f9079f\n int r3 = r0 + 1\n byte r0 = r2[r0]\n if (r0 < 0) goto L_0x0012\n r5.f9082i = r3\n return r0\n L_0x0012:\n int r1 = r1 - r3\n r4 = 9\n if (r1 >= r4) goto L_0x0018\n goto L_0x006a\n L_0x0018:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 7\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x0024\n r0 = r0 ^ -128(0xffffffffffffff80, float:NaN)\n goto L_0x0070\n L_0x0024:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r1 = r1 << 14\n r0 = r0 ^ r1\n if (r0 < 0) goto L_0x0031\n r0 = r0 ^ 16256(0x3f80, float:2.278E-41)\n L_0x002f:\n r1 = r3\n goto L_0x0070\n L_0x0031:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 21\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x003f\n r2 = -2080896(0xffffffffffe03f80, float:NaN)\n r0 = r0 ^ r2\n goto L_0x0070\n L_0x003f:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r4 = r1 << 28\n r0 = r0 ^ r4\n r4 = 266354560(0xfe03f80, float:2.2112565E-29)\n r0 = r0 ^ r4\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r2 = r2[r3]\n if (r2 >= 0) goto L_0x0070\n L_0x006a:\n long r0 = r5.mo9776z()\n int r0 = (int) r0\n return r0\n L_0x0070:\n r5.f9082i = r1\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p213q.p217b.p301c.p302a.p311j0.p312a.C3656k.C3659c.mo9774x():int\");\n }",
"public SoNode \ngetCurPathTail() \n{\n//#ifdef DEBUG\n if (currentpath.getTail() != (SoFullPath.cast(getCurPath())).getTail()){\n SoDebugError.post(\"SoAction::getCurPathTail\\n\", \n \"Inconsistent path tail. Did you change the scene graph\\n\"+\n \"During traversal?\\n\");\n }\n//#endif /*DEBUG*/\n return(currentpath.getTail());\n}",
"@Override\n\tpublic void breath() {\n\n\t}",
"public static void main(String[] args) {\nint i,j,k;\r\nint num=5;\r\nfor(i=0;i<num;i++){\r\n\tfor(j=0;j<i;j++){\r\n\t\tSystem.out.print(\" \");\r\n\t}\r\n\tfor(k=num; k>=2*i-1; k--){\r\n\t\tSystem.out.print(\"*\");\r\n\t}\r\n\t\r\n\tSystem.out.println();\r\n}\r\n\t}",
"@Override\n\tpublic void div(double dx, double dy) {\n\t\t\n\t}",
"public PathCode getCurPathCode() { return /*appliedTo.curPathCode*/currentpathcode;}",
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"private void createPath(Direction d, int width, Point p1, Point p2) {\n\t\t// Determine how far away from the center the corners are\n\t\tint sideOneOffset = 0;\t// Top or Left depending on path direction\n\t\tint sideTwoOffset = 0;\t// Bot or Right depending on path direction\n\t\t// If the width is odd, balance the offsets\n\t\tif (width % 2 != 0) {\t\n\t\t\tsideOneOffset = sideTwoOffset = ((width / 2) + 1);\n\t\t} else {\n\t\t\t// If the width is even, the offsets will be off by 1\n\t\t\tsideOneOffset = width;\n\t\t\tsideTwoOffset = width - 1;\n\t\t}\n\t\tif (d == Direction.LEFT || d == Direction.RIGHT) {\n\t\t\t// If the direction is left then we want to swap the points\n\t\t\t// to pretend like the direction was right (so the following code works)\n\t\t\tif (d == Direction.LEFT) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p1.x, p1.y + sideTwoOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p2.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x, p1.y + sideTwoOffset)));\n\t\t\t// Set the left and right walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.y is the center of the path (top to bottom)\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x, p1.y + (i - width/2))));\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p2.x, p2.y + (i - width/2))));\n\t\t\t}\n\t\t\t// Set middle path and top/bottom padding (horizontal Oreo!)\n\t\t\tfor (int col = p1.x + 1, endCol = p2.x; col < endCol; col++) {\n\t\t\t\t// Add the top wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(col, p1.y - sideOneOffset)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(col, p1.y + (i - width /2))));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the bottom wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(col, p1.y + sideTwoOffset)));\n\t\t\t}\n\t\t} else {\n\t\t\t// If the direction is up then we want to swap the points\n\t\t\t// to pretend like the direction was down (so the following code works)\n\t\t\tif (d == Direction.UP) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x - sideOneOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p2.x - sideOneOffset, p2.y)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p1.x + sideTwoOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x + sideTwoOffset, p2.y)));\n\t\t\t// Set the top and bottom walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.x is the center of the path (left to right)\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(p1.x + (i - width /2), p1.y)));\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(p2.x + (i - width /2), p2.y)));\n\t\t\t}\n\t\t\t// Set middle path and left/right padding (vertical Oreo!)\n\t\t\tfor (int row = p1.y + 1, endRow = p2.y; row < endRow; row++) {\n\t\t\t\t// Add the left wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x - sideOneOffset, row)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(p1.x + (i - width /2), row)));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the right wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p1.x + sideTwoOffset, row)));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"private byte r() {\r\n\t\treturn (left_map == 0 ) ? (byte) 1 : 0;\r\n\t}",
"static String division (String s1, String s2) {\r\n if (s2==null || s2.length()==0) return s1;\r\n return product (s1, invert(s2));\r\n }",
"public static void body() {\n \tfor(int i = 1; i <= SIZE*SIZE; i++) {\n for(int j = 1; j <= 3*SIZE-(SIZE-1); j++) {\n System.out.print(\" \");\n }\n \n System.out.print(\"|\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"||\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"|\");\n \n System.out.println();\n }\n }",
"private int uniquePaths(int x, int y, int[][] dp) {\n \t\tif (x == 0 || y == 0) return 1;\n \t\tif (dp[x][y] == 0)\n \t\t\tdp[x][y] = uniquePaths(x - 1, y, dp) + uniquePaths(x, y - 1, dp);\n \t\treturn dp[x][y];\n \t}",
"public void star(float x, float y, float r, float R) {\n float angle = TWO_PI / 5;\n float halfAngle = angle/2.0f;\n beginShape();\n noStroke();\n for (float a = 0; a < TWO_PI; a += angle) {\n float sx = x + cos(a) * r;\n float sy = y + sin(a) * r;\n vertex(sx, sy);\n sx = x + cos(a+halfAngle) * R;\n sy = y + sin(a+halfAngle) * R;\n vertex(sx, sy);\n }\n endShape(CLOSE);\n}",
"@Override\r\n\tpublic void CalcPeri() {\n\t\tSystem.out.println(4*side);\t\r\n\t}",
"public int upright();",
"public static void main(String[] args) {\n\r\n\t\t\r\n\t\tint n = 7;\r\n\t\tfor (int i = n; i >= 0; i--) {\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t for(int j=0; j<n-i; j++) {\r\n\t\t\t \r\n\t\t\t System.out.print(\" \");\r\n\t\t\t \r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t \r\n\r\n\t\t\tfor (int j = n; j >= n-i; j--) {\r\n\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\r\n\t\t\r\n\t}",
"public\nstatic\nvoid\nmain(String args[]) \n\n{ \n\nBinaryTree tree = \nnew\nBinaryTree(); \n\ntree.root = \nnew\nNode(\n20\n); \n\ntree.root.left = \nnew\nNode(\n8\n); \n\ntree.root.left.left = \nnew\nNode(\n4\n); \n\ntree.root.left.right = \nnew\nNode(\n12\n); \n\ntree.root.left.right.left = \nnew\nNode(\n10\n); \n\ntree.root.left.right.right = \nnew\nNode(\n14\n); \n\ntree.root.right = \nnew\nNode(\n22\n); \n\ntree.root.right.right = \nnew\nNode(\n25\n); \n\ntree.printBoundary(tree.root); \n\n}",
"public void backSlash() {\n text.append(\"\\\\\");\n }",
"public static void main(String[] args){\t\n\t\tchar op = '/';\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"첫번째 정수입니다.\");\n\t\tint num1 = scan.nextInt();\n\t\t\n\t\tSystem.out.println(\"두번째 정수입니다.\");\n\t\tint num2 = scan.nextInt();\n\t\tint num3=0;\n\t\tif(op=='+'){\n\t\t\tnum3 = num1+num2;\n\t\t}\n\t\telse if(op=='-'){\n\t\t\tnum3 = num1-num2;\n\t\t}\n\t\telse if(op=='*'){\n\t\t\tnum3 = num1*num2;\n\t\t}\n\t\telse if(op=='/'){\n\t\t\tif(num2==0){\n\t\t\tSystem.out.println(\"오류입니다.\");\n\t\t}\n\t\t\t\n\t\t\tnum3 = num1/num2;\n\t\t}\n\t\tSystem.out.printf(\"%d%c%d=%d\" ,num1,op,num2,num3);\n\t\t\n\t\t\n\t}",
"public final void testSlash() \n\t\t\tthrows ParserConfigurationException, IOException, SAXException \n\t{\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnðýþnn\");\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnønn\");\n\t\tassertSingleResult(\"8\", fldName, \"nnunn\");\n\t}",
"AngleResource inclination();",
"public abstract void squareRootThis();",
"public UniquePathsII() {\n\t\t// Initialization here. \n\t\t//\t\tcount = 0;\n\t}",
"@Override\n\tpublic void space() {\n\t\t\n\t}"
] |
[
"0.5906264",
"0.55749613",
"0.5428019",
"0.53241616",
"0.5294036",
"0.527193",
"0.52582306",
"0.5256754",
"0.51585066",
"0.5141374",
"0.51100975",
"0.5097357",
"0.5026707",
"0.50235814",
"0.50100124",
"0.49757177",
"0.4967908",
"0.49668512",
"0.4931213",
"0.49272057",
"0.49150687",
"0.4878608",
"0.4873821",
"0.4873821",
"0.48564616",
"0.48415148",
"0.4840844",
"0.48408422",
"0.48392275",
"0.48380315",
"0.48342562",
"0.48335755",
"0.48189583",
"0.4816532",
"0.4803844",
"0.47991633",
"0.4790358",
"0.4785782",
"0.47707185",
"0.47659388",
"0.47607136",
"0.4756167",
"0.47525582",
"0.4750556",
"0.47465262",
"0.47439283",
"0.47427607",
"0.47368544",
"0.47283906",
"0.4719052",
"0.4715935",
"0.4711951",
"0.47046372",
"0.47023433",
"0.46957722",
"0.46894073",
"0.46882662",
"0.46872112",
"0.46870187",
"0.46838596",
"0.46826214",
"0.46721044",
"0.4671648",
"0.46691796",
"0.46658975",
"0.46658975",
"0.46634644",
"0.46593347",
"0.46569487",
"0.46532407",
"0.46484405",
"0.46472803",
"0.4647124",
"0.46426368",
"0.46379653",
"0.4635675",
"0.46356165",
"0.46343538",
"0.46343073",
"0.46324328",
"0.46307802",
"0.46292034",
"0.46249497",
"0.46220893",
"0.46138567",
"0.46130696",
"0.46125302",
"0.4608751",
"0.46084386",
"0.4605762",
"0.46052104",
"0.4602023",
"0.46015334",
"0.45995793",
"0.45948967",
"0.459342",
"0.45930445",
"0.45923406",
"0.45910415",
"0.45878932",
"0.45863274"
] |
0.0
|
-1
|
/ / / /
|
public char[] allocTokenBuffer(int minSize)
/* */ {
/* 188 */ _verifyAlloc(this._tokenCBuffer);
/* 189 */ return this._tokenCBuffer = this._bufferRecycler.allocCharBuffer(0, minSize);
/* */ }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void divide() {\n\t\t\n\t}",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"public abstract String division();",
"public void division() {\n\t\tx=1;\n\t\ty=0;\n\t\tz=x/y;\n\t\t\t\t\n\t}",
"private boolean slash() {\r\n return MARK(OPERATOR) && CHAR('/') && gap();\r\n }",
"public abstract void bepaalGrootte();",
"public static void bottomHalf() {\n\n for(int i = 1; i <= SIZE; i++) {\n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\" \");\n }\n \n\t System.out.print(\"\\\\_\");\n\t for(int j = 3*SIZE-i; j >= i; j--) {\n\t System.out.print(\"/\\\\\");\n\t }\n\t System.out.println(\"_/\");\n }\n }",
"public void gored() {\n\t\t\n\t}",
"public String toString(){ return \"DIV\";}",
"private int parent(int i){return (i-1)/2;}",
"public String ring();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"private int leftChild(int i){return 2*i+1;}",
"double passer();",
"static void pyramid(){\n\t}",
"public void stg() {\n\n\t}",
"public static void main(String[] args) {\n\n\n for(int a=0; a<7;a++){\n for(int b=0;b<7-a;b++){\n System.out.print(\" \");\n }\n for(int c=0; c<=a;c++){\n System.out.print(\"* \");\n }\n System.out.println(\" \");\n }\n\n }",
"void mo33732Px();",
"Operations operations();",
"private int rightChild(int i){return 2*i+2;}",
"private void division()\n\t{\n\t\tFun = Function.DIVIDE; //Function set to determine what action should be taken later.\n\t\t\n\t\t\tsetLeftValue();\n\t\t\tentry.grabFocus();\n\t\t\n\t}",
"@Override\n\tpublic float dividir(float op1, float op2) {\n\t\treturn op1 / op2;\n\t}",
"void sharpen();",
"void sharpen();",
"double defendre();",
"public int generateRoshambo(){\n ;]\n\n }",
"private void e()\r\n/* 273: */ {\r\n/* 274:278 */ this.r = false;\r\n/* 275:279 */ this.s = false;\r\n/* 276:280 */ this.t = false;\r\n/* 277:281 */ this.u = false;\r\n/* 278:282 */ this.v = false;\r\n/* 279: */ }",
"public static void part2(){\n\t\n System.out.println(\"\\\\\"); //Outer wall\n System.out.println(\"\\\\\");\n System.out.println(\"\\\\\");\n for(int i = 0; i <= 16; i++){ //loop created to display top of the door\n\n \tSystem.out.print(\"-\");\n\n\t}\n System.out.println(\"\");\n System.out.println(\"\\\\\\t\\t| \\t(\\\")\"); //The door and the stick figure\n System.out.println(\"\\\\\\t\\t|\\t-|-\");\n System.out.println(\"\\\\\\t o | \\t |\");\n System.out.println(\"\\\\\\t\\t|\\t /\\\\\");\n System.out.println(\"\\\\\\t\\t|\\t/ \\\\\");\n\t\t\n }",
"String divideAtWhite()[]{ return null; }",
"protected boolean\nshouldCompactPathLists()\n//\n////////////////////////////////////////////////////////////////////////\n{\n return true;\n}",
"double volume(){\n return width*height*depth;\n }",
"public void skystonePos4() {\n }",
"void ringBell() {\n\n }",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"private static void breadcrumbArrow(int width, int height, int indent, int c1, int c2) {\n\n\t\tdouble x0 = 0, y0 = height / 2d;\n\t\tdouble x1 = indent, y1 = 0;\n\t\tdouble x2 = indent, y2 = height / 2d;\n\t\tdouble x3 = indent, y3 = height;\n\t\tdouble x4 = width, y4 = 0;\n\t\tdouble x5 = width, y5 = height / 2d;\n\t\tdouble x6 = width, y6 = height;\n\t\tdouble x7 = indent + width, y7 = 0;\n\t\tdouble x8 = indent + width, y8 = height;\n\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent)/(width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width)/(width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}",
"public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}",
"public static void method1(){\n System.out.println(\"*****\");\n System.out.println(\"*****\");\n System.out.println(\" * *\");\n System.out.println(\" *\");\n System.out.println(\" * *\");\n }",
"public int division(int x,int y){\n System.out.println(\"division methods\");\n int d=x/y;\n return d;\n\n }",
"void mo21076g();",
"private boolean dividingByZero(String operator){\n if (numStack.peek() == 0 && operator.equals(\"/\")){\n return true;\n }\n return false;\n }",
"@Override\n public void bfs() {\n\n }",
"public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }",
"Parallelogram(){\n length = width = height = 0;\n }",
"public Divide(){\n }",
"public void draw(){\n for(int i = 1; i <= height; i++){\n for(int s = 1; s <= i; s++)\n System.out.print(\"*\");\n System.out.println();\n }\n }",
"@Override\r\n\tpublic void div(int x, int y) {\n\t\t\r\n\t}",
"double Volume(){\r\n return Height * Width * Depth;\r\n }",
"@Override\npublic void div(int a, int b) {\n\t\n}",
"private double triangleBase() {\n return cellWidth() / BASE_WIDTH;\n }",
"double volume() {\n\treturn width*height*depth;\n}",
"public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}",
"private void traversePath()\n\t{\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t}",
"int getWidth() {return width;}",
"int width();",
"public void divide(int dirOp1, int dirOp2, int dirRes) {\n //traduce casos de direccionamiento indirecto\n dirOp1 = traduceDirIndirecto(dirOp1);\n dirOp2 = traduceDirIndirecto(dirOp2);\n if (ManejadorMemoria.isConstante(dirOp1)) { // OPERANDO 1 CTE\n String valor1 = this.directorioProcedimientos.getConstantes().get(dirOp1).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { //RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else if (ManejadorMemoria.isGlobal(dirOp1)) { // OPERANDO 1 GLOBAL\n String valor1 = this.registroGlobal.getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { // OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n } else { // OPERANDO 1 LOCAL\n String valor1 = this.pilaRegistros.peek().getValor(dirOp1);\n if (ManejadorMemoria.isGlobal(dirOp2)) { // OPERANDO 2 GLOBAL\n String valor2 = this.registroGlobal.getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES 2 LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else if (ManejadorMemoria.isConstante(dirOp2)) { // OPERANDO 2 CTE\n String valor2 = this.directorioProcedimientos.getConstantes().get(dirOp2).getValorConstante();\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n } else { //OPERANDO 2 LOCAL\n String valor2 = this.pilaRegistros.peek().getValor(dirOp2);\n if (ManejadorMemoria.isGlobal(dirRes)) { // RES GLOBAL\n this.registroGlobal.guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n } else { // RES LOCAL\n this.pilaRegistros.peek().guardaValor(dirRes, auxOperacion(dirOp1, dirOp2, valor1, valor2, Codigos.DIV));\n }\n }\n }\n }",
"public static void main(String[] args) {\n\n\n\n System.out.println(4 * (1.0 - (1 / 3) + (1 / 5) - (1 / 7) + (1 / 9) - (1 / 11)));\n\n System.out.println(4 * (1.0 - (1/3) + (1/5) - (1/7)\n + (1 / 9) - (1/11) + (1/13)));\n }",
"public static void topHalf() {\n \t\n for( int i = 1; i <= SIZE; i++){\n for(int spaces = 1; spaces <= 3*SIZE - 3*i; spaces++) {\n System.out.print(\" \"); \n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"__/\");\n }\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n System.out.print(\"||\");\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"\\\\__\");\n }\n \n System.out.println();\n }\n \n System.out.print(\"|\");\n \n for(int i = 1; i <= 6 * SIZE; i++) {\n System.out.print(\"\\\"\");\n }\n \n System.out.println(\"|\");\n }",
"@Override\r\n\tpublic int div() {\n\t\treturn 0;\r\n\t}",
"private void renderPath(Node n)\n {\n\tGraphics g = getGraphics();\n\tboolean painting;\n\tColor nc,lc;\n\n\tpainting = (n.paths_passing==0);\n\twhile (n != null) {\n\t if (painting)\n\t\tn.paths_passing++;\n\t else {\n\t\tn.paths_passing--;\n\t }\n\t \n// \t nc = (n.paths_passing > 0)?hilitcolor:normalcolor;\n// \t lc = (n.paths_passing > 0)?hilitcolor:linecolor;\n\t nc = (n.paths_passing > 0)?n.path_color:normalcolor;\n\t lc = (n.paths_passing > 0)?n.path_color:linecolor;\n\t \n\t if (n.parent == null) {\n\t\tsetRenderColor(g,nc);\n\t\trenderNode(g,n);\n\t\tbreak;\n\t }\n\n\t // Double line width\n\t //setRenderColor(g,(n.paths_passing>0)?hilitcolor:Color.white);\n\t setRenderColor(g,(n.paths_passing>0)?n.path_color:Color.white);\n\t renderLine(g,n.x-1,n.y,n.parent.x-1,n.parent.y);\t\n\n\t setRenderColor(g,lc);\n\t renderLine(g,n.x,n.y,n.parent.x,n.parent.y);\n\n\t setRenderColor(g,nc);\n\t renderNode(g,n);\n\t n = n.parent;\n\t}\n }",
"public double getWidth() { return _width<0? -_width : _width; }",
"double getPerimeter(){\n return 2*height+width;\n }",
"public void mo3376r() {\n }",
"public static void unionPathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze two = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\tSystem.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = two.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber+n) != S.findAndCompress(randomNumber)){\n\t\t\t\t\t\tS.union(randomNumber+n, randomNumber);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'u');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.union(randomNumber, randomNumber+1);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(two, n);\n\t\tuserSelection_SolveMaze(n);\n\n\n\t\tStdDraw.show(0);\n\t\ttwo.draw();\n\t\ttwo.printCellNumbers();\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic double divide(double in1, double in2) {\n\t\treturn 0;\n\t}",
"void doubleBox(int sides, float x1, float y1, float z1, float x2, float y2, float z2)\r\n/* 100: */ {\r\n/* 101: 99 */ int s2 = sides << 1 & 0x2A | sides >> 1 & 0x15;\r\n/* 102: */ \r\n/* 103:101 */ this.context.renderBox(sides, x1, y1, z1, x2, y2, z2);\r\n/* 104:102 */ this.context.renderBox(s2, x2, y2, z2, x1, y1, z1);\r\n/* 105: */ }",
"public static void main (String[] args){\n Scanner s=new Scanner(System.in);\n int n=s.nextInt();\n if(n%2==1)\n {\n n=n/2;\n n++;\n }\n else\n {\n n=n/2;\n }\n for(int i=1;i<=n;i++)\n {\n for(int k=1;k<=i-1;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<=((2*n-1)-2*(i-1));j++)\n {\n if(j==1||j==((2*n-1)-2*(i-1)))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n for(int i=2;i<=n;i++)\n {\n for(int k=1;k<=n-i;k++)\n {\n System.out.print(\" \");\n }\n for(int j=1;j<i*2;j++)\n {\n if(j==1||j==(i*2-1))\n System.out.print(\"*\");\n else\n System.out.print(\" \");\n }\n System.out.println();\n }\n\t}",
"public RMPath getPath() { return RMPath.unitRectPath; }",
"void walk() {\n\t\t\n\t}",
"public static void giant() {\n System.out.println(\" --------- \");\n System.out.println(\" | / \\\\| \");\n System.out.println(\" ZZZZZH | O | HZZZZZ \");\n System.out.println(\" H ----------- H \");\n System.out.println(\" ZZZZZHHHHHHHHHHHHHHHHHHHHHZZZZZ \");\n System.out.println(\" H HHHHHHHHHHH H \");\n System.out.println(\" ZZZZZH HHHHHHHHHHH HZZZZZ \");\n System.out.println(\" HHHHHHHHHHH \");\n System.out.println(\" HHH HHH \");\n System.out.println(\" HHH HHH \");\n }",
"public void title ()\n {\n\tprintSlow (\" _ __\");\n\tprintSlow (\" ___ | ' \\\\\");\n\tprintSlow (\" ___ \\\\ / ___ ,'\\\\_ | .-. \\\\ /|\");\n\tprintSlow (\" \\\\ / | |,'__ \\\\ ,'\\\\_ | \\\\ | | | | ,' |_ /|\");\n\tprintSlow (\" _ | | | |\\\\/ \\\\ \\\\ | \\\\ | |\\\\_| _ | |_| | _ '-. .-',' |_ _\");\n\tprintSlow (\" // | | | |____| | | |\\\\_|| |__ // | | ,'_`. | | '-. .-',' `. ,'\\\\_\");\n\tprintSlow (\" \\\\\\\\_| |_,' .-, _ | | | | |\\\\ \\\\ // .| |\\\\_/ | / \\\\ || | | | / |\\\\ \\\\| \\\\\");\n\tprintSlow (\" `-. .-'| |/ / | | | | | | \\\\ \\\\// | | | | | || | | | | |_\\\\ || |\\\\_|\");\n\tprintSlow (\" | | | || \\\\_| | | | /_\\\\ \\\\ / | |` | | | || | | | | .---'| |\");\n\tprintSlow (\" | | | |\\\\___,_\\\\ /_\\\\ _ // | | | \\\\_/ || | | | | | /\\\\| |\");\n\tprintSlow (\" /_\\\\ | | //_____// .||` `._,' | | | | \\\\ `-' /| |\");\n\tprintSlow (\" /_\\\\ `------' \\\\ | AND `.\\\\ | | `._,' /_\\\\\");\n\tprintSlow (\" \\\\| HIS `.\\\\\");\n\tprintSlow (\" __ __ _ _ _ _ \");\n\tprintSlow (\" | \\\\/ | (_) | | /\\\\ | | | | \");\n\tprintSlow (\" | \\\\ / | __ _ __ _ _ ___ __ _| | / \\\\ __| |_ _____ _ __ | |_ _ _ _ __ ___ \");\n\tprintSlow (\" | |\\\\/| |/ _` |/ _` | |/ __/ _` | | / /\\\\ \\\\ / _` \\\\ \\\\ / / _ \\\\ '_ \\\\| __| | | | '__/ _ \\\\\");\n\tprintSlow (\" | | | | (_| | (_| | | (_| (_| | | / ____ \\\\ (_| |\\\\ V / __/ | | | |_| |_| | | | __/\");\n\tprintSlow (\" |_| |_|\\\\__,_|\\\\__, |_|\\\\___\\\\__,_|_| /_/ \\\\_\\\\__,_| \\\\_/ \\\\___|_| |_|\\\\__|\\\\__,_|_| \\\\___|\");\n\tprintSlow (\" __/ | \");\n\tprintSlow (\" |___/ \\n\\n\\n\");\n\n\n }",
"public static String makeShapeA() {\n\tString result = \"\";\n\t\tfor (int i = 0; i < 8 ; i++) {\n\t\t\tresult+=printHash(i);\n\t\t\t\n\t\t}return result;\n\t\t\t//System.out.println(printHash(i));\n\t\t}",
"public void draw4x4 (char design){\n System.out.println(\"\"+design+design+design+design);\n System.out.println(design+\" \"+design);\n System.out.println(design+\" \"+design);\n System.out.println(\"\"+design+design+design+design);\n}",
"double area() {\nSystem.out.println(\"Inside Area for Triangle.\");\nreturn dim1 * dim2 / 2;\n}",
"private void pointer(Graphics image,int x,int y,int height,int b,int dir) {\n\n\t\tint[] xt=new int[3];\n\t\tint[] yt=new int[3];\n\n\t\tif(dir==0) {\n\t\t\txt[0]=x;\n\t\t\txt[1]=xt[2]=x+height;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=y+b/2;\n\t\t\tyt[2]=y-b/2;\n\t\t} else {\n\t\t\txt[0]=x;\n\t\t\txt[1]=x+b/2;\n\t\t\txt[2]=x-b/2;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=yt[2]=y-height;\n\t\t}\n\t\timage.fillPolygon(xt,yt,3);\n\t}",
"public int mo9774x() {\n /*\n r5 = this;\n int r0 = r5.f9082i\n int r1 = r5.f9080g\n if (r1 != r0) goto L_0x0007\n goto L_0x006a\n L_0x0007:\n byte[] r2 = r5.f9079f\n int r3 = r0 + 1\n byte r0 = r2[r0]\n if (r0 < 0) goto L_0x0012\n r5.f9082i = r3\n return r0\n L_0x0012:\n int r1 = r1 - r3\n r4 = 9\n if (r1 >= r4) goto L_0x0018\n goto L_0x006a\n L_0x0018:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 7\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x0024\n r0 = r0 ^ -128(0xffffffffffffff80, float:NaN)\n goto L_0x0070\n L_0x0024:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r1 = r1 << 14\n r0 = r0 ^ r1\n if (r0 < 0) goto L_0x0031\n r0 = r0 ^ 16256(0x3f80, float:2.278E-41)\n L_0x002f:\n r1 = r3\n goto L_0x0070\n L_0x0031:\n int r1 = r3 + 1\n byte r3 = r2[r3]\n int r3 = r3 << 21\n r0 = r0 ^ r3\n if (r0 >= 0) goto L_0x003f\n r2 = -2080896(0xffffffffffe03f80, float:NaN)\n r0 = r0 ^ r2\n goto L_0x0070\n L_0x003f:\n int r3 = r1 + 1\n byte r1 = r2[r1]\n int r4 = r1 << 28\n r0 = r0 ^ r4\n r4 = 266354560(0xfe03f80, float:2.2112565E-29)\n r0 = r0 ^ r4\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r3 = r2[r3]\n if (r3 >= 0) goto L_0x0070\n int r3 = r1 + 1\n byte r1 = r2[r1]\n if (r1 >= 0) goto L_0x002f\n int r1 = r3 + 1\n byte r2 = r2[r3]\n if (r2 >= 0) goto L_0x0070\n L_0x006a:\n long r0 = r5.mo9776z()\n int r0 = (int) r0\n return r0\n L_0x0070:\n r5.f9082i = r1\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p213q.p217b.p301c.p302a.p311j0.p312a.C3656k.C3659c.mo9774x():int\");\n }",
"public SoNode \ngetCurPathTail() \n{\n//#ifdef DEBUG\n if (currentpath.getTail() != (SoFullPath.cast(getCurPath())).getTail()){\n SoDebugError.post(\"SoAction::getCurPathTail\\n\", \n \"Inconsistent path tail. Did you change the scene graph\\n\"+\n \"During traversal?\\n\");\n }\n//#endif /*DEBUG*/\n return(currentpath.getTail());\n}",
"@Override\n\tpublic void breath() {\n\n\t}",
"public static void main(String[] args) {\nint i,j,k;\r\nint num=5;\r\nfor(i=0;i<num;i++){\r\n\tfor(j=0;j<i;j++){\r\n\t\tSystem.out.print(\" \");\r\n\t}\r\n\tfor(k=num; k>=2*i-1; k--){\r\n\t\tSystem.out.print(\"*\");\r\n\t}\r\n\t\r\n\tSystem.out.println();\r\n}\r\n\t}",
"@Override\n\tpublic void div(double dx, double dy) {\n\t\t\n\t}",
"public PathCode getCurPathCode() { return /*appliedTo.curPathCode*/currentpathcode;}",
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"private void createPath(Direction d, int width, Point p1, Point p2) {\n\t\t// Determine how far away from the center the corners are\n\t\tint sideOneOffset = 0;\t// Top or Left depending on path direction\n\t\tint sideTwoOffset = 0;\t// Bot or Right depending on path direction\n\t\t// If the width is odd, balance the offsets\n\t\tif (width % 2 != 0) {\t\n\t\t\tsideOneOffset = sideTwoOffset = ((width / 2) + 1);\n\t\t} else {\n\t\t\t// If the width is even, the offsets will be off by 1\n\t\t\tsideOneOffset = width;\n\t\t\tsideTwoOffset = width - 1;\n\t\t}\n\t\tif (d == Direction.LEFT || d == Direction.RIGHT) {\n\t\t\t// If the direction is left then we want to swap the points\n\t\t\t// to pretend like the direction was right (so the following code works)\n\t\t\tif (d == Direction.LEFT) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p1.x, p1.y + sideTwoOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p2.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x, p1.y + sideTwoOffset)));\n\t\t\t// Set the left and right walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.y is the center of the path (top to bottom)\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x, p1.y + (i - width/2))));\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p2.x, p2.y + (i - width/2))));\n\t\t\t}\n\t\t\t// Set middle path and top/bottom padding (horizontal Oreo!)\n\t\t\tfor (int col = p1.x + 1, endCol = p2.x; col < endCol; col++) {\n\t\t\t\t// Add the top wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(col, p1.y - sideOneOffset)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(col, p1.y + (i - width /2))));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the bottom wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(col, p1.y + sideTwoOffset)));\n\t\t\t}\n\t\t} else {\n\t\t\t// If the direction is up then we want to swap the points\n\t\t\t// to pretend like the direction was down (so the following code works)\n\t\t\tif (d == Direction.UP) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x - sideOneOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p2.x - sideOneOffset, p2.y)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p1.x + sideTwoOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x + sideTwoOffset, p2.y)));\n\t\t\t// Set the top and bottom walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.x is the center of the path (left to right)\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(p1.x + (i - width /2), p1.y)));\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(p2.x + (i - width /2), p2.y)));\n\t\t\t}\n\t\t\t// Set middle path and left/right padding (vertical Oreo!)\n\t\t\tfor (int row = p1.y + 1, endRow = p2.y; row < endRow; row++) {\n\t\t\t\t// Add the left wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x - sideOneOffset, row)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(p1.x + (i - width /2), row)));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the right wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p1.x + sideTwoOffset, row)));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"private byte r() {\r\n\t\treturn (left_map == 0 ) ? (byte) 1 : 0;\r\n\t}",
"static String division (String s1, String s2) {\r\n if (s2==null || s2.length()==0) return s1;\r\n return product (s1, invert(s2));\r\n }",
"public static void body() {\n \tfor(int i = 1; i <= SIZE*SIZE; i++) {\n for(int j = 1; j <= 3*SIZE-(SIZE-1); j++) {\n System.out.print(\" \");\n }\n \n System.out.print(\"|\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"||\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"|\");\n \n System.out.println();\n }\n }",
"private int uniquePaths(int x, int y, int[][] dp) {\n \t\tif (x == 0 || y == 0) return 1;\n \t\tif (dp[x][y] == 0)\n \t\t\tdp[x][y] = uniquePaths(x - 1, y, dp) + uniquePaths(x, y - 1, dp);\n \t\treturn dp[x][y];\n \t}",
"public void star(float x, float y, float r, float R) {\n float angle = TWO_PI / 5;\n float halfAngle = angle/2.0f;\n beginShape();\n noStroke();\n for (float a = 0; a < TWO_PI; a += angle) {\n float sx = x + cos(a) * r;\n float sy = y + sin(a) * r;\n vertex(sx, sy);\n sx = x + cos(a+halfAngle) * R;\n sy = y + sin(a+halfAngle) * R;\n vertex(sx, sy);\n }\n endShape(CLOSE);\n}",
"@Override\r\n\tpublic void CalcPeri() {\n\t\tSystem.out.println(4*side);\t\r\n\t}",
"public int upright();",
"public static void main(String[] args) {\n\r\n\t\t\r\n\t\tint n = 7;\r\n\t\tfor (int i = n; i >= 0; i--) {\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t for(int j=0; j<n-i; j++) {\r\n\t\t\t \r\n\t\t\t System.out.print(\" \");\r\n\t\t\t \r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t \r\n\r\n\t\t\tfor (int j = n; j >= n-i; j--) {\r\n\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\r\n\t\t\r\n\t}",
"public\nstatic\nvoid\nmain(String args[]) \n\n{ \n\nBinaryTree tree = \nnew\nBinaryTree(); \n\ntree.root = \nnew\nNode(\n20\n); \n\ntree.root.left = \nnew\nNode(\n8\n); \n\ntree.root.left.left = \nnew\nNode(\n4\n); \n\ntree.root.left.right = \nnew\nNode(\n12\n); \n\ntree.root.left.right.left = \nnew\nNode(\n10\n); \n\ntree.root.left.right.right = \nnew\nNode(\n14\n); \n\ntree.root.right = \nnew\nNode(\n22\n); \n\ntree.root.right.right = \nnew\nNode(\n25\n); \n\ntree.printBoundary(tree.root); \n\n}",
"public void backSlash() {\n text.append(\"\\\\\");\n }",
"public static void main(String[] args){\t\n\t\tchar op = '/';\n\t\tScanner scan = new Scanner(System.in);\n\t\tSystem.out.println(\"첫번째 정수입니다.\");\n\t\tint num1 = scan.nextInt();\n\t\t\n\t\tSystem.out.println(\"두번째 정수입니다.\");\n\t\tint num2 = scan.nextInt();\n\t\tint num3=0;\n\t\tif(op=='+'){\n\t\t\tnum3 = num1+num2;\n\t\t}\n\t\telse if(op=='-'){\n\t\t\tnum3 = num1-num2;\n\t\t}\n\t\telse if(op=='*'){\n\t\t\tnum3 = num1*num2;\n\t\t}\n\t\telse if(op=='/'){\n\t\t\tif(num2==0){\n\t\t\tSystem.out.println(\"오류입니다.\");\n\t\t}\n\t\t\t\n\t\t\tnum3 = num1/num2;\n\t\t}\n\t\tSystem.out.printf(\"%d%c%d=%d\" ,num1,op,num2,num3);\n\t\t\n\t\t\n\t}",
"public final void testSlash() \n\t\t\tthrows ParserConfigurationException, IOException, SAXException \n\t{\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnðýþnn\");\n//\t\tassertSingleDocWithValue(\"8\", fldName, \"nnønn\");\n\t\tassertSingleResult(\"8\", fldName, \"nnunn\");\n\t}",
"AngleResource inclination();",
"public abstract void squareRootThis();",
"public UniquePathsII() {\n\t\t// Initialization here. \n\t\t//\t\tcount = 0;\n\t}",
"@Override\n\tpublic void space() {\n\t\t\n\t}"
] |
[
"0.5906264",
"0.55749613",
"0.5428019",
"0.53241616",
"0.5294036",
"0.527193",
"0.52582306",
"0.5256754",
"0.51585066",
"0.5141374",
"0.51100975",
"0.5097357",
"0.5026707",
"0.50235814",
"0.50100124",
"0.49757177",
"0.4967908",
"0.49668512",
"0.4931213",
"0.49272057",
"0.49150687",
"0.4878608",
"0.4873821",
"0.4873821",
"0.48564616",
"0.48415148",
"0.4840844",
"0.48408422",
"0.48392275",
"0.48380315",
"0.48342562",
"0.48335755",
"0.48189583",
"0.4816532",
"0.4803844",
"0.47991633",
"0.4790358",
"0.4785782",
"0.47707185",
"0.47659388",
"0.47607136",
"0.4756167",
"0.47525582",
"0.4750556",
"0.47465262",
"0.47439283",
"0.47427607",
"0.47368544",
"0.47283906",
"0.4719052",
"0.4715935",
"0.4711951",
"0.47046372",
"0.47023433",
"0.46957722",
"0.46894073",
"0.46882662",
"0.46872112",
"0.46870187",
"0.46838596",
"0.46826214",
"0.46721044",
"0.4671648",
"0.46691796",
"0.46658975",
"0.46658975",
"0.46634644",
"0.46593347",
"0.46569487",
"0.46532407",
"0.46484405",
"0.46472803",
"0.4647124",
"0.46426368",
"0.46379653",
"0.4635675",
"0.46356165",
"0.46343538",
"0.46343073",
"0.46324328",
"0.46307802",
"0.46292034",
"0.46249497",
"0.46220893",
"0.46138567",
"0.46130696",
"0.46125302",
"0.4608751",
"0.46084386",
"0.4605762",
"0.46052104",
"0.4602023",
"0.46015334",
"0.45995793",
"0.45948967",
"0.459342",
"0.45930445",
"0.45923406",
"0.45910415",
"0.45878932",
"0.45863274"
] |
0.0
|
-1
|
/ / / / /
|
public void releaseReadIOBuffer(byte[] buf)
/* */ {
/* 207 */ if (buf != null)
/* */ {
/* */
/* */
/* 211 */ _verifyRelease(buf, this._readIOBuffer);
/* 212 */ this._readIOBuffer = null;
/* 213 */ this._bufferRecycler.releaseByteBuffer(0, buf);
/* */ }
/* */ }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void divide() {\n\t\t\n\t}",
"private int parent(int i){return (i-1)/2;}",
"public abstract void bepaalGrootte();",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"public void gored() {\n\t\t\n\t}",
"public static void bottomHalf() {\n\n for(int i = 1; i <= SIZE; i++) {\n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\" \");\n }\n \n\t System.out.print(\"\\\\_\");\n\t for(int j = 3*SIZE-i; j >= i; j--) {\n\t System.out.print(\"/\\\\\");\n\t }\n\t System.out.println(\"_/\");\n }\n }",
"public abstract String division();",
"private int leftChild(int i){return 2*i+1;}",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"double passer();",
"public String ring();",
"private int rightChild(int i){return 2*i+2;}",
"public String toString(){ return \"DIV\";}",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"public void division() {\n\t\tx=1;\n\t\ty=0;\n\t\tz=x/y;\n\t\t\t\t\n\t}",
"static void pyramid(){\n\t}",
"public static void main(String[] args) {\n\n\n for(int a=0; a<7;a++){\n for(int b=0;b<7-a;b++){\n System.out.print(\" \");\n }\n for(int c=0; c<=a;c++){\n System.out.print(\"* \");\n }\n System.out.println(\" \");\n }\n\n }",
"public void stg() {\n\n\t}",
"void mo33732Px();",
"Operations operations();",
"void sharpen();",
"void sharpen();",
"public void skystonePos4() {\n }",
"private static void breadcrumbArrow(int width, int height, int indent, int c1, int c2) {\n\n\t\tdouble x0 = 0, y0 = height / 2d;\n\t\tdouble x1 = indent, y1 = 0;\n\t\tdouble x2 = indent, y2 = height / 2d;\n\t\tdouble x3 = indent, y3 = height;\n\t\tdouble x4 = width, y4 = 0;\n\t\tdouble x5 = width, y5 = height / 2d;\n\t\tdouble x6 = width, y6 = height;\n\t\tdouble x7 = indent + width, y7 = 0;\n\t\tdouble x8 = indent + width, y8 = height;\n\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent)/(width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width)/(width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}",
"double volume(){\n return width*height*depth;\n }",
"private void pointer(Graphics image,int x,int y,int height,int b,int dir) {\n\n\t\tint[] xt=new int[3];\n\t\tint[] yt=new int[3];\n\n\t\tif(dir==0) {\n\t\t\txt[0]=x;\n\t\t\txt[1]=xt[2]=x+height;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=y+b/2;\n\t\t\tyt[2]=y-b/2;\n\t\t} else {\n\t\t\txt[0]=x;\n\t\t\txt[1]=x+b/2;\n\t\t\txt[2]=x-b/2;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=yt[2]=y-height;\n\t\t}\n\t\timage.fillPolygon(xt,yt,3);\n\t}",
"private void e()\r\n/* 273: */ {\r\n/* 274:278 */ this.r = false;\r\n/* 275:279 */ this.s = false;\r\n/* 276:280 */ this.t = false;\r\n/* 277:281 */ this.u = false;\r\n/* 278:282 */ this.v = false;\r\n/* 279: */ }",
"public int generateRoshambo(){\n ;]\n\n }",
"@Override\n public void bfs() {\n\n }",
"public static void part2(){\n\t\n System.out.println(\"\\\\\"); //Outer wall\n System.out.println(\"\\\\\");\n System.out.println(\"\\\\\");\n for(int i = 0; i <= 16; i++){ //loop created to display top of the door\n\n \tSystem.out.print(\"-\");\n\n\t}\n System.out.println(\"\");\n System.out.println(\"\\\\\\t\\t| \\t(\\\")\"); //The door and the stick figure\n System.out.println(\"\\\\\\t\\t|\\t-|-\");\n System.out.println(\"\\\\\\t o | \\t |\");\n System.out.println(\"\\\\\\t\\t|\\t /\\\\\");\n System.out.println(\"\\\\\\t\\t|\\t/ \\\\\");\n\t\t\n }",
"public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"protected boolean\nshouldCompactPathLists()\n//\n////////////////////////////////////////////////////////////////////////\n{\n return true;\n}",
"int getWidth() {return width;}",
"public void draw(){\n for(int i = 1; i <= height; i++){\n for(int s = 1; s <= i; s++)\n System.out.print(\"*\");\n System.out.println();\n }\n }",
"public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }",
"Parallelogram(){\n length = width = height = 0;\n }",
"public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}",
"void ringBell() {\n\n }",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"public static void unionPathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze two = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\tSystem.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = two.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber+n) != S.findAndCompress(randomNumber)){\n\t\t\t\t\t\tS.union(randomNumber+n, randomNumber);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'u');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.union(randomNumber, randomNumber+1);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(two, n);\n\t\tuserSelection_SolveMaze(n);\n\n\n\t\tStdDraw.show(0);\n\t\ttwo.draw();\n\t\ttwo.printCellNumbers();\n\t}",
"void doubleBox(int sides, float x1, float y1, float z1, float x2, float y2, float z2)\r\n/* 100: */ {\r\n/* 101: 99 */ int s2 = sides << 1 & 0x2A | sides >> 1 & 0x15;\r\n/* 102: */ \r\n/* 103:101 */ this.context.renderBox(sides, x1, y1, z1, x2, y2, z2);\r\n/* 104:102 */ this.context.renderBox(s2, x2, y2, z2, x1, y1, z1);\r\n/* 105: */ }",
"int width();",
"private boolean slash() {\r\n return MARK(OPERATOR) && CHAR('/') && gap();\r\n }",
"private void traversePath()\n\t{\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t}",
"double Volume(){\r\n return Height * Width * Depth;\r\n }",
"void walk() {\n\t\t\n\t}",
"double getPerimeter(){\n return 2*height+width;\n }",
"private static Object[] newPath(int length, Object[] leaf) {\n Object[] node = leaf;\n for (int i = 0; i < length; i += 5) {\n node = new Object[] { node };\n }\n return node;\n }",
"public double getWidth() { return _width<0? -_width : _width; }",
"public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}",
"public void draw4x4 (char design){\n System.out.println(\"\"+design+design+design+design);\n System.out.println(design+\" \"+design);\n System.out.println(design+\" \"+design);\n System.out.println(\"\"+design+design+design+design);\n}",
"private void createPath(Direction d, int width, Point p1, Point p2) {\n\t\t// Determine how far away from the center the corners are\n\t\tint sideOneOffset = 0;\t// Top or Left depending on path direction\n\t\tint sideTwoOffset = 0;\t// Bot or Right depending on path direction\n\t\t// If the width is odd, balance the offsets\n\t\tif (width % 2 != 0) {\t\n\t\t\tsideOneOffset = sideTwoOffset = ((width / 2) + 1);\n\t\t} else {\n\t\t\t// If the width is even, the offsets will be off by 1\n\t\t\tsideOneOffset = width;\n\t\t\tsideTwoOffset = width - 1;\n\t\t}\n\t\tif (d == Direction.LEFT || d == Direction.RIGHT) {\n\t\t\t// If the direction is left then we want to swap the points\n\t\t\t// to pretend like the direction was right (so the following code works)\n\t\t\tif (d == Direction.LEFT) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p1.x, p1.y + sideTwoOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p2.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x, p1.y + sideTwoOffset)));\n\t\t\t// Set the left and right walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.y is the center of the path (top to bottom)\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x, p1.y + (i - width/2))));\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p2.x, p2.y + (i - width/2))));\n\t\t\t}\n\t\t\t// Set middle path and top/bottom padding (horizontal Oreo!)\n\t\t\tfor (int col = p1.x + 1, endCol = p2.x; col < endCol; col++) {\n\t\t\t\t// Add the top wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(col, p1.y - sideOneOffset)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(col, p1.y + (i - width /2))));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the bottom wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(col, p1.y + sideTwoOffset)));\n\t\t\t}\n\t\t} else {\n\t\t\t// If the direction is up then we want to swap the points\n\t\t\t// to pretend like the direction was down (so the following code works)\n\t\t\tif (d == Direction.UP) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x - sideOneOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p2.x - sideOneOffset, p2.y)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p1.x + sideTwoOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x + sideTwoOffset, p2.y)));\n\t\t\t// Set the top and bottom walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.x is the center of the path (left to right)\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(p1.x + (i - width /2), p1.y)));\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(p2.x + (i - width /2), p2.y)));\n\t\t\t}\n\t\t\t// Set middle path and left/right padding (vertical Oreo!)\n\t\t\tfor (int row = p1.y + 1, endRow = p2.y; row < endRow; row++) {\n\t\t\t\t// Add the left wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x - sideOneOffset, row)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(p1.x + (i - width /2), row)));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the right wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p1.x + sideTwoOffset, row)));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"@Override\npublic void processDirection() {\n\t\n}",
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"public void renderCenterBlock(int cons, int side, int end)\r\n/* 143: */ {\r\n/* 144:135 */ if (cons == 0)\r\n/* 145: */ {\r\n/* 146:136 */ this.context.setTex(end);\r\n/* 147:137 */ doubleBox(63, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F);\r\n/* 148:138 */ return;\r\n/* 149: */ }\r\n/* 150:139 */ if (cons == 3)\r\n/* 151: */ {\r\n/* 152:140 */ this.context.setTexFlags(1773);\r\n/* 153:141 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 154:142 */ doubleBox(60, 0.375F, 0.0F, 0.375F, 0.625F, 1.0F, 0.625F);\r\n/* 155:143 */ return;\r\n/* 156: */ }\r\n/* 157:144 */ if (cons == 12)\r\n/* 158: */ {\r\n/* 159:145 */ this.context.setTexFlags(184365);\r\n/* 160:146 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 161:147 */ doubleBox(51, 0.375F, 0.375F, 0.0F, 0.625F, 0.625F, 1.0F);\r\n/* 162:148 */ return;\r\n/* 163: */ }\r\n/* 164:149 */ if (cons == 48)\r\n/* 165: */ {\r\n/* 166:150 */ this.context.setTexFlags(187200);\r\n/* 167:151 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 168:152 */ doubleBox(15, 0.0F, 0.375F, 0.375F, 1.0F, 0.625F, 0.625F);\r\n/* 169:153 */ return;\r\n/* 170: */ }\r\n/* 171:155 */ this.context.setTex(end);\r\n/* 172:156 */ doubleBox(0x3F ^ cons, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F);\r\n/* 173:157 */ if ((cons & 0x1) > 0)\r\n/* 174: */ {\r\n/* 175:158 */ this.context.setTexFlags(1773);\r\n/* 176:159 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 177:160 */ doubleBox(60, 0.375F, 0.0F, 0.375F, 0.625F, 0.375F, 0.625F);\r\n/* 178: */ }\r\n/* 179:162 */ if ((cons & 0x2) > 0)\r\n/* 180: */ {\r\n/* 181:163 */ this.context.setTexFlags(1773);\r\n/* 182:164 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 183:165 */ doubleBox(60, 0.375F, 0.625F, 0.375F, 0.625F, 1.0F, 0.625F);\r\n/* 184: */ }\r\n/* 185:167 */ if ((cons & 0x4) > 0)\r\n/* 186: */ {\r\n/* 187:168 */ this.context.setTexFlags(184365);\r\n/* 188:169 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 189:170 */ doubleBox(51, 0.375F, 0.375F, 0.0F, 0.625F, 0.625F, 0.375F);\r\n/* 190: */ }\r\n/* 191:172 */ if ((cons & 0x8) > 0)\r\n/* 192: */ {\r\n/* 193:173 */ this.context.setTexFlags(184365);\r\n/* 194:174 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 195:175 */ doubleBox(51, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F, 1.0F);\r\n/* 196: */ }\r\n/* 197:177 */ if ((cons & 0x10) > 0)\r\n/* 198: */ {\r\n/* 199:178 */ this.context.setTexFlags(187200);\r\n/* 200:179 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 201:180 */ doubleBox(15, 0.0F, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F);\r\n/* 202: */ }\r\n/* 203:182 */ if ((cons & 0x20) > 0)\r\n/* 204: */ {\r\n/* 205:183 */ this.context.setTexFlags(187200);\r\n/* 206:184 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 207:185 */ doubleBox(15, 0.625F, 0.375F, 0.375F, 1.0F, 0.625F, 0.625F);\r\n/* 208: */ }\r\n/* 209: */ }",
"public static String makeShapeA() {\n\tString result = \"\";\n\t\tfor (int i = 0; i < 8 ; i++) {\n\t\t\tresult+=printHash(i);\n\t\t\t\n\t\t}return result;\n\t\t\t//System.out.println(printHash(i));\n\t\t}",
"private void traverseBayeredPatternHalfSizeRGB(){\n int originalPositionX = 0;\n int originalPositionY = 1;\n\n for (int newX = 0; originalPositionX < originalImageHeight -1; newX++){\n for (int newY = 0; originalPositionY < originalImageWidth -1; newY++){\n Point newPosition = new Point(newX,newY);\n int newAbsoultPosition = getAbsolutPixelPosition(newPosition, originalImageHeight / 2, originalImageWidth / 2);\n halfSizePixRGB[newAbsoultPosition] = getAverageRGB(new Point(originalPositionX,originalPositionY));\n originalPositionY += 2;\n }\n originalPositionY = 0;\n originalPositionX += 2;\n }\n }",
"public void foundLeaf(int width, int height, int level, int currX, int currY, int location) {\n level = level +2;\n if (location == 1) {\n\n\n canvas.addLine(currX - (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n (currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue()) - ( (new Double(spatialHeight / Math.pow(2, level ))).intValue()),\n currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY * 2,\n Color.BLACK);\n\n\n canvas.addLine(((currX - (new Double(spatialWidth / Math.pow(2, level))).intValue())) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(), \n currX,\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.BLACK);\n\n\n\n }\n\n if (location == 2) {\n\n\n canvas.addLine(currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY + (new Double(spatialHeight / Math.pow(2, level))).intValue()) - (new Double(spatialHeight / Math.pow(2, level))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n ( currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue()) + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.black);\n\n canvas.addLine((currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n (currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue()) + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.black);\n\n\n\n }\n\n if (location == 3) {\n\n canvas.addLine(currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue()) - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n currX - (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY,\n Color.BLACK);\n\n\n\n canvas.addLine((currX - (new Double(spatialWidth / Math.pow(2, level))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n\tcurrY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(), \n (currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue()) + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.BLACK);\n\n\n }\n\n if (location == 4) {\n\n\n canvas.addLine(currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY - (new Double(spatialHeight / Math.pow(2, level))).intValue()) - (new Double(spatialHeight / Math.pow(2, level))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY,\n Color.BLACK);\n\n\n canvas.addLine((currX + (new Double(spatialWidth / Math.pow(2, level))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue() + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(), Color.BLACK);\n\n\n }\n\n\n\n\n }",
"double volume() {\n\treturn width*height*depth;\n}",
"@Override\r\n public void draw()\r\n {\n\r\n }",
"@Override\n protected void paint2d(Graphics2D g) {\n \n }",
"public static void method1(){\n System.out.println(\"*****\");\n System.out.println(\"*****\");\n System.out.println(\" * *\");\n System.out.println(\" *\");\n System.out.println(\" * *\");\n }",
"@Override\n\tpublic void draw3() {\n\n\t}",
"private void renderPath(Node n)\n {\n\tGraphics g = getGraphics();\n\tboolean painting;\n\tColor nc,lc;\n\n\tpainting = (n.paths_passing==0);\n\twhile (n != null) {\n\t if (painting)\n\t\tn.paths_passing++;\n\t else {\n\t\tn.paths_passing--;\n\t }\n\t \n// \t nc = (n.paths_passing > 0)?hilitcolor:normalcolor;\n// \t lc = (n.paths_passing > 0)?hilitcolor:linecolor;\n\t nc = (n.paths_passing > 0)?n.path_color:normalcolor;\n\t lc = (n.paths_passing > 0)?n.path_color:linecolor;\n\t \n\t if (n.parent == null) {\n\t\tsetRenderColor(g,nc);\n\t\trenderNode(g,n);\n\t\tbreak;\n\t }\n\n\t // Double line width\n\t //setRenderColor(g,(n.paths_passing>0)?hilitcolor:Color.white);\n\t setRenderColor(g,(n.paths_passing>0)?n.path_color:Color.white);\n\t renderLine(g,n.x-1,n.y,n.parent.x-1,n.parent.y);\t\n\n\t setRenderColor(g,lc);\n\t renderLine(g,n.x,n.y,n.parent.x,n.parent.y);\n\n\t setRenderColor(g,nc);\n\t renderNode(g,n);\n\t n = n.parent;\n\t}\n }",
"int fi(int x, int y) {\n\t\treturn (x + 1) + (width + 2) * (y + 1);\n\t}",
"double defendre();",
"public void getTile_B8();",
"public void SubRect(){\n\t\n}",
"public static void sizePathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze five = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\t//System.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = five.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber + n)){\n\t\t\t\t\t\tS.unionBySize(randomNumber+n, randomNumber);\n\t\t\t\t\t\tfive.remove_wall(col, row, 'u');\n\t\t\t\t\t\t//S.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.unionBySize(randomNumber, randomNumber+1);\n\t\t\t\t\t\tfive.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(five, n);\n\t\tuserSelection_SolveMaze(n);\n\n\t\tStdDraw.show(0);\n\t\tfive.draw();\n\t\tfive.printCellNumbers();\t\n\t}",
"void mo21076g();",
"@Override\n\tpublic void draw() {\n\n\t}",
"@Override\n\tpublic void draw() {\n\n\t}",
"public double getWidth() {\n return this.size * 2.0; \n }",
"public void skystonePos2() {\n }",
"public void skystonePos5() {\n }",
"public double getPerimiter(){return (2*height +2*width);}",
"int[] union(int s1,int t1,int s2,int t2)\r\n\t{\r\n\t\tint [] st=new int[2];\r\n\t\t//Please fill in the program here\r\n\t\tst[0] = incCapacity();\r\n\t\taddEdge(st[0], epssymbol, s1);\r\n\t\taddEdge(st[0], epssymbol, s2);\r\n\t\tst[1] = incCapacity();\r\n\t\taddEdge(t1, epssymbol, st[1]);\r\n\t\taddEdge(t2, epssymbol, st[1]);\r\n\r\n\t\treturn st;\r\n\t}",
"public static void topHalf() {\n \t\n for( int i = 1; i <= SIZE; i++){\n for(int spaces = 1; spaces <= 3*SIZE - 3*i; spaces++) {\n System.out.print(\" \"); \n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"__/\");\n }\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n System.out.print(\"||\");\n \n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\":::\");\n }\n \n for(int j = 1; j <= 1; j++) {\n System.out.print(\"\\\\__\");\n }\n \n System.out.println();\n }\n \n System.out.print(\"|\");\n \n for(int i = 1; i <= 6 * SIZE; i++) {\n System.out.print(\"\\\"\");\n }\n \n System.out.println(\"|\");\n }",
"public static void body() {\n \tfor(int i = 1; i <= SIZE*SIZE; i++) {\n for(int j = 1; j <= 3*SIZE-(SIZE-1); j++) {\n System.out.print(\" \");\n }\n \n System.out.print(\"|\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"||\");\n for(int j = 1; j <= SIZE-2; j++) {\n \tSystem.out.print(\"%\");\n }\n System.out.print(\"|\");\n \n System.out.println();\n }\n }",
"public void skystonePos3() {\n }",
"double seBlesser();",
"public wall() { //default constructor makes a 10x10 square extending right and down from the pixel located at 5,5\r\n x = 5;\r\n y = 5;\r\n height = 10;\r\n width = 10;\r\n }",
"void block(Directions dir);",
"public void lowerFlatbed(){\n flatbed.lowerFlatbed();\n }",
"public static void main(String[] args) {\nint i,j,k;\r\nint num=5;\r\nfor(i=0;i<num;i++){\r\n\tfor(j=0;j<i;j++){\r\n\t\tSystem.out.print(\" \");\r\n\t}\r\n\tfor(k=num; k>=2*i-1; k--){\r\n\t\tSystem.out.print(\"*\");\r\n\t}\r\n\t\r\n\tSystem.out.println();\r\n}\r\n\t}",
"public RMPath getPath() { return RMPath.unitRectPath; }",
"public int upright();",
"private int uniquePaths(int x, int y, int[][] dp) {\n \t\tif (x == 0 || y == 0) return 1;\n \t\tif (dp[x][y] == 0)\n \t\t\tdp[x][y] = uniquePaths(x - 1, y, dp) + uniquePaths(x, y - 1, dp);\n \t\treturn dp[x][y];\n \t}",
"public Integer getWidth(){return this.width;}",
"public void skystonePos6() {\n }",
"void GenerateBoardPath() {\n\t\t\t\n\t\t\tint rows = board.getRowsNum();\n\t\t\tint columns = board.getColsNum();\n\t\t\tint space_number = 1; \n\t\t\t\n\t\t\t\n\t\t\tfor (int i = rows - 1; i >= 0; i--) \n\t\t\t\t//If the row is an odd-number, move L-R\n\t\t\t\tif (i % 2 != 0) {\n\t\t\t\t\tfor (int j = 0; j < columns; j++) \n\t\t\t\t\t\tBoardPathRepository.put(space_number++, board.getTile(i, j));}\n\t\t\t\telse {\n\t\t\t\t\tfor (int j = columns-1; j >=0; j--) \n\t\t\t\t\t\tBoardPathRepository.put(space_number++, board.getTile(i, j));\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t}",
"private byte r() {\r\n\t\treturn (left_map == 0 ) ? (byte) 1 : 0;\r\n\t}",
"private void render() {\n StringBuilder builder = new StringBuilder();\n builder.append(horizontalEdge).append(\"\\n\");\n for (int i = 0; i < this.height; i++) {\n builder.append(VERTICAL_CHAR);\n for (int j = 0; j < this.width; j++) {\n builder.append(pixels[i][j]);\n }\n builder.append(VERTICAL_CHAR);\n builder.append(\"\\n\");\n }\n builder.append(horizontalEdge);\n System.out.printf(builder.toString());\n }",
"@Override\n\tpublic void breath() {\n\n\t}",
"@Override\r\n\tpublic void draw() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void draw() {\n\t\t\r\n\t}",
"public\nstatic\nvoid\nmain(String args[]) \n\n{ \n\nBinaryTree tree = \nnew\nBinaryTree(); \n\ntree.root = \nnew\nNode(\n20\n); \n\ntree.root.left = \nnew\nNode(\n8\n); \n\ntree.root.left.left = \nnew\nNode(\n4\n); \n\ntree.root.left.right = \nnew\nNode(\n12\n); \n\ntree.root.left.right.left = \nnew\nNode(\n10\n); \n\ntree.root.left.right.right = \nnew\nNode(\n14\n); \n\ntree.root.right = \nnew\nNode(\n22\n); \n\ntree.root.right.right = \nnew\nNode(\n25\n); \n\ntree.printBoundary(tree.root); \n\n}",
"public static void main(String[] args) {\n\r\n\t\t\r\n\t\tint n = 7;\r\n\t\tfor (int i = n; i >= 0; i--) {\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t for(int j=0; j<n-i; j++) {\r\n\t\t\t \r\n\t\t\t System.out.print(\" \");\r\n\t\t\t \r\n\t\t\t }\r\n\t\t\t \r\n\t\t\t \r\n\r\n\t\t\tfor (int j = n; j >= n-i; j--) {\r\n\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\r\n\t\t\r\n\t}",
"@Override\n\tpublic void draw() {\n\t}",
"private void division()\n\t{\n\t\tFun = Function.DIVIDE; //Function set to determine what action should be taken later.\n\t\t\n\t\t\tsetLeftValue();\n\t\t\tentry.grabFocus();\n\t\t\n\t}"
] |
[
"0.5654086",
"0.5282051",
"0.5270874",
"0.5268489",
"0.5230159",
"0.5229372",
"0.5205559",
"0.51923394",
"0.51524484",
"0.50993294",
"0.50948834",
"0.5071109",
"0.5043058",
"0.5009983",
"0.5006536",
"0.49739555",
"0.49691963",
"0.4959123",
"0.49568397",
"0.49425906",
"0.49421698",
"0.49421698",
"0.4903223",
"0.4897176",
"0.48879617",
"0.48803073",
"0.48741165",
"0.48718095",
"0.48679698",
"0.48646608",
"0.48598114",
"0.48402584",
"0.48362267",
"0.48321876",
"0.48310882",
"0.4825809",
"0.48227587",
"0.48175377",
"0.48045233",
"0.48045233",
"0.48002362",
"0.47911668",
"0.47906598",
"0.4776121",
"0.47734705",
"0.47673976",
"0.475685",
"0.47517157",
"0.47446346",
"0.47364715",
"0.47353277",
"0.47321412",
"0.47242466",
"0.4721296",
"0.47190621",
"0.47164857",
"0.47148356",
"0.47142458",
"0.47103566",
"0.47027764",
"0.47023293",
"0.4701804",
"0.46992764",
"0.46985114",
"0.46954885",
"0.4695406",
"0.46914175",
"0.4690724",
"0.46901584",
"0.4686765",
"0.4682771",
"0.46786475",
"0.46786475",
"0.4676364",
"0.46714565",
"0.46710065",
"0.46701837",
"0.46698236",
"0.46671712",
"0.466633",
"0.4663725",
"0.46617198",
"0.46599096",
"0.46593648",
"0.4654308",
"0.46481097",
"0.46472353",
"0.46443266",
"0.46441418",
"0.46438584",
"0.4642061",
"0.46387514",
"0.46382058",
"0.46375832",
"0.4636777",
"0.46365395",
"0.46365395",
"0.46359038",
"0.4635539",
"0.46332848",
"0.46326485"
] |
0.0
|
-1
|
/ / / / / / /
|
protected final void _verifyAlloc(Object buffer)
/* */ {
/* 269 */ if (buffer != null) throw new IllegalStateException("Trying to call same allocXxx() method second time");
/* */ }
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private int parent(int i){return (i-1)/2;}",
"private int leftChild(int i){return 2*i+1;}",
"public void divide() {\n\t\t\n\t}",
"public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }",
"private int rightChild(int i){return 2*i+2;}",
"public abstract void bepaalGrootte();",
"public static void bottomHalf() {\n\n for(int i = 1; i <= SIZE; i++) {\n for(int j = 1; j <= i - 1; j++) {\n System.out.print(\" \");\n }\n \n\t System.out.print(\"\\\\_\");\n\t for(int j = 3*SIZE-i; j >= i; j--) {\n\t System.out.print(\"/\\\\\");\n\t }\n\t System.out.println(\"_/\");\n }\n }",
"double passer();",
"public void gored() {\n\t\t\n\t}",
"public String ring();",
"laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }",
"public abstract String division();",
"public String toString(){ return \"DIV\";}",
"public double getWidth() {\n return this.left.getLeft(0) - this.right.getRight(0); \n }",
"private static Object[] newPath(int length, Object[] leaf) {\n Object[] node = leaf;\n for (int i = 0; i < length; i += 5) {\n node = new Object[] { node };\n }\n return node;\n }",
"int getWidth() {return width;}",
"private void pointer(Graphics image,int x,int y,int height,int b,int dir) {\n\n\t\tint[] xt=new int[3];\n\t\tint[] yt=new int[3];\n\n\t\tif(dir==0) {\n\t\t\txt[0]=x;\n\t\t\txt[1]=xt[2]=x+height;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=y+b/2;\n\t\t\tyt[2]=y-b/2;\n\t\t} else {\n\t\t\txt[0]=x;\n\t\t\txt[1]=x+b/2;\n\t\t\txt[2]=x-b/2;\n\t\t\tyt[0]=y;\n\t\t\tyt[1]=yt[2]=y-height;\n\t\t}\n\t\timage.fillPolygon(xt,yt,3);\n\t}",
"public void getTile_B8();",
"public double getWidth() {\n return this.size * 2.0; \n }",
"double volume(){\n return width*height*depth;\n }",
"@Override\n public void bfs() {\n\n }",
"public static void main(String[] args) {\n\n\n for(int a=0; a<7;a++){\n for(int b=0;b<7-a;b++){\n System.out.print(\" \");\n }\n for(int c=0; c<=a;c++){\n System.out.print(\"* \");\n }\n System.out.println(\" \");\n }\n\n }",
"int width();",
"Operations operations();",
"void sharpen();",
"void sharpen();",
"private static void breadcrumbArrow(int width, int height, int indent, int c1, int c2) {\n\n\t\tdouble x0 = 0, y0 = height / 2d;\n\t\tdouble x1 = indent, y1 = 0;\n\t\tdouble x2 = indent, y2 = height / 2d;\n\t\tdouble x3 = indent, y3 = height;\n\t\tdouble x4 = width, y4 = 0;\n\t\tdouble x5 = width, y5 = height / 2d;\n\t\tdouble x6 = width, y6 = height;\n\t\tdouble x7 = indent + width, y7 = 0;\n\t\tdouble x8 = indent + width, y8 = height;\n\n\t\tint fc1 = ColorHelper.mixAlphaColors(c1, c2, 0);\n\t\tint fc2 = ColorHelper.mixAlphaColors(c1, c2, (indent)/(width + 2f * indent));\n\t\tint fc3 = ColorHelper.mixAlphaColors(c1, c2, (indent + width)/(width + 2f * indent));\n\t\tint fc4 = ColorHelper.mixAlphaColors(c1, c2, 1);\n\n\t\tRenderSystem.disableTexture();\n\t\tRenderSystem.enableBlend();\n\t\tRenderSystem.disableAlphaTest();\n\t\tRenderSystem.defaultBlendFunc();\n\t\tRenderSystem.shadeModel(GL11.GL_SMOOTH);\n\n\t\tTessellator tessellator = Tessellator.getInstance();\n\t\tBufferBuilder bufferbuilder = tessellator.getBuffer();\n\t\tbufferbuilder.begin(GL11.GL_TRIANGLES, DefaultVertexFormats.POSITION_COLOR);\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x0, y0, 0).color(fc1 >> 16 & 0xFF, fc1 >> 8 & 0xFF, fc1 & 0xFF, fc1 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x2, y2, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x1, y1, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x3, y3, 0).color(fc2 >> 16 & 0xFF, fc2 >> 8 & 0xFF, fc2 & 0xFF, fc2 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x4, y4, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x7, y7, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\tbufferbuilder.vertex(x6, y6, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x5, y5, 0).color(fc3 >> 16 & 0xFF, fc3 >> 8 & 0xFF, fc3 & 0xFF, fc3 >> 24 & 0xFF).endVertex();\n\t\tbufferbuilder.vertex(x8, y8, 0).color(fc4 >> 16 & 0xFF, fc4 >> 8 & 0xFF, fc4 & 0xFF, fc4 >> 24 & 0xFF).endVertex();\n\n\t\ttessellator.draw();\n\t\tRenderSystem.shadeModel(GL11.GL_FLAT);\n\t\tRenderSystem.disableBlend();\n\t\tRenderSystem.enableAlphaTest();\n\t\tRenderSystem.enableTexture();\n\t}",
"static void pyramid(){\n\t}",
"public Integer getWidth(){return this.width;}",
"private void traverseBayeredPatternHalfSizeRGB(){\n int originalPositionX = 0;\n int originalPositionY = 1;\n\n for (int newX = 0; originalPositionX < originalImageHeight -1; newX++){\n for (int newY = 0; originalPositionY < originalImageWidth -1; newY++){\n Point newPosition = new Point(newX,newY);\n int newAbsoultPosition = getAbsolutPixelPosition(newPosition, originalImageHeight / 2, originalImageWidth / 2);\n halfSizePixRGB[newAbsoultPosition] = getAverageRGB(new Point(originalPositionX,originalPositionY));\n originalPositionY += 2;\n }\n originalPositionY = 0;\n originalPositionX += 2;\n }\n }",
"@Override\npublic void processDirection() {\n\t\n}",
"private double[] getExtents(){\n return new double[] { -90, -180, 90, 180 };\n }",
"public int generateRoshambo(){\n ;]\n\n }",
"@Override\n public double getPerimiter() {\n return 4 * width;\n }",
"public void skystonePos4() {\n }",
"void mo33732Px();",
"private void traversePath()\n\t{\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.right(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t\trobot.forward(50);\n\t\trobot.left(90);\n\t}",
"protected boolean\nshouldCompactPathLists()\n//\n////////////////////////////////////////////////////////////////////////\n{\n return true;\n}",
"public void SubRect(){\n\t\n}",
"public static void unionPathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze two = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\tSystem.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = two.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber+n) != S.findAndCompress(randomNumber)){\n\t\t\t\t\t\tS.union(randomNumber+n, randomNumber);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'u');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.union(randomNumber, randomNumber+1);\n\t\t\t\t\t\ttwo.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(two, n);\n\t\tuserSelection_SolveMaze(n);\n\n\n\t\tStdDraw.show(0);\n\t\ttwo.draw();\n\t\ttwo.printCellNumbers();\n\t}",
"private int leftChild(int index){\n\t\treturn (2*index) +1;\n\t}",
"void walk() {\n\t\t\n\t}",
"public static void sizePathCompression(){\n\t\tint n = 10;\t\n\n\t\tdsf S = new dsf(n*n);\n\t\tMaze five = new Maze(n);\n\n\t\tRandom random;\n\t\tint sets = n*n;\t//number of sets in the DSF\n\t\tint randomNumber;\n\t\tint randomDirection;\n\t\tint row;\n\t\tint col;\n\n\t\tchar upperRight; \t//bottom or right\n\n\t\tS.print();\n\n\t\twhile(sets > 1){\n\t\t\trandom = new Random();\n\t\t\trandomNumber = random.nextInt((n*n) - 1);\n\t\t\t//System.out.println(\"RANDOM NUMBER: \"+randomNumber);\n\t\t\trow = randomNumber /n;\t//SWITCHED\n\t\t\tcol = randomNumber %n;\t//SWITCHED\n\t\t\trandomDirection = random.nextInt(2);\n\t\t\tString direct;\n\t\t\tif(randomDirection == 0)\n\t\t\t\tdirect = \"upper\";\n\t\t\telse\n\t\t\t\tdirect = \"right\";\n\t\t\t//System.out.println(\"RANDOM DIRECTI0N: \"+direct);\n\t\t\tupperRight = five.direction(randomDirection);\n\n\t\t\tif(upperRight == 'u'){\n\t\t\t\tif((randomNumber) < ((n*n)-n)){\n\t\t\t\t\tSystem.out.println(\"Sets: \"+sets);\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber + n)){\n\t\t\t\t\t\tS.unionBySize(randomNumber+n, randomNumber);\n\t\t\t\t\t\tfive.remove_wall(col, row, 'u');\n\t\t\t\t\t\t//S.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(upperRight == 'r'){\n\t\t\t\tif(((randomNumber)%(n*n)) != n-1){\n\t\t\t\t\tif(S.findAndCompress(randomNumber) != S.findAndCompress(randomNumber+1)){\n\t\t\t\t\t\tS.unionBySize(randomNumber, randomNumber+1);\n\t\t\t\t\t\tfive.remove_wall(col, row, 'r');\n\t\t\t\t\t\tS.print();\n\t\t\t\t\t\tsets--;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tbuildAdjacencyList(five, n);\n\t\tuserSelection_SolveMaze(n);\n\n\t\tStdDraw.show(0);\n\t\tfive.draw();\n\t\tfive.printCellNumbers();\t\n\t}",
"public double getWidth() { return _width<0? -_width : _width; }",
"public void draw(){\n for(int i = 1; i <= height; i++){\n for(int s = 1; s <= i; s++)\n System.out.print(\"*\");\n System.out.println();\n }\n }",
"public void stg() {\n\n\t}",
"Parallelogram(){\n length = width = height = 0;\n }",
"private int get_right_child(int index){\r\n return 2 * index + 2;\r\n }",
"public void foundLeaf(int width, int height, int level, int currX, int currY, int location) {\n level = level +2;\n if (location == 1) {\n\n\n canvas.addLine(currX - (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n (currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue()) - ( (new Double(spatialHeight / Math.pow(2, level ))).intValue()),\n currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY * 2,\n Color.BLACK);\n\n\n canvas.addLine(((currX - (new Double(spatialWidth / Math.pow(2, level))).intValue())) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(), \n currX,\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.BLACK);\n\n\n\n }\n\n if (location == 2) {\n\n\n canvas.addLine(currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY + (new Double(spatialHeight / Math.pow(2, level))).intValue()) - (new Double(spatialHeight / Math.pow(2, level))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n ( currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue()) + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.black);\n\n canvas.addLine((currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n (currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue()) + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY + (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.black);\n\n\n\n }\n\n if (location == 3) {\n\n canvas.addLine(currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue()) - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n currX - (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY,\n Color.BLACK);\n\n\n\n canvas.addLine((currX - (new Double(spatialWidth / Math.pow(2, level))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n\tcurrY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(), \n (currX - (new Double(spatialWidth / Math.pow(2, level ))).intValue()) + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n Color.BLACK);\n\n\n }\n\n if (location == 4) {\n\n\n canvas.addLine(currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n (currY - (new Double(spatialHeight / Math.pow(2, level))).intValue()) - (new Double(spatialHeight / Math.pow(2, level))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY,\n Color.BLACK);\n\n\n canvas.addLine((currX + (new Double(spatialWidth / Math.pow(2, level))).intValue()) - (new Double(spatialWidth / Math.pow(2, level ))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(),\n currX + (new Double(spatialWidth / Math.pow(2, level ))).intValue() + (new Double(spatialWidth / Math.pow(2, level))).intValue(),\n currY - (new Double(spatialHeight / Math.pow(2, level ))).intValue(), Color.BLACK);\n\n\n }\n\n\n\n\n }",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"@Override\n\tpublic void draw() {\n\t\t\n\t}",
"public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}",
"public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}",
"private void e()\r\n/* 273: */ {\r\n/* 274:278 */ this.r = false;\r\n/* 275:279 */ this.s = false;\r\n/* 276:280 */ this.t = false;\r\n/* 277:281 */ this.u = false;\r\n/* 278:282 */ this.v = false;\r\n/* 279: */ }",
"public double getWidth() {\n return this.getRight(this.tree.getRight(0)) - this.getLeft(this.tree.getLeft(0)); \n }",
"double getPerimeter(){\n return 2*height+width;\n }",
"public static void part2(){\n\t\n System.out.println(\"\\\\\"); //Outer wall\n System.out.println(\"\\\\\");\n System.out.println(\"\\\\\");\n for(int i = 0; i <= 16; i++){ //loop created to display top of the door\n\n \tSystem.out.print(\"-\");\n\n\t}\n System.out.println(\"\");\n System.out.println(\"\\\\\\t\\t| \\t(\\\")\"); //The door and the stick figure\n System.out.println(\"\\\\\\t\\t|\\t-|-\");\n System.out.println(\"\\\\\\t o | \\t |\");\n System.out.println(\"\\\\\\t\\t|\\t /\\\\\");\n System.out.println(\"\\\\\\t\\t|\\t/ \\\\\");\n\t\t\n }",
"public double getPerimiter(){return (2*height +2*width);}",
"@Override\r\n\tpublic void walk() {\n\r\n\t}",
"double Volume(){\r\n return Height * Width * Depth;\r\n }",
"int[] union(int s1,int t1,int s2,int t2)\r\n\t{\r\n\t\tint [] st=new int[2];\r\n\t\t//Please fill in the program here\r\n\t\tst[0] = incCapacity();\r\n\t\taddEdge(st[0], epssymbol, s1);\r\n\t\taddEdge(st[0], epssymbol, s2);\r\n\t\tst[1] = incCapacity();\r\n\t\taddEdge(t1, epssymbol, st[1]);\r\n\t\taddEdge(t2, epssymbol, st[1]);\r\n\r\n\t\treturn st;\r\n\t}",
"void doubleBox(int sides, float x1, float y1, float z1, float x2, float y2, float z2)\r\n/* 100: */ {\r\n/* 101: 99 */ int s2 = sides << 1 & 0x2A | sides >> 1 & 0x15;\r\n/* 102: */ \r\n/* 103:101 */ this.context.renderBox(sides, x1, y1, z1, x2, y2, z2);\r\n/* 104:102 */ this.context.renderBox(s2, x2, y2, z2, x1, y1, z1);\r\n/* 105: */ }",
"@Override\n protected void paint2d(Graphics2D g) {\n \n }",
"public static String makeShapeA() {\n\tString result = \"\";\n\t\tfor (int i = 0; i < 8 ; i++) {\n\t\t\tresult+=printHash(i);\n\t\t\t\n\t\t}return result;\n\t\t\t//System.out.println(printHash(i));\n\t\t}",
"double getNewWidth();",
"public void draw4x4 (char design){\n System.out.println(\"\"+design+design+design+design);\n System.out.println(design+\" \"+design);\n System.out.println(design+\" \"+design);\n System.out.println(\"\"+design+design+design+design);\n}",
"public void lowerFlatbed(){\n flatbed.lowerFlatbed();\n }",
"int fi(int x, int y) {\n\t\treturn (x + 1) + (width + 2) * (y + 1);\n\t}",
"private void createPath(Direction d, int width, Point p1, Point p2) {\n\t\t// Determine how far away from the center the corners are\n\t\tint sideOneOffset = 0;\t// Top or Left depending on path direction\n\t\tint sideTwoOffset = 0;\t// Bot or Right depending on path direction\n\t\t// If the width is odd, balance the offsets\n\t\tif (width % 2 != 0) {\t\n\t\t\tsideOneOffset = sideTwoOffset = ((width / 2) + 1);\n\t\t} else {\n\t\t\t// If the width is even, the offsets will be off by 1\n\t\t\tsideOneOffset = width;\n\t\t\tsideTwoOffset = width - 1;\n\t\t}\n\t\tif (d == Direction.LEFT || d == Direction.RIGHT) {\n\t\t\t// If the direction is left then we want to swap the points\n\t\t\t// to pretend like the direction was right (so the following code works)\n\t\t\tif (d == Direction.LEFT) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p1.x, p1.y + sideTwoOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p2.x, p1.y - sideOneOffset)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x, p1.y + sideTwoOffset)));\n\t\t\t// Set the left and right walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.y is the center of the path (top to bottom)\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x, p1.y + (i - width/2))));\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p2.x, p2.y + (i - width/2))));\n\t\t\t}\n\t\t\t// Set middle path and top/bottom padding (horizontal Oreo!)\n\t\t\tfor (int col = p1.x + 1, endCol = p2.x; col < endCol; col++) {\n\t\t\t\t// Add the top wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(col, p1.y - sideOneOffset)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(col, p1.y + (i - width /2))));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the bottom wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(col, p1.y + sideTwoOffset)));\n\t\t\t}\n\t\t} else {\n\t\t\t// If the direction is up then we want to swap the points\n\t\t\t// to pretend like the direction was down (so the following code works)\n\t\t\tif (d == Direction.UP) {\n\t\t\t\tPoint tempP = p2;\n\t\t\t\tp2 = p1;\n\t\t\t\tp1 = tempP;\n\t\t\t}\n\t\t\t// Set the four corners\n\t\t\tpathSquares.add(new PathSquare(\"top-left\", new Point(p1.x - sideOneOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-left\", new Point(p2.x - sideOneOffset, p2.y)));\n\t\t\tpathSquares.add(new PathSquare(\"top-right\", new Point(p1.x + sideTwoOffset, p1.y)));\n\t\t\tpathSquares.add(new PathSquare(\"bot-right\", new Point(p2.x + sideTwoOffset, p2.y)));\n\t\t\t// Set the top and bottom walls\n\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t// (i - width/2) ensures that p1.x is the center of the path (left to right)\n\t\t\t\tpathSquares.add(new PathSquare(\"top\", new Point(p1.x + (i - width /2), p1.y)));\n\t\t\t\tpathSquares.add(new PathSquare(\"bot\", new Point(p2.x + (i - width /2), p2.y)));\n\t\t\t}\n\t\t\t// Set middle path and left/right padding (vertical Oreo!)\n\t\t\tfor (int row = p1.y + 1, endRow = p2.y; row < endRow; row++) {\n\t\t\t\t// Add the left wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"left\", new Point(p1.x - sideOneOffset, row)));\t\t\t\t\n\t\t\t\t// Add the delicious cream filling\n\t\t\t\tfor (int i = 0; i < width; i++) {\n\t\t\t\t\tpathSquares.add(new PathSquare(\"middle\", new Point(p1.x + (i - width /2), row)));\n\t\t\t\t}\t\t\t\t\n\t\t\t\t// Add the right wafer\n\t\t\t\tpathSquares.add(new PathSquare(\"right\", new Point(p1.x + sideTwoOffset, row)));\t\t\t\t\n\t\t\t}\n\t\t}\n\t}",
"@Override\n\tpublic void walk() {\n\t\t\n\t}",
"public void renderCenterBlock(int cons, int side, int end)\r\n/* 143: */ {\r\n/* 144:135 */ if (cons == 0)\r\n/* 145: */ {\r\n/* 146:136 */ this.context.setTex(end);\r\n/* 147:137 */ doubleBox(63, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F);\r\n/* 148:138 */ return;\r\n/* 149: */ }\r\n/* 150:139 */ if (cons == 3)\r\n/* 151: */ {\r\n/* 152:140 */ this.context.setTexFlags(1773);\r\n/* 153:141 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 154:142 */ doubleBox(60, 0.375F, 0.0F, 0.375F, 0.625F, 1.0F, 0.625F);\r\n/* 155:143 */ return;\r\n/* 156: */ }\r\n/* 157:144 */ if (cons == 12)\r\n/* 158: */ {\r\n/* 159:145 */ this.context.setTexFlags(184365);\r\n/* 160:146 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 161:147 */ doubleBox(51, 0.375F, 0.375F, 0.0F, 0.625F, 0.625F, 1.0F);\r\n/* 162:148 */ return;\r\n/* 163: */ }\r\n/* 164:149 */ if (cons == 48)\r\n/* 165: */ {\r\n/* 166:150 */ this.context.setTexFlags(187200);\r\n/* 167:151 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 168:152 */ doubleBox(15, 0.0F, 0.375F, 0.375F, 1.0F, 0.625F, 0.625F);\r\n/* 169:153 */ return;\r\n/* 170: */ }\r\n/* 171:155 */ this.context.setTex(end);\r\n/* 172:156 */ doubleBox(0x3F ^ cons, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F);\r\n/* 173:157 */ if ((cons & 0x1) > 0)\r\n/* 174: */ {\r\n/* 175:158 */ this.context.setTexFlags(1773);\r\n/* 176:159 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 177:160 */ doubleBox(60, 0.375F, 0.0F, 0.375F, 0.625F, 0.375F, 0.625F);\r\n/* 178: */ }\r\n/* 179:162 */ if ((cons & 0x2) > 0)\r\n/* 180: */ {\r\n/* 181:163 */ this.context.setTexFlags(1773);\r\n/* 182:164 */ this.context.setTex(end, end, side, side, side, side);\r\n/* 183:165 */ doubleBox(60, 0.375F, 0.625F, 0.375F, 0.625F, 1.0F, 0.625F);\r\n/* 184: */ }\r\n/* 185:167 */ if ((cons & 0x4) > 0)\r\n/* 186: */ {\r\n/* 187:168 */ this.context.setTexFlags(184365);\r\n/* 188:169 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 189:170 */ doubleBox(51, 0.375F, 0.375F, 0.0F, 0.625F, 0.625F, 0.375F);\r\n/* 190: */ }\r\n/* 191:172 */ if ((cons & 0x8) > 0)\r\n/* 192: */ {\r\n/* 193:173 */ this.context.setTexFlags(184365);\r\n/* 194:174 */ this.context.setTex(side, side, end, end, side, side);\r\n/* 195:175 */ doubleBox(51, 0.375F, 0.375F, 0.625F, 0.625F, 0.625F, 1.0F);\r\n/* 196: */ }\r\n/* 197:177 */ if ((cons & 0x10) > 0)\r\n/* 198: */ {\r\n/* 199:178 */ this.context.setTexFlags(187200);\r\n/* 200:179 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 201:180 */ doubleBox(15, 0.0F, 0.375F, 0.375F, 0.375F, 0.625F, 0.625F);\r\n/* 202: */ }\r\n/* 203:182 */ if ((cons & 0x20) > 0)\r\n/* 204: */ {\r\n/* 205:183 */ this.context.setTexFlags(187200);\r\n/* 206:184 */ this.context.setTex(side, side, side, side, end, end);\r\n/* 207:185 */ doubleBox(15, 0.625F, 0.375F, 0.375F, 1.0F, 0.625F, 0.625F);\r\n/* 208: */ }\r\n/* 209: */ }",
"double seBlesser();",
"long getWidth();",
"public int getWidth() {\r\n\treturn this.width;\r\n}",
"private void render() {\n StringBuilder builder = new StringBuilder();\n builder.append(horizontalEdge).append(\"\\n\");\n for (int i = 0; i < this.height; i++) {\n builder.append(VERTICAL_CHAR);\n for (int j = 0; j < this.width; j++) {\n builder.append(pixels[i][j]);\n }\n builder.append(VERTICAL_CHAR);\n builder.append(\"\\n\");\n }\n builder.append(horizontalEdge);\n System.out.printf(builder.toString());\n }",
"public void leerPlanesDietas();",
"@Override\r\n public void draw()\r\n {\n\r\n }",
"private void buildPath() {\r\n int xNext = 1;\r\n int yNext = map.getStartPos() + 1;\r\n CellLayered before = cells[yNext][xNext];\r\n while(true)\r\n {\r\n Byte[] xy = map.getDirection(xNext-1, yNext-1);\r\n xNext = xNext + xy[0];\r\n yNext = yNext + xy[1];\r\n\r\n CellLayered next = cells[yNext][xNext];\r\n\r\n if(xy[0]==-1)\r\n before.setRight(false);\r\n else\r\n before.setRight(true);\r\n before.setPath(true);\r\n if(next==null)\r\n break;\r\n\r\n before.setNextInPath(next);\r\n before = next;\r\n }\r\n }",
"void block(Directions dir);",
"public static void slashes() {\n\t\tSystem.out.println(\"//////////////////////\");\r\n\r\n\t}",
"public String getRing();",
"@Override\r\n\tpublic double perimeter() {\n\t\treturn 2*length*breadth;\r\n\t}",
"public\nstatic\nvoid\nmain(String args[]) \n\n{ \n\nBinaryTree tree = \nnew\nBinaryTree(); \n\ntree.root = \nnew\nNode(\n20\n); \n\ntree.root.left = \nnew\nNode(\n8\n); \n\ntree.root.left.left = \nnew\nNode(\n4\n); \n\ntree.root.left.right = \nnew\nNode(\n12\n); \n\ntree.root.left.right.left = \nnew\nNode(\n10\n); \n\ntree.root.left.right.right = \nnew\nNode(\n14\n); \n\ntree.root.right = \nnew\nNode(\n22\n); \n\ntree.root.right.right = \nnew\nNode(\n25\n); \n\ntree.printBoundary(tree.root); \n\n}",
"public int getEdgeCount() \n {\n return 3;\n }",
"public int getWidth(){\n return width;\n }",
"public int upright();",
"protected int parent(int i) { return (i - 1) / 2; }",
"@Override\n\tpublic void draw() {\n\n\t}",
"@Override\n\tpublic void draw() {\n\n\t}",
"protected int getWidth()\n\t{\n\t\treturn 0;\n\t}",
"public int getDireccion(Pixel p) {\r\n\t\tif (x == p.x && y < p.y)\r\n\t\t\treturn DIR_N;\r\n\t\tif (x > p.x && y < p.y){\r\n\t\t\tdouble distancia = this.distancia(p);\r\n\t\t\tif (distancia <= 1){\r\n\t\t\t\treturn DIR_NE;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tint distanciaX = Math.abs(x - p.x);\r\n\t\t\t\tint distanciaY = Math.abs(y - p.y);\r\n\t\t\t\tif (distanciaX == distanciaY)\r\n\t\t\t\t\treturn DIR_NE;\r\n\t\t\t\telse if (distanciaX > distanciaY)\r\n\t\t\t\t\treturn DIR_E;\r\n\t\t\t\telse \r\n\t\t\t\t\treturn DIR_N;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (x < p.x && y < p.y){\r\n\t\t\tdouble distancia = this.distancia(p);\r\n\t\t\tif (distancia <= 1){\r\n\t\t\t\treturn DIR_NO;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tint distanciaX = Math.abs(x - p.x);\r\n\t\t\t\tint distanciaY = Math.abs(y - p.y);\r\n\t\t\t\tif (distanciaX == distanciaY)\r\n\t\t\t\t\treturn DIR_NO;\r\n\t\t\t\telse if (distanciaX > distanciaY)\r\n\t\t\t\t\treturn DIR_O;\r\n\t\t\t\telse \r\n\t\t\t\t\treturn DIR_N;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (x == p.x && y > p.y)\r\n\t\t\treturn DIR_S;\r\n\t\tif (x > p.x && y > p.y){\r\n\t\t\tdouble distancia = this.distancia(p);\r\n\t\t\tif (distancia <= 1){\r\n\t\t\t\treturn DIR_SE;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tint distanciaX = Math.abs(x - p.x);\r\n\t\t\t\tint distanciaY = Math.abs(y - p.y);\r\n\t\t\t\tif (distanciaX == distanciaY)\r\n\t\t\t\t\treturn DIR_SE;\r\n\t\t\t\telse if (distanciaX > distanciaY)\r\n\t\t\t\t\treturn DIR_E;\r\n\t\t\t\telse \r\n\t\t\t\t\treturn DIR_S;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (x < p.x && y > p.y){\r\n\t\t\tdouble distancia = this.distancia(p);\r\n\t\t\tif (distancia <= 1){\r\n\t\t\t\treturn DIR_SO;\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tint distanciaX = Math.abs(x - p.x);\r\n\t\t\t\tint distanciaY = Math.abs(y - p.y);\r\n\t\t\t\tif (distanciaX == distanciaY)\r\n\t\t\t\t\treturn DIR_SO;\r\n\t\t\t\telse if (distanciaX > distanciaY)\r\n\t\t\t\t\treturn DIR_O;\r\n\t\t\t\telse \r\n\t\t\t\t\treturn DIR_S;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (x > p.x && y == p.y)\r\n\t\t\treturn DIR_E;\r\n\t\tif (x < p.x && y == p.y)\r\n\t\t\treturn DIR_O;\r\n\t\treturn -1;\r\n\t}",
"private void renderPath(Node n)\n {\n\tGraphics g = getGraphics();\n\tboolean painting;\n\tColor nc,lc;\n\n\tpainting = (n.paths_passing==0);\n\twhile (n != null) {\n\t if (painting)\n\t\tn.paths_passing++;\n\t else {\n\t\tn.paths_passing--;\n\t }\n\t \n// \t nc = (n.paths_passing > 0)?hilitcolor:normalcolor;\n// \t lc = (n.paths_passing > 0)?hilitcolor:linecolor;\n\t nc = (n.paths_passing > 0)?n.path_color:normalcolor;\n\t lc = (n.paths_passing > 0)?n.path_color:linecolor;\n\t \n\t if (n.parent == null) {\n\t\tsetRenderColor(g,nc);\n\t\trenderNode(g,n);\n\t\tbreak;\n\t }\n\n\t // Double line width\n\t //setRenderColor(g,(n.paths_passing>0)?hilitcolor:Color.white);\n\t setRenderColor(g,(n.paths_passing>0)?n.path_color:Color.white);\n\t renderLine(g,n.x-1,n.y,n.parent.x-1,n.parent.y);\t\n\n\t setRenderColor(g,lc);\n\t renderLine(g,n.x,n.y,n.parent.x,n.parent.y);\n\n\t setRenderColor(g,nc);\n\t renderNode(g,n);\n\t n = n.parent;\n\t}\n }",
"double volume() {\n\treturn width*height*depth;\n}",
"void table(){\n fill(0);\n rect(width/2, height/2, 600, 350); // boarder\n fill(100, 0 ,0);\n rect(width/2, height/2, 550, 300); //Felt\n \n \n}",
"public void snare();",
"void ringBell() {\n\n }",
"public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}",
"private byte r() {\r\n\t\treturn (left_map == 0 ) ? (byte) 1 : 0;\r\n\t}",
"public void skystonePos2() {\n }",
"public int my_leaf_count();",
"@Override\n\tpublic void draw3() {\n\n\t}"
] |
[
"0.54567957",
"0.53680295",
"0.53644985",
"0.52577376",
"0.52142847",
"0.51725817",
"0.514088",
"0.50868535",
"0.5072305",
"0.504888",
"0.502662",
"0.50005764",
"0.49740013",
"0.4944243",
"0.4941118",
"0.4937142",
"0.49095523",
"0.48940238",
"0.48719338",
"0.48613623",
"0.48604724",
"0.48558092",
"0.48546165",
"0.48490012",
"0.4843668",
"0.4843668",
"0.48420057",
"0.4839597",
"0.4832105",
"0.4817357",
"0.481569",
"0.48122767",
"0.48085573",
"0.48065376",
"0.48032433",
"0.48032212",
"0.4799707",
"0.4798766",
"0.47978994",
"0.47978172",
"0.47921672",
"0.47903922",
"0.4790111",
"0.47886384",
"0.47843018",
"0.47837785",
"0.47828907",
"0.47826976",
"0.4776919",
"0.47767594",
"0.47767594",
"0.47766045",
"0.4764252",
"0.47560593",
"0.4753577",
"0.4752732",
"0.47510985",
"0.47496924",
"0.47485355",
"0.4748455",
"0.4746839",
"0.4744132",
"0.47203988",
"0.4713808",
"0.4711382",
"0.47113234",
"0.47096533",
"0.47075558",
"0.47029856",
"0.4701444",
"0.47014076",
"0.46973658",
"0.46969122",
"0.4692372",
"0.46897912",
"0.4683049",
"0.4681391",
"0.46810925",
"0.46750805",
"0.46722633",
"0.46681988",
"0.466349",
"0.46618745",
"0.46606532",
"0.46533036",
"0.46485004",
"0.46464643",
"0.46447286",
"0.46447286",
"0.46438906",
"0.46405315",
"0.46397775",
"0.4634643",
"0.46339533",
"0.4633923",
"0.4632826",
"0.4631328",
"0.46299514",
"0.46285036",
"0.46276402",
"0.4625902"
] |
0.0
|
-1
|
Created by suhaas on 22/7/17.
|
@PerActivity
public interface LoginFragmentMvpPresenter {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n public void perish() {\n \n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"private void poetries() {\n\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"private void m50366E() {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n public void init() {\n }",
"public void mo38117a() {\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n public int describeContents() { return 0; }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"public void gored() {\n\t\t\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"@Override\n void init() {\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"private void init() {\n\n\t}",
"@Override\n public void init() {}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"private void kk12() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void init() {\n }",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {}",
"@Override\n public void init() {\n\n }",
"@Override\n public void init() {\n\n }",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"public void mo4359a() {\n }",
"private void strin() {\n\n\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\n\tpublic void init() {\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n public int retroceder() {\n return 0;\n }",
"private Rekenhulp()\n\t{\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"public void method_4270() {}",
"@Override\n\tpublic void init()\n\t{\n\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n public void initialize() { \n }",
"public abstract void mo70713b();",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"public void m23075a() {\n }",
"@Override\n\tprotected void initialize() {\n\t}",
"@Override\n\tprotected void initialize() {\n\t}",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n\t\tpublic void init() {\n\t\t}",
"@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\tpublic void nefesAl() {\n\n\t}"
] |
[
"0.60669637",
"0.5928702",
"0.5880841",
"0.5851694",
"0.57994014",
"0.5729721",
"0.5722993",
"0.5722993",
"0.57027674",
"0.5692021",
"0.56782794",
"0.56734896",
"0.56607926",
"0.56592745",
"0.56508976",
"0.56481135",
"0.56462663",
"0.56342125",
"0.56292015",
"0.56292015",
"0.56292015",
"0.56292015",
"0.56292015",
"0.5616138",
"0.5603494",
"0.55832595",
"0.5574227",
"0.55684304",
"0.5565338",
"0.5550253",
"0.55473816",
"0.55446124",
"0.55366445",
"0.5535122",
"0.5530045",
"0.5520971",
"0.5520971",
"0.5516237",
"0.55123675",
"0.5509609",
"0.54916424",
"0.54902977",
"0.54902977",
"0.54902977",
"0.54902977",
"0.54902977",
"0.54902977",
"0.5480513",
"0.547932",
"0.547932",
"0.547932",
"0.54780835",
"0.5476996",
"0.5475067",
"0.5470182",
"0.5470182",
"0.546579",
"0.5465605",
"0.5465605",
"0.5465605",
"0.5460639",
"0.54547983",
"0.5452448",
"0.54474217",
"0.54468554",
"0.5446463",
"0.5446463",
"0.5446463",
"0.54384685",
"0.54344153",
"0.54223824",
"0.54203",
"0.5419282",
"0.54169816",
"0.541552",
"0.54006004",
"0.5392343",
"0.5392343",
"0.5391303",
"0.539061",
"0.53826606",
"0.53826606",
"0.53826606",
"0.53826606",
"0.53826606",
"0.53826606",
"0.53826606",
"0.5379956",
"0.53608745",
"0.5350814",
"0.53331906",
"0.53303415",
"0.53236777",
"0.5322021",
"0.531389",
"0.531389",
"0.53118205",
"0.530553",
"0.5304856",
"0.5299983",
"0.52940595"
] |
0.0
|
-1
|
Creates a new instance of RenderableMessage
|
public RenderableHTMLMessage(Message m) throws MessagingException, IOException {
subject = m.getSubject().substring(MessagesBundle.getString("SUBJECT_TOKEN").length());
from = m.getFrom();
sentDate = m.getSentDate();
attachments = new ArrayList<Attachment>();
extractPart(m);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public static void create() {\r\n render();\r\n }",
"public interface MessageRenderer {\n void render();\n void setMessageProvider(MessageProvider provider);\n MessageProvider getMessageProvider();\n}",
"public interface MessageRenderer {\n void render();\n MessageProvider getMessageProvider();\n void setMessageProvider(MessageProvider provider);\n}",
"public Message createMessage()\n {\n return messageFactory.createMessage();\n }",
"public Message(){}",
"public MessageAbstract createMessageAbstract() {\n\t\tMessageAbstract messageAbstract = new MessageAbstract();\n\t\tmessageAbstract.setId(this.id);\n\t\tmessageAbstract.setMessage(this.message);\n\t\tmessageAbstract.setSentTimestamp(this.sentTimestamp);\n\n\t\t// Add sender's user ID if available\n\t\tif (this.origin != null) {\n\t\t\tmessageAbstract.setSenderUserId(this.origin.getId());\n\t\t\tmessageAbstract.setSenderScreenName(this.origin.getScreenName());\n\t\t}\n\t\treturn messageAbstract;\n\t}",
"public String build() {\n this.message_string = \"{\";\n\n if (this.recipient_id != null) {\n this.message_string += \"\\\"recipient\\\": {\\\"id\\\": \\\"\" + this.recipient_id + \"\\\"},\";\n }\n\n if ((this.message_text != null)\n && !(this.message_text.equals(\"\"))\n && !(this.buttons.isEmpty())) {\n this.message_string += \"\\\"message\\\": {\";\n this.message_string += \"\\\"attachment\\\": {\";\n this.message_string += \"\\\"type\\\": \\\"template\\\",\";\n this.message_string += \"\\\"payload\\\": {\";\n this.message_string += \"\\\"template_type\\\": \\\"button\\\",\";\n this.message_string += \"\\\"text\\\": \\\"\" + this.message_text + \"\\\",\";\n this.message_string += \"\\\"buttons\\\":[\";\n for (int j = 0; j < this.buttons.size(); j++) {\n HashMap<String, String> button = this.buttons.get(j);\n this.message_string += \"{\";\n if (!button.get(\"type\").equals(\"\")) {\n this.message_string += \"\\\"type\\\":\\\"\" + button.get(\"type\") + \"\\\",\";\n }\n if (!button.get(\"title\").equals(\"\")) {\n this.message_string += \"\\\"title\\\":\\\"\" + button.get(\"title\") + \"\\\",\";\n }\n if (!button.get(\"url\").equals(\"\")) {\n this.message_string += \"\\\"url\\\":\\\"\" + button.get(\"url\") + \"\\\",\";\n }\n if (!button.get(\"payload\").equals(\"\")) {\n this.message_string += \"\\\"payload\\\":\\\"\" + button.get(\"payload\") + \"\\\",\";\n }\n if (!button.get(\"webview_height_ratio\").equals(\"\")) {\n this.message_string +=\n \"\\\"webview_height_ratio\\\":\\\"\"\n + button.get(\"webview_height_ratio\")\n + \"\\\",\";\n }\n this.message_string = this.message_string.replaceAll(\",$\", \"\");\n this.message_string += \"},\";\n }\n this.message_string = this.message_string.replaceAll(\",$\", \"\");\n this.message_string += \"]\";\n this.message_string += \"}\";\n this.message_string += \"}\";\n this.message_string += \"}\";\n }\n\n this.message_string = this.message_string.replaceAll(\",$\", \"\");\n\n this.message_string += \"}\";\n\n return this.message_string;\n }",
"public Message() {}",
"public Message() {}",
"public ImMessage() {\r\n }",
"@Override\n\t\t\tpublic Render<EntityDispenser> createRenderFor(RenderManager manager) {\n\t\t\t\treturn new RenderDispenser(manager);\n\t\t\t}",
"@Override\n\t\t\tpublic Render<EntityRocket> createRenderFor(RenderManager manager) {\n\t\t\t\treturn new RenderRocket(manager);\n\t\t\t}",
"public Message() {\n\t\tsuper();\n\t}",
"private void createMessageWindow() {\n\t\tmessageBG = Icon.createImageIcon(\"/images/UI/messageWindow.png\");\n\t\tmessageWindow = new JLabel(messageBG);\n\t\t\n\t\tmessageWindow = new JLabel(\"\");\n\t\tmessageWindow.setFont(new Font(\"Courier\", Font.PLAIN, 20));\n\t\tmessageWindow.setIcon(messageBG);\n\t\tmessageWindow.setIconTextGap(-messageBG.getIconWidth()+10);\n\t\tmessageWindow.setHorizontalTextPosition(0);\n\t\tmessageWindow.setOpaque(false);\n\t\t\t\t\n\t\tmessagePanel.add(messageWindow, BorderLayout.CENTER);\n\t\tmessagePanel.setOpaque(false);\n\t}",
"public Message() {\n }",
"public Message() {\n }",
"DynamicMessage createDynamicMessage();",
"protected abstract Message createMessage(Object object, MessageProperties messageProperties);",
"@Override\n public ResponsibilityResultMessage<TResult> createMessage() {\n return new ResponsibilityResultMessage<TResult>();\n }",
"public Message() {\n }",
"public Email render() throws MessagingException\n {\n email.setSubject(renderEmailSubject(templateParameters));\n renderEmailBody(templateParameters);\n return email;\n }",
"public void createRichMessage(boolean isMessageProcessed) {\n if (model.getTemplateId() <= 0) {\n containerView.setVisibility(View.GONE);\n return;\n }\n\n listItemLayout = containerView.findViewById(R.id.alListMessageLayout);\n faqReplyLayout = containerView.findViewById(R.id.alFaqReplyLayout);\n faqLayout = containerView.findViewById(R.id.alFaqLayout);\n genericCardRecycler = containerView.findViewById(R.id.alGenericCardContainer);\n imageListRecycler = containerView.findViewById(R.id.alImageListContainer);\n videoTemplateRecycler = containerView.findViewById(R.id.videoTemplateContainer);\n flowLayout = containerView.findViewById(R.id.kmFlowLayout);\n alFormLayoutRecycler = containerView.findViewById(R.id.alFormLayoutRecycler);\n createdAtTime = containerView.findViewById(R.id.createdAt);\n createdAtTime.setVisibility(showTimestamp ? View.VISIBLE : View.GONE);\n createdAtTime.setText(DateUtils.getFormattedDate(message.getCreatedAtTime()));\n if(!TextUtils.isEmpty(alCustomizationSettings.getReceivedMessageCreatedAtTimeColor())) {\n createdAtTime.setTextColor(Color.parseColor(alCustomizationSettings.getReceivedMessageCreatedAtTimeColor()));\n }\n\n handleLayoutVisibilities(model.getTemplateId());\n }",
"@Override\n\t\t\tpublic Render<EntityStatue> createRenderFor(RenderManager manager) {\n\t\t\t\treturn new RenderStatue(manager);\n\t\t\t}",
"public MessagePanel() {\n initComponents();\n HTMLEditorKit editKit = new HTMLEditorKit();\n msgEP.setEditorKit((EditorKit)editKit);\n }",
"public Renderer(Object toRender) {\n this.toRender = toRender;\n }",
"MessageSerializer<T> create();",
"public MimeMessage createEmptyMessage();",
"private Panel createMessagePanel()\n {\n Panel messagePanel;\n Label product;\n Label version;\n Label copyright;\n\n product = new Label(\"File System Archiver\");\n version = new Label(\"Version \" + Constants.CLIENT_VERSION);\n copyright = new Label(\"Copyright (c) 2001\");\n\n messagePanel = new Panel();\n messagePanel.setLayout(new GridLayout(3, 0));\n\n messagePanel.add(product);\n messagePanel.add(version);\n messagePanel.add(copyright);\n\n messagePanel.setVisible(true);\n\n return messagePanel;\n }",
"@Test\n\tpublic void testRender() {\n\t\tDialog messageBox = new MessageBoxSub();\n\t\tCuboid cuboid = new Cuboid(messageBox, 2,3,7);\n\t\tcuboid.render();\n\t}",
"public Message () {\n\t\tthis.setCreationtime(Calendar.getInstance().getTimeInMillis());\n\t\tsetTimestamp();\n\t}",
"private JPanel messagePanel() {\r\n\t\tJPanel panel = new JPanel();\r\n\t\tJTextPane textPaneMessage = new JTextPane();\r\n\t\tJScrollPane scrollMessage = new JScrollPane(textPaneMessage);\r\n\t\tdoc = (StyledDocument) textPaneMessage.getDocument();\r\n\t\tstyle = doc.addStyle(\"AddImage\", null);\r\n\t\ttextPaneMessage.setFont(font1);\r\n\t\ttextPaneMessage.setEditable(false);\r\n\t\tpanel.setPreferredSize(new Dimension(900, 720));\r\n\t\tscrollMessage.setPreferredSize(new Dimension(900, 720));\r\n\t\tpanel.add(scrollMessage);\r\n\t\treturn panel;\r\n\t}",
"@Override\n protected SimpleMessage prepareMessage() {\n SimpleMessage message = super.prepareMessage();\n message.setContent(onFailure());\n return message;\n }",
"public FlowMonMessage(){}",
"public ModelMessage(MessageType messageType, String id, FreeColGameObject source, FreeColObject display) {\n super(id, TemplateType.TEMPLATE);\n this.messageType = messageType;\n this.sourceId = source.getId();\n this.displayId = (display != null) ? display.getId() : source.getId();\n this.ownerId = null;\n }",
"@Override\n\t\t\tpublic Render<EntityStickybomb> createRenderFor(RenderManager manager) {\n\t\t\t\treturn new RenderStickybomb(manager);\n\t\t\t}",
"public String create()\n {\n return createHtml();\n }",
"public createMessageServlet() {\n\t\tsuper();\n\t}",
"public android.renderscript.Element create() { throw new RuntimeException(\"Stub!\"); }",
"private Message(){\n // default constructor\n }",
"public MessageResponse() {\r\n\t}",
"public SpreadMessage createMessage(String context, Serializable serializable) throws SpreadException {\n SpreadMessage message = super.createMessage();\n if(message==null) message = new SpreadMessage();\n message.digest((Serializable) context);\n message.digest(serializable);\n return message;\n }",
"private void createMessage(String msg) {\n\t\tmessage = new GLabel(msg);\n\t\tmessage.setFont(MESSAGE_FONT);\n\t\tadd(message, getWidth() / 2 - message.getWidth() / 2, getHeight()\n\t\t\t\t- BOTTOM_MESSAGE_MARGIN - message.getHeight());\n\t}",
"public Message createMessage(String messageText)\n {\n return new MessageRssImpl(messageText,\n \"text/html\",\n DEFAULT_MIME_ENCODING,\n null);\n }",
"public MailMessage() {\n }",
"public Message newMessage(String message, Object p0) {\n/* 69 */ return new SimpleMessage(message);\n/* */ }",
"@Override\n\tpublic Receive createReceive() {\n\t\treturn receiveBuilder()\n\t\t\t\t.match(LargeMessage.class, this::handle)\n\t\t\t\t.match(byte[].class, this::handle)\n\t\t\t\t.match(BytesMessage.class, this::handle)\n\t\t\t\t.matchAny(object -> this.log().info(\"Received unknown message: \\\"{}\\\"\", object.toString()))\n\t\t\t\t.build();\n\t}",
"public interface Renderable extends Serializable {\r\n\r\n /**\r\n * Render output, normally HTML markup, to the given buffer.\r\n *\r\n * @param buffer the string buffer to render output to\r\n */\r\n public void render(HtmlStringBuffer buffer);\r\n\r\n}",
"public Message generateDrawMessage() {\n return new Message(false, -100, \"Game Over. It was a DRAW!\"); \n }",
"public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n/* 145 */ return new SimpleMessage(message);\n/* */ }",
"public RenderableTest()\n {\n }",
"private void createMessageArea() {\n\t\tthis.message = new JTextArea(\"Message\");\n\t\tthis.message.setRows(1);\n\t\tthis.message.setBorder(BorderFactory.createTitledBorder(\"Message\"));\n\t\tthis.message.setLineWrap(true);\n\t\tthis.message.setWrapStyleWord(true);\n\n\t\t// maximum lenght of the message\n\t\tfinal int MAX_LENGTH = 140;\n\t\tfinal int MAX_NEWLN = 4;\n\t\tthis.message.setDocument(new PlainDocument() {\n\t\t\t@Override\n\t\t\tpublic void insertString(int offs, String str, AttributeSet a) throws BadLocationException {\n\t\t\t\tint lines = message.getText().split(\"\\r\\n|\\r|\\n\", -1).length;\n\t\t\t\tif (str == null || message.getText().length() >= MAX_LENGTH || lines >= MAX_NEWLN) {\n\t \treturn;\n\t \t}\n\t\t\t\tsuper.insertString(offs, str, a);\n\t \t}\n\t\t});\n\t}",
"@Override\n public Receive createReceive() {\n return receiveBuilder()\n .match(StartMessage.class, this::handle)\n .match(BatchMessage.class, this::handle)\n .match(Terminated.class, this::handle)\n .match(RegistrationMessage.class, this::handle)\n .match(Availability.class, this::handle)\n .match(Result.class, this::handle)\n .matchAny(object -> this.log().info(\"Received unknown message: \\\"{}\\\"\", object.toString()))\n .build();\n }",
"public Message newMessage(String message, Object... params) {\n/* 61 */ return new SimpleMessage(message);\n/* */ }",
"public StyxMessage factory(BufferReader buffer, int io_unit)\n throws IOException {\n // get common packet data\n long packet_size = buffer.readUInt32();\n if ( packet_size > io_unit ) {\n throw new IOException(\"Packet size to large\");\n }\n MessageType type = MessageType.factory(buffer.readUInt8());\n if ( type == null ) {\n throw new NullPointerException(\"Type is null, can't decode message\");\n }\n int tag = buffer.readUInt16();\n // load other data\n StyxMessage result = null;\n switch (type) {\n case Tversion:\n result = new StyxTVersionMessage(0, null);\n break;\n case Rversion:\n result = new StyxRVersionMessage(0, null);\n break;\n case Tauth:\n result = new StyxTAuthMessage(StyxMessage.NOFID, \"\", \"\");\n break;\n case Tflush:\n result = new StyxTFlushMessage(StyxMessage.NOTAG);\n break;\n case Tattach:\n result = new StyxTAttachMessage(StyxMessage.NOFID, StyxMessage.NOFID, null, null);\n break;\n case Twalk:\n result = new StyxTWalkMessage(StyxMessage.NOFID, StyxMessage.NOFID, \"\");\n break;\n case Rauth:\n result = new StyxRAuthMessage(tag, StyxQID.EMPTY);\n break;\n case Rerror:\n result = new StyxRErrorMessage(tag, null);\n break;\n case Rflush:\n result = new StyxMessage(MessageType.Rflush, tag);\n break;\n case Rattach:\n result = new StyxRAttachMessage(tag, StyxQID.EMPTY);\n break;\n case Rwalk:\n result = new StyxRWalkMessage(tag, null);\n break;\n case Topen:\n result = new StyxTOpenMessage(StyxMessage.NOFID, ModeType.OREAD);\n break;\n case Ropen:\n result = new StyxROpenMessage(tag, null, 0, false);\n break;\n case Tcreate:\n result = new StyxTCreateMessage(StyxMessage.NOFID, null, 0, ModeType.OWRITE);\n break;\n case Rcreate:\n result = new StyxROpenMessage(tag, null, 0, true);\n break;\n case Tread:\n result = new StyxTReadMessage(StyxMessage.NOFID, 0, 0);\n break;\n case Rread:\n result = new StyxRReadMessage(tag, null, 0);\n break;\n case Twrite:\n result = new StyxTWriteMessage(StyxMessage.NOFID, 0, null, 0, 0 );\n break;\n case Rwrite:\n result = new StyxRWriteMessage(tag, 0);\n break;\n case Tclunk:\n result = new StyxTMessageFID(MessageType.Tclunk, MessageType.Rclunk, 0);\n break;\n case Rclunk:\n result = new StyxMessage(MessageType.Rclunk, tag);\n break;\n case Tremove:\n result = new StyxTMessageFID(MessageType.Tremove, MessageType.Rremove, tag);\n break;\n case Rremove:\n result = new StyxMessage(MessageType.Rremove, tag);\n break;\n case Tstat:\n result = new StyxTMessageFID(MessageType.Tstat, MessageType.Rstat, tag);\n break;\n case Rstat:\n result = new StyxRStatMessage(tag);\n break;\n case Twstat:\n result = new StyxTWStatMessage(StyxMessage.NOFID, null);\n break;\n case Rwstat:\n result = new StyxMessage(MessageType.Rwstat, tag);\n break;\n }\n result.setTag((short) tag);\n result.load(buffer);\n return result;\n }",
"public interface Renderable {\r\n}",
"public abstract Message createMessage(String uid) throws MessagingException;",
"public displayMessage() {}",
"@Override\n public MediationMessage createMessage(CamelMediationMessage message) {\n return null;\n }",
"public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3) {\n/* 93 */ return new SimpleMessage(message);\n/* */ }",
"MessagesType createMessagesType();",
"private Message createMessage(final JSONObject jsonMessageSet) {\n\n final JSONArray messages = (JSONArray) jsonMessageSet.get(\"message\");\n final JSONObject jsonMessage = getRandomJsonObject(messages);\n\n final Message message = new Message();\n message.setMessageId((Integer) jsonMessage.get(\"messageId\"));\n message.setText((String) jsonMessage.get(\"text\"));\n\n final Integer tipSetId = (Integer) jsonMessage.get(\"tipSetId\");\n if (tipSetId != null) {\n message.setTipSetId(tipSetId);\n }\n\n return message;\n }",
"public FeedbackMessages()\n\t{\n\t}",
"public Message newMessage(String message, Object p0, Object p1, Object p2) {\n/* 85 */ return new SimpleMessage(message);\n/* */ }",
"public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6) {\n/* 118 */ return new SimpleMessage(message);\n/* */ }",
"private Panel displayMessage(final MessageDTO msg) {\n\t\tFluidContainer container = new FluidContainer();\n\t\tRow row = new Row();\n\t\tcom.github.gwtbootstrap.client.ui.Column imageCol =\n\t\t new com.github.gwtbootstrap.client.ui.Column(3);\n\t\timageCol.add(getImagePanel(msg.getSender(), ValueType.MEDIUM_IMAGE_VALUE));\n\t\trow.add(imageCol);\n\n\t\tcom.github.gwtbootstrap.client.ui.Column messageCol =\n\t\t new com.github.gwtbootstrap.client.ui.Column(9);\n\t\tHTMLPanel messagePanel =\n\t\t new HTMLPanel(\"<span class='medium_text'>\" + basicDataFormatter.format(msg.getMessage(), ValueType.TEXT_VALUE) + \"</span>\");\n\t\tmessageCol.add(messagePanel);\n\t\trow.add(messageCol);\n\t\tcontainer.add(row);\n\n\t\tRow timeRow = new Row();\n\t\tcom.github.gwtbootstrap.client.ui.Column timeCol =\n\t\t new com.github.gwtbootstrap.client.ui.Column(4);\n\t\ttimeCol.setOffset(8);\n\t\tHTMLPanel timePanel =\n\t\t new HTMLPanel(\"<span class='tiny_text'>sent on \"\n\t\t + basicDataFormatter.format(msg.getTimeCreated(), ValueType.DATE_VALUE_SHORT)\n\t\t + \"</span>\");\n\t\ttimeCol.add(timePanel);\n\t\ttimeRow.add(timeCol);\n\t\tcontainer.add(timeRow);\n\t\treturn container;\n\t}",
"public Message newMessage(String message, Object p0, Object p1) {\n/* 77 */ return new SimpleMessage(message);\n/* */ }",
"public SystemMessage() {\r\n\t}",
"private Report createMessageReport(String message) {\n return Report.create(message);\n }",
"@Override\n public TransponderMessage newMessage() {\n super.newMessage();\n setModule(\"somevertical\");\n return this;\n }",
"public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7, Object p8) {\n/* 136 */ return new SimpleMessage(message);\n/* */ }",
"public String render() throws RuntimeException {\n StringBuffer buffer = new StringBuffer();\n\n try {\n buffer.append(String.format(\"Instance of %s:\\n\", toRender.getClass().getName()));\n Field[] fields = toRender.getClass().getDeclaredFields();\n for (Field field : fields) {\n if (!field.isAccessible()) {\n field.setAccessible(true);\n }\n if (field.isAnnotationPresent(RenderMe.class)) {\n RenderMe renderMeAnnotation = field.getAnnotation(RenderMe.class);\n final String with = renderMeAnnotation.with();\n System.out.println(with);\n if (!with.isEmpty()) {\n Class forNameClass = Class.forName(with);\n\n Object newRenderer = forNameClass.newInstance();\n Method method = newRenderer.getClass().getMethod(\"render\", field.getType());\n\n if (!method.isAccessible()) {\n method.setAccessible(true);\n }\n\n Object returnValue = method.invoke(newRenderer, field.get(toRender));\n if (returnValue.getClass() == String.class) {\n final String value = (String) returnValue;\n buffer.append(String.format(\"%s (Type %s): %s\\n\",\n field.getName(),\n field.getType().getCanonicalName(),\n value));\n }\n }\n else {\n if (!field.isAccessible()) {\n field.setAccessible(true);\n }\n buffer.append(String.format(\"%s (Type %s): %s\\n\",\n field.getName(),\n field.getType().getCanonicalName(),\n field.get(toRender).toString()\n ));\n }\n }\n }\n\n Method[] methods = toRender.getClass().getDeclaredMethods();\n for (Method method : methods) {\n if (method.isAnnotationPresent(RenderMe.class)) {\n if (method.getParameterCount() == 0) {\n if (!method.isAccessible()) {\n method.setAccessible(true);\n }\n Object value = method.invoke(toRender);\n\n buffer.append(String.format(\"%s (Return Type %s): %s\\n\",\n method.getName(),\n method.getReturnType().getCanonicalName(),\n value.toString()));\n }\n }\n }\n }\n catch (Exception exception) {\n throw new RuntimeException();\n }\n return buffer.toString();\n }",
"@Override\n public Receive createReceive() {\n return receiveBuilder()\n\n .match(WhoToGreet.class, wtg -> {\n // -> uses the internal state of wtg and modify this internal state (this.greeting)\n this.greeting = \"Who to greet? -> \" + wtg.who;\n\n }).match(Greet.class, x -> {\n // -> send a message to another actor (thread)\n printerActor.tell(new Printer.Greeting(greeting), getSelf());\n\n }).build();\n }",
"public CreateRemoteClassic<Msg, Ref> create();",
"@Override\n\t\t\tpublic Render<EntityGrenade> createRenderFor(RenderManager manager) {\n\t\t\t\treturn new RenderGrenade(manager);\n\t\t\t}",
"private JSONMessageFactory(){}",
"public Message() {\n\tkey = MessageKey.NULL;\n\tdata = null;\n\n\tattachment = null;\n }",
"public static void setMessageToDisplay(Rendable rendable){\n MESSAGE_DISPLAY = rendable;\n }",
"public WfController( MsgObject thisMessage )\n {\n messageObject = thisMessage;\n }",
"public OAuthMessage() {\n\t\t_parameters = new ParameterList();\n\n\t\tif (DEBUG)\n\t\t\t_log.debug(\"Created empty OAuthMessage.\");\n\t}",
"public interface IMessage {\n\t\n\t/**\n\t * Returns the text of the message.\n\t * \n\t * @return The text of the message.\n\t */\n\tpublic String getMessageText();\n\t\n\t/**\n\t * Returns the HTML-formatted text of the message.\n\t * \n\t * @return The HTML-formatted text of the message.\n\t */\t\n\tpublic String getMessageTextAsHTML();\n}",
"public static MessageFragment newInstance() {\n MessageFragment fragment = new MessageFragment();\n Bundle args = new Bundle();\n\n fragment.setArguments(args);\n return fragment;\n }",
"public static GenericMessagesReceived createEntity() {\n GenericMessagesReceived genericMessagesReceived = new GenericMessagesReceived()\n .originatingModule(DEFAULT_ORIGINATING_MODULE)\n .dateReceived(DEFAULT_DATE_RECEIVED)\n .messageId(MESSAGE_ID)\n .messageDateCreated(UPDATED_DATE_RECEIVED)\n .pubSubMessageTypeCode(PUB_SUB_TYPE_CODE)\n .incidentNumber(INCIDENT_NUMBER)\n .incidentHeader(INCIDENT_HEADER)\n .incidentDescription(INCIDENT_DESCRIPTION)\n .eventTypeCode(EVENT_TYPE_CODE)\n .incidentPriorityCode(INCIDENT_PRIORITY_CODE)\n .operatorName(OPERATOR_NAME)\n .payload(PAYLOAD);\n \n return genericMessagesReceived;\n }",
"@Inject\n\tMessageImpl() {\n\t\tbundle = getBundle(BASE_NAME);\n\t}",
"public Message(){\n\t\ttimeStamp = System.currentTimeMillis();\n\t}",
"public MassMsgFrame() {\n\t}",
"public ValidationMessage() {\n }",
"private MessageHandler() {\n super(Vec2.ZERO, Vec2.ZERO, new Sprite(\"\"));\n allwaysOnScreen = true;\n this.setRenderLayer(RenderLayer.RenderLayerName.GUI);\n InputStream is = getClass().getClassLoader().getResourceAsStream(\"fonts/Pixel-Miners.otf\");\n font = Font.loadFont(is, 40);\n\n resolutionX = GameSettings.getInt(\"game_resolution_X\");\n resolutionY = GameSettings.getInt(\"game_resolution_Y\");\n }",
"public ModelMessage(MessageType messageType, String id, FreeColGameObject source) {\n this(messageType, id, source, getDefaultDisplay(messageType, source));\n }",
"public MyDialogToast create() {\n LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n MyDialogToast myDialogToast = new MyDialogToast(context, R.style.dialog);\n View view = inflater.inflate(R.layout.my_dialog_toast, null);\n myDialogToast.addContentView(view, new LinearLayout.LayoutParams(\n LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT));\n if (message != null) {\n TextView v = (TextView) view.findViewById(R.id.tvToastMessage);\n v.setText(message);\n }\n myDialogToast.setContentView(view);\n return myDialogToast;\n }",
"public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4, Object p5, Object p6, Object p7) {\n/* 127 */ return new SimpleMessage(message);\n/* */ }",
"public Message newMessage(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n/* 101 */ return new SimpleMessage(message);\n/* */ }",
"public messages() {\n }",
"public Message build() {\n Objects.requireNonNull(transactionIdBytes);\n\n byte[] messageBytes = new byte[MESSAGE_LEN_HEADER + length];\n\n byte[] messageTypeBytes = createMessageType();\n System.arraycopy(messageTypeBytes, 0, messageBytes, MESSAGE_POS_TYPE, MESSAGE_LEN_TYPE);\n\n byte[] lengthBytes = Bytes.intToBytes(length);\n System.arraycopy(lengthBytes, 2, messageBytes, MESSAGE_POS_LENGTH, MESSAGE_LEN_LENGTH);\n\n byte[] magicCookieBytes = Bytes.intToBytes(MAGIC_COOKIE_FIXED_VALUE);\n System.arraycopy(\n magicCookieBytes, 0, messageBytes, MESSAGE_POS_MAGIC_COOKIE, MESSAGE_LEN_MAGIC_COOKIE);\n\n System.arraycopy(\n transactionIdBytes, 0, messageBytes, MESSAGE_POS_TRANSACTION_ID,\n MESSAGE_LEN_TRANSACTION_ID);\n transactionIdBytes = null;\n\n if (attributeBytes != null && attributeBytes.length > 0) {\n System.arraycopy(\n attributeBytes, 0, messageBytes, MESSAGE_LEN_HEADER, attributeBytes.length);\n attributeBytes = null;\n }\n\n return new Message(messageBytes);\n }",
"@Override\n\t\t\tpublic Render<EntityTF2Character> createRenderFor(RenderManager manager) {\n\t\t\t\treturn new RenderTF2Character(manager);\n\t\t\t}",
"public AbstractReceivedChatMessage(MutableJsonObject mutableJsonObject, IModelRegistry modelRegistry)\n {\n super(mutableJsonObject, modelRegistry);\n \n messageML_ = initMessageML();\n }",
"private void setupMessage() {\n \tmessage = new GLabel(\"\");\n \tmessage.setFont(\"SansSerif-12\");\n }",
"protected ParseObject createMessage() {\n //format single variables appropriatly. most cases the field is an array\n ArrayList<ParseUser> nextDrinker = new ArrayList<ParseUser>();\n nextDrinker.add(mNextDrinker);\n ArrayList<String> groupName = new ArrayList<String>();\n groupName.add(mGroupName);\n\n ParseObject message = new ParseObject(ParseConstants.CLASS_MESSAGES);\n message.put(ParseConstants.KEY_SENDER_ID, ParseUser.getCurrentUser().getObjectId());\n message.put(ParseConstants.KEY_SENDER, ParseUser.getCurrentUser());\n message.put(ParseConstants.KEY_GROUP_ID, mGroupId);\n message.put(ParseConstants.KEY_GROUP_NAME, groupName);\n message.put(ParseConstants.KEY_SENDER_NAME, ParseUser.getCurrentUser().getUsername());\n message.put(ParseConstants.KEY_RECIPIENT_IDS, nextDrinker);\n message.put(ParseConstants.KEY_MESSAGE_TYPE, ParseConstants.TYPE_DRINK_REQUEST);\n\n return message;\n }",
"public MessageRecord() {\n super(Message.MESSAGE);\n }",
"@Override\n\t\t\tpublic Render<EntityTeleporter> createRenderFor(RenderManager manager) {\n\t\t\t\treturn new RenderTeleporter(manager);\n\t\t\t}",
"@PostMapping(\"/messages\")\n\t@ResponseStatus(HttpStatus.CREATED)\n\tResponseEntity<?> newMessage(@RequestBody @Valid Message newMessage) throws URISyntaxException {\n\n\t\tResource<Message> resource = messageAssembler.toResource(messagesService.addMessage(newMessage));\n\n\t\treturn ResponseEntity.created(new URI(resource.getId().expand().getHref())).body(resource);\n\t}"
] |
[
"0.6030513",
"0.5982888",
"0.59657365",
"0.58996123",
"0.5898513",
"0.5875312",
"0.5826958",
"0.5817158",
"0.5817158",
"0.57857996",
"0.57298374",
"0.5720081",
"0.5696178",
"0.5651022",
"0.56288695",
"0.56288695",
"0.5593864",
"0.5569345",
"0.5548007",
"0.55462843",
"0.5542631",
"0.55318826",
"0.55184543",
"0.55165327",
"0.5510619",
"0.549575",
"0.5491343",
"0.5479267",
"0.5476615",
"0.5460452",
"0.54602486",
"0.54357344",
"0.5425663",
"0.54181695",
"0.53925633",
"0.53790367",
"0.53588456",
"0.53424543",
"0.53245175",
"0.5321385",
"0.53131586",
"0.5310669",
"0.5295977",
"0.5289378",
"0.52761495",
"0.52593845",
"0.52190095",
"0.5209264",
"0.52077186",
"0.5206516",
"0.51783085",
"0.5176784",
"0.5173722",
"0.51720107",
"0.51652664",
"0.5164139",
"0.51596206",
"0.51100993",
"0.5107632",
"0.5106291",
"0.5103091",
"0.5092038",
"0.50785816",
"0.5071523",
"0.506532",
"0.506209",
"0.50615716",
"0.5059536",
"0.5054246",
"0.5046038",
"0.5036763",
"0.5036009",
"0.50344044",
"0.5025603",
"0.5023569",
"0.5019051",
"0.5018765",
"0.5014451",
"0.5011912",
"0.5006016",
"0.5005023",
"0.50034374",
"0.4997974",
"0.4994837",
"0.49917215",
"0.49913615",
"0.4991222",
"0.49811414",
"0.49807668",
"0.4980514",
"0.49785334",
"0.49648502",
"0.4961473",
"0.49589774",
"0.4958922",
"0.4953435",
"0.49530298",
"0.49389824",
"0.49338934",
"0.49316636"
] |
0.55741876
|
17
|
Creates just a port listening server socket
|
public MemcachedServerSocket(int port) throws IOException {
this(port, 0);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public static ServerSocket createServerSocket() {\n \t\n try {\n listener = new ServerSocket(PORT,1, InetAddress.getByName(hostname));\n } catch (IOException e) {\n e.printStackTrace();\n }\n return listener;\n }",
"public ServerSocket createSocket (int port)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;",
"private ServerSocket createServerSocket() throws IOException {\n ServerSocket serverSocket = new ServerSocket(Constants.SERVER_PORT);\n System.out.printf(\"Server for chatting started at %d\\n\", Constants.SERVER_PORT);\n return serverSocket;\n }",
"private void createServerSocket()\r\n {\r\n\t\tDebug.assert(port != 0, \"(Server/105)\");\r\n try {\r\n serverSocket = new ServerSocket(port);\r\n serverSocket.setSoTimeout(TIMEOUT);\r\n\t }\r\n\t catch (IOException e)\r\n\t \t{\r\n log(\"Could not create ServerSocket on port \" + port);\r\n\t \tDebug.printStackTrace(e);\r\n System.exit(-1);\r\n\t }\r\n }",
"public ServerSocket createSocket (int port, int backlog)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;",
"private void startListen() {\n try {\n listeningSocket = new ServerSocket(listeningPort);\n } catch (IOException e) {\n throw new RuntimeException(\"Cannot open listeningPort \" + listeningPort, e);\n }\n }",
"private void initServerSocket()\n\t{\n\t\tboundPort = new InetSocketAddress(port);\n\t\ttry\n\t\t{\n\t\t\tserverSocket = new ServerSocket(port);\n\n\t\t\tif (serverSocket.isBound())\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Server bound to data port \" + serverSocket.getLocalPort() + \" and is ready...\");\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tSystem.out.println(\"Unable to initiate socket.\");\n\t\t}\n\n\t}",
"public Server() throws IOException\n {\n socket = new ServerSocket(port);\n }",
"public Server(int port) throws IOException{\n\t\tsuper();\n\t\tthis.serversocket= new java.net.ServerSocket(port);\n\t\t\n\t\tif (DEBUG){\n\t\t\tSystem.out.println(\"Server socket created:\" + this.serversocket.getLocalPort());\n\t\t\tclient_list.add(String.valueOf(this.serversocket.getLocalPort()));\n\t\t}\n\t}",
"private static void openServerSocket(int port) {\n\t\ttry {\n\t\t\tserverSocket = new ServerSocket(port);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Server Error\");\n\t\t}\n\t}",
"private static ServerSocket startServer(int port) {\n if (port != 0) {\n ServerSocket serverSocket;\n try {\n serverSocket = new ServerSocket(port);\n System.out.println(\"Server listening, port: \" + port + \".\");\n System.out.println(\"Waiting for connection... \");\n return serverSocket;\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return null;\n }",
"public ServerSocket createSocket (int port, int backlog,\n InetAddress ifAddress)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;",
"public static ServerSocket createServerSocket(String hostName, int port) throws IOException {\n\t\tServerSocket serverSocket = new ServerSocket();\n\t\tInetSocketAddress endpoint = new InetSocketAddress(hostName, port);\n\t\tserverSocket.bind(endpoint);\n\t\treturn serverSocket;\n\t}",
"public ServerSocket createServerSocket(int arg0) throws IOException {\n return null;\n }",
"public DefaultTCPServer(int port) throws Exception {\r\n\t\tserverSocket = new ServerSocket(port);\t}",
"private void listen() {\n\t\ttry {\n\t\t\tServerSocket servSocket = new ServerSocket(PORT);\n\t\t\tSocket clientSocket;\n\t\t\twhile(true) {\n\t\t\t\tclientSocket = servSocket.accept();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(\"Error - Could not open connection\");\n\t\t}\n\t\t\n\t}",
"public EnvironmentServerSocket createServerSocket(int port) throws IOException {\n return new EnvironmentServerSocketImpl(new ServerSocket(port), this);\n }",
"public ServerSocket createServerSocket(int arg0, int arg1) throws IOException {\n return null;\n }",
"private void initServerSock(int port) throws IOException {\n\tserver = new ServerSocket(port);\n\tserver.setReuseAddress(true);\n }",
"public Server() throws IOException{\n\t\tsuper();\n\t\tthis.serversocket = new java.net.ServerSocket(DEFAULTPORT);\n\t\tif (DEBUG){\n\t\t\tSystem.out.println(\"Server socket created:\" + this.serversocket.getLocalPort());\n\t\t\tclient_list.add(String.valueOf(this.serversocket.getLocalPort()));\n\t\t}\n\t}",
"Integer listeningPort();",
"void startServer(int port) throws Exception;",
"public TCPServer(int port) throws IOException {\n\tthis.socket = new ServerSocket(port);\n\tthis.clients = new ArrayList();\n\n\tSystem.out.println(\"SERVER: Started\");\n }",
"public static ServerSocket getServerSocket(){\n if (listener == null) {\n listener = createServerSocket();\n }\n return listener;\n }",
"public Server() {\n\t\t\n\t\ttry {\n\t\t\tss= new ServerSocket(PORT);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace(); // Default\n\t\t}\n\t}",
"public static int openSocket() throws IOException {\n serverSocket = new ServerSocket(0, 10, InetAddress.getLocalHost());\n return serverSocket.getLocalPort();\n }",
"private ServerSocket setUpServer(){\n ServerSocket serverSocket = null;\n try{\n serverSocket = new ServerSocket(SERVER_PORT);\n\n }\n catch (IOException ioe){\n throw new RuntimeException(ioe.getMessage());\n }\n return serverSocket;\n }",
"public ServerSocket createServerSocket(int arg0, int arg1, InetAddress arg2) throws IOException {\n return null;\n }",
"private static void createServerSocket() throws SocketTimeoutException, IOException, SocketTimeoutException {\r\n serverSocket.setSoTimeout(10000);\r\n socket = serverSocket.accept();\r\n System.out.println(\"Server: connection to: \" + socket.getInetAddress());\r\n }",
"public Server(int port)\r\n\t\t{\r\n log(\"Initialising port \" + port);\r\n\r\n\t\t// Set the port\r\n\t\tthis.port = port;\r\n\r\n // Create the server socket\r\n createServerSocket();\r\n \t}",
"public void openServer() {\n try {\n this.serverSocket = new ServerSocket(this.portNumber);\n } catch (IOException ex) {\n System.out.println(ex);\n }\n }",
"public int start() throws IOException{\n\t\tClientThread listenerThread = new ClientThread(this);\n\t\tlistenerSock = listenerThread.initSocket();\n\t\tint newPort = listenerSock.getLocalPort();\n\t\tclientPort = newPort;\n\t\tt = new Thread(listenerThread);\n\t\tt.start();\n\t\tsock = new Socket(serverIP, port);\n\t\treturn newPort;\n\t}",
"public ChatRoomServer(int portNumber){\n this.ClientPort = portNumber;\n }",
"public TCPServer(int portNumber){\r\n\t\t// Abro el socket en el puerto dado y obtengo los stream\r\n\t\ttry {\r\n\t\t\tmServerSocket = new ServerSocket(portNumber);\r\n\t\t} catch (IOException e) { e.printStackTrace(); }\r\n\t}",
"@Override\r\n\tpublic Socket createSocket(InetAddress host, int port) throws IOException {\n\t\treturn null;\r\n\t}",
"public Socket createSocket() {\n try {\n // Create socket\n server = new Socket(\"127.0.0.1\", 8520);\n } catch (IOException ioe) {\n System.out.println(\"IOException: \" + ioe.getMessage());\n }\n return server;\n }",
"public Server() {\n try {\n welcomeSocket = new ServerSocket(PORT);\n System.out.println(\"Server listening on \" + PORT);\n } catch (IOException e) {\n System.out.println(\"Error creating welcome socket. Is this socket available?\");\n }\n }",
"public int createSocket()\n\t{\n\t\t\n\t}",
"public void start() {\n\t\t\n\t\ttry {\n\t\t\tmainSocket = new DatagramSocket(PORT_NUMBER);\n\t\t}\n\t\tcatch(SocketException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t\n\t\t//Lambda expression to shorten the run method\n\t\tThread serverThread = new Thread( () -> {\n\t\t\tlisten();\n\t\t});\n\t\t\n\t\tserverThread.start();\n\t}",
"public void startServerSocket(Integer port) throws IOException {\n this.port = port;\n startMEthod();\n }",
"public OOXXServer(){\n\t\ttry\n\t\t{\n\t\t\tserver = new ServerSocket(port);\n\t\t\t\n\t\t}\n\t\tcatch(java.io.IOException e)\n\t\t{\n\t\t}\n\t}",
"public Server(){\n\t\ttry {\n\t\t\t// initialize the server socket with the specified port\n\t\t\tsetServerSocket(new ServerSocket(PORT));\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"IO Exception while creating a server\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public int getLocalPort() {\n return _listenSocket.getLocalPort();\n }",
"public SocketIO(int port) throws UnknownHostException, IOException\n\t{\n\t\tthis((new ServerSocket(port)).accept());\n\t}",
"int serverPort ();",
"public Server(int port) {\n this.port = port;\n try {\n socket = new DatagramSocket(port);\n } catch (SocketException e) {\n e.printStackTrace();\n }\n run = new Thread(this, \"Server\");\n run.start();\n }",
"public Server(int port) {\n this.port = port;\n try {\n sock = new ServerSocket(port);\n clientSock = sock.accept();\n\n //Connection established, do some fancy stuff here\n processReq();\n } catch (IOException e) {\n System.err.println(\"ERROR: Sth failed while creating server socket :( \");\n }\n }",
"public TCPAdapter(int port) throws IOException {\n\t\tLOG.info(\"Binding port: \"+Integer.toString(port));\n\t\tthis.socket = new ServerSocket(port);\n\t}",
"public EnvironmentSocket createNewSocket(String host, int port) throws IOException {\n Socket socket = new Socket(host, port);\n return wrapperSocket(socket);\n }",
"public static RoMServer createServer(int serverPort) throws IOException, Exception {\r\n \t\treturn RoMServer.createServer(InetAddress.getLocalHost(), serverPort);\r\n \t}",
"public static void serverConnection(String port) throws IOException{\n\t\t\n\t\t//Extract the port number\n\t\tint port_num;\n\t\tif (port.length() != 0) {\n\t\t\tport_num = Integer.parseInt(port); \n\t\t}\n\t\telse {\n\t\t\tport_num = 4444; \n\t\t}\n\t\t\n\t\t\n\t\t//Create server socket\n\t\tServerSocket serverSocket = null; \n\t\ttry {\n\t\t\tserverSocket = new ServerSocket(port_num);\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"Could not listen to port: \" + port); \n\t\t}\n\t\t\n\t\t//Accept client socket\n\t\tSocket clientSocket = null; \n\t\tboolean open = true;\n\t\twhile(open) {\n\t\t\ttry {\n\t\t\t\tclientSocket = serverSocket.accept(); \n\n\t\t\t}catch(IOException e) {\n\t\t\t\tif (!open) {\n\t\t\t\t\tSystem.err.println(\"Server not running\");\n\t\t\t}\t\n\t\t }\t\n\t\t}\t\t\n\t}",
"@Override\n public Socket createSocket(final InetAddress host, final int port, \n final InetAddress localHost, final int localPort) \n throws IOException {\n return createSocket(host, port);\n }",
"public void start(int port);",
"public Socket createSocket(InetAddress host, int port) throws IOException {\n return new Socket(host, port);\n }",
"public void listen(final int port) {\n listen(port, \"localhost\");\n }",
"public void creatSocket() {\n\n try {\n\n server = new ServerSocket(PORT);\n\n mExecutorService = Executors.newCachedThreadPool();\n\n while (true) {\n\n Socket client = server.accept();\n\n mExecutorService.execute(new SockectService(client));\n\n Log.d(TAG, \"Creating Socket\" );\n\n }\n\n } catch (Exception e) {\n\n e.printStackTrace();\n\n }\n\n }",
"@Override\n public Socket createSocket(final String host, final int port, \n final InetAddress localHost, final int localPort)\n throws IOException, UnknownHostException {\n return createSocket(host, port);\n }",
"public Server(int port){\n\t\ttry {\n\t\t\tdatagramSocket = new DatagramSocket(port);\n\t\t\trequest = new byte[280];\n\t\t} catch (SocketException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\n\t}",
"public Socket createSocket(String host, int port) throws IOException, UnknownHostException {\n return getSSLContext().getSocketFactory().createSocket( host, port );\n }",
"public ServerMain( int port )\r\n\t{\r\n\t\tthis.port = port;\r\n\t\tserver = new Server( this.port );\r\n\t}",
"public void startClientServer() {\n try {\n this.server_socket = new ServerSocket( port );\n this.start();\n } catch (IOException e ) {\n System.err.println( \"Failure: Socket couldn't OPEN! -> \" + e );\n } finally {\n System.out.println( \"Success: Server socket is now Listening on port \" + port + \"...\" );\n }\n }",
"int getUdpServerPort();",
"@Override\r\n\tpublic Socket createSocket(String host, int port, InetAddress localHost,\r\n\t\t\tint localPort) throws IOException, UnknownHostException {\n\t\treturn null;\r\n\t}",
"public GameServer(int portNum)\n\t{\n\t\tport = portNum;\n\t}",
"public SocketAcceptor(\n Reactor reactor,\n ServiceHandlerFactory factory,\n int port)\n throws IOException {\n this._reactor = reactor;\n this._factory = factory;\n\n // creates the server-side communication handle.\n this._handle = ServerSocketChannel.open();\n this._handle.socket().bind(new InetSocketAddress(port));\n\n // we want the channel to be non-blocking.\n this._handle.configureBlocking(false);\n\n // register this object to the Reactor on our communication channel with \n // the specified accept event.\n this._reactor.register(this, SelectionKey.OP_ACCEPT);\n }",
"public void start(int port)\n\t{\n\t\t// Initialize and start the server sockets. 08/10/2014, Bing Li\n\t\tthis.port = port;\n\t\ttry\n\t\t{\n\t\t\tthis.socket = new ServerSocket(this.port);\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// Initialize a disposer which collects the server listener. 08/10/2014, Bing Li\n\t\tMyServerListenerDisposer disposer = new MyServerListenerDisposer();\n\t\t// Initialize the runner list. 11/25/2014, Bing Li\n\t\tthis.listenerRunnerList = new ArrayList<Runner<MyServerListener, MyServerListenerDisposer>>();\n\t\t\n\t\t// Start up the threads to listen to connecting from clients which send requests as well as receive notifications. 08/10/2014, Bing Li\n\t\tRunner<MyServerListener, MyServerListenerDisposer> runner;\n\t\tfor (int i = 0; i < ServerConfig.LISTENING_THREAD_COUNT; i++)\n\t\t{\n\t\t\trunner = new Runner<MyServerListener, MyServerListenerDisposer>(new MyServerListener(this.socket, ServerConfig.LISTENER_THREAD_POOL_SIZE, ServerConfig.LISTENER_THREAD_ALIVE_TIME), disposer, true);\n\t\t\tthis.listenerRunnerList.add(runner);\n\t\t\trunner.start();\n\t\t}\n\n\t\t// Initialize the server IO registry. 11/07/2014, Bing Li\n\t\tMyServerIORegistry.REGISTRY().init();\n\t\t// Initialize a client pool, which is used by the server to connect to the remote end. 09/17/2014, Bing Li\n\t\tClientPool.SERVER().init();\n\t}",
"public ServidorSocket() throws IOException {\n\t\tservidor = new ServerSocket(PUERTO);\n\t\tcliente = new Socket();\n\t}",
"@Override\r\n\tpublic Socket createSocket(InetAddress address, int port,\r\n\t\t\tInetAddress localAddress, int localPort) throws IOException {\n\t\treturn null;\r\n\t}",
"public void start() throws IOException {\n\t\tserverSocket = new ServerSocket(port);\n\t\tserverCallbacks.forEach(c -> c.onServerStarted(this, port));\n\t}",
"public Server() throws IOException {\n try {\n this.serverSocket = new ServerSocket(this.port,100, InetAddress.getByName(host));\n } catch (UnknownHostException e) {\n System.out.println(\"Erreur lors de la construction du serveur (Hôte inconnu) - Server Constructor Error\");\n e.printStackTrace();\n } catch(IOException e) {\n e.printStackTrace();\n }\n }",
"Builder port(int port);",
"public static int choosePort() {\n try (ServerSocket s = new ServerSocket(0)) {\n return s.getLocalPort();\n } catch (IOException ex) {\n throw new DeltaException(\"Failed to find a port\");\n }\n }",
"Port createPort();",
"Port createPort();",
"public MemcachedServerSocket(int port, int clientTimeout) throws IOException {\n this(new InetSocketAddress(port), clientTimeout);\n }",
"public static int getServerPort(){\n return thisServer.getPort();\n }",
"public TCPServer(String ip, int port) throws SocketException\n\t{\n\t\tsuper(ip, port);\n\t\tsetCheck(null);\n\t}",
"public int getPort() {\n return serverSocket.getLocalPort();\n }",
"private void startServer(int port) throws IOException {\n System.out.println(\"Booting the server!\");\n\n // Open the server channel.\n serverSocketChannel = ServerSocketChannel.open();\n serverSocketChannel.bind(new InetSocketAddress(port));\n serverSocketChannel.configureBlocking(false);\n\n // Register the channel into the selector.\n selector = Selector.open();\n serverSocketChannel.register(selector, SelectionKey.OP_ACCEPT);\n }",
"public Socket setupSocket(final String serverIP, final String serverPort) {\n mServerIP = serverIP;\n mServerPort = serverPort;\n mServerUrl = \"http://\" + mServerIP + \":\" + mServerPort;\n try {\n mSocket = IO.socket(mServerUrl);\n return mSocket;\n } catch (URISyntaxException e) {\n throw new RuntimeException(e);\n }\n }",
"public void init() throws IOException {\r\n try {\r\n serverSocket = new ServerSocket(PORT);\r\n this.running = true;\r\n } catch (IOException e) {\r\n System.out.println(e);\r\n }\r\n }",
"public static int findPort() throws IOException {\n final ServerSocket server = new ServerSocket(0);\n final int port = server.getLocalPort();\n server.close();\n\n return port;\n }",
"public ClientListener(int port) throws Exception {\n listener = SocketServices.buildServerSocket(port);\n\n Thread listenerThread = new Thread(this::runServer);\n listenerThread.setName(\"ClientListener\");\n listenerThread.start();\n }",
"public Socket createSocket( final InetAddress address, final int port )\n throws IOException\n {\n return new Socket( address, port );\n }",
"public Socket createSocket(String host, int port) throws IOException {\n\n SSLSocketFactory factory =\n (SSLSocketFactory)SSLSocketFactory.getDefault();\n SSLSocket socket = (SSLSocket)factory.createSocket(host, port);\n\n return socket;\n }",
"public static RoMServer createServer() throws IOException, Exception {\r\n \t\t// Ip and Port out of config\r\n \t\tIConfig cfg = ConfigurationFactory.getConfig();\r\n \r\n \t\treturn RoMServer.createServer(cfg.getIp(), cfg.getPort());\r\n \t}",
"public void startNetwork(int port);",
"public interface ServerSocketFactory {\n\n\t\tpublic ServerSocket create() throws IOException;\n\n\t}",
"public Socket createSocket( String host, int port, InetAddress clientHost, int clientPort) throws IOException, UnknownHostException {\n return getSSLContext().getSocketFactory().createSocket( host, port, clientHost, clientPort );\n }",
"public Server(String serverName, int portNumber) {\n\t\ttry {\n\t\t\t//bind serverSocket to the port number\n\t\t\tserverSocket = new ServerSocket(portNumber);\n\t\t\tSystem.out.println(\"[SERVER] waiting for client connection......\\n\");\n\t\t\t//listen for a connection to be made to this socket and accept it\n\t\t\tpalinSocket = serverSocket.accept();\n\t\t\tSystem.out.println(\"[SERVER] is now running......\\n\");\n\t\t\t//send information to client\n\t\t\t//getOutputStream() returns an output stream for this socket\n\t\t\t//parameter autoFlush - A boolean\n\t\t\t//if true, the println, printf, or format methods will flush the output buffer\n\t\t\tsocketOut = new PrintWriter(palinSocket.getOutputStream(), true);\n\t\t\t//recerive informatoin from client\n\t\t\tsocketIn = new BufferedReader(new InputStreamReader (palinSocket.getInputStream()));\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(e.getStackTrace());\n\t\t}\n\t}",
"public void startServer() throws IOException {\n log.info(\"Starting server in port {}\", port);\n try {\n serverSocket = new ServerSocket(port);\n this.start();\n log.info(\"Started server. Server listening in port {}\", port);\n } catch (IOException e) {\n log.error(\"Error starting the server socket\", e);\n throw e;\n }\n }",
"public static void listenSocket(String host, int port) {\r\n\t\ttry {\r\n\t\t\t//make the socket and appropriate streams\r\n\t\t\tsocket = new Socket(host, port);\r\n\t\t\t\r\n\t\t\tout = new PrintWriter(socket.getOutputStream(), true);\r\n\t\t\tin = new BufferedReader(new InputStreamReader(socket.getInputStream()));\r\n\t\t\tdis = new DataInputStream(socket.getInputStream());\r\n\t\t}\r\n\t\tcatch (UnknownHostException e) {\r\n\t\t\tSystem.out.println(\"Unknown host\");\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t\tcatch (IOException e) {\r\n\t\t\tSystem.out.println(\"No I/O\");\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t}",
"public Socket createSocket( final InetAddress address,\n final int port,\n final InetAddress localAddress,\n final int localPort )\n throws IOException\n {\n return new Socket( address, port, localAddress, localPort );\n }",
"public interface CallServerSocketFactory {\n /**\n * @param pServerAddress Server identifier (DNS, IP, URL, etc.), can null\n */\n ServerSocket createSocket(\n String pServerAddress, \n int pPort)\n throws \n IOException;\n}",
"public void InitSocket(String server, int port) throws IOException {\r\n socket = new Socket(server, port);\r\n outputStream = socket.getOutputStream();\r\n\r\n Thread receivingThread = new Thread() {\r\n @Override\r\n public void run() {\r\n try {\r\n BufferedReader reader = new BufferedReader(\r\n new InputStreamReader(socket.getInputStream()));\r\n String line;\r\n while ((line = reader.readLine()) != null) {\r\n notifyObservers(line);\r\n }\r\n } catch (IOException ex) {\r\n notifyObservers(ex);\r\n }\r\n }\r\n };\r\n receivingThread.start();\r\n }",
"protected void bind(InetAddress host, int port) throws IOException {\n localport = port;\n }",
"public static SSLServerSocket createSSLServerSocket(String hostName, int port, KeyManager[] keyManagers)\n\t\t\tthrows IOException, KeyManagementException, NoSuchAlgorithmException {\n\n\t\tSSLContext sc = SSLContext.getInstance(\"TLS\");\n\t\tsc.init(keyManagers, null, null);\n\t\tSSLServerSocketFactory ssf = sc.getServerSocketFactory();\n\t\tSSLServerSocket serverSocket = (SSLServerSocket) ssf.createServerSocket();\n\n\t\tInetSocketAddress endpoint = new InetSocketAddress(hostName, port);\n\t\tserverSocket.bind(endpoint);\n\t\treturn serverSocket;\n\t}",
"default int getPort() {\n return getServer().getPort();\n }",
"@Override\r\n\tpublic boolean listenAt(int port) {\n\t\ttry {\r\n\t\t\tserverSocket = new ServerSocket(port);\r\n\t\t\tsocket = serverSocket.accept();\r\n\t\t\toutStreamServer = socket.getOutputStream();\r\n\t\t\tinStreamServer = socket.getInputStream();\r\n\t\t\treturn true;\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn false;\r\n\t\t} finally {\r\n\t\t}\r\n\t}",
"private void initSocket(String host, String port) throws IOException {\n\t\t// check the validity of the host name\n\t\tif (host == null || host.isEmpty()) throw new IllegalArgumentException(\"host == null || host.isEmpty()\");\n\t\t// check the validity of the port number\n\t\tint p = 0;\n\t\ttry {\n\t\t\tp = Integer.parseInt(port);\n\t\t} catch (NumberFormatException e) {\n\t\t\tthrow new IllegalArgumentException(\"Illegal port argument\");\n\t\t}\n\t\tif (p <= 0) {\n\t\t\tthrow new IllegalArgumentException(\"Illegal port argument\");\n\t\t}\n\t\t// establish the network connection\n\t\ttry {\n\t\t\tthis.socket = new Socket(host, p);\n\t\t} catch (IOException e) {\n\t\t\tgetErrorManager().error(\"Failed to establish the network connection\", e,\n\t\t\t\tErrorManager.OPEN_FAILURE);\n\t\t\tthrow e;\n\t\t}\n\t\tsuper.internalSetOutputStream(new BufferedOutputStream(this.socket.getOutputStream()));\n\t}"
] |
[
"0.79066765",
"0.79004264",
"0.77011746",
"0.76718813",
"0.752396",
"0.7501004",
"0.74719197",
"0.7457652",
"0.7454347",
"0.74223334",
"0.7301645",
"0.72954965",
"0.72575355",
"0.7249157",
"0.72462547",
"0.7244361",
"0.72280234",
"0.720109",
"0.716276",
"0.7110897",
"0.71009415",
"0.70929044",
"0.705712",
"0.70522726",
"0.70483154",
"0.702097",
"0.69739705",
"0.6963813",
"0.6932416",
"0.6911487",
"0.69037443",
"0.68543416",
"0.6835967",
"0.6808409",
"0.6808359",
"0.67811483",
"0.6773461",
"0.6767851",
"0.6762787",
"0.6757959",
"0.6725806",
"0.6714716",
"0.67140585",
"0.6710756",
"0.6706833",
"0.6675211",
"0.6661047",
"0.66398567",
"0.6630835",
"0.66222286",
"0.6614453",
"0.66105705",
"0.660976",
"0.6601204",
"0.65921044",
"0.65730083",
"0.6564484",
"0.6546345",
"0.64856154",
"0.64839745",
"0.647482",
"0.64403236",
"0.64375585",
"0.6426646",
"0.6412501",
"0.64055747",
"0.6403015",
"0.6395208",
"0.639475",
"0.6386685",
"0.63693845",
"0.636882",
"0.6358579",
"0.6358579",
"0.6348869",
"0.6319187",
"0.63123727",
"0.6312214",
"0.6311283",
"0.6310046",
"0.6304914",
"0.63009506",
"0.62832004",
"0.62818927",
"0.62782687",
"0.6257401",
"0.62363386",
"0.6234248",
"0.6228051",
"0.6225753",
"0.6224178",
"0.62109995",
"0.620814",
"0.62063384",
"0.6190793",
"0.618838",
"0.61877865",
"0.61795413",
"0.6178753",
"0.61697286"
] |
0.6497981
|
58
|
Creates just a port listening server socket
|
public MemcachedServerSocket(int port, int clientTimeout) throws IOException {
this(new InetSocketAddress(port), clientTimeout);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public static ServerSocket createServerSocket() {\n \t\n try {\n listener = new ServerSocket(PORT,1, InetAddress.getByName(hostname));\n } catch (IOException e) {\n e.printStackTrace();\n }\n return listener;\n }",
"public ServerSocket createSocket (int port)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;",
"private ServerSocket createServerSocket() throws IOException {\n ServerSocket serverSocket = new ServerSocket(Constants.SERVER_PORT);\n System.out.printf(\"Server for chatting started at %d\\n\", Constants.SERVER_PORT);\n return serverSocket;\n }",
"private void createServerSocket()\r\n {\r\n\t\tDebug.assert(port != 0, \"(Server/105)\");\r\n try {\r\n serverSocket = new ServerSocket(port);\r\n serverSocket.setSoTimeout(TIMEOUT);\r\n\t }\r\n\t catch (IOException e)\r\n\t \t{\r\n log(\"Could not create ServerSocket on port \" + port);\r\n\t \tDebug.printStackTrace(e);\r\n System.exit(-1);\r\n\t }\r\n }",
"public ServerSocket createSocket (int port, int backlog)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;",
"private void startListen() {\n try {\n listeningSocket = new ServerSocket(listeningPort);\n } catch (IOException e) {\n throw new RuntimeException(\"Cannot open listeningPort \" + listeningPort, e);\n }\n }",
"private void initServerSocket()\n\t{\n\t\tboundPort = new InetSocketAddress(port);\n\t\ttry\n\t\t{\n\t\t\tserverSocket = new ServerSocket(port);\n\n\t\t\tif (serverSocket.isBound())\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Server bound to data port \" + serverSocket.getLocalPort() + \" and is ready...\");\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tSystem.out.println(\"Unable to initiate socket.\");\n\t\t}\n\n\t}",
"public Server() throws IOException\n {\n socket = new ServerSocket(port);\n }",
"public Server(int port) throws IOException{\n\t\tsuper();\n\t\tthis.serversocket= new java.net.ServerSocket(port);\n\t\t\n\t\tif (DEBUG){\n\t\t\tSystem.out.println(\"Server socket created:\" + this.serversocket.getLocalPort());\n\t\t\tclient_list.add(String.valueOf(this.serversocket.getLocalPort()));\n\t\t}\n\t}",
"private static void openServerSocket(int port) {\n\t\ttry {\n\t\t\tserverSocket = new ServerSocket(port);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Server Error\");\n\t\t}\n\t}",
"private static ServerSocket startServer(int port) {\n if (port != 0) {\n ServerSocket serverSocket;\n try {\n serverSocket = new ServerSocket(port);\n System.out.println(\"Server listening, port: \" + port + \".\");\n System.out.println(\"Waiting for connection... \");\n return serverSocket;\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return null;\n }",
"public ServerSocket createSocket (int port, int backlog,\n InetAddress ifAddress)\n throws IOException, KeyStoreException, NoSuchAlgorithmException,\n CertificateException, UnrecoverableKeyException,\n KeyManagementException;",
"public static ServerSocket createServerSocket(String hostName, int port) throws IOException {\n\t\tServerSocket serverSocket = new ServerSocket();\n\t\tInetSocketAddress endpoint = new InetSocketAddress(hostName, port);\n\t\tserverSocket.bind(endpoint);\n\t\treturn serverSocket;\n\t}",
"public ServerSocket createServerSocket(int arg0) throws IOException {\n return null;\n }",
"public DefaultTCPServer(int port) throws Exception {\r\n\t\tserverSocket = new ServerSocket(port);\t}",
"private void listen() {\n\t\ttry {\n\t\t\tServerSocket servSocket = new ServerSocket(PORT);\n\t\t\tSocket clientSocket;\n\t\t\twhile(true) {\n\t\t\t\tclientSocket = servSocket.accept();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(\"Error - Could not open connection\");\n\t\t}\n\t\t\n\t}",
"public EnvironmentServerSocket createServerSocket(int port) throws IOException {\n return new EnvironmentServerSocketImpl(new ServerSocket(port), this);\n }",
"public ServerSocket createServerSocket(int arg0, int arg1) throws IOException {\n return null;\n }",
"private void initServerSock(int port) throws IOException {\n\tserver = new ServerSocket(port);\n\tserver.setReuseAddress(true);\n }",
"public Server() throws IOException{\n\t\tsuper();\n\t\tthis.serversocket = new java.net.ServerSocket(DEFAULTPORT);\n\t\tif (DEBUG){\n\t\t\tSystem.out.println(\"Server socket created:\" + this.serversocket.getLocalPort());\n\t\t\tclient_list.add(String.valueOf(this.serversocket.getLocalPort()));\n\t\t}\n\t}",
"Integer listeningPort();",
"void startServer(int port) throws Exception;",
"public TCPServer(int port) throws IOException {\n\tthis.socket = new ServerSocket(port);\n\tthis.clients = new ArrayList();\n\n\tSystem.out.println(\"SERVER: Started\");\n }",
"public static ServerSocket getServerSocket(){\n if (listener == null) {\n listener = createServerSocket();\n }\n return listener;\n }",
"public Server() {\n\t\t\n\t\ttry {\n\t\t\tss= new ServerSocket(PORT);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace(); // Default\n\t\t}\n\t}",
"public static int openSocket() throws IOException {\n serverSocket = new ServerSocket(0, 10, InetAddress.getLocalHost());\n return serverSocket.getLocalPort();\n }",
"private ServerSocket setUpServer(){\n ServerSocket serverSocket = null;\n try{\n serverSocket = new ServerSocket(SERVER_PORT);\n\n }\n catch (IOException ioe){\n throw new RuntimeException(ioe.getMessage());\n }\n return serverSocket;\n }",
"public ServerSocket createServerSocket(int arg0, int arg1, InetAddress arg2) throws IOException {\n return null;\n }",
"private static void createServerSocket() throws SocketTimeoutException, IOException, SocketTimeoutException {\r\n serverSocket.setSoTimeout(10000);\r\n socket = serverSocket.accept();\r\n System.out.println(\"Server: connection to: \" + socket.getInetAddress());\r\n }",
"public Server(int port)\r\n\t\t{\r\n log(\"Initialising port \" + port);\r\n\r\n\t\t// Set the port\r\n\t\tthis.port = port;\r\n\r\n // Create the server socket\r\n createServerSocket();\r\n \t}",
"public void openServer() {\n try {\n this.serverSocket = new ServerSocket(this.portNumber);\n } catch (IOException ex) {\n System.out.println(ex);\n }\n }",
"public int start() throws IOException{\n\t\tClientThread listenerThread = new ClientThread(this);\n\t\tlistenerSock = listenerThread.initSocket();\n\t\tint newPort = listenerSock.getLocalPort();\n\t\tclientPort = newPort;\n\t\tt = new Thread(listenerThread);\n\t\tt.start();\n\t\tsock = new Socket(serverIP, port);\n\t\treturn newPort;\n\t}",
"public ChatRoomServer(int portNumber){\n this.ClientPort = portNumber;\n }",
"public TCPServer(int portNumber){\r\n\t\t// Abro el socket en el puerto dado y obtengo los stream\r\n\t\ttry {\r\n\t\t\tmServerSocket = new ServerSocket(portNumber);\r\n\t\t} catch (IOException e) { e.printStackTrace(); }\r\n\t}",
"@Override\r\n\tpublic Socket createSocket(InetAddress host, int port) throws IOException {\n\t\treturn null;\r\n\t}",
"public Socket createSocket() {\n try {\n // Create socket\n server = new Socket(\"127.0.0.1\", 8520);\n } catch (IOException ioe) {\n System.out.println(\"IOException: \" + ioe.getMessage());\n }\n return server;\n }",
"public Server() {\n try {\n welcomeSocket = new ServerSocket(PORT);\n System.out.println(\"Server listening on \" + PORT);\n } catch (IOException e) {\n System.out.println(\"Error creating welcome socket. Is this socket available?\");\n }\n }",
"public int createSocket()\n\t{\n\t\t\n\t}",
"public void start() {\n\t\t\n\t\ttry {\n\t\t\tmainSocket = new DatagramSocket(PORT_NUMBER);\n\t\t}\n\t\tcatch(SocketException ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t\n\t\t//Lambda expression to shorten the run method\n\t\tThread serverThread = new Thread( () -> {\n\t\t\tlisten();\n\t\t});\n\t\t\n\t\tserverThread.start();\n\t}",
"public void startServerSocket(Integer port) throws IOException {\n this.port = port;\n startMEthod();\n }",
"public OOXXServer(){\n\t\ttry\n\t\t{\n\t\t\tserver = new ServerSocket(port);\n\t\t\t\n\t\t}\n\t\tcatch(java.io.IOException e)\n\t\t{\n\t\t}\n\t}",
"public Server(){\n\t\ttry {\n\t\t\t// initialize the server socket with the specified port\n\t\t\tsetServerSocket(new ServerSocket(PORT));\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"IO Exception while creating a server\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public int getLocalPort() {\n return _listenSocket.getLocalPort();\n }",
"public SocketIO(int port) throws UnknownHostException, IOException\n\t{\n\t\tthis((new ServerSocket(port)).accept());\n\t}",
"int serverPort ();",
"public Server(int port) {\n this.port = port;\n try {\n socket = new DatagramSocket(port);\n } catch (SocketException e) {\n e.printStackTrace();\n }\n run = new Thread(this, \"Server\");\n run.start();\n }",
"public Server(int port) {\n this.port = port;\n try {\n sock = new ServerSocket(port);\n clientSock = sock.accept();\n\n //Connection established, do some fancy stuff here\n processReq();\n } catch (IOException e) {\n System.err.println(\"ERROR: Sth failed while creating server socket :( \");\n }\n }",
"public TCPAdapter(int port) throws IOException {\n\t\tLOG.info(\"Binding port: \"+Integer.toString(port));\n\t\tthis.socket = new ServerSocket(port);\n\t}",
"public EnvironmentSocket createNewSocket(String host, int port) throws IOException {\n Socket socket = new Socket(host, port);\n return wrapperSocket(socket);\n }",
"public static RoMServer createServer(int serverPort) throws IOException, Exception {\r\n \t\treturn RoMServer.createServer(InetAddress.getLocalHost(), serverPort);\r\n \t}",
"public static void serverConnection(String port) throws IOException{\n\t\t\n\t\t//Extract the port number\n\t\tint port_num;\n\t\tif (port.length() != 0) {\n\t\t\tport_num = Integer.parseInt(port); \n\t\t}\n\t\telse {\n\t\t\tport_num = 4444; \n\t\t}\n\t\t\n\t\t\n\t\t//Create server socket\n\t\tServerSocket serverSocket = null; \n\t\ttry {\n\t\t\tserverSocket = new ServerSocket(port_num);\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"Could not listen to port: \" + port); \n\t\t}\n\t\t\n\t\t//Accept client socket\n\t\tSocket clientSocket = null; \n\t\tboolean open = true;\n\t\twhile(open) {\n\t\t\ttry {\n\t\t\t\tclientSocket = serverSocket.accept(); \n\n\t\t\t}catch(IOException e) {\n\t\t\t\tif (!open) {\n\t\t\t\t\tSystem.err.println(\"Server not running\");\n\t\t\t}\t\n\t\t }\t\n\t\t}\t\t\n\t}",
"@Override\n public Socket createSocket(final InetAddress host, final int port, \n final InetAddress localHost, final int localPort) \n throws IOException {\n return createSocket(host, port);\n }",
"public void start(int port);",
"public Socket createSocket(InetAddress host, int port) throws IOException {\n return new Socket(host, port);\n }",
"public void listen(final int port) {\n listen(port, \"localhost\");\n }",
"public void creatSocket() {\n\n try {\n\n server = new ServerSocket(PORT);\n\n mExecutorService = Executors.newCachedThreadPool();\n\n while (true) {\n\n Socket client = server.accept();\n\n mExecutorService.execute(new SockectService(client));\n\n Log.d(TAG, \"Creating Socket\" );\n\n }\n\n } catch (Exception e) {\n\n e.printStackTrace();\n\n }\n\n }",
"@Override\n public Socket createSocket(final String host, final int port, \n final InetAddress localHost, final int localPort)\n throws IOException, UnknownHostException {\n return createSocket(host, port);\n }",
"public Server(int port){\n\t\ttry {\n\t\t\tdatagramSocket = new DatagramSocket(port);\n\t\t\trequest = new byte[280];\n\t\t} catch (SocketException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\n\t}",
"public MemcachedServerSocket(int port) throws IOException {\n this(port, 0);\n }",
"public Socket createSocket(String host, int port) throws IOException, UnknownHostException {\n return getSSLContext().getSocketFactory().createSocket( host, port );\n }",
"public ServerMain( int port )\r\n\t{\r\n\t\tthis.port = port;\r\n\t\tserver = new Server( this.port );\r\n\t}",
"public void startClientServer() {\n try {\n this.server_socket = new ServerSocket( port );\n this.start();\n } catch (IOException e ) {\n System.err.println( \"Failure: Socket couldn't OPEN! -> \" + e );\n } finally {\n System.out.println( \"Success: Server socket is now Listening on port \" + port + \"...\" );\n }\n }",
"int getUdpServerPort();",
"@Override\r\n\tpublic Socket createSocket(String host, int port, InetAddress localHost,\r\n\t\t\tint localPort) throws IOException, UnknownHostException {\n\t\treturn null;\r\n\t}",
"public GameServer(int portNum)\n\t{\n\t\tport = portNum;\n\t}",
"public SocketAcceptor(\n Reactor reactor,\n ServiceHandlerFactory factory,\n int port)\n throws IOException {\n this._reactor = reactor;\n this._factory = factory;\n\n // creates the server-side communication handle.\n this._handle = ServerSocketChannel.open();\n this._handle.socket().bind(new InetSocketAddress(port));\n\n // we want the channel to be non-blocking.\n this._handle.configureBlocking(false);\n\n // register this object to the Reactor on our communication channel with \n // the specified accept event.\n this._reactor.register(this, SelectionKey.OP_ACCEPT);\n }",
"public void start(int port)\n\t{\n\t\t// Initialize and start the server sockets. 08/10/2014, Bing Li\n\t\tthis.port = port;\n\t\ttry\n\t\t{\n\t\t\tthis.socket = new ServerSocket(this.port);\n\t\t}\n\t\tcatch (IOException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// Initialize a disposer which collects the server listener. 08/10/2014, Bing Li\n\t\tMyServerListenerDisposer disposer = new MyServerListenerDisposer();\n\t\t// Initialize the runner list. 11/25/2014, Bing Li\n\t\tthis.listenerRunnerList = new ArrayList<Runner<MyServerListener, MyServerListenerDisposer>>();\n\t\t\n\t\t// Start up the threads to listen to connecting from clients which send requests as well as receive notifications. 08/10/2014, Bing Li\n\t\tRunner<MyServerListener, MyServerListenerDisposer> runner;\n\t\tfor (int i = 0; i < ServerConfig.LISTENING_THREAD_COUNT; i++)\n\t\t{\n\t\t\trunner = new Runner<MyServerListener, MyServerListenerDisposer>(new MyServerListener(this.socket, ServerConfig.LISTENER_THREAD_POOL_SIZE, ServerConfig.LISTENER_THREAD_ALIVE_TIME), disposer, true);\n\t\t\tthis.listenerRunnerList.add(runner);\n\t\t\trunner.start();\n\t\t}\n\n\t\t// Initialize the server IO registry. 11/07/2014, Bing Li\n\t\tMyServerIORegistry.REGISTRY().init();\n\t\t// Initialize a client pool, which is used by the server to connect to the remote end. 09/17/2014, Bing Li\n\t\tClientPool.SERVER().init();\n\t}",
"public ServidorSocket() throws IOException {\n\t\tservidor = new ServerSocket(PUERTO);\n\t\tcliente = new Socket();\n\t}",
"@Override\r\n\tpublic Socket createSocket(InetAddress address, int port,\r\n\t\t\tInetAddress localAddress, int localPort) throws IOException {\n\t\treturn null;\r\n\t}",
"public void start() throws IOException {\n\t\tserverSocket = new ServerSocket(port);\n\t\tserverCallbacks.forEach(c -> c.onServerStarted(this, port));\n\t}",
"public Server() throws IOException {\n try {\n this.serverSocket = new ServerSocket(this.port,100, InetAddress.getByName(host));\n } catch (UnknownHostException e) {\n System.out.println(\"Erreur lors de la construction du serveur (Hôte inconnu) - Server Constructor Error\");\n e.printStackTrace();\n } catch(IOException e) {\n e.printStackTrace();\n }\n }",
"Builder port(int port);",
"public static int choosePort() {\n try (ServerSocket s = new ServerSocket(0)) {\n return s.getLocalPort();\n } catch (IOException ex) {\n throw new DeltaException(\"Failed to find a port\");\n }\n }",
"Port createPort();",
"Port createPort();",
"public static int getServerPort(){\n return thisServer.getPort();\n }",
"public TCPServer(String ip, int port) throws SocketException\n\t{\n\t\tsuper(ip, port);\n\t\tsetCheck(null);\n\t}",
"public int getPort() {\n return serverSocket.getLocalPort();\n }",
"private void startServer(int port) throws IOException {\n System.out.println(\"Booting the server!\");\n\n // Open the server channel.\n serverSocketChannel = ServerSocketChannel.open();\n serverSocketChannel.bind(new InetSocketAddress(port));\n serverSocketChannel.configureBlocking(false);\n\n // Register the channel into the selector.\n selector = Selector.open();\n serverSocketChannel.register(selector, SelectionKey.OP_ACCEPT);\n }",
"public Socket setupSocket(final String serverIP, final String serverPort) {\n mServerIP = serverIP;\n mServerPort = serverPort;\n mServerUrl = \"http://\" + mServerIP + \":\" + mServerPort;\n try {\n mSocket = IO.socket(mServerUrl);\n return mSocket;\n } catch (URISyntaxException e) {\n throw new RuntimeException(e);\n }\n }",
"public void init() throws IOException {\r\n try {\r\n serverSocket = new ServerSocket(PORT);\r\n this.running = true;\r\n } catch (IOException e) {\r\n System.out.println(e);\r\n }\r\n }",
"public static int findPort() throws IOException {\n final ServerSocket server = new ServerSocket(0);\n final int port = server.getLocalPort();\n server.close();\n\n return port;\n }",
"public ClientListener(int port) throws Exception {\n listener = SocketServices.buildServerSocket(port);\n\n Thread listenerThread = new Thread(this::runServer);\n listenerThread.setName(\"ClientListener\");\n listenerThread.start();\n }",
"public Socket createSocket( final InetAddress address, final int port )\n throws IOException\n {\n return new Socket( address, port );\n }",
"public Socket createSocket(String host, int port) throws IOException {\n\n SSLSocketFactory factory =\n (SSLSocketFactory)SSLSocketFactory.getDefault();\n SSLSocket socket = (SSLSocket)factory.createSocket(host, port);\n\n return socket;\n }",
"public static RoMServer createServer() throws IOException, Exception {\r\n \t\t// Ip and Port out of config\r\n \t\tIConfig cfg = ConfigurationFactory.getConfig();\r\n \r\n \t\treturn RoMServer.createServer(cfg.getIp(), cfg.getPort());\r\n \t}",
"public void startNetwork(int port);",
"public interface ServerSocketFactory {\n\n\t\tpublic ServerSocket create() throws IOException;\n\n\t}",
"public Socket createSocket( String host, int port, InetAddress clientHost, int clientPort) throws IOException, UnknownHostException {\n return getSSLContext().getSocketFactory().createSocket( host, port, clientHost, clientPort );\n }",
"public Server(String serverName, int portNumber) {\n\t\ttry {\n\t\t\t//bind serverSocket to the port number\n\t\t\tserverSocket = new ServerSocket(portNumber);\n\t\t\tSystem.out.println(\"[SERVER] waiting for client connection......\\n\");\n\t\t\t//listen for a connection to be made to this socket and accept it\n\t\t\tpalinSocket = serverSocket.accept();\n\t\t\tSystem.out.println(\"[SERVER] is now running......\\n\");\n\t\t\t//send information to client\n\t\t\t//getOutputStream() returns an output stream for this socket\n\t\t\t//parameter autoFlush - A boolean\n\t\t\t//if true, the println, printf, or format methods will flush the output buffer\n\t\t\tsocketOut = new PrintWriter(palinSocket.getOutputStream(), true);\n\t\t\t//recerive informatoin from client\n\t\t\tsocketIn = new BufferedReader(new InputStreamReader (palinSocket.getInputStream()));\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(e.getStackTrace());\n\t\t}\n\t}",
"public void startServer() throws IOException {\n log.info(\"Starting server in port {}\", port);\n try {\n serverSocket = new ServerSocket(port);\n this.start();\n log.info(\"Started server. Server listening in port {}\", port);\n } catch (IOException e) {\n log.error(\"Error starting the server socket\", e);\n throw e;\n }\n }",
"public static void listenSocket(String host, int port) {\r\n\t\ttry {\r\n\t\t\t//make the socket and appropriate streams\r\n\t\t\tsocket = new Socket(host, port);\r\n\t\t\t\r\n\t\t\tout = new PrintWriter(socket.getOutputStream(), true);\r\n\t\t\tin = new BufferedReader(new InputStreamReader(socket.getInputStream()));\r\n\t\t\tdis = new DataInputStream(socket.getInputStream());\r\n\t\t}\r\n\t\tcatch (UnknownHostException e) {\r\n\t\t\tSystem.out.println(\"Unknown host\");\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t\tcatch (IOException e) {\r\n\t\t\tSystem.out.println(\"No I/O\");\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t}",
"public Socket createSocket( final InetAddress address,\n final int port,\n final InetAddress localAddress,\n final int localPort )\n throws IOException\n {\n return new Socket( address, port, localAddress, localPort );\n }",
"public interface CallServerSocketFactory {\n /**\n * @param pServerAddress Server identifier (DNS, IP, URL, etc.), can null\n */\n ServerSocket createSocket(\n String pServerAddress, \n int pPort)\n throws \n IOException;\n}",
"public void InitSocket(String server, int port) throws IOException {\r\n socket = new Socket(server, port);\r\n outputStream = socket.getOutputStream();\r\n\r\n Thread receivingThread = new Thread() {\r\n @Override\r\n public void run() {\r\n try {\r\n BufferedReader reader = new BufferedReader(\r\n new InputStreamReader(socket.getInputStream()));\r\n String line;\r\n while ((line = reader.readLine()) != null) {\r\n notifyObservers(line);\r\n }\r\n } catch (IOException ex) {\r\n notifyObservers(ex);\r\n }\r\n }\r\n };\r\n receivingThread.start();\r\n }",
"protected void bind(InetAddress host, int port) throws IOException {\n localport = port;\n }",
"public static SSLServerSocket createSSLServerSocket(String hostName, int port, KeyManager[] keyManagers)\n\t\t\tthrows IOException, KeyManagementException, NoSuchAlgorithmException {\n\n\t\tSSLContext sc = SSLContext.getInstance(\"TLS\");\n\t\tsc.init(keyManagers, null, null);\n\t\tSSLServerSocketFactory ssf = sc.getServerSocketFactory();\n\t\tSSLServerSocket serverSocket = (SSLServerSocket) ssf.createServerSocket();\n\n\t\tInetSocketAddress endpoint = new InetSocketAddress(hostName, port);\n\t\tserverSocket.bind(endpoint);\n\t\treturn serverSocket;\n\t}",
"default int getPort() {\n return getServer().getPort();\n }",
"@Override\r\n\tpublic boolean listenAt(int port) {\n\t\ttry {\r\n\t\t\tserverSocket = new ServerSocket(port);\r\n\t\t\tsocket = serverSocket.accept();\r\n\t\t\toutStreamServer = socket.getOutputStream();\r\n\t\t\tinStreamServer = socket.getInputStream();\r\n\t\t\treturn true;\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn false;\r\n\t\t} finally {\r\n\t\t}\r\n\t}",
"private void initSocket(String host, String port) throws IOException {\n\t\t// check the validity of the host name\n\t\tif (host == null || host.isEmpty()) throw new IllegalArgumentException(\"host == null || host.isEmpty()\");\n\t\t// check the validity of the port number\n\t\tint p = 0;\n\t\ttry {\n\t\t\tp = Integer.parseInt(port);\n\t\t} catch (NumberFormatException e) {\n\t\t\tthrow new IllegalArgumentException(\"Illegal port argument\");\n\t\t}\n\t\tif (p <= 0) {\n\t\t\tthrow new IllegalArgumentException(\"Illegal port argument\");\n\t\t}\n\t\t// establish the network connection\n\t\ttry {\n\t\t\tthis.socket = new Socket(host, p);\n\t\t} catch (IOException e) {\n\t\t\tgetErrorManager().error(\"Failed to establish the network connection\", e,\n\t\t\t\tErrorManager.OPEN_FAILURE);\n\t\t\tthrow e;\n\t\t}\n\t\tsuper.internalSetOutputStream(new BufferedOutputStream(this.socket.getOutputStream()));\n\t}"
] |
[
"0.79066765",
"0.79004264",
"0.77011746",
"0.76718813",
"0.752396",
"0.7501004",
"0.74719197",
"0.7457652",
"0.7454347",
"0.74223334",
"0.7301645",
"0.72954965",
"0.72575355",
"0.7249157",
"0.72462547",
"0.7244361",
"0.72280234",
"0.720109",
"0.716276",
"0.7110897",
"0.71009415",
"0.70929044",
"0.705712",
"0.70522726",
"0.70483154",
"0.702097",
"0.69739705",
"0.6963813",
"0.6932416",
"0.6911487",
"0.69037443",
"0.68543416",
"0.6835967",
"0.6808409",
"0.6808359",
"0.67811483",
"0.6773461",
"0.6767851",
"0.6762787",
"0.6757959",
"0.6725806",
"0.6714716",
"0.67140585",
"0.6710756",
"0.6706833",
"0.6675211",
"0.6661047",
"0.66398567",
"0.6630835",
"0.66222286",
"0.6614453",
"0.66105705",
"0.660976",
"0.6601204",
"0.65921044",
"0.65730083",
"0.6564484",
"0.6546345",
"0.6497981",
"0.64856154",
"0.64839745",
"0.647482",
"0.64403236",
"0.64375585",
"0.6426646",
"0.6412501",
"0.64055747",
"0.6403015",
"0.6395208",
"0.639475",
"0.6386685",
"0.63693845",
"0.636882",
"0.6358579",
"0.6358579",
"0.6319187",
"0.63123727",
"0.6312214",
"0.6311283",
"0.6310046",
"0.6304914",
"0.63009506",
"0.62832004",
"0.62818927",
"0.62782687",
"0.6257401",
"0.62363386",
"0.6234248",
"0.6228051",
"0.6225753",
"0.6224178",
"0.62109995",
"0.620814",
"0.62063384",
"0.6190793",
"0.618838",
"0.61877865",
"0.61795413",
"0.6178753",
"0.61697286"
] |
0.6348869
|
75
|
Make sure not to block on accept
|
public void listen() throws Exception {
if (serverSocket != null) {
try {
serverSocket.setSoTimeout(0);
} catch (SocketException sx) {
sx.printStackTrace();
}
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public void acceptTimeout();",
"@Override\n public boolean block() {\n return false;\n }",
"abstract public void accept() throws SystemException;",
"public void blockingReceiveSenderSide() throws OOBException {\n \t}",
"@Override\r\n public boolean accept() {\n return canEat();\r\n }",
"@Override\n\tpublic boolean canReceive() {\n\t\treturn false;\n\t}",
"@Override\n protected void handleConnection(final Socket sock) throws IOException {\n sock.getInputStream().read();\n\n stopAcceptingConnections();\n }",
"public int get_max_accept() throws Exception;",
"public final boolean accept() {\n boolean result = false;\n\n try {\n result = accept(inputStream);\n }\n catch (IOException e) {\n // translate into a runtime exception.\n throw new IllegalStateException(e);\n }\n\n return result;\n }",
"@Override\n protected void handleConnection(final Socket sock) throws IOException {\n sock.setSoTimeout(1);\n sock.getInputStream().read();\n\n stopAcceptingConnections();\n }",
"void startListening()\n {\n if (outstanding_accept != null || open_connection != null) {\n return;\n }\n \n outstanding_accept = new AcceptThread(bt_adapter, handler);\n outstanding_accept.start();\n }",
"void blocked(HttpServletRequest request, HttpServletResponse response) throws IOException;",
"@Override\r\n public boolean blocksForInput(@NotNull ConversationContext context) {\r\n return true;\r\n }",
"public void task() {\n try {\n Socket peerSocket = listeningSocket.accept(); // waits here until something tries to connect\n if (peerSocket != null) { addPeer(peerSocket); }\n } catch (IOException e) {\n throw new RuntimeException(\"Error accepting client connection\", e);\n }\n }",
"public void accept()\n { ua.accept();\n changeStatus(UA_ONCALL);\n if (ua_profile.hangup_time>0) automaticHangup(ua_profile.hangup_time); \n printOut(\"press 'enter' to hangup\"); \n }",
"public boolean isAccept(){\n return isAccept; \n }",
"boolean isAccepting();",
"@Override\n\tpublic boolean rejectIt() {\n\t\treturn false;\n\t}",
"boolean supportsAccepts();",
"private void manageAcceptedPacket(MeetingPacket packet) {\n Console.comment(\"=> Meeting response packet accepted from \" + packet.getSourceAddress()) ;\n\n if(this.callbackOnAccepted != null) {\n this.callbackOnAccepted.handle(packet.getSourceUser()) ;\n }\n }",
"private void acceptCall() {\n\t\ttry {\n\t\t\tupdateText(\"Pratar med \", call.getPeerProfile().getUserName());\n\t\t\tcall.answerCall(30);\n\t\t\tcall.startAudio();\n\t\t\tif (call.isMuted()) {\n\t\t\t\tcall.toggleMute();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tif (call != null) {\n\t\t\t\tcall.close();\n\t\t\t}\n\n\t\t}\n\t}",
"private void manageConnectedSocket(BluetoothSocket acceptSocket) {\n\n }",
"protected abstract boolean accept(InputStream inputStream) throws IOException;",
"@Override\n\tprotected void doIsPermitted(String arg0, Handler<AsyncResult<Boolean>> arg1) {\n\t\t\n\t}",
"private boolean isBlocked() {\n return block_state <= 1;\n }",
"boolean consume (SocketChannel chan) {\n try {\n consumeBuffer.clear ();\n int c = chan.read (consumeBuffer);\n if (c == -1)\n return true;\n } catch (IOException e) {\n return true;\n }\n return false;\n }",
"private void receiveAcceptance(AcceptMessage acceptMessage) throws CantReceiveAcceptanceException {\n\n try {\n\n ProtocolState protocolState = ProtocolState.PROCESSING_SEND;\n\n cryptoAddressesNetworkServiceDao.acceptAddressExchangeRequest(\n acceptMessage.getRequestId(),\n acceptMessage.getCryptoAddress(),\n protocolState\n );\n\n cryptoAddressesNetworkServiceDao.changeActionState(acceptMessage.getRequestId(), RequestAction.RECEIVED);\n cryptoAddressesNetworkServiceDao.changeProtocolState(acceptMessage.getRequestId(),ProtocolState.WAITING_RESPONSE);\n\n final CryptoAddressRequest cryptoAddressRequest = cryptoAddressesNetworkServiceDao.getPendingRequest(acceptMessage.getRequestId());\n\n executorService.submit(new Runnable() {\n @Override\n public void run() {\n try {\n sendNewMessage(\n getProfileSenderToRequestConnection(\n cryptoAddressRequest.getIdentityPublicKeyRequesting(),\n NetworkServiceType.UNDEFINED,\n platformComponentTypeSelectorByActorType(cryptoAddressRequest.getIdentityTypeRequesting())\n ),\n getProfileDestinationToRequestConnection(\n cryptoAddressRequest.getIdentityPublicKeyResponding(),\n NetworkServiceType.UNDEFINED,\n platformComponentTypeSelectorByActorType(cryptoAddressRequest.getIdentityTypeResponding())\n ),\n buildJsonReceivedMessage(cryptoAddressRequest));\n } catch (CantSendMessageException | InvalidParameterException e) {\n reportUnexpectedException(e);\n }\n }\n });\n\n\n\n\n } catch (CantAcceptAddressExchangeRequestException | PendingRequestNotFoundException e){\n // PendingRequestNotFoundException - THIS SHOULD' HAPPEN.\n reportUnexpectedException(e);\n throw new CantReceiveAcceptanceException(e, \"\", \"Error in crypto addresses DAO\");\n } catch (Exception e){\n\n reportUnexpectedException(e);\n throw new CantReceiveAcceptanceException(FermatException.wrapException(e), null, \"Unhandled Exception.\");\n }\n }",
"private void handleAccept(SelectionKey sk) throws IOException {\n\t\t\tSocketChannel accepted_channel = server_socket_channel.accept();\n\t\t\tif (accepted_channel != null) {\n\t\t\t\taccepted_channel.configureBlocking(false);\n\t\t\t\t\n\t\t\t\t//Create an SSL engine for this connection\n\t\t\t\tssl_engine = ssl_context.createSSLEngine(\"localhost\", accepted_channel.socket().getPort());\n\t\t\t\tssl_engine.setUseClientMode(false);\n\t\t\t\t\n\t\t\t\t// Create a SSL Socket Channel for the channel & engine\n\t\t\t\tSSLSocketChannel ssl_socket_channel = new SSLSocketChannel(accepted_channel, ssl_engine);\n\t\t\t\t\n\t\t\t\t// Create a new session class for the user\n\t\t\t\tSSLClientSession session = new SSLClientSession(ssl_socket_channel);\n\t\t\t\t\n\t\t\t\t// Register for OP_READ with ssl_socket_channel as attachment\n\t\t\t\tSelectionKey key = accepted_channel.register(server_selector, SelectionKey.OP_READ, session);\n\t\t\t\t\n\t\t\t\tsession.setSelectionKey(key);\n\t\t\t\t\n\t\t\t\tnum_players_connected++;\n\n\t\t\t\t// Add client to open channels map\n\t\t\t\topen_client_channels.put(ssl_socket_channel, session);\n\t\t\t\t\n\t\t\t\tSystem.out.println(\"Thread with ID - \" + this.getName() + \" - accepted a connection.\");\n\t\t\t}\n\t\t}",
"private void handleAcceptable(@NotNull SelectionKey selectionKey) throws IOException {\n logger.debug(\"handling acceptable\");\n ServerSocketChannel serverChannel = (ServerSocketChannel) selectionKey.channel();\n SocketChannel socketChannel = serverChannel.accept();\n logger.debug(\"got client socket channel :\" + socketChannel.toString());\n\n socketChannel.configureBlocking(false);\n SelectionKey clientKey = socketChannel.register(selector, SelectionKey.OP_READ);\n MessageReader reader = new MessageReader((SocketChannel) clientKey.channel());\n clientKey.attach(reader);\n }",
"public void acceptedSocket(long socketId) {}",
"public synchronized void block() {\n\t\tsetBlocked(true);\n\t}",
"public void beforeReceive() {\n\t}",
"public MySocket accept(){\n\t\ttry{\r\n\t\t\treturn new MySocket(sSocket.accept());\r\n\t\t}catch(IOException e){\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn null;\r\n\t}",
"private void handleBlockOk(BlockOk ok) throws AppiaEventException {\n \t\t//Get the necessary arguments\n \t\tList<VsClient> allMyClients = VsClientManagement.getClientstAttachedTo(listenAddress);\n \n \t\t//Enter flush mode\n \t\tflushMode = true;\n \t\tSystem.out.println(\"Received a BlockOk ( a normal one )\");\n \n \t\t//Lock clientsViewManagement here with a lock\n \t\tacquireClientsViewUpdateLock(); //So no new clients/servers can join the group\n \n \t\t//Clean the update controls I have received\n \t\tUpdateManager.cleanUpdateViews();\n \n \t\t//Send to all client in all groups a blockOk request\n \t\t//I ask if I have some client in that group\n \n \t\t//If I have at least one client to shut\n \t\tif(allMyClients.size() >= 1){\n \t\t\t//I will store the block ok event\n \t\t\tpendingBlockOk = ok;\n \t\t\tSystem.out.println(\"I have a pending blockOk to send. Wait for client to shut upo\");\n \n \t\t\t//And for each client, i'll ask them to shut up\n \t\t\tfor (VsClient client : allMyClients){\n \t\t\t\tVsGroup group = VsClientManagement.getVsGroup(client.getGroup().id);\n \t\t\t\tShutUpStubEvent shutUpEvent = new ShutUpStubEvent(client.getGroup().id);\n \t\t\t\tsendStubEvent(shutUpEvent, group);\n \t\t\t}\n \t\t}\n \n \t\t//If I have no clients to warn\n \t\telse{\n \t\t\t//I may send right way the block OK\n \t\t\tok.go();\n \t\t\tSystem.out.println(\"I have no clients, sending blockOk\");\n \t\t}\n \t}",
"public boolean isAccepting() {\n\t\treturn isAccepting;\n\t}",
"void reject();",
"@Test\n\tpublic void acceptedOfferCanNotBeRejected() {\n\t}",
"public void acceptClient() {\n if (mBluetoothAdapter.getScanMode() != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {\n Intent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);\n discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, DISCOVERABLE_DURATION);\n mContext.startActivity(discoverableIntent);\n }\n\n stop();\n\n mAcceptThread = new AcceptThread();\n mAcceptThread.start();\n }",
"private void treatAccept(SelectionKey key) throws IOException\n {\n ServerSocketChannel ssc = (ServerSocketChannel) key.channel();\n SocketChannel sc = ssc.accept();\n sc.configureBlocking(false);\n SelectionKey clientKey = sc.register(selector, SelectionKey.OP_READ,\n new RequestCommandHandler(root));\n\n System.out\n .println(\"New connection accepted for : \"\n + sc.socket().getRemoteSocketAddress() + \", key : \"\n + clientKey);\n }",
"boolean blockUser(User user);",
"private void handleBlockOkStubEvent(BlockOkStubEvent event) throws AppiaEventException {\n \t\tevent.loadMessage();\n \t\tSystem.out.println(\"Received BlockOkStubEvent from: \" + event.source);\n \n \t\t//Get the parameters\n \t\tString groupId = event.getGroupId();\n \t\tEndpt clientEndpt = event.getEndpoint();\n \t\tint viewVersion = VsClientManagement.getVsGroup(groupId).getCurrentVersion();\n \n \t\t//Mute the client\n \t\tVsClientManagement.muteClient(groupId, clientEndpt);\n \n \t\t//Servers enconter themselfs in mute mode\n \t\tif(this.flushMode == true){\n \t\t\t//We need to check if EVERY client attached to me is quiet\t\n \t\t\tboolean allMuted = VsClientManagement.checkIfEveryAllAttachedToMeClientAreMute(listenAddress);\n \n \t\t\tif(allMuted == true){\n \t\t\t\tSystem.out.println(\"All my clients are muted\");\n \n \t\t\t\t//I may send the pending block ok\n \t\t\t\tpendingBlockOk.go();\n \n \t\t\t}\n \t\t}\n \n \t\telse if(this.flushMode == false){\n \n \t\t\t//Let's see if all clients have said BlockOk\n \t\t\tboolean allGroupMuted = VsClientManagement.checkIfAllInGroupAttachedToMeClientAreMute(groupId, listenAddress);\n \n \t\t\t//If all clients in the group are muted\n \t\t\tif(allGroupMuted){\n \t\t\t\tSystem.out.println(\"Hurray every client in group: \" + groupId +\" is muted\");\n \n \t\t\t\t// We may send our leaveProxyEvent to the other servers\t\n \t\t\t\tBlockOkProxyEvent blockedOkProxy = new BlockOkProxyEvent(groupId, myEndpt, viewVersion);\n \t\t\t\tsendToOtherServers(blockedOkProxy);\n \n \t\t\t\t//And also send to myself\n \t\t\t\tsendToMyself(blockedOkProxy);\n \n \t\t\t\treturn;\n \t\t\t}\n \n \t\t\t//In this case we still have to wait on other clients\n \t\t\telse{\n \t\t\t\tSystem.out.println(\"Still waiting on other clients\");\n \t\t\t}\n \t\t}\n \t}",
"@Override\n public void completed(IoFuture<AsynchronousSocketChannel, Void> result)\n {\n try {\n try {\n AsynchronousSocketChannel newChannel = result.getNow();\n logger.log(Level.FINER, \"Accepted {0}\", newChannel);\n \n handler.newConnection(newChannel, descriptor);\n \n // Resume accepting connections\n acceptFuture = acceptor.accept(this);\n \n } catch (ExecutionException e) {\n throw (e.getCause() == null) ? e : e.getCause();\n }\n } catch (CancellationException e) { \n logger.logThrow(Level.FINE, e, \"acceptor cancelled\"); \n //ignore\n } catch (Throwable e) {\n SocketAddress addr = null;\n try {\n addr = acceptor.getLocalAddress();\n } catch (IOException ioe) {\n // ignore\n }\n logger.logThrow(\n \t\t Level.SEVERE, e, \"acceptor error on {0}\", addr);\n \n // TBD: take other actions, such as restarting acceptor?\n }\n \t}",
"protected void accept(LocalSocketImpl s) throws IOException {\n if (fd == null) {\n throw new IOException(\"socket not created\");\n }\n\n try {\n s.fd = Os.accept(fd, null /* address */);\n s.mFdCreatedInternally = true;\n } catch (ErrnoException e) {\n throw e.rethrowAsIOException();\n }\n }",
"@Ignore\n\t@Test\n\tpublic void testAgentAccepts() {\n\t\tparty.connect(connection);\n\t\tparty.notifyChange(settings);\n\n\t\tBid bid = makeBid(\"1\", \"1\");// best pssible\n\t\tparty.notifyChange(new ActionDone(new Offer(otherparty, bid)));\n\t\tparty.notifyChange(new YourTurn());\n\t\tassertEquals(1, connection.getActions().size());\n\t\tassertTrue(connection.getActions().get(0) instanceof Accept);\n\n\t}",
"void acceptRequest(Friend pendingRequest);",
"@Override\n public <V> CompletionStage<Void> handle(IncomingRabbitMQMessage<V> msg, Context context, Throwable reason) {\n log.nackedAcceptMessage(channel);\n log.fullIgnoredFailure(reason);\n return ConnectionHolder.runOnContext(context, msg, IncomingRabbitMQMessage::acknowledgeMessage);\n }",
"public AcceptThread() throws IOException {\n setName(\"TcpHarvester AcceptThread\");\n setDaemon(true);\n selector = Selector.open();\n for (ServerSocketChannel channel : serverSocketChannels) {\n channel.configureBlocking(false);\n channel.register(selector, SelectionKey.OP_ACCEPT);\n }\n }",
"protected boolean reallyCancel() throws Exception { return true; }",
"public void processBlockwiseResponseTransferFailed() {\n //to be overridden by extending classes\n }",
"@Override\n\tpublic boolean isAcceptingInput() {\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean isAcceptingInput() {\n\t\treturn true;\n\t}",
"public void setAccept(boolean accept) {\n this.accept = accept;\n }",
"public static void blockRequests() {\n\t\tsynchronized (isRunning) {\n\t\t\ttry {\n\t\t\t\tisRunning.set(false);\n\t\t\t\tisRunning.wait();\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tisRunning.set(true);\n\t\t\t}\n\t\t}\n\t}",
"private void acceptConnection() throws Exception {\n if (logger.isLoggable(BasicLevel.DEBUG))\n logger.log(BasicLevel.DEBUG, \"TcpConnectionListener.acceptConnection()\");\n\n Socket sock = proxyService.getServerSocket().accept();\n String inaddr = sock.getInetAddress().getHostAddress();\n\n connectionCount++;\n\n if (logger.isLoggable(BasicLevel.INFO))\n logger.log(BasicLevel.INFO, \" -> accept connection from \" + inaddr);\n\n try {\n sock.setTcpNoDelay(true);\n\n // Fix bug when the client doesn't use the right protocol (e.g. Telnet)\n // and blocks this listener.\n sock.setSoTimeout(timeout);\n\n InputStream is = sock.getInputStream();\n NetOutputStream nos = new NetOutputStream(sock);\n\n byte[] magic = StreamUtil.readByteArrayFrom(is, 8);\n for (int i = 0; i < 5; i++) {\n if (magic.length == i || magic[i] != MetaData.joramMagic[i] && magic[i] > 0) {\n String errorMsg = \"Bad magic number. Client is not compatible with JORAM.\";\n protocolErrorCount++;\n throw new IllegalAccessException(errorMsg);\n }\n }\n if (magic[7] != MetaData.joramMagic[7]) {\n if (magic[7] > 0 && MetaData.joramMagic[7] > 0) {\n String errorMsg = \"Bad protocol version number \" + magic[7] + \" != \" + MetaData.joramMagic[7];\n protocolErrorCount++;\n throw new IllegalAccessException(errorMsg);\n }\n \n logger.log(BasicLevel.WARN,\n \"Wildcard protocol version number: from stream = \" + magic[7] + \", from MetaData = \" + MetaData.joramMagic[7]);\n }\n\n //read the ack mode(noAckedQueue)\n boolean noAckedQueue = StreamUtil.readBooleanFrom(is);\n if (logger.isLoggable(BasicLevel.DEBUG))\n logger.log(BasicLevel.DEBUG, \" -> read noAckedQueue = \" + noAckedQueue);\n if (noAckedQueue)\n TcpProxyService.createExecutors();\n \n long dt = Math.abs(StreamUtil.readLongFrom(is) - System.currentTimeMillis());\n if (dt > clockSynchroThreshold)\n logger.log(BasicLevel.WARN, \" -> bad clock synchronization between client and server: \" + dt);\n StreamUtil.writeTo(dt, nos);\n\n Identity identity = Identity.read(is);\n if (logger.isLoggable(BasicLevel.DEBUG))\n logger.log(BasicLevel.DEBUG, \" -> read identity = \" + identity);\n\n int key = StreamUtil.readIntFrom(is);\n if (logger.isLoggable(BasicLevel.DEBUG))\n logger.log(BasicLevel.DEBUG, \" -> read key = \" + key);\n\n int heartBeat = 0;\n if (key == -1) {\n heartBeat = StreamUtil.readIntFrom(is);\n if (logger.isLoggable(BasicLevel.DEBUG))\n logger.log(BasicLevel.DEBUG, \" -> read heartBeat = \" + heartBeat);\n }\n \n if (logger.isLoggable(BasicLevel.INFO))\n logger.log(BasicLevel.INFO, \" -> open connection \" + identity + \"/\" + key + \" - \" + heartBeat);\n \n GetProxyIdNot gpin = new GetProxyIdNot(identity, inaddr);\n AgentId proxyId;\n try {\n gpin.invoke(AdminTopic.getDefault());\n proxyId = gpin.getProxyId();\n } catch (Exception exc) {\n if (logger.isLoggable(BasicLevel.WARN))\n logger.log(BasicLevel.WARN, \" -> login failed\", exc);\n failedLoginCount++;\n StreamUtil.writeTo(1, nos);\n StreamUtil.writeTo(exc.getMessage(), nos);\n nos.send();\n return;\n }\n\n if (logger.isLoggable(BasicLevel.DEBUG))\n logger.log(BasicLevel.DEBUG, \" -> open connection, proxyId=\" + proxyId);\n \n IOControl ioctrl;\n ReliableConnectionContext ctx;\n if (key == -1) {\n OpenConnectionNot ocn = new OpenConnectionNot(Type.RELIABLE, heartBeat, noAckedQueue);\n ocn.invoke(proxyId);\n StreamUtil.writeTo(0, nos);\n ctx = (ReliableConnectionContext) ocn.getConnectionContext();\n key = ctx.getKey();\n StreamUtil.writeTo(key, nos);\n nos.send();\n ioctrl = new IOControl(sock);\n } else {\n GetConnectionNot gcn = new GetConnectionNot(key);\n try {\n gcn.invoke(proxyId);\n } catch (Exception exc) {\n if (logger.isLoggable(BasicLevel.WARN))\n logger.log(BasicLevel.WARN, \"TcpConnectionListener: reconnection failed\", exc);\n StreamUtil.writeTo(1, nos);\n StreamUtil.writeTo(exc.getMessage(), nos);\n nos.send();\n return;\n }\n ctx = (ReliableConnectionContext) gcn.getConnectionContext();\n StreamUtil.writeTo(0, nos);\n nos.send();\n ioctrl = new IOControl(sock, ctx.getInputCounter());\n\n // Close the remaining connection if it exists\n TcpConnection tcpConnection = proxyService.getConnection(proxyId, key);\n if (tcpConnection != null) {\n tcpConnection.close();\n }\n }\n\n // Reset the timeout in order to enable the server to indefinitely\n // wait for requests.\n sock.setSoTimeout(0);\n\n TcpConnection tcpConnection = new TcpConnection(ioctrl, ctx, proxyId, proxyService, identity);\n tcpConnection.start();\n } catch (IllegalAccessException exc) {\n if (logger.isLoggable(BasicLevel.ERROR))\n logger.log(BasicLevel.ERROR, \"TcpConnectionListener: close connection\", exc);\n sock.close();\n throw exc;\n } catch (IOException exc) {\n if (logger.isLoggable(BasicLevel.WARN))\n logger.log(BasicLevel.WARN, \"TcpConnectionListener: close socket\", exc);\n sock.close();\n throw exc;\n }\n }",
"void onChoke(boolean state)\n {\n peerChoke = state;\n //if (DEBUG) System.out.println(peer.address + \" onChoke: \" + state);\n\n if (peerChoke) {\n // remove all enqueued requests as they will be dropped by the remote peer\n for (int i = sendQueue.size() - 1; 0 <= i; i--) {\n StdPeerMessage pm = sendQueue.get(i);\n if (pm.type == StdPeerMessage.REQUEST) {\n sendQueue.remove(i);\n // notify torrent about cancelled request\n torrent.cancelBlockRequest(pm.index, pm.begin);\n pmCache.release(pm);\n }\n }\n // it's possible that we have requests that were already sent to external peer,\n // notify torrent - they are cancelled too [who knows, maybe data will arrive]\n for (int i = 0; i < blockRequests.size(); i++) {\n StdPeerMessage pm = blockRequests.get(i);\n torrent.cancelBlockRequest(pm.index, pm.begin);\n pmCache.release(pm);\n }\n blockRequests.clear();\n }\n }",
"@Test\n\tpublic void rejectedOfferCanNotBeAccepted() {\n\t}",
"@Override\n\tpublic void handleAccept(Player player, Task task, Game game) {\n\t\t\n\t}",
"public IllegalBlockingModeException() { }",
"@Override\n protected boolean closeOnReadError(Throwable cause) {\n if (cause instanceof SocketException) {\n return false;\n }\n return super.closeOnReadError(cause);\n }",
"private void sendReceiveRes(){\n\t}",
"boolean getAccepted();",
"private void beginAcceptClients() throws Exception {\r\n \t\tClientAcceptThread acceptClientsThread = new ClientAcceptThread(this.serverSocket, this);\r\n \t\tacceptClientsThread.start();\r\n \r\n \t\tLogger.logMessage(\"ClientAcceptThread started\");\r\n \t}",
"public void serve() throws IOException {\n int req = 0;\n while (req<maxreq) {\n //block intil a client connects\n final Socket socket = serversocket.accept();\n //create a new thread to handle the client\n\n Thread handler = new Thread(new Runnable() {\n public void run() {\n try {\n try {\n handle(socket);\n } finally {\n socket.close();\n }\n } catch (IOException ioe) {\n // this exception wouldn't terminate serve(),\n // since we're now on a different thread, but\n // we still need to handle it\n ioe.printStackTrace();\n }\n }\n });\n // start the thread\n handler.start();\n req++;\n }\n\n }",
"public void acceptSocket(AsynchronousSocketChannel arg0) {\n\r\n\t\tnew TCPClient(arg0);\r\n\t}",
"private void accept(SelectionKey key) throws IOException {\n\t\tServerSocketChannel serverSocketChannel = (ServerSocketChannel) key\n\t\t\t\t.channel();\n\n\t\tSocketChannel socketChannel = serverSocketChannel.accept();\n\t\t// as usual, non blocking fashion here\n\t\tsocketChannel.configureBlocking(false);\n\n\t\t// after registering, this socket channel goes to READ state\n\t\t// since we expect some request from it\n\t\tsocketChannel.register(this.selector, SelectionKey.OP_READ);\n\t}",
"@Override\n public void run() {\n handleClientRequest();\n }",
"void acceptChallenge(int challengeId);",
"private void filterAndHandleRequest () {\n\t// Filter the request based on the header.\n\t// A response means that the request is blocked.\n\t// For ad blocking, bad header configuration (http/1.1 correctness) ... \n\tHttpHeaderFilterer filterer = proxy.getHttpHeaderFilterer ();\n\tHttpHeader badresponse = filterer.filterHttpIn (this, channel, request);\n\tif (badresponse != null) {\n\t statusCode = badresponse.getStatusCode ();\n\t sendAndClose (badresponse);\n\t} else {\n\t status = \"Handling request\";\n\t if (getMeta ())\n\t\thandleMeta ();\n\t else\n\t\thandleRequest ();\n\t}\n }",
"@Override\r\n\tpublic void updateNiakworkHostAccept(NiakworkHostSocket nssocket) {\n\t\t\r\n\t}",
"public boolean isBlocking ( ) {\n\t\treturn extract ( handle -> handle.isBlocking ( ) );\n\t}",
"private void handleBlockOkProxyEvent(BlockOkProxyEvent event) throws AppiaEventException {\n \t\tevent.loadMessage();\n \t\tSystem.out.println(\"Received a BlockOkProxyEvent from: \" + event.getServerThatShutUpEndpt());\n \n \t\t//Get the arguments\n \t\tString groupId = event.getGroupId();\n \t\tEndpt serverThatShupUp = event.getServerThatShutUpEndpt();\n \t\tint remoteViewVersion = event.getViewVersion();\n \n \t\t//Check if it is a blockOk from a view already decided\n \t\t//This means the decide event has already come and the block oks were late to me\n \t\tint localViewVersion = VsClientManagement.getVsGroup(groupId).getCurrentVersion();\n \t\tif(remoteViewVersion < localViewVersion ){\n \t\t\treturn; //Discard this event\n \t\t}\n \n \t\t//Mark the server as already sent the block ok\n \t\tControlManager.addControlMessageReceived(groupId, serverThatShupUp);\n \n \t\t//Ask if all the other servers are quiet\n \t\tboolean allMuted = ControlManager.receivedFromAllLiveServers(groupId, vs.view);\n \n \t\t//If all the servers present in the current view are blocked\n \t\tif(allMuted){\n \t\t\tSystem.out.println(\"All servers have responded to me that they are quiet\");\n \n \t\t\t//Check if I am the leader\n \t\t\tif(amIleader()){\n \t\t\t\tSystem.out.println(\"I am the leader so I will decide the view on group:\" + groupId);\n \t\t\t\tVsGroup group = VsClientManagement.getVsGroup(groupId);\n \n \t\t\t\t//Lets increment the version\n \t\t\t\tgroup.incrementGroupViewVersion();\n \n \t\t\t\t//And some clients (if they exist)\n \t\t\t\tgroup.insertFutureClientsIntoPresent();\n \n \t\t\t\t//Send the Decide message to the other servers\n \t\t\t\tDecidedProxyEvent decidedEvent = new DecidedProxyEvent(group);\n \t\t\t\tsendToOtherServers(decidedEvent);\n \n \t\t\t\t//Sent to me also\n \t\t\t\tsendToMyself(decidedEvent);\n \t\t\t}\n \t\t}\n \n \t\telse{\n \t\t\tSystem.out.println(\"There are still server to whom I didn't receive no blockOK\");\n \t\t}\n \t}",
"void rejects_invalid_racer() {\n }",
"protected boolean isConsumingInput() {\r\n return true;\r\n }",
"private void waitOnReceive() throws IOException {\n while (inStream.available() == 0) {\n try {\n Thread.sleep(1);\n } catch (InterruptedException _) {\n }\n }\n }",
"public abstract Self accepts();",
"private static boolean verify(Socket s) {\r\n\t\t//TODO: Implement this.\r\n\t\treturn true;\r\n\t}",
"@Override\r\n\tpublic void acceptTrade(boolean willAccept) {\n\t\t\r\n\t}",
"public void blockUntilUp() {\n while (server == null || !server.isServing()) {\n try {\n Thread.sleep(1000);\n } catch (InterruptedException e) {\n // ignore\n }\n }\n }",
"protected void checkOpen() throws IOException {\n if (this.stopRequested.get() || this.abortRequested) {\n throw new IOException(\"Server not running\");\n }\n if (!fsOk) {\n throw new IOException(\"File system not available\");\n }\n }",
"private void checkAndUpdate() {\n if (csProposeEnter.get()) {\n if (numRepliesReceived.get() == (config.getNumNodes() - 1)\n && requestQueue.peek().getFromID().equals(nodeID)) {\n csProposeEnter.set(false);\n csAllowEnter.set(true);\n }\n }\n }",
"private void receiveDenial(DenyMessage denyMessage) throws CantReceiveDenialException {\n\n try {\n\n ProtocolState protocolState = ProtocolState.PROCESSING_SEND;\n\n cryptoAddressesNetworkServiceDao.denyAddressExchangeRequest(\n denyMessage.getRequestId(),\n protocolState\n );\n\n final CryptoAddressRequest cryptoAddressRequest = cryptoAddressesNetworkServiceDao.getPendingRequest(denyMessage.getRequestId());\n\n// executorService.submit(new Runnable() {\n// @Override\n// public void run() {\n// try {\n// sendNewMessage(\n// getProfileSenderToRequestConnection(cryptoAddressRequest.getIdentityPublicKeyRequesting()),\n// getProfileDestinationToRequestConnection(cryptoAddressRequest.getIdentityPublicKeyResponding()),\n// buildJsonReceivedMessage(cryptoAddressRequest));\n// } catch (CantSendMessageException e) {\n// reportUnexpectedException(e);\n// }\n// }\n// });\n//\n\n\n cryptoAddressesNetworkServiceDao.changeActionState(denyMessage.getRequestId(), RequestAction.RECEIVED);\n\n } catch (CantDenyAddressExchangeRequestException | PendingRequestNotFoundException e){\n // PendingRequestNotFoundException - THIS SHOULD' HAPPEN.\n reportUnexpectedException(e);\n throw new CantReceiveDenialException(e, \"\", \"Error in crypto addresses DAO\");\n } catch (Exception e){\n\n reportUnexpectedException(e);\n throw new CantReceiveDenialException(FermatException.wrapException(e), null, \"Unhandled Exception.\");\n }\n }",
"@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:36:07.245 -0500\", hash_original_method = \"4C7BE72C58D9A70D111AB53708810EA4\", hash_generated_method = \"AF157A7772AD2D9C1E3D30BCBFFC6CCE\")\n \npublic LocalSocket accept() throws IOException\n {\n LocalSocketImpl acceptedImpl = new LocalSocketImpl();\n\n impl.accept (acceptedImpl);\n\n return new LocalSocket(acceptedImpl);\n }",
"private void offer() {\n\t\t\t\n\t\t}",
"@Override\n public void run() {\n final boolean isAuthorized = authzManager.checkClient(socket);\n /* not an authorized client, close this connection */\n if (!isAuthorized) {\n if (logger.isLoggable(Level.INFO)) {\n logger.log(Level.INFO, \"Client \" + socket + \"it' not authorized. Closing connection...\");\n }\n close();\n }\n\n // register in authorization manager for periodic checks of permissions\n authzManager.registerClient(socket);\n\n // ok pal, let's I agree to talk to you\n super.run();\n }",
"public void acceptConnection(SystemServiceConnection connection);",
"protected void mainTask() {\n\ttry {\n\t socket = serverSocket.accept();\t\n\t spawnConnectionThread(socket);\n\t} catch (IOException e) {\n\t return;\n\t}\n }",
"@Override\n\tpublic void accept_order() {\n\t\t\n\t}",
"Boolean acceptRequest(User user);",
"@Override\n\tpublic boolean takeControl() {\n\t\treturn false;\n\t}",
"public void challengeAccept(int challengeNmr) {\n try {\n write(\"challenge accept \" + challengeNmr);\n } catch (IOException e) {\n System.out.println(\"No connecting with server:challengeAccept\");\n }\n }",
"@Test\n\tpublic void testFastRejectRequestMessageInvalid1() throws Exception {\n\n\t\t// Given\n\t\tfinal PieceDatabase pieceDatabase = MockPieceDatabase.create (\"0\", 16384);\n\t\tpieceDatabase.start (true);\n\t\tfinal BlockDescriptor requestDescriptor = new BlockDescriptor (0, 0, 16384);\n\t\tPeerServices peerServices = mock (PeerServices.class);\n\t\tPeerSetContext peerSetContext = new PeerSetContext (peerServices, pieceDatabase, mock (RequestManager.class), null);\n\t\twhen(peerSetContext.requestManager.piecesAvailable (any (ManageablePeer.class))).thenReturn (true);\n\t\twhen(peerSetContext.requestManager.allocateRequests (any (ManageablePeer.class), anyInt(), eq (false)))\n\t\t\t\t.thenReturn (Arrays.asList (new BlockDescriptor[] { requestDescriptor }))\n\t\t\t\t.thenReturn (new ArrayList<BlockDescriptor>());\n\t\tMockConnection mockConnection = new MockConnection();\n\t\tPeerHandler handler = new PeerHandler (peerSetContext, mockConnection, new PeerID(), new PeerStatistics(), true, false);\n\n\t\t// When\n\t\t// They allow us to make a request\n\t\tmockConnection.mockInput (PeerProtocolBuilder.haveAllMessage());\n\t\tmockConnection.mockInput (PeerProtocolBuilder.unchokeMessage());\n\t\thandler.connectionReady (mockConnection, true, true);\n\n\t\t// Then\n\t\tmockConnection.mockExpectOutput (PeerProtocolBuilder.haveNoneMessage());\n\t\tmockConnection.mockExpectOutput (PeerProtocolBuilder.interestedMessage());\n\t\tmockConnection.mockExpectOutput (PeerProtocolBuilder.requestMessage (requestDescriptor));\n\t\tmockConnection.mockExpectNoMoreOutput();\n\t\tassertTrue (mockConnection.isOpen());\n\n\t\t// When\n\t\t// They choke and reject an invalid request\n\t\tmockConnection.mockInput (PeerProtocolBuilder.chokeMessage());\n\t\tmockConnection.mockInput (PeerProtocolBuilder.rejectRequestMessage (new BlockDescriptor (0, 16384, 16384)));\n\t\thandler.connectionReady (mockConnection, true, true);\n\n\t\t// Then\n\t\tmockConnection.mockExpectNoMoreOutput();\n\t\tverify(peerServices).peerDisconnected (handler);\n\t\tassertFalse (mockConnection.isOpen());\n\n\n\t\tpieceDatabase.terminate (true);\n\n\t}",
"@Override\n protected void startListener(){\n Socket socket = null;\n while (isRunning()){\n socket = acceptSocket();\n if (socket == null) {\n continue;\n }\n \n try {\n handleConnection(socket);\n } catch (Throwable ex) {\n getLogger().log(Level.FINE, \n \"selectorThread.handleConnectionException\",\n ex);\n try {\n socket.close(); \n } catch (IOException ioe){\n // Do nothing\n }\n continue;\n }\n } \n }",
"@Test\n public void updateAccept() throws Exception {\n\n }",
"@Override\n public void acceptAddressExchangeRequest(UUID requestId, CryptoAddress cryptoAddressReceived) throws CantAcceptAddressExchangeRequestException, PendingRequestNotFoundException {\n\n System.out.println(\"************ Crypto Addresses -> i'm executing the acceptance.\");\n\n try {\n\n ProtocolState protocolState = ProtocolState.PROCESSING_SEND;\n cryptoAddressesNetworkServiceDao.acceptAddressExchangeRequest(requestId, cryptoAddressReceived, protocolState);\n\n final CryptoAddressRequest cryptoAddressRequest = cryptoAddressesNetworkServiceDao.getPendingRequest(requestId);\n\n executorService.submit(new Runnable() {\n @Override\n public void run() {\n try {\n sendNewMessage(\n getProfileDestinationToRequestConnection(\n cryptoAddressRequest.getIdentityPublicKeyResponding(),\n NetworkServiceType.UNDEFINED,\n platformComponentTypeSelectorByActorType(cryptoAddressRequest.getIdentityTypeResponding())\n ),\n getProfileSenderToRequestConnection(\n cryptoAddressRequest.getIdentityPublicKeyRequesting(),\n NetworkServiceType.UNDEFINED,\n platformComponentTypeSelectorByActorType(cryptoAddressRequest.getIdentityTypeRequesting())\n ),\n buildJsonAcceptMessage(cryptoAddressRequest));\n } catch (CantSendMessageException | InvalidParameterException e) {\n reportUnexpectedException(e);\n }\n }\n });\n\n\n\n System.out.println(\"************ Crypto Addresses -> i already execute the acceptance.\");\n\n } catch (CantAcceptAddressExchangeRequestException | PendingRequestNotFoundException e){\n // PendingRequestNotFoundException - THIS SHOULD' HAPPEN.\n errorManager.reportUnexpectedPluginException(this.getPluginVersionReference(), UnexpectedPluginExceptionSeverity.DISABLES_SOME_FUNCTIONALITY_WITHIN_THIS_PLUGIN, e);\n throw e;\n } catch (Exception e){\n\n errorManager.reportUnexpectedPluginException(this.getPluginVersionReference(), UnexpectedPluginExceptionSeverity.DISABLES_SOME_FUNCTIONALITY_WITHIN_THIS_PLUGIN, e);\n throw new CantAcceptAddressExchangeRequestException(FermatException.wrapException(e), null, \"Unhandled Exception.\");\n }\n }",
"RequestSender otherwise(Consumer<Message> consumer);",
"public boolean accept(Match arg0) {\n\t\treturn false;\n\t}",
"public void waitForClients() {\n\n\t\twhile (!Thread.interrupted()) {\n\t\t\tacceptClient();\n\t\t}\n\n\t}",
"@Override\n public String call() throws Exception {\n if (!iAmSpecial) {\n blocker.await();\n }\n ran = true;\n return result;\n }",
"public boolean isBlocking() {\n return blocking;\n }",
"public void run() {\n IConnectionManager conManager = m_ftpConfig.getConnectionManager();\n while (m_runner != null) {\n try {\n \n // closed - return\n if(m_serverSocket == null) {\n return;\n }\n \n // accept new connection .. if suspended \n // close immediately.\n Socket soc = m_serverSocket.accept();\n if(m_suspended) {\n try {\n soc.close();\n }\n catch(Exception ex) {\n }\n continue;\n }\n \n IConnection connection = new RequestHandler(m_ftpConfig, soc);\n conManager.newConnection(connection);\n }\n catch (Exception ex) {\n return;\n }\n }\n }",
"private void accept(SelectionKey key) throws IOException {\n ServerSocketChannel serverSocketChannel = (ServerSocketChannel) key.channel();\n\n // Accept the connection and make it non-blocking\n SocketChannel socketChannel = serverSocketChannel.accept();\n Socket socket = socketChannel.socket();\n // ABHIGYAN:\n socketChannel.socket().setKeepAlive(true);\n socketChannel.configureBlocking(false);\n // lookup ID for this hostIP and port.\n//\t\tincludeSocketChannelInConnectedList(socketChannel);\n\n // Register the new SocketChannel with our Selector, indicating\n // we'd like to be notified when there's data waiting to be read\n socketChannel.register(this.selector, SelectionKey.OP_READ);\n }"
] |
[
"0.6664048",
"0.6380287",
"0.6347309",
"0.63012296",
"0.62502337",
"0.6151074",
"0.60849625",
"0.60388196",
"0.60345715",
"0.5987597",
"0.5927568",
"0.5909367",
"0.5864893",
"0.58506256",
"0.58290684",
"0.58072376",
"0.5767471",
"0.57307476",
"0.57277995",
"0.5715328",
"0.5708458",
"0.57028586",
"0.5694977",
"0.5679286",
"0.566875",
"0.56558853",
"0.56520665",
"0.5637174",
"0.5621654",
"0.55975515",
"0.55668837",
"0.5564761",
"0.55585456",
"0.55579156",
"0.55488175",
"0.55424094",
"0.5526097",
"0.5525447",
"0.5514271",
"0.5506495",
"0.5489164",
"0.5485583",
"0.54817265",
"0.5476845",
"0.5465283",
"0.5463197",
"0.5436587",
"0.5422906",
"0.5412222",
"0.541009",
"0.541009",
"0.5404884",
"0.540403",
"0.5398968",
"0.5392241",
"0.5385289",
"0.536458",
"0.535752",
"0.535141",
"0.53467757",
"0.53327525",
"0.53137463",
"0.5310501",
"0.53085387",
"0.5300174",
"0.5299143",
"0.5296239",
"0.52961373",
"0.5294639",
"0.5292592",
"0.5291835",
"0.52887213",
"0.5269837",
"0.52692074",
"0.52657473",
"0.5260439",
"0.5257165",
"0.52560073",
"0.52556384",
"0.52529633",
"0.5251549",
"0.52498156",
"0.5231489",
"0.5230367",
"0.52151614",
"0.52127326",
"0.52081484",
"0.5204797",
"0.51900405",
"0.51886624",
"0.51837456",
"0.5181309",
"0.5180064",
"0.5177651",
"0.51717573",
"0.51682436",
"0.51551837",
"0.5148697",
"0.5147",
"0.5144938",
"0.5142413"
] |
0.0
|
-1
|
The threadsafeness of this is dubious, but Java documentation suggests that it is safe to do this from a different thread context
|
public void interrupt() {
close();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}",
"static void m61437a() {\n if (!m61442b()) {\n throw new IllegalStateException(\"Method call should happen from the main thread.\");\n }\n }",
"@Override\n public boolean isThreadSafe()\n {\n return false;\n }",
"@Override\n\tpublic boolean allowMultithreading()\n\t{\n\t\treturn true;\n\t}",
"@Override\n\t\t\tpublic void run() {\n\n\t\t\t}",
"@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}",
"@Override\r\n\t\t\t\tpublic void run() {\n\r\n\t\t\t\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n\t\tpublic void run() {\n\n\t\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n\tprotected Object run() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n\tpublic void run() {\n\t\t\n\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\r\n public void run() {}",
"@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void run() {\n\t}",
"public void run() {\n\t\t\t\t\t\t}",
"@Override\r\n\tpublic void run() {\n\t}",
"@Override\r\n\tpublic void run() {\n\t}",
"@Override\n\tpublic void run()\n\t{\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void run() {\n\t\t\r\n\t}",
"@Override\n public void run()\n {\n }",
"@Override\n public void run()\n {\n }",
"@Override\n\tpublic void run() {\n\n\t}",
"@Override\n\tpublic void run() {\n\n\t}",
"@Override\n\tpublic void run() {\n\n\t}",
"@Override\n\tpublic void run() {\n\n\t}",
"@Override\n\tpublic void run() {\n\n\t}",
"public void run() {\n // no-op.\n }",
"@Override\n\tpublic void run()\n\t{\n\n\t}",
"@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\ts.get();\n\t\t\t\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n message.synchronizedInstance();\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n super.run();\n notAtomic.naIncreament();\n }",
"@Override\r\n\tpublic void run() {\n\t\tthis.get(set);\r\n\t\t\r\n\t}",
"public void run() throws Exception;",
"private void m44333c() throws Throwable {\n this.f30623o = C7189b.m43117l().submit(this.f30625q);\n }",
"public EventLoop method_4094() {\n return null;\n }",
"@Override\n\tpublic void run() {\n\t\t\n\t\t\t\t\t\t\n\t}",
"@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\ts.put();\n\t\t\t\t}",
"public T pollUnsafe();",
"private void m76769g() {\n C1592h.m7855a((Callable<TResult>) new C23441a<TResult>(this), C1592h.f5958b);\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\r\n\tpublic void run() {\n\r\n\t}",
"@Override\n public void run() {\n }",
"@Override\n public void run() {\n }",
"@Override\n public void run(){\n }",
"@Override\n public void run() {\n \t\n }",
"protected void run() {\r\n\t\t//\r\n\t}",
"public void run() {\r\n\t\t// overwrite in a subclass.\r\n\t}",
"@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tinvoke();\n\t\t\t\t\t}",
"@Override\r\n public void run() {\n }"
] |
[
"0.6001483",
"0.59566426",
"0.59566426",
"0.58715",
"0.58162326",
"0.5808726",
"0.57781094",
"0.5777771",
"0.5777771",
"0.577629",
"0.577629",
"0.5775342",
"0.5762395",
"0.5762395",
"0.5762395",
"0.5741366",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57284206",
"0.57145965",
"0.57145965",
"0.57145965",
"0.57145965",
"0.57145965",
"0.57145965",
"0.57145965",
"0.57050484",
"0.57050484",
"0.5701254",
"0.5701254",
"0.56957984",
"0.56774276",
"0.56774276",
"0.56481665",
"0.56450427",
"0.5634399",
"0.5634399",
"0.56029147",
"0.55985576",
"0.55985576",
"0.55985576",
"0.55985576",
"0.55985576",
"0.55985576",
"0.55985576",
"0.55985576",
"0.55985576",
"0.5590872",
"0.5590872",
"0.5569827",
"0.5569827",
"0.5569827",
"0.5569827",
"0.5569827",
"0.556619",
"0.5558763",
"0.5550648",
"0.55326486",
"0.551746",
"0.55060726",
"0.549562",
"0.549562",
"0.549562",
"0.5479756",
"0.5477708",
"0.5473764",
"0.5467838",
"0.5464873",
"0.5451216",
"0.54316735",
"0.5421818",
"0.54071045",
"0.54041314",
"0.54041314",
"0.54041314",
"0.54041314",
"0.54041314",
"0.54041314",
"0.54041314",
"0.5396268",
"0.5395616",
"0.5395616",
"0.5395064",
"0.53921354",
"0.5387278",
"0.538297",
"0.53784376",
"0.53621346"
] |
0.0
|
-1
|
If dragging function is enabled, subclass must override this method
|
@Override
public UIData getTransferData() {
throw new UnsupportedOperationException("Override this method to support this function.");
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"protected abstract boolean dragged();",
"static void setNotDraging(){isDraging=false;}",
"@Override\n public void drag(int x, int y)\n {\n }",
"abstract boolean getIsDragging();",
"@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}",
"@Override\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}",
"@Override\r\n public void mouseDragged(MouseEvent e) {\n }",
"@Override\n public void mouseDragged(MouseEvent arg0) {\n \n }",
"@Override\n \tpublic void mouseDragged(MouseEvent e) {\n \t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\r\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\r\n\t}",
"@Override\n public void mouseDragged(MouseEvent e) {\n\n }",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\n\t}",
"public boolean onDragStarted();",
"private void enableDrag() {\n final Delta dragDelta = new Delta();\n setOnMousePressed((MouseEvent mouseEvent) -> {\n // record a delta distance for the drag and drop operation.\n if(isDragEnabled) {\n dragDelta.x = getCenterX() - mouseEvent.getX();\n dragDelta.y = getCenterY() - mouseEvent.getY();\n }\n });\n setOnMouseDragged((MouseEvent mouseEvent) -> {\n if(isDragEnabled) {\n double newX = mouseEvent.getX() + dragDelta.x;\n if (newX > 0 && newX < getScene().getWidth()) {\n setCenterX(newX);\n if(this == base)\n startX = getCenterX();\n }\n double newY = mouseEvent.getY() + dragDelta.y;\n if (newY > 0 && newY < getScene().getHeight()) {\n setCenterY(newY);\n if(this == base)\n startY = getCenterY();\n }\n }\n });\n }",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\n\t\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\t\n\t\t}",
"@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent arg0) {\n\r\n\t\t\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\r\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}",
"void onDragged();",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n public void onDragStarted(int position) {\n }",
"@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0)\n\t{\n\t\t\n\t}",
"@Override\n public void mouseDragged(java.awt.event.MouseEvent e) {\n }",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\n\t}",
"@DISPID(204)\r\n public boolean beginDrag() {\r\n throw new UnsupportedOperationException();\r\n }",
"@Override\n\tpublic boolean touchDragged(int arg0, int arg1, int arg2) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int arg0, int arg1, int arg2) {\n\t\treturn false;\n\t}",
"public boolean dragFromSubComponents();",
"public void setDragEnabled(boolean enabled) { \n \tthis.dragEnabled = enabled; \n \t}",
"public boolean isDragEnabled() {\n return mDragEnabled;\n }",
"public void mouseDragged (MouseEvent e) {}",
"public boolean canStartDrag()\n\t{\n\t\treturn !isDragging();\n\t}",
"public void mouseDragged(MouseEvent e){}",
"public void mouseDragged(MouseEvent e) {}",
"public boolean isDragging( ) {\n\t\tif ( draggable ) {\n\t\t\tif ( dragging ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"public void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}",
"public void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}",
"@Override\n public boolean touchDragged(int screenX, int screenY, int pointer) {\n return false;\n }",
"@Override\n public boolean touchDragged(int screenX, int screenY, int pointer) {\n return false;\n }",
"@Override\n\tpublic void mouseDragged(int arg0, int arg1, int arg2, int arg3) {\n\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer)\n\t{\n\t\treturn false;\n\t}",
"public void mouseDragged(MouseEvent e) {\n\n }",
"public void mouseDragged(MouseEvent e) {\n }",
"@Override\n public void onDragging(DragParams params) {\n // Do nothing.\n }",
"public void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"public void mouseDragged(MouseEvent e) {\n\t}",
"public boolean isDragging()\n\t{\n\t\treturn dragged != null;\n\t}",
"public void mouseDrag(MouseEvent e, int x, int y) {\n // Do nothing.. \n }",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tco.mouseDragged(e);\n\t}",
"public void mouseDragged(MouseEvent event) { }",
"@Override\r\n\tpublic void mouseDragged(MouseEvent me) {\r\n\t\tdrag(me.getX(), me.getY());\r\n\t}",
"@Override\n\t\t\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\t\t\treturn false;\n\t\t\t}",
"@Override\n\t\t\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\t\t\treturn false;\n\t\t\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\n\t}",
"@Override\n public void onDragEnd() {\n // Do nothing.\n }",
"@DISPID(-2147412077)\n @PropGet\n java.lang.Object ondragstart();",
"@Override\n\tpublic void dragDropped() {\n\n\t}",
"public void mouseDragged(MouseEvent e) {\n\t \t\t\n\t \t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\tif(state.getStatus()==Status.SELECTING_RECT){\n\t\t\t\tif(startDragginPoint == null)\n\t\t\t\t\tdraggingFrom(arg0.getPoint());\n\t\t\t\tcurrentDragPoint = arg0.getPoint();\t\n\t\t\t\trepaint();\n\t\t\t}\n\t\t\tif(state.getStatus()==Status.SELECTING_RECT_LS){\n\t\t\t\tif(startDragginPoint == null)\n\t\t\t\t\tdraggingFrom(arg0.getPoint());\n\t\t\t\tcurrentDragPoint = arg0.getPoint();\t\n\t\t\t\trepaint();\n\t\t\t}\n\t\t}",
"@Override\n\tpublic void nativeMouseDragged(NativeMouseEvent e) {\n\t\t\n\t}",
"public void mouseDragged(MouseEvent e)\n {}",
"@Override\r\n\tpublic boolean touchDragged(int screenX, int screenY, int pointer) {\n\t\treturn false;\r\n\t}",
"@Override\r\n public void mousePressed(MouseEvent e) {\n startDrag = new Point(e.getX(), e.getY());\r\n endDrag = startDrag;\r\n repaint();\r\n\r\n }",
"public void mouseDragged(MouseEvent mouseEvent)\r\n { \r\n // Do nothing for this\r\n }",
"public void mouseDragged( MouseEvent e ) {\n }",
"public void mouseDragged( MouseEvent event ){}",
"@Override\n \tpublic void roiDragged(ROIEvent evt) {\n \t\t\n \t}",
"@Override\n\tpublic boolean isMovable() {\n\t\treturn false;\n\t}"
] |
[
"0.845048",
"0.7980012",
"0.78591734",
"0.7792767",
"0.7756633",
"0.7756633",
"0.7739826",
"0.77389735",
"0.77389735",
"0.77389735",
"0.77118737",
"0.7707798",
"0.76972544",
"0.76957047",
"0.76957047",
"0.76957047",
"0.76957047",
"0.76957047",
"0.7691661",
"0.7691661",
"0.769108",
"0.76815",
"0.76629215",
"0.7630966",
"0.7559823",
"0.75515974",
"0.7547981",
"0.7539994",
"0.75310403",
"0.751903",
"0.751903",
"0.75169754",
"0.75135016",
"0.75135016",
"0.75135016",
"0.75135016",
"0.75135016",
"0.75135016",
"0.75135016",
"0.75121206",
"0.7506594",
"0.75030833",
"0.7490726",
"0.74823505",
"0.74823505",
"0.7474792",
"0.7363208",
"0.7363208",
"0.73541474",
"0.7349759",
"0.73307097",
"0.7211916",
"0.71968055",
"0.71946555",
"0.7157441",
"0.71430904",
"0.7130951",
"0.7130951",
"0.710975",
"0.710975",
"0.7090093",
"0.7083991",
"0.708172",
"0.705885",
"0.70572674",
"0.7051307",
"0.704162",
"0.7036401",
"0.70263165",
"0.69914794",
"0.6987502",
"0.697141",
"0.69712746",
"0.69712746",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.696197",
"0.69618654",
"0.6940145",
"0.6933421",
"0.6927263",
"0.69262916",
"0.6924343",
"0.6923837",
"0.6921487",
"0.6910134",
"0.69067",
"0.6898341",
"0.6888461",
"0.6883108",
"0.6866712"
] |
0.0
|
-1
|
Constructor for the binary dictionary. This is supposed to be called from the dictionary factory. All implementations should pass null into flagArray, except for testing purposes.
|
public BinaryDictionary(final Context context,
final String filename, final long offset, final long length,
final boolean useFullEditDistance, final Locale locale, final String dictType) {
super(dictType);
mLocale = locale;
mUseFullEditDistance = useFullEditDistance;
loadDictionary(filename, offset, length);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public MagicDictionary() {\n\n }",
"public ArrayHashMap() {\n super();\n }",
"public Binary() { \n\t_decNum = 0;\n\t_binNum = \"0\";\n }",
"public ArrayMap() {\n this(DEFAULT_INITIAL_CAPACITY);\n }",
"public BVHashtable()\n {\n super();\n }",
"public AgentBuilderDictionary(int initialCapacity) {\n\t\tsuper(initialCapacity);\n\t}",
"public AbstractKerberosFlags( byte[] flags )\n {\n super( flags );\n // Remember getBytes() \"A first byte containing the number of unused bits is added\"\n value = ( ( getBytes()[1] & 0x00F ) << 24 ) | ( ( getBytes()[2] & 0x00FF ) << 16 ) | ( ( getBytes()[3] & 0x00FF ) << 8 ) | ( 0x00FF & getBytes()[4] ); \n }",
"public MagicDictionary() {\n this.map = new HashMap<>();\n }",
"public MagicDictionary() {\n root=new Node();\n }",
"public Flag() {\n }",
"public AgentBuilderDictionary() {\n\t\tsuper();\n\t}",
"public WordDictionary() {\n }",
"public WordDictionary() {\n\n }",
"public WordDictionary() {\n\n }",
"public WordDictionary() {\n\n }",
"public WordDictionary() {\n letters = new WordDictionary[26];\n }",
"void init(int dictionarySize) throws IOException;",
"public IntMap()\r\n {\r\n this(16);\r\n }",
"public TreeDictionary() {\n\t\t\n\t}",
"private FileIDDictionary() {\n }",
"public InMemoryDictionary(File dictFile) {\n\t\t// TODO: Implement constructor\n\t}",
"private void init() {\n _capacity = 1 << 9;\n int holderSize = _capacity << 1;\n _keyValueHolder = new int[holderSize];\n _mask = holderSize - 1;\n _maxNumEntries = (int) (_capacity * LOAD_FACTOR);\n }",
"public MyHashMap() {\n arr = new int[100000];\n \n //To initialize the value with -1\n Arrays.fill(arr,-1);\n \n }",
"public NativePrimitiveArrayStateManagerImpl()\n {\n }",
"public Dictionary () {\n\t\tsuper();\n\t\t//words = new ArrayList < String > () ;\n\t}",
"public HashMap(){\n\t\tthis.numOfBins=10;\n\t\tthis.size=0;\n\t\tinitializeMap();\n\t}",
"private ByteTools(){}",
"public MagicDictionary() {\n\t\troot = new TrieNode();\n\t}",
"public MyHashMap() {\n\t\tthis(INIT_CAPACITY);\n\t}",
"public WordDictionary() {\n \n \n }",
"public Flag()\n {\n super(\"Flag\");\n }",
"private Bits32() {\r\n }",
"public BinaryTree()\r\n\t{\r\n\t\t// Initialize field values\r\n\t\tthis.counter = 0;\r\n\t\tthis.arrayCounter = 0;\r\n\t\tthis.root = null;\r\n\t}",
"public ArrBag()\n {\n count = 0; // i.e. logical size, actual number of elems in the array\n }",
"public Code()\n\t{\n\t\tbits = new ArrayList<Boolean>();\n\t}",
"private DictionaryReader() {}",
"public AgentBuilderDictionary(int initialCapacity, float loadFactor) {\n\t\tsuper(initialCapacity, loadFactor);\n\t}",
"public MyHashMap() {\n\n }",
"public DynamicArray() {\n this(16);\n }",
"public RbTreeMap() {\n super();\n }",
"private void createBin(int size) \n\t{\n\t// create an array of the appropriate type\n\tfBin = (Object[]) Array.newInstance(fClass, size);\t\n\t}",
"@SuppressWarnings(\"unchecked\")\r\n\tpublic HashMap()\r\n\t{\r\n\t\ttable = new MapEntry[7];\r\n\t\tcount = 0;\r\n\t\tmaxCount = table.length - table.length/3;\r\n\t\tDUMMY = new MapEntry<>(null, null);\r\n\t}",
"public WordDictionary() {\n\n }",
"public ByteArray()\n\t{\n\t\t// initialize the byte array\n\t\tbytes = new byte[0];\n\t}",
"public FeatureDictionary() {\n\tif (ADD_DUMMY_COMPONENT) {\n\t id2label.add( DUMMY_LABEL );\n\t label2id.put( DUMMY_LABEL, new Integer(0));\n\t}\n }",
"public SegmentInformationTable()\n\t{\n\n\t}",
"public BoggleSolver(String[] dictionary) {\n for (int i = 0; i < dictionary.length; ++i) {\n add(dictionary[i]);\n }\n }",
"public MyHashTable( )\r\n\t{\r\n\t\tthis(DEFAULTTABLESIZE);\r\n\t\t\r\n\t\t\t\r\n\t}",
"public Bit_Interface(String stage)\n {\n super(stage);\n }",
"public BoggleSolver(String[] dictionary) {\n this.dictionary = new TrieST();\n for (String word: dictionary) {\n this.dictionary.put(word, true);\n }\n }",
"public Dictionary() throws IOException {\r\n\t\tthis(FILE_NAME);\r\n\t}",
"public MyHashTable( )\n {\n this( DEFAULT_TABLE_SIZE );\n }",
"public AbstractBinaryInteraction() {\n\n\t}",
"public Dictionary() { //constructor\r\n try {\r\n createDictionary(); //create dictionary\r\n addCustomWords(); //add any user define words in it\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }",
"public BinaryTree() {\n\t}",
"public _No_706_DesignHashMap() {\n// Arrays.fill(arr, -1);\n }",
"public AbstractKerberosFlags()\n {\n super( MAX_SIZE );\n }",
"public DictionaryHandler() {\n\t}",
"public TLongArray() {\n\t}",
"public DesignHashmap() {\n\t\ttable = new boolean[buckets][];\n\t}",
"public Code(ArrayList<Boolean> bits)\n\t{\n\t\tthis.bits = bits;\n\t}",
"public SparseBooleanArray() {\r\n\t\tthis(10);\r\n\t}",
"public BinaryField(JNIBinaryField field)\n\t{\n\t\tsetInternal(field);\n\t}",
"public AbstractKerberosFlags()\n {\n value = 0;\n }",
"@DSSafe(DSCat.SAFE_OTHERS)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:00:53.096 -0500\", hash_original_method = \"AD601F3532730C1588B10C0B2F4700C0\", hash_generated_method = \"7CF3579665197E3D9616E88D35150E2D\")\n \npublic ASN1BitString() {\n super(TAG_BITSTRING);\n }",
"public BinaryArray(int[] binaries) {\n this.binaries = binaries;\n }",
"public HotkeyData ()\n {\n this ( false, false, false, null );\n }",
"public BinaryHeap() {\n }",
"public CompactHashMap() {\n\t\tthis(INITIAL_SIZE);\n\t}",
"private KidDatabaseDisk(){\n //for use with loadFromFileUnsafe() builder\n super();\n sequenceLength.add(0);\n exceptionsArr = new ArrayList<HashMap<Integer,Character>>();\n exceptionsArr.add(new HashMap<Integer,Character>());\n }",
"public Dictionary(){\n root = null;\n numItems = 0;\n }",
"public MyHashMap() {\n store = new int[1000001]; // Max number of key-value pairs allowed in the HashMap, cant exceed it.\n Arrays.fill(store, -1); // we have to anyways return -1 if key doesn't exists.\n }",
"public AbstractIntHashMap() {\n this(DEFAULT_CAPACITY, DEFAULT_LOADFACTOR);\n }",
"public KeyManager() {\r\n keys = new boolean[256];\r\n }",
"public Dictionary()\n\t\tthrows FileNotFoundException, IOException\n\t{\n\t\tthis(\"dictionary.txt\");\n\t}",
"private void init(boolean[] flags) {\n\t\tflags[0] = false; \n\t\tflags[1] = false; \n\t\t\n\t\tfor (int i=2; i<flags.length; i++) {\n\t\t\tflags[i] = true; \n\t\t}\n\t}",
"public AbstractKerberosFlags( byte[] flags )\n {\n if ( ( flags == null ) || ( flags.length != 4 ) )\n {\n throw new IllegalArgumentException( \"The given flags is not correct\" );\n }\n \n value = ( ( flags[0] & 0x00FF ) << 24 ) | ( ( flags[1] & 0x00FF ) << 16 ) | ( ( flags[2] & 0x00FF ) << 8 ) | ( 0x00FF & flags[3] ); \n }",
"public BoggleSolver(final String[] dictionary) {\n inputdict = new TrieST();\n for (int i = 0; i < dictionary.length; i++) {\n inputdict.add(dictionary[i]);\n }\n // validwords = new HashSet<>();\n }",
"public MyHashMap() {\n\n }",
"public BinaryRefAddr(String paramString, byte[] paramArrayOfbyte) {\n/* 81 */ this(paramString, paramArrayOfbyte, 0, paramArrayOfbyte.length);\n/* */ }",
"private void createFlags() {\n if (flags!=null) return;\n flags = JCSystem.makeTransientBooleanArray(NUMFLAGS, JCSystem.CLEAR_ON_RESET);\n setValidatedFlag(false);\n }",
"public HashArray(){\n this(10);\n }",
"static void initBin(int[] binToInt)\n {\n for(int i = 0; i < 32; i++)\n {\n binToInt[i] = 0;\n }\n }",
"public WordDictionary()\n {\n root = new TrieNode1();\n\n }",
"public DictionaryModuleImpl() {\r\n }",
"public NativeIntegerObjectArrayImpl()\n {\n }",
"public FlagPositions() {\r\n this(6);\r\n }",
"public MyHashMap() {\n array = new TreeNode[1024];\n\n }",
"public OBOMapper() {\n this(true);\n }",
"public MyHashTable() {\n\t\tthis(DefaultCapacity);\n\t}",
"public Bite() {\r\n\t\tsuper(8, \"bites\");\r\n\t}",
"public void initDefaultValues(BinaryContent t)\r\n\t{\n\r\n\t}",
"public MyLinkedHashMap(int val1, float val2, boolean val3){\n super(val1, val2, val3);\n }",
"public Basket(){\r\n\r\n basket = new Hashtable();\r\n keys = new Vector();\r\n }",
"public void\ninit(SoState state)\n//\n////////////////////////////////////////////////////////////////////////\n{\n flags = 0;\n}",
"public EncodingMap() {}",
"public MyHashMap() {\r\n data = new Node[DEFAULT_CAPACITY];\r\n }",
"public BitTwiddle() {\r\n\t\t}",
"public BinaryNode() {\n\t\tthis(null);\t\t\t// Call next constructor\n\t}",
"public MappedArgument(String label, int flags, V[] array,\n Map<String, V> valueMap, boolean caseInsensitive, String description) {\n super(label, flags, array, description);\n this.valueMap = valueMap;\n this.caseInsensitive = caseInsensitive;\n }"
] |
[
"0.61425775",
"0.6073161",
"0.59965825",
"0.59942013",
"0.59570557",
"0.5903155",
"0.58463985",
"0.580169",
"0.5762211",
"0.574304",
"0.57187873",
"0.57030576",
"0.5686595",
"0.5686595",
"0.5686595",
"0.5676817",
"0.5669737",
"0.56652415",
"0.5656466",
"0.5629075",
"0.562517",
"0.5623508",
"0.56106544",
"0.56096095",
"0.560224",
"0.55994415",
"0.55885106",
"0.5557208",
"0.5554867",
"0.55542374",
"0.5546277",
"0.55448395",
"0.554125",
"0.5494053",
"0.5471143",
"0.54642314",
"0.5464107",
"0.5452785",
"0.54398036",
"0.54384214",
"0.54356754",
"0.5432422",
"0.54290646",
"0.54210246",
"0.5419743",
"0.5414617",
"0.53946215",
"0.53910166",
"0.53806996",
"0.53683096",
"0.5359277",
"0.5348957",
"0.53464794",
"0.5345596",
"0.53446776",
"0.53410023",
"0.5340508",
"0.5333075",
"0.532522",
"0.53179973",
"0.53047574",
"0.52949595",
"0.52880013",
"0.5284142",
"0.52829",
"0.5279035",
"0.52776414",
"0.5269237",
"0.5268747",
"0.5267703",
"0.5252698",
"0.524303",
"0.52391076",
"0.5224458",
"0.5223464",
"0.5215385",
"0.52128714",
"0.52123386",
"0.5204736",
"0.520333",
"0.52013445",
"0.5200645",
"0.51989883",
"0.5193605",
"0.51877624",
"0.51856714",
"0.5185158",
"0.51831025",
"0.51810193",
"0.51753616",
"0.51751405",
"0.51748335",
"0.51708996",
"0.5151757",
"0.51498944",
"0.5146369",
"0.51444966",
"0.51418453",
"0.51387936",
"0.5132046"
] |
0.6062081
|
2
|
TODO: Move native dict into session
|
private final void loadDictionary(String path, long startOffset, long length) {
Log.e(TAG, "loadDictionary: path=" + path);
mNativeDict = openNative(path, startOffset, length, TYPED_LETTER_MULTIPLIER,
FULL_WORD_SCORE_MULTIPLIER, MAX_WORD_LENGTH, MAX_WORDS, MAX_PREDICTIONS);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\npublic void setSession(Map<String, Object> arg0) {\n\t\r\n}",
"private static JsonSession toBasicJson(Session session) {\r\n\t\tJsonSession jsonSession = new JsonSession();\r\n\t\tapplyBasicJsonValues(jsonSession, session);\r\n\t\treturn jsonSession;\r\n\t}",
"@Override\r\n\tpublic void setSession(Map<String, Object> map) {\r\n\t\t sessionMap=(SessionMap<String, Object>)map;\r\n\t\t\r\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> map) {\n\t\tsessionMap=(SessionMap<String, Object>) map;\n\t}",
"@Override\r\n\tpublic void setSession(Map<String, Object> arg0) {\n\t\t\r\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> s) {\n\t\tsession = s;\n\t}",
"public void setSession(Map<String, Object> session) {\n\t\t\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> map) {\n\t\tthis.session=map;\n\t\t\n\t}",
"public Object getObjFromSession(String key)\n\t{\n\t\treturn context.getSession().get(key);\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> session) {\n\t\tthis.session=session;\n\t}",
"@Override\r\n\tpublic void setSession(Map<String, Object> session) \r\n\t{\n\t\tthis.session = session;\r\n\t}",
"@Override\n\tpublic void setSession(Map<String,Object> mySession) {\n\t\tthis.mySession = mySession;\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> session)\n\t{\n\t\tthis.session = session;\n\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> arg0) {\n\t\tmap=arg0;\n\t\t\n\t\t\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> arg0) {\n\t\tthis.session = arg0;\n\t\t\n\t}",
"@Override\r\n\tpublic void setSession(Map<String, Object> session) {\n\t\tthis.session=session;\r\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> session) {\n\t\tthis.session = session;\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> arg0) {\n\t\tmap=arg0;\n\t\t\n\t}",
"@Override\n\tpublic void setSession(Map<String, Object> arg0) {\n\t\tthis.session = arg0;\n\t}",
"@Override\r\n\tpublic void setSession(Map<String, Object> arg0) {\n\t\tthis.session = arg0;\r\n\t}",
"@Override\r\n\tpublic void setSession(Map<String, Object> session) {\n\t\tthis.session = session;\r\n\t}",
"@Override\r\n\tpublic void setSession(Map<String, Object> session) {\n\t\tthis.session = session;\r\n\t}",
"@Override\n protected void readAdditionalFields(final UnsafeBufferSerializer buffer)\n {\n final int encodedSessionKeySize = buffer.readInt();\n\n // If the internal byte array for they key don't have the right size, create it again\n if (this.encodedSessionKey.length != encodedSessionKeySize)\n {\n this.encodedSessionKey = new byte[encodedSessionKeySize];\n }\n\n // Read the session key\n buffer.readBytes(this.encodedSessionKey);\n }",
"byte[] makeBindaryData(RedisSession session) throws IOException;",
"public void setSession(Map<String, Object> session)\r\n\t{\n\t\tthis.session = session;\r\n\t}",
"protected Object getValFromSession(HttpSession session, String key) {\n if (session == null) {\n return null;\n }\n return session.getAttribute(key);\n }",
"Object getNativeSession();",
"public SessionParameters () {\n\t\tsuper();\n\t\tlocale = Locale.getDefault();\n\t\tcustomDictionaries = new HashSet<>();\n\t}",
"protected Map<String, String> startSession() throws IOException {\n return startSession(null);\n }",
"public abstract I_SessionInfo getSession(I_SessionName sessionName);",
"public abstract I_SessionInfo getSessionInfo(I_SessionName sessionName);",
"@SuppressWarnings(\"unchecked\")\n protected <T> T getValFromSession(HttpSession session, String key, Class<T> clsT) {\n if (session == null) {\n return null;\n }\n return (T) session.getAttribute(key);\n }",
"public interface Session {\n\n String API_KEY = \"kooloco\";\n String USER_SESSION = \"szg9wyUj6z0hbVDU6nM2vuEmbyigN3PgC5q8EksKTs25\";\n String USER_ID = \"24\";\n String DEVICE_TYPE = \"A\";\n\n String getApiKey();\n\n String getUserSession();\n\n String getUserId();\n\n void setApiKey(String apiKey);\n\n void setUserSession(String userSession);\n\n void setUserId(String userId);\n\n String getDeviceId();\n\n void setUser(User user);\n\n User getUser();\n\n void clearSession();\n\n String getLanguage();\n\n String getCurrency();\n\n String getAppLanguage();\n\n void setCurrency(String currency, String lCurrency);\n\n}",
"public IDictionary getDictionary(){\n \treturn dict;\n }",
"public interface ServerSession {\n\n /**\n * Fixed field used to store the initial URI used to create this session\n */\n public static final String INITIAL_URI = \"_INITIAL_URI\";\n\n /**\n * Fixed field containing the user agent used to request the initial url\n */\n public static final String USER_AGENT = \"_USER_AGENT\";\n\n /**\n * Fixed field storing the name of the current user owning this session\n */\n public static final String USER = \"_USER\";\n\n /**\n * Fixed field storing the IP which was used to create the session\n */\n public static final String REMOTE_IP = \"_REMOTE_IP\";\n\n /**\n * Returns the timestamp of the sessions creation\n *\n * @return the timestamp in milliseconds when the session was created\n */\n long getCreationTime();\n\n /**\n * Returns the unique session id\n *\n * @return the session id\n */\n String getId();\n\n /**\n * Returns the timestamp when the session was last accessed\n *\n * @return the timestamp in milliseconds when the session was last accessed\n */\n long getLastAccessedTime();\n\n /**\n * Returns the max. time span a session is permitted to be inactive (not accessed) before it is eligible for\n * invalidation.\n * <p>\n * If the session was not accessed since its creation, this time span is rather short, to get quickly rid of\n * \"one call\" sessions created by bots. After the second call, the timeout is expanded.\n *\n * @return the max number of seconds since the last access before the session is eligible for invalidation\n */\n int getMaxInactiveInterval();\n\n /**\n * Fetches a previously stored value from the session.\n *\n * @param key the key for which the value is requested.\n * @return the stored value, wrapped as {@link sirius.kernel.commons.Value}\n */\n @Nonnull\n Value getValue(String key);\n\n /**\n * Returns a list of all keys for which a value is stored in the session\n *\n * @return a list of all keys for which a value is stored\n */\n List<String> getKeys();\n\n /**\n * Determines if a key with the given name is already present.\n *\n * @param key the name of the key\n * @return <tt>true</tt> if a value with the given key exists, <tt>false</tt> otherwise\n */\n boolean hasKey(String key);\n\n /**\n * Stores the given name value pair in the session.\n *\n * @param key the key used to associate the data with\n * @param data the data to store for the given key. Note that data needs to be serializable!\n */\n void putValue(String key, Object data);\n\n /**\n * Deletes the stored value for the given key.\n *\n * @param key the key identifying the data to be removed\n */\n void removeValue(String key);\n\n /**\n * Deletes this session.\n */\n void invalidate();\n\n /**\n * Determines if the session is new.\n * <p>\n * A new session was created by the current request and not fetched from the session map using its ID.\n *\n * @return <tt>true</tt> if the session was created by this request, <tt>false</tt> otherwise.\n */\n boolean isNew();\n\n /**\n * Signals the system that this session belongs to a user which logged in. This will normally enhance the\n * session live time over a session without an attached user.\n */\n void markAsUserSession();\n\n}",
"public void setSession(Map map) {\n\t\tthis.sessionMap=map;\n\t}",
"public Result withSession(Map<String, String> session) {\n return withSession(new Session(session));\n }",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tString data = convertStreamToString(req.getInputStream());\r\n\t\t\r\n\t\tGson gson = new Gson();\r\n\t\tSession session = gson.fromJson(data, Session.class);\r\n\r\n\t\tresp.setContentType(\"text/plain\");\r\n\t\tPrintWriter out = resp.getWriter();\r\n\t\tif(session != null) {\t\t\r\n\t\t\t\r\n\t\t\tout.flush();\r\n\r\n\t\t\tOfyUtil.insertSessionEntry(session);\r\n\t\t}\r\n\t}",
"public Map getSessionMap() {\r\n\t\treturn sessionMap;\r\n\t}",
"private void updateSessionDetailsInDB(GlusterGeoRepSession session) {\n for (GlusterGeoRepSessionDetails sessDetails : session.getSessionDetails()) {\n sessDetails.setSessionId(session.getId());\n }\n getGeoRepDao().saveOrUpdateDetailsInBatch(session.getSessionDetails());\n }",
"@Override\n\tpublic void saveSession(CacheHttpSession httpSession) {\n\t\t\n\t}",
"Session getCurrentSession();",
"Session getCurrentSession();",
"private Map<String, List<String>> getDictionary() {\n\t\tMap<String, List<String>> dictMap = dictionary.getMultiValueDict();\n\t\treturn dictMap;\n\t}",
"public static DynaStoreSession getDynaStoreSession(RequestContext req,Map mapData){\r\n\t\tDynaStoreSession dynaSession=new DynaStoreSession(req,mapData);\r\n\t\treturn dynaSession;\r\n\t}",
"public String testSession() {\n ActionContext context = ActionContext.getContext();\n Map session = context.getSession(); //session\n Struts2Utils.renderJson(session);\n return null;\n }",
"private static void sessionFromCurrentSession(final Context context) {\n\n \t// The session itself\n final Session newSession = Session.getInstance();\n \n // The service\n Service newService = new Service();\n newSession.setService(newService);\n\n // The shared preferences\n Preferences preferences = new Preferences(context);\n newSession.setPreferences(preferences);\n\n // The database\n RestaurantDBAdapter restaurantDBAdapter = new RestaurantDBAdapter(context);\n newSession.setRestaurantDBAdapter(restaurantDBAdapter);\n\n // The hashmap of all the restaurants\n HashMap<String, Restaurant> restaurants = restaurantDBAdapter.getAllRestaurants();\n newSession.setRestaurants(restaurants);\n\n //Save the current session\n Session.setCurrentSession(newSession);\n Session.currentSession.saveAsCurrentSession(context);\n }",
"protected void storeParameters(SessionSrvc session, HttpServletRequest req)\n {\n for (Enumeration paramNames = req.getParameterNames(); paramNames.hasMoreElements();)\n {\n\t String name = (String) paramNames.nextElement();\n\t // req.getSession().putValue(name, req.getParameter(name));\n\t session.putLocalValue(name, req.getParameter(name));\n }\n }",
"@Override\r\npublic void sessionWillPassivate(HttpSessionEvent arg0) {\n\t\r\n}",
"public Map getProperties() {\n HttpSession session = (HttpSession) _currentSession.get();\n if (session == null) {\n return new HashMap();\n }\n HashMap properties = new HashMap();\n Enumeration enuAttributes = session.getAttributeNames();\n while (enuAttributes.hasMoreElements()) {\n String nextAttribute = (String) enuAttributes.nextElement();\n Object value = session.getAttribute(nextAttribute);\n properties.put(nextAttribute, value);\n }\n return properties;\n }",
"protected Session getSession() { return session; }",
"@Override\n\tprotected Session doReadSession(Serializable sessionId) {\n\t\treturn null;\n\t}",
"Session getSession();",
"Session getSession();",
"com.weizhu.proto.WeizhuProtos.Session getSession();",
"public interface SessionAccess\n{\n /**\n * Returns the current session identifier.\n */\n String getSessionId();\n\n /**\n * Retrieves named attribute from the session\n *\n * @param name an attribute name\n * @return an attribute value stored in the session\n */\n Object getAttribute(String name);\n\n /**\n * Stores named attribute into the session\n *\n * @param name an attribute name\n * @param value an attribute value\n */\n void setAttribute(String name, Object value);\n}",
"public interface FormSessionListView {\n String getId();\n String getTitle();\n Instant getDateCreated();\n Map<String, String> getSessionData();\n}",
"public Map<String, Object> getCurrentData() throws Exception;",
"public final HashMap<String, String> invoke() {\n Serializable serializable = com.iqoption.core.ext.a.s(this.this$0).getSerializable(\"ARG_REDIRECT_PARAMS\");\n if (serializable != null) {\n return (HashMap) serializable;\n }\n throw new TypeCastException(\"null cannot be cast to non-null type java.util.HashMap<kotlin.String, kotlin.String>\");\n }",
"@Override\n\tpublic void updateSession(CacheHttpSession httpSession) {\n\t\t\n\t}",
"public Dict(Obj value) {\n this.value = value;\n }",
"Map<String, Object> noticeList(Notice notice, HttpSession session);",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tSystem.out.println(req.getSession().getAttribute(\"attr\"));\n\t\treq.getSession().setAttribute(\"attr\", req.getParameter(\"session\"));\n\t\tSystem.out.println(req.getSession().getAttribute(\"attr\"));\n\t}",
"@Override\n\tpublic List<Map> getOptions(DataMsgBus arg0) {\n\t\tHttpSession session=SessUtil.getRequest().getSession();\n\t\tMap userInfo=(Map) session.getAttribute(\"USERINFO\");\n\t\tMap m=new HashMap();\n\t\tm.put(\"ssdwid\", userInfo.get(\"unit_id\"));\n\t\tm.put(\"user_id\", userInfo.get(\"user_id\"));\n\t\tm.put(\"dict_type\", \"常用意见\");\n\t\treturn getDictService().queryDictByType(m);\n\t}",
"public static void loadSession(Session session){\n currentSession = session;\n }",
"public RedisSessionResponseWrapper(HttpServletResponse response, RedisSessionRequestWrapper request) {\n super(response);\n //if session associate with token is not existed, create one for the response\n response.setHeader(TOKEN_HEADER_NAME, request.getSession(true).getId());\n }",
"Session begin();",
"public abstract Map<String, Serializable> toMap();",
"public JoinableSession(JSONObject data) {\n name = data.getString(\"name\");\n id = data.getInt(\"id\");\n }",
"public static Object getObject(HttpSession session, String key) {\n return session.getAttribute(key);\n }",
"public COSDictionary getCOSDictionary() {\n/* 62 */ return this.dictionary;\n/* */ }",
"public static void getSession (HttpServletRequest request, HttpServletResponse response) throws IOException {\n PrintWriter out = response.getWriter();\n ObjectMapper objM = new ObjectMapper();\n HttpSession session = request.getSession();\n Response<LoginData> res = new Response<>();\n LoginData loginData = new LoginData();\n String r;\n\n if (session.isNew()){\n System.out.println(\"Session not started!\");\n res.setMessage(\"Session not started!\");\n loginData.setAdmin(true);\n res.setStatus(403);\n loginData.setName(\"\");\n res.setData(loginData);\n session.invalidate();\n\n } else {\n System.out.println(\"Session started\");\n res.setMessage(\"Session started\");\n res.setStatus(200);\n loginData.setAdmin(true);\n loginData.setName((String) session.getAttribute(\"name\"));\n res.setData(loginData);\n }\n\n r = objM.writeValueAsString(res);\n System.out.println(r);\n out.print(r);\n }",
"public static DynaStoreSession getDynaStoreSession(RequestContext req,String sessionId,Map mapData){\r\n\t\tDynaStoreSession dynaSession=new DynaStoreSession(req,sessionId,mapData);\r\n\t\treturn dynaSession;\r\n\t}",
"protected abstract SESSION getThisAsSession();",
"@Override\n\tprotected Serializable doCreate(Session session) {\n\t\treturn null;\n\t}",
"protected abstract SESSION newSessionObject() throws EX;",
"com.weizhu.proto.WeizhuProtos.SessionOrBuilder getSessionOrBuilder();",
"protected static void storeParametersToSession(ViewLearningToolRequestParams parameters, HttpSession session,\n String applicationKey, String sharedSecret)\n {\n if (parameters.getApiSessionId() == null)\n {\n throw new RuntimeException(\"ApiSessionId is not specified in the querystring.\");\n }\n if (parameters.getLearningObjectId() == null)\n {\n throw new RuntimeException(\"LearningObjectId is not specified in the querystring.\");\n }\n if (parameters.getLearningObjectInstanceId() == null)\n {\n throw new RuntimeException(\"LearningObjectInstanceId is not specified in the querystring.\");\n }\n if (parameters.getVersion() == null)\n {\n throw new RuntimeException(\"Version is not specified in the querystring.\");\n }\n if (parameters.getPermissions() == null)\n {\n throw new RuntimeException(\"Permissions is not specified in the querystring.\");\n }\n\n UserInfo userInfo = new UserInfo();\n userInfo.setAccessibility(parameters.getAccessibility() != null ? parameters.getAccessibility() : false);\n userInfo.setFirstName(parameters.getFirstName());\n userInfo.setLastName(parameters.getLastName());\n userInfo.setEmail(parameters.getEmail());\n userInfo.setSyncKey(parameters.getSyncKey());\n userInfo.setMobile(parameters.getMobile());\n userInfo.setLanguage(parameters.getLanguage());\n userInfo.setLocale(parameters.getLocale());\n userInfo.setWindowsTimeZoneId(parameters.getWindowsTimeZoneId());\n userInfo.setOlsonTimeZoneId(parameters.getOlsonTimeZoneId());\n userInfo.setUser12HTimeFormat(parameters.getUse12HTimeFormat() != null ? parameters.getUse12HTimeFormat() : false);\n userInfo.setEncoding(parameters.getEncoding());\n userInfo.setCustom1Id(parameters.getCustom1Id());\n userInfo.setCustom2Id(parameters.getCustom2Id());\n userInfo.setCustom3Id(parameters.getCustom3Id());\n userInfo.setCustom4Id(parameters.getCustom4Id());\n userInfo.setCustom5Id(parameters.getCustom5Id());\n userInfo.setCustom1(parameters.getCustom1());\n userInfo.setCustom2(parameters.getCustom2());\n userInfo.setCustom3(parameters.getCustom3());\n userInfo.setCustom4(parameters.getCustom4());\n userInfo.setCustom5(parameters.getCustom5()); \n userInfo.setUserId(parameters.getUserId());\n if ( parameters.getCustomerId() != null )\n userInfo.setCustomerId(parameters.getCustomerId());\n\n // Default to guest if userRole is not sent (for backwardscompatibility)\n UserRole userRole = UserRole.Guest;\n if(parameters.getRole()!=null)\n {\n // Set the userRole that we get from it's learning parsed to enum\n userRole = UserRole.valueOf(parameters.getRole());\n }\n \n userInfo.setUserRole(userRole);\n\n try\n {\n userInfo.setSchools(buildSchoolInfoList(parameters.getSchoolId()));\n }\n\n catch(ParseException pe)\n {\n // Invalid format on the request parameter value 'SchoolId'.\n throw new RuntimeException(\"Invalid format on the request parameter value 'SchoolId': \"+parameters.getSchoolId(), pe);\n }\n\t\n\n ApiSession apiSession = constructApiSession(parameters.getApiSessionId(), applicationKey, sharedSecret);\n\n // Put data into session\n // API session and permissions vary for different documents within the same ASP.NET application session\n session.setAttribute(getSessionKey(parameters, Constants.SessionKeys.ApiSessionId), parameters.getApiSessionId());\n session.setAttribute(getSessionKey(parameters, Constants.SessionKeys.ApiSession), apiSession);\n session.setAttribute(getSessionKey(parameters, Constants.SessionKeys.Permissions), parameters.getPermissions());\n\n // UserInfo info is the same for all documents within the same ASP.NET application session\n session.setAttribute(Constants.SessionKeys.UserInfo, userInfo);\n\n }",
"public COSDictionary getCOSDictionary()\n {\n return encryptionDictionary;\n }",
"@Override\r\npublic void sessionCreated(HttpSessionEvent arg0) {\n\t\r\n}",
"public static final WritableMap endSessionResponseToMap(EndSessionResponse response) {\n WritableMap map = Arguments.createMap();\n map.putString(\"state\", response.state);\n return map;\n }",
"@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n// params.put(\"email\", email);\n// params.put(\"password\", password);\n\n params.put(\"user_id\",session.getStringSessionData(\"uid\"));\n\n return params;\n }",
"@Override\n\tprotected void doUpdate(Session session) {\n\n\t}",
"@Override\r\npublic void valueBound(HttpSessionBindingEvent arg0) {\n\t\r\n}",
"public Map<String, String> generateKeyValuePairs() {\n\n // Alternatively, we could update each field as it is \"set\". For now\n // we'll lazily force a refresh of all fields for the sake of\n // simplicity.\n\n if (shouldUpdateCache) {\n\n // Most of this below helps build headers and request ends-points,\n // i.e. urls.\n cachedList.put(\"$$JSON_OBJECT$$\", jsonObject);\n cachedList.put(\"$$AUTH_TOKEN$$\", token);\n cachedList.put(\"$$CONF_ID$$\", confId);\n cachedList.put(\"$$BASE_URL$$\", baseUrl);\n cachedList.put(\"$$SELF_LINK$$\", selfLink);\n cachedList.put(\"$$POOL_OVERRIDE$$\", poolOverride);\n cachedList.put(\"$$CONVERSATION_ID$$\", conversationId);\n cachedList.put(\"$$ACCEPT_LANGUAGE$$\", acceptLanguage);\n\n cachedList.put(\"$$SWID$$\", swid);\n cachedList.put(\"$$CART_ID$$\", cartId);\n cachedList.put(\"$$ITEM_ID$$\", itemId);\n cachedList.put(\"$$ORDER_ID$$\", orderId);\n cachedList.put(\"$$TERMS_ID$$\", termsId);\n cachedList.put(\"$$PAYMENT_INFO$$\", paymentInfo);\n cachedList.put(\"$$AVAILABILITY_ID$$\", availabilityId);\n cachedList.put(\"$$USERNAME$$\", userId);\n cachedList.put(\"$$USERNAME_ESCAPED$$\", getUserIdEscaped(userId));\n cachedList.put(\"$$PASSWORD$$\", userPw);\n cachedList.put(\"$$STORE_ID$$\", storeId);\n cachedList.put(\"$$RESORT_ID$$\", resortId);\n cachedList.put(\"$$PARTY_MIX$$\", partyMix);\n cachedList.put(\"$$COMPONENTS$$\", components);\n cachedList.put(\"$$ROOM_TYPE_ID$$\", roomType);\n cachedList.put(\"$$AFFILIATIONS$$\", affiliations);\n cachedList.put(\"$$SELF_LINK$$\", selfLink);\n cachedList.put(\"$$REGION$$\", region);\n cachedList.put(\"$$SEARCH_DATE$$\", searchDate);\n cachedList.put(\"$$FILTERS$$\", filters);\n\n // Used for finder-service and a whole bunch more.\n cachedList.put(\"$$ENTITY_ID$$\", entityId);\n cachedList.put(\"$$ENTITY_TYPE$$\", entityType);\n cachedList.put(\"$$DESTINATION$$\", destination);\n\n // General user information, generally used for user creation.\n cachedList.put(\"$$ARRIVE_DATE$$\", arriveDate);\n cachedList.put(\"$$DEPART_DATE$$\", departDate);\n cachedList.put(\"$$NAME_TITLE$$\", title);\n cachedList.put(\"$$NAME_FIRST$$\", firstName);\n cachedList.put(\"$$NAME_MIDDLE$$\", middleName);\n cachedList.put(\"$$NAME_LAST$$\", lastName);\n cachedList.put(\"$$NAME_SUFFIX$$\", suffix);\n\n cachedList.put(\"$$ADDR_PHONE_NUMBER$$\", addressPhoneNumber);\n cachedList.put(\"$$BIRTHDATE$$\", birthDate);\n cachedList.put(\"$$ADDR_LINE1$$\", address1);\n cachedList.put(\"$$ADDR_LINE2$$\", address2);\n cachedList.put(\"$$ADDR_CITY$$\", addressCity);\n cachedList.put(\"$$ADDR_STATE$$\", addressState);\n cachedList.put(\"$$ADDR_STATE_CODE$$\", addressStateCode);\n cachedList.put(\"$$ADDR_COUNTRY$$\", addressCountry);\n cachedList.put(\"$$ADDR_COUNTRY_CODE$$\", addressCountryCode);\n cachedList.put(\"$$ADDR_ZIP$$\", addressZip);\n cachedList.put(\"$$QUESTION_CITY_BORN$$\", questionCityBorn);\n cachedList.put(\"$$QUESTION_BAND$$\", questionFavoriteBand);\n cachedList.put(\"$$TOU_CODE_PREFIX$$\", touCodePrefix);\n cachedList.put(\"$$AFFILIATE$$\", affiliate);\n\n // Card Info\n cachedList.put(\"$$CARD_TYPE$$\", cardType);\n cachedList.put(\"$$CARD_SUB_TYPE$$\", cardSubType);\n cachedList.put(\"$$CARD_NUMBER$$\", cardNumber);\n cachedList.put(\"$$CVV$$\", cvv);\n cachedList.put(\"$$EXP_MONTH$$\", expirationMonth);\n cachedList.put(\"$$EXP_YEAR$$\", expirationYear);\n shouldUpdateCache = false;\n }\n return cachedList;\n }",
"public Map<String, Object> getSessionProperties() {\n return sessionProperties;\n }",
"public Session getSession() { return session; }",
"@Override\r\n\t\t\t\t\t\tprotected Object handleGetObject(String key) {\n\t\t\t\t\t\t\tHashMap<String, Object>map = new HashMap<>();\r\n\t\t\t\t\t\t\tmap.put(\"title\",\"클라이언트\");\r\n\t\t\t\t\t\t\tmap.put(\"socket\",socket);\r\n\t\t\t\t\t\t\treturn map.get(key);\r\n\t\t\t\t\t\t}",
"protected abstract Map<String, Serializable> getEventKeyAndIdMap();",
"public Result withNewSession() {\n return withSession(Collections.emptyMap());\n }",
"@SuppressWarnings(\"unchecked\")\n\tprotected void storeInSessionHTML5(HttpServletRequest request, HttpServletResponse response) throws IOException {\n//\t\tSystem.out.println(\"FileUploadServlet.storeInSessionHTML5: \" + request.getParameterMap());\n\t\tServletFileUpload upload = new ServletFileUpload(factory);\n\t\t\n\t\ttry {\n\t\t\tif(ServletFileUpload.isMultipartContent(request)){\n\t\t\t\tList<FileItem> fileItemList = upload.parseRequest(request);\n\t\t\t\tList<Map<String,Object>> jsonResponse = new ArrayList<Map<String,Object>>();\n\t\t\t\tresponse.setContentType(\"text/json\");\n\t\t\t\t\n\t\t\t\tfor(FileItem fileItem : fileItemList){\n\t\t\t\t\tif(fileItem.isFormField()){\n\t\t\t\t\t\tlogger.info(\"FileUploadServlet.storeInSessionHTML5 - file item is form field::: \" + fileItem);\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tlogger.info(\"FileUploadServlet.storeInSessionHTML5.NOT formField \" + fileItem);\n\t\t\t\t\t\tString id = UUID.randomUUID().toString();\n\t\t\t\t\t\trequest.getSession().setAttribute(id, fileItem);\n\t\t\t\t\t\t\n\t\t\t\t\t\t//-- FireFox/HTML5\n\t\t\t\t\t\tMap<String,Object> o = generateJsonResponse(fileItem);\n\t\t\t\t\t\to.put(\"sessionAttributeId\", id);\n\t\t\t\t\t\tjsonResponse.add(o);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//Json list\n\t\t\t\tJacksonUtils.serialize(jsonResponse, response.getWriter());\n\t\t\t}\n\t\t} \n\t\tcatch (Exception exp) {\n\t\t\tConstants.LOGGER.error(exp.getMessage(),exp);\n\t\t\tJacksonUtils.serialize(EntityModel.createErrorMessage(\"FileUpload Exception\", exp.getMessage()), response.getWriter());\n\t\t} \n\t}",
"synchronized Session getSession(long id) {\n return (Session) sessionMap.get(id);\n }",
"@SuppressWarnings(\"unchecked\")\n private static Map<Integer, FlashScope> getContainer(HttpSession session)\n throws IllegalStateException {\n return (Map<Integer, FlashScope>) session\n .getAttribute(StripesConstants.REQ_ATTR_FLASH_SCOPE_LOCATION);\n }",
"protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/html;charset=UTF-8\");\n PrintWriter out = response.getWriter();\n HttpSession session = new HttpSession() {\n public long getCreationTime() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public String getId() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public long getLastAccessedTime() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public ServletContext getServletContext() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public void setMaxInactiveInterval(int interval) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public int getMaxInactiveInterval() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public HttpSessionContext getSessionContext() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public Object getAttribute(String name) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public Object getValue(String name) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public Enumeration<String> getAttributeNames() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public String[] getValueNames() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public void setAttribute(String name, Object value) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public void putValue(String name, Object value) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public void removeAttribute(String name) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public void removeValue(String name) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public void invalidate() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n\n public boolean isNew() {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n };\n try {\n String bsubmit = request.getParameter(\"submit\");\n String inUsername = request.getParameter(\"username\");\n String inPassword = request.getParameter(\"password\");\n if (bsubmit != null) {\n UserDAO userDAO = new UserDAO();\n User user = userDAO.findUserByNameAndPassword(inUsername, inPassword);\n if (user == null) {\n out.write(\"<script type='text/javascript'>\\n\");\n out.write(\"alert(' Sorry, invalid username or password\");\n out.write(\".');\\n\");\n out.write(\"setTimeout(function(){window.location.href='login.jsp'},1000);\");\n out.write(\"</script>\\n\");\n } else {\n if (user.getUserName().equals(inUsername) && user.getPassword().equals(inPassword)) {\n session = request.getSession();\n session.setAttribute(\"userId\", String.valueOf(user.getId()));\n session.setAttribute(\"userName\", user.getUserName());\n out.write(\"<script type='text/javascript'>\\n\");\n out.write(\"alert(' Thank you! You are login with \");\n out.write(user.getUserName());\n out.write(\" account.');\\n\");\n out.write(\"setTimeout(function(){window.location.href='index.jsp'},1000);\");\n out.write(\"</script>\\n\");\n }\n }\n\n }\n\n } finally {\n out.close();\n }\n }",
"ValueMap getProfileMap(\n Authorizable authorizable,\n Session session) throws RepositoryException, StorageClientException, AccessDeniedException;",
"PyDictionary buildRequestTuple(HttpServletRequest req) {\n PyDictionary ret = new PyDictionary();\n ret.putAll(req.getParameterMap());\n return ret;\n }",
"public void setSession(Session session) { this.session = session; }",
"public static void startSession (HttpServletRequest request, HttpServletResponse response) throws IOException {\n DBAccess dbAccess = DBAccess.getInstance();\n PreparedStatement pstm;\n PrintWriter out = response.getWriter();\n HttpSession session = request.getSession();\n ObjectMapper objM = new ObjectMapper();\n PropertiesReader props = PropertiesReader.getInstance();\n UserLogin userL = objM.readValue(request.getReader().lines().collect(Collectors.joining(System.lineSeparator())), UserLogin.class);\n String encryptedPass = NitroEncrypted.getNitroPassword(userL.getPassword());\n Response<LoginData> res = new Response<>();\n LoginData loginData = new LoginData();\n String r;\n\n\n try {\n Connection con = dbAccess.createConnection();\n pstm = con.prepareStatement(props.getValue(\"queryLogin\"), ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n pstm.setString(1, userL.getUser());\n pstm.setString(2, encryptedPass);\n ResultSet rs = pstm.executeQuery();\n if (rs.next()){\n\n if (rs.getInt(\"type_id\") == 1){\n System.out.println(props.getValue(\"isAdmin\") + \": \" + userL.getUser());\n res.setMessage(\"Correct Username and Password!\");\n res.setStatus(200);\n loginData.setAdmin(true);\n loginData.setName(rs.getString(props.getValue(\"retName\")));\n loginData.setId(rs.getInt(props.getValue(\"retID\")));\n res.setData(loginData);\n AttrSession.setAttribute(session, \"name\", rs.getString(props.getValue(\"retName\")));\n AttrSession.setAttribute(session, \"id\", rs.getInt(props.getValue(\"retID\")));\n AttrSession.setAttribute(session, \"admin\", true);\n session.setMaxInactiveInterval((3600 * 24));\n }else{\n System.out.println(props.getValue(\"isnotAdmin\") + \": \" + userL.getUser());\n res.setMessage(\"Correct Username and Password!\");\n res.setStatus(200);\n loginData.setAdmin(false);\n loginData.setName(rs.getString(props.getValue(\"retName\")));\n loginData.setId(rs.getInt(props.getValue(\"retID\")));\n res.setData(loginData);\n AttrSession.setAttribute(session, \"name\", rs.getString(props.getValue(\"retName\")));\n AttrSession.setAttribute(session, \"id\", rs.getInt(props.getValue(\"retID\")));\n AttrSession.setAttribute(session, \"admin\", false);\n session.setMaxInactiveInterval((3600 * 24));\n }\n } else{\n System.out.println(\"This username or password entered isn't correct\");\n res.setMessage(\"This username or password entered isn't correct\");\n res.setStatus(404);\n loginData.setAdmin(false);\n loginData.setName(\"\");\n res.setData(loginData);\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }finally {\n r = objM.writeValueAsString(res);\n System.out.println(r);\n out.print(r);\n }\n\n }",
"Map<String, Object> getTempStorage();"
] |
[
"0.66351",
"0.6395603",
"0.63473696",
"0.6187331",
"0.6187331",
"0.613383",
"0.61093765",
"0.61004907",
"0.60094154",
"0.597671",
"0.5929359",
"0.5893237",
"0.5880861",
"0.58715194",
"0.5870193",
"0.58406186",
"0.5824709",
"0.58119696",
"0.5800683",
"0.57986295",
"0.57778364",
"0.57540953",
"0.5731911",
"0.5731911",
"0.57063884",
"0.56954116",
"0.56487316",
"0.5645469",
"0.5578901",
"0.5567969",
"0.55596155",
"0.555666",
"0.5552428",
"0.55306286",
"0.548346",
"0.5481104",
"0.54658455",
"0.5447329",
"0.54342264",
"0.5427179",
"0.5413646",
"0.53629255",
"0.5343782",
"0.5343443",
"0.5343443",
"0.53401333",
"0.5336564",
"0.5318848",
"0.53152514",
"0.5310245",
"0.52970034",
"0.5266021",
"0.5254823",
"0.5241356",
"0.5230486",
"0.5230486",
"0.52217203",
"0.520704",
"0.52054644",
"0.5193274",
"0.5192904",
"0.5185682",
"0.51773167",
"0.5174016",
"0.51725554",
"0.5166556",
"0.5161878",
"0.5158253",
"0.5138645",
"0.51381093",
"0.51357",
"0.5133859",
"0.51302046",
"0.51211643",
"0.509853",
"0.50945014",
"0.50893044",
"0.50778747",
"0.50681853",
"0.50654435",
"0.506017",
"0.5058486",
"0.50536305",
"0.50444525",
"0.50314313",
"0.5030937",
"0.50063646",
"0.5006277",
"0.49990138",
"0.4996861",
"0.4995817",
"0.49949062",
"0.49857724",
"0.49810997",
"0.4978959",
"0.49776447",
"0.4977319",
"0.496065",
"0.4958574",
"0.4949138",
"0.4946964"
] |
0.0
|
-1
|
/ package for test
|
boolean isValidDictionary() {
return mNativeDict != 0;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Test\n\tpublic void testMain() {\n\t}",
"@Test\n public void simpleUse(){\n }",
"@Test\n\tvoid test() {\n\t\t\n\t}",
"@Test\r\n\tpublic void testSanity() {\n\t}",
"private ProtomakEngineTestHelper() {\r\n\t}",
"private void test() {\n\n\t}",
"public static void main(String[] args) {\n // PUT YOUR TEST CODE HERE\n }",
"public static void loadTest(){\n }",
"@Test\n public void sourceTest() {\n // TODO: test source\n }",
"@Test\n public void sourceTest() {\n // TODO: test source\n }",
"@Override\r\n\t\t\tpublic void test() {\n\t\t\t}",
"@Test\r\n\tpublic void test() {\r\n\t}",
"@Test\n\tpublic void test() {\n\t}",
"@Test\n\tpublic void test() {\n\t}",
"public void testGetBasedata() {\n }",
"@Test\n public void main() {\n MainApp.main(new String[] {});\n }",
"public void testSpock(){\n }",
"@Test\n\tpublic void test(){\n\t}",
"@Override\n public void runTest() {\n }",
"static void testCaculator(){\n }",
"@Test\n public void testPuery(){\n }",
"@Test\r\n\tpublic void client() {\n\t}",
"@Test\n public void package3PicTest() {\n // TODO: test package3Pic\n }",
"@Test\n public void testingTheTwoPlane2016Order() {\n }",
"public void testBidu(){\n\t}",
"@Test(enabled =true, groups={\"fast\",\"window.One\",\"unix.One\",\"release1.one\"})\n\tpublic void testOne(){\n\t\tSystem.out.println(\"In TestOne\");\n\t}",
"@Test\n public void breweryTest() {\n // TODO: test brewery\n }",
"private test5() {\r\n\t\r\n\t}",
"@Test\n public void main() {\n // App.main(null);\n // assertEquals(\"Hello world\", outContent.toString());\n }",
"public void test() {\n\t}",
"@Test\n public void testCarregarUex() {\n }",
"@Test\n public void functionalityTest() {\n new TestBuilder()\n .setModel(MODEL_PATH)\n .setContext(new ModelImplementationGroup3())\n .setPathGenerator(new RandomPath(new EdgeCoverage(100)))\n .setStart(\"e_GoToPage\")\n .execute();\n }",
"public void testGetInsDyn() {\n }",
"@Override\n public void setUp() {\n }",
"@Test\n public void test() {\n\n testBookExample();\n // testK5();\n // testK3_3();\n }",
"public void setUp() {\n\n\t}",
"public static void main(String[] args){\n new Testing().runTests();\r\n \r\n }",
"@Override\n\tpublic void test() {\n\t\t\n\t}",
"@Test\n public void versionTest() {\n // TODO: test version\n }",
"@Test\n public void test() {\n }",
"@Test\n public void init() {\n }",
"@Test\n public void testAddACopy() {\n }",
"@Test\t\n\tpublic void testMain() {\n\n\t\tSystem.out.println(\"hello\");\n\t}",
"@org.junit.Test\r\n\tpublic void test() {\n\t\t\t\t\r\n\t}",
"@Test\n public void testCarregarTrimestre() {\n }",
"@Test\n public void testDAM30203001() {\n testDAM30102001();\n }",
"@Override\n\tpublic void testEngine() {\n\t\t\n\t}",
"@Test\n public void testBeer() {\n // TODO: test Beer\n }",
"@Override\r\n\tpublic void setUp() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void setUp() {\n\r\n\t}",
"@Test\n void list() {\n }",
"@Override\n public void test() {\n \n }",
"@Test\n\tpublic void something() {\n\t}",
"@Test\n\tpublic void getTest() {\n\t}",
"public StrandUnitTest()\n {\n }",
"public void testGetHost() {\n }",
"@Test\n\tvoid searchTest() {\n\t}",
"public void testDummy() {\n }",
"@Test\n public void testOncoKBInfo() {\n // TODO: test OncoKBInfo\n }",
"@Test\n public void test() {\n }",
"@Test\n public void test() {\n }",
"public void testDummy() {\n }",
"@Test\r\n public void testRent() {\r\n }",
"@Test\n public void searchesTest() {\n // TODO: test searches\n }",
"public static void main(String[] args) {\r\n // 2. Call your method in various ways to test it here.\r\n }",
"@Test\n public void testTemplate(){\n }",
"protected void setUp() {\n\n }",
"@Test\r\n public void testRentOut() {\r\n }",
"@Test\n\tvoid testLectureChaineCaracteres() {\n\t}",
"@Test\n public void test(){\n }",
"@Test\n public void test(){\n }",
"@Before\n\t public void setUp() {\n\t }",
"@Test public void test(){\n }",
"@Test\n\tpublic void testFtoC(){\n\t}",
"@Test\n public void demo1(){\n }",
"@Test\n public void checkoutTest() {\n\n }",
"public void test() {\n }",
"public void test() {\n }",
"@Test\n void allBooks() {\n\n }",
"@BeforeClass\n\tpublic static void setup() {\n\n\t}",
"LoadTest createLoadTest();",
"public void testGitHub() {\n\t}",
"@Before\n\tpublic void setUp() {\n\t}",
"private StressTestHelper() {\n // Empty constructor.\n }",
"public void testDumbJUnit() {\n }",
"@Test\n public void testAdminPerm() {\n }",
"@Test\r\n public void testGreeting02(){\r\n\r\n assertEquals(\"Hello SQS\", greets.greet(\"SQS\"));\r\n assertEquals(\"Hello TDD\", greets.greet(\"TDD\"));\r\n }",
"public void testMain() throws Throwable {\n\r\n\t}",
"@BeforeClass\n public static void setUp() {\n }",
"@Test\n public void testCreate() {\n\n }",
"@Test\n\tfinal void test() {\n\t}",
"public void testDummy()\n {\n }",
"@Test\n public void testDAM30402001() {\n testDAM30101001();\n }",
"@Before\n public void setUp () {\n }",
"public BazaarTests() {\r\n\t\tsuper();\r\n\t}",
"@Test\n public void organizationTest() {\n // TODO: test organization\n }",
"protected void setUp()\n {\n }",
"protected void setUp()\n {\n }",
"@Override\r\n protected void setUp() {\r\n // nothing yet\r\n }",
"@Test\n public void main() {\n run(\"TEST\");\n }",
"public void setUp()\r\n {\r\n //empty on purpose\r\n }"
] |
[
"0.7321986",
"0.705925",
"0.70520943",
"0.7028087",
"0.69910204",
"0.69838464",
"0.697992",
"0.6969591",
"0.6941328",
"0.6941328",
"0.69380647",
"0.6892036",
"0.6851991",
"0.6851991",
"0.68097216",
"0.67986184",
"0.67973626",
"0.6789668",
"0.67690545",
"0.67660964",
"0.67613083",
"0.6753048",
"0.6728923",
"0.6725605",
"0.67201686",
"0.6711495",
"0.6708054",
"0.6697094",
"0.6696595",
"0.66824603",
"0.6680461",
"0.6665934",
"0.66563153",
"0.665297",
"0.663814",
"0.66352594",
"0.6623518",
"0.6620336",
"0.6598222",
"0.6594175",
"0.65909225",
"0.6579833",
"0.65544856",
"0.6551941",
"0.6541882",
"0.65320545",
"0.65214765",
"0.6513015",
"0.6511366",
"0.65110785",
"0.65103996",
"0.65103316",
"0.6500219",
"0.64973456",
"0.64959306",
"0.6487465",
"0.6483564",
"0.64683586",
"0.64682376",
"0.64666075",
"0.64666075",
"0.64646477",
"0.6462665",
"0.6462333",
"0.6456996",
"0.6456844",
"0.645374",
"0.6453168",
"0.644956",
"0.64491403",
"0.64491403",
"0.6448347",
"0.6445942",
"0.64454323",
"0.64433616",
"0.6439015",
"0.64368707",
"0.64368707",
"0.6432698",
"0.6431977",
"0.6431572",
"0.6430581",
"0.64280546",
"0.6421762",
"0.64198655",
"0.6419778",
"0.64196044",
"0.64183867",
"0.64163804",
"0.64159346",
"0.64143395",
"0.6414271",
"0.6413843",
"0.64115113",
"0.6411366",
"0.6409008",
"0.64058447",
"0.64058447",
"0.6405792",
"0.6399614",
"0.63979346"
] |
0.0
|
-1
|
TODO: Add a batch process version (isValidBigramMultiple?) to avoid excessive numbers of jni calls when checking for changes in an entire dictionary.
|
public boolean isValidBigram(CharSequence word1, CharSequence word2) {
if (TextUtils.isEmpty(word1) || TextUtils.isEmpty(word2)) return false;
int[] chars1 = StringUtils.toCodePointArray(word1.toString());
int[] chars2 = StringUtils.toCodePointArray(word2.toString());
return isValidBigramNative(mNativeDict, chars1, chars2);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private void checkByteArrKey(Key key) {\n m_logger.debug(\"checkByteArrKey start key:\" + Hex.toHexString((byte[])key));\n if(m_cache != null){\n \tm_logger.debug(\"Cache HashCode:\" + m_cache.hashCode());\n }\n if (m_checked){\n m_logger.debug(\"checkByteArrKey end.\");\n \treturn;\n }\n if (key instanceof byte[]) {\n if (!(m_cache instanceof ByteArrayMap)) {\n throw new RuntimeException(\"Wrong map/set for byte[] key\");\n }\n }\n m_checked = true;\n m_logger.debug(\"checkByteArrKey end.\");\n }",
"boolean isValidDictionary() {\n return mNativeDict != 0;\n }",
"@Test\r\n\tpublic void testDictionaryChanged_manyDictionaries() {\n\t\toutputUpdater.dictionaryChanged(Arrays.asList(\"english-words.10.txt\",\r\n\t\t \"english-words.20.txt\",\r\n\t\t \"english-words.35.txt\"));\r\n\r\n\t\tverify(mockFactory).createAndExecute(eq(mockProgressBarWrapper),\r\n\t\t eq(mockOutputTextViewWrapper),\r\n\t\t any(List.class),\r\n\t\t any(Pattern.class));\r\n\t\t// verify(mockOutputTextViewWrapper)\r\n\t\t// .setText(\"apple\\napple's\\napples\\ngrapple\\ngrappled\\ngrapples\\npineapple\\npineapple's\\npineapples\");\r\n\t}",
"private void checkStringKey(Key key) {\n m_logger.debug(\"checkByteArrKey start key:\" + key.toString());\n if(m_cache != null){\n \tm_logger.debug(\"Cache HashCode:\" + m_cache.hashCode());\n }\n if (m_checked){\n m_logger.debug(\"checkByteArrKey end.\");\n \treturn;\n }\n if (key instanceof String) {\n if (!(m_cache instanceof StringMap)) {\n \tm_logger.debug(\"Cache HashCode:\" + m_cache.hashCode());\n throw new RuntimeException(\"Wrong map/set for String key\");\n }\n }\n m_checked = true;\n m_logger.debug(\"checkByteArrKey end.\");\n }",
"void checkConsistency() {\n for (String word : dictionary) {\n assertEquals(words.contains(word), trie.contains(word));\n }\n }",
"protected boolean getJamoCE32s(int[] r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.icu.impl.coll.CollationDataBuilder.getJamoCE32s(int[]):boolean, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.getJamoCE32s(int[]):boolean\");\n }",
"private void m91737K() {\n String str = this.f73944a;\n boolean z = true;\n if (this.f73953m != 1) {\n z = false;\n }\n C28141am.m92411a(new C28311ag(str, z), new C28312ah(this.f73949f.hashCode()), this.f73944a);\n }",
"private boolean checkDict(String word, String[] dict){\n int a = 0;\n int b = dict.length-1;\n while (a<=b) {\n int m = (a+b)/2;\n if (word.compareTo(dict[m]) == 0) return true;\n else if (word.compareTo(dict[m])>0) a = m+1;\n else b = m-1;\n }\n return false;\n }",
"private boolean checkPAnagrams(int[] mapElements, int[] pElements) {\n for (int i = 0; i < 26; i++) {\n if(mapElements[i]!=pElements[i])\n return false;\n }\n// System.out.println(\"check p anagrams :\" + (System.nanoTime() - startTime));\n return true;\n }",
"public boolean checkDictionaryHealth() {\n\t\tif(integerKeyDictionary.size() != stringKeyDictionary.size()) return false;\n\t\tfor(int index = 0; index < integerKeyDictionary.size(); index++) {\n\t\t\tString fromIntegerKeyDictionary = integerKeyDictionary.get(index);\n\t\t\tint fromStringKeyDictionary = stringKeyDictionary.get(fromIntegerKeyDictionary);\n\t\t\tif(fromStringKeyDictionary != index) {\n\t\t\t\tSystem.out.println(\" Dictionary ERROR \");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"public static void main(String[] args) {\n MapDictionary<String> dictionary = new MapDictionary<String>();\r\n dictionary.addEntry(new DictionaryEntry<String>(\"50 Cent\",\"\"));\r\n dictionary.addEntry(new DictionaryEntry<String>(\"XYZ120 DVD Player\",\"\"));\r\n dictionary.addEntry(new DictionaryEntry<String>(\"cent\",\"\"));\r\n dictionary.addEntry(new DictionaryEntry<String>(\"dvd player\",\"\"));\r\n\r\n // build the dictionary-chunker:\r\n // dictionary, tokenizer factory, flag1, flag2\r\n // tokenizer will ignore thre blank space in the matching process\r\n // all matches flag:\r\n // sensitive flag: when case sensitivity is enabled, \r\n ExactDictionaryChunker dictionaryChunkerTT\r\n = new ExactDictionaryChunker(dictionary,\r\n IndoEuropeanTokenizerFactory.INSTANCE,\r\n true,true);\r\n\r\n ExactDictionaryChunker dictionaryChunkerTF\r\n = new ExactDictionaryChunker(dictionary,\r\n IndoEuropeanTokenizerFactory.INSTANCE,\r\n true,false);\r\n\r\n ExactDictionaryChunker dictionaryChunkerFT\r\n = new ExactDictionaryChunker(dictionary,\r\n IndoEuropeanTokenizerFactory.INSTANCE,\r\n false,true);\r\n\r\n ExactDictionaryChunker dictionaryChunkerFF\r\n = new ExactDictionaryChunker(dictionary,\r\n IndoEuropeanTokenizerFactory.INSTANCE,\r\n false,false);\r\n\r\n\r\n\r\n System.out.println(\"\\nDICTIONARY\\n\" + dictionary);\r\n \r\n String text = \"50 Cent is hard to distinguish from 50 cent and just plain cent without case.\";\r\n System.out.println(\"TEXT=\" + text);\r\n chunk(dictionaryChunkerFF,text);\r\n \r\n text = \"The product xyz120 DVD player won't match unless it's exact like XYZ120 DVD Player.\";\r\n System.out.println(\"TEXT=\" + text);\r\n chunk(dictionaryChunkerFF,text);\r\n\r\n }",
"private boolean processMacrons(String key, String orth){\r\n\t\tVerbum v;\r\n\r\n\t\tif(key.length() != orth.length()){\t// This should never happen!\r\n\t\t\tSystem.out.println(\"Different length! =\" + key + \"=, =\" + orth + \"=\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tString macronForm = \"\";\r\n\t\tfor(int i = 0; i < key.length(); i++){\r\n\t\t\tif(key.charAt(i) != orth.charAt(i))\r\n\t\t\t\tmacronForm = macronForm + \"*\" + key.charAt(i);\r\n\t\t\telse\r\n\t\t\t\tmacronForm = macronForm + key.charAt(i);\r\n\t\t}\r\n\t\t//System.out.println(key + \", \" + orth + \", \" + macronForm);\r\n\t\t//Whether or not to use the binary tree for the searching\r\n\t\tif(useBinTree){\r\n\t\t\t//Binary Tree\r\n\t\t\tv = findWordByNomForm(key, wordTree.root); //Found 8367, failed to find: 9214 - Sec. 8\r\n\t\t} else {\r\n\t\t\t//Linked List\r\n\t\t\tv = findWordByNomForm(key); //Found 13576, failed to find: 4005 - Sec. 20\r\n\t\t}\r\n\t\tif(v != null){\r\n\t\t\tv.macrons = macronForm;\r\n\t\t\twords.addLast(v);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse{\r\n\t\t\t//System.out.println(\"********** failed with \" + key + \": \" + nft);\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}",
"public boolean verdict(int n[]) {\n\treturn true;\n }",
"@Override\n\tpublic boolean doVerify(ProdIterator iterator, Map<String, String> map) {\n\t\treturn false;\n\t}",
"@Test\r\n\tpublic void testDictionaryChanged_oneDictionary() {\n\t\toutputUpdater.dictionaryChanged(Arrays.asList(\"english-words.35.txt\"));\r\n\r\n\t\tverify(mockFactory).createAndExecute(eq(mockProgressBarWrapper),\r\n\t\t eq(mockOutputTextViewWrapper),\r\n\t\t any(List.class),\r\n\t\t any(Pattern.class));\r\n\t\t// verify(mockOutputTextViewWrapper)\r\n\t\t// .setText(\"apples\\ngrapple\\ngrappled\\ngrapples\\npineapple\\npineapple's\\npineapples\");\r\n\t}",
"public boolean[] map(LocusContext context, SAMRecord read) {\n boolean[] errorsPerCycle = new boolean[read.getReadLength() + 1];\n \n byte[] bases = read.getReadBases();\n byte[] contig = context.getReferenceContig().getBases();\n byte[] sq = (byte[]) read.getAttribute(\"SQ\");\n \n int totalMismatches = 0;\n \n for (int cycle = 0, offset = (int) context.getPosition(); cycle < bases.length; cycle++, offset++) {\n byte compBase;\n \n switch (contig[offset]) {\n case 'A':\n case 'a': compBase = 'A'; break;\n case 'C':\n case 'c': compBase = 'C'; break;\n case 'G':\n case 'g': compBase = 'G'; break;\n case 'T':\n case 't': compBase = 'T'; break;\n default: compBase = '.'; break;\n }\n \n if (compBase != '.') {\n if (useNextBestBase) {\n int nextBestBaseIndex = QualityUtils.compressedQualityToBaseIndex(sq[cycle]);\n byte nextBestBase;\n switch (nextBestBaseIndex) {\n case 0: nextBestBase = 'A'; break;\n case 1: nextBestBase = 'C'; break;\n case 2: nextBestBase = 'G'; break;\n case 3: nextBestBase = 'T'; break;\n default: nextBestBase = '.'; break;\n }\n \n if (nextBestBase != '.') {\n errorsPerCycle[cycle] = !(bases[cycle] == compBase || nextBestBase == compBase);\n totalMismatches = (!(bases[cycle] == compBase || nextBestBase == compBase)) ? 1 : 0;\n }\n } else {\n errorsPerCycle[cycle] = !(bases[cycle] == compBase);\n totalMismatches += (!(bases[cycle] == compBase)) ? 1 : 0;\n }\n }\n }\n \n /*\n if (totalMismatches > 4) {\n for (int cycle = 0; cycle < bases.length; cycle++) { System.out.print((char) bases[cycle]); } System.out.print(\"\\n\");\n for (int cycle = 0, offset = (int) context.getPosition(); cycle < bases.length; cycle++, offset++) { System.out.print((char) contig[offset]); } System.out.print(\"\\n\");\n System.out.println(totalMismatches + \"\\n\");\n }\n */\n\n // We encode that we saw a read in the last position of the array.\n // That way we know what to normalize by, and we get thread safety!\n errorsPerCycle[errorsPerCycle.length - 1] = true;\n \n return errorsPerCycle;\n }",
"public static void populateWordDictionary(net.sqlcipher.database.SQLiteDatabase r7) {\n /*\n r0 = 0\n java.io.BufferedReader r1 = new java.io.BufferedReader // Catch:{ IOException -> 0x0051 }\n java.io.InputStreamReader r2 = new java.io.InputStreamReader // Catch:{ IOException -> 0x0051 }\n com.masterlock.ble.app.MasterLockApp r3 = com.masterlock.ble.app.MasterLockApp.get() // Catch:{ IOException -> 0x0051 }\n android.content.res.AssetManager r3 = r3.getAssets() // Catch:{ IOException -> 0x0051 }\n java.lang.String r4 = \"word_dictionary/words.txt\"\n java.io.InputStream r3 = r3.open(r4) // Catch:{ IOException -> 0x0051 }\n java.lang.String r4 = \"UTF-8\"\n r2.<init>(r3, r4) // Catch:{ IOException -> 0x0051 }\n r1.<init>(r2) // Catch:{ IOException -> 0x0051 }\n r2 = 0\n L_0x001c:\n java.lang.String r3 = r1.readLine() // Catch:{ IOException -> 0x004b, all -> 0x0049 }\n if (r3 == 0) goto L_0x0045\n if (r3 == 0) goto L_0x0042\n boolean r4 = r3.isEmpty() // Catch:{ IOException -> 0x004b, all -> 0x0049 }\n if (r4 != 0) goto L_0x0042\n android.content.ContentValues r4 = new android.content.ContentValues // Catch:{ IOException -> 0x004b, all -> 0x0049 }\n r4.<init>() // Catch:{ IOException -> 0x004b, all -> 0x0049 }\n java.lang.String r5 = \"word_dictionary_id\"\n java.lang.Integer r6 = java.lang.Integer.valueOf(r2) // Catch:{ IOException -> 0x004b, all -> 0x0049 }\n r4.put(r5, r6) // Catch:{ IOException -> 0x004b, all -> 0x0049 }\n java.lang.String r5 = \"word_dictionary_word\"\n r4.put(r5, r3) // Catch:{ IOException -> 0x004b, all -> 0x0049 }\n java.lang.String r3 = \"word_dictionary\"\n r7.insert(r3, r0, r4) // Catch:{ IOException -> 0x004b, all -> 0x0049 }\n L_0x0042:\n int r2 = r2 + 1\n goto L_0x001c\n L_0x0045:\n r1.close() // Catch:{ IOException -> 0x005b }\n goto L_0x005f\n L_0x0049:\n r7 = move-exception\n goto L_0x0060\n L_0x004b:\n r7 = move-exception\n r0 = r1\n goto L_0x0052\n L_0x004e:\n r7 = move-exception\n r1 = r0\n goto L_0x0060\n L_0x0051:\n r7 = move-exception\n L_0x0052:\n r7.printStackTrace() // Catch:{ all -> 0x004e }\n if (r0 == 0) goto L_0x005f\n r0.close() // Catch:{ IOException -> 0x005b }\n goto L_0x005f\n L_0x005b:\n r7 = move-exception\n r7.printStackTrace()\n L_0x005f:\n return\n L_0x0060:\n if (r1 == 0) goto L_0x006a\n r1.close() // Catch:{ IOException -> 0x0066 }\n goto L_0x006a\n L_0x0066:\n r0 = move-exception\n r0.printStackTrace()\n L_0x006a:\n throw r7\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.masterlock.ble.app.util.DBUtil.populateWordDictionary(net.sqlcipher.database.SQLiteDatabase):void\");\n }",
"private boolean rDPDecoderBuilder (String transcript)\n\t{\n\t\tif (transcript.isEmpty() == true)\n\t\t{\n\t\t\treturn true; \n\t\t}\n\t\t// if we already have a set of solutions for this transcript return true, because we found all of them already\n\t\tif (mMap.getSolution(transcript) != null)\n\t\t{\n\t\t\tif (mMap.getSolution(transcript).visited == false) \n\t\t\t\treturn false;\n\t\t\telse \n\t\t\t\treturn true; \n\t\t}\n\t\t\n\t\tBoolean foundSolution = false;\n\t\n\t\tfor (String entry : Dictionary)\n\t\t{\n\t\t\tif (transcript.indexOf(entry) == 0)\n\t\t\t{\n\t\t\t\tString decompTranscript = transcript.substring(entry.length());\n\t\t\t\t\n\t\t\t\tBoolean result= rDPDecoderBuilder(decompTranscript);\n\t\t\t\tif (result == true)\n\t\t\t\t{\n\t\t\t\t\tmMap.addSolution(transcript, entry);\n\t\t\t\t\tfoundSolution = true; \n\t\t\t\t}\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (foundSolution == false)\n\t\t\tmMap.addSolution(transcript, null);\n\t\treturn foundSolution; \t\t\n\t}",
"private static boolean m119685b() {\n String a = C6887b.m21436b().mo16896a(AwemeApplication.m21341a(), f97362b);\n String a2 = C6887b.m21436b().mo16896a(AwemeApplication.m21341a(), f97363c);\n String a3 = C6887b.m21436b().mo16896a(AwemeApplication.m21341a(), f97364d);\n String a4 = C6887b.m21436b().mo16896a(AwemeApplication.m21341a(), f97365e);\n if (!TextUtils.equals(C6399b.m19934j(), a) || !TextUtils.equals(C6399b.m19941q(), a2) || !TextUtils.equals(C10981a.m32174d(), a3) || !TextUtils.equals(C10981a.m32170b(), a4)) {\n return false;\n }\n return true;\n }",
"public final /* synthetic */ Boolean mo33712l(Bundle bundle) {\n C2169bx bxVar;\n Bundle bundle2 = bundle;\n int i = bundle2.getInt(\"session_id\");\n if (i == 0) {\n return false;\n }\n Map<Integer, C2168bw> map = this.f1705f;\n Integer valueOf = Integer.valueOf(i);\n boolean z = true;\n if (map.containsKey(valueOf)) {\n C2168bw s = m969s(i);\n int i2 = bundle2.getInt(C2299i.m1294e(NotificationCompat.CATEGORY_STATUS, s.f1693c.f1686a));\n if (C2183ck.m1021i(s.f1693c.f1688c, i2)) {\n f1700a.mo33808a(\"Found stale update for session %s with status %d.\", valueOf, Integer.valueOf(s.f1693c.f1688c));\n C2167bv bvVar = s.f1693c;\n String str = bvVar.f1686a;\n int i3 = bvVar.f1688c;\n if (i3 == 4) {\n this.f1702c.mo33869a().mo33618f(i, str);\n } else if (i3 == 5) {\n this.f1702c.mo33869a().mo33619g(i);\n } else if (i3 == 6) {\n this.f1702c.mo33869a().mo33614b(Arrays.asList(new String[]{str}));\n }\n } else {\n s.f1693c.f1688c = i2;\n if (C2183ck.m1019g(i2)) {\n mo33707g(i);\n this.f1703d.mo33696a(s.f1693c.f1686a);\n } else {\n for (C2169bx next : s.f1693c.f1690e) {\n ArrayList parcelableArrayList = bundle2.getParcelableArrayList(C2299i.m1295f(\"chunk_intents\", s.f1693c.f1686a, next.f1694a));\n if (parcelableArrayList != null) {\n for (int i4 = 0; i4 < parcelableArrayList.size(); i4++) {\n if (!(parcelableArrayList.get(i4) == null || ((Intent) parcelableArrayList.get(i4)).getData() == null)) {\n next.f1697d.get(i4).f1685a = true;\n }\n }\n }\n }\n }\n }\n } else {\n String t = m970t(bundle);\n long j = bundle2.getLong(C2299i.m1294e(\"pack_version\", t));\n int i5 = bundle2.getInt(C2299i.m1294e(NotificationCompat.CATEGORY_STATUS, t));\n long j2 = bundle2.getLong(C2299i.m1294e(\"total_bytes_to_download\", t));\n ArrayList<String> stringArrayList = bundle2.getStringArrayList(C2299i.m1294e(\"slice_ids\", t));\n ArrayList arrayList = new ArrayList();\n for (T t2 : m971u(stringArrayList)) {\n ArrayList parcelableArrayList2 = bundle2.getParcelableArrayList(C2299i.m1295f(\"chunk_intents\", t, t2));\n ArrayList arrayList2 = new ArrayList();\n for (Intent intent : m971u(parcelableArrayList2)) {\n if (intent == null) {\n z = false;\n }\n arrayList2.add(new C2166bu(z));\n z = true;\n }\n String string = bundle2.getString(C2299i.m1295f(\"uncompressed_hash_sha256\", t, t2));\n long j3 = bundle2.getLong(C2299i.m1295f(\"uncompressed_size\", t, t2));\n int i6 = bundle2.getInt(C2299i.m1295f(\"patch_format\", t, t2), 0);\n if (i6 != 0) {\n bxVar = new C2169bx(t2, string, j3, arrayList2, 0, i6);\n } else {\n bxVar = new C2169bx(t2, string, j3, arrayList2, bundle2.getInt(C2299i.m1295f(\"compression_format\", t, t2), 0), 0);\n }\n arrayList.add(bxVar);\n z = true;\n }\n this.f1705f.put(Integer.valueOf(i), new C2168bw(i, bundle2.getInt(\"app_version_code\"), new C2167bv(t, j, i5, j2, arrayList)));\n }\n return true;\n }",
"public static void main(String[] args) {\n\t\t\r\n\t\tString[] dict = {\"hello\",\"leetcode\"};\r\n\t\tMagicDictionary dictionary = new MagicDictionary();\r\n\t\tdictionary.buildDict(dict);\r\n\t\tSystem.out.println(dictionary.search(\"hello\"));\r\n\t\tSystem.out.println(dictionary.search(\"hhllo\"));\r\n\t\tSystem.out.println(dictionary.search(\"hell\"));\r\n\t\tSystem.out.println(dictionary.search(\"leetcoded\"));\r\n\t\t\r\n\t\tSystem.out.println();\r\n\r\n\t\tMagicDictionary1 dictionary1 = new MagicDictionary1();\r\n\t\tdictionary1.buildDict(dict);\r\n\t\tSystem.out.println(dictionary1.search(\"hello\"));\r\n\t\tSystem.out.println(dictionary1.search(\"hhllo\"));\r\n\t\tSystem.out.println(dictionary1.search(\"hell\"));\r\n\t\tSystem.out.println(dictionary1.search(\"leetcoded\"));\r\n\t\t\r\n\t\t\r\n\t\t//System.out.println(dictionary.search(\"abcabacbababdbadbfaejfoiawfjaojfaojefaowjfoawjzoawj\"));\r\n\t\t\r\n\t}",
"private static boolean broken(String[] keys, int start, int end, AbstractWordNet loaded) {\n\t\tStringTrie<GrammarRelation[]> trieGrammarStore = new TrieGrammarStore();\n\t\tTrieBuilder newBuilder = trieGrammarStore.newBuilder();\n\t\tfor (int i = start; i < end; i++) {\n\t\t\tByte b = (byte)(Math.random() * 100);\n//\t\t\tdataMap.put(keys[i], b);\n\t\t\tnewBuilder.append(keys[i], loaded.getPossibleGrammarForms(keys[i]));\n\t\t}\n\t\ttrieGrammarStore.commit(newBuilder);\n\t\ttry {\n\t\t\tfor (int i = start; i < end; i++) {\n\t\t\t\tGrammarRelation[] found = trieGrammarStore.get(keys[i]);\n\t\t\t\tif (!Arrays.equals(found, loaded.getPossibleGrammarForms(keys[i]))) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tfound = trieGrammarStore.get(keys[i] + \"aaa\");\n\t\t\t\tif (found != null) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch (Throwable e) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public abstract boolean isGenerated(List<BigInteger> list) throws Exception;",
"public static void main(String[] args) {\n String[] dict = {\"the\", \"hello\", \"there\", \"answer\", \"any\", \"dragon\", \"world\", \"their\", \"inc\"};\n\n\n System.out.println(\"Keys: \" + Arrays.toString(dict));\n\n if (isFormationPossible(dict, \"helloworld\")) { System.out.println(\"true\"); } else {\n System.out.println(\"false\");\n }\n }",
"@MethodSource\n\tstatic List<Arguments> keyPairs() {\n\t\t// m/44'/0'/0'/0/0 ~ 5:\n\t\treturn List.of(\n\t\t\t\t// L4c1iSf8e3gW3rEAbKktLhbCFuCWnFfVfsgQW26c6QoaHQGwthCG\n\t\t\t\tArguments.of(\"dc55bc0cbde942349d563b3f845f6fcec7362173442b27b70ae7b20d13325a82\",\n\t\t\t\t\t\t\"L4c1iSf8e3gW3rEAbKktLhbCFuCWnFfVfsgQW26c6QoaHQGwthCG\",\n\t\t\t\t\t\t\"02859a42554b255917b971c6d0e322651db76d8e33b7e6686b345f22e57048c750\",\n\t\t\t\t\t\t\"1KNdhXP6ZVPzEDBXtEfcJM8YcYiR4Ni8Qo\"),\n\t\t\t\t// KwUefgTV5FEmMkHtXteAPzNgmj26ayTTyZ5MuNMCC2mzUW14A7tD\n\t\t\t\tArguments.of(\"07af74bc9c0b73d84c24b2de0f82babcb8c208d142539c0776e5e29d9472cfe8\",\n\t\t\t\t\t\t\"KwUefgTV5FEmMkHtXteAPzNgmj26ayTTyZ5MuNMCC2mzUW14A7tD\",\n\t\t\t\t\t\t\"02bb6ae99eed56005ed7a49dfd0ba540f4592f050d8cb2bb9f6aa1c10d643d5362\",\n\t\t\t\t\t\t\"1CczufdcQFberpwi6umLA4aUShuWRV7BB8\"),\n\t\t\t\t// Ky2PYhNC7qs4SEBTQP6dAVozEQfu153CCn2Bd4BDAAoh1drYxSDQ\n\t\t\t\tArguments.of(\"35d9c595f126e0d3876609f46b274a24400cbbd82a61078178a4926d997d3b1a\",\n\t\t\t\t\t\t\"Ky2PYhNC7qs4SEBTQP6dAVozEQfu153CCn2Bd4BDAAoh1drYxSDQ\",\n\t\t\t\t\t\t\"03b91d0a4de9b893eb6f3693088540807a73467b82b1d370ba7e90b4d8dc675767\",\n\t\t\t\t\t\t\"12udDTnX1EhUa9YuQG3Qhto4VFaj4xD9Xy\"),\n\t\t\t\t// KxtiC1y1Nr1sRcFvyYJA1A3Vx3yzVyLfwf6kZwuNBrqNnY2b1a3W\n\t\t\t\tArguments.of(\"31e6890a53ff64e82ceffac238aa435e488ce552644693def445b80051da634f\",\n\t\t\t\t\t\t\"KxtiC1y1Nr1sRcFvyYJA1A3Vx3yzVyLfwf6kZwuNBrqNnY2b1a3W\",\n\t\t\t\t\t\t\"0254a58625017dd7339b17cd7d2a8468d28cfa0dcf5e3eee9198d776cd0faf0ad7\",\n\t\t\t\t\t\t\"14dMxhd2566hmtB4Q5hcPSiyiKpnCgR4RG\"),\n\t\t\t\t// Kwn2ofhF63ahDEU8LxsWAxP1BTrL9DLRgKY9vgeyMdJCEktwke34\n\t\t\t\tArguments.of(\"10a08e554cff37443a29e659feeb921d966baf4e4c079152f13820e31081e534\",\n\t\t\t\t\t\t\"Kwn2ofhF63ahDEU8LxsWAxP1BTrL9DLRgKY9vgeyMdJCEktwke34\",\n\t\t\t\t\t\t\"03ff345b530f24877f4db5405202497af5a263fe7ba0646444ef56f930eebd07a3\",\n\t\t\t\t\t\t\"1F1A5DFkrPiCZFSZLF6ocTAiarv5gFr4JW\"),\n\t\t\t\t// L26HpKaVXifDTEn11L4pQ7WJ2ZPY7jagyWsdQBrKZZW9cx1jXLTs\n\t\t\t\tArguments.of(\"915eaa2b553d7e4c8dd9823be0d0897cbb819ce5dd9bfc9eaa3142c527ec69a6\",\n\t\t\t\t\t\t\"L26HpKaVXifDTEn11L4pQ7WJ2ZPY7jagyWsdQBrKZZW9cx1jXLTs\",\n\t\t\t\t\t\t\"039ab753a8481d965af517e2c01db595b539398052404bc077ff798b8ddce49c94\",\n\t\t\t\t\t\t\"1CWHy4hSWz4YDjqYKpDMTopRkxuWMy84mp\"));\n\t}",
"boolean hasMappings() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00ef in method: android.icu.impl.coll.CollationDataBuilder.hasMappings():boolean, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.hasMappings():boolean\");\n }",
"private static boolean isUniqueM2(String str) {\n\n if (str.length() > 128) return false;\n\n boolean[] char_set = new boolean[128];\n for (int i = 0; i < str.length(); i++) {\n int val = str.charAt(i);\n System.out.println(\"str.charAt(i): \" + val);\n if (char_set[val]) {\n return false;\n }\n char_set[val] = true;\n }\n return true;\n }",
"public void checkSettings(String[] kb){\n for(int i=0;i<kb.length;i++){\n keyn[i]=Integer.parseInt(kb[i]);\n }\n }",
"private boolean duplicateDictionaryExists(Dictionary dictionary) throws LIMSRuntimeException {\n try {\n\n List list = new ArrayList();\n\n // not case sensitive hemolysis and Hemolysis are considered\n // duplicates\n // description within category is unique AND local abbreviation\n // within category is unique\n String sql = null;\n if (dictionary.getDictionaryCategory() != null) {\n sql = \"from Dictionary t where \"\n + \"((trim(lower(t.dictEntry)) = :param and trim(lower(t.dictionaryCategory.categoryName)) = :param2 and t.id != :dictId)) \";\n //Commented by Dung 2016.07.18\n //localAbbreviation will wrong when put here\n/* + \"or \"\n + \"(trim(lower(t.localAbbreviation)) = :param4 and trim(lower(t.dictionaryCategory.categoryName)) = :param2 and t.id != :dictId)) \";*/\n\n } else {\n sql = \"from Dictionary t where \"\n + \"((trim(lower(t.dictEntry)) = :param and t.dictionaryCategory is null and t.id != :param3) \"\n + \"or \"\n + \"(trim(lower(t.localAbbreviation)) = :param4 and t.dictionaryCategory is null and t.id != :param3)) \";\n\n }\n Query query = HibernateUtil.getSession().createQuery(sql);\n query.setParameter(\"param\", dictionary.getDictEntry().toLowerCase().trim());\n /*query.setParameter(\"param4\", dictionary.getLocalAbbreviation().toLowerCase().trim());*/\n if (dictionary.getDictionaryCategory() != null) {\n query.setParameter(\"param2\", dictionary.getDictionaryCategory().getCategoryName().toLowerCase().trim());\n }\n\n // initialize with 0 (for new records where no id has been generated\n // yet\n String dictId = \"0\";\n if (!StringUtil.isNullorNill(dictionary.getId())) {\n dictId = dictionary.getId();\n }\n query.setInteger(\"dictId\", Integer.parseInt(dictId));\n\n list = query.list();\n HibernateUtil.getSession().flush();\n HibernateUtil.getSession().clear();\n\n if (list.size() > 0) {\n return true;\n } else {\n return false;\n }\n\n } catch (Exception e) {\n // bugzilla 2154\n LogEvent.logError(\"DictionaryDAOImpl\", \"duplicateDictionaryExists()\", e.toString());\n throw new LIMSRuntimeException(\"Error in duplicateDictionaryExists()\", e);\n }\n }",
"public static void main(String[] args) throws JsonGenerationException, JsonMappingException, IOException{\n\t\tDictionary root = new Dictionary();\n\t\tparse Parse = new parse();\n long begin = System.currentTimeMillis();\n //String fileName = args[0];\n //String examine = args[1];\n Parse.parseFILE(\"word_tagged.txt\", root);\n long end = System.currentTimeMillis();\n System.out.println(\"insertion time elapse: \" + (double)(end-begin)/1000);\n \n \n /***********************Read data from phrase check dataset**************************/\n \n\t\tBigram n = new Bigram(Parse.parseFILE(\"Grammar.txt\"));\n\t n.train();\n\t ObjectMapper phrase = new ObjectMapper();\n\t String PhraseJson = phrase.writeValueAsString(n);\n\t phrase.writeValue(new File(\"Phrase.json\"), n);\n\t \n\t /***********************Read data from grammar rule dataset**************************/\n\t BuildRule rule = new BuildRule(Parse.parseFILE(\"Grammar.txt\"), 3, root);\n\t rule.train();\n\t \n\t System.out.println(rule.testing);\n\t ConvertToJson con = new ConvertToJson(rule);\n\t ObjectMapper mapper = new ObjectMapper();\n\t String ruleJson = mapper.writeValueAsString(rule);\n\t\tmapper.writeValue(new File(\"GrammarRule.json\"), rule);\n /***************************Begin to check*************************************/\n\t}",
"private boolean m21867k() {\n C5074b[] bVarArr;\n int i = 0;\n for (C5074b bVar : f16406j) {\n String a = m21852a(this.f16409k, bVar.f16413a);\n if (bVar.f16414b == null && a != null) {\n i++;\n }\n if (!(bVar.f16414b == null || a == null || !a.contains(bVar.f16414b))) {\n i++;\n }\n }\n if (i >= 5) {\n return true;\n }\n return false;\n }",
"public boolean checkInvariants() {\n\t\tRunningLengthWord rlw, prev;\n\n\t\ttry {\n\t\t\tEWAHIterator i =\n\t\t\t\t\tnew EWAHIterator(this.buffer, this.actualsizeinwords);\n\t\t\t// test that actualsizeinwords complies with info in headers and\n\t\t\t// test that literal number is not > max\n\t\t\twhile (i.hasNext()) {\n\t\t\t\tRunningLengthWord w = i.next();\n\t\t\t\tif (i.dirtyWords() > actualsizeinwords) {\n\t\t\t\t\tlog.error(i.dirtyWords() + \" larger than actual \"\n\t\t\t\t\t\t\t+ actualsizeinwords);\n\t\t\t\t\tlog.error(toDebugString());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (i.pointer > actualsizeinwords) {\n\t\t\t\t\tlog.error(\"pointer \" + i.pointer + \" larger than actual \"\n\t\t\t\t\t\t\t+ actualsizeinwords);\n\t\t\t\t\tlog.error(toDebugString());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (w.getNumberOfLiteralWords() > RunningLengthWord.largestrunninglengthcount) {\n\t\t\t\t\tlog.error(\"larger than max literals\"\n\t\t\t\t\t\t\t+ w.getNumberOfLiteralWords());\n\t\t\t\t\tlog.error(toDebugString());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif (w.getRunningLength() > RunningLengthWord.largestrunninglengthcount) {\n\t\t\t\t\tlog.error(\"larger than max running length \"\n\t\t\t\t\t\t\t+ w.getRunningLength());\n\t\t\t\t\tlog.error(toDebugString());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// check adjacent words for errors\n\t\t\trlw = new RunningLengthWord(buffer, 0);\n\t\t\tprev = rlw;\n\t\t\trlw = rlw.getNext();\n\n\t\t\twhile (rlw.position < actualsizeinwords\n\t\t\t\t\t&& rlw.position + rlw.getNumberOfLiteralWords() < actualsizeinwords) {\n\t\t\t\t// case 1) second word has no running length -> first one should\n\t\t\t\t// have max literal count\n\t\t\t\tif (rlw.getRunningLength() == 0\n\t\t\t\t\t\t&& prev.getNumberOfLiteralWords() < RunningLengthWord.largestliteralcount) {\n\t\t\t\t\tlog.error(prev.getNumberOfLiteralWords()\n\t\t\t\t\t\t\t+ \" dirty words followed by \"\n\t\t\t\t\t\t\t+ rlw.getNumberOfLiteralWords()\n\t\t\t\t\t\t\t+ \" number of dirty words \" + \"\\n\\n\"\n\t\t\t\t\t\t\t+ toDebugString());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\t// case 2) both have running length for same bit and first one\n\t\t\t\t// has\n\t\t\t\t// no literals -> first one should have max running length\n\t\t\t\tif (prev.getRunningLength() > 0\n\t\t\t\t\t\t&& rlw.getRunningLength() > 0\n\t\t\t\t\t\t&& prev.getNumberOfLiteralWords() == 0\n\t\t\t\t\t\t&& prev.getRunningBit() == rlw.getRunningBit()\n\t\t\t\t\t\t&& prev.getRunningLength() < RunningLengthWord.largestrunninglengthcount) {\n\t\t\t\t\tlog.error(\"Two running length for same bit of length \"\n\t\t\t\t\t\t\t+ prev.getRunningLength() + \" and \"\n\t\t\t\t\t\t\t+ rlw.getRunningLength() + \"\\n\\n\" + toDebugString());\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tprev = rlw;\n\t\t\t\trlw = rlw.getNext();\n\t\t\t}\n\n\t\t\tif (!prev.equals(this.rlw)) {\n\t\t\t\tlog.error(\"Last word should have been \" + prev.toString()\n\t\t\t\t\t\t+ \" but was \" + this.rlw.toString());\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// the largest bit set == sizeinbits\n\t\t\tIntIterator it = intIterator();\n\t\t\tint greatest = -1;\n\t\t\twhile (it.hasNext()) {\n\t\t\t\tgreatest = it.next();\n\t\t\t}\n\t\t\tif (this.sizeinbits != greatest + 1) {\n\t\t\t\tlog.error(\"sizein bits \" + sizeinbits\n\t\t\t\t\t\t+ \" but largest value is \" + greatest + \"\\n\\n\"\n\t\t\t\t\t\t+ toDebugString());\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\tLoggerUtil.logException(e, log);\n\t\t\tlog.error(bufferToString());\n\t\t}\n\n\t\treturn true;\n\t}",
"public static void main(String[] args) {\n\t\t HashMap<Integer, String> map = new HashMap<Integer, String>();\r\n map.put(1, \"Java\");\r\n map.put(2, \"Python\");\r\n map.put(3, \"Selenium\");\r\n int keyToBeChecked = 5;\r\n System.out.println(\"HashMap: \"+ map);\r\n\t\tIterator<Map.Entry<Integer, String> >\r\n\t\titerator = map.entrySet().iterator();\r\n\t\tboolean isKeyPresent = false;\r\n\t\twhile (iterator.hasNext()) {\r\n\t\tMap.Entry<Integer, String> entry = iterator.next();\r\n\t\tif (keyToBeChecked == entry.getKey()) {\r\n\t\t\r\n\t\t isKeyPresent = true;\r\n\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(\"Does key \"+ keyToBeChecked+ \" exists: \"+ isKeyPresent);\r\n\t}",
"public void validateBigQueryAndTextFileData(String projectName, String datasetName, String tableName, boolean checkEncrypt, String query) throws IOException {\n Map<String, String[]> map = new LinkedHashMap<>();\n String columnDelimiter = \"\\u001D\";\n TableResult result = BigQueryConnection.getQueryResult(query);\n List<String> listColumn = bigQueryConnection.get_bq_columnNames(result);\n String finalTableName = tableNameCaseHandler(tableName);\n columnNameTypeMapper = columnsNameAndTypeMapper(result, listColumn);\n\n List<String> txtFileList = readTextFile(System.getProperty(\"user.dir\") + \"/src/test/resources/decryptedGCSfiles/\" + finalTableName + \".txt\");\n List<String> bigQueryTableDataList = bigQueryConnection.getBigQueryTableAllDataByTableName(result);\n for (String s : txtFileList) {\n\n String txtFileArray[] = s.split(columnDelimiter);\n if (!map.containsKey(txtFileArray[0])) {\n map.put(txtFileArray[0], txtFileArray);\n }\n }\n AtomicInteger count = new AtomicInteger();\n // for (int i = 0; i < bigQueryTableDataList.size(); i++) {\n bigQueryTableDataList.stream().forEach(bigQueryLine -> {\n count.getAndIncrement();\n\n String bigqueryArray[] = bigQueryLine.split(columnDelimiter);\n String bqvalue = bigqueryArray[0];\n\n String txtFilemapArray[] = {\"\"};\n try {\n for (Map.Entry<String, String[]> map1 : map.entrySet()) {\n txtFilemapArray = ValidateDataInFiles.filterDataFormList(tableName, columnDelimiter, txtFileList, bigqueryArray, listColumn);\n if (txtFilemapArray.length >= 1) {\n softAssert.assertEquals(txtFilemapArray.length, bigqueryArray.length, tableName + \"-ID:[\" + tableName + \"=\" + bqvalue + \"] miss match length \");\n\n for (int h = 0; h < bigqueryArray.length; h++) {\n String txtValue = txtFileDataFormatterAccordingToOracle(datasetName, tableName, listColumn, h, txtFilemapArray[h]);\n softAssert.assertEquals(txtValue, bigqueryArray[h], tableName + \": [\" + tableName + \"=\" + bqvalue + \"]\");\n }\n }\n if (map1.getKey().equals((bqvalue))) {\n txtFilemapArray = map1.getValue();\n\n\n softAssert.assertEquals(txtFilemapArray.length, bigqueryArray.length, tableName + \"-ID:[\" + tableName + \"=\" + bqvalue + \"] miss match length \");\n\n for (int h = 0; h < bigqueryArray.length; h++) {\n\n String txtValue = txtFileDataFormatterAccordingToOracle(datasetName, tableName, listColumn, h, txtFilemapArray[h]);\n softAssert.assertEquals(txtValue, bigqueryArray[h], tableName + \": [\" + tableName + \"=\" + bqvalue + \"]\");\n\n\n }\n }\n }\n } catch (Exception e) {\n e.getMessage();\n }\n });\n }",
"abstract protected boolean validateKey(String key);",
"@Test\n\tpublic void testProcessAndLoad() {\n\t\tPreProcessor preProcessor = new PreProcessor();\n\t\tpreProcessor.processFiles(new File(\"res/tests/test1.txt\"));\n\t\tNGramModel actualModel = preProcessor.getNgramModel();\n\t\tactualModel.end();\n\t\t\n\t\tString testFilePath = \"res/bin/test.bin\";\n\t\t\n\t\tFile dir = new File(\"res/bin\");\n\t\tif (!dir.exists()) {\n\t\t\tdir.mkdirs();\n\t\t}\n\t\t\n\t\tpreProcessor.writeToFile(testFilePath);\n\t\t\n\t\tLoader loader = new Loader();\n\t\tNGramModel loadedModel = loader.load(testFilePath);\n\t\tassertEquals(loadedModel.numNgrams(), actualModel.getNgrams().size());\n\t\t\n\t\tfor (Map.Entry<NGram, Integer> current : actualModel.getNgrams().entrySet()) {\n\t\t\tassertEquals((int)current.getValue(), loadedModel.getCount(current.getKey()));\n\t\t}\n\t\t\n\t\tfor (int i = 1; i <= actualModel.maxLength(); i++) {\n\t\t\tassertEquals(loadedModel.numberOfNGramLength(i), actualModel.numberOfNGramLength(i));\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < actualModel.topUnigrams().size(); i++) {\n\t\t\tassertEquals(loadedModel.topUnigrams().get(i), actualModel.topUnigrams().get(i));\n\t\t}\n\t\t\n\t\tassertEquals(\n\t\t\tloadedModel.getGoodTuringEstimation().getTotal(),\n\t\t\tactualModel.getGoodTuringEstimation().getTotal());\n\t\t\n\t\tassertEquals(\n\t\t\tloadedModel.getGoodTuringEstimation().getA(),\n\t\t\tactualModel.getGoodTuringEstimation().getA(), 1E-6);\n\t\t\n\t\tassertEquals(\n\t\t\tloadedModel.getGoodTuringEstimation().getB(),\n\t\t\tactualModel.getGoodTuringEstimation().getB(), 1E-6);\n\t}",
"@Test(timeout = 4000)\n public void test007() throws Throwable {\n DefaultDBTable defaultDBTable0 = new DefaultDBTable(\"--O:56ve\");\n String[] stringArray0 = new String[6];\n DBPrimaryKeyConstraint dBPrimaryKeyConstraint0 = new DBPrimaryKeyConstraint(defaultDBTable0, \"--Yq-y_4.s9]jt\", false, stringArray0);\n boolean boolean0 = DBUtil.equivalent(dBPrimaryKeyConstraint0, dBPrimaryKeyConstraint0);\n assertTrue(boolean0);\n }",
"private final void zaa(java.lang.StringBuilder r10, java.util.Map<java.lang.String, com.google.android.gms.common.server.response.FastJsonResponse.Field<?, ?>> r11, android.os.Parcel r12) {\n /*\n r9 = this;\n android.util.SparseArray r0 = new android.util.SparseArray\n r0.<init>()\n java.util.Set r11 = r11.entrySet()\n java.util.Iterator r11 = r11.iterator()\n L_0x000d:\n boolean r1 = r11.hasNext()\n if (r1 == 0) goto L_0x0027\n java.lang.Object r1 = r11.next()\n java.util.Map$Entry r1 = (java.util.Map.Entry) r1\n java.lang.Object r2 = r1.getValue()\n com.google.android.gms.common.server.response.FastJsonResponse$Field r2 = (com.google.android.gms.common.server.response.FastJsonResponse.Field) r2\n int r2 = r2.getSafeParcelableFieldId()\n r0.put(r2, r1)\n goto L_0x000d\n L_0x0027:\n r11 = 123(0x7b, float:1.72E-43)\n r10.append(r11)\n int r11 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.validateObjectHeader(r12)\n r1 = 1\n r2 = 0\n r3 = 0\n L_0x0033:\n int r4 = r12.dataPosition()\n if (r4 >= r11) goto L_0x0262\n int r4 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readHeader(r12)\n int r5 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.getFieldId(r4)\n java.lang.Object r5 = r0.get(r5)\n java.util.Map$Entry r5 = (java.util.Map.Entry) r5\n if (r5 == 0) goto L_0x0033\n if (r3 == 0) goto L_0x0050\n java.lang.String r3 = \",\"\n r10.append(r3)\n L_0x0050:\n java.lang.Object r3 = r5.getKey()\n java.lang.String r3 = (java.lang.String) r3\n java.lang.Object r5 = r5.getValue()\n com.google.android.gms.common.server.response.FastJsonResponse$Field r5 = (com.google.android.gms.common.server.response.FastJsonResponse.Field) r5\n java.lang.String r6 = \"\\\"\"\n r10.append(r6)\n r10.append(r3)\n java.lang.String r3 = \"\\\":\"\n r10.append(r3)\n boolean r3 = r5.zacn()\n if (r3 == 0) goto L_0x010a\n int r3 = r5.zapt\n switch(r3) {\n case 0: goto L_0x00f9;\n case 1: goto L_0x00f4;\n case 2: goto L_0x00eb;\n case 3: goto L_0x00e2;\n case 4: goto L_0x00d9;\n case 5: goto L_0x00d4;\n case 6: goto L_0x00cb;\n case 7: goto L_0x00c6;\n case 8: goto L_0x00c1;\n case 9: goto L_0x00c1;\n case 10: goto L_0x0097;\n case 11: goto L_0x008f;\n default: goto L_0x0074;\n }\n L_0x0074:\n java.lang.IllegalArgumentException r10 = new java.lang.IllegalArgumentException\n int r11 = r5.zapt\n r12 = 36\n java.lang.StringBuilder r0 = new java.lang.StringBuilder\n r0.<init>(r12)\n java.lang.String r12 = \"Unknown field out type = \"\n r0.append(r12)\n r0.append(r11)\n java.lang.String r11 = r0.toString()\n r10.<init>(r11)\n throw r10\n L_0x008f:\n java.lang.IllegalArgumentException r10 = new java.lang.IllegalArgumentException\n java.lang.String r11 = \"Method does not accept concrete type.\"\n r10.<init>(r11)\n throw r10\n L_0x0097:\n android.os.Bundle r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createBundle(r12, r4)\n java.util.HashMap r4 = new java.util.HashMap\n r4.<init>()\n java.util.Set r6 = r3.keySet()\n java.util.Iterator r6 = r6.iterator()\n L_0x00a8:\n boolean r7 = r6.hasNext()\n if (r7 == 0) goto L_0x00bc\n java.lang.Object r7 = r6.next()\n java.lang.String r7 = (java.lang.String) r7\n java.lang.String r8 = r3.getString(r7)\n r4.put(r7, r8)\n goto L_0x00a8\n L_0x00bc:\n java.lang.Object r3 = zab(r5, (java.lang.Object) r4)\n goto L_0x0105\n L_0x00c1:\n byte[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createByteArray(r12, r4)\n goto L_0x0101\n L_0x00c6:\n java.lang.String r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createString(r12, r4)\n goto L_0x0101\n L_0x00cb:\n boolean r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readBoolean(r12, r4)\n java.lang.Boolean r3 = java.lang.Boolean.valueOf(r3)\n goto L_0x0101\n L_0x00d4:\n java.math.BigDecimal r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createBigDecimal(r12, r4)\n goto L_0x0101\n L_0x00d9:\n double r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readDouble(r12, r4)\n java.lang.Double r3 = java.lang.Double.valueOf(r3)\n goto L_0x0101\n L_0x00e2:\n float r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readFloat(r12, r4)\n java.lang.Float r3 = java.lang.Float.valueOf(r3)\n goto L_0x0101\n L_0x00eb:\n long r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readLong(r12, r4)\n java.lang.Long r3 = java.lang.Long.valueOf(r3)\n goto L_0x0101\n L_0x00f4:\n java.math.BigInteger r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createBigInteger(r12, r4)\n goto L_0x0101\n L_0x00f9:\n int r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readInt(r12, r4)\n java.lang.Integer r3 = java.lang.Integer.valueOf(r3)\n L_0x0101:\n java.lang.Object r3 = zab(r5, (java.lang.Object) r3)\n L_0x0105:\n r9.zab((java.lang.StringBuilder) r10, (com.google.android.gms.common.server.response.FastJsonResponse.Field<?, ?>) r5, (java.lang.Object) r3)\n goto L_0x025f\n L_0x010a:\n boolean r3 = r5.zapu\n if (r3 == 0) goto L_0x0188\n java.lang.String r3 = \"[\"\n r10.append(r3)\n int r3 = r5.zapt\n switch(r3) {\n case 0: goto L_0x017d;\n case 1: goto L_0x0175;\n case 2: goto L_0x016d;\n case 3: goto L_0x0165;\n case 4: goto L_0x015d;\n case 5: goto L_0x0158;\n case 6: goto L_0x0150;\n case 7: goto L_0x0148;\n case 8: goto L_0x0140;\n case 9: goto L_0x0140;\n case 10: goto L_0x0140;\n case 11: goto L_0x0120;\n default: goto L_0x0118;\n }\n L_0x0118:\n java.lang.IllegalStateException r10 = new java.lang.IllegalStateException\n java.lang.String r11 = \"Unknown field type out.\"\n r10.<init>(r11)\n throw r10\n L_0x0120:\n android.os.Parcel[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createParcelArray(r12, r4)\n int r4 = r3.length\n r6 = 0\n L_0x0126:\n if (r6 >= r4) goto L_0x0184\n if (r6 <= 0) goto L_0x012f\n java.lang.String r7 = \",\"\n r10.append(r7)\n L_0x012f:\n r7 = r3[r6]\n r7.setDataPosition(r2)\n java.util.Map r7 = r5.zacq()\n r8 = r3[r6]\n r9.zaa((java.lang.StringBuilder) r10, (java.util.Map<java.lang.String, com.google.android.gms.common.server.response.FastJsonResponse.Field<?, ?>>) r7, (android.os.Parcel) r8)\n int r6 = r6 + 1\n goto L_0x0126\n L_0x0140:\n java.lang.UnsupportedOperationException r10 = new java.lang.UnsupportedOperationException\n java.lang.String r11 = \"List of type BASE64, BASE64_URL_SAFE, or STRING_MAP is not supported\"\n r10.<init>(r11)\n throw r10\n L_0x0148:\n java.lang.String[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createStringArray(r12, r4)\n com.google.android.gms.common.util.ArrayUtils.writeStringArray(r10, r3)\n goto L_0x0184\n L_0x0150:\n boolean[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createBooleanArray(r12, r4)\n com.google.android.gms.common.util.ArrayUtils.writeArray((java.lang.StringBuilder) r10, (boolean[]) r3)\n goto L_0x0184\n L_0x0158:\n java.math.BigDecimal[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createBigDecimalArray(r12, r4)\n goto L_0x0179\n L_0x015d:\n double[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createDoubleArray(r12, r4)\n com.google.android.gms.common.util.ArrayUtils.writeArray((java.lang.StringBuilder) r10, (double[]) r3)\n goto L_0x0184\n L_0x0165:\n float[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createFloatArray(r12, r4)\n com.google.android.gms.common.util.ArrayUtils.writeArray((java.lang.StringBuilder) r10, (float[]) r3)\n goto L_0x0184\n L_0x016d:\n long[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createLongArray(r12, r4)\n com.google.android.gms.common.util.ArrayUtils.writeArray((java.lang.StringBuilder) r10, (long[]) r3)\n goto L_0x0184\n L_0x0175:\n java.math.BigInteger[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createBigIntegerArray(r12, r4)\n L_0x0179:\n com.google.android.gms.common.util.ArrayUtils.writeArray((java.lang.StringBuilder) r10, (T[]) r3)\n goto L_0x0184\n L_0x017d:\n int[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createIntArray(r12, r4)\n com.google.android.gms.common.util.ArrayUtils.writeArray((java.lang.StringBuilder) r10, (int[]) r3)\n L_0x0184:\n java.lang.String r3 = \"]\"\n goto L_0x0227\n L_0x0188:\n int r3 = r5.zapt\n switch(r3) {\n case 0: goto L_0x0258;\n case 1: goto L_0x0250;\n case 2: goto L_0x0248;\n case 3: goto L_0x0240;\n case 4: goto L_0x0238;\n case 5: goto L_0x0233;\n case 6: goto L_0x022b;\n case 7: goto L_0x0215;\n case 8: goto L_0x0207;\n case 9: goto L_0x01f9;\n case 10: goto L_0x01a5;\n case 11: goto L_0x0195;\n default: goto L_0x018d;\n }\n L_0x018d:\n java.lang.IllegalStateException r10 = new java.lang.IllegalStateException\n java.lang.String r11 = \"Unknown field type out\"\n r10.<init>(r11)\n throw r10\n L_0x0195:\n android.os.Parcel r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createParcel(r12, r4)\n r3.setDataPosition(r2)\n java.util.Map r4 = r5.zacq()\n r9.zaa((java.lang.StringBuilder) r10, (java.util.Map<java.lang.String, com.google.android.gms.common.server.response.FastJsonResponse.Field<?, ?>>) r4, (android.os.Parcel) r3)\n goto L_0x025f\n L_0x01a5:\n android.os.Bundle r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createBundle(r12, r4)\n java.util.Set r4 = r3.keySet()\n r4.size()\n java.lang.String r5 = \"{\"\n r10.append(r5)\n java.util.Iterator r4 = r4.iterator()\n r5 = 1\n L_0x01ba:\n boolean r6 = r4.hasNext()\n if (r6 == 0) goto L_0x01f6\n java.lang.Object r6 = r4.next()\n java.lang.String r6 = (java.lang.String) r6\n if (r5 != 0) goto L_0x01cd\n java.lang.String r5 = \",\"\n r10.append(r5)\n L_0x01cd:\n java.lang.String r5 = \"\\\"\"\n r10.append(r5)\n r10.append(r6)\n java.lang.String r5 = \"\\\"\"\n r10.append(r5)\n java.lang.String r5 = \":\"\n r10.append(r5)\n java.lang.String r5 = \"\\\"\"\n r10.append(r5)\n java.lang.String r5 = r3.getString(r6)\n java.lang.String r5 = com.google.android.gms.common.util.JsonUtils.escapeString(r5)\n r10.append(r5)\n java.lang.String r5 = \"\\\"\"\n r10.append(r5)\n r5 = 0\n goto L_0x01ba\n L_0x01f6:\n java.lang.String r3 = \"}\"\n goto L_0x0227\n L_0x01f9:\n byte[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createByteArray(r12, r4)\n java.lang.String r4 = \"\\\"\"\n r10.append(r4)\n java.lang.String r3 = com.google.android.gms.common.util.Base64Utils.encodeUrlSafe(r3)\n goto L_0x0222\n L_0x0207:\n byte[] r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createByteArray(r12, r4)\n java.lang.String r4 = \"\\\"\"\n r10.append(r4)\n java.lang.String r3 = com.google.android.gms.common.util.Base64Utils.encode(r3)\n goto L_0x0222\n L_0x0215:\n java.lang.String r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createString(r12, r4)\n java.lang.String r4 = \"\\\"\"\n r10.append(r4)\n java.lang.String r3 = com.google.android.gms.common.util.JsonUtils.escapeString(r3)\n L_0x0222:\n r10.append(r3)\n java.lang.String r3 = \"\\\"\"\n L_0x0227:\n r10.append(r3)\n goto L_0x025f\n L_0x022b:\n boolean r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readBoolean(r12, r4)\n r10.append(r3)\n goto L_0x025f\n L_0x0233:\n java.math.BigDecimal r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createBigDecimal(r12, r4)\n goto L_0x0254\n L_0x0238:\n double r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readDouble(r12, r4)\n r10.append(r3)\n goto L_0x025f\n L_0x0240:\n float r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readFloat(r12, r4)\n r10.append(r3)\n goto L_0x025f\n L_0x0248:\n long r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readLong(r12, r4)\n r10.append(r3)\n goto L_0x025f\n L_0x0250:\n java.math.BigInteger r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.createBigInteger(r12, r4)\n L_0x0254:\n r10.append(r3)\n goto L_0x025f\n L_0x0258:\n int r3 = com.google.android.gms.common.internal.safeparcel.SafeParcelReader.readInt(r12, r4)\n r10.append(r3)\n L_0x025f:\n r3 = 1\n goto L_0x0033\n L_0x0262:\n int r0 = r12.dataPosition()\n if (r0 != r11) goto L_0x026e\n r11 = 125(0x7d, float:1.75E-43)\n r10.append(r11)\n return\n L_0x026e:\n com.google.android.gms.common.internal.safeparcel.SafeParcelReader$ParseException r10 = new com.google.android.gms.common.internal.safeparcel.SafeParcelReader$ParseException\n r0 = 37\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>(r0)\n java.lang.String r0 = \"Overread allowed size end=\"\n r1.append(r0)\n r1.append(r11)\n java.lang.String r11 = r1.toString()\n r10.<init>(r11, r12)\n throw r10\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.common.server.response.SafeParcelResponse.zaa(java.lang.StringBuilder, java.util.Map, android.os.Parcel):void\");\n }",
"public static void main(String[] args) {\n\t\tString str=\"Hi Rikita\";\n\t\t\n\t\tSystem.out.println(checkPangram(str));\n\n\t}",
"public void mo34874a(String str) {\n Class<C9780c> cls = C9780c.class;\n boolean[] a = m45645a();\n try {\n C9780c.m45630a(this.f25962b, System.currentTimeMillis(), this.f25961a);\n a[1] = true;\n InstabugSDKLogger.m46622d(cls, \"Features fetched successfully\");\n a[2] = true;\n JSONObject jSONObject = new JSONObject(str);\n a[3] = true;\n boolean optBoolean = jSONObject.optBoolean(\"crash_reporting\", true);\n a[4] = true;\n this.f25962b.mo34866a(Feature.CRASH_REPORTING, optBoolean);\n a[5] = true;\n boolean optBoolean2 = jSONObject.optBoolean(\"push_notifications\", true);\n a[6] = true;\n this.f25962b.mo34866a(Feature.PUSH_NOTIFICATION, optBoolean2);\n a[7] = true;\n boolean optBoolean3 = jSONObject.optBoolean(\"white_label\", true);\n a[8] = true;\n this.f25962b.mo34866a(Feature.WHITE_LABELING, optBoolean3);\n a[9] = true;\n boolean optBoolean4 = jSONObject.optBoolean(\"in_app_messaging\", true);\n a[10] = true;\n this.f25962b.mo34866a(Feature.IN_APP_MESSAGING, optBoolean4);\n a[11] = true;\n boolean optBoolean5 = jSONObject.optBoolean(\"multiple_attachments\", true);\n a[12] = true;\n this.f25962b.mo34866a(Feature.MULTIPLE_ATTACHMENTS, optBoolean5);\n String str2 = com.instabug.library.model.State.KEY_USER_STEPS;\n a[13] = true;\n boolean optBoolean6 = jSONObject.optBoolean(str2, true);\n a[14] = true;\n this.f25962b.mo34866a(Feature.TRACK_USER_STEPS, optBoolean6);\n a[15] = true;\n boolean optBoolean7 = jSONObject.optBoolean(\"repro_steps\", true);\n a[16] = true;\n this.f25962b.mo34866a(Feature.REPRO_STEPS, optBoolean7);\n String str3 = com.instabug.library.model.State.KEY_CONSOLE_LOG;\n a[17] = true;\n boolean optBoolean8 = jSONObject.optBoolean(str3, true);\n a[18] = true;\n this.f25962b.mo34866a(Feature.CONSOLE_LOGS, optBoolean8);\n a[19] = true;\n boolean optBoolean9 = jSONObject.optBoolean(\"ibg_log\", true);\n a[20] = true;\n this.f25962b.mo34866a(Feature.INSTABUG_LOGS, optBoolean9);\n a[21] = true;\n boolean optBoolean10 = jSONObject.optBoolean(com.instabug.library.model.State.KEY_USER_DATA, true);\n a[22] = true;\n this.f25962b.mo34866a(Feature.USER_DATA, optBoolean10);\n a[23] = true;\n boolean optBoolean11 = jSONObject.optBoolean(\"surveys\", true);\n a[24] = true;\n this.f25962b.mo34866a(Feature.SURVEYS, optBoolean11);\n String str4 = BugEntry.COLUMN_VIEW_HIERARCHY;\n a[25] = true;\n boolean optBoolean12 = jSONObject.optBoolean(str4, true);\n a[26] = true;\n this.f25962b.mo34866a(Feature.VIEW_HIERARCHY, optBoolean12);\n a[27] = true;\n boolean optBoolean13 = jSONObject.optBoolean(\"user_events\", true);\n a[28] = true;\n this.f25962b.mo34866a(Feature.USER_EVENTS, optBoolean13);\n a[29] = true;\n boolean optBoolean14 = jSONObject.optBoolean(\"disclaimer_text\", false);\n a[30] = true;\n this.f25962b.mo34866a(Feature.DISCLAIMER, optBoolean14);\n a[31] = true;\n boolean optBoolean15 = jSONObject.optBoolean(com.instabug.library.model.State.KEY_SESSIONS_PROFILER, true);\n a[32] = true;\n this.f25962b.mo34866a(Feature.SESSION_PROFILER, optBoolean15);\n a[33] = true;\n boolean optBoolean16 = jSONObject.optBoolean(\"feature_requests\", true);\n a[34] = true;\n this.f25962b.mo34866a(Feature.FEATURE_REQUESTS, optBoolean16);\n a[35] = true;\n boolean optBoolean17 = jSONObject.optBoolean(\"vp_customizations\", false);\n a[36] = true;\n this.f25962b.mo34866a(Feature.VP_CUSTOMIZATION, optBoolean17);\n a[37] = true;\n SDKCoreEventPublisher.post(new SDKCoreEvent(\"features\", Feature.VALUE_FETCHED));\n a[38] = true;\n } catch (JSONException e) {\n a[39] = true;\n InstabugSDKLogger.m46624e(cls, \"Something went wrong while parsing fetching features request's response\", e);\n a[40] = true;\n }\n a[41] = true;\n }",
"@Test\n public void testSearchNastyCases() {\n RpkiObjectCoder coder = new RpkiObjectCoder();\n AtomicInteger brokenCounter = new AtomicInteger(0);\n lmdb.readTx0(tx -> {\n lmdbRpkiObject.forEach(tx, (k, bb) -> {\n byte[] bytes = Bytes.toBytes(bb);\n try {\n RpkiObject rpkiObject = coder.fromBytes(bytes);\n assertEquals(rpkiObject.key(), k);\n assertArrayEquals(Sha256.hash(rpkiObject.getEncoded()), rpkiObject.getSha256());\n } catch (Exception e) {\n brokenCounter.incrementAndGet();\n e.printStackTrace();\n }\n });\n });\n assertEquals(0, brokenCounter.get());\n }",
"private static void findBigramProbTuring() {\n\t\t\t\t\n\t\tbigramProbT= new HashMap<String, Double>();\n\t\tdouble prob;\n\t\t\n\t\tfor(String s: corpusBigramCount.keySet()){\n\t\t\tint count=corpusBigramCount.get(s);\n\t\t\tif(count==0){\n\t\t\t\tprob= bucketCountT.getOrDefault(1,0.0)/corpusNumOfBigrams;\n\t\t\t}\n\t\t\telse\n\t\t\t\tprob= bigramCountTI.get(count)/corpusNumOfBigrams;\n\t\t\tbigramProbT.put(s, prob);\n\t\t}\n\t\t\t\n\t}",
"boolean isCodeComplete(int size);",
"public boolean checkAndUpdate(String word) {\n if (hashTable.contains(word)) {\n hashTable.put(word, hashTable.get(word) - 1);\n if (hashTable.get(word) == 0) {\n hashTable.delete(word);\n }\n return true;\n }\n return false;\n }",
"static int[] m11868m(Object[] r10, int r11, int r12, int r13) {\n /*\n r0 = 1\n if (r11 != r0) goto L_0x000e\n r11 = r10[r13]\n r12 = r13 ^ 1\n r10 = r10[r12]\n p067c.p068a.p134b.p136b.CollectPreconditions.m11785a(r11, r10)\n r10 = 0\n return r10\n L_0x000e:\n int r1 = r12 + -1\n int[] r12 = new int[r12]\n r2 = -1\n java.util.Arrays.fill(r12, r2)\n r3 = 0\n L_0x0017:\n if (r3 >= r11) goto L_0x0077\n int r4 = r3 * 2\n int r5 = r4 + r13\n r6 = r10[r5]\n r7 = r13 ^ 1\n int r4 = r4 + r7\n r4 = r10[r4]\n p067c.p068a.p134b.p136b.CollectPreconditions.m11785a(r6, r4)\n int r7 = r6.hashCode()\n int r7 = p067c.p068a.p134b.p136b.Hashing.m11897b(r7)\n L_0x002f:\n r7 = r7 & r1\n r8 = r12[r7]\n if (r8 != r2) goto L_0x0039\n r12[r7] = r5\n int r3 = r3 + 1\n goto L_0x0017\n L_0x0039:\n r9 = r10[r8]\n boolean r9 = r9.equals(r6)\n if (r9 != 0) goto L_0x0044\n int r7 = r7 + 1\n goto L_0x002f\n L_0x0044:\n java.lang.IllegalArgumentException r11 = new java.lang.IllegalArgumentException\n java.lang.StringBuilder r12 = new java.lang.StringBuilder\n r12.<init>()\n java.lang.String r13 = \"Multiple entries with same key: \"\n r12.append(r13)\n r12.append(r6)\n java.lang.String r13 = \"=\"\n r12.append(r13)\n r12.append(r4)\n java.lang.String r1 = \" and \"\n r12.append(r1)\n r1 = r10[r8]\n r12.append(r1)\n r12.append(r13)\n r13 = r8 ^ 1\n r10 = r10[r13]\n r12.append(r10)\n java.lang.String r10 = r12.toString()\n r11.<init>(r10)\n throw r11\n L_0x0077:\n return r12\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p067c.p068a.p134b.p136b.RegularImmutableMap.m11868m(java.lang.Object[], int, int, int):int[]\");\n }",
"void keySequenceHardFailure();",
"final com.google.bV a(java.util.Map r14) {\n /*\n r13_this = this;\n r6 = f;\n if (r14 == 0) goto L_0x013c;\n L_0x0004:\n r0 = com.google.fm.TRY_HARDER;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x013c;\n L_0x000c:\n r0 = 1;\n r2 = r0;\n L_0x000e:\n if (r14 == 0) goto L_0x0140;\n L_0x0010:\n r0 = com.google.fm.PURE_BARCODE;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x0140;\n L_0x0018:\n r0 = 1;\n L_0x0019:\n r1 = r13.b;\n r7 = r1.f();\n r1 = r13.b;\n r8 = r1.b();\n r1 = r7 * 3;\n r1 = r1 / 228;\n r3 = 3;\n if (r1 < r3) goto L_0x002e;\n L_0x002c:\n if (r2 == 0) goto L_0x002f;\n L_0x002e:\n r1 = 3;\n L_0x002f:\n r2 = 0;\n r3 = 5;\n r9 = new int[r3];\n r4 = r1 + -1;\n r5 = r1;\n L_0x0036:\n if (r4 >= r7) goto L_0x0127;\n L_0x0038:\n if (r2 != 0) goto L_0x0127;\n L_0x003a:\n r1 = 0;\n r3 = 0;\n r9[r1] = r3;\n r1 = 1;\n r3 = 0;\n r9[r1] = r3;\n r1 = 2;\n r3 = 0;\n r9[r1] = r3;\n r1 = 3;\n r3 = 0;\n r9[r1] = r3;\n r1 = 4;\n r3 = 0;\n r9[r1] = r3;\n r1 = 0;\n r3 = 0;\n L_0x0050:\n if (r3 >= r8) goto L_0x010d;\n L_0x0052:\n r10 = r13.b;\n r10 = r10.a(r3, r4);\n if (r10 == 0) goto L_0x0069;\n L_0x005a:\n r10 = r1 & 1;\n r11 = 1;\n if (r10 != r11) goto L_0x0061;\n L_0x005f:\n r1 = r1 + 1;\n L_0x0061:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0069:\n r10 = r1 & 1;\n if (r10 != 0) goto L_0x0103;\n L_0x006d:\n r10 = 4;\n if (r1 != r10) goto L_0x00f9;\n L_0x0070:\n r1 = a(r9);\n if (r1 == 0) goto L_0x015f;\n L_0x0076:\n r1 = r13.a(r9, r4, r3, r0);\n if (r1 == 0) goto L_0x0159;\n L_0x007c:\n r5 = 2;\n r1 = r13.a;\n if (r1 == 0) goto L_0x0156;\n L_0x0081:\n r1 = r13.b();\n if (r6 == 0) goto L_0x00c2;\n L_0x0087:\n r2 = r13.c();\n r10 = 2;\n r10 = r9[r10];\n if (r2 <= r10) goto L_0x0152;\n L_0x0090:\n r3 = 2;\n r3 = r9[r3];\n r2 = r2 - r3;\n r2 = r2 - r5;\n r3 = r4 + r2;\n r2 = r8 + -1;\n L_0x0099:\n if (r6 == 0) goto L_0x014e;\n L_0x009b:\n r4 = r5;\n r12 = r3;\n r3 = r1;\n r1 = r2;\n r2 = r12;\n L_0x00a0:\n r5 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 3;\n r10 = 1;\n r9[r5] = r10;\n r5 = 4;\n r10 = 0;\n r9[r5] = r10;\n r5 = 3;\n if (r6 == 0) goto L_0x0147;\n L_0x00bd:\n r5 = r4;\n r4 = r2;\n r12 = r3;\n r3 = r1;\n r1 = r12;\n L_0x00c2:\n r2 = 0;\n r10 = 0;\n r11 = 0;\n r9[r10] = r11;\n r10 = 1;\n r11 = 0;\n r9[r10] = r11;\n r10 = 2;\n r11 = 0;\n r9[r10] = r11;\n r10 = 3;\n r11 = 0;\n r9[r10] = r11;\n r10 = 4;\n r11 = 0;\n r9[r10] = r11;\n if (r6 == 0) goto L_0x0143;\n L_0x00d9:\n r2 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 3;\n r10 = 1;\n r9[r2] = r10;\n r2 = 4;\n r10 = 0;\n r9[r2] = r10;\n r2 = 3;\n if (r6 == 0) goto L_0x0143;\n L_0x00f6:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n L_0x00f9:\n r1 = r1 + 1;\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0103:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n L_0x0109:\n r3 = r3 + 1;\n if (r6 == 0) goto L_0x0050;\n L_0x010d:\n r1 = a(r9);\n if (r1 == 0) goto L_0x0124;\n L_0x0113:\n r1 = r13.a(r9, r4, r8, r0);\n if (r1 == 0) goto L_0x0124;\n L_0x0119:\n r1 = 0;\n r5 = r9[r1];\n r1 = r13.a;\n if (r1 == 0) goto L_0x0124;\n L_0x0120:\n r2 = r13.b();\n L_0x0124:\n r4 = r4 + r5;\n if (r6 == 0) goto L_0x0036;\n L_0x0127:\n r0 = r13.a();\n com.google.bm.a(r0);\n r1 = new com.google.bV;\n r1.<init>(r0);\n r0 = com.google.gC.a;\n if (r0 == 0) goto L_0x013b;\n L_0x0137:\n r0 = r6 + 1;\n f = r0;\n L_0x013b:\n return r1;\n L_0x013c:\n r0 = 0;\n r2 = r0;\n goto L_0x000e;\n L_0x0140:\n r0 = 0;\n goto L_0x0019;\n L_0x0143:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n goto L_0x0109;\n L_0x0147:\n r12 = r1;\n r1 = r5;\n r5 = r4;\n r4 = r2;\n r2 = r3;\n r3 = r12;\n goto L_0x0109;\n L_0x014e:\n r4 = r3;\n r3 = r2;\n goto L_0x00c2;\n L_0x0152:\n r2 = r3;\n r3 = r4;\n goto L_0x0099;\n L_0x0156:\n r1 = r2;\n goto L_0x0087;\n L_0x0159:\n r1 = r3;\n r3 = r2;\n r2 = r4;\n r4 = r5;\n goto L_0x00a0;\n L_0x015f:\n r1 = r2;\n goto L_0x00d9;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.bj.a(java.util.Map):com.google.bV\");\n }",
"public static void checkUpdateProbabilityOnALLRelations()\r\n\t{\r\n\t\tint[] base_relations = {1,2,4,8,16,32,64,128};\r\n\t\tint r1,r2,r3;\r\n\t\tint total = 0;\r\n\t\tint update = 0;\r\n\t\tfor (int i = 0; i < 8; i++)\r\n\t\t{\r\n\t\t\t r1 = base_relations[i];\r\n\t\t\tfor(int j = 1; j < 255; j++)\r\n\t\t\t{\r\n\t\t\t\tr2 = j;\r\n\t\t\t\t/*if(r2 == 1 || r2 == 2 || r2 == 4 || r2 == 8 || r2 == 16 || r2 == 32 || r2 == 64 || r2 == 128)\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\telse*/\r\n\t\t\t\tfor(int k = 1; k < 255; k++)\r\n\t\t\t\t{ \r\n\t\t\t\t\tr3 = k;\r\n\t\t\t\t\t/*if(r3 == 1 || r3 == 2 || r3 == 4 || r3 == 8 || r3 == 16 || r3 == 32 || r3 == 64 || r3 == 128)\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\telse*/\r\n\t\t\t\t\t{\t\r\n\t\t\t\t\t\ttotal++;\r\n\t\t\t\t\t\tint new_r3 = SetOperators.intersection(r3, \r\n\t\t\t\t\t\t\t\tCompositionTable.LookUpTable(r1, r2));\r\n\t\t\t\t\t\tif(new_r3 != r3 && new_r3 != 0)\r\n\t\t\t\t\t\t\tupdate++;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println((double)update/total);\r\n\t\t\t\t\r\n\t}",
"@Override \n protected void engineUpdate(byte[] input, int offset, int len) {\n for (int index = offset; index < offset + len; index++) \n engineUpdate(input[index]); \n }",
"public static void testVerifyLarge() {\n Runtime runtime = Runtime.getRuntime();\n long usedMemoryBefore = runtime.totalMemory() - runtime.freeMemory();\n Instant t1 = Instant.now();\n\n Random random = new Random();\n for (int i = 1; i <= TIMES; i++) {\n EdDSA eckey = new EdDSA();\n byte[] data = new byte[SIZE];\n random.nextBytes(data);\n byte[] hash = Hash.h256(data);\n byte[] sig = eckey.sign(hash).toBytes();\n\n if (i % 1000 == 0) {\n System.out.printf(\"...%d\\n\", i);\n }\n\n EdDSA.verify(hash, sig);\n }\n\n Instant t2 = Instant.now();\n long usedMemoryAfter = runtime.totalMemory() - runtime.freeMemory();\n\n logger.info(\"Perf_verify_large: {} bytes, took {}\", usedMemoryAfter - usedMemoryBefore,\n TimeUtil.formatDuration(Duration.between(t1, t2)));\n }",
"boolean optimizeBundle();",
"private void m145780j() {\n String str;\n if (!this.f119477j.mo115499a() && !this.f119478k) {\n if ((this.f119477j.f119578d & 536870912) != 0) {\n str = \"WAL\";\n } else {\n str = \"PERSIST\";\n }\n m145773d(str);\n }\n }",
"public boolean equals(java.lang.Object r7) {\n /*\n r6 = this;\n r0 = 1\n if (r6 != r7) goto L_0x0004\n return r0\n L_0x0004:\n r1 = 0\n if (r7 == 0) goto L_0x005c\n java.lang.Class r2 = r6.getClass()\n java.lang.Class r3 = r7.getClass()\n if (r2 == r3) goto L_0x0012\n goto L_0x005c\n L_0x0012:\n io.grpc.Attributes r7 = (io.grpc.Attributes) r7\n java.util.Map<io.grpc.Attributes$Key<?>, java.lang.Object> r2 = r6.data\n int r2 = r2.size()\n java.util.Map<io.grpc.Attributes$Key<?>, java.lang.Object> r3 = r7.data\n int r3 = r3.size()\n if (r2 == r3) goto L_0x0023\n return r1\n L_0x0023:\n java.util.Map<io.grpc.Attributes$Key<?>, java.lang.Object> r2 = r6.data\n java.util.Set r2 = r2.entrySet()\n java.util.Iterator r2 = r2.iterator()\n L_0x002d:\n boolean r3 = r2.hasNext()\n if (r3 == 0) goto L_0x005b\n java.lang.Object r3 = r2.next()\n java.util.Map$Entry r3 = (java.util.Map.Entry) r3\n java.util.Map<io.grpc.Attributes$Key<?>, java.lang.Object> r4 = r7.data\n java.lang.Object r5 = r3.getKey()\n boolean r4 = r4.containsKey(r5)\n if (r4 != 0) goto L_0x0046\n return r1\n L_0x0046:\n java.lang.Object r4 = r3.getValue()\n java.util.Map<io.grpc.Attributes$Key<?>, java.lang.Object> r5 = r7.data\n java.lang.Object r3 = r3.getKey()\n java.lang.Object r3 = r5.get(r3)\n boolean r3 = com.google.common.base.Objects.equal(r4, r3)\n if (r3 != 0) goto L_0x002d\n return r1\n L_0x005b:\n return r0\n L_0x005c:\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: io.grpc.Attributes.equals(java.lang.Object):boolean\");\n }",
"private static void m14201a(Map<String, String> r13, JSONArray r14, JSONArray r15) {\n /*\n r0 = 1\n r1 = 0\n r2 = 0\n r3 = 1\n L_0x0004:\n int r4 = r14.length() // Catch:{ all -> 0x0242 }\n r5 = 0\n r6 = 2\n if (r2 >= r4) goto L_0x01da\n java.lang.Object r4 = r14.get(r2) // Catch:{ all -> 0x0242 }\n org.json.JSONObject r4 = (org.json.JSONObject) r4 // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x001d\n int r7 = r4.length() // Catch:{ all -> 0x0242 }\n if (r7 >= r6) goto L_0x001d\n L_0x001a:\n r3 = 0\n goto L_0x01da\n L_0x001d:\n java.lang.String r7 = \"fld\"\n java.lang.String r7 = r4.optString(r7) // Catch:{ all -> 0x0242 }\n java.lang.String r8 = \"val\"\n java.lang.String r8 = r4.optString(r8) // Catch:{ all -> 0x0242 }\n java.lang.String r9 = \"opc\"\n java.lang.String r4 = r4.optString(r9) // Catch:{ all -> 0x0242 }\n if (r7 == 0) goto L_0x001a\n if (r8 == 0) goto L_0x001a\n if (r4 != 0) goto L_0x0036\n goto L_0x001a\n L_0x0036:\n com.efs.sdk.base.a.c.a r9 = com.efs.sdk.base.p176a.p181d.C1682a.m14214a() // Catch:{ all -> 0x0242 }\n android.content.Context r10 = r9.f11299c // Catch:{ all -> 0x0242 }\n java.util.Map r9 = r9.mo9636a() // Catch:{ all -> 0x0242 }\n java.lang.String r11 = \"ver\"\n boolean r11 = r11.equals(r7) // Catch:{ all -> 0x0242 }\n if (r11 == 0) goto L_0x004d\n java.lang.String r9 = com.efs.sdk.base.p176a.p187h.C1730f.m14314a(r10) // Catch:{ all -> 0x0242 }\n goto L_0x0089\n L_0x004d:\n java.lang.String r11 = \"datetime\"\n boolean r11 = r11.equals(r7) // Catch:{ all -> 0x0242 }\n if (r11 == 0) goto L_0x0068\n java.text.SimpleDateFormat r9 = f11331a // Catch:{ all -> 0x0242 }\n java.util.Date r10 = new java.util.Date // Catch:{ all -> 0x0242 }\n com.efs.sdk.base.p176a.p177a.C1651a.m14131a() // Catch:{ all -> 0x0242 }\n long r11 = com.efs.sdk.base.p176a.p177a.C1651a.m14134b() // Catch:{ all -> 0x0242 }\n r10.<init>(r11) // Catch:{ all -> 0x0242 }\n java.lang.String r9 = r9.format(r10) // Catch:{ all -> 0x0242 }\n goto L_0x0089\n L_0x0068:\n java.lang.String r11 = \"pkg\"\n boolean r11 = r11.equals(r7) // Catch:{ all -> 0x0242 }\n if (r11 == 0) goto L_0x0075\n java.lang.String r9 = r10.getPackageName() // Catch:{ all -> 0x0242 }\n goto L_0x0089\n L_0x0075:\n boolean r10 = r9.isEmpty() // Catch:{ all -> 0x0242 }\n if (r10 != 0) goto L_0x0088\n boolean r10 = r9.containsKey(r7) // Catch:{ all -> 0x0242 }\n if (r10 == 0) goto L_0x0088\n java.lang.Object r9 = r9.get(r7) // Catch:{ all -> 0x0242 }\n java.lang.String r9 = (java.lang.String) r9 // Catch:{ all -> 0x0242 }\n goto L_0x0089\n L_0x0088:\n r9 = r5\n L_0x0089:\n if (r9 != 0) goto L_0x0094\n java.lang.String r7 = \"isNull\"\n boolean r4 = r7.equals(r4) // Catch:{ all -> 0x0242 }\n if (r4 != 0) goto L_0x01d6\n goto L_0x001a\n L_0x0094:\n r10 = -1\n int r11 = r4.hashCode() // Catch:{ all -> 0x0242 }\n switch(r11) {\n case -1555538761: goto L_0x0135;\n case -1295482945: goto L_0x012a;\n case -567445985: goto L_0x011f;\n case 33: goto L_0x0115;\n case 60: goto L_0x010b;\n case 62: goto L_0x0101;\n case 1084: goto L_0x00f7;\n case 1921: goto L_0x00ed;\n case 1922: goto L_0x00e3;\n case 1952: goto L_0x00d9;\n case 1983: goto L_0x00ce;\n case 257797441: goto L_0x00c2;\n case 840862003: goto L_0x00b6;\n case 1743158238: goto L_0x00aa;\n case 2058039875: goto L_0x009e;\n default: goto L_0x009c;\n } // Catch:{ all -> 0x0242 }\n L_0x009c:\n goto L_0x013f\n L_0x009e:\n java.lang.String r11 = \"isEmpty\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 13\n goto L_0x013f\n L_0x00aa:\n java.lang.String r11 = \"endsWith\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 9\n goto L_0x013f\n L_0x00b6:\n java.lang.String r11 = \"matches\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 14\n goto L_0x013f\n L_0x00c2:\n java.lang.String r11 = \"equalsIgnoreCase\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 12\n goto L_0x013f\n L_0x00ce:\n java.lang.String r11 = \">=\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 3\n goto L_0x013f\n L_0x00d9:\n java.lang.String r11 = \"==\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 0\n goto L_0x013f\n L_0x00e3:\n java.lang.String r11 = \"<>\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 7\n goto L_0x013f\n L_0x00ed:\n java.lang.String r11 = \"<=\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 4\n goto L_0x013f\n L_0x00f7:\n java.lang.String r11 = \"!=\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 6\n goto L_0x013f\n L_0x0101:\n java.lang.String r11 = \">\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 1\n goto L_0x013f\n L_0x010b:\n java.lang.String r11 = \"<\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 2\n goto L_0x013f\n L_0x0115:\n java.lang.String r11 = \"!\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 5\n goto L_0x013f\n L_0x011f:\n java.lang.String r11 = \"contains\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 10\n goto L_0x013f\n L_0x012a:\n java.lang.String r11 = \"equals\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 11\n goto L_0x013f\n L_0x0135:\n java.lang.String r11 = \"startsWith\"\n boolean r4 = r4.equals(r11) // Catch:{ all -> 0x0242 }\n if (r4 == 0) goto L_0x013f\n r10 = 8\n L_0x013f:\n r4 = -100\n switch(r10) {\n case 0: goto L_0x01c4;\n case 1: goto L_0x01b4;\n case 2: goto L_0x01a4;\n case 3: goto L_0x0194;\n case 4: goto L_0x0184;\n case 5: goto L_0x0170;\n case 6: goto L_0x0170;\n case 7: goto L_0x0170;\n case 8: goto L_0x016a;\n case 9: goto L_0x0164;\n case 10: goto L_0x015e;\n case 11: goto L_0x0158;\n case 12: goto L_0x0152;\n case 13: goto L_0x014c;\n case 14: goto L_0x0146;\n default: goto L_0x0144;\n } // Catch:{ all -> 0x0242 }\n L_0x0144:\n goto L_0x01d4\n L_0x0146:\n boolean r3 = r9.matches(r8) // Catch:{ all -> 0x0242 }\n goto L_0x01d4\n L_0x014c:\n boolean r3 = r9.isEmpty() // Catch:{ all -> 0x0242 }\n goto L_0x01d4\n L_0x0152:\n boolean r3 = r9.equalsIgnoreCase(r8) // Catch:{ all -> 0x0242 }\n goto L_0x01d4\n L_0x0158:\n boolean r3 = r9.equals(r8) // Catch:{ all -> 0x0242 }\n goto L_0x01d4\n L_0x015e:\n boolean r3 = r9.contains(r8) // Catch:{ all -> 0x0242 }\n goto L_0x01d4\n L_0x0164:\n boolean r3 = r9.endsWith(r8) // Catch:{ all -> 0x0242 }\n goto L_0x01d4\n L_0x016a:\n boolean r3 = r9.startsWith(r8) // Catch:{ all -> 0x0242 }\n goto L_0x01d4\n L_0x0170:\n int r3 = m14200a(r7, r9, r8) // Catch:{ all -> 0x0242 }\n if (r3 != r4) goto L_0x0181\n int r3 = r9.compareTo(r8) // Catch:{ all -> 0x0242 }\n if (r3 == 0) goto L_0x017f\n L_0x017c:\n r3 = 1\n goto L_0x01d4\n L_0x017f:\n r3 = 0\n goto L_0x01d4\n L_0x0181:\n if (r3 == 0) goto L_0x017f\n goto L_0x017c\n L_0x0184:\n int r3 = m14200a(r7, r9, r8) // Catch:{ all -> 0x0242 }\n if (r3 != r4) goto L_0x0191\n int r3 = r9.compareTo(r8) // Catch:{ all -> 0x0242 }\n if (r3 > 0) goto L_0x017f\n goto L_0x017c\n L_0x0191:\n if (r3 > 0) goto L_0x017f\n goto L_0x017c\n L_0x0194:\n int r3 = m14200a(r7, r9, r8) // Catch:{ all -> 0x0242 }\n if (r3 != r4) goto L_0x01a1\n int r3 = r9.compareTo(r8) // Catch:{ all -> 0x0242 }\n if (r3 < 0) goto L_0x017f\n goto L_0x017c\n L_0x01a1:\n if (r3 < 0) goto L_0x017f\n goto L_0x017c\n L_0x01a4:\n int r3 = m14200a(r7, r9, r8) // Catch:{ all -> 0x0242 }\n if (r3 != r4) goto L_0x01b1\n int r3 = r9.compareTo(r8) // Catch:{ all -> 0x0242 }\n if (r3 >= 0) goto L_0x017f\n goto L_0x017c\n L_0x01b1:\n if (r3 >= 0) goto L_0x017f\n goto L_0x017c\n L_0x01b4:\n int r3 = m14200a(r7, r9, r8) // Catch:{ all -> 0x0242 }\n if (r3 != r4) goto L_0x01c1\n int r3 = r9.compareTo(r8) // Catch:{ all -> 0x0242 }\n if (r3 <= 0) goto L_0x017f\n goto L_0x017c\n L_0x01c1:\n if (r3 <= 0) goto L_0x017f\n goto L_0x017c\n L_0x01c4:\n int r3 = m14200a(r7, r9, r8) // Catch:{ all -> 0x0242 }\n if (r3 != r4) goto L_0x01d1\n int r3 = r9.compareTo(r8) // Catch:{ all -> 0x0242 }\n if (r3 != 0) goto L_0x017f\n goto L_0x017c\n L_0x01d1:\n if (r3 != 0) goto L_0x017f\n goto L_0x017c\n L_0x01d4:\n if (r3 == 0) goto L_0x01da\n L_0x01d6:\n int r2 = r2 + 1\n goto L_0x0004\n L_0x01da:\n if (r3 != 0) goto L_0x01dd\n return\n L_0x01dd:\n int r14 = r15.length() // Catch:{ all -> 0x0242 }\n if (r1 >= r14) goto L_0x0241\n java.lang.Object r14 = r15.get(r1) // Catch:{ all -> 0x0242 }\n org.json.JSONObject r14 = (org.json.JSONObject) r14 // Catch:{ all -> 0x0242 }\n if (r14 == 0) goto L_0x023e\n int r0 = r14.length() // Catch:{ all -> 0x0242 }\n if (r0 < r6) goto L_0x023e\n java.lang.String r0 = \"opt\"\n java.lang.String r0 = r14.optString(r0) // Catch:{ all -> 0x0242 }\n java.lang.String r2 = \"set\"\n java.lang.Object r2 = r14.opt(r2) // Catch:{ all -> 0x0242 }\n if (r0 == 0) goto L_0x023e\n if (r2 == 0) goto L_0x023e\n java.lang.String r3 = \"lt\"\n java.lang.String r3 = r14.optString(r3, r5) // Catch:{ all -> 0x0242 }\n java.lang.String r4 = \"net\"\n java.lang.String r14 = r14.optString(r4, r5) // Catch:{ all -> 0x0242 }\n java.lang.String r4 = \"_\"\n if (r3 == 0) goto L_0x0223\n java.lang.StringBuilder r7 = new java.lang.StringBuilder // Catch:{ all -> 0x0242 }\n r7.<init>() // Catch:{ all -> 0x0242 }\n r7.append(r0) // Catch:{ all -> 0x0242 }\n r7.append(r4) // Catch:{ all -> 0x0242 }\n r7.append(r3) // Catch:{ all -> 0x0242 }\n java.lang.String r0 = r7.toString() // Catch:{ all -> 0x0242 }\n L_0x0223:\n if (r14 == 0) goto L_0x0237\n java.lang.StringBuilder r3 = new java.lang.StringBuilder // Catch:{ all -> 0x0242 }\n r3.<init>() // Catch:{ all -> 0x0242 }\n r3.append(r0) // Catch:{ all -> 0x0242 }\n r3.append(r4) // Catch:{ all -> 0x0242 }\n r3.append(r14) // Catch:{ all -> 0x0242 }\n java.lang.String r0 = r3.toString() // Catch:{ all -> 0x0242 }\n L_0x0237:\n java.lang.String r14 = java.lang.String.valueOf(r2) // Catch:{ all -> 0x0242 }\n r13.put(r0, r14) // Catch:{ all -> 0x0242 }\n L_0x023e:\n int r1 = r1 + 1\n goto L_0x01dd\n L_0x0241:\n return\n L_0x0242:\n r13 = move-exception\n java.lang.String r14 = \"efs.config\"\n java.lang.String r15 = \"updateConfigCond error\"\n com.efs.sdk.base.p176a.p187h.C1728d.m14309b(r14, r15, r13)\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.efs.sdk.base.p176a.p179c.p180a.C1677d.m14201a(java.util.Map, org.json.JSONArray, org.json.JSONArray):void\");\n }",
"private final java.util.Map<java.lang.String, java.lang.String> m11967c() {\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 r7 = this;\n r0 = new java.util.HashMap;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r0.<init>();\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r1 = r7.f10169c;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r2 = r7.f10170d;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r3 = f10168i;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r4 = 0;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r5 = 0;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r6 = 0;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r1 = r1.query(r2, r3, r4, r5, r6);\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n if (r1 == 0) goto L_0x0031;\n L_0x0014:\n r2 = r1.moveToNext();\t Catch:{ all -> 0x002c }\n if (r2 == 0) goto L_0x0028;\t Catch:{ all -> 0x002c }\n L_0x001a:\n r2 = 0;\t Catch:{ all -> 0x002c }\n r2 = r1.getString(r2);\t Catch:{ all -> 0x002c }\n r3 = 1;\t Catch:{ all -> 0x002c }\n r3 = r1.getString(r3);\t Catch:{ all -> 0x002c }\n r0.put(r2, r3);\t Catch:{ all -> 0x002c }\n goto L_0x0014;\n L_0x0028:\n r1.close();\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n goto L_0x0031;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n L_0x002c:\n r0 = move-exception;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r1.close();\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n throw r0;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n L_0x0031:\n return r0;\n L_0x0032:\n r0 = \"ConfigurationContentLoader\";\n r1 = \"PhenotypeFlag unable to load ContentProvider, using default values\";\n android.util.Log.e(r0, r1);\n r0 = 0;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.measurement.zzsi.c():java.util.Map<java.lang.String, java.lang.String>\");\n }",
"private static void check(java.lang.String r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: java.security.Signer.check(java.lang.String):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: java.security.Signer.check(java.lang.String):void\");\n }",
"private boolean checkKey(char k)\n {\n \tint index = word.indexOf(k);\n \tif (index == -1)\n \t{\n \t\t//k doesn't exist in word\n \t\tguess_number--;\n \t\treturn false;\n \t}\n \telse\n \t{\n \t\t//k exist in the word\n \t\twhile (index != -1)\n \t\t{\n \t\t\t//update mask\n \t\t\tmask = mask.substring(0, index)+k+mask.substring(index+1);\n \t\t\t//update index\n \t\t\tindex = word.indexOf(k, index + 1);\n \t\t}\n \t\treturn true;\n \t}\n \t\n }",
"public static void main(String[] args) {\n int validPhrases = 0;\n\n // get filepath for the puzzle input\n System.out.print(\"Please provide the filepath of the text document containing the puzzle input: \");\n String filePath = new Scanner(System.in).nextLine();\n\n try {\n // attempt to read each line in the file into a list\n List<String> lines = Files.readAllLines(Paths.get(filePath));\n\n /// PART 1\n for (String line : lines) {\n List<String> usedWords = new ArrayList<>();\n boolean validPassphrase = true;\n\n for (String word : line.split(\" \")) {\n if (usedWords.contains(word)) {\n validPassphrase = false;\n break;\n } else {\n usedWords.add(word);\n }\n }\n\n if (validPassphrase) {\n validPhrases++;\n }\n }\n\n System.out.println(\"The solution to part 1 is: \" + validPhrases);\n validPhrases = 0;\n\n /// PART 2\n for (String line : lines) {\n // this time around each word will be a dictionary mapping every character in the word, to how many\n // times that character is used in the word\n List<Map<Character, Integer>> usedWords = new ArrayList<>();\n boolean validPassphrase = true;\n\n for (String word : line.split(\" \")) {\n Map<Character, Integer> charMap = new HashMap<>();\n for (char c : word.toCharArray()) {\n // if the character has already been used, increment it's value, otherwise add it to the dict\n if (charMap.containsKey(c)) {\n charMap.put(c, charMap.get(c) + 1);\n } else {\n charMap.put(c, 1);\n }\n }\n\n // now we check if the word we're looking at is an anagram of any we've seen before on this line\n for (Map<Character, Integer> usedWord : usedWords) {\n // no need to check characters if the char maps are a different size\n if (usedWord.keySet().size() == charMap.keySet().size()) {\n boolean hasDifferingValues = false;\n for (char c : charMap.keySet()) {\n // we can short circuit checking every single character by breaking as soon as we see\n // any difference between the two words\n if (!usedWord.containsKey(c) || usedWord.get(c) != charMap.get(c)) {\n hasDifferingValues = true;\n break;\n }\n }\n\n if (!hasDifferingValues) {\n validPassphrase = false;\n break;\n }\n }\n }\n\n // we don't need to check the rest of the words if we already know the line is invalid\n if (!validPassphrase)\n break;\n usedWords.add(charMap);\n }\n\n if (validPassphrase) {\n validPhrases++;\n }\n }\n\n System.out.println(\"The solution to part 2 is: \" + validPhrases);\n } catch (Exception ex) {\n System.out.println(\"An error occurred attempting to read your input file.\");\n }\n }",
"public void mo10071a(String str, String str2, Bundle bundle) {\n boolean z;\n String str3;\n if (bundle == null) {\n bundle = new Bundle();\n }\n if (C3872a.m9248a(str)) {\n boolean z2 = true;\n if (!C3872a.f9482b.contains(str2)) {\n Iterator it = C3872a.f9484d.iterator();\n while (true) {\n if (it.hasNext()) {\n if (bundle.containsKey((String) it.next())) {\n break;\n }\n } else {\n z = true;\n break;\n }\n }\n } else {\n z = false;\n }\n if (z) {\n if (\"_cmp\".equals(str2)) {\n if (C3872a.m9248a(str)) {\n Iterator it2 = C3872a.f9484d.iterator();\n while (true) {\n if (it2.hasNext()) {\n if (bundle.containsKey((String) it2.next())) {\n break;\n }\n } else {\n char c = 65535;\n int hashCode = str.hashCode();\n if (hashCode != 101200) {\n if (hashCode != 101230) {\n if (hashCode == 3142703 && str.equals(\"fiam\")) {\n c = 2;\n }\n } else if (str.equals(\"fdl\")) {\n c = 1;\n }\n } else if (str.equals(\"fcm\")) {\n c = 0;\n }\n if (c == 0) {\n str3 = \"fcm_integration\";\n } else if (c == 1) {\n str3 = \"fdl_integration\";\n } else if (c == 2) {\n str3 = \"fiam_integration\";\n }\n bundle.putString(\"_cis\", str3);\n }\n }\n }\n z2 = false;\n }\n if (z2) {\n if (\"clx\".equals(str) && \"_ae\".equals(str2)) {\n bundle.putLong(\"_r\", 1);\n }\n this.f9479a.f7111a.mo7689a(str, str2, bundle);\n }\n }\n }\n }",
"private boolean isUsed(String key2) {\n\t\tfor(int i = 0; i < size; i++){\n\t\t\tif(keys[i].equals(key2)) return true;\n\t\t}\n\t\treturn false;\n\t}",
"public static String[] rechercheBigrammePlusFrequent(String text) {\n\t\tint n = text.length();\n\t\tArrayList<String> bigrammes = new ArrayList<String>();\n\t\tString[] bigrammesPlusFrequentsCorrespond = new String[5]; // resultat\n\t\tArrayList<String> bigrammesChiffréPlusFrequents = new ArrayList<String>();\n\t\tArrayList<Integer> nbrBigrammesPlusFrequents = new ArrayList<Integer>();\n\n\t\tfor (int i = 1; i < n - 1; i++) {\n\t\t\tString bigramme = text.substring(i, i + 2);\n\t\t\tbigrammes.add(bigramme);\n\t\t}\n\t\tfor (int j = 0; j < bigrammes.size(); j++) {\n\t\t\tint inter = 1;\n\t\t\tString bi = bigrammes.get(j);\n\t\t\tif ((!bigrammesChiffréPlusFrequents.contains(bi))) {\n\t\t\t\tfor (int k = j + 1; k < bigrammes.size(); k++) {\n\t\t\t\t\tif (bi.equals(bigrammes.get(k))) {\n\t\t\t\t\t\tinter++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbigrammesChiffréPlusFrequents.add(bi);\n\t\t\t\tnbrBigrammesPlusFrequents.add(inter);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tint max = 1, id = 0;\n\t\t\tfor (int j = 0; j < bigrammesChiffréPlusFrequents.size(); j++) {\n\t\t\t\tif (nbrBigrammesPlusFrequents.get(j) >= max) {\n\t\t\t\t\tmax = nbrBigrammesPlusFrequents.get(j);\n\t\t\t\t\tid = j;\n\t\t\t\t}\n\t\t\t}\n\t\t\tbigrammesPlusFrequentsCorrespond[i] = bigrammesChiffréPlusFrequents\n\t\t\t\t\t.get(id);\n\t\t\tnbrBigrammesPlusFrequents.set(id, 0);\n\t\t}\n\t\t// System.out.println(\"liste des bigrammes les plus fréquents\");\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\t// System.out.println(bigrammesPlusFrequentsCorrespond[i]);\n\t\t}\n\t\treturn bigrammesPlusFrequentsCorrespond;\n\t}",
"public void computeWords(){\n\n loadDictionary();\n\n CharacterGrid characterGrid = readCharacterGrid();\n\n Set<String> wordSet = characterGrid.findWordMatchingDictionary(dictionary);\n\n System.out.println(wordSet.size());\n for (String word : wordSet) {\n\t System.out.println(word);\n }\n\n // System.out.println(\"Finish scanning character grid in \" + (System.currentTimeMillis() - startTime) + \" ms\");\n }",
"public static void checkUpdateProbabilityOnAtomicRelations()\r\n\t{\r\n\t\tint[] base_relations = {1,2,4,8,16,32,64,128};\r\n\t\tint r1,r2,r3;\r\n\t\tint total = 0;\r\n\t\tint update = 0;\r\n\t\tfor (int i = 0; i < 8; i++)\r\n\t\t{\r\n\t\t\t r1 = base_relations[i];\r\n\t\t\tfor(int j = 0; j < 8; j++)\r\n\t\t\t{\r\n\t\t\t\tr2 = base_relations[j];\r\n\t\t\t\r\n\t\t\t\tfor(int k = 0; k < 8; k++)\r\n\t\t\t\t{ \r\n\t\t\t\t\tr3 = base_relations[k];\r\n\t\t\t\t\ttotal++;\r\n\t\t\t\t\t//int new_r3 = CompositionTable.LookUpTable(r1, r2);\r\n\t\t\t\t\tint new_r3 = SetOperators.intersection(r3, \r\n\t\t\t\t\t\t\t\tCompositionTable.LookUpTable(r1, r2));\r\n\t\t\t\t\t//System.out.println(new_r3);\r\n\t\t\t\t\tif( new_r3 != r3 )\r\n\t\t\t\t\t{\t\r\n\t\t\t\t\t\tupdate++;\r\n\t\t\t\t\t\t//System.out.println(new_r3);\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\t\r\n\t\tSystem.out.println(\" total \" + total + \" update \" + update);\r\n\t\tSystem.out.println((double)update/total);\r\n\t\t\t\t\r\n\t}",
"public boolean search(String word) {\n boolean allFlag = false;\n for (Entry<String, String> entry : dataStructure.entrySet()) {\n boolean flag = true;\n String key = entry.getKey();\n if (key.equals(word)) {\n return true;\n }\n if (key.length() != word.length()) {\n return false;\n }\n\n char[] aArr = word.toCharArray();\n char[] bArr = key.toCharArray();\n for (int i = 0; i < aArr.length; i++) {\n if (aArr[i] == '.') {\n continue;\n } else {\n if (aArr[i] != bArr[i]) {\n flag = false;\n break;\n }\n }\n\n }\n if (flag) {\n return true;\n }\n }\n return allFlag;\n }",
"public final /* synthetic */ Boolean mo34043d(Bundle bundle) {\n C1845cn cnVar;\n Bundle bundle2 = bundle;\n int i = bundle2.getInt(\"session_id\");\n boolean z = false;\n if (i == 0) {\n return false;\n }\n Map<Integer, C1844cm> map = this.f589f;\n Integer valueOf = Integer.valueOf(i);\n if (map.containsKey(valueOf)) {\n C1844cm e = m448e(i);\n int i2 = bundle2.getInt(C1985h.m783a(\"status\", e.f577c.f570a));\n if (C1860db.m498a(e.f577c.f572c, i2)) {\n f584a.mo34139a(\"Found stale update for session %s with status %d.\", valueOf, Integer.valueOf(e.f577c.f572c));\n C1843cl clVar = e.f577c;\n String str = clVar.f570a;\n int i3 = clVar.f572c;\n if (i3 == 4) {\n this.f586c.mo34195a().mo33947a(i, str);\n } else if (i3 == 5) {\n this.f586c.mo34195a().mo33946a(i);\n } else if (i3 == 6) {\n this.f586c.mo34195a().mo33950a((List<String>) Arrays.asList(new String[]{str}));\n }\n } else {\n e.f577c.f572c = i2;\n if (C1860db.m500b(i2)) {\n mo34031a(i);\n this.f587d.mo34025a(e.f577c.f570a);\n } else {\n List<C1845cn> list = e.f577c.f574e;\n int size = list.size();\n for (int i4 = 0; i4 < size; i4++) {\n C1845cn cnVar2 = list.get(i4);\n ArrayList parcelableArrayList = bundle2.getParcelableArrayList(C1985h.m784a(\"chunk_intents\", e.f577c.f570a, cnVar2.f578a));\n if (parcelableArrayList != null) {\n for (int i5 = 0; i5 < parcelableArrayList.size(); i5++) {\n if (!(parcelableArrayList.get(i5) == null || ((Intent) parcelableArrayList.get(i5)).getData() == null)) {\n cnVar2.f581d.get(i5).f569a = true;\n }\n }\n }\n }\n }\n }\n } else {\n String e2 = m449e(bundle);\n long j = bundle2.getLong(C1985h.m783a(\"pack_version\", e2));\n int i6 = bundle2.getInt(C1985h.m783a(\"status\", e2));\n long j2 = bundle2.getLong(C1985h.m783a(\"total_bytes_to_download\", e2));\n ArrayList<String> stringArrayList = bundle2.getStringArrayList(C1985h.m783a(\"slice_ids\", e2));\n ArrayList arrayList = new ArrayList();\n Iterator<T> it = m450e(stringArrayList).iterator();\n while (it.hasNext()) {\n String str2 = (String) it.next();\n ArrayList parcelableArrayList2 = bundle2.getParcelableArrayList(C1985h.m784a(\"chunk_intents\", e2, str2));\n ArrayList arrayList2 = new ArrayList();\n for (Intent intent : m450e(parcelableArrayList2)) {\n Iterator<T> it2 = it;\n if (intent != null) {\n z = true;\n }\n arrayList2.add(new C1842ck(z));\n it = it2;\n z = false;\n }\n Iterator<T> it3 = it;\n String string = bundle2.getString(C1985h.m784a(\"uncompressed_hash_sha256\", e2, str2));\n long j3 = bundle2.getLong(C1985h.m784a(\"uncompressed_size\", e2, str2));\n int i7 = bundle2.getInt(C1985h.m784a(\"patch_format\", e2, str2), 0);\n if (i7 != 0) {\n cnVar = new C1845cn(str2, string, j3, arrayList2, 0, i7);\n } else {\n cnVar = new C1845cn(str2, string, j3, arrayList2, bundle2.getInt(C1985h.m784a(\"compression_format\", e2, str2), 0), 0);\n }\n arrayList.add(cnVar);\n it = it3;\n z = false;\n }\n this.f589f.put(Integer.valueOf(i), new C1844cm(i, bundle2.getInt(\"app_version_code\"), new C1843cl(e2, j, i6, j2, arrayList)));\n }\n return true;\n }",
"@Test\n public void myTest() {\n // FIXME: Delete this function and add your own tests\n ech.put(\"c\");\n assertEquals(ech.contains(\"c\"),true);\n\n ech.put(\"d\");\n assertEquals(ech.contains(\"d\"),true);\n\n ArrayList<String> tmp = new ArrayList();\n tmp.add(\"d\");\n tmp.add(\"c\");\n assertEquals(tmp,ech.asList());\n\n ech.put(\"a\");\n ArrayList<String> tmp0 = new ArrayList();\n tmp0.add(\"d\");\n tmp0.add(\"a\");\n tmp0.add(\"c\");\n assertEquals(tmp0,ech.asList());\n\n ech.put(\"v\");\n ech.put(\"A\");\n ech.put(\"r\");\n ArrayList<String> tmp1 = new ArrayList();\n tmp1.add(\"d\");\n tmp1.add(\"A\");\n tmp1.add(\"a\");\n tmp1.add(\"v\");\n tmp1.add(\"c\");\n tmp1.add(\"r\");\n assertEquals(tmp1,ech.asList());\n\n ech.put(\"I LOVE 61B\");\n ArrayList<String> tmp2 = new ArrayList();\n tmp2.add(\"d\");\n tmp2.add(\"A\");\n tmp2.add(\"a\");\n tmp2.add(\"I LOVE 61B\");\n tmp2.add(\"v\");\n tmp2.add(\"c\");\n tmp2.add(\"r\");\n assertEquals(tmp2,ech.asList());\n assertEquals(true,ech.contains(\"I LOVE 61B\"));\n\n for(int i = 0;i<10000;i++){\n ech.put((Integer.toString(i)));\n }\n assertEquals(true,ech.contains(\"9999\"));\n }",
"private void upgradeDictionary() throws IOException {\n File fileAnnotation = new File(filePathAnnSource);\n FileReader fr = new FileReader(fileAnnotation);\n BufferedReader br = new BufferedReader(fr);\n String line;\n\n if (fileAnnotation.exists()) {\n while ((line = br.readLine()) != null) {\n String[] annotations = line.split(\"[ \\t]\");\n String word = line.substring(line.lastIndexOf(\"\\t\") + 1);\n\n if (!nonDictionaryTerms.contains(word.toLowerCase())) {\n if (dictionaryTerms.containsKey(word.toLowerCase())) {\n if (!dictionaryTerms.get(word.toLowerCase()).equalsIgnoreCase(annotations[1])) {\n System.out.println(\"Conflict: word:: \" + word + \" Dictionary Tag: \" + dictionaryTerms.get(word.toLowerCase()) + \" New Tag: \" + annotations[1]);\n nonDictionaryTerms.add(word.toLowerCase());\n// removeLineFile(dictionaryTerms.get(word.toLowerCase())+\" \"+word.toLowerCase(),filePathDictionaryAuto);\n dictionaryTerms.remove(word.toLowerCase());\n writePrintStream(word, filePathNonDictionaryAuto);\n }\n } else {\n System.out.println(\"Updating Dictionary:: Word: \" + word + \"\\tTag: \" + annotations[1]);\n dictionaryTerms.put(word.toLowerCase(), annotations[1]);\n writePrintStream(annotations[1] + \" \" + word.toLowerCase(), filePathDictionaryAuto);\n }\n }\n\n// if (dictionaryTerms.containsKey(word.toLowerCase())) {\n// if (!dictionaryTerms.get(word.toLowerCase()).equalsIgnoreCase(annotations[1])) {\n// System.out.println(\"Conflict: word: \" + word + \" Dictionary Tag: \" + dictionaryTerms.get(word.toLowerCase()) + \" New Tag: \" + annotations[1]);\n// nonDictionaryTerms.add(word.toLowerCase());\n//\n// }\n// } else {\n// dictionary.add(word.toLowerCase());\n// dictionaryTerms.put(word.toLowerCase(), annotations[1]);\n// System.out.println(\"Updating Dictionary: Word: \" + word + \"\\tTag: \" + annotations[1]);\n// }\n }\n }\n\n\n br.close();\n fr.close();\n }",
"@Test\n\tvoid testOccurrencesAfterBigram() {\n\t\tOccurrencesAfterBigram tester = new OccurrencesAfterBigram();\n\t\tassertArrayEquals(new String[] { \"girl\", \"student\" },\n\t\t\t\ttester.findOcurrences(\"alice is a good girl she is a good student\", \"a\", \"good\"));\n\t\tassertArrayEquals(new String[] { \"we\", \"rock\" },\n\t\t\t\ttester.findOcurrences(\"we will we will rock you\", \"we\", \"will\"));\n\t}",
"public static boolean m19464a(java.lang.String r3, int[] r4) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = android.text.TextUtils.isEmpty(r3);\n r1 = 0;\n if (r0 == 0) goto L_0x0008;\n L_0x0007:\n return r1;\n L_0x0008:\n r0 = r4.length;\n r2 = 2;\n if (r0 == r2) goto L_0x000d;\n L_0x000c:\n return r1;\n L_0x000d:\n r0 = \"x\";\n r3 = r3.split(r0);\n r0 = r3.length;\n if (r0 == r2) goto L_0x0017;\n L_0x0016:\n return r1;\n L_0x0017:\n r0 = r3[r1];\t Catch:{ NumberFormatException -> 0x0029 }\n r0 = java.lang.Integer.parseInt(r0);\t Catch:{ NumberFormatException -> 0x0029 }\n r4[r1] = r0;\t Catch:{ NumberFormatException -> 0x0029 }\n r0 = 1;\t Catch:{ NumberFormatException -> 0x0029 }\n r3 = r3[r0];\t Catch:{ NumberFormatException -> 0x0029 }\n r3 = java.lang.Integer.parseInt(r3);\t Catch:{ NumberFormatException -> 0x0029 }\n r4[r0] = r3;\t Catch:{ NumberFormatException -> 0x0029 }\n return r0;\n L_0x0029:\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.arp.a(java.lang.String, int[]):boolean\");\n }",
"private final com.google.android.play.p179a.p352a.C6210u m28673b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x001b;\n case 26: goto L_0x0058;\n case 34: goto L_0x0065;\n case 42: goto L_0x0072;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f31049b = r0;\n r0 = r6.f31048a;\n r0 = r0 | 1;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x001b:\n r1 = r6.f31048a;\n r1 = r1 | 2;\n r6.f31048a = r1;\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0047 }\n switch(r2) {\n case 0: goto L_0x004f;\n case 1: goto L_0x004f;\n case 2: goto L_0x004f;\n case 3: goto L_0x004f;\n case 4: goto L_0x004f;\n case 5: goto L_0x004f;\n case 6: goto L_0x004f;\n default: goto L_0x002c;\n };\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x002c:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = 38;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = \" is not a valid enum OsType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0047 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x0047:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x004f:\n r6.f31050c = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r6.f31048a;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2 | 2;\n r6.f31048a = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n goto L_0x0000;\n L_0x0058:\n r0 = r7.f();\n r6.f31051d = r0;\n r0 = r6.f31048a;\n r0 = r0 | 4;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0065:\n r0 = r7.f();\n r6.f31052e = r0;\n r0 = r6.f31048a;\n r0 = r0 | 8;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0072:\n r0 = r7.f();\n r6.f31053f = r0;\n r0 = r6.f31048a;\n r0 = r0 | 16;\n r6.f31048a = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.play.a.a.u.b(com.google.protobuf.nano.a):com.google.android.play.a.a.u\");\n }",
"private void saveMissingTagAndBiGram(){\n BiGram newBiGram;\n for(Tag tag1 : Tag.values()){\n if(!tagMap.containsKey(tag1))\n tagMap.put(tag1, (long)1);\n for (Tag tag2 :Tag.values()){\n newBiGram = new BiGram(tag1, tag2);\n if(!biGramMap.containsKey(newBiGram))\n biGramMap.put(newBiGram, (long)1);\n }\n }\n }",
"private boolean checkRep()\r\n/* 126: */ {\r\n/* 127: */ Iterator localIterator2;\r\n/* 128:217 */ for (Iterator localIterator1 = this.map.keySet().iterator(); localIterator1.hasNext(); localIterator2.hasNext())\r\n/* 129: */ {\r\n/* 130:217 */ N n = (Object)localIterator1.next();\r\n/* 131:218 */ localIterator2 = ((Map)this.map.get(n)).keySet().iterator(); continue;N suc = (Object)localIterator2.next();\r\n/* 132:219 */ if (!((Map)this.map.get(suc)).containsKey(n)) {\r\n/* 133:220 */ return false;\r\n/* 134: */ }\r\n/* 135:223 */ if (!((Map)this.map.get(n)).get(suc).equals(((Map)this.map.get(suc)).get(n))) {\r\n/* 136:224 */ return false;\r\n/* 137: */ }\r\n/* 138: */ }\r\n/* 139:230 */ return true;\r\n/* 140: */ }",
"private void enumerateAnagramsUnderBagEHelper(String targetDoNotChange,\n\t\t\tString whatsLeft, HashMap<String, Integer> parent,\n\t\t\tSet<Map<String, Integer>> ret, int runningTotal) {\n\t\tif (whatsLeft.length() == 0\n\t\t\t\t&& runningTotal == targetDoNotChange.length()) {\n\t\t\tret.add(parent);\n\t\t\treturn;\n\t\t} else {\n\t\t\tSet<String> toIter = generateSubwords(whatsLeft);\n\t\t\tfor (String subWord : toIter) {\n\t\t\t\t// Do some pruning\n\t\t\t\tif (runningTotal + subWord.length() <= targetDoNotChange\n\t\t\t\t\t\t.length()) {\n\t\t\t\t\tString moveMadeWhatsLeft = null;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tmoveMadeWhatsLeft = cutOutSubWord(whatsLeft, subWord);\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\n\t\t\t\t\tHashMap<String, Integer> mapCopy = new HashMap<String, Integer>();\n\t\t\t\t\tfor (String s : parent.keySet()) {\n\t\t\t\t\t\tmapCopy.put(s, parent.get(s));\n\t\t\t\t\t}\n\t\t\t\t\t// Make move\n\t\t\t\t\tif (mapCopy.containsKey(subWord)) {\n\t\t\t\t\t\tmapCopy.put(subWord,\n\t\t\t\t\t\t\t\tmapCopy.get(subWord).intValue() + 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmapCopy.put(subWord, 1);\n\t\t\t\t\t}\n\t\t\t\t\tenumerateAnagramsUnderBagEHelper(targetDoNotChange,\n\t\t\t\t\t\t\tmoveMadeWhatsLeft, mapCopy, ret, runningTotal\n\t\t\t\t\t\t\t\t\t+ subWord.length());\n\n\t\t\t\t} else {\n\t\t\t\t\t// Do nothing.. too long PRUNING\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"private final void m67086b(Bundle bundle) {\n C9258a b = su.a().b(Integer.valueOf(1));\n String string = bundle.getString(\"type\");\n if (!TextUtils.isEmpty(string)) {\n b.b(string);\n }\n if (C2668g.a(string, \"fast_match\")) {\n FastMatchConfigProvider fastMatchConfigProvider = this.f58113d;\n if (fastMatchConfigProvider == null) {\n C2668g.b(\"fastMatchConfigProvider\");\n }\n if (fastMatchConfigProvider.get().isEnabled()) {\n string = bundle.getString(\"lp_message\");\n bundle = bundle.getString(\"frequency\");\n if (string != null) {\n b.a(string);\n }\n if (bundle != null) {\n bundle = C19292p.m68642c(bundle);\n if (bundle != null) {\n b.a(Integer.valueOf(((Number) bundle).intValue()));\n }\n }\n }\n }\n bundle = this.f58111b;\n if (bundle == null) {\n C2668g.b(\"fireworks\");\n }\n bundle.a(b.a());\n }",
"public native boolean Verify(byte[] bArr, byte[] bArr2, byte[] bArr3, int i);",
"public void m6607X() {\n try {\n HashMap hashMap = new HashMap();\n hashMap.put(\"is_rename\", \"0\");\n C1390G.m6779b(\"A107|1|3|10\", hashMap);\n HashMap hashMap2 = new HashMap();\n hashMap2.put(\"mark_num\", String.valueOf(this.f5418ga));\n C1390G.m6779b(\"A107|1|3|10\", hashMap2);\n HashMap hashMap3 = new HashMap();\n hashMap3.put(\"rec_time\", String.valueOf(this.f5420ha));\n C1390G.m6779b(\"A107|1|3|10\", hashMap3);\n } catch (Exception e) {\n C0938a.m5004b(\"SR/SoundRecorder\", \"A107|1|3|10Vcode error:\" + e);\n }\n }",
"@Test\n public void testKeyGeneration() {\n final int NUM_KEYS = 10;\n Set<byte[]> generatedKeys = new HashSet<>(NUM_KEYS);\n\n for (int i = 0; i < NUM_KEYS; ++i) {\n byte[] newKey = KeyGenerator.instance().generateKey();\n\n assertFalse(\"Duplicate key generated #\" + i, generatedKeys.contains(newKey));\n generatedKeys.add(newKey);\n }\n }",
"Map<String, Object> checkProcessDefinitionValid(long projectCode, ProcessDefinition processDefinition, long processDefineCode, Integer verison);",
"public static void checkVersion(byte[] buffer) throws TopicException {\n StringBuilder string = new StringBuilder();\n byte curr = buffer[0];\n\n for (int i = Constants.SEVEN; i> Constants.THREE; i--){\n string.append(getMybit(curr, i));\n }\n if(!TopicConstants.VERSION.contentEquals(string)){\n throw new TopicException(ErrorCode.BADVERSION);\n }\n }",
"public boolean has(byte[] key) throws IOException {\n assert (RAMIndex == true);\r\n return index.geti(key) >= 0;\r\n }",
"public static boolean advancedBinaryTests()\n\t{\n\t\tSystem.out.println(\"Beginning Advanced Binary Tests...\");\n\t\tfinal byte[] original_bytes = TEST_STR.getBytes();\n\t\tfinal Smartprint cipher = new Smartprint(original_bytes);\n\t\tfinal byte[] scrambled = scramble(original_bytes, cipher),\n\t\t\t\tunscrambled = scramble(scrambled, cipher);\n\t\t\n\t\tfinal String translated = new String(unscrambled);\n\t\tfinal boolean match = unscrambled.equals(scrambled), \n\t\t\t\tsuccess = translated.equals(TEST_STR) && !match;\n\t\t\n\t\tSystem.out.println(\"Encoded: \"+new String(scrambled));\n\t\tSystem.out.println(\"Decoded: \"+translated);\n\t\tSystem.out.println(\"Match: \" + match);\n\t\tSystem.out.println(\"Success: \" + success + \"\\n\");\n\t\treturn success;\n\t}",
"private void saveBigram(BiGram biGram){\n Long num = biGramMap.get(biGram);\n biGramMap.put(biGram, (num == null) ? (long)1 : num+1);\n }",
"private static boolean m72669b(String str, Map<String, String> map) {\n try {\n return f58217a.mo58026a(str, f58219c, map);\n } catch (Exception unused) {\n return false;\n }\n }",
"static native boolean areFontsTheSame(int font1, int font2);",
"public boolean isFamily2Dirty(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value) {\n return isDirty(7);\n }",
"private void forcePassingLongTime(final BinaryDictionary binaryDictionary) {\n final int count = 128;\n for (int i = 0; i < count; i++) {\n binaryDictionary.getPropertyForTests(SET_NEEDS_TO_DECAY_FOR_TESTING_KEY);\n binaryDictionary.flushWithGC();\n }\n }",
"private final java.lang.String B(java.util.Map<java.lang.String, ? extends java.lang.Object> r11) {\n /*\n r10 = this;\n r11 = r11.entrySet();\n r11 = (java.lang.Iterable) r11;\n r0 = new java.util.ArrayList;\n r0.<init>();\n r0 = (java.util.Collection) r0;\n r11 = r11.iterator();\n L_0x0011:\n r1 = r11.hasNext();\n if (r1 == 0) goto L_0x004e;\n L_0x0017:\n r1 = r11.next();\n r2 = r1;\n r2 = (java.util.Map.Entry) r2;\n r3 = r2.getKey();\n r3 = (java.lang.CharSequence) r3;\n r3 = r3.length();\n r4 = 1;\n r5 = 0;\n if (r3 <= 0) goto L_0x002e;\n L_0x002c:\n r3 = 1;\n goto L_0x002f;\n L_0x002e:\n r3 = 0;\n L_0x002f:\n if (r3 == 0) goto L_0x0047;\n L_0x0031:\n r2 = r2.getValue();\n r2 = r2.toString();\n r2 = (java.lang.CharSequence) r2;\n r2 = r2.length();\n if (r2 <= 0) goto L_0x0043;\n L_0x0041:\n r2 = 1;\n goto L_0x0044;\n L_0x0043:\n r2 = 0;\n L_0x0044:\n if (r2 == 0) goto L_0x0047;\n L_0x0046:\n goto L_0x0048;\n L_0x0047:\n r4 = 0;\n L_0x0048:\n if (r4 == 0) goto L_0x0011;\n L_0x004a:\n r0.add(r1);\n goto L_0x0011;\n L_0x004e:\n r0 = (java.util.List) r0;\n r1 = r0;\n r1 = (java.lang.Iterable) r1;\n r11 = \"&\";\n r2 = r11;\n r2 = (java.lang.CharSequence) r2;\n r3 = 0;\n r4 = 0;\n r5 = 0;\n r6 = 0;\n r11 = com.iqoption.core.connect.http.Http$urlEncode$2.baR;\n r7 = r11;\n r7 = (kotlin.jvm.a.b) r7;\n r8 = 30;\n r9 = 0;\n r11 = kotlin.collections.u.a(r1, r2, r3, r4, r5, r6, r7, r8, r9);\n r11 = r10.ft(r11);\n return r11;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.core.connect.http.c.B(java.util.Map):java.lang.String\");\n }",
"private void forcePassingShortTime(final BinaryDictionary binaryDictionary) {\n final int count = 3;\n for (int i = 0; i < count; i++) {\n binaryDictionary.getPropertyForTests(SET_NEEDS_TO_DECAY_FOR_TESTING_KEY);\n binaryDictionary.flushWithGC();\n }\n }",
"public boolean DEBUG_compare(Alphabet other) {\n System.out.println(\"now comparing the alphabets this with other:\\n\"+this+\"\\n\"+other);\n boolean sameSlexic = true;\n for (String s : other.slexic.keySet()) {\n if (!slexic.containsKey(s)) {\n sameSlexic = false;\n break;\n }\n if (!slexic.get(s).equals(other.slexic.get(s))) {\n sameSlexic = false;\n break;\n }\n slexic.remove(s);\n }\n System.out.println(\"the slexic attributes are the same : \" + sameSlexic);\n boolean sameSlexicinv = true;\n for (int i = 0, limit = other.slexicinv.size(); i < limit; i++) {\n boolean temp = false;\n for (int j = i, limit2 = slexicinv.size() + i; j < limit2; j++) {\n int k = j % slexicinv.size();\n if (other.slexicinv.get(i).equals(slexicinv.get(k))) {\n temp = true;\n break;\n }\n }\n if (!temp) {\n sameSlexicinv = false;\n break;\n }\n\n }\n boolean sameSpair = true;\n System.out.println(\"the slexicinv attributes are the same : \" + sameSlexicinv);\n for (IntegerPair p : other.spair.keySet()) {\n if(!spair.containsKey(p)) {\n //if (!containsKey(spair, p)) {\n sameSpair = false;\n break;\n }\n //if (!(get(spair, p).equals(get(a.spair, p)))) {\n if (!spair.get(p).equals(other.spair.get(p))) {\n sameSpair = false;\n break;\n }\n }\n System.out.println(\"the spair attributes are the same : \" + sameSpair);\n boolean sameSpairinv = true;\n for (int i = 0, limit = other.spairinv.size(); i < limit; i++) {\n boolean temp = false;\n for (int j = i, limit2 = spairinv.size() + i; j < limit2; j++) {\n int k = j % spairinv.size();\n if (other.spairinv.get(i).equals(spairinv.get(k))) {\n temp = true;\n break;\n }\n }\n if (!temp) {\n sameSpairinv = false;\n break;\n }\n }\n System.out.println(\"the spairinv attributes are the same : \" + sameSpairinv);\n return (sameSpairinv && sameSpair && sameSlexic && sameSlexicinv);\n }",
"public void checkDictionary (String[] target) {\n try {\n File f = new File(\"cmudict.0.7a\");\n BufferedReader br = new BufferedReader(new FileReader(f));\n String[][] data;\n Double result;\n for (String line; (line = br.readLine()) != null; ) {\n if (!line.matches(\"^[A-Za-z].*\")) {\n continue;\n }\n data = readDictionary(line);\n result = compareWords(target, data[1]);\n try {\n PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(\"results.txt\", true)));\n out.print(result);\n out.println(\" \" + data[0][0]); // prints the word\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"private void f(java.lang.String r8) {\n /*\n r7 = this;\n r6 = 1;\n r2 = F;\n r7.y = r8;\n r0 = r7.m;\n r0 = r0.entrySet();\n r3 = r0.iterator();\n L_0x000f:\n r0 = r3.hasNext();\n if (r0 == 0) goto L_0x004a;\n L_0x0015:\n r0 = r3.next();\n r0 = (java.util.Map.Entry) r0;\n r1 = r0.getValue();\n r1 = (java.util.List) r1;\n r4 = r1.size();\t Catch:{ RuntimeException -> 0x0077 }\n if (r4 != r6) goto L_0x0043;\n L_0x0027:\n r4 = J;\t Catch:{ RuntimeException -> 0x0079 }\n r5 = 28;\n r4 = r4[r5];\t Catch:{ RuntimeException -> 0x0079 }\n r5 = 0;\n r5 = r1.get(r5);\t Catch:{ RuntimeException -> 0x0079 }\n r4 = r4.equals(r5);\t Catch:{ RuntimeException -> 0x0079 }\n if (r4 == 0) goto L_0x0043;\n L_0x0038:\n r4 = r7.e;\t Catch:{ RuntimeException -> 0x007b }\n r0 = r0.getKey();\t Catch:{ RuntimeException -> 0x007b }\n r4.add(r0);\t Catch:{ RuntimeException -> 0x007b }\n if (r2 == 0) goto L_0x0048;\n L_0x0043:\n r0 = r7.x;\t Catch:{ RuntimeException -> 0x007b }\n r0.addAll(r1);\t Catch:{ RuntimeException -> 0x007b }\n L_0x0048:\n if (r2 == 0) goto L_0x000f;\n L_0x004a:\n r0 = r7.x;\t Catch:{ RuntimeException -> 0x007d }\n r1 = J;\t Catch:{ RuntimeException -> 0x007d }\n r2 = 29;\n r1 = r1[r2];\t Catch:{ RuntimeException -> 0x007d }\n r0 = r0.remove(r1);\t Catch:{ RuntimeException -> 0x007d }\n if (r0 == 0) goto L_0x0065;\n L_0x0058:\n r0 = B;\t Catch:{ RuntimeException -> 0x007d }\n r1 = java.util.logging.Level.WARNING;\t Catch:{ RuntimeException -> 0x007d }\n r2 = J;\t Catch:{ RuntimeException -> 0x007d }\n r3 = 30;\n r2 = r2[r3];\t Catch:{ RuntimeException -> 0x007d }\n r0.log(r1, r2);\t Catch:{ RuntimeException -> 0x007d }\n L_0x0065:\n r1 = r7.G;\n r0 = r7.m;\n r2 = java.lang.Integer.valueOf(r6);\n r0 = r0.get(r2);\n r0 = (java.util.Collection) r0;\n r1.addAll(r0);\n return;\n L_0x0077:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x0079 }\n L_0x0079:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x007b }\n L_0x007b:\n r0 = move-exception;\n throw r0;\n L_0x007d:\n r0 = move-exception;\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.e2.f(java.lang.String):void\");\n }",
"@Test\n\tpublic void testRealWorldCase_uc011ayb_2() throws InvalidGenomeChange {\n\t\tthis.builderForward = TranscriptModelFactory\n\t\t\t\t.parseKnownGenesLine(\n\t\t\t\t\t\trefDict,\n\t\t\t\t\t\t\"uc011ayb.2\tchr3\t+\t37034840\t37092337\t37055968\t37092144\t18\t37034840,37042445,37045891,37048481,37050304,37053310,37053501,37055922,37058996,37061800,37067127,37070274,37081676,37083758,37089009,37090007,37090394,37091976,\t37035154,37042544,37045965,37048554,37050396,37053353,37053590,37056035,37059090,37061954,37067498,37070423,37081785,37083822,37089174,37090100,37090508,37092337,\tNP_001245203\tuc011ayb.2\");\n\t\tthis.builderForward\n\t\t.setSequence(\"gaagagacccagcaacccacagagttgagaaatttgactggcattcaagctgtccaatcaatagctgccgctgaagggtggggctggatggcgtaagctacagctgaaggaagaacgtgagcacgaggcactgaggtgattggctgaaggcacttccgttgagcatctagacgtttccttggctcttctggcgccaaaatgtcgttcgtggcaggggttattcggcggctggacgagacagtggtgaaccgcatcgcggcgggggaagttatccagcggccagctaatgctatcaaagagatgattgagaactgaaagaagatctggatattgtatgtgaaaggttcactactagtaaactgcagtcctttgaggatttagccagtatttctacctatggctttcgaggtgaggctttggccagcataagccatgtggctcatgttactattacaacgaaaacagctgatggaaagtgtgcatacagagcaagttactcagatggaaaactgaaagcccctcctaaaccatgtgctggcaatcaagggacccagatcacggtggaggaccttttttacaacatagccacgaggagaaaagctttaaaaaatccaagtgaagaatatgggaaaattttggaagttgttggcaggtattcagtacacaatgcaggcattagtttctcagttaaaaaacaaggagagacagtagctgatgttaggacactacccaatgcctcaaccgtggacaatattcgctccatctttggaaatgctgttagtcgagaactgatagaaattggatgtgaggataaaaccctagccttcaaaatgaatggttacatatccaatgcaaactactcagtgaagaagtgcatcttcttactcttcatcaaccatcgtctggtagaatcaacttccttgagaaaagccatagaaacagtgtatgcagcctatttgcccaaaaacacacacccattcctgtacctcagtttagaaatcagtccccagaatgtggatgttaatgtgcaccccacaaagcatgaagttcacttcctgcacgaggagagcatcctggagcgggtgcagcagcacatcgagagcaagctcctgggctccaattcctccaggatgtacttcacccagactttgctaccaggacttgctggcccctctggggagatggttaaatccacaacaagtctgacctcgtcttctacttctggaagtagtgataaggtctatgcccaccagatggttcgtacagattcccgggaacagaagcttgatgcatttctgcagcctctgagcaaacccctgtccagtcagccccaggccattgtcacagaggataagacagatatttctagtggcagggctaggcagcaagatgaggagatgcttgaactcccagcccctgctgaagtggctgccaaaaatcagagcttggagggggatacaacaaaggggacttcagaaatgtcagagaagagaggacctacttccagcaaccccagaaagagacatcgggaagattctgatgtggaaatggtggaagatgattcccgaaaggaaatgactgcagcttgtaccccccggagaaggatcattaacctcactagtgttttgagtctccaggaagaaattaatgagcagggacatgaggttctccgggagatgttgcataaccactccttcgtgggctgtgtgaatcctcagtgggccttggcacagcatcaaaccaagttataccttctcaacaccaccaagcttagtgaagaactgttctaccagatactcatttatgattttgccaattttggtgttctcaggttatcggagccagcaccgctctttgaccttgccatgcttgccttagatagtccagagagtggctggacagaggaagatggtcccaaagaaggacttgctgaatacattgttgagtttctgaagaagaaggctgagatgcttgcagactatttctctttggaaattgatgaggaagggaacctgattggattaccccttctgattgacaactatgtgccccctttggagggactgcctatcttcattcttcgactagccactgaggtgaattgggacgaagaaaaggaatgttttgaaagcctcagtaaagaatgcgctatgttctattccatccggaagcagtacatatctgaggagtcgaccctctcaggccagcagagtgaagtgcctggctccattccaaactcctggaagtggactgtggaacacattgtctataaagccttgcgctcacacattctgcctcctaaacatttcacagaagatggaaatatcctgcagcttgctaacctgcctgatctatacaaagtctttgagaggtgttaaatatggttatttatgcactgtgggatgtgttcttctttctctgtattccgatacaaagtgttgtatcaaagtgtgatatacaaagtgtaccaacataagtgttggtagcacttaagacttatacttgccttctgatagtattcctttatacacagtggattgattataaataaatagatgtgtcttaacataaaaaaaaaaaaaaaaaa\"\n\t\t\t\t.toUpperCase());\n\t\tthis.builderForward.setGeneSymbol(\"NP_001245203\");\n\t\tthis.infoForward = builderForward.build();\n\t\t// RefSeq NM_001258273\n\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 3, 37090097, PositionType.ONE_BASED),\n\t\t\t\t\"TGAGG\", \"C\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(AnnotationLocation.INVALID_RANK, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.1263_1266+1delinsC\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Glu422del\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION, VariantType.SPLICE_DONOR),\n\t\t\t\tannotation1.effects);\n\t}",
"@Test\n\tpublic void testValidWord() {\n\t\tAssert.assertTrue(new DictionaryImpl().isValidWord(\"set\"));\n\t}",
"private void check(final VProgram program) {\n\t}",
"public boolean inCache(String word){\n\t//\tSystem.out.println(\"checking word is: \"+\"-\"+word+\"-\");\n\t//\tSystem.out.println(source.containsValue(word));\n\t\tif(source.get(word) != null){\n\t//\t\tSystem.out.println(\"This word is in the cache dictionary \");\n\t\t\treturn true;\n\t\t}\n\t//\tSystem.out.println(\"this word is not in the cache dictionary \");\n\t\treturn false;\n\t}",
"public boolean[] getKeyUsage() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.security.keystore.DelegatingX509Certificate.getKeyUsage():boolean[], dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.security.keystore.DelegatingX509Certificate.getKeyUsage():boolean[]\");\n }",
"private boolean m21857b() {\n return Build.FINGERPRINT.startsWith(\"generic\") || Build.MODEL.contains(\"google_sdk\") || Build.MODEL.toLowerCase().contains(\"droid4x\") || Build.MODEL.contains(\"Emulator\") || Build.MODEL.contains(\"Android SDK built for\") || Build.MANUFACTURER.contains(\"Genymotion\") || Build.HARDWARE.equals(\"goldfish\") || Build.HARDWARE.equals(\"vbox86\") || Build.PRODUCT.equals(\"sdk\") || Build.PRODUCT.equals(\"google_sdk\") || Build.PRODUCT.equals(\"sdk_x86\") || Build.PRODUCT.equals(\"vbox86p\") || Build.BOARD.toLowerCase().contains(\"nox\") || Build.BOOTLOADER.toLowerCase().contains(\"nox\") || Build.HARDWARE.toLowerCase().contains(\"nox\") || Build.PRODUCT.toLowerCase().contains(\"nox\") || Build.SERIAL.toLowerCase().contains(\"nox\") || Build.FINGERPRINT.startsWith(\"unknown\") || Build.FINGERPRINT.contains(\"Andy\") || Build.FINGERPRINT.contains(\"ttVM_Hdragon\") || Build.FINGERPRINT.contains(\"vbox86p\") || Build.HARDWARE.contains(\"ttVM_x86\") || Build.MODEL.equals(\"sdk\") || Build.MODEL.contains(\"Droid4X\") || Build.MODEL.contains(\"TiantianVM\") || Build.MODEL.contains(\"Andy\") || (Build.BRAND.startsWith(\"generic\") && Build.DEVICE.startsWith(\"generic\"));\n }",
"private boolean[] readWord(boolean[] address, boolean recordStats) {\n if (address.length > 32) {\n throw new IllegalArgumentException(\"address parameter must be 32 bits\");\n }\n // Programming Assignment 5: Complete this method\n // The comments provide a guide for this method.\n\n\n /*\n * Where does the address map in the cache? --> Determine the cache set that corresponds with\n * the requested memory address\n */\n\n // Get set bits from the address that was passed in\n boolean[] setBits = new boolean[numSetBits];\n for (int i = numByteBits; i < numByteBits + numSetBits; i++) {\n setBits[i - numByteBits] = address[i];\n System.out.println(\"setBits[\" + Integer.toString(i - numByteBits) + \"] is \"\n + String.valueOf(setBits[i - numByteBits]));\n }\n\n long cacheSet = Binary.binToUDec(setBits);\n System.out.println(\"Cache set is \" + Long.toString(cacheSet));\n\n boolean[] tagBits = new boolean[numTagBits];\n // Get tag from the address that was passed in\n for (int i = numByteBits + numSetBits; i < numByteBits + numSetBits + numTagBits; i++) {\n tagBits[i - numByteBits - numSetBits] = address[i];\n System.out.println(\"tagbits[\" + Integer.toString(i - numByteBits - numSetBits) + \"] is \"\n + String.valueOf(tagBits[i - numByteBits - numSetBits]));\n }\n\n /*\n * Determine whether or not the line that corresponds with the requested memory address is\n * currently in the cache\n */\n int lineCount=0;\n boolean inCache = false;\n // Iterate through the correct Cache Set\n for (int i = 0; i < cache[toIntExact(cacheSet)].size(); i++) {\n System.out.println(\"\\n Line \" + Integer.toString(i) + \":\");\n lineCount++;\n // Get the tag the line\n boolean[] lineTag = cache[toIntExact(cacheSet)].getLine(i).getTag();\n // If the tag from the line equals the tag from the parameter, then the line that corresponds\n // to the memory address is currently in the cache\n if (Arrays.equals(lineTag, tagBits)) {\n System.out.println(\"Line sorresponding to the memory address is currently in the cache\");\n inCache = true;\n // System.exit(0);\n }\n }\n //if it is in the cache the hit count increases\n \n // If the line corresponding to the memory address is not in the cache, call readLineFromMemory \n if (inCache==false) {\n readLineFromMemory(address, toIntExact(cacheSet), tagBits);\n }\n //System.out.println(Binary.toString(toIntExact(cacheSet)));\n\n System.exit(0);\n\n // TODO:\n // Update CacheMemory data members (requestCount, hitCount, hitCost)\n // and CacheLine data members (using the various set methods)\n // as needed for tracking cache hit rate and implementing the\n // least recently used replacement algorithm in the cache set.\n if(inCache==false) {\n \thitCount++;\n \thitCost=lineCount-1;\n }\n requestCount++;\n \n \n // replace this placeholder return with the data copied from the cache line\n return new boolean[32];\n }",
"private void validateNewCraftEntry(String[] parsing, MessageReceivedEvent event) {\n\n //<editor-fold desc=\"Arguement Deconstruction\">\n /* Argument layout\n 0 - expertise bool\n 1 - prof int\n 2 - intel int\n 3 - tool/skill string\n 4 - crafterChar\n */\n boolean[] delete = new boolean[parsing.length];\n delete[0] = true;\n delete[1] = true;\n delete[2] = true;\n String[] arguementArray = new String[5];\n arguementArray[0] = \"false\";\n arguementArray[1] = \"0\";\n arguementArray[2] = \"0\";\n arguementArray[3] = \"None\";\n arguementArray[4] = parsing[2];\n for (int i = 2; i < parsing.length; i++) {\n if (parsing[i].equals(\"-expertise\") || parsing[i].equals(\"-expert\") || parsing[i].equals(\"-e\")) {\n arguementArray[0] = \"true\";\n delete[i] = true;\n } else if (parsing[i].contains(\"-proficiency\")||parsing[i].contains(\"-prof\")||parsing[i].contains(\"-p\")) {\n arguementArray[1] = parsing[i + 1];\n delete[i] = true;\n delete[i + 1] = true;\n } else if (parsing[i].contains(\"-intelligence\") || parsing[i].contains(\"-int\") || parsing[i].equals(\"-i\")) {\n arguementArray[2] = parsing[i + 1];\n delete[i] = true;\n delete[i + 1] = true;\n } else if (parsing[i].contains(\"-tool\") || parsing[i].contains(\"-skill\")) {\n arguementArray[3] = parsing[i + 1];\n delete[i] = true;\n delete[i + 1] = true;\n }\n }\n List<String> nameGen = new ArrayList<>();\n for (int i = 0; i < parsing.length; i++) {\n if (!delete[i]) {\n nameGen.add(parsing[i]);\n }\n }\n String itemString = \"\";\n for (String build : nameGen) {\n itemString = itemString.concat(build + \" \");\n }\n\n //</editor-fold>\n\n //Retrieve item name\n Item item = dataTable.getItem(itemString);\n if (item == null) {\n event.getChannel().sendMessage(\"Thats not an item, B-Baka\").queue();\n return;\n }else if(!item.isCraftable()){\n event.getChannel().sendMessage(\"Nice try, you can't craft that!!!\").queue();\n return;\n }\n\n //finalize the argstring, itemstring, and event\n final MessageReceivedEvent finalEvent = event;\n final String[] finalArgArray = arguementArray;\n final Item finalItem = item;\n\n //validate user does not have another job in progress\n boolean isCrafting = false;\n for(String[] entry: craftBacklog){\n LocalDateTime end = LocalDateTime.parse(entry[2]);\n if(entry[0].contains(event.getAuthor().getId()) && LocalDateTime.now().isBefore(end) && entry[4].contains(arguementArray[4])){\n isCrafting = true;\n }\n }\n\n if(isCrafting){\n event.getChannel().sendMessage(arguementArray[4] + \" is already crafting\").queue();\n return;\n }\n\n //<editor-fold desc=\"getCraftingTime\">\n int totalBonus = 10+((Integer.parseInt(arguementArray[2])-10)/2);\n System.out.println((Integer.parseInt(arguementArray[2])-10)/2 + \" and \" + totalBonus);\n if(arguementArray[1] != null) {\n if (arguementArray[0].equals(\"true\")) {\n totalBonus += (Integer.parseInt(arguementArray[1]) * 2);\n } else {\n totalBonus += Integer.parseInt(arguementArray[1]);\n }\n }\n int baseTime=20;\n String rarity = item.getRarity();\n switch(rarity){\n case \"common\":\n case \"Common\":\n baseTime = 20;\n if(item.isConsumable()){\n baseTime = baseTime/3;\n }\n break;\n case \"uncommon\":\n case \"Uncommon\":\n baseTime = 100;\n if(item.isConsumable()){\n baseTime = baseTime/3;\n }\n break;\n case \"rare\":\n case \"Rare\":\n baseTime = 240;\n if(item.isConsumable()){\n baseTime = baseTime/4;\n }\n break;\n case \"very rare\":\n case \"Very Rare\":\n baseTime = 400;\n if(item.isConsumable()){\n baseTime = baseTime/4;\n }\n break;\n case \"legendary\":\n case \"Legendary\":\n baseTime = 500;\n if(item.isConsumable()){\n baseTime = baseTime/4;\n }\n break;\n }\n int finalTime = baseTime/totalBonus;\n event.getChannel().sendMessage(\"Base Time for \" + arguementArray[4] + \" is = \"+baseTime+\"\\nBonus = \"+totalBonus+\"\\nCrafting time \"+finalTime+\" days\").queue();\n //</editor-fold>\n\n\n event.getChannel().sendMessage(\"<@\" + event.getAuthor().getId() + \">\\nAre you sure you want to craft:\\n***\" + item.getName() + \"***?\\nReact with :white_check_mark: or :negative_squared_cross_mark:\")\n .queue(new Consumer<Message>() {\n @Override\n public void accept(Message message) {\n message.addReaction(\"\\u2705\").queue();\n message.addReaction(\"\\u274E\").queue();\n String mID = message.getId();\n String author = finalEvent.getAuthor().getId();\n String validate = responseHandler.waitForReaction(mID, author);\n if(validate == null){\n message.delete().queue();\n message.getChannel().sendMessage(\"Timed Out\").queue();\n }else if(validate.contains(\"no\")){\n message.delete().queue();\n message.getChannel().sendMessage(\"Cancelled by user\").queue();\n }else{\n //message.getChannel().sendMessage(\"Working as intended\").queue();\n createNewCraftEntry(finalEvent, finalArgArray, finalItem);\n message.delete().queue();\n }\n }\n });\n }",
"public synchronized boolean has(byte[] key) throws IOException {\n if ((kelondroAbstractRecords.debugmode) && (RAMIndex != true)) serverLog.logWarning(\"kelondroFlexTable\", \"RAM index warning in file \" + super.tablename);\r\n assert this.size() == index.size() : \"content.size() = \" + this.size() + \", index.size() = \" + index.size();\r\n return index.geti(key) >= 0;\r\n }"
] |
[
"0.53916395",
"0.52388227",
"0.51859224",
"0.51846623",
"0.5160176",
"0.51282394",
"0.50879616",
"0.5040037",
"0.50345576",
"0.50269157",
"0.50136304",
"0.49998036",
"0.4996766",
"0.49750835",
"0.49741104",
"0.4944953",
"0.4908899",
"0.4904125",
"0.4902877",
"0.48935324",
"0.489067",
"0.4885247",
"0.4865221",
"0.48448527",
"0.48410526",
"0.4821885",
"0.48188213",
"0.4804313",
"0.47929108",
"0.4790031",
"0.47894886",
"0.47874558",
"0.47701064",
"0.4767885",
"0.47651112",
"0.47584674",
"0.47491494",
"0.4740432",
"0.4737566",
"0.47342798",
"0.47339958",
"0.47329366",
"0.47125977",
"0.47096297",
"0.4708544",
"0.4692786",
"0.46846473",
"0.46840757",
"0.46800455",
"0.4678704",
"0.4677258",
"0.46733025",
"0.46690115",
"0.4667468",
"0.46665",
"0.46587223",
"0.4657139",
"0.4646731",
"0.46316886",
"0.46122643",
"0.46058658",
"0.4604682",
"0.4603315",
"0.46024615",
"0.46020785",
"0.4601589",
"0.45997956",
"0.45977798",
"0.45962286",
"0.459202",
"0.45916495",
"0.45915988",
"0.4582104",
"0.45775247",
"0.45697114",
"0.45688298",
"0.4568686",
"0.4567273",
"0.45655444",
"0.45650274",
"0.4563077",
"0.45620316",
"0.4555516",
"0.45509616",
"0.45495936",
"0.45489013",
"0.45472214",
"0.45437422",
"0.45415208",
"0.45413664",
"0.4541262",
"0.45409435",
"0.4537324",
"0.4533855",
"0.4532084",
"0.45314318",
"0.45288974",
"0.45252365",
"0.45228782",
"0.4521662"
] |
0.5344238
|
1
|
/ access modifiers changed from: protected
|
@Override // com.android.systemui.qs.tileimpl.QSTileImpl
public void handleDestroy() {
super.handleDestroy();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n protected void prot() {\n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"private abstract void privateabstract();",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"public void smell() {\n\t\t\n\t}",
"public abstract Object mo26777y();",
"protected void h() {}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"protected abstract Set method_1559();",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"public abstract void mo70713b();",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"protected Doodler() {\n\t}",
"public abstract void mo27386d();",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"private PropertyAccess() {\n\t\tsuper();\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"public abstract void mo56925d();",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void init() {\n }",
"@Override\n protected void getExras() {\n }",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"public abstract void mo27385c();",
"@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void dosomething() {\n\t\t\n\t}",
"protected boolean func_70814_o() { return true; }",
"private void someUtilityMethod() {\n }",
"private void someUtilityMethod() {\n }",
"public abstract void mo30696a();",
"abstract int pregnancy();",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"@Override\n public void init() {\n\n }",
"@Override\n void init() {\n }",
"@Override\n\tpublic void leti() \n\t{\n\t}",
"private TMCourse() {\n\t}",
"public abstract void mo35054b();",
"@Override\n public void init() {\n }",
"@Override\n\tpublic void buscar() {\n\t\t\n\t}",
"private Infer() {\n\n }",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tpublic void erstellen() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"public final void mo51373a() {\n }",
"protected void method_3848() {\r\n super.method_3848();\r\n }",
"protected FanisamBato(){\n\t}",
"public abstract Object mo1771a();",
"public abstract void m15813a();",
"public void gored() {\n\t\t\n\t}",
"@Override\n public void get() {}",
"@Override\n\tpublic void dibuja() {\n\t\t\n\t}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"private Get() {}",
"private Get() {}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"public abstract void mo27464a();",
"public abstract String mo41079d();",
"@Override\n\tpublic void classroom() {\n\t\t\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\n\tpublic void verkaufen() {\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"public abstract void mo102899a();",
"@SuppressWarnings(\"unused\")\n private void _read() {\n }",
"public abstract void mo42329d();",
"@Override\r\n\t\t\tpublic void test() {\n\t\t\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"public void method_4270() {}",
"public abstract void mo6549b();",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void function() {\n\t\t\n\t}",
"protected void init() {\n // to override and use this method\n }"
] |
[
"0.7375736",
"0.7042321",
"0.6922649",
"0.6909494",
"0.68470824",
"0.6830288",
"0.68062353",
"0.6583185",
"0.6539446",
"0.65011257",
"0.64917654",
"0.64917654",
"0.64733833",
"0.6438831",
"0.64330196",
"0.64330196",
"0.64295477",
"0.6426414",
"0.6420484",
"0.64083177",
"0.6406691",
"0.6402136",
"0.6400287",
"0.63977665",
"0.63784796",
"0.6373787",
"0.63716805",
"0.63680965",
"0.6353791",
"0.63344383",
"0.6327005",
"0.6327005",
"0.63259363",
"0.63079315",
"0.6279023",
"0.6271251",
"0.62518364",
"0.62254924",
"0.62218183",
"0.6213994",
"0.6204108",
"0.6195944",
"0.61826825",
"0.617686",
"0.6158371",
"0.6138765",
"0.61224854",
"0.6119267",
"0.6119013",
"0.61006695",
"0.60922325",
"0.60922325",
"0.6086324",
"0.6083917",
"0.607071",
"0.6070383",
"0.6067458",
"0.60568124",
"0.6047576",
"0.6047091",
"0.60342956",
"0.6031699",
"0.6026248",
"0.6019563",
"0.60169774",
"0.6014913",
"0.6011912",
"0.59969044",
"0.59951806",
"0.5994921",
"0.599172",
"0.59913194",
"0.5985337",
"0.59844744",
"0.59678656",
"0.5966894",
"0.5966894",
"0.5966894",
"0.5966894",
"0.5966894",
"0.5966894",
"0.59647757",
"0.59647757",
"0.59616375",
"0.5956373",
"0.5952514",
"0.59497356",
"0.59454703",
"0.5941018",
"0.5934147",
"0.5933801",
"0.59318185",
"0.5931161",
"0.5929297",
"0.5926942",
"0.5925829",
"0.5924853",
"0.5923296",
"0.5922199",
"0.59202504",
"0.5918595"
] |
0.0
|
-1
|
/ access modifiers changed from: protected
|
public void handleUpdateState(QSTile.BooleanState booleanState, Object obj) {
boolean z;
int i;
int i2 = 1;
boolean z2 = obj == QSTileImpl.ARG_SHOW_TRANSIENT_ENABLING;
if (booleanState.slash == null) {
booleanState.slash = new QSTile.SlashState();
}
boolean z3 = z2 || this.mHotspotController.isHotspotTransient();
checkIfRestrictionEnforcedByAdminOnly(booleanState, "no_config_tethering");
if (obj instanceof CallbackInfo) {
CallbackInfo callbackInfo = (CallbackInfo) obj;
booleanState.value = z2 || callbackInfo.isHotspotEnabled;
i = callbackInfo.numConnectedDevices;
z = callbackInfo.isDataSaverEnabled;
} else {
booleanState.value = z2 || this.mHotspotController.isHotspotEnabled();
i = this.mHotspotController.getNumConnectedDevices();
z = this.mDataSaverController.isDataSaverEnabled();
}
booleanState.icon = this.mEnabledStatic;
booleanState.label = this.mContext.getString(R$string.quick_settings_hotspot_label);
booleanState.isTransient = z3;
booleanState.slash.isSlashed = !booleanState.value && !z3;
if (z3) {
booleanState.icon = QSTileImpl.ResourceIcon.get(17302458);
}
booleanState.expandedAccessibilityClassName = Switch.class.getName();
booleanState.contentDescription = booleanState.label;
boolean z4 = booleanState.value || booleanState.isTransient;
if (z) {
booleanState.state = 0;
} else {
if (z4) {
i2 = 2;
}
booleanState.state = i2;
}
String secondaryLabel = getSecondaryLabel(z4, z3, z, i);
booleanState.secondaryLabel = secondaryLabel;
booleanState.stateDescription = secondaryLabel;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\n protected void prot() {\n }",
"private stendhal() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"private abstract void privateabstract();",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"public void smell() {\n\t\t\n\t}",
"public abstract Object mo26777y();",
"protected void h() {}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"protected abstract Set method_1559();",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"public abstract void mo70713b();",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"protected Doodler() {\n\t}",
"public abstract void mo27386d();",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"private PropertyAccess() {\n\t\tsuper();\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"public abstract void mo56925d();",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void init() {\n }",
"@Override\n protected void getExras() {\n }",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"public abstract void mo27385c();",
"@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void dosomething() {\n\t\t\n\t}",
"protected boolean func_70814_o() { return true; }",
"private void someUtilityMethod() {\n }",
"private void someUtilityMethod() {\n }",
"public abstract void mo30696a();",
"abstract int pregnancy();",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"@Override\n public void init() {\n\n }",
"@Override\n void init() {\n }",
"@Override\n\tpublic void leti() \n\t{\n\t}",
"private TMCourse() {\n\t}",
"public abstract void mo35054b();",
"@Override\n public void init() {\n }",
"@Override\n\tpublic void buscar() {\n\t\t\n\t}",
"private Infer() {\n\n }",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tpublic void erstellen() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"public final void mo51373a() {\n }",
"protected void method_3848() {\r\n super.method_3848();\r\n }",
"protected FanisamBato(){\n\t}",
"public abstract Object mo1771a();",
"public abstract void m15813a();",
"public void gored() {\n\t\t\n\t}",
"@Override\n public void get() {}",
"@Override\n\tpublic void dibuja() {\n\t\t\n\t}",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"private Get() {}",
"private Get() {}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"public abstract void mo27464a();",
"public abstract String mo41079d();",
"@Override\n\tpublic void classroom() {\n\t\t\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\n\tpublic void verkaufen() {\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"public abstract void mo102899a();",
"@SuppressWarnings(\"unused\")\n private void _read() {\n }",
"public abstract void mo42329d();",
"@Override\r\n\t\t\tpublic void test() {\n\t\t\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"public void method_4270() {}",
"public abstract void mo6549b();",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void function() {\n\t\t\n\t}",
"protected void init() {\n // to override and use this method\n }"
] |
[
"0.7375736",
"0.7042321",
"0.6922649",
"0.6909494",
"0.68470824",
"0.6830288",
"0.68062353",
"0.6583185",
"0.6539446",
"0.65011257",
"0.64917654",
"0.64917654",
"0.64733833",
"0.6438831",
"0.64330196",
"0.64330196",
"0.64295477",
"0.6426414",
"0.6420484",
"0.64083177",
"0.6406691",
"0.6402136",
"0.6400287",
"0.63977665",
"0.63784796",
"0.6373787",
"0.63716805",
"0.63680965",
"0.6353791",
"0.63344383",
"0.6327005",
"0.6327005",
"0.63259363",
"0.63079315",
"0.6279023",
"0.6271251",
"0.62518364",
"0.62254924",
"0.62218183",
"0.6213994",
"0.6204108",
"0.6195944",
"0.61826825",
"0.617686",
"0.6158371",
"0.6138765",
"0.61224854",
"0.6119267",
"0.6119013",
"0.61006695",
"0.60922325",
"0.60922325",
"0.6086324",
"0.6083917",
"0.607071",
"0.6070383",
"0.6067458",
"0.60568124",
"0.6047576",
"0.6047091",
"0.60342956",
"0.6031699",
"0.6026248",
"0.6019563",
"0.60169774",
"0.6014913",
"0.6011912",
"0.59969044",
"0.59951806",
"0.5994921",
"0.599172",
"0.59913194",
"0.5985337",
"0.59844744",
"0.59678656",
"0.5966894",
"0.5966894",
"0.5966894",
"0.5966894",
"0.5966894",
"0.5966894",
"0.59647757",
"0.59647757",
"0.59616375",
"0.5956373",
"0.5952514",
"0.59497356",
"0.59454703",
"0.5941018",
"0.5934147",
"0.5933801",
"0.59318185",
"0.5931161",
"0.5929297",
"0.5926942",
"0.5925829",
"0.5924853",
"0.5923296",
"0.5922199",
"0.59202504",
"0.5918595"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public SysMailRecordExample() {
oredCriteria = new ArrayList<Criteria>();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.57856053
|
1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public String getOrderByClause() {
return orderByClause;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public boolean isDistinct() {
return distinct;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
This method was generated by MyBatis Generator. This method corresponds to the database table sys_mail_record
|
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic List<Users> sendnotificationMail() {\n\t\t\r\n\t\t\r\n\t\t\t\tString sqlSelectQuery = \"select email from libuser where userid=(select userid from libtrx where trx_date<= (LocalDate.now()-14) and trx_status in ('RS','RN','CO'))\"; \r\n\t\t\t\tList<Users> usersList= jdbcTemplate.query(sqlSelectQuery,new BeanPropertyRowMapper(Users.class));\r\n\t\t return usersList;\r\n\t}",
"public SysMailRecordExample() {\r\n\t\toredCriteria = new ArrayList<Criteria>();\r\n\t}",
"public LogEmailSendrecordDao() {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class);\n }",
"@Select({\n \"select\",\n \"JNLNO, TRANDATE, ACCOUNTDATE, CHECKTYPE, STATUS, DONETIME, FILENAME\",\n \"from B_UMB_CHECKING_LOG\",\n \"where JNLNO = #{jnlno,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"JNLNO\", property=\"jnlno\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"TRANDATE\", property=\"trandate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"ACCOUNTDATE\", property=\"accountdate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHECKTYPE\", property=\"checktype\", jdbcType=JdbcType.CHAR),\n @Result(column=\"STATUS\", property=\"status\", jdbcType=JdbcType.CHAR),\n @Result(column=\"DONETIME\", property=\"donetime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"FILENAME\", property=\"filename\", jdbcType=JdbcType.VARCHAR)\n })\n BUMBCheckingLog selectByPrimaryKey(BUMBCheckingLogKey key);",
"mailIdentify selectByPrimaryKey(Integer id);",
"@Select({\n \"select\",\n \"id, host_name, smtp_host, smtp_host_port, pop3_host, pop3_host_port\",\n \"from mail_host\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n MailHost selectByPrimaryKey(Integer id);",
"@Insert({\n \"insert into mail_host (id, host_name, \",\n \"smtp_host, smtp_host_port, \",\n \"pop3_host, pop3_host_port)\",\n \"values (#{id,jdbcType=INTEGER}, #{hostName,jdbcType=VARCHAR}, \",\n \"#{smtpHost,jdbcType=VARCHAR}, #{smtpHostPort,jdbcType=VARCHAR}, \",\n \"#{pop3Host,jdbcType=VARCHAR}, #{pop3HostPort,jdbcType=VARCHAR})\"\n })\n int insert(MailHost record);",
"private void getMailOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getMailOrderList());\n \n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchBySys(Byte... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.SYS, values);\n }",
"protected void buildRecord(ResultSet rs) throws SQLException {\n //message table\n this.setId(rs.getInt(\"id\"));\n name = rs.getString(\"name\");\n description = rs.getString(\"description\");\n templateId = rs.getInt(\"template_id\");\n messageSubject = rs.getString(\"subject\");\n\n //when importing data, somehow several messages had null subjects\n if (rs.wasNull()) {\n messageSubject = \"(no subject)\";\n }\n\n messageText = rs.getString(\"body\");\n replyTo = rs.getString(\"reply_addr\");\n url = rs.getString(\"url\");\n image = rs.getString(\"img\");\n enabled = rs.getBoolean(\"enabled\");\n entered = rs.getTimestamp(\"entered\");\n enteredBy = rs.getInt(\"enteredby\");\n modified = rs.getTimestamp(\"modified\");\n modifiedBy = rs.getInt(\"modifiedby\");\n accessType = rs.getInt(\"access_type\");\n }",
"public String readEmail(Connection conn, String emailId) throws Exception {\n StringBuffer sb = new StringBuffer();\r\n String query = \"SELECT * from oa_email,oa_email_body where oa_email.BODY_ID=oa_email_body.SEQ_ID and oa_email.SEQ_ID='\"+emailId+\"'\";\r\n Statement stm2 = null;\r\n ResultSet rs2 = null;\r\n try {\r\n stm2 = conn.createStatement();\r\n rs2 = stm2.executeQuery(query);\r\n YHPersonLogic logic = new YHPersonLogic();\r\n if (rs2.next()){\r\n int fromId = rs2.getInt(\"FROM_ID\");\r\n String toIdStr = rs2.getString(\"TO_ID\");\r\n String copyToId = rs2.getString(\"COPY_TO_ID\");\r\n String subjectStr = rs2.getString(\"SUBJECT\");\r\n subjectStr = subjectStr.replaceAll(\"\\\"\", \"“\");\r\n subjectStr = subjectStr.replaceAll(\"'\", \"’\");\r\n Timestamp sendTime = rs2.getTimestamp(\"SEND_TIME\");\r\n String dateStr = YHUtility.getDateTimeStr(sendTime);\r\n String attId = rs2.getString(\"ATTACHMENT_ID\");\r\n attId = (attId == null ? \"\":attId); \r\n String attName = rs2.getString(\"ATTACHMENT_NAME\");\r\n attName = (attName == null ? \"\":attName);\r\n String important = rs2.getString(\"important\");\r\n String content = rs2.getString(\"COMPRESS_CONTENT\");\r\n if (YHUtility.isNullorEmpty(content)) {\r\n content = rs2.getString(\"CONTENT\");\r\n }\r\n content = content.replaceAll(\"\\\"\", \"“\");\r\n content = content.replaceAll(\"'\", \"’\");\r\n content = content.replaceAll(\"\\\\s\", \"\");\r\n String fromName = this.getUserName(conn, fromId);\r\n String toName = logic.getNameBySeqIdStr(toIdStr, conn);\r\n String copyIdName = logic.getNameBySeqIdStr(copyToId, conn);\r\n sb.append(\"{\");\r\n sb.append(\"emailId:'\" + emailId +\"'\");\r\n sb.append(\",important:'\" + important +\"'\");\r\n sb.append(\",subject:'\" + subjectStr +\"'\");\r\n sb.append(\",attId:'\" + attId +\"'\");\r\n sb.append(\",attName:'\" + attName +\"'\");\r\n sb.append(\",content:'\" + content +\"'\");\r\n sb.append(\",sendTime:'\" + dateStr +\"'\");\r\n sb.append(\",fromName:'\" + fromName +\"'\");\r\n sb.append(\",toName:'\" + toName +\"'\");\r\n sb.append(\",copyIdName:'\" + copyIdName +\"'\");\r\n sb.append(\"}\");\r\n }\r\n } catch(Exception ex) {\r\n throw ex;\r\n } finally {\r\n YHDBUtility.close(stm2, rs2, null); \r\n }\r\n return sb.toString();\r\n}",
"public List<SubjectBean> populatesubject(String sql ){\n\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\treturn retlist;\n\t\t }",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"@Override\n public String getSearchIDFromDB(String email) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Insert({ \"insert into ALERT_QUEUE (ALERT_Q_ID, ALERT_TYPE, \", \"USER_ID, SMS_TEXT, \", \"EMAIL_TEXT, CREATE_TIME, \", \"SCHEDULED_TIME, DELIVERED_STATUS, \", \"RETRY_COUNT, MOBILE_NO, \",\n\t\t\t\"EMAIL_TO, EMAIL_TEMPLATE_ID, \", \"BULK_EMAIL_MEMBER_NO)\", \"values (#{alertQId,jdbcType=DECIMAL}, #{alertType,jdbcType=VARCHAR}, \",\n\t\t\t\"#{userId,jdbcType=VARCHAR}, #{smsText,jdbcType=VARCHAR}, \", \"#{emailText,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, \",\n\t\t\t\"#{scheduledTime,jdbcType=TIMESTAMP}, #{deliveredStatus,jdbcType=VARCHAR}, \", \"#{retryCount,jdbcType=DECIMAL}, #{mobileNo,jdbcType=VARCHAR}, \",\n\t\t\t\"#{emailTo,jdbcType=VARCHAR}, #{emailTemplateId,jdbcType=VARCHAR}, \", \"#{bulkEmailMemberNo,jdbcType=VARCHAR})\" })\n\tint insert(AlertQueue record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByEmail(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.EMAIL, values);\n }",
"public static StringBuilder getFromEmailId() {\n\t\tStringBuilder strQuery = new StringBuilder();\n\t\tstrQuery.append(\" SELECT SYS_REPORT_EMAIL_CONFIG_ID, SYS_REPORT_ID, EMAIL_ID, CONFIG_NAME FROM \");\n\t\tstrQuery.append(PhotoOmniDBConstants.OM_REPORT_EMAIL_CONFIG).append(\" OM_REPORT_EMAIL_CONFIG \"); ;\n\t\tstrQuery.append(\" WHERE UPPER(TRIM(OM_REPORT_EMAIL_CONFIG.CONFIG_NAME)) = ? AND EMAIL_TYPE = 'FROM' \");\n\t\treturn strQuery;\n\t}",
"int updateByPrimaryKey(mailIdentify record);",
"int insert(mailIdentify record);",
"public ArrayList<Notification> getNotifications(String userEmail) throws SQLException{\n// connection=Db.instance().getConnection();\n try{\n ps = connection.prepareStatement(\"SELECT * FROM notification WHERE user_email=?\");\n ps.setString(1,userEmail);\n rs = ps.executeQuery();\n ArrayList<Notification> resultat = new ArrayList<>();\n while(rs.next()){\n Notification notification = new Notification(rs.getInt(\"id\"),rs.getString(\"user_email\"),rs.getString(\"text\"),rs.getTimestamp(\"time\"));\n notification.setSeen(rs.getInt(\"seen\"));\n resultat.add(notification);\n } return resultat;\n }finally {\n Db.close(rs);\n Db.close(ps);\n }\n }",
"@Override\n\tpublic List<Systemmessage> selectByPrimaryKey(Systemmessage record) {\n\t\treturn systemmessageMapper.selectByPrimaryKey(record);\n\t}",
"public void inboxTable()\r\n\t{\r\n\t\tArrayList columnNames = new ArrayList();\r\n\t\tArrayList data = new ArrayList();\r\n\t\tDefaultTableModel model = new DefaultTableModel(new String[]{\"mailID\", \"From\", \"Subject\", \"Time Sent\"}, 0 );\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select mailID, sender, mailSubject, date_format(timeSent, \\\"%b %d %a %r\\\") as timeSent from mails where mailType = 's' and recipient = ? order by timeSent DESC\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * while the resultSet has another row returned, the columns returned from the database are stored and assigned added to a row in the table model\r\n\t\t\t * the data from each column from the database can be stored by getting the value at the column name in the database\r\n\t\t\t * when added to the row it will be in order of how the table model column names are shown.\r\n\t\t\t */\r\n\t\t\twhile(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tString col1 = resultSet.getString(\"mailID\");\r\n\t\t\t\tString col2 = resultSet.getString(\"sender\");\r\n\t\t\t String col3 = resultSet.getString(\"mailSubject\");\r\n\t\t\t String col4 = resultSet.getString(\"timeSent\");\r\n\t\t\t\tmodel.addRow(new Object[] {col1, col2, col3, col4});\r\n\t\t\t}\r\n\r\n\t\t\t/*\r\n\t\t\t * after the table model has been populated it is then placed in the inbox table\r\n\t\t\t * once the inbox table is populated we collapse the mailID column so that the data is not displayed but still be used to obtain data from the database\r\n\t\t\t * \r\n\t\t\t */\r\n\t\t\ttableInbox.setModel(model);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMinWidth(0);\r\n\t\t\ttableInbox.getColumnModel().getColumn(0).setMaxWidth(0);\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public Vector<MailsTO> mailContacts() throws ConnectionException, SQLException;",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByCreateTime(Timestamp... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CREATE_TIME, values);\n }",
"@Update({\n \"update mail_host\",\n \"set host_name = #{hostName,jdbcType=VARCHAR},\",\n \"smtp_host = #{smtpHost,jdbcType=VARCHAR},\",\n \"smtp_host_port = #{smtpHostPort,jdbcType=VARCHAR},\",\n \"pop3_host = #{pop3Host,jdbcType=VARCHAR},\",\n \"pop3_host_port = #{pop3HostPort,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(MailHost record);",
"public ResultSet Apmail(Long id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from broker where login_id=\"+id+\"\");\r\n\treturn rs;\r\n}",
"int insertSelective(mailIdentify record);",
"Email selectByPrimaryKey(Integer id);",
"@Override\n public String getSearchIDFromDB(String email, String vertical) {\n String sql = \"select SEARCH_ID from SEARCH a inner join customer c on \" +\n \"a.CUSTOMER_ID = c.CUSTOMER_ID where \" +\n \"CLASS = '\" + vertical + \"' and \" +\n \"c.EMAIL = '\" + email + \"' \" +\n \"order by a.CREATE_DATE desc\";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"SEARCH_ID\").toString();\n }",
"@Override\n\t\tpublic void addReportToDBMessage(ArrayList<Object> msg) {\n\t\t\tString parkName = (String) msg.get(3);\n\t\t\tint month = ((Date) msg.get(1)).getMonth() + 1;\n\t\t\tString stringToAdd = \"\";\n\t\t\tArrayList<String> DataToAddToDB = (ArrayList<String>) msg.get(2);\n\t\t\tfor (String s : DataToAddToDB)\n\t\t\t\tstringToAdd += s + \" \";\n\t\t\tstringToAdd = stringToAdd.substring(0, stringToAdd.length() - 1);\n\t\t\thashMapDB.get(parkName).put(month, stringToAdd);\n\t\t}",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchById(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, values);\n }",
"SmsSendAndCheckPo selectByPrimaryKey(String smsId);",
"public List<QlikMessageDto> getMessagesFromDatabase() {\r\n\t\tArrayList<QlikMessageDto> qlikMessages = new ArrayList<QlikMessageDto>();\r\n\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tConnection conn = DriverManager.getConnection(url, user, password);\r\n\r\n\t\t\tPreparedStatement statement = conn.prepareStatement(sql_getMessagesFromDatabase, Statement.RETURN_GENERATED_KEYS);\r\n\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint id = rs.getInt(\"id\");\r\n\t\t\t\tString messagetext = rs.getString(\"messagetext\");\r\n\t\t\t\tboolean ispalindrome = rs.getBoolean(\"ispalindrome\");\r\n\t\t\t\tString createddatetime = rs.getString(\"createddatetime\");\r\n\r\n\t\t\t\tqlikMessages.add(new QlikMessageDto(id, messagetext, ispalindrome, createddatetime));\r\n\t\t\t}\r\n\t\t\tconn.close();\r\n\t\t} catch (ClassNotFoundException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\r\n\t\treturn qlikMessages;\r\n\t}",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"int updateByPrimaryKeySelective(mailIdentify record);",
"protected void Generate(Map<String, String> generate) {\r\n\t\tList<Map<String, String>> list;\r\n\t\ttry {\r\n\t\t\tMap<String, String> mailTime = scanService.getMailTime(generate.get(\"mailType\"));\r\n\t\t\tString id = mailTime.get(\"ID\");\r\n\t\t\tString begin_time = mailTime.get(\"BEGIN_TIME\");\r\n\t\t\tString end_time = mailTime.get(\"END_TIME\");\r\n\t\t\tmailTime.clear();\r\n\t\t\tmailTime.put(\"BEGIN_TIME\", end_time);\r\n\t\t\tmailTime.put(\"MAIL_TYPE\", generate.get(\"mailType\"));\r\n\t\t\tscanService.addMailTime(mailTime);// 修改扫描时间为最近的系统时间\r\n\t\t\tString sql = FileUtil.readFileByLine(\"sql/\" + generate.get(\"file\"));\r\n\t\t\tsql = sql.replaceAll(\"begin_time\", begin_time);\r\n\t\t\tsql = sql.replaceAll(\"end_time\", end_time);\r\n\t\t\tlist = scanService.getGenerateList(sql);\r\n\t\t\tMap<String, String> updataCount = new HashMap<String, String>();\r\n\t\t\tupdataCount.put(\"ID\", id);\r\n\t\t\tupdataCount.put(\"END_TIME\", end_time);\r\n\t\t\tupdataCount.put(\"DATACOUNT\", String.valueOf(list.size()));\r\n\t\t\tscanService.updateDatacount(updataCount);\r\n\t\t\tMailTemplate temp = new MailTemplate();\r\n\t\t\tfor (int i = 0; i < list.size(); i++) {\r\n\t\t\t\tEmail email = new Email();\r\n\t\t\t\tJSONObject json = JSONObject.fromObject(list.get(i));\r\n\t\t\t\tString address = \"\";\r\n\t\t\t\tString content = \"\";\r\n\t\t\t\tif (\"Amend\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t} else if (\"error\".equals(generate.get(\"mailType\"))) {\r\n\t\t\t\t\tJSONObject obj2 = new JSONObject();\r\n\t\t\t\t\tString[] ERROR_DESC = json.getString(\"ERROR_DESC\").split(\"#@\");\r\n\t\t\t\t\tobj2.put(\"BPCODE\", ERROR_DESC[0]);\r\n\t\t\t\t\tobj2.put(\"REFERENCENO\", ERROR_DESC[1]);\r\n\t\t\t\t\tobj2.put(\"VESSEL\", ERROR_DESC[2]);\r\n\t\t\t\t\tobj2.put(\"VOYAGE\", ERROR_DESC[3]);\r\n\t\t\t\t\tobj2.put(\"BLNO\", ERROR_DESC[4]);\r\n\t\t\t\t\tobj2.put(\"ERRORMESSAGE\", ERROR_DESC[5]);\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, obj2, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\taddress = json.getString(\"COMMUNICATION\");\r\n\t\t\t\t\t// 得到邮件正文内容\r\n\t\t\t\t\tcontent = temp.generateMail(prop, json, prop.getProperty(generate.get(\"template\")));\r\n\t\t\t\t}\r\n\t\t\t\taddress = prop.getProperty(\"address_amend\");\r\n\t\t\t\tString subject = prop.getProperty(generate.get(\"subject\"));\r\n\t\t\t\tString state = \"error\";\r\n\t\t\t\tString checkmail = SimpleMailSender.validateMail(address);\r\n\t\t\t\tString sendinfo = \"Invalid address\";\r\n\t\t\t\t// 判断地址是否合法\r\n\t\t\t\tif (!\"\".equals(checkmail)) {\r\n\t\t\t\t\tstate = \"wait\";\r\n\t\t\t\t\tsendinfo = \"\";\r\n\t\t\t\t\taddress = checkmail;\r\n\t\t\t\t}\r\n\t\t\t\temail.setSendinfo(sendinfo);\r\n\t\t\t\temail.setAddress(address);\r\n\t\t\t\temail.setContent(content);\r\n\t\t\t\temail.setStatus(state);\r\n\t\t\t\temail.setTitle(subject);\r\n\t\t\t\temail.setMail_type(generate.get(\"mailType\"));\r\n\t\t\t\temailService.addEmail(email);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public List<SubjectBean> populateStudent(String sql ){\n\t\t\t\t\tList<SubjectBean> retlist = jdbcTemplate.query(sql,ParameterizedBeanPropertyRowMapper.newInstance(SubjectBean.class));\n\t\t\t\t\t\treturn retlist;\n\t\t\t }",
"public interface I_IHC_JobDataChange \n{\n\n /** TableName=IHC_JobDataChange */\n public static final String Table_Name = \"IHC_JobDataChange\";\n\n /** AD_Table_ID=1100135 */\n public static final int Table_ID = MTable.getTable_ID(Table_Name);\n\n KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);\n\n /** AccessLevel = 3 - Client - Org \n */\n BigDecimal accessLevel = BigDecimal.valueOf(3);\n\n /** Load Meta Data */\n\n /** Column name AD_Client_ID */\n public static final String COLUMNNAME_AD_Client_ID = \"AD_Client_ID\";\n\n\t/** Get Client.\n\t * Client/Tenant for this installation.\n\t */\n\tpublic int getAD_Client_ID();\n\n /** Column name AD_Org_ID */\n public static final String COLUMNNAME_AD_Org_ID = \"AD_Org_ID\";\n\n\t/** Set Organization.\n\t * Organizational entity within client\n\t */\n\tpublic void setAD_Org_ID (int AD_Org_ID);\n\n\t/** Get Organization.\n\t * Organizational entity within client\n\t */\n\tpublic int getAD_Org_ID();\n\n /** Column name BPJSRegistrationDate */\n public static final String COLUMNNAME_BPJSRegistrationDate = \"BPJSRegistrationDate\";\n\n\t/** Set BPJS Registration Date\t */\n\tpublic void setBPJSRegistrationDate (Timestamp BPJSRegistrationDate);\n\n\t/** Get BPJS Registration Date\t */\n\tpublic Timestamp getBPJSRegistrationDate();\n\n /** Column name Created */\n public static final String COLUMNNAME_Created = \"Created\";\n\n\t/** Get Created.\n\t * Date this record was created\n\t */\n\tpublic Timestamp getCreated();\n\n /** Column name CreatedBy */\n public static final String COLUMNNAME_CreatedBy = \"CreatedBy\";\n\n\t/** Get Created By.\n\t * User who created this records\n\t */\n\tpublic int getCreatedBy();\n\n /** Column name Description */\n public static final String COLUMNNAME_Description = \"Description\";\n\n\t/** Set Description.\n\t * Optional short description of the record\n\t */\n\tpublic void setDescription (String Description);\n\n\t/** Get Description.\n\t * Optional short description of the record\n\t */\n\tpublic String getDescription();\n\n /** Column name DescriptionNew */\n public static final String COLUMNNAME_DescriptionNew = \"DescriptionNew\";\n\n\t/** Set Description New\t */\n\tpublic void setDescriptionNew (String DescriptionNew);\n\n\t/** Get Description New\t */\n\tpublic String getDescriptionNew();\n\n /** Column name HC_Compensation1 */\n public static final String COLUMNNAME_HC_Compensation1 = \"HC_Compensation1\";\n\n\t/** Set Compensation 1\t */\n\tpublic void setHC_Compensation1 (BigDecimal HC_Compensation1);\n\n\t/** Get Compensation 1\t */\n\tpublic BigDecimal getHC_Compensation1();\n\n /** Column name HC_Compensation2 */\n public static final String COLUMNNAME_HC_Compensation2 = \"HC_Compensation2\";\n\n\t/** Set Compensation 2\t */\n\tpublic void setHC_Compensation2 (BigDecimal HC_Compensation2);\n\n\t/** Get Compensation 2\t */\n\tpublic BigDecimal getHC_Compensation2();\n\n /** Column name HC_Compensation3 */\n public static final String COLUMNNAME_HC_Compensation3 = \"HC_Compensation3\";\n\n\t/** Set Compensation 3\t */\n\tpublic void setHC_Compensation3 (BigDecimal HC_Compensation3);\n\n\t/** Get Compensation 3\t */\n\tpublic BigDecimal getHC_Compensation3();\n\n /** Column name HC_Compensation4 */\n public static final String COLUMNNAME_HC_Compensation4 = \"HC_Compensation4\";\n\n\t/** Set Compensation 4\t */\n\tpublic void setHC_Compensation4 (BigDecimal HC_Compensation4);\n\n\t/** Get Compensation 4\t */\n\tpublic BigDecimal getHC_Compensation4();\n\n /** Column name HC_EffectiveSeq */\n public static final String COLUMNNAME_HC_EffectiveSeq = \"HC_EffectiveSeq\";\n\n\t/** Set Effective Sequence\t */\n\tpublic void setHC_EffectiveSeq (int HC_EffectiveSeq);\n\n\t/** Get Effective Sequence\t */\n\tpublic int getHC_EffectiveSeq();\n\n /** Column name HC_Employee_ID */\n public static final String COLUMNNAME_HC_Employee_ID = \"HC_Employee_ID\";\n\n\t/** Set Employee Data\t */\n\tpublic void setHC_Employee_ID (int HC_Employee_ID);\n\n\t/** Get Employee Data\t */\n\tpublic int getHC_Employee_ID();\n\n\tpublic I_HC_Employee getHC_Employee() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade_ID = \"HC_EmployeeGrade_ID\";\n\n\t/** Set Employee Grade\t */\n\tpublic void setHC_EmployeeGrade_ID (int HC_EmployeeGrade_ID);\n\n\t/** Get Employee Grade\t */\n\tpublic int getHC_EmployeeGrade_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade() throws RuntimeException;\n\n /** Column name HC_EmployeeGrade2_ID */\n public static final String COLUMNNAME_HC_EmployeeGrade2_ID = \"HC_EmployeeGrade2_ID\";\n\n\t/** Set Employee Grade To\t */\n\tpublic void setHC_EmployeeGrade2_ID (int HC_EmployeeGrade2_ID);\n\n\t/** Get Employee Grade To\t */\n\tpublic int getHC_EmployeeGrade2_ID();\n\n\tpublic I_HC_EmployeeGrade getHC_EmployeeGrade2() throws RuntimeException;\n\n /** Column name HC_EmployeeJob_ID */\n public static final String COLUMNNAME_HC_EmployeeJob_ID = \"HC_EmployeeJob_ID\";\n\n\t/** Set Employee Job Data\t */\n\tpublic void setHC_EmployeeJob_ID (int HC_EmployeeJob_ID);\n\n\t/** Get Employee Job Data\t */\n\tpublic int getHC_EmployeeJob_ID();\n\n\tpublic I_HC_EmployeeJob getHC_EmployeeJob() throws RuntimeException;\n\n /** Column name HC_Job_ID */\n public static final String COLUMNNAME_HC_Job_ID = \"HC_Job_ID\";\n\n\t/** Set Job\t */\n\tpublic void setHC_Job_ID (int HC_Job_ID);\n\n\t/** Get Job\t */\n\tpublic int getHC_Job_ID();\n\n\tpublic I_HC_Job getHC_Job() throws RuntimeException;\n\n /** Column name HC_JobAction */\n public static final String COLUMNNAME_HC_JobAction = \"HC_JobAction\";\n\n\t/** Set Job Action\t */\n\tpublic void setHC_JobAction (String HC_JobAction);\n\n\t/** Get Job Action\t */\n\tpublic String getHC_JobAction();\n\n /** Column name HC_JobDataChange_ID */\n public static final String COLUMNNAME_HC_JobDataChange_ID = \"HC_JobDataChange_ID\";\n\n\t/** Set Job Data Change\t */\n\tpublic void setHC_JobDataChange_ID (int HC_JobDataChange_ID);\n\n\t/** Get Job Data Change\t */\n\tpublic int getHC_JobDataChange_ID();\n\n\tpublic I_HC_JobDataChange getHC_JobDataChange() throws RuntimeException;\n\n /** Column name HC_Manager_ID */\n public static final String COLUMNNAME_HC_Manager_ID = \"HC_Manager_ID\";\n\n\t/** Set Manager Name\t */\n\tpublic void setHC_Manager_ID (int HC_Manager_ID);\n\n\t/** Get Manager Name\t */\n\tpublic int getHC_Manager_ID();\n\n\tpublic I_HC_Employee getHC_Manager() throws RuntimeException;\n\n /** Column name HC_ManagerTo_ID */\n public static final String COLUMNNAME_HC_ManagerTo_ID = \"HC_ManagerTo_ID\";\n\n\t/** Set Manager To ID\t */\n\tpublic void setHC_ManagerTo_ID (int HC_ManagerTo_ID);\n\n\t/** Get Manager To ID\t */\n\tpublic int getHC_ManagerTo_ID();\n\n\tpublic I_HC_Employee getHC_ManagerTo() throws RuntimeException;\n\n /** Column name HC_Org_ID */\n public static final String COLUMNNAME_HC_Org_ID = \"HC_Org_ID\";\n\n\t/** Set HC Organization\t */\n\tpublic void setHC_Org_ID (int HC_Org_ID);\n\n\t/** Get HC Organization\t */\n\tpublic int getHC_Org_ID();\n\n\tpublic I_HC_Org getHC_Org() throws RuntimeException;\n\n /** Column name HC_Org2_ID */\n public static final String COLUMNNAME_HC_Org2_ID = \"HC_Org2_ID\";\n\n\t/** Set HC Organization To\t */\n\tpublic void setHC_Org2_ID (int HC_Org2_ID);\n\n\t/** Get HC Organization To\t */\n\tpublic int getHC_Org2_ID();\n\n\tpublic I_HC_Org getHC_Org2() throws RuntimeException;\n\n /** Column name HC_PayGroup_ID */\n public static final String COLUMNNAME_HC_PayGroup_ID = \"HC_PayGroup_ID\";\n\n\t/** Set Payroll Group\t */\n\tpublic void setHC_PayGroup_ID (int HC_PayGroup_ID);\n\n\t/** Get Payroll Group\t */\n\tpublic int getHC_PayGroup_ID();\n\n\tpublic I_HC_PayGroup getHC_PayGroup() throws RuntimeException;\n\n /** Column name HC_PreviousJob_ID */\n public static final String COLUMNNAME_HC_PreviousJob_ID = \"HC_PreviousJob_ID\";\n\n\t/** Set Job Sekarang\t */\n\tpublic void setHC_PreviousJob_ID (int HC_PreviousJob_ID);\n\n\t/** Get Job Sekarang\t */\n\tpublic int getHC_PreviousJob_ID();\n\n\tpublic I_HC_Job getHC_PreviousJob() throws RuntimeException;\n\n /** Column name HC_Reason_ID */\n public static final String COLUMNNAME_HC_Reason_ID = \"HC_Reason_ID\";\n\n\t/** Set HC Reason\t */\n\tpublic void setHC_Reason_ID (int HC_Reason_ID);\n\n\t/** Get HC Reason\t */\n\tpublic int getHC_Reason_ID();\n\n\tpublic I_HC_Reason getHC_Reason() throws RuntimeException;\n\n /** Column name HC_Status */\n public static final String COLUMNNAME_HC_Status = \"HC_Status\";\n\n\t/** Set HC Status\t */\n\tpublic void setHC_Status (String HC_Status);\n\n\t/** Get HC Status\t */\n\tpublic String getHC_Status();\n\n /** Column name HC_WorkEndDate */\n public static final String COLUMNNAME_HC_WorkEndDate = \"HC_WorkEndDate\";\n\n\t/** Set Work End Date\t */\n\tpublic void setHC_WorkEndDate (Timestamp HC_WorkEndDate);\n\n\t/** Get Work End Date\t */\n\tpublic Timestamp getHC_WorkEndDate();\n\n /** Column name HC_WorkPeriodDate */\n public static final String COLUMNNAME_HC_WorkPeriodDate = \"HC_WorkPeriodDate\";\n\n\t/** Set WorkPeriodDate\t */\n\tpublic void setHC_WorkPeriodDate (String HC_WorkPeriodDate);\n\n\t/** Get WorkPeriodDate\t */\n\tpublic String getHC_WorkPeriodDate();\n\n /** Column name HC_WorkStartDate */\n public static final String COLUMNNAME_HC_WorkStartDate = \"HC_WorkStartDate\";\n\n\t/** Set WorkStartDate\t */\n\tpublic void setHC_WorkStartDate (Timestamp HC_WorkStartDate);\n\n\t/** Get WorkStartDate\t */\n\tpublic Timestamp getHC_WorkStartDate();\n\n /** Column name HC_WorkStartDate2 */\n public static final String COLUMNNAME_HC_WorkStartDate2 = \"HC_WorkStartDate2\";\n\n\t/** Set Work Start Date Baru\t */\n\tpublic void setHC_WorkStartDate2 (Timestamp HC_WorkStartDate2);\n\n\t/** Get Work Start Date Baru\t */\n\tpublic Timestamp getHC_WorkStartDate2();\n\n /** Column name IHC_JobDataChange_ID */\n public static final String COLUMNNAME_IHC_JobDataChange_ID = \"IHC_JobDataChange_ID\";\n\n\t/** Set IHC_JobDayaChange\t */\n\tpublic void setIHC_JobDataChange_ID (int IHC_JobDataChange_ID);\n\n\t/** Get IHC_JobDayaChange\t */\n\tpublic int getIHC_JobDataChange_ID();\n\n /** Column name IHC_JobDataChange_UU */\n public static final String COLUMNNAME_IHC_JobDataChange_UU = \"IHC_JobDataChange_UU\";\n\n\t/** Set IHC_JobDataChange_UU\t */\n\tpublic void setIHC_JobDataChange_UU (String IHC_JobDataChange_UU);\n\n\t/** Get IHC_JobDataChange_UU\t */\n\tpublic String getIHC_JobDataChange_UU();\n\n /** Column name IsActive */\n public static final String COLUMNNAME_IsActive = \"IsActive\";\n\n\t/** Set Active.\n\t * The record is active in the system\n\t */\n\tpublic void setIsActive (boolean IsActive);\n\n\t/** Get Active.\n\t * The record is active in the system\n\t */\n\tpublic boolean isActive();\n\n /** Column name IsCancelled */\n public static final String COLUMNNAME_IsCancelled = \"IsCancelled\";\n\n\t/** Set Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic void setIsCancelled (boolean IsCancelled);\n\n\t/** Get Cancelled.\n\t * The transaction was cancelled\n\t */\n\tpublic boolean isCancelled();\n\n /** Column name NomorSK */\n public static final String COLUMNNAME_NomorSK = \"NomorSK\";\n\n\t/** Set Nomor SK\t */\n\tpublic void setNomorSK (String NomorSK);\n\n\t/** Get Nomor SK\t */\n\tpublic String getNomorSK();\n\n /** Column name NomorSK2 */\n public static final String COLUMNNAME_NomorSK2 = \"NomorSK2\";\n\n\t/** Set Nomor SK Baru\t */\n\tpublic void setNomorSK2 (String NomorSK2);\n\n\t/** Get Nomor SK Baru\t */\n\tpublic String getNomorSK2();\n\n /** Column name OriginalServiceData */\n public static final String COLUMNNAME_OriginalServiceData = \"OriginalServiceData\";\n\n\t/** Set Original Service Date\t */\n\tpublic void setOriginalServiceData (Timestamp OriginalServiceData);\n\n\t/** Get Original Service Date\t */\n\tpublic Timestamp getOriginalServiceData();\n\n /** Column name Processed */\n public static final String COLUMNNAME_Processed = \"Processed\";\n\n\t/** Set Processed.\n\t * The document has been processed\n\t */\n\tpublic void setProcessed (boolean Processed);\n\n\t/** Get Processed.\n\t * The document has been processed\n\t */\n\tpublic boolean isProcessed();\n\n /** Column name SeqNo */\n public static final String COLUMNNAME_SeqNo = \"SeqNo\";\n\n\t/** Set Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic void setSeqNo (int SeqNo);\n\n\t/** Get Sequence.\n\t * Method of ordering records;\n lowest number comes first\n\t */\n\tpublic int getSeqNo();\n\n /** Column name Updated */\n public static final String COLUMNNAME_Updated = \"Updated\";\n\n\t/** Get Updated.\n\t * Date this record was updated\n\t */\n\tpublic Timestamp getUpdated();\n\n /** Column name UpdatedBy */\n public static final String COLUMNNAME_UpdatedBy = \"UpdatedBy\";\n\n\t/** Get Updated By.\n\t * User who updated this records\n\t */\n\tpublic int getUpdatedBy();\n}",
"int insert(Email record);",
"@Override\r\n\tpublic MemberDto myInfo(String email) {\n\t\treturn jdbcTemplate.query(\"select * from s_member where email=?\", extractor,email);\r\n\t}",
"@Override\r\n\tpublic EmailInfoBO mapDTO2BO(EmailInfoDTO dto) {\n\t\treturn null;\r\n\t}",
"public RecordRecord() {\n\t\tsuper(org.jooq.examples.cubrid.demodb.tables.Record.RECORD);\n\t}",
"public void getSavedRecord(MealVoucherConfiguration mealVoucher) {\n\r\n\t\tString query = \" SELECT MEAL_CONFIG_CASH, MEAL_CONFIG_FREQUENCY, MEAL_CONFIG_COUPEN, MEAL_CONFIG_DEBIT \"\r\n\t\t\t\t+ \" ,CASH.CREDIT_NAME,COUPEN.CREDIT_NAME,DEBIT_NAME , \" +\r\n\t\t\t\t\" MEAL_CONFIG_FROM, MEAL_CONFIG_TO, MEAL_CONFIG_AMT_LIMIT, MEAL_CONFIG_AMT_DECLARE, MEAL_FROM_PERIOD, MEAL_TO_PERIOD \"\r\n\t\t\t\t+ \" FROM HRMS_MEAL_VOUCHER_CONFIG \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD CASH ON(CASH.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_CASH) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_CREDIT_HEAD COUPEN ON(COUPEN.CREDIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_COUPEN) \"\r\n\t\t\t\t+ \" INNER JOIN HRMS_DEBIT_HEAD ON(HRMS_DEBIT_HEAD.DEBIT_CODE=HRMS_MEAL_VOUCHER_CONFIG.MEAL_CONFIG_DEBIT) \";\r\n\r\n\t\tObject dataObj[][] = getSqlModel().getSingleResult(query);\r\n\r\n\t\tif (dataObj != null && dataObj.length > 0) {\r\n\t\t\t\r\n\t\t\tmealVoucher.setCreditCode(String.valueOf(dataObj[0][0]));\r\n\t\t\tmealVoucher.setFreqencyOfChange(String.valueOf(dataObj[0][1]));\r\n\t\t\tmealVoucher.setCoupenCode(String.valueOf(dataObj[0][2]));\r\n\t\t\tmealVoucher.setDebitCode(String.valueOf(dataObj[0][3]));\r\n\t\t\tmealVoucher.setCreditHead(String.valueOf(dataObj[0][4]));\r\n\t\t\tmealVoucher.setCoupenHead(String.valueOf(dataObj[0][5]));\r\n\t\t\tmealVoucher.setDebitHead(String.valueOf(dataObj[0][6]));\r\n\t\t\t\r\n\t\t\tmealVoucher.setFromYear(String.valueOf(dataObj[0][7]));\r\n\t\t\tmealVoucher.setToYear(String.valueOf(dataObj[0][8]));\r\n\t\t\tmealVoucher.setMealVoucherAmtLimit(String.valueOf(dataObj[0][9]));\r\n\t\t\tmealVoucher.setMealVoucherAmtDeclare(String.valueOf(dataObj[0][10]));\r\n\t\t\tmealVoucher.setFromPeriod(checkNull(String.valueOf(dataObj[0][11])));\r\n\t\t\tmealVoucher.setToPeriod(checkNull(String.valueOf(dataObj[0][12])));\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}",
"TbMessage selectByPrimaryKey(Integer id);",
"List<mailIdentify> selectByExample(mailIdentifyExample example);",
"@DynamoDBIgnore\n @Override\n public String getSupportEmail() {\n return supportEmail;\n }",
"private String getSQL() {\n return \" SELECT * FROM PFEventNotification \";\n }",
"@Insert({\n \"insert into SWMS_stock_out_record_detail (stock_out_record_id, stock_out_record_head_id, \",\n \"stock_out_record_head_code, group_name, \",\n \"stock_in_record_account_id, material_code, \",\n \"material_batch, material_type_id, \",\n \"material_sub_type_id, material_workshop_id, \",\n \"material_name_code, material_supplier_code, \",\n \"material_name, bag_num, \",\n \"weight, measure_unit, \",\n \"created_time, completion_flag)\",\n \"values (#{stockOutRecordId,jdbcType=BIGINT}, #{stockOutRecordHeadId,jdbcType=BIGINT}, \",\n \"#{stockOutRecordHeadCode,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{stockInRecordAccountId,jdbcType=BIGINT}, #{materialCode,jdbcType=VARCHAR}, \",\n \"#{materialBatch,jdbcType=VARCHAR}, #{materialTypeId,jdbcType=INTEGER}, \",\n \"#{materialSubTypeId,jdbcType=INTEGER}, #{materialWorkshopId,jdbcType=INTEGER}, \",\n \"#{materialNameCode,jdbcType=INTEGER}, #{materialSupplierCode,jdbcType=INTEGER}, \",\n \"#{materialName,jdbcType=VARCHAR}, #{bagNum,jdbcType=INTEGER}, \",\n \"#{weight,jdbcType=REAL}, #{measureUnit,jdbcType=VARCHAR}, \",\n \"#{createdTime,jdbcType=TIMESTAMP}, #{completionFlag,jdbcType=BIT})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(SwmsStockOutRecordDetail record);",
"@Mapper\npublic interface RecruitMapper {\n\n @Insert(\"insert into fe_recruit values(null,#{user_id},#{unit},#{subject},#{stu_intro},#{pattern},#{area},#{address},#{salary},#{work_require},#{send_time,jdbcType=TIMESTAMP},#{end_time,jdbcType=TIMESTAMP},#{status})\")\n int insertRecruitSend(SendRecruit sendRecruit);\n\n @Select(\"select u.uname,u.photo,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.status=#{status} ORDER BY send_time DESC\")\n List<Map<String,Object>> getAllSendRecruits(int status);\n\n @Select(\"select u.uname,u.photo,u.phone,u.email,s.* from fe_recruit s,fe_user u where s.user_id=u.uid and s.id=#{id}\")\n Map<String,Object> getSendRecruitById(int id);\n\n @Select(\"select * from fe_recruit where user_id=#{uid} and status=#{status}\")\n List<Map<String,Object>> getRecruitByUidAndStatus(@Param(\"uid\") String uid, @Param(\"status\") int status);\n\n @Select(\"select * from fe_recruit where user_id=#{uid}\")\n List<SendRecruit> getRecruitByUid(String uid);\n\n @Update(\"update fe_recruit set status=#{status} where id=#{id}\")\n int updateStatusById(@Param(\"id\") int id, @Param(\"status\") int status);\n\n @Delete(\"delete from fe_recruit where id=#{id}\")\n int deleteById(int id);\n\n @Update(\"update fe_recruit set send_time=#{send_time,jdbcType=TIMESTAMP} where id=#{id}\")\n int updateSendTimeById(@Param(\"id\") int id, @Param(\"send_time\") Date send_time);\n\n @Select(\"select * from fe_recruit where id=#{id}\")\n SendRecruit getRecruitById(int id);\n\n @Update(\"update fe_recruit (#{recruit}) where id=#{id}\")\n @Lang(SimpleUpdateExtendedLanguageDriver.class)\n int updateRecruit(SendRecruit recruit);\n\n}",
"@Override\n public Class<MytableRecord> getRecordType() {\n return MytableRecord.class;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByContent(String... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.CONTENT, values);\n }",
"@Insert({\n \"insert into twshop_address (id, user_id, \",\n \"user_name, tel_number, \",\n \"postal_Code, national_Code, \",\n \"province_Name, city_Name, \",\n \"county_Name, detail_Info, \",\n \"is_default)\",\n \"values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, \",\n \"#{userName,jdbcType=VARCHAR}, #{telNumber,jdbcType=VARCHAR}, \",\n \"#{postalCode,jdbcType=VARCHAR}, #{nationalCode,jdbcType=VARCHAR}, \",\n \"#{provinceName,jdbcType=VARCHAR}, #{cityName,jdbcType=VARCHAR}, \",\n \"#{countyName,jdbcType=VARCHAR}, #{detailInfo,jdbcType=VARCHAR}, \",\n \"#{isDefault,jdbcType=INTEGER})\"\n })\n int insert(Address record);",
"public List queryAllMailDir(String userId) throws DefaultException {\n\t\tList mailDirList = new ArrayList();\r\n\t\tStringBuffer queryMailDirSql = new StringBuffer();\r\n\t\tinitQueryMailDirSql(queryMailDirSql);\r\n\t\tif (!StringUtils.isNull(this.condition)) {\r\n\t\t\tqueryMailDirSql.append(this.getCondition());\r\n\t\t} else {\r\n\t\t\tqueryMailDirSql\r\n\t\t\t\t\t.append(\" and (a.user_code = '000000' or a.user_code = ?) order by cast(a.user_code as int),a.serial_num\");\r\n\t\t}\r\n\t\t// System.out.println(\"--- queryMailDirSql : \" + queryMailDirSql);\r\n\t\tSQLHelper helper = new DefaultSQLHelper(super.dbData);\r\n\t\tConnection conn = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\tconn = helper.getConnection();\r\n\t\ttry {\r\n\t\t\tpstmt = conn.prepareStatement(queryMailDirSql.toString());\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL-\",queryMailDirSql.toString());\r\n\t\t\tpstmt.setInt(1, Integer.parseInt(userId));\r\n\t\t\tpstmt.setInt(2, Integer.parseInt(userId));\r\n\t\t\t\tlog.console(this.getClass(),\"queryAllMailDir:SQL\",condition);\r\n\r\n\t\t\tif (StringUtils.nullToString(this.condition).equals(\"\")) {\r\n\t\t\t\tpstmt.setString(3, userId);\r\n\t\t\t}\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\tint sizeCount = 0; // 邮件字节总统计数\r\n\t\t\tint yjCount = 0; // 邮件总统计数\r\n\t\t\tint notYjCount = 0; // 已读邮件总统计数\r\n\t\t\tint iTmpYjCNT = 0; // 临时邮件统计数\r\n\t\t\tint iTmpNotYjCNT = 0; // 临时未读邮件\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tint i = 1;\r\n\t\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\t\t\t\tmailDirectoryVO.setSerial_num(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setUser_code(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMail_dir_name(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setFlag(rs.getString(i++));\r\n\t\t\t\tmailDirectoryVO.setMemo(rs.getString(i++));\r\n\t\t\t\tsizeCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tiTmpYjCNT = Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tyjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"totalmailnum\")));\r\n\t\t\t\tnotYjCount += Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tiTmpNotYjCNT = iTmpYjCNT\r\n\t\t\t\t\t\t- Integer.parseInt(StringUtils.emptyStringToZero(rs\r\n\t\t\t\t\t\t\t\t.getString(\"unreadmailnum\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailsize(this.sizeToKB(rs\r\n\t\t\t\t\t\t.getString(\"totalmailsize\")));\r\n\t\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(iTmpYjCNT));\r\n\t\t\t\tmailDirectoryVO.setUnreadmailnum(String.valueOf(iTmpNotYjCNT));\r\n\t\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t\t}\r\n\t\t\tMailDirectoryVO mailDirectoryVO = new MailDirectoryVO();\r\n\r\n\t\t\tmailDirectoryVO.setUser_code(\"COUNT\");\r\n\t\t\tmailDirectoryVO.setMail_dir_name(\"邮件总数:\");\r\n\t\t\tmailDirectoryVO.setFlag(\"1\");\r\n\t\t\tmailDirectoryVO\r\n\t\t\t\t\t.setTotalmailsize(sizeToKB(String.valueOf(sizeCount)));\r\n\t\t\tmailDirectoryVO.setTotalmailnum(String.valueOf(yjCount));\r\n\t\t\tmailDirectoryVO.setUnreadmailnum(\"已占用空间:\");\r\n\r\n\t\t\tmailDirList.add(mailDirectoryVO);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t} finally {\r\n\t\t\thelper.close(conn);\r\n\t\t}\r\n\t\treturn mailDirList;\r\n\t}",
"@Mapper\npublic interface SubscribeMapper {\n @Insert(\"insert into mp_subscribe (email,topics,subdate) values (#{sub.email},#{sub.topics},#{sub.subdate})\")\n void addSubscribe(@Param(\"sub\") Subscribe subscribe) throws Exception;\n\n @Select(\"select * from mp_subscribe where email=#{email}\")\n Subscribe selectByEmail(String email) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{flag} where email=#{email}\")\n void updateFlagByEmail(@Param(\"email\") String email,@Param(\"flag\") Integer flag) throws Exception;\n\n @Update(\"update mp_subscribe set flag=#{sub.flag},topics=#{sub.topics} where email=#{sub.email}\")\n void updateByEmail(@Param(\"sub\") Subscribe subscribe) throws Exception;\n}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\r\n\t\t\t\t\tpublic Message getResultObject(ResultSet rs)\r\n\t\t\t\t\t\t\tthrows SQLException, DbException {\n\t\t\t\t\t\tif (rs != null) {\r\n\t\t\t\t\t\t\tMessage message = new Message();\r\n\t\t\t\t\t\t\tmessage.setId(rs.getInt(1));\r\n\t\t\t\t\t\t\tmessage.setUserId(rs.getString(2));\r\n\t\t\t\t\t\t\tmessage.setSendUserId(rs.getString(3));\r\n\t\t\t\t\t\t\tmessage.setOrderId(rs.getString(4));\r\n\t\t\t\t\t\t\tmessage.setTitle(rs.getString(5));\r\n\t\t\t\t\t\t\tmessage.setContent(rs.getString(6));\r\n\t\t\t\t\t\t\tmessage.setcDate(rs.getTimestamp(7));\r\n\t\t\t\t\t\t\tmessage.setState(rs.getInt(8));\r\n\t\t\t\t\t\t\treturn message;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn null;\r\n\t\t\t\t\t}",
"@Override\n public Log map(ResultSet rs, StatementContext ctx) throws SQLException {\n var application = applicationRepository.findById(rs.getInt(1)).orElseThrow();\n return new Log(rs.getInt(1),application.getApp(),application.getPortApp(),application.getPortService(),application.getDockerInstance(),rs.getString(2),rs.getTimestamp(3).toInstant());\n }",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"int insertSelective(Email record);",
"public void retrieveEmail(String mailID)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString query = \"select sender, mailSubject, message from mails where recipient = ? and mailID = ? and mailType = 's'\";\r\n\t\t\tpreparedStatement = connect.prepareStatement(query);\r\n\t\t\tpreparedStatement.setString(1, email_address);\r\n\t\t\tpreparedStatement.setString(2, mailID);\r\n\t\t\tresultSet = preparedStatement.executeQuery();\r\n\t\t\t\r\n\t\t\tif(resultSet.next())\r\n\t\t\t{\r\n\t\t\t\tMessageWindow emailView = new MessageWindow(resultSet.getString(\"mailSubject\"), resultSet.getString(\"sender\"), resultSet.getString(\"message\"), mailID);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n public String getCustomerIDFromDB(String email) {\n String sql = \"select CUSTOMER_ID from CUSTOMER where \" +\n \"EMAIL = '\" + email + \"' \";\n Map<String, Object> result = jdbcTemplate.queryForMap(sql);\n return result.get(\"CUSTOMER_ID\").toString();\n }",
"@SelectProvider(type=MailHostSqlProvider.class, method=\"selectByExample\")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"host_name\", property=\"hostName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host\", property=\"smtpHost\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"smtp_host_port\", property=\"smtpHostPort\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host\", property=\"pop3Host\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pop3_host_port\", property=\"pop3HostPort\", jdbcType=JdbcType.VARCHAR)\n })\n List<MailHost> selectByExample(MailHostExample example);",
"public static String retrieveEmailModifiedInMemberProfile(WebDriver driver, String memEmail) throws ClassNotFoundException, SQLException\n\t{\n\t\tString port = Directory.Oracle_Port;\n\t\tString database_name= Directory.Oracle_Databasename;\n\t\tString user = Directory.Oracle_User;\n\t\tString pass = Directory.Oracle_Pass;\n\t\tString hostname =Directory.Oracle_Hostname;\n\t\tString url =\"jdbc:oracle:thin:@\"+hostname+\":\"+port+\":\"+database_name+\"\";\n\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\n\t\tConnection conn = DriverManager.getConnection(url,user,pass);\n\t\tSystem.out.println(\"connection success\");\n\t\tStatement stat=conn.createStatement();\n\t\tResultSet rs = stat.executeQuery(\"select * from account where email='\"+memEmail+\"'\");\n\t\tSystem.out.println(\"query executed\");\n\t\tString email=\"\";\n\t\tif(rs.next())\n\t\t{\n\t\t\temail= rs.getString(\"EMAIL\");\n\n\t\t\tif(memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are updated after linking\"+email);\n\t\t\t}\n\t\t\telse if(!memEmail.equalsIgnoreCase(email))\n\t\t\t{\n\t\t\t\t System.out.println(\"RA email addresses are not updated after linking\"+email);\n\t\t\t\tAssert.fail();\n\t\t\t}\n\t\t}\n\t\treturn email;\n\t}",
"public void setMailId(int v) \n {\n \n if (this.mailId != v)\n {\n this.mailId = v;\n setModified(true);\n }\n \n \n }",
"public UserEmailDao() {\n super(UserEmail.USER_EMAIL, com.wuda.foundation.jooq.code.generation.user.tables.pojos.UserEmail.class);\n }",
"public Vector getUserAndMemberId(String mailId) throws SQLException {\n Debug.print(\"Inside the getUserAndMemberId\");\n Vector vObj = new Vector();\n try {\n makeConnection();\n String slelctStr = \"SELECT A.user_id, B.member_id FROM \"+DBHelper.USEA_MMS_USERMASTER+\" A, \"+\n DBHelper.USEA_MMS_MEMBERDETAIL+\" B \"+ \n \" WHERE A.user_id = B.user_id and A.email_id = ?\";\n PreparedStatement prepStmt = con.prepareStatement(slelctStr);\n prepStmt.setString(1, mailId.trim());\n rs = prepStmt.executeQuery();\n System.out.println(\"Inside the getUserAndMemberId mailId : \"+mailId);\n if (rs.next()) {\n this.userId = rs.getString(1);\n this.memberId = rs.getString(2);\n }\n releaseConnection();\n }catch (SQLException e){\n e.printStackTrace();\n }finally {\n releaseConnection();\n }\n String [] useMemberId = {userId,memberId};\n vObj.add(useMemberId);\n return vObj;\n }",
"@Mapper\n@Repository\npublic interface MessageAnnotationMapper {\n\n @Select(\"SELECT * FROM message\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Integer.class, jdbcType = JdbcType.INTEGER),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"ip\", column = \"ip\", javaType = String.class, jdbcType = JdbcType.VARCHAR),\n @Result(property = \"insertTime\", column = \"INSERT_TIME\", javaType = Date.class, jdbcType = JdbcType.DATE)\n })\n List<Message> list();\n}",
"int insert(SmsEmployeeTeam record);",
"void insert(TbMessage record);",
"@Insert({\n \"insert into SALEORDERDETAIL (SOID, LINENO, \",\n \"MID, MNAME, STANDARD, \",\n \"UNITID, UNITNAME, \",\n \"NUM, BEFOREDISCOUNT, \",\n \"DISCOUNT, PRICE, \",\n \"TOTALPRICE, TAXRATE, \",\n \"TOTALTAX, TOTALMONEY, \",\n \"BEFOREOUT, ESTIMATEDATE, \",\n \"LEFTNUM, ISGIFT, \",\n \"FROMBILLTYPE, FROMBILLID)\",\n \"values (#{soid,jdbcType=VARCHAR}, #{lineno,jdbcType=DECIMAL}, \",\n \"#{mid,jdbcType=VARCHAR}, #{mname,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, \",\n \"#{unitid,jdbcType=VARCHAR}, #{unitname,jdbcType=VARCHAR}, \",\n \"#{num,jdbcType=DECIMAL}, #{beforediscount,jdbcType=DECIMAL}, \",\n \"#{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, \",\n \"#{totalprice,jdbcType=DECIMAL}, #{taxrate,jdbcType=DECIMAL}, \",\n \"#{totaltax,jdbcType=DECIMAL}, #{totalmoney,jdbcType=DECIMAL}, \",\n \"#{beforeout,jdbcType=DECIMAL}, #{estimatedate,jdbcType=TIMESTAMP}, \",\n \"#{leftnum,jdbcType=DECIMAL}, #{isgift,jdbcType=DECIMAL}, \",\n \"#{frombilltype,jdbcType=DECIMAL}, #{frombillid,jdbcType=VARCHAR})\"\n })\n int insert(Saleorderdetail record);",
"public MailFromResult records(List<Record> records) {\n this.records = records;\n return this;\n }",
"private static String db2selectFields() {\n return \"ID, EXTERNAL_ID, CREATED, CLAIMED, COMPLETED, MODIFIED, PLANNED, RECEIVED, DUE, NAME, \"\n + \"CREATOR, DESCRIPTION, NOTE, PRIORITY, MANUAL_PRIORITY, STATE, CLASSIFICATION_CATEGORY, \"\n + \"TCLASSIFICATION_KEY, CLASSIFICATION_ID, \"\n + \"WORKBASKET_ID, WORKBASKET_KEY, DOMAIN, \"\n + \"BUSINESS_PROCESS_ID, PARENT_BUSINESS_PROCESS_ID, OWNER, POR_COMPANY, POR_SYSTEM, \"\n + \"POR_INSTANCE, POR_TYPE, POR_VALUE, IS_READ, IS_TRANSFERRED, CUSTOM_1, CUSTOM_2, \"\n + \"CUSTOM_3, CUSTOM_4, CUSTOM_5, CUSTOM_6, CUSTOM_7, CUSTOM_8, CUSTOM_9, CUSTOM_10, \"\n + \"CUSTOM_11, CUSTOM_12, CUSTOM_13, CUSTOM_14, CUSTOM_15, CUSTOM_16, \"\n + \"CUSTOM_INT_1, CUSTOM_INT_2, CUSTOM_INT_3, CUSTOM_INT_4, CUSTOM_INT_5, \"\n + \"CUSTOM_INT_6, CUSTOM_INT_7, CUSTOM_INT_8\"\n + \"<if test=\\\"addClassificationNameToSelectClauseForOrdering\\\">, CNAME</if>\"\n + \"<if test=\\\"addAttachmentClassificationNameToSelectClauseForOrdering\\\">, ACNAME</if>\"\n + \"<if test=\\\"addAttachmentColumnsToSelectClauseForOrdering\\\">\"\n + \", ACLASSIFICATION_ID, ACLASSIFICATION_KEY, CHANNEL, REF_VALUE, ARECEIVED\"\n + \"</if>\"\n + \"<if test=\\\"addWorkbasketNameToSelectClauseForOrdering\\\">, WNAME</if>\"\n + \"<if test=\\\"joinWithUserInfo\\\">, ULONG_NAME </if>\";\n }",
"@Override\n public Class<BmPayeeRecord> getRecordType() {\n return BmPayeeRecord.class;\n }",
"public interface CrmDmDbsBmsMapper {\n public static String TABLENAME = \"crm_dm_bds_bms\";\n @Select(\"select * from \"+TABLENAME+\" WHERE staff_city_id=#{cityId, jdbcType=BIGINT} limit 10 \")\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType= JdbcType.BIGINT, id=true),\n @Result(column=\"Saler_id\", property=\"salerId\", jdbcType= JdbcType.BIGINT),\n @Result(column=\"Saler_name\", property=\"salerName\", jdbcType= JdbcType.BIGINT)\n })\n public List<CrmDmBdsBms> findSalerListByCityId(@Param(\"cityId\") Long cityId);\n}",
"public HashMap<Integer, HashMap<String, ArrayList<String>>> getMessageDataIMTextXSLT(ArrayList<Integer> interIDs,ArrayList<String> dbParams, boolean fileAttachment) throws SQLException{\n \n HashMap<Integer, HashMap<String, ArrayList<String>>> result = new HashMap();\n String query = null;\n ArrayList<String> message;\n HashMap<String, ArrayList<String>> messageMap;\n\n// stmt = getConnection(dbParams).createStatement(); \n rs = null;\n String systemText = null;\n \n //loop through each interID\n for(int interID : interIDs){\n \n int row = 0;\n messageMap = new HashMap();\n message = new ArrayList();\n query = \"Select sentTime, buddyName, text, systemtext from Messages where interID = \"+interID+\" order by sentTime\";\n System.out.println(query);\n rs = stmt.executeQuery(query);\n while(rs.next()){\n \t \n \t \t message = new ArrayList();\n message.add(rs.getString(1));\n message.add(rs.getString(2));\n if(rs.getString(3) == null && !rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\").contains(\"<file>\"))\n \t message.add(rs.getString(4).replaceAll(\"\\n\", \"\").replaceAll(\"\\r\", \"\"));\n else\n \t message.add(rs.getString(3));\n messageMap.put(\"Row: \"+row++, message);\n }\n if(fileAttachment){\n \t ArrayList<String> fileMap = getFilesName(stmt, interID);\n \t if(fileMap.size() != 0){\n \t\t messageMap.put(\"Files \", fileMap);\n \t }\n \t \n }\n result.put(interID, messageMap);\n }\n return result;\n }",
"public List<com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord> fetchByTplId(Integer... values) {\n return fetch(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.TPL_ID, values);\n }",
"public void addRecipient(){\n //mRATable.insert();\n }",
"private static void addIntoDB(Map<String, Object> mailDetails,String db,String user,String password) {\n\n try {\n Connection connection = DriverManager.getConnection(db, user, password);/*Connect DB*/\n\n String query = \"INSERT INTO weeklyUpdate(`date`,`subject`,`assignee`,`from`,`to`,`client`,`startDate`,`endDate`,\" +\n \"`techProblems`,`problemSolved`,`tasksDone`,`toDoList`,`actionItems`,`nonTecProblems`,\" +\n \"`learningPoints`,`details`)VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\n PreparedStatement statement = connection.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n\n statement.setString(1, mailDetails.get(\"Date\").toString());\n statement.setString(2, mailDetails.get(\"Subject\").toString());\n statement.setString(3, mailDetails.get(\"Subject\").toString().split(\" by: \")[1].trim());\n statement.setString(4, mailDetails.get(\"From\").toString());\n statement.setString(5, mailDetails.get(\"To\").toString());\n statement.setString(6, mailDetails.get(\"Client Name\").toString());\n Date endDate = null;\n Date startDate = null;\n try {\n endDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse( mailDetails.get(\"End Date\").toString());\n startDate = new SimpleDateFormat(\"MM/dd/yyyy\").parse(mailDetails.get(\"Start Date\").toString());\n } catch (ParseException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n statement.setDate (7, new java.sql.Date(startDate != null ? startDate.getTime() : 0));\n statement.setDate(8,new java.sql.Date(endDate != null ? endDate.getTime() : 0));\n statement.setString(9, mailDetails.get(\"Technical problems you encountered\").toString());\n statement.setString(10, mailDetails.get(\"Problems solved and how they were solved\").toString());\n statement.setString(11, mailDetails.get(\"List of tasks done\").toString());\n statement.setString(12, mailDetails.get(\"List of your TODOs\").toString());\n statement.setString(13, mailDetails.get(\"Action Items for LK team\").toString());\n statement.setString(14, mailDetails.get(\"Other non-technical problems\").toString());\n statement.setString(15, mailDetails.get(\"Learning points\").toString());\n statement.setString(16, mailDetails.get(\"Details\").toString());\n statement.executeUpdate();\n logger.log(Level.INFO,mailDetails.get(\"Subject\").toString()+\" has been inserted into \" +\n \"MailUpdate.weeklyUpdate\");\n }\n catch (SQLException e) {\n logger.log(Level.WARNING,e.getMessage());\n }\n }",
"@Select({\n \"select\",\n \"id, user_id, user_name, tel_number, postal_Code, national_Code, province_Name, \",\n \"city_Name, county_Name, detail_Info, is_default\",\n \"from twshop_address\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"user_name\", property=\"userName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tel_number\", property=\"telNumber\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal_Code\", property=\"postalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"national_Code\", property=\"nationalCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province_Name\", property=\"provinceName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city_Name\", property=\"cityName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"county_Name\", property=\"countyName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"detail_Info\", property=\"detailInfo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_default\", property=\"isDefault\", jdbcType=JdbcType.INTEGER)\n })\n Address selectByPrimaryKey(Integer id);",
"int insert(SmsSendAndCheckPo record);",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"@Override\n\tpublic void msgAtTable() {\n\t\t\n\t}",
"public String getUsernameByMail(String email){\n String username = \"\";\n ResultSet rs = null;\n \n Statement statement = null;\n \n queryGetUserNameByMail = \"SELECT CUST_USERNAME from TBBW_CUST WHERE CUST_EMAIL = '\"+email+\"'\";\n \n System.out.println(\"Query : \"+queryGetUserNameByMail);\n // TbBwCust tbBwCust = new TbBwCust();\n conn = Common.getConnection();\n \n \n try {\n \n /* statement = conn.prepareStatement(queryGetUserNameByMail);\n statement.setString(1, email);\n \n rs = statement.executeQuery();\n */\n \n statement = conn.createStatement();\n rs = statement.executeQuery(queryCreateCust);\n \n while(rs.next()){\n username = rs.getString(\"CUST_USERNAME\");\n }\n \n statement.close();\n conn.close();\n \n // return list;\n } catch (SQLException exception) {\n try {\n statement.close();\n conn.close();\n // return null;\n } catch (SQLException ex) {\n Logger.getLogger(TbCMCountryCityTMP.class.getName()).log(Level.SEVERE, null, ex);\n \n // return null;\n }\n } \n return username;\n }",
"public LogEmailSendrecordDao(Configuration configuration) {\n super(LogEmailSendrecord.LOG_EMAIL_SENDRECORD, com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord.class, configuration);\n }",
"public ScGridColumn<AcUpuTagSummaryVo> newMailSubClassCodeColumn()\n {\n return newMailSubClassCodeColumn(\"Mail Sub Class Code\");\n }",
"@Select({\n \"select\",\n \"ID, OUT_TRADE_NO, TRANSACTION_ID, RESULT_CODE, PARAMETER_LIST, CALLBACK_TIME\",\n \"from payment_t_weixin_callback_records\",\n \"where ID = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"ID\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"OUT_TRADE_NO\", property=\"outTradeNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"TRANSACTION_ID\", property=\"transactionId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RESULT_CODE\", property=\"resultCode\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PARAMETER_LIST\", property=\"parameterList\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CALLBACK_TIME\", property=\"callbackTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n WeixinCallbackRecordsBean selectByPrimaryKey(Long id);",
"@SuppressWarnings(\"finally\")\n\t@Override\n\tpublic Response showEmail() {\n\t\tBaseResponse<NotifyTemplate> br = new BaseResponse<NotifyTemplate>();\n\t\ttry\n\t\t{\n\t\tList<NotifyTemplate> emailList;\n\t\tjdbcTemplate.setDataSource(dataSourceProvider.getDataSource(FiinfraConstants.BU_DEFAULT));\n\t\temailList=jdbcTemplate.query(FiinfraConstants.SP_GET_EMAIL,new Object[]{} ,new BeanPropertyRowMapper<NotifyTemplate>(NotifyTemplate.class));\n\t\tbr.setResponseListObject(emailList); \n\t\tresponse=FiinfraResponseBuilder.getSuccessResponse(br, null);\n\t\t} \n\t\tcatch (DataAccessException e) {\n\t\t\tresponse = FiinfraResponseBuilder.getErrorResponse(e.getMessage().toString());\n\t\t} \n\t\tfinally\n\t\t{\n\t\t\treturn response;\n\t\t\t\t} \n\t}",
"public void setMailNo(String mailNo) {\n this.mailNo = mailNo;\n }",
"@Select({\n \"select\",\n \"addrid, userid, province, city, region, address, postal, consignee, phone, status, \",\n \"createdate\",\n \"from t_address\",\n \"where addrid = #{addrid,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"addrid\", property=\"addrid\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"userid\", property=\"userid\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"province\", property=\"province\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"city\", property=\"city\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"region\", property=\"region\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"postal\", property=\"postal\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"consignee\", property=\"consignee\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"createdate\", property=\"createdate\", jdbcType=JdbcType.TIMESTAMP)\n })\n Address selectByPrimaryKey(String addrid);",
"public String getEmployeeEmail(Statement stmt, String intEmployeeId){\n\t\t\tString empEmail = null;\n\t\t\tString query = \"select value from employeeAttributes where intEmployeeId =\"+ intEmployeeId + \" and attrId =17\"; \n\t\t\ttry{\n//\t\t\t\tSystem.out.println(\"Emp Email : \"+ query);\n\t\t\t\trs = stmt.executeQuery(query);\n\t\t\t\trs.next();\n\t\t\t\tempEmail = rs.getString(1);\n\t\t\t}catch(SQLException se){\n\t\t\t\tSystem.err.println(\"Error to find Employee Email\");\n\t\t\t}\n\t\t\treturn empEmail;\n\t\t}",
"protected ArrayList getRecipientsInfoFromDB(ArrayList listUserIDs, Map hmMsgData) throws AlertHandlerException\r\n\t{\r\n\t\treturn null;\r\n\t}",
"@Override\n public String getEntityName() {\n return \"MailServer\";\n }",
"public void queryRecord(Connection db, int messageId) throws SQLException {\n if (messageId == -1) {\n throw new SQLException(\"Invalid Message ID.\");\n }\n PreparedStatement pst = db.prepareStatement(\n \"SELECT m.* \" +\n \"FROM \" + DatabaseUtils.addQuotes(db, \"message\") + \" m \" +\n \"LEFT JOIN contact ct_eb ON (m.enteredby = ct_eb.user_id) \" +\n \"LEFT JOIN contact ct_mb ON (m.modifiedby = ct_mb.user_id) \" +\n \"WHERE m.id = ? \");\n pst.setInt(1, messageId);\n ResultSet rs = pst.executeQuery();\n if (rs.next()) {\n buildRecord(rs);\n }\n rs.close();\n pst.close();\n if (id == -1) {\n throw new SQLException(\"Message not found.\");\n }\n if (buildAttachments) {\n buildAttachments(db);\n }\n }",
"public com.moseeker.baseorm.db.logdb.tables.pojos.LogEmailSendrecord fetchOneById(Integer value) {\n return fetchOne(LogEmailSendrecord.LOG_EMAIL_SENDRECORD.ID, value);\n }",
"@GET\n\t\t\t@Path(\"/{id}/record\")\n\t\t\t@Produces({\"application/xml\"})\n\t\t\tpublic Rows getAttachmentRecord() {\n\t\t\t\tRows rows = null;\n\t\t\t\ttry {\n\t\t\t\t\trows=new AttachmentDao(uriInfo,header).getAttachmentRows();\n\t\t\t\t} catch (AuthenticationException e) {\n\t\t\t\t\t rows=new TemplateUtility().getFailedMessage(e.getMessage());\n\t\t\t\t\t e.printStackTrace();\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t logger.info( \"Error calling getAttachmentRecord()\"+ ex.getMessage());\n\t\t\t\t\t ex.printStackTrace();\n\t\t\t\t}\n\t\t\t\treturn rows;\n\t\t\t}",
"@Override\n public Class<TblrefJoboptioncodeRecord> getRecordType() {\n return TblrefJoboptioncodeRecord.class;\n }",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\t\tpublic String seq(ColumnRecord record) {\n\t\t\treturn null;\r\n\t\t}",
"protected EmailMessageSchema() {\n\t\tsuper();\n\t}"
] |
[
"0.6187615",
"0.57856053",
"0.5721536",
"0.5636033",
"0.5629812",
"0.55389804",
"0.5502372",
"0.5495383",
"0.5483202",
"0.54300666",
"0.53601605",
"0.5341538",
"0.5255737",
"0.52520585",
"0.52136385",
"0.52105707",
"0.51451224",
"0.5143477",
"0.51434135",
"0.5108478",
"0.51034755",
"0.5076698",
"0.50485706",
"0.5037818",
"0.50356203",
"0.5017104",
"0.5007966",
"0.5006589",
"0.4999733",
"0.49857792",
"0.4983792",
"0.49788618",
"0.4973604",
"0.49711373",
"0.49670005",
"0.49503583",
"0.4919294",
"0.49016473",
"0.48998183",
"0.48994994",
"0.4881938",
"0.48776773",
"0.48706457",
"0.48630136",
"0.48474863",
"0.48452196",
"0.4837696",
"0.4821962",
"0.48165938",
"0.48061216",
"0.48021567",
"0.47994584",
"0.47974262",
"0.4796813",
"0.4793583",
"0.47868145",
"0.47868145",
"0.47714445",
"0.47713813",
"0.47608995",
"0.4759258",
"0.47528562",
"0.47485083",
"0.47483233",
"0.47468606",
"0.47245777",
"0.4721842",
"0.47214705",
"0.47203425",
"0.47147647",
"0.47127467",
"0.469897",
"0.46949446",
"0.46941534",
"0.46931612",
"0.46839035",
"0.46791193",
"0.46730354",
"0.46721652",
"0.46655685",
"0.46620744",
"0.46598965",
"0.46598965",
"0.4654664",
"0.46538112",
"0.46535906",
"0.4651014",
"0.4644813",
"0.4638152",
"0.46373394",
"0.46366054",
"0.46323067",
"0.4623047",
"0.4619587",
"0.46185765",
"0.4614612",
"0.46067443",
"0.4599368",
"0.4599368",
"0.4599368",
"0.45985222"
] |
0.0
|
-1
|
return null if not cheap
|
@Nullable
Set<String> findFileNamesMatchingIfCheap(char nextLetter, MinusculeMatcher matcher) {
List<Pair<VirtualFile, String>> files = getMatchingRoots();
Set<String> names = new HashSet<>();
AtomicInteger counter = new AtomicInteger();
BooleanSupplier tooMany = () -> counter.get() > 1000;
for (Pair<VirtualFile, String> pair : files) {
if (containsChar(pair.second, nextLetter) && matcher.matches(pair.second)) {
names.add(pair.first.getName());
} else {
processProjectFilesUnder(pair.first, sub -> {
counter.incrementAndGet();
if (tooMany.getAsBoolean()) return false;
String name = sub.getName();
if (containsChar(name, nextLetter) && matcher.matches(name)) {
names.add(name);
}
return true;
});
}
}
return tooMany.getAsBoolean() ? null : names;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public T peekBest();",
"long memoryUnused();",
"public T poll() {\n if (size == 0)\n return null;\n int s = --size;\n T result = (T) heap[0];\n T backup = (T) heap[s];\n heap[s] = null; // delete\n if (s != 0)\n siftDown(0, backup);\n return result;\n }",
"public T poll() {\n if (this.size > 0) {\n T min = (T) pq[0];\n pq[0] = pq[this.size - 1];\n size--;\n percolateDown(0);\n return min;\n } else {\n return null;\n }\n }",
"public T extractMin() {\n\t\tif (heapSize > 0) {\n\t\t\tSystem.out.print(\"LIST: \" );\n\t\t\tprintList();\n\t\t\tT retEle = lstEle.get(0);\n\t\t\tSystem.out.println(\"\\tRemoving : \" +retEle);\n\t\t\tlstEle.set(0, lstEle.get(heapSize - 1));\n\t\t\tlstEle.set(heapSize - 1, null);\n\t\t\theapSize--;\n\t\t\theapify();\n\t\t\tSystem.out.print(\"After HEAPIFY : \");\n\t\t\tprintList();\n\t\t\treturn retEle;\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}",
"public static Object PQdownheap(Object... arg) {\nUNSUPPORTED(\"c01vxogao855zs8fe94tpim9g\"); // void\nUNSUPPORTED(\"5jo6sukhc9upf5qv4eukh8kop\"); // PQdownheap (int k)\nUNSUPPORTED(\"erg9i1970wdri39osu8hx2a6e\"); // {\nUNSUPPORTED(\"dd3235mkocimg2v70ln8ixz3k\"); // snode* x = pq[k];\nUNSUPPORTED(\"e0wd4mp2k58ml2bf01e6mtxfc\"); // int v = (x)->n_val;\nUNSUPPORTED(\"b9pl90rstqz0jhnw3ttda3kx5\"); // int lim = PQcnt/2;\nUNSUPPORTED(\"917ffzmzxsh6kw3txaqow8dv0\"); // snode* n;\nUNSUPPORTED(\"zrgst5t0lhf2kxrym9g7gvsn\"); // int j;\nUNSUPPORTED(\"7bbx1rekibyh3hyxh24lprwwk\"); // while (k <= lim) {\nUNSUPPORTED(\"disb3eax2r4wgge9im541y9hv\"); // j = k+k;\nUNSUPPORTED(\"e4w7jx4o3i4gav8ujef2bapbn\"); // n = pq[j];\nUNSUPPORTED(\"4yles8zr6ozg2g0df2jefc1l2\"); // if (j < PQcnt) {\nUNSUPPORTED(\"77cupwd0hd3zp8he6wd4tm6nx\"); // if ((n)->n_val < (pq[j+1])->n_val) {\nUNSUPPORTED(\"1jeqo15tfc6vbefwf85bniwfn\"); // j++;\nUNSUPPORTED(\"1sglut5nbxcoto9tvzxs3eixh\"); // n = pq[j];\nUNSUPPORTED(\"dquo3qofk56ds5xl95lhvcthf\"); // }\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\nUNSUPPORTED(\"3hshbuqs95898wh95e2fdh5uz\"); // if (v >= (n)->n_val) break;\nUNSUPPORTED(\"4i53ezzk69bsmpugd2h8bo35\"); // pq[k] = n;\nUNSUPPORTED(\"iolnc8pg22pbme3zbdim1eqy\"); // (n)->n_idx = k;\nUNSUPPORTED(\"8lpwfkimmel90007dlp5eqpbh\"); // k = j;\nUNSUPPORTED(\"7ijd6pszsxnoopppf6xwo8wdl\"); // }\nUNSUPPORTED(\"1lxwoekai0i8v3rg0vrg6ahmx\"); // pq[k] = x;\nUNSUPPORTED(\"7ss0wudteh17yswf0ihopig7z\"); // (x)->n_idx = k;\nUNSUPPORTED(\"c24nfmv9i7o5eoqaymbibp7m7\"); // }\n\nthrow new UnsupportedOperationException();\n}",
"public Computer findMostExpensiveComputerV4( ) { \n\n\t\tComputer highest= computers.get(0);\n\t\tIterator<Computer> it= computers.iterator();\n\t\tComputer current=null; // a temporary copy of has.next() to perform multiple actions on it inside the loop\n\t\twhile(it.hasNext()) {\n\t\t\tcurrent=it.next();\n\t\t\tif (highest.getPrice()<current.getPrice()) \n\t\t\t\thighest=current;\n\n\n\t\t}\n\n\t\treturn highest;\n\n\t}",
"Object getBest();",
"BigDecimal getCacheSpaceAvailable();",
"public Computer findMostExpensiveComputerV1( ) { \n\t\tComputer highest= computers.get(0);\n\t\tfor (int index=1; index<computers.size();index++){\n\t\t\tif (highest.getPrice()<computers.get(index).getPrice()) {\n\t\t\t\thighest= computers.get(index);\n\n\t\t\t}\n\t\t}\n\t\treturn highest;\n\t}",
"private Set<T> getMemory() { return null; }",
"public E poll() {\n\t\tif (apq.isEmpty())\n\t\t\treturn null;\n\t\tE retValue = apq.get(1);\n\t\tswap(1, apq.size() - 1); // -1 changed, change back if it doesnt work\n\t\tapq.remove(apq.size() - 1); // -1 changed, change back if it doesnt work\n\t\tdownheap(1);\n\t\treturn retValue; // implement this method\n\t}",
"boolean scavengeSome()\r\n/* 472: */ {\r\n/* 473:505 */ Recycler.WeakOrderQueue cursor = this.cursor;\r\n/* 474: */ Recycler.WeakOrderQueue prev;\r\n/* 475:506 */ if (cursor == null)\r\n/* 476: */ {\r\n/* 477:507 */ Recycler.WeakOrderQueue prev = null;\r\n/* 478:508 */ cursor = this.head;\r\n/* 479:509 */ if (cursor == null) {\r\n/* 480:510 */ return false;\r\n/* 481: */ }\r\n/* 482: */ }\r\n/* 483: */ else\r\n/* 484: */ {\r\n/* 485:513 */ prev = this.prev;\r\n/* 486: */ }\r\n/* 487:516 */ boolean success = false;\r\n/* 488: */ do\r\n/* 489: */ {\r\n/* 490:518 */ if (cursor.transfer(this))\r\n/* 491: */ {\r\n/* 492:519 */ success = true;\r\n/* 493:520 */ break;\r\n/* 494: */ }\r\n/* 495:522 */ Recycler.WeakOrderQueue next = Recycler.WeakOrderQueue.access$1800(cursor);\r\n/* 496:523 */ if (Recycler.WeakOrderQueue.access$1900(cursor).get() == null)\r\n/* 497: */ {\r\n/* 498:527 */ if (cursor.hasFinalData()) {\r\n/* 499:529 */ while (cursor.transfer(this)) {\r\n/* 500:530 */ success = true;\r\n/* 501: */ }\r\n/* 502: */ }\r\n/* 503:537 */ if (prev != null) {\r\n/* 504:538 */ Recycler.WeakOrderQueue.access$1700(prev, next);\r\n/* 505: */ }\r\n/* 506: */ }\r\n/* 507: */ else\r\n/* 508: */ {\r\n/* 509:541 */ prev = cursor;\r\n/* 510: */ }\r\n/* 511:544 */ cursor = next;\r\n/* 512:546 */ } while ((cursor != null) && (!success));\r\n/* 513:548 */ this.prev = prev;\r\n/* 514:549 */ this.cursor = cursor;\r\n/* 515:550 */ return success;\r\n/* 516: */ }",
"public T poll() {\n if(size==0)\n return null;\n else {\n T temp= (T) pq[0];\n pq[0]=pq[size-1];\n size--;\n percolateDown(0);\n return temp;\n\n\n }\n }",
"public E minimum() {\n\t\tif (heap.size() <= 0)\n\t\t\treturn null;\n\t\telse\n\t\t\treturn heap.get(0);\n\t}",
"public E minimum() {\n\t\tif (heap.size() <= 0)\n\t\t\treturn null;\n\t\telse\n\t\t\treturn heap.get(0);\n\t}",
"protected SelfCheckout fastestSelfCheckout() {\n return servers.stream().filter(x -> !x.isHuman())\n .map(x -> (SelfCheckout) x)\n .min(Comparator.comparing(Counter::getTime))\n .get();\n }",
"public E poll(){\n int cnt = 0;\n long expect = front;\n int index;\n int curTryNum = tryNum;\n E e ;\n for(;;) {\n HighPerformanceQueue q = this;\n expect = front;\n index = (int)(expect&(max_size-1));\n if(available[index]) {\n e = (E) data[index];\n //TODO Additional write burden is added to the read operation\n available[index] = false;\n if (help.compareAndSwapLong(q, frontOffset, expect, expect + 1)) {\n // TODO Dynamic maintenance retries\n break;\n }\n available[index] = true;\n }\n cnt++;\n if(cnt==tryNum){\n return null;\n }\n }\n return e;\n }",
"protected int removeLast() {\n if (size > 0) {\n return heap[size--];\n }\n return null;\n }",
"public Computer findMostExpensiveComputerV2( ) { \n\t\tComputer highest= computers.get(0);\n\t\tint index=1; \n\t\twhile (index<computers.size()){\n\t\t\tif (highest.getPrice()<computers.get(index).getPrice()) {\n\t\t\t\thighest= computers.get(index);\n\n\t\t\t}\n\t\t\tindex ++;\n\t\t}\n\t\treturn highest;\n\n\t}",
"public E extractMin() {\n\t\tif (heap.size() <= 0)\n\t\t\treturn null;\n\t\telse {\n\t\t\tE minVal = heap.get(0);\n\t\t\theap.set(0, heap.get(heap.size()-1)); // Move last to position 0\n\t\t\theap.remove(heap.size()-1);\n\t\t\tminHeapify(heap, 0);\n\t\t\treturn minVal;\n\t\t}\n\t}",
"long getOwnedEntryMemoryCost();",
"public E extractMin() {\n\t\tif (heap.size() <= 0)\n\t\t\treturn null;\n\t\telse {\n\t\t\tE minVal = heap.get(0);\n\t\t\theap.set(0, heap.get(heap.size() - 1)); // Move last to position 0\n\t\t\theap.remove(heap.size() - 1);\n\t\t\tminHeapify(heap, 0);\n\t\t\treturn minVal;\n\t\t}\n\t}",
"default long getUnusedMemory() {\n return getMaxMemory() - getMemory();\n }",
"public static native int getMaxCache();",
"private double findMin(){\r\n Set<Map.Entry<Double, Double>> list = heap.entrySet();\r\n double minKey = heap.firstKey();\r\n double minVal = MAX_WEIGHT;\r\n if (list != null){\r\n for (Map.Entry<Double, Double> entry: list){\r\n if (minVal > entry.getValue()){\r\n minVal = entry.getValue();\r\n minKey = entry.getKey();\r\n }\r\n }\r\n }\r\n return minKey;\r\n }",
"public node_data heapExtractMin(){\n\t\tdouble min = _positiveInfinity;\n\t\tnode_data v=null;\n\t\tif (!isEmpty()){\n\t\t\tv = _a[0];\n\t\t\tmin = v.getWeight();\n\t\t\t_a[0]=_a[_size-1];\n\t\t\t_size = _size-1;\n\t\t\tminHeapify(0, _size);\n\t\t}\n\t\treturn v;\n\t}",
"@Test\n public void checkForLowMemoryIfNeededWithMemberArg_ReturnsNullWhenNotOptimizedForWrite()\n throws Exception {\n checkForLowMemoryWithMemberArg_doesNotThrow(false, false, member);\n }",
"public frameTableElement findVictimLRU(){\n int smallestLastReferenceTime = Integer.MAX_VALUE;\n frameTableElement correspondingElement = null;\n\n for(int i=0; i< frameTable.getSize(); i++){\n frameTableElement currElement = frameTable.getElement(i);\n if(currElement.getLastTimeReferenced() < smallestLastReferenceTime){\n smallestLastReferenceTime = currElement.getLastTimeReferenced();\n correspondingElement = currElement;\n }\n }\n\n return correspondingElement;\n }",
"private int getPRFurthestUse() {\n int max = -1;\n int maxPR = -1;\n for (int i = 0; i < numPhysRegs - 1; i++) {\n if (PRNU[i] > max) {\n max = PRNU[i];\n maxPR = i;\n }\n }\n return maxPR; // no free physical register\n }",
"public T getMin() {\n\t\tif (heapSize > 0) {\n\t\t\treturn lstEle.get(0);\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t}",
"public E extractMin() {\r\n\t\tif (this.size == 0) {\r\n\t\t\tthrow new RuntimeException(\r\n\t\t\t\t\t\"Heap underflow. Cannot extractMin from an empty heap.\");\r\n\t\t}\r\n\t\tE min = this.objectHeap[0];\r\n\t\tdouble costMin = this.costHeap[0];\r\n\t\tthis.objectHeap[0] = this.objectHeap[this.size - 1];\r\n\t\tthis.costHeap[0] = this.costHeap[this.size - 1];\r\n\t\tthis.size -= 1;\r\n\t\tthis.locations.delete(min);\r\n\t\tthis.locations.put(this.objectHeap[0], 0);\r\n\t\tthis.minHeapify(0);\r\n\t\treturn min;\r\n\t}",
"private Node<T> getFree() {\n Node<T> freeNode = head.get();\n int skipped = 0;\n // Stop when we hit the end of the list\n // ... or we successfully transit a node from free to not-free.\n while (skipped < capacity && !freeNode.free.compareAndSet(true, false)) {\n skipped += 1;\n freeNode = freeNode.next;\n }\n if (skipped < capacity) {\n // Put the head as next.\n // Doesn't matter if it fails. That would just mean someone else was doing the same.\n head.set(freeNode.next);\n } else {\n // We hit the end! No more free nodes.\n freeNode = null;\n }\n return freeNode;\n }",
"@Override\r\n\tpublic T min() {\n\t\treturn null;\r\n\t}",
"private T get() {\n Queue<T> h = head;\n Queue<T> first = h.next;\n h.next = h; // help GC\n\n head = first;\n T x = first.item;\n first.item = null;\n return x;\n }",
"private T getMinUnvisited(){\n if (unvisited.isEmpty()) return null;\n T min = unvisited.get(0);\n for (int i = 1; i < unvisited.size(); i++){\n T temp = unvisited.get(i);\n if (distances[vertexIndex(temp)] < distances[vertexIndex(min)]){\n min = temp;\n }\n }\n return min;\n }",
"long getLocalOnHeapSizeInBytes();",
"int getLocalOffHeapSize();",
"long memoryUsed();",
"public Computer findMostExpensiveComputerV3( ) {\n\n\t\tComputer highest= computers.get(0);\n\n\t\tfor (Computer c : computers)\n\t\t\tif (highest.getPrice()<c.getPrice()) {\n\t\t\t\thighest=c;\n\n\t\t\t}\n\n\n\t\treturn highest;\n\t}",
"lanyotech.cn.park.protoc.CommonProtoc.PARKINGFREE getPakringFree();",
"lanyotech.cn.park.protoc.CommonProtoc.PARKINGFREE getPakringFree();",
"long getLocalOffHeapSizeInBytes();",
"public T minValue(){\r\n \tif(size > 0) {\r\n \t\treturn stack1.peek();\r\n \t}else {\r\n \t\treturn null;\r\n \t}\r\n }",
"public static Object PQupheap(Object... arg) {\nUNSUPPORTED(\"c01vxogao855zs8fe94tpim9g\"); // void\nUNSUPPORTED(\"5hhoge8azwixhuw1r6f1ae6d\"); // PQupheap(int k)\nUNSUPPORTED(\"erg9i1970wdri39osu8hx2a6e\"); // {\nUNSUPPORTED(\"7e1sq1127wt16hr7o0andcwob\"); // snode* x = pq[k];\nUNSUPPORTED(\"7bfu0p9xmzkty10xv4n4l5cqs\"); // int v = x->n_val;\nUNSUPPORTED(\"1j1bbq23z0qzohezignztjo66\"); // int next = k/2;\nUNSUPPORTED(\"ae5pat4mp4l6k25pvk8saz8c7\"); // snode* n;\nUNSUPPORTED(\"70492o1szwz9au93c3is2goa\"); // while ((n = pq[next])->n_val < v) {\nUNSUPPORTED(\"4i53ezzk69bsmpugd2h8bo35\"); // pq[k] = n;\nUNSUPPORTED(\"iolnc8pg22pbme3zbdim1eqy\"); // (n)->n_idx = k;\nUNSUPPORTED(\"8fpdpgwovt0k58t5u167v63is\"); // k = next;\nUNSUPPORTED(\"eqtnhenyor3dwsa6on9crthdd\"); // next /= 2;\nUNSUPPORTED(\"7ijd6pszsxnoopppf6xwo8wdl\"); // }\nUNSUPPORTED(\"1lxwoekai0i8v3rg0vrg6ahmx\"); // pq[k] = x;\nUNSUPPORTED(\"7ss0wudteh17yswf0ihopig7z\"); // (x)->n_idx = k;\nUNSUPPORTED(\"c24nfmv9i7o5eoqaymbibp7m7\"); // }\n\nthrow new UnsupportedOperationException();\n}",
"public node_data heapMinimum(){return _a[0];}",
"static long getPresumableFreeMemory() {\n System.gc();\n final long allocatedMemory = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();\n return Runtime.getRuntime().maxMemory() - allocatedMemory;\n }",
"long getMemory();",
"long getMemory();",
"@Test\n public void createLowMemoryIfNeededWithSetArg_ReturnsNullWhenNotOptimizedForWrite()\n throws Exception {\n createLowMemoryIfNeededWithSetArg_returnsNull(false, false, memberSet);\n }",
"long getMaxMemory();",
"public static native int getMaxCacheMem();",
"int getLocalOnHeapSize();",
"public BSTMapNode findMin() \n\t{\n\t\t\n\t\t\n\t\treturn null;\n\t}",
"private static PriorityQueue<ByteBuffer> getReclaimed() {\n\n return reclaimed;\n }",
"public E minimum() {\r\n\t\treturn objectHeap[0];\r\n\t}",
"public E poll() {\r\n if (isEmpty()) {\r\n return null;\r\n }\r\n //first element of heap\r\n E result = theData.get(0).data;\r\n\r\n if (theData.size() == 1 && theData.get(theData.size()-1).count == 1 ) {\r\n theData.remove(0);\r\n return result;\r\n }\r\n //deleting first element of heap\r\n if (theData.get(0).count == 1 ){\r\n theData.set(0, theData.remove(theData.size() - 1));\r\n\r\n fixHeap(0);\r\n }else{ //first element of heap if exist more than 1, decreases count\r\n theData.get(0).count-=1;\r\n }\r\n //fixes heap\r\n fixHeap(0);\r\n\r\n return result;\r\n }",
"public Node binomialHeapMinimum() {\n\t\tNode y = null;\n\t\tNode x = this.head;\n\t\tint min = Integer.MAX_VALUE;\n\t\twhile(x!=null) {\n\t\t\tif (x.key < min) {\n\t\t\t\tmin = x.key;\n\t\t\t\ty = x;\n\t\t\t}\n\t\t\tx = x.rightSibling;\n\t\t}\n\t\treturn y;\n\t}",
"Object getWorst();",
"public abstract Integer gethourNeed();",
"private static <T> Supplier<T> memoize(Supplier<T> supplier) {\n return null;\n }",
"public MinHeapNode<T> deleMin() {\n\t\tif(!isEmpty()) { \r\n\t\t\tMinHeapNode<T> min = heap[1]; //min node\r\n\t heap[1] = heap[currentSize--]; //move bottom node to root\r\n\t heapDown(1); //move root down\r\n\t return min; \r\n\t } \r\n\t return null; \r\n\t}",
"String lowValue(String comp) { return null; }",
"int getTotalFree();",
"int capacity();",
"int capacity();",
"public E relaxedPeek()\r\n/* 267: */ {\r\n/* 268:529 */ E[] buffer = this.consumerBuffer;\r\n/* 269:530 */ long index = this.consumerIndex;\r\n/* 270:531 */ long mask = this.consumerMask;\r\n/* 271: */ \r\n/* 272:533 */ long offset = LinkedArrayQueueUtil.modifiedCalcElementOffset(index, mask);\r\n/* 273:534 */ Object e = UnsafeRefArrayAccess.lvElement(buffer, offset);\r\n/* 274:535 */ if (e == JUMP) {\r\n/* 275:537 */ return newBufferPeek(getNextBuffer(buffer, mask), index);\r\n/* 276: */ }\r\n/* 277:539 */ return e;\r\n/* 278: */ }",
"static WeakOrderQueue allocate(Recycler.Stack<?> stack, Thread thread)\r\n/* 248: */ {\r\n/* 249:277 */ return reserveSpace(stack.availableSharedCapacity, Recycler.LINK_CAPACITY) ? \r\n/* 250:278 */ newQueue(stack, thread) : null;\r\n/* 251: */ }",
"public int getMaxCacheSizeOnVeryLowDiskSpace() {\n return mMaxCacheSizeOnVeryLowDiskSpace;\n }",
"private static void findLocalMaxOrMin() {\n // Find the integer with no duplicates\n // Priority Queues / Double ended priority queues are efficient O(1) with remove the min / max\n\n Integer[] a = new Integer[]{0,1,2,3,4,5,6,7,8,7,6};\n// int[] a2 = new int[]{5,4,3,2,1,2,3,4};\n\n MinPQ<Integer> minPQ = new MinPQ<Integer>(a);\n\n System.out.print(minPQ.min());\n }",
"private void removePrecious(CacheRepositoryEntry entry)\n {\n try {\n long size = entry.getSize();\n synchronized (_precious) {\n if (_precious.remove(entry.getPnfsId())) {\n _preciousSpace -= size;\n }\n }\n } catch (CacheException e) {\n _log.error(\"failed to get entry size : \" + e.getMessage());\n }\n }",
"@Override\r\n public Entry<K, V> pollFirstEntry() {\n return null;\r\n }",
"public long getMinFree() {\n return params.getMinimumFree() * 1024 * 1024;\n }",
"public static ArrayList<HeapTuple[]> getHeapsUsed(){\n return null;\n }",
"public abstract long mo9746k();",
"private ProblemModel findCheapestNode(){\n\t\tProblemModel ret = unvisitedPM.peek();\n\t\t\n\t\tfor(ProblemModel p : unvisitedPM){ \n\t\t\t//f(s) = depth + cost to make this move\n\t\t\tif(p.getCost() + p.getDepth() <= ret.getCost() + ret.getDepth()) ret = p;\n\t\t}\n\t\tunvisitedPM.remove(ret);\n\t\treturn ret;\n\t}",
"default boolean hasEnoughMemory(long memory){\n return getUnusedMemory() >= memory;\n }",
"@Override\n protected Integer compute() {\n\n\n return null;\n }",
"@org.jetbrains.annotations.Nullable\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public final E removeFirstOrNull() {\n /*\n r11 = this;\n L_0x0000:\n java.lang.Object r0 = r11._cur$internal\n kotlinx.coroutines.internal.LockFreeTaskQueueCore r0 = (kotlinx.coroutines.internal.LockFreeTaskQueueCore) r0\n L_0x0004:\n long r3 = r0._state$internal\n r1 = 1152921504606846976(0x1000000000000000, double:1.2882297539194267E-231)\n long r1 = r1 & r3\n r5 = 0\n int r1 = (r1 > r5 ? 1 : (r1 == r5 ? 0 : -1))\n r7 = 0\n if (r1 == 0) goto L_0x0013\n kotlinx.coroutines.internal.Symbol r7 = kotlinx.coroutines.internal.LockFreeTaskQueueCore.REMOVE_FROZEN\n goto L_0x006d\n L_0x0013:\n kotlinx.coroutines.internal.LockFreeTaskQueueCore$Companion r1 = kotlinx.coroutines.internal.LockFreeTaskQueueCore.Companion\n r5 = 1073741823(0x3fffffff, double:5.304989472E-315)\n long r5 = r5 & r3\n r2 = 0\n long r5 = r5 >> r2\n int r8 = (int) r5\n r5 = 1152921503533105152(0xfffffffc0000000, double:1.2882296003504729E-231)\n long r5 = r5 & r3\n r2 = 30\n long r5 = r5 >> r2\n int r2 = (int) r5\n int r5 = r0.mask\n r2 = r2 & r5\n r6 = r8 & r5\n if (r2 != r6) goto L_0x002e\n goto L_0x006d\n L_0x002e:\n java.util.concurrent.atomic.AtomicReferenceArray r2 = r0.array$internal\n r5 = r5 & r8\n java.lang.Object r9 = r2.get(r5)\n if (r9 != 0) goto L_0x003c\n boolean r1 = r0.singleConsumer\n if (r1 == 0) goto L_0x0004\n goto L_0x006d\n L_0x003c:\n boolean r2 = r9 instanceof kotlinx.coroutines.internal.LockFreeTaskQueueCore.Placeholder\n if (r2 == 0) goto L_0x0041\n goto L_0x006d\n L_0x0041:\n int r2 = r8 + 1\n r5 = 1073741823(0x3fffffff, float:1.9999999)\n r10 = r2 & r5\n java.util.concurrent.atomic.AtomicLongFieldUpdater r2 = kotlinx.coroutines.internal.LockFreeTaskQueueCore._state$FU$internal\n long r5 = r1.updateHead(r3, r10)\n r1 = r2\n r2 = r0\n boolean r1 = r1.compareAndSet(r2, r3, r5)\n if (r1 == 0) goto L_0x005f\n java.util.concurrent.atomic.AtomicReferenceArray r1 = r0.array$internal\n int r2 = r0.mask\n r2 = r2 & r8\n r1.set(r2, r7)\n goto L_0x006c\n L_0x005f:\n boolean r1 = r0.singleConsumer\n if (r1 != 0) goto L_0x0064\n goto L_0x0004\n L_0x0064:\n r1 = r0\n L_0x0065:\n kotlinx.coroutines.internal.LockFreeTaskQueueCore r1 = kotlinx.coroutines.internal.LockFreeTaskQueueCore.access$removeSlowPath(r1, r8, r10)\n if (r1 == 0) goto L_0x006c\n goto L_0x0065\n L_0x006c:\n r7 = r9\n L_0x006d:\n kotlinx.coroutines.internal.Symbol r1 = kotlinx.coroutines.internal.LockFreeTaskQueueCore.REMOVE_FROZEN\n if (r7 == r1) goto L_0x0072\n return r7\n L_0x0072:\n java.util.concurrent.atomic.AtomicReferenceFieldUpdater r1 = kotlinx.coroutines.internal.LockFreeTaskQueue._cur$FU$internal\n kotlinx.coroutines.internal.LockFreeTaskQueueCore r2 = r0.next()\n r1.compareAndSet(r11, r0, r2)\n goto L_0x0000\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlinx.coroutines.internal.LockFreeTaskQueue.removeFirstOrNull():java.lang.Object\");\n }",
"@Test\n public void createLowMemoryIfNeededWithMemberArg_ReturnsNullWhenNotOptimizedForWrite()\n throws Exception {\n createLowMemoryIfNeededWithMemberArg_returnsNull(false, false, member);\n }",
"@Override\n public int getLocalMaxMemory() {\n if (offHeap && !localMaxMemoryExists) {\n int value = computeOffHeapLocalMaxMemory();\n if (localMaxMemoryExists) {\n // real value now exists so set it and return\n localMaxMemory = value;\n }\n }\n checkLocalMaxMemoryExists();\n return localMaxMemory;\n }",
"private Block findFreeBlock(int size) {\n\n // iteration is ordered min ~ max\n for (Block b : freeSpace) {\n if (b.length >= size) \n return b;\n }\n return null;\n }",
"private Node getMinimumOld() {\n Node tmp = null;\n\n // TODO: optimize by putting in 1 list and\n // provide 'starting offset' for remaining nodes to find mimimum\n // note: see new getMinimum method above\n\n if (null != nodeA) {\n tmp = nodeA;\n if (null != nodeB && tmp.data > nodeB.data) {\n tmp = nodeB;\n }\n if (null != nodeC && tmp.data > nodeC.data) {\n tmp = nodeC;\n }\n } else if (null != nodeB) {\n tmp = nodeB;\n if (null != nodeC && tmp.data > nodeC.data) {\n tmp = nodeC;\n }\n } else if (null != nodeC) {\n tmp = nodeC;\n }\n\n // System.out.println(tmp);\n\n if (null == tmp ) {\n // terminating condition\n return null;\n }\n\n if (tmp.equals(nodeA)) {\n nodeA = nodeA.next;\n }\n if (tmp.equals(nodeB)) {\n nodeB = nodeB.next;\n }\n if (tmp.equals(nodeC)) {\n nodeC = nodeC.next;\n }\n\n System.out.println(tmp.data);\n\n return tmp;\n }",
"int getMaximumCacheSize();",
"public abstract int getPageFreeSpace(int bucket);",
"public T peek() {\n\t if (size==0)\n\t return null;\n\t else return (T) pq[0];\n }",
"public static Object PQremove(Object... arg) {\nUNSUPPORTED(\"7qyamsdkopruu23xaccl0bcd2\"); // snode*\nUNSUPPORTED(\"7j2q3l5jxp3w7ags9kr29frzn\"); // PQremove (void)\nUNSUPPORTED(\"erg9i1970wdri39osu8hx2a6e\"); // {\nUNSUPPORTED(\"5cu5gkv7lbctrvkomvhsw0j1o\"); // snode* n;\nUNSUPPORTED(\"6078p2rnfog3yn8o3qzs373e2\"); // if (PQcnt) {\nUNSUPPORTED(\"6a46qhtz2fbsmmd370t7fv44f\"); // n = pq[1];\nUNSUPPORTED(\"8s70ivnxixrmkvd1lnojuxkfn\"); // pq[1] = pq[PQcnt];\nUNSUPPORTED(\"7o53ly4ejd7hkmf5tx564eb0x\"); // PQcnt--;\nUNSUPPORTED(\"4e6w4ct22nty5htys3c0346u1\"); // if (PQcnt) PQdownheap (1);\nUNSUPPORTED(\"26oeamvax1w8xlf1fp3w3uwbz\"); // PQcheck();\nUNSUPPORTED(\"69hc24ic55i66g8tf2ne42327\"); // return n;\nUNSUPPORTED(\"7ijd6pszsxnoopppf6xwo8wdl\"); // }\nUNSUPPORTED(\"7lrkjjj5lce2uf86c1y9o9yoa\"); // else return 0;\nUNSUPPORTED(\"c24nfmv9i7o5eoqaymbibp7m7\"); // }\n\nthrow new UnsupportedOperationException();\n}",
"private static File getWeededOut() {\n\t\tFile[] files = cacheFolder.listFiles();\n\t\tif (files != null) {\n\t\t\tint count = files.length;\n\t\t\tif (count > CACHE_CAPACITY) {\n\n\t\t\t\tFile ret = files[0];\n\n\t\t\t\tfor (File bean : files) {\n\n\t\t\t\t\tif (ret.lastModified() > bean.lastModified())\n\t\t\t\t\t\tret = bean;\n\t\t\t\t}\n\t\t\t\tfiles = null;\n\t\t\t\treturn ret;\n\t\t\t} else {\n\t\t\t\tfiles = null;\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t}\n\t\tfiles = null;\n\t\treturn null;\n\t}",
"int top();",
"public int getMaxCacheSizeOnLowDiskSpace() {\n return mMaxCacheSizeOnLowDiskSpace;\n }",
"String highValue(String comp) { return null; }",
"public Unsafe method_4123() {\n return null;\n }",
"public boolean isInNativeHeap();",
"public T top() throws StackUnderflowException;",
"public abstract BigInteger getUseed();",
"@Override\n\tpublic long getMaxCacheSize() {\n\t\treturn 0;\n\t}",
"@Override\r\n public CustomProcess peekBest() {\r\n if (data[0] == null || isEmpty()) {\r\n throw new NoSuchElementException(\"queue is empty\");\r\n }\r\n return data[0];\r\n }",
"private long getMemoryFootprint() {\n Runtime runtime = Runtime.getRuntime();\n long memAfter = runtime.totalMemory() - runtime.freeMemory();\n long memBefore = memAfter + 1;\n while (memBefore != memAfter) {\n memBefore = memAfter;\n System.gc();\n memAfter = runtime.totalMemory() - runtime.freeMemory();\n }\n return memAfter;\n }",
"abstract int getMaxMemoryUsage();",
"public E peek(){\r\n if(isEmpty())\r\n return null;\r\n\r\n return queue[currentSize-1]; //return the object without removing it\r\n }",
"public long memory() {\n\treturn 0;\n }"
] |
[
"0.6135795",
"0.61110085",
"0.59644145",
"0.5883754",
"0.5865811",
"0.58456814",
"0.5796659",
"0.5697531",
"0.5693747",
"0.5662287",
"0.5652031",
"0.56482625",
"0.5583307",
"0.55773276",
"0.5536762",
"0.5536762",
"0.55074245",
"0.55042934",
"0.5499135",
"0.5497112",
"0.5493934",
"0.5482271",
"0.54668623",
"0.5445492",
"0.5441772",
"0.5437103",
"0.5430922",
"0.5424151",
"0.54126346",
"0.5407042",
"0.5395802",
"0.53891945",
"0.53891265",
"0.5379164",
"0.53758144",
"0.53717244",
"0.5367887",
"0.53638065",
"0.5362804",
"0.5358434",
"0.53540087",
"0.53540087",
"0.5353739",
"0.53287935",
"0.53104675",
"0.5308127",
"0.5306463",
"0.5301539",
"0.5301539",
"0.5301251",
"0.529868",
"0.5284353",
"0.52749366",
"0.52681196",
"0.52511466",
"0.5251097",
"0.521789",
"0.52175593",
"0.521215",
"0.52103406",
"0.5207038",
"0.52062315",
"0.5172423",
"0.5171458",
"0.5169698",
"0.5169698",
"0.51642805",
"0.5163413",
"0.51586086",
"0.51359564",
"0.51205665",
"0.5110888",
"0.51101494",
"0.51094776",
"0.5106338",
"0.5106114",
"0.5101853",
"0.5099386",
"0.5097987",
"0.509431",
"0.5091786",
"0.5088046",
"0.5078283",
"0.5077815",
"0.5076687",
"0.5071896",
"0.50684184",
"0.5068349",
"0.5066684",
"0.506656",
"0.5055507",
"0.5051963",
"0.50515515",
"0.5049503",
"0.50477946",
"0.50368893",
"0.503345",
"0.50332314",
"0.50331116",
"0.5027827",
"0.5025055"
] |
0.0
|
-1
|
TODO Autogenerated method stub
|
public static void main(String[] args) {
int s = somme (458);
System.out.println(s);
System.out.println(estDiv3(451));
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
] |
[
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
] |
0.0
|
-1
|
equivalent to new JScrollPane(view) except uses a LazyViewport
|
public static JScrollPane createLazyScrollPaneFor(Component view) {
LazyViewport vp = new LazyViewport();
vp.setView(view);
JScrollPane scrollpane = new JScrollPane();
scrollpane.setViewport(vp);
return scrollpane;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private void createScrollPane() {\n\n\t\t// --------------------------------------------\n\t\t// first create the client\n\t\t// --------------------------------------------\n\t\tclient = new Client(this);\n//\t\tclient.setTransferHandler(PM_TransferHandler.getInstance());\n\t\tfocusPanel = new PM_FocusPanel(null, this, this);\n\n\t\tif (config.isNurLesen()) {\n\t\t\tclient.setBackground(PM_WindowBase.COLOR_NUR_LESEN);\n\t\t} else {\n\t\t\tclient.setBackground(PM_WindowBase.COLOR_BACKGROUND);\n\t\t}\n\t\tclient.setLayout(null); // I do it myself\n\n\t\tclient.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t// System.out.println(\"Inndex View: mouseClicked: requestFocusInWindow aufrufen\");\n\t\t\t\trequestFocusInWindow();\n\t\t\t}\n\t\t});\n\n\t\t// ------------------------------------------\n\t\t// now the scrollpane\n\t\t// ------------------------------------------\n\t\tscrollPane = new JScrollPane(client);\n\t\tindexViewPort = scrollPane.getViewport();\n\n\t\tscrollPane.setWheelScrollingEnabled(false);\n\n\t\t//\t\t \n\t\tscrollPane\n\t\t\t\t.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\n\t\t// Achtung: VERTICAL_SCROLLBAR_ALWAYS, da sonst unterschiedliche\n\t\t// ExtendSize und\n\t\t// damit funktioniert der stateChanged nicht mehr.\n\t\tscrollPane\n\t\t\t\t.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);\n\t\t// ----------------------------------------------------------------------\n\t\t// MouseWheelListener\n\t\t// ----------------------------------------------------------------------\n\t\tMouseWheelListener mwl = new MouseWheelListener() {\n\n\t\t\tpublic void mouseWheelMoved(MouseWheelEvent me) {\n\t\t\t\tmouseWheelChanged(me);\n\t\t\t}\n\t\t};\n\t\tscrollPane.addMouseWheelListener(mwl);\n\n\t\t// ----------------------------------------------------------------------\n\t\t// ChangeListener\n\t\t// ----------------------------------------------------------------------\n\t\tChangeListener cl = new ChangeListener() {\n\t\t\tpublic void stateChanged(ChangeEvent ce) {\n\t\t\t\t// viewPortSizeChanged(ce);\n\t\t\t}\n\t\t};\n\t\tscrollPane.getViewport().addChangeListener(cl);\n\n\t\t// addComponentListener\n\t\tscrollPane.getViewport().addComponentListener(new ComponentAdapter() {\n\t\t\t@Override\n\t\t\tpublic void componentResized(ComponentEvent e) {\n\t\t\t\tviewPortChanged(e);\n\t\t\t}\n\t\t});\n\n\t\t// addAdjustmentListener(AdjustmentListener l)\n\t\t// Scrollbar AdjustmentListener\n\t\tJScrollBar sb = scrollPane.getVerticalScrollBar();\n\t\tsb.addAdjustmentListener(new AdjustmentListener() {\n\n\t\t\t \n\t\t\tpublic void adjustmentValueChanged(AdjustmentEvent e) {\n\t\t\t\tverticalScrollBarChanged(e);\n\n\t\t\t}\n\n\t\t});\n\n\t\t// oldViewPortSize = indexViewPort.getExtentSize();\n\t\t\n\t\t\n\t\t\n\t\t\n\t}",
"public AccessibleJScrollPane() {\n/* 1470 */ resetViewPort();\n/* */ \n/* */ \n/* */ \n/* 1474 */ JScrollBar jScrollBar = JScrollPane.this.getHorizontalScrollBar();\n/* 1475 */ if (jScrollBar != null) {\n/* 1476 */ setScrollBarRelations(jScrollBar);\n/* */ }\n/* 1478 */ jScrollBar = JScrollPane.this.getVerticalScrollBar();\n/* 1479 */ if (jScrollBar != null) {\n/* 1480 */ setScrollBarRelations(jScrollBar);\n/* */ }\n/* */ }",
"private JScrollPane getJScrollPane() {\r\n\t\tif (jScrollPane == null) {\r\n\t\t\tjScrollPane = new JScrollPane();\r\n\t\t\tjScrollPane.setPreferredSize(new Dimension(259, 60));\r\n\t\t\tjScrollPane.setViewportView(getPayloads());\r\n\t\t}\r\n\t\treturn jScrollPane;\r\n\t}",
"private JScrollPane getJScrollPane() {\r\n if (jScrollPane == null) {\r\n jScrollPane = new JScrollPane();\r\n jScrollPane.setViewportView(getJListAnimals());\r\n }\r\n return jScrollPane;\r\n }",
"public JScrollPane getJScrollPane() { return jScrollPane; }",
"public JScrollPane() {\n/* 351 */ this((Component)null, 20, 30);\n/* */ }",
"private JScrollPane getJScrollPane() {\r\n\t\tif (jScrollPane == null) {\r\n\t\t\tjScrollPane = new JScrollPane();\r\n\t\t\tjScrollPane.setBounds(new Rectangle(7, 18, 638, 65));\r\n\t\t\tjScrollPane.setViewportView(getJTextFieldData());\r\n\t\t}\r\n\t\treturn jScrollPane;\r\n\t}",
"private JScrollPane getJScrollPane(String s) {\n if (jScrollPane == null) {\n jScrollPane = new JScrollPane();\n jScrollPane.setPreferredSize(new java.awt.Dimension(600, 200)); // Generated\n jScrollPane.setViewportView(getJTextPane(s)); // Generated\n }\n return jScrollPane;\n }",
"public void initScrollpane()\r\n \t{\n \t\tthis.panel.setPreferredSize( new Dimension( this.map.rows() * 32, this.map.cols() * 32 ) );\r\n \t\t\r\n \t\tthis.scroll.setViewportView( this.panel );\r\n \t}",
"private javax.swing.JScrollPane getJScrollPane() {\n\t\tif(jScrollPane == null) {\n\t\t\tjScrollPane = new javax.swing.JScrollPane();\n\t\t\tjScrollPane.setViewportView(getJTablePlayList());\n\t\t\tjScrollPane.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.SoftBevelBorder.LOWERED));\n\t\t\tjScrollPane.setPreferredSize(new java.awt.Dimension(275,35));\n\t\t}\n\t\treturn jScrollPane;\n\t}",
"private JScrollPane getJScrollPane() {\n\t\tif (jScrollPane == null) {\n\t\t\tjScrollPane = new JScrollPane();\n\t\t\tjScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);\n\t\t}\n\t\treturn jScrollPane;\n\t}",
"private JScrollPane getJScrollPane() {\n if (jScrollPane == null) {\n jScrollPane = new JScrollPane();\n jScrollPane.setViewportView(getGridmapTable());\n }\n return jScrollPane;\n }",
"private JScrollPane getJScrollPane( )\n {\n if( jScrollPane == null )\n {\n jScrollPane = new JScrollPane( );\n jScrollPane.setHorizontalScrollBarPolicy( JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS );\n jScrollPane.setViewportView( getTreeMenu( ) );\n }\n return jScrollPane;\n }",
"private JScrollPane getJScrollPane() {\n\t\tif (jScrollPane == null) {\n\t\t\tjScrollPane = new JScrollPane();\n\t\t\tjScrollPane.setBounds(new Rectangle(8, 20, 445, 225));\n\t\t\tjScrollPane.setViewportView(getJtableOutput());\n\t\t}\n\t\treturn jScrollPane;\n\t}",
"private javax.swing.JScrollPane getJScrollPane() {\n\t\tif(jScrollPane == null) {\n\t\t\tjScrollPane = new javax.swing.JScrollPane();\n\t\t\tjScrollPane.setViewportView(getJTableTitular());\n\t\t\tjScrollPane.setPreferredSize(new java.awt.Dimension(647,242));\n\t\t\tjScrollPane.setBackground(new java.awt.Color(242,242,237));\n\t\t}\n\t\treturn jScrollPane;\n\t}",
"private JScrollPane getJScrollPane()\n {\n if( jScrollPane == null )\n {\n jScrollPane = new JScrollPane();\n jScrollPane.setViewportView( getM_areaRecieved() ); // Generated\n }\n return jScrollPane;\n }",
"private JScrollPane getJScrollPane() {\n\t\tif (jScrollPane == null) {\n\t\t\tjScrollPane = new JScrollPane();\n\t\t\tjScrollPane.setViewportView(getJTable());\n\t\t}\n\t\treturn jScrollPane;\n\t}",
"public JScrollPane(Component paramComponent) {\n/* 323 */ this(paramComponent, 20, 30);\n/* */ }",
"private void initScrollPane() {\n\n MyScrollPane = new JScrollPane(MyTextArea);\n super.addCenter(MyScrollPane);\n\n }",
"private JScrollPane getDetailScrollPane() {\n if (detailScrollPane == null) {\n detailScrollPane = new JScrollPane();\n detailScrollPane.setViewportView(getDetailPane());\n }\n return detailScrollPane;\n }",
"public WordScrollPane() {\n scrollPane = new JScrollPane();\n }",
"private JScrollPane getJScrollPane() {\r\n\t\tif (jScrollPane == null) {\r\n\t\t\tjScrollPane = new JScrollPane();\r\n\t\t\tjScrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);\r\n\t\t\tjScrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);\r\n\t\t\tjScrollPane.setViewportView(getJTable());\r\n\t\t}\r\n\t\treturn jScrollPane;\r\n\t}",
"private javax.swing.JScrollPane getJScrollPane() {\n\t\tif(jScrollPane == null) {\n\t\t\tjScrollPane = new javax.swing.JScrollPane();\n\t\t\tjScrollPane.setViewportView(getJTextPane());\n\t\t\tjScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);\n\t\t}\n\t\treturn jScrollPane;\n\t}",
"private JScrollPane getJScrollPane1() {\r\n\t\tif (jScrollPane1 == null) {\r\n\t\t\tjScrollPane1 = new JScrollPane();\r\n\t\t\tjScrollPane1.setPreferredSize(new Dimension(259, 60));\r\n\t\t\tjScrollPane1.setViewportView(getControlledBy());\r\n\t\t}\r\n\t\treturn jScrollPane1;\r\n\t}",
"private JScrollPane setInnerScrollPane() {\n JScrollPane jsp = new JScrollPane();\n jsp.setViewportView(setOrderList());\n return jsp;\n }",
"private JScrollPane getJScrollPaneVar() {\r\n\t\tif (jScrollPaneVar == null) {\r\n\t\t\tjScrollPaneVar = new JScrollPane();\r\n\t\t\tjScrollPaneVar.setBounds(new Rectangle(7, 18, 638, 50));\r\n\t\t\tjScrollPaneVar.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_NEVER);\r\n\t\t\tjScrollPaneVar.setViewportView(getJTableVar());\r\n\t\t}\r\n\t\treturn jScrollPaneVar;\r\n\t}",
"QtScrollPanePeer (QtToolkit toolkit, ScrollPane target)\n {\n\tsuper (toolkit, target);\n scrollbarDisplayPolicy = target.getScrollbarDisplayPolicy();\n }",
"private JScrollPane getScrollPane() {\n\t\tif (scrollPane == null) {\n\t\t\tscrollPane = new JScrollPane();\n\t\t\tscrollPane.setViewportView(getTable());\n\t\t}\n\t\treturn scrollPane;\n\t}",
"private JScrollPane getJScrollPane2() {\r\n\t\tif (jScrollPane2 == null) {\r\n\t\t\tjScrollPane2 = new JScrollPane();\r\n\t\t\tjScrollPane2.setViewportView(getImagePane());\r\n\t\t}\r\n\t\treturn jScrollPane2;\r\n\t}",
"public AutoScrollPane() {\n this(null);\n }",
"public JScrollPane(Component paramComponent, int paramInt1, int paramInt2) {\n/* 295 */ setLayout(new ScrollPaneLayout.UIResource());\n/* 296 */ setVerticalScrollBarPolicy(paramInt1);\n/* 297 */ setHorizontalScrollBarPolicy(paramInt2);\n/* 298 */ setViewport(createViewport());\n/* 299 */ setVerticalScrollBar(createVerticalScrollBar());\n/* 300 */ setHorizontalScrollBar(createHorizontalScrollBar());\n/* 301 */ if (paramComponent != null) {\n/* 302 */ setViewportView(paramComponent);\n/* */ }\n/* 304 */ setUIProperty(\"opaque\", Boolean.valueOf(true));\n/* 305 */ updateUI();\n/* */ \n/* 307 */ if (!getComponentOrientation().isLeftToRight()) {\n/* 308 */ this.viewport.setViewPosition(new Point(2147483647, 0));\n/* */ }\n/* */ }",
"protected JViewport createViewport() {\n/* 927 */ return new JViewport();\n/* */ }",
"private javax.swing.JScrollPane getJScrollPaneLicense() {\n\n if (JScrollPaneLicense == null) {\n try {\n JScrollPaneLicense = new javax.swing.JScrollPane();\n JScrollPaneLicense.setName(\"JScrollPaneLicense\");\n getJScrollPaneLicense().setViewportView(getJTextAreaLicense());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return JScrollPaneLicense;\n}",
"private JScrollPane getJScrollPaneListaCamaras() {\r\n\t\tif (jScrollPaneListaCamaras == null) \r\n\t\t\tjScrollPaneListaCamaras = new JScrollPane();\r\n\t\t\t\t\r\n\t\tjScrollPaneListaCamaras.setViewportView(getJListCamaras());\r\n\t\t\t\t\r\n\t\treturn jScrollPaneListaCamaras;\r\n\t}",
"private JScrollPane getResultScrollPane() {\r\n\t\tif (resultScrollPane == null) {\r\n\t\t\tresultScrollPane = new JScrollPane();\r\n\t\t\tresultScrollPane.setPreferredSize(new Dimension(3, 60));\r\n\t\t\tresultScrollPane.setViewportView(getResultTextPane());\r\n\t\t}\r\n\t\treturn resultScrollPane;\r\n\t}",
"public void createScrollPanel(JPanel panel) {\n scrollPanel = new JScrollPane(panel, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);\n scrollPanel.setPreferredSize(new Dimension(710, 600));\n }",
"private void doBuildScroller() {\r\n\t\t\r\n\t}",
"private JPanel createScrollPaneProducts() {\n\n JPanel panelScroll = new JPanel(new GridLayout());\n panelScroll.setBorder(BorderFactory.createTitledBorder(PADDING_BORDER,\n \"Products List: \", TitledBorder.LEFT, TitledBorder.TOP));\n\n this.productsList = this.demonstrationApplicationController.getProductsList();\n this.jListProduct = new JList(new ModelListSelectable(this.productsList));\n JScrollPane scrollPane = new JScrollPane(jListProduct);\n scrollPane.setBorder(PADDING_BORDER);\n\n panelScroll.add(scrollPane);\n\n return panelScroll;\n }",
"private ScrollPane scrollPane() {\r\n return (ScrollPane) this.getParent();\r\n }",
"public JScrollPane vytvorList() {\n listModel = new DefaultListModel();\n //listModel.addElement(\"Hra: 0 DUMMY\");\n\n listHer = new JList(listModel);\n listHer.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n listHer.setSelectedIndex(0);\n listHer.addListSelectionListener(this);\n listHer.setVisibleRowCount(7);\n listHer.setVisible(true);\n\n JScrollPane listScrollPane = new JScrollPane(listHer);\n listScrollPane.setPreferredSize(new Dimension(250, 300));\n listScrollPane.setVisible(true);\n listScrollPane.setName(\"hry\");\n\n return listScrollPane;\n }",
"@Override public void computeScroll() {\n super.computeScroll();\n if (scroller != null) {\n scroller.computeScroll();\n }\n }",
"private JScrollPane getWordScrollPane() {\r\n\t\tif (wordScrollPane == null) {\r\n\t\t\twordScrollPane = new JScrollPane();\r\n//\t\t\twordScrollPane.setPreferredSize(new Dimension(2, 80));\r\n\t\t\twordScrollPane.setViewportView(getWordTextPane());\r\n\t\t}\r\n\t\treturn wordScrollPane;\r\n\t}",
"private void initComponents() {\n\n jScrollPane = new javax.swing.JScrollPane();\n jPanelContent = new javax.swing.JPanel();\n\n setPreferredSize(new java.awt.Dimension(300, 600));\n\n jScrollPane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);\n\n jPanelContent.setLayout(new java.awt.GridLayout(1, 0));\n jScrollPane.setViewportView(jPanelContent);\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 .addComponent(jScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 523, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE)\n );\n }",
"private JScrollPane getTestAreaScrollPane() {\r\n\t\tif (testAreaScrollPane == null) {\r\n\t\t\ttry {\r\n\t\t\t\ttestAreaScrollPane = new JScrollPane();\r\n\t\t\t\ttestAreaScrollPane.setVisible(false);\r\n\t\t\t\ttestAreaScrollPane.setViewportView(getDetailsTextArea());\r\n\t\t\t} catch (java.lang.Throwable e) {\r\n\t\t\t\t// TODO: Something\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn testAreaScrollPane;\r\n\t}",
"private JScrollPane getScrollCategories() {\n\t\tif (scrollCategories == null) {\n\t\t\tscrollCategories = new JScrollPane();\n\t\t\tscrollCategories.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.RAISED));\n\t\t\tscrollCategories.setViewportView(getListCategories());\n\t\t}\n\t\treturn scrollCategories;\n\t}",
"private JPanel createScrollPaneKeyWords() {\n\n JPanel panelScroll = new JPanel(new GridLayout());\n panelScroll.setBorder(BorderFactory.createTitledBorder(PADDING_BORDER,\n \"Keywords List \", TitledBorder.LEFT, TitledBorder.TOP));\n\n this.keywordList = demonstrationApplicationController.getKeywordsList();\n this.jListKeyword = new JList(new ModelListSelectable(keywordList));\n\n JScrollPane scrollPane = new JScrollPane(jListKeyword);\n scrollPane.setBorder(PADDING_BORDER);\n\n panelScroll.add(scrollPane);\n\n return panelScroll;\n }",
"public JScrollPane getScrollPane() {\n // Create the nodes.\n PopupTree tree = treeComponent.createLiveRearrangerTree();\n\n /** only expand node where cursor is located. Inspect all rows; deepest node that covers\n * cursor location is the best to expand. (Parent node like a class contains a method where\n * the cursor is; we want to expand the method, not just the class.\n */\n int expandRow = -1;\n for (int i = 0; i < tree.getRowCount(); i++) {\n DefaultMutableTreeNode node = (DefaultMutableTreeNode)tree.getPathForRow(i).getLastPathComponent();\n if (node.getUserObject() instanceof RangeEntry) {\n RangeEntry re = (RangeEntry)node.getUserObject();\n if (re.getStart().getTextRange().getStartOffset() <= cursorOffset &&\n re.getEnd().getTextRange().getEndOffset() >= cursorOffset)\n {\n LOG.debug(\n \"node \" +\n i +\n \" contained cursor (offset=\" +\n cursorOffset +\n \"): \" + re\n );\n expandRow = i;\n }\n }\n else {\n LOG.debug(\"expand node candidate not RangeEntry; node=\" + node);\n }\n }\n if (expandRow >= 0) {\n LOG.debug(\"expand row \" + expandRow);\n tree.expandRow(expandRow);\n }\n JScrollPane treeView = new JScrollPane(tree);\n treeView.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);\n treeView.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);\n Dimension d = treeView.getPreferredSize();\n if (d.width < 400) d.width = 400;\n if (d.height < 300) d.height = 300;\n treeView.setPreferredSize(d);\n tdt = new TreeDropTarget(tree, this);\n tds = new TreeDragSource(tree, DnDConstants.ACTION_MOVE, tdt);\n return treeView;\n }",
"private JScrollPane getAnalyzaScroll() {\n\t\tif (analyzaScroll == null) {\n\t\t\tanalyzaScroll = new JScrollPane(analyzaList);\n\t\t\tanalyzaScroll.setBounds(new Rectangle(125, 115, 297, 159));\n\t\t}\n\t\treturn analyzaScroll;\n\t}",
"private void initComponents() {\n\n jScrollPane1 = new javax.swing.JScrollPane();\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 .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)\n );\n }",
"private JScrollPane makeScrollPane() {\n textPane = new JTextPane();\n textPane.setCaretPosition(0);\n textPane.setMargin(new Insets(5, 5, 5, 5));\n StyledDocument styledDoc = textPane.getStyledDocument();\n if (styledDoc instanceof AbstractDocument) {\n doc = (AbstractDocument) styledDoc;\n doc.setDocumentFilter(new ColorFilter());\n } else {\n System.err.println(\"Text pane's document isn't an AbstractDocument!\");\n System.exit(-1);\n }\n JScrollPane jsp = new JScrollPane(textPane);\n tln = new TextLineNumber(textPane, name);\n jsp.setRowHeaderView(tln);\n return jsp;\n }",
"@Override\n public boolean scrolled(int arg0) {\n return false;\n }",
"public void setupScroll() {\n\t\ttabs = new JLayeredPane();\n\t\tscroll = new JScrollPane(panel);\n\t\tchampions = new ArrayList<JButton>();\n\t\taddChampions(panel, CHAMPIONLIST);\n\t\ttabs = new JLayeredPane();\n\t\tURL url = getClass().getResource(\".coredata/background/ChampionsTab.png\");\n\t\tImageIcon tabIcon = new ImageIcon(Toolkit.getDefaultToolkit().getImage(url));\n\t\ttabs.setPreferredSize(new Dimension(724, 53));\n\t\tJLabel championTab = new JLabel();\n\t\tchampionTab.setIcon(tabIcon);\n\t\ttabs.add(championTab, 50);\n\t\tchampionTab.setBounds(0, 0, tabIcon.getIconWidth(), tabIcon.getIconHeight());\n\t\tsearch = new JTextField(10);\n\t\tsearch.addFocusListener(new FocusListener() {\n\t\t\tpublic void focusGained(FocusEvent e) {search.setText(\"\");}\n\t\t\tpublic void focusLost(FocusEvent e) {}\n\t\t});\n\t\ttabs.add(search, 1000);\n\t\tsearch.setBounds(600, 10, 100, 25);\n\t}",
"public JScrollPane(int paramInt1, int paramInt2) {\n/* 342 */ this((Component)null, paramInt1, paramInt2);\n/* */ }",
"public JScrollBar createVerticalScrollBar() {\n/* 873 */ return new ScrollBar(1);\n/* */ }",
"private void createAndInitScrollingImage() {\r\n\t\tif (this.scrollPane != null) {\r\n\t\t\tthis.pictureFrame.getContentPane().remove(this.scrollPane);\r\n\r\n }\r\n\r\n\t\tthis.scrollPane = new JScrollPane();\r\n\t\tthis.pictureFrame.getContentPane().add(this.scrollPane, BorderLayout.CENTER);\r\n\t\tthis.pictureFrame.validate();\r\n\t}",
"public void makeScrollable() {\n if (touchScrollHandler == null) {\n touchScrollHandler = TouchScrollDelegate.enableTouchScrolling(this);\n }\n touchScrollHandler.addElement(contentNode);\n }",
"private JPanel createScrollPaneDemonstrations() {\n\n JPanel panelScroll = new JPanel(new GridLayout());\n panelScroll.setBorder(BorderFactory.createTitledBorder(PADDING_BORDER,\n \"Select the desired demonstrations:\", TitledBorder.LEFT, TitledBorder.TOP));\n modelDemonstration = new ModelTableDemonstrationsList(demonstrationsList);\n demonstrationsListJTable = new JTable(modelDemonstration);\n demonstrationsListJTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);\n demonstrationsListJTable.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n //demonstrationApplicationController.newDemonstrationApplication(((Demonstration)modelDemonstration.getValueAt(demonstrationsListJTable.getSelectedRow(), demonstrationsListJTable.getSelectedColumn())));\n }\n });\n\n JScrollPane scrollPane = new JScrollPane(demonstrationsListJTable);\n scrollPane.setBorder(PADDING_BORDER);\n\n panelScroll.setMinimumSize(scrollPane.getMinimumSize());\n panelScroll.add(scrollPane);\n\n return panelScroll;\n }",
"protected JScrollPane getDataScrollPane() {\n return dataScrollPane;\n }",
"private JScrollBar getJScrollBar() {\r\n\t\tif (jScrollBar == null) {\r\n\t\t\tjScrollBar = new JScrollBar();\r\n\t\t\tjScrollBar.setBounds(new Rectangle(591, 127, 17, 333));\r\n\t\t}\r\n\t\treturn jScrollBar;\r\n\t}",
"private JScrollPane getConsoleScroll() {\r\n\t\tif (consoleScroll == null) {\r\n\t\t\tconsoleScroll = new JScrollPane();\r\n\t\t\tconsoleScroll.setViewportView(getConsole());\r\n\t\t}\r\n\t\treturn consoleScroll;\r\n\t}",
"public JScrollPane getCurrent() {\n return scrollPane;\n }",
"public interface ScrollPanel<T> {\n /**\n * Moves the viewport so that {@code location} is at the viewport top.\n *\n * @param location content-space location to appear at the top of the\n * viewport.\n */\n void moveTo(double location);\n\n /** @return the viewport extent of this scroller. */\n Extent getViewport();\n\n /** @return the content extent of this scroller. */\n Extent getContent();\n\n /** @return the extent of a view within this panel. */\n Extent extentOf(T view);\n\n}",
"public JViewport getViewport() {\n/* 938 */ return this.viewport;\n/* */ }",
"private JScrollPane getJPanel_table_room() {\n\t\tif (jScrollPane_table_room == null) {\n\t\t\tjScrollPane_table_room = new JScrollPane();\n\t\t\tjScrollPane_table_room.setName(\"jScrollPane_table_room\");\n\t\t\tjScrollPane_table_room.setViewportView(getJTable_room());\n\t\t\tjScrollPane_table_room.setFont(new Font(\"Dialog\", Font.PLAIN, 14));\n\n\t\t}\n\t\treturn jScrollPane_table_room;\n\t}",
"private void initialize() {\r\n\t\tSpringLayout springLayout = new SpringLayout();\r\n\t\tthis.setLayout(springLayout);\r\n\r\n\t\tcoi = new ContenedorOfertasInterno(gui);\r\n\r\n\t\tscrollPane = new JScrollPane(coi, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,\r\n\t\t\t\tJScrollPane.HORIZONTAL_SCROLLBAR_NEVER);\r\n\t\tscrollPane.getVerticalScrollBar().setUI(new ThinSolidScrollBarUi(7));\r\n\t\tscrollPane.getVerticalScrollBar().setUnitIncrement(16);\r\n\t\tscrollPane.setPreferredSize(new Dimension(1006, 563));\r\n\t\tscrollPane.setBackground(Color.BLUE);\r\n\r\n\t\tthis.add(scrollPane);\r\n\t\tthis.setLayer(scrollPane, 1);\r\n\r\n\t}",
"private JScrollPane getJScrollPaneTables() {\r\n\t\tif (jScrollPaneTables == null) {\r\n\t\t\tjScrollPaneTables = new JScrollPane();\r\n\t\t\tjScrollPaneTables.setBounds(new Rectangle(90, 115, 239, 140));\r\n\t\t\tjScrollPaneTables.setViewportView(getJListTables());\r\n\t\t}\r\n\t\treturn jScrollPaneTables;\r\n\t}",
"public JScrollBar createHorizontalScrollBar() {\n/* 814 */ return new ScrollBar(0);\n/* */ }",
"private JScrollPane getJPanel_table_member() {\n\t\tif (jScrollPane_table_member == null) {\n\t\t\tjScrollPane_table_member = new JScrollPane();\n\t\t\tjScrollPane_table_member.setName(\"jScrollPane_table_member\");\n\t\t\tjScrollPane_table_member.setViewportView(getJTable_member());\n\t\t\tjScrollPane_table_member.setFont(new Font(\"Dialog\", Font.PLAIN, 14));\n\t\t}\n\t\treturn jScrollPane_table_member;\n\t}",
"private JScrollPane getScrollPaneDataOrganizer(){\n if (this.scrollPaneDataOrganizer == null){\n scrollPaneDataOrganizer = new JScrollPane(getDataTable());\n scrollPaneDataOrganizer.setBounds(0, panelMenuData.getHeight(), panelDataset.getWidth(), panelDataset.getHeight());\n }\n return this.scrollPaneDataOrganizer ;\n }",
"public static void install(JScrollPane pane) {\n pane.addMouseWheelListener(new Listener(pane));\n }",
"private void initComponents() {\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tsetBounds(100, 100, 987, 717);\n\t\tcontentPane = new JPanel();\n\t\tcontentPane.setBorder(new EmptyBorder(5, 5, 5, 5));\n\t\tsetContentPane(contentPane);\n\t\tcontentPane.setLayout(null);\n\n\t\tJPanel panel = new JPanel();\n\t\tpanel.setBounds(0, 0, 189, 678);\n\t\tcontentPane.add(panel);\n\n\t\tJLabel label = new JLabel();\n\t\tlabel.setText(\"货 物\");\n\t\tlabel.setFont(new Font(\"微软雅黑\", Font.PLAIN, 14));\n\n\t\tJScrollPane scrollPane = new JScrollPane();\n\t\tGroupLayout gl_panel = new GroupLayout(panel);\n\t\tgl_panel.setHorizontalGroup(gl_panel\n\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(\n\t\t\t\t\t\tgl_panel.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tgl_panel.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgl_panel.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(71)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgl_panel.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addContainerGap()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tscrollPane,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t160,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)))\n\t\t\t\t\t\t\t\t.addContainerGap()));\n\t\tgl_panel.setVerticalGroup(gl_panel.createParallelGroup(\n\t\t\t\tAlignment.LEADING).addGroup(\n\t\t\t\tgl_panel.createSequentialGroup()\n\t\t\t\t\t\t.addContainerGap()\n\t\t\t\t\t\t.addComponent(label)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(scrollPane, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t613, Short.MAX_VALUE).addContainerGap()));\n\n\t\tsaleGoodjList = new JList();\n\t\tscrollPane.setViewportView(saleGoodjList);\n\t\tpanel.setLayout(gl_panel);\n\n\t\tscrollPane_1 = new JScrollPane();\n\t\tscrollPane_1.setBounds(199, 498, 764, 180);\n\t\tcontentPane.add(scrollPane_1);\n\n\t\tsaleTable = new JTable();\n\t\t// saleTable.setModel();\n\t\tsaleTable.setToolTipText(\"窗帘\");\n\t\tscrollPane_1.setViewportView(saleTable);\n\n\t\tJLabel saleTotal = new JLabel(\"总价:\");\n\t\tsaleTotal.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tsaleTotal.setBounds(209, 199, 45, 25);\n\t\tcontentPane.add(saleTotal);\n\n\t\tJLabel label_8 = new JLabel(\"\");\n\t\tlabel_8.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tlabel_8.setBounds(253, 643, 54, 20);\n\t\tcontentPane.add(label_8);\n\n\t\tJPanel panel_1 = new JPanel();\n\t\tpanel_1.setBorder(new TitledBorder(null, \"\\u5BA2\\u6237\\u4FE1\\u606F\",\n\t\t\t\tTitledBorder.LEADING, TitledBorder.TOP, null, null));\n\t\tpanel_1.setBounds(199, 10, 480, 115);\n\t\tcontentPane.add(panel_1);\n\t\tpanel_1.setLayout(null);\n\n\t\tJLabel label_1 = new JLabel(\"姓名:\");\n\t\tlabel_1.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tlabel_1.setBounds(14, 26, 45, 15);\n\t\tpanel_1.add(label_1);\n\n\t\tcustomerName = new JTextField();\n\t\tcustomerName.setColumns(10);\n\t\tcustomerName.setBounds(73, 23, 103, 21);\n\t\tpanel_1.add(customerName);\n\n\t\tJLabel label_3 = new JLabel(\"电话:\");\n\t\tlabel_3.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tlabel_3.setBounds(190, 26, 45, 15);\n\t\tpanel_1.add(label_3);\n\n\t\tcustomerTel1 = new JTextField();\n\t\tcustomerTel1.setColumns(10);\n\t\tcustomerTel1.setBounds(249, 23, 100, 21);\n\t\tpanel_1.add(customerTel1);\n\n\t\tcustomerTel2 = new JTextField();\n\t\tcustomerTel2.setColumns(10);\n\t\tcustomerTel2.setBounds(363, 23, 100, 21);\n\t\tpanel_1.add(customerTel2);\n\n\t\tJLabel label_6 = new JLabel(\"地址:\");\n\t\tlabel_6.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tlabel_6.setBounds(16, 52, 45, 16);\n\t\tpanel_1.add(label_6);\n\n\t\tcustomerAdr = new JTextField();\n\t\tcustomerAdr.setColumns(10);\n\t\tcustomerAdr.setBounds(77, 51, 383, 21);\n\t\tpanel_1.add(customerAdr);\n\n\t\tcustomerDeposit = new JTextField();\n\t\tcustomerDeposit.setColumns(10);\n\t\tcustomerDeposit.setBounds(63, 78, 66, 21);\n\t\tpanel_1.add(customerDeposit);\n\n\t\tJLabel label_7 = new JLabel(\"定金:\");\n\t\tlabel_7.setFont(new Font(\"新宋体\", Font.PLAIN, 14));\n\t\tlabel_7.setBounds(9, 78, 45, 21);\n\t\tpanel_1.add(label_7);\n\n\t\taddCustomerAl = new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\taddCustomerActionPerformed(e);\n\t\t\t}\n\t\t};\n\t\taddCustomerBtn = new JButton(\"添加客户\");\n\t\taddCustomerBtn.addActionListener(addCustomerAl);\n\t\taddCustomerBtn.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\taddCustomerBtn.setBounds(366, 76, 103, 23);\n\t\tpanel_1.add(addCustomerBtn);\n\n\t\tJButton customerModifyBtn = new JButton(\"修改\");\n\t\tcustomerModifyBtn.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}\n\t\t});\n\t\tcustomerModifyBtn.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tcustomerModifyBtn.setBounds(290, 76, 67, 23);\n\t\tpanel_1.add(customerModifyBtn);\n\n\t\tJButton customerDelBtn = new JButton(\"删除\");\n\t\tcustomerDelBtn.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}\n\t\t});\n\t\tcustomerDelBtn.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tcustomerDelBtn.setBounds(214, 76, 67, 23);\n\t\tpanel_1.add(customerDelBtn);\n\n\t\tJButton newButton = new JButton(\"新建\");\n\t\tnewButton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tclearAll();\n\t\t\t\tif (addCustomerBtn.getActionListeners().length == 0) {\n\t\t\t\t\taddCustomerBtn.addActionListener(addCustomerAl);\n\t\t\t\t}\n\t\t\t\taddCustomerBtn.setEnabled(true);\n\t\t\t\tnameLab.setText(\"\");\n\t\t\t\tadrLab.setText(\"\");\n\t\t\t}\n\t\t});\n\t\tnewButton.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tnewButton.setBounds(138, 76, 67, 23);\n\t\tpanel_1.add(newButton);\n\n\t\tJPanel panel_2 = new JPanel();\n\t\tpanel_2.setBounds(689, 10, 274, 340);\n\t\tcontentPane.add(panel_2);\n\n\t\tJLabel label_9 = new JLabel();\n\t\tlabel_9.setText(\"历史订单\");\n\t\tlabel_9.setFont(new Font(\"微软雅黑\", Font.PLAIN, 14));\n\n\t\tJScrollPane scrollPane_2 = new JScrollPane();\n\t\tGroupLayout gl_panel_2 = new GroupLayout(panel_2);\n\t\tgl_panel_2\n\t\t\t\t.setHorizontalGroup(gl_panel_2\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\tgl_panel_2\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addContainerGap()\n\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tgl_panel_2\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgl_panel_2\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tscrollPane_2,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t169,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addContainerGap())\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgl_panel_2\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel_9)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(100)))));\n\t\tgl_panel_2.setVerticalGroup(gl_panel_2.createParallelGroup(\n\t\t\t\tAlignment.LEADING).addGroup(\n\t\t\t\tgl_panel_2\n\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t.addContainerGap()\n\t\t\t\t\t\t.addComponent(label_9)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(scrollPane_2, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t339, Short.MAX_VALUE).addContainerGap()));\n\n\t\tsaleLatelyjList = new JList();\n\t\tscrollPane_2.setViewportView(saleLatelyjList);\n\t\tpanel_2.setLayout(gl_panel_2);\n\n\t\tJLabel label_22 = new JLabel(\"宽度:\");\n\t\tlabel_22.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tlabel_22.setBounds(924, 181, 56, 15);\n\t\tcontentPane.add(label_22);\n\n\t\tJPanel panel_3 = new JPanel();\n\t\tpanel_3.setBorder(new TitledBorder(null, \"\\u8D27\\u7269\\u4FE1\\u606F\",\n\t\t\t\tTitledBorder.LEADING, TitledBorder.TOP, null, null));\n\t\tpanel_3.setBounds(199, 228, 480, 260);\n\t\tcontentPane.add(panel_3);\n\t\tpanel_3.setLayout(null);\n\n\t\tJLabel label_2 = new JLabel(\"窗帘布:\");\n\t\tlabel_2.setBounds(5, 88, 56, 15);\n\t\tpanel_3.add(label_2);\n\t\tlabel_2.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel lblNewLabel = new JLabel(\"布带:\");\n\t\tlblNewLabel.setBounds(5, 119, 56, 15);\n\t\tpanel_3.add(lblNewLabel);\n\t\tlblNewLabel.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_16 = new JLabel(\"花边:\");\n\t\tlabel_16.setBounds(5, 147, 56, 15);\n\t\tpanel_3.add(label_16);\n\t\tlabel_16.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_19 = new JLabel(\"窗帘圈:\");\n\t\tlabel_19.setBounds(5, 175, 56, 15);\n\t\tpanel_3.add(label_19);\n\t\tlabel_19.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_13 = new JLabel(\"窗帘杆:\");\n\t\tlabel_13.setBounds(5, 205, 56, 15);\n\t\tpanel_3.add(label_13);\n\t\tlabel_13.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tcurtainRodName = new JTextField();\n\t\tcurtainRodName.setBounds(66, 199, 130, 21);\n\t\tpanel_3.add(curtainRodName);\n\t\tcurtainRodName.setEditable(false);\n\t\tcurtainRodMA = new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\treBuildGoodLst(\"C-杆\");\n\t\t\t}\n\t\t};\n\t\tcurtainRodName.addMouseListener(curtainRodMA);\n\t\tcurtainRodName.setColumns(10);\n\n\t\tcurtainRingName = new JTextField();\n\t\tcurtainRingName.setBounds(66, 169, 130, 21);\n\t\tpanel_3.add(curtainRingName);\n\t\tcurtainRingName.setEditable(false);\n\t\tcurtainRingMA = new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\treBuildGoodLst(\"C-孔\");\n\t\t\t}\n\t\t};\n\t\tcurtainRingName.addMouseListener(curtainRingMA);\n\t\tcurtainRingName.setColumns(10);\n\n\t\tcurtainLaceName = new JTextField();\n\t\tcurtainLaceName.setBounds(66, 141, 130, 21);\n\t\tpanel_3.add(curtainLaceName);\n\t\tcurtainLaceName.setEditable(false);\n\t\tcurtainLaceMA = new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\treBuildGoodLst(\"C-花边\");\n\t\t\t}\n\t\t};\n\t\tcurtainLaceName.addMouseListener(curtainLaceMA);\n\t\tcurtainLaceName.setColumns(10);\n\n\t\tcurtainTapeName = new JTextField();\n\t\tcurtainTapeName.setBounds(66, 113, 130, 21);\n\t\tpanel_3.add(curtainTapeName);\n\t\tcurtainTapeName.setEditable(false);\n\t\tcurtainTapeMA = new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\treBuildGoodLst(\"C-布带\");\n\t\t\t}\n\t\t};\n\t\tcurtainTapeName.addMouseListener(curtainTapeMA);\n\t\tcurtainTapeName.setColumns(10);\n\n\t\tcurtainClothName = new JTextField();\n\t\tcurtainClothName.setBounds(66, 82, 130, 21);\n\t\tpanel_3.add(curtainClothName);\n\t\tcurtainClothName.setEditable(false);\n\t\tcurtainClothMA = new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\treBuildGoodLst(\"A-\");\n\t\t\t}\n\t\t};\n\t\tcurtainClothName.addMouseListener(curtainClothMA);\n\t\tcurtainClothName.setColumns(10);\n\n\t\tJLabel label_4 = new JLabel(\"价格:\");\n\t\tlabel_4.setBounds(201, 88, 45, 15);\n\t\tpanel_3.add(label_4);\n\t\tlabel_4.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_10 = new JLabel(\"价格:\");\n\t\tlabel_10.setBounds(201, 119, 45, 15);\n\t\tpanel_3.add(label_10);\n\t\tlabel_10.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_17 = new JLabel(\"价格:\");\n\t\tlabel_17.setBounds(201, 147, 45, 15);\n\t\tpanel_3.add(label_17);\n\t\tlabel_17.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_20 = new JLabel(\"价格:\");\n\t\tlabel_20.setBounds(201, 175, 45, 15);\n\t\tpanel_3.add(label_20);\n\t\tlabel_20.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_14 = new JLabel(\"价格:\");\n\t\tlabel_14.setBounds(201, 205, 45, 15);\n\t\tpanel_3.add(label_14);\n\t\tlabel_14.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tcurtainRodPrice = new JTextField();\n\t\tcurtainRodPrice.setBounds(251, 199, 38, 21);\n\t\tpanel_3.add(curtainRodPrice);\n\t\tcurtainRodPrice.setColumns(10);\n\n\t\tcurtainRingPrice = new JTextField();\n\t\tcurtainRingPrice.setBounds(251, 169, 38, 21);\n\t\tpanel_3.add(curtainRingPrice);\n\t\tcurtainRingPrice.setColumns(10);\n\n\t\tcurtainLacePrice = new JTextField();\n\t\tcurtainLacePrice.setBounds(251, 141, 38, 21);\n\t\tpanel_3.add(curtainLacePrice);\n\t\tcurtainLacePrice.setColumns(10);\n\n\t\tcurtainTapePrice = new JTextField();\n\t\tcurtainTapePrice.setBounds(251, 113, 38, 21);\n\t\tpanel_3.add(curtainTapePrice);\n\t\tcurtainTapePrice.setColumns(10);\n\n\t\tcurtainClothPrice = new JTextField();\n\t\tcurtainClothPrice.setBounds(251, 82, 38, 21);\n\t\tpanel_3.add(curtainClothPrice);\n\t\tcurtainClothPrice.setColumns(10);\n\n\t\tJLabel label_15 = new JLabel(\"备注:\");\n\t\tlabel_15.setBounds(294, 205, 45, 15);\n\t\tpanel_3.add(label_15);\n\t\tlabel_15.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_21 = new JLabel(\"备注:\");\n\t\tlabel_21.setBounds(294, 175, 45, 15);\n\t\tpanel_3.add(label_21);\n\t\tlabel_21.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_18 = new JLabel(\"备注:\");\n\t\tlabel_18.setBounds(294, 147, 45, 15);\n\t\tpanel_3.add(label_18);\n\t\tlabel_18.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_12 = new JLabel(\"备注:\");\n\t\tlabel_12.setBounds(294, 119, 45, 15);\n\t\tpanel_3.add(label_12);\n\t\tlabel_12.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJLabel label_11 = new JLabel(\"备注:\");\n\t\tlabel_11.setBounds(294, 88, 45, 15);\n\t\tpanel_3.add(label_11);\n\t\tlabel_11.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tcurtainClothRemark = new JTextField();\n\t\tcurtainClothRemark.setBounds(344, 82, 120, 21);\n\t\tpanel_3.add(curtainClothRemark);\n\t\tcurtainClothRemark.setColumns(10);\n\n\t\tcurtainTapeRemark = new JTextField();\n\t\tcurtainTapeRemark.setBounds(344, 113, 120, 21);\n\t\tpanel_3.add(curtainTapeRemark);\n\t\tcurtainTapeRemark.setColumns(10);\n\n\t\tcurtainLaceRemark = new JTextField();\n\t\tcurtainLaceRemark.setBounds(344, 141, 120, 21);\n\t\tpanel_3.add(curtainLaceRemark);\n\t\tcurtainLaceRemark.setColumns(10);\n\n\t\tcurtainRingRemark = new JTextField();\n\t\tcurtainRingRemark.setBounds(344, 169, 120, 21);\n\t\tpanel_3.add(curtainRingRemark);\n\t\tcurtainRingRemark.setColumns(10);\n\n\t\tcurtainRodRemark = new JTextField();\n\t\tcurtainRodRemark.setBounds(344, 199, 120, 21);\n\t\tpanel_3.add(curtainRodRemark);\n\t\tcurtainRodRemark.setColumns(10);\n\n\t\tJButton curtainDelBtn = new JButton(\"删除\");\n\t\tcurtainDelBtn.setBounds(71, 230, 67, 23);\n\t\tpanel_3.add(curtainDelBtn);\n\t\tcurtainDelBtn.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}\n\t\t});\n\t\tcurtainDelBtn.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tJButton curtainModifyBtn = new JButton(\"修改\");\n\t\tcurtainModifyBtn.setBounds(148, 230, 67, 23);\n\t\tpanel_3.add(curtainModifyBtn);\n\t\tcurtainModifyBtn.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tcurtainModifyAction(e);\n\t\t\t}\n\t\t});\n\t\tcurtainModifyBtn.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\taddCurtainGood = new JButton(\"添加货物\");\n\t\taddCurtainGood.setBounds(239, 230, 100, 23);\n\t\tpanel_3.add(addCurtainGood);\n\t\taddCurtainGood.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif (currentSol.getCustomer() != null) {\n\t\t\t\t\taddCurtainGoodActionPerformed(e);\n\t\t\t\t} else {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"请先输入用户信息\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\taddCurtainGood.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tcurtainStyleCB = new JComboBox();\n\t\tcurtainStyleCB.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tcurtainStyleAction(e);\n\t\t\t}\n\t\t});\n\t\tcurtainStyleCB.setBounds(21, 22, 98, 21);\n\t\tpanel_3.add(curtainStyleCB);\n\t\tcurtainStyleCB.setModel(new DefaultComboBoxModel(new String[] {\n\t\t\t\t\"打孔*1.7\", \"挂钩*1.5\", \"挂钩+0.5\", \"卷帘\" }));\n\n\t\tcurtainWidth = new JTextField();\n\t\tcurtainWidth.setBounds(69, 57, 70, 21);\n\t\tpanel_3.add(curtainWidth);\n\t\tcurtainWidth.setColumns(10);\n\n\t\tJLabel label_5 = new JLabel(\"安装位置:\");\n\t\tlabel_5.setBounds(140, 25, 75, 15);\n\t\tpanel_3.add(label_5);\n\t\tlabel_5.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\thightLocationCB = new JComboBox();\n\t\thightLocationCB.setBounds(305, 57, 79, 21);\n\t\tpanel_3.add(hightLocationCB);\n\t\thightLocationCB.setModel(new DefaultComboBoxModel(new String[] {\n\t\t\t\t\"高度位置\", \"顶高\", \"总高\", \"杆到地\", \"顶装\" }));\n\t\thightLocationCB.setToolTipText(\"\");\n\n\t\tcurtainLocationCB = new JComboBox();\n\t\tcurtainLocationCB.setModel(new DefaultComboBoxModel(new String[] {\n\t\t\t\t\"请选择\", \"客厅\", \"阳台\", \"主卧\", \"次卧\", \"后卧\", \"餐厅\", \"厨房\", \"卫生间\" }));\n\t\tcurtainLocationCB.setBounds(236, 22, 70, 21);\n\t\tpanel_3.add(curtainLocationCB);\n\t\tcurtainLocationCB.setToolTipText(\"\");\n\n\t\tcurtainLocation = new JTextField();\n\t\tcurtainLocation.setBounds(327, 22, 130, 21);\n\t\tpanel_3.add(curtainLocation);\n\t\tcurtainLocation.setColumns(10);\n\n\t\tcurtainHight = new JTextField();\n\t\tcurtainHight.setBounds(396, 57, 70, 21);\n\t\tpanel_3.add(curtainHight);\n\t\tcurtainHight.setColumns(10);\n\n\t\tJLabel label_23 = new JLabel(\"宽度:\");\n\t\tlabel_23.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tlabel_23.setBounds(12, 59, 45, 15);\n\t\tpanel_3.add(label_23);\n\n\t\trodWidth = new JTextField();\n\t\trodWidth.setColumns(10);\n\t\trodWidth.setBounds(223, 57, 70, 21);\n\t\tpanel_3.add(rodWidth);\n\n\t\tJLabel label_24 = new JLabel(\"杆增加:\");\n\t\tlabel_24.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\t\tlabel_24.setBounds(151, 59, 60, 15);\n\t\tpanel_3.add(label_24);\n\n\t\tJButton submitBtn = new JButton(\"提交订单\");\n\t\tsubmitBtn.setBounds(364, 227, 100, 23);\n\t\tpanel_3.add(submitBtn);\n\t\tsubmitBtn.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tsubmitAction(e);\n\t\t\t}\n\t\t});\n\t\tsubmitBtn.setFont(new Font(\"宋体\", Font.PLAIN, 14));\n\n\t\tnameLab = new JLabel(\"\");\n\t\tnameLab.setFont(new Font(\"宋体\", Font.PLAIN, 13));\n\t\tnameLab.setBounds(209, 135, 470, 20);\n\t\tcontentPane.add(nameLab);\n\n\t\tadrLab = new JLabel(\"\");\n\t\tadrLab.setFont(new Font(\"宋体\", Font.PLAIN, 13));\n\t\tadrLab.setBounds(209, 165, 470, 20);\n\t\tcontentPane.add(adrLab);\n\t}",
"private JScrollPane getJPanel_table_spect() {\n\t\tif (jScrollPane_table_spect == null) {\n\t\t\tjScrollPane_table_spect = new JScrollPane();\n\t\t\tjScrollPane_table_spect.setName(\"jScrollPane_table_spect\");\n\t\t\tjScrollPane_table_spect.setViewportView(getJTable_spect());\n\t\t\tjScrollPane_table_spect.setFont(new Font(\"Dialog\", Font.PLAIN, 14));\n\t\t}\n\t\treturn jScrollPane_table_spect;\n\t}",
"private JScrollPane getSummaryTreeScrollPane() {\n if (summaryTreeScrollPane == null) {\n summaryTreeScrollPane = new JScrollPane();\n summaryTreeScrollPane.setViewportView(getSummaryTree());\n }\n return summaryTreeScrollPane;\n }",
"private org.gwtproject.user.client.ui.ScrollPanel get_f_ScrollPanel1() {\n return build_f_ScrollPanel1();\n }",
"public int getVerticalScrollBarPolicy() {\n/* 473 */ return this.verticalScrollBarPolicy;\n/* */ }",
"public void updateUI() {\n/* 393 */ setUI((ScrollPaneUI)UIManager.getUI(this));\n/* */ }",
"public MouseWheelController(JScrollPane scrollPane, int scrollAmount)\r\n\t{\r\n\t\tthis.scrollPane = scrollPane;\r\n\t\tsetScrollAmount( scrollAmount );\r\n\t\tinstall();\r\n\t}",
"@Override\r\n public boolean canScrollVertically(){\r\n return true;\r\n }",
"public HistoryView() {\n\t\tthis.history = new JPanel();\n\t\tthis.history.setBackground(BackGroundColor.color);\n\t\tthis.history.setLayout(new BoxLayout(this.history, 3));\n\t\tthis.tp = new JScrollPane(22, 31);\n\t\tthis.tp.setViewportView(this.history);\n\t\tthis.tp.getVerticalScrollBar().setUnitIncrement(20);\n\t\tthis.tp.getVerticalScrollBar().addAdjustmentListener(this);\n\t\tthis.component = tp;\n\t\t//this.observer = observer;\n\t}",
"void onScroll(boolean bDragging);",
"public AutoScrollPane(Node content) {\n super(content);\n\n // regular drag, e.g. of an entry view\n addEventFilter(MouseEvent.MOUSE_DRAGGED, this::autoscrollIfNeeded);\n addEventFilter(MouseEvent.MOUSE_RELEASED, evt -> stopAutoScrollIfNeeded());\n\n // drag and drop from the outside\n addEventFilter(MouseEvent.DRAG_DETECTED, this::startDrag);\n addEventFilter(DragEvent.DRAG_OVER, this::autoscrollIfNeeded);\n addEventFilter(DragEvent.DRAG_EXITED, evt -> stopAutoScrollIfNeeded());\n addEventFilter(DragEvent.DRAG_DROPPED, evt -> stopAutoScrollIfNeeded());\n addEventFilter(DragEvent.DRAG_DONE, evt -> stopAutoScrollIfNeeded());\n }",
"public ScrollBar(int param1Int) {\n/* 718 */ super(param1Int);\n/* 719 */ putClientProperty(\"JScrollBar.fastWheelScrolling\", Boolean.TRUE);\n/* */ }",
"private JScrollPane getMacro_pane() {\n\t\tif (macro_pane == null) {\n\t\t\tmacro_pane = new JScrollPane();\n\t\t\tmacro_pane.setViewportView(getJList());\n\t\t}\n\t\treturn macro_pane;\n\t}",
"public MouseWheelController(JScrollPane scrollPane)\r\n\t{\r\n\t\tthis(scrollPane, 1);\r\n\t}",
"PdfViewerScrollBarVertical(PdfViewerController controller)\n {\n super(JScrollBar.VERTICAL, controller);\n setUI(ui);\n\n addAdjustmentListener(new AdjustmentListener()\n {\n public void adjustmentValueChanged(AdjustmentEvent e)\n {\n scrollPosition = e.getValue();\n setNewViewportPosition();\n }\n });\n\n addComponentListener(new ComponentListener()\n {\n\n public void componentShown(ComponentEvent e)\n {\n }\n\n public void componentResized(ComponentEvent e)\n {\n ;\n repaint();\n }\n\n public void componentMoved(ComponentEvent e)\n {\n }\n\n public void componentHidden(ComponentEvent e)\n {\n }\n });\n }",
"@Override\n public boolean scrolled(int amount) {\n return false;\n }",
"@Override\n public boolean scrolled(int amount) {\n return false;\n }",
"@Override\n public boolean scrolled(int amount) {\n return false;\n }",
"@Override\n public boolean scrolled(int amount) {\n return false;\n }",
"void setScrollPosition(int x, int y);",
"@Override\r\n\tprotected boolean isScrollable(Component c) {\r\n\t\treturn false;\r\n\t}",
"private void refreshView(){\n\t\tMain.scroll.setViewportView(container);\n\t\t// setez scrollul jos\n\t\tMain.scroll.getVerticalScrollBar().setValue(Main.scroll.getVerticalScrollBar().getMaximum());\n\t}",
"@Override\n\tpublic boolean scrolled(int arg0) {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean scrolled(int arg0) {\n\t\treturn false;\n\t}",
"public ScrollPaneUI getUI() {\n/* 368 */ return (ScrollPaneUI)this.ui;\n/* */ }",
"private JScrollPane getConfigurationScrollPane() {\n if (configurationScrollPane == null) {\n configurationScrollPane = new JScrollPane();\n configurationScrollPane.setViewportView(getConfigurationTable());\n configurationScrollPane.setBorder(BorderFactory.createTitledBorder(\n null, \"Configuration\", TitledBorder.DEFAULT_JUSTIFICATION, \n TitledBorder.DEFAULT_POSITION, null, PortalLookAndFeel.getPanelLabelColor()));\n }\n return configurationScrollPane;\n }",
"public JScrollPane getScrollDireccion(){\n\t\tif(scrollDireccion == null){\n\t\t\tscrollDireccion = new JScrollPane();\n\t\t\tscrollDireccion.setBorder(new EtchedBorder(EtchedBorder.LOWERED, null, null));\n\t\t\tscrollDireccion.setViewportView(getDireccion());\n\t\t}\n\t\treturn scrollDireccion;\n\t}",
"@Transient\n/* */ public JScrollBar getVerticalScrollBar() {\n/* 886 */ return this.verticalScrollBar;\n/* */ }",
"public int getHorizontalScrollBarPolicy() {\n/* 522 */ return this.horizontalScrollBarPolicy;\n/* */ }",
"@Override\r\n\tpublic boolean scrolled(int amount) {\n\t\treturn false;\r\n\t}"
] |
[
"0.72170603",
"0.6986949",
"0.6949286",
"0.6926177",
"0.68542266",
"0.67874706",
"0.6779777",
"0.67420846",
"0.6723147",
"0.6720622",
"0.665134",
"0.66367143",
"0.6631854",
"0.6623382",
"0.66108674",
"0.6588276",
"0.6567269",
"0.6542432",
"0.6539254",
"0.6537546",
"0.6524824",
"0.6490192",
"0.64648163",
"0.63954425",
"0.63838834",
"0.63682264",
"0.6363428",
"0.6339514",
"0.6334781",
"0.6332717",
"0.63216805",
"0.62947303",
"0.6276098",
"0.62435055",
"0.62418324",
"0.6240303",
"0.623641",
"0.6235161",
"0.6202235",
"0.61834353",
"0.61528814",
"0.610648",
"0.6095243",
"0.6082717",
"0.6071039",
"0.60698193",
"0.60664326",
"0.60081935",
"0.5974335",
"0.59574693",
"0.5949187",
"0.59435105",
"0.5898728",
"0.5893565",
"0.5893259",
"0.58866996",
"0.58734214",
"0.5867213",
"0.58616835",
"0.58562446",
"0.5854364",
"0.5853216",
"0.5835432",
"0.5831797",
"0.58177626",
"0.5815604",
"0.5795413",
"0.57911026",
"0.5780909",
"0.57767344",
"0.5768405",
"0.5758866",
"0.5750329",
"0.57382405",
"0.57347643",
"0.57306",
"0.5712082",
"0.5705913",
"0.5703227",
"0.569435",
"0.5688139",
"0.5674075",
"0.56584847",
"0.56472856",
"0.5622784",
"0.56192535",
"0.56192535",
"0.56192535",
"0.56192535",
"0.56129014",
"0.56015813",
"0.5587983",
"0.5574269",
"0.5574269",
"0.55601007",
"0.5528322",
"0.5524967",
"0.5510052",
"0.55083185",
"0.5496884"
] |
0.7423779
|
0
|
overridden to not repaint during during a vertical drag
|
public void setViewPosition(Point p) {
Component parent = getParent();
if ( parent instanceof JScrollPane &&
((JScrollPane)parent).getVerticalScrollBar().getValueIsAdjusting() ) {
// value is adjusting, skip repaint
return;
}
super.setViewPosition(p);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"protected abstract boolean dragged();",
"private void dragPaint() {\n\n\t\t//buffer die image ooit\n\t\tinvalidate();\n\t\trepaint();\n\t}",
"public void mouseDragged(MouseEvent e) {\r\n// if (mouseDraggedEnabled && ((e.getModifiers() & (InputEvent.ALT_DOWN_MASK | InputEvent.ALT_MASK)) == 0))\r\n if (mouseDraggedEnabled && mouseDraggedType == MOUSE_DRAG_ZOOM) {\r\n if (parent.onEvent(e, ChartPanel.MOUSE_DRAGGED)) {\r\n dragged = true;\r\n int _x = Math.min(draggedFromX, e.getX());\r\n int _y = Math.min(draggedFromY, e.getY());\r\n int _w = Math.abs(draggedFromX - e.getX());\r\n int _h = Math.abs(draggedFromY - e.getY());\r\n draggingRectangle = new Rectangle(_x, _y, _w, _h);\r\n repaint();\r\n }\r\n } else if (mouseDraggedEnabled && mouseDraggedType == MOUSE_DRAW_LINE_ON_CHART) {\r\n this.setCursor(crossHairCursor);\r\n if (parent.onEvent(e, ChartPanel.MOUSE_DRAGGED)) {\r\n dragged = true;\r\n int x1 = draggedFromX;\r\n int y1 = draggedFromY;\r\n int x2 = e.getX();\r\n int y2 = e.getY();\r\n lineToDraw = new ArrayList<Point>(2);\r\n lineToDraw.add(new Point(x1, y1));\r\n lineToDraw.add(new Point(x2, y2));\r\n repaint();\r\n }\r\n }\r\n// if ((e.getModifiers() & (InputEvent.ALT_DOWN_MASK | InputEvent.ALT_MASK)) != 0) // Alt + Click: Grab Scroll\r\n if (mouseDraggedEnabled && mouseDraggedType == MOUSE_DRAG_GRAB_SCROLL) {\r\n this.setCursor(closedHandCursor);\r\n int x = this.getVisibleRect().x - (e.getX() - draggedFromX);\r\n int y = this.getVisibleRect().y - (e.getY() - draggedFromY);\r\n this.scrollRectToVisible(new Rectangle(x, y, this.getVisibleRect().width, this.getVisibleRect().height));\r\n// this.setCursor(defaultCursor);\r\n }\r\n // MOUSE_DRAW_ON_CHART\r\n if (mouseDraggedEnabled && mouseDraggedType == MOUSE_DRAW_ON_CHART) {\r\n this.setCursor(drawingCursor);\r\n if (parent.onEvent(e, ChartPanel.MOUSE_DRAGGED)) {\r\n dragged = true;\r\n if (oneDrawing == null) {\r\n oneDrawing = new PointList<GeoPoint>(10);\r\n oneDrawing.setLineColor(drawColor);\r\n }\r\n GeoPoint dpt = getGeoPos(e.getX(), e.getY());\r\n // System.out.println(\"Point \" + dpt.toString());\r\n oneDrawing.add(dpt);\r\n repaint();\r\n }\r\n }\r\n if (parent instanceof ChartPanelParentInterface_II)\r\n ((ChartPanelParentInterface_II) parent).afterEvent(e, ChartPanel.MOUSE_DRAGGED);\r\n }",
"@Override\n public void drag(int x, int y)\n {\n }",
"private void updateDragVars (MouseEvent me) { updateDragVars(me,false); }",
"@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}",
"public void mouseDragged(MouseEvent e) // When mouse is dragged:\n {\n Location pt = new Location(e.getX(),e.getY());\n\n dragDx = pt.getX() - lastPt.getX();\n dragDy = pt.getY() - lastPt.getY();\n\n // If H Line was grabbed and drag is within the margins:\n if(hLineGrabbed && pt.getY() >= MARGIN_HORIZONTAL && // If hLine grabbed\n pt.getY() <= canvasHeight - MARGIN_HORIZONTAL) // and drag is in\n { // the margins:\n hLine.setEndPoints(0, (hLine.getStart()).getY() + dragDy,\n canvasWidth,\n (hLine.getStart()).getY() + dragDy);// Move hLine\n\n if(lastPt != pt) // If new point is\n { // different (moved):\n hLineMoved = true; // hLine was moved\n }\n\n else // If new point is\n { // same (not moved):\n hLineMoved = false; // hLine not moved\n }\n }\n\n // If V Line was grabbed and drag is within the margins:\n if(vLineGrabbed && pt.getX() >= MARGIN_VERTICAL && // If vLine grabbed\n pt.getX() <= canvasWidth - MARGIN_VERTICAL) // and drag is in\n { // the margins:\n vLine.setEndPoints((vLine.getStart()).getX() + dragDx, 0,\n (vLine.getStart()).getX() + dragDx, \n canvasHeight); // Move vLine\n\n if(lastPt != pt) // If new point is\n { // different (moved):\n vLineMoved = true; // vLine was moved\n }\n\n else // If new point is\n { // same (not moved):\n vLineMoved = false; // vLine not moved\n }\n }\n\n hLineProportion = (hLine.getStart()).getY() / canvasHeight;\n vLineProportion = (vLine.getStart()).getX() / canvasWidth;\n\n lastPt = pt; // Set the point to\n dragDx = dragDy = 0; // Reset drag delta\n }",
"@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\r\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent e) {\n\r\n\t}",
"@Override\n \tpublic void mouseDragged(MouseEvent e) {\n \t}",
"@Override\n\t\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"static void setNotDraging(){isDraging=false;}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\t\n\t\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\tif(state.getStatus()==Status.SELECTING_RECT){\n\t\t\t\tif(startDragginPoint == null)\n\t\t\t\t\tdraggingFrom(arg0.getPoint());\n\t\t\t\tcurrentDragPoint = arg0.getPoint();\t\n\t\t\t\trepaint();\n\t\t\t}\n\t\t\tif(state.getStatus()==Status.SELECTING_RECT_LS){\n\t\t\t\tif(startDragginPoint == null)\n\t\t\t\t\tdraggingFrom(arg0.getPoint());\n\t\t\t\tcurrentDragPoint = arg0.getPoint();\t\n\t\t\t\trepaint();\n\t\t\t}\n\t\t}",
"void onDragged();",
"@Override\n public void mouseDragged(MouseEvent e) {\n\n }",
"@Override\r\n public void mouseDragged(MouseEvent e) {\n }",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\n\t}",
"public void mouseDragged (MouseEvent e) {}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tshowmBox = false;\n\n\t\tint newx = e.getX(), newy = getHeight() - e.getY();\n\t\tint changex = newx - mousemovex, changey = newy - mousemovey;\n\n\t\tdouble changewindowx = changex * (param.maxx - param.minx) / (getWidth());\n\t\tdouble changewindowy = changey * (param.maxy - param.miny) / (-getHeight());\n\n\t\tparam.maxx -= changewindowx;\n\t\tparam.minx -= changewindowx;\n\t\tparam.maxy += changewindowy;\n\t\tparam.miny += changewindowy;\n\n\t\tmousemovex = newx;\n\t\tmousemovey = newy;\n\n\t\trepaint();\n\t}",
"public void mouseDragged(MouseEvent e) {\n if(jtf[mmlp1][mmlp2].getBackground()==Color.yellow || isRightClick)\n setNotDraging();// agar khane zard rang bashad wa ya rast klik shawad-\n else //-nemitan bar ruye an draging kard.\n setDraging();\n }",
"private void drag() {\n Point mousePosition = calculateMouseLocation();\n getArea().x = mousePosition.getX() - (mouseX - prevX);\n getArea().y = mousePosition.getY() - (mouseY - prevY);\n // Ensure that weird resizing stuff doesn't happen while moving the\n // window. Idfk why this works, but it does.\n resize();\n getLayout().resize(this, getChildren());\n getLayout().layout(this, getChildren());\n }",
"public void mouseDragged(MouseEvent e){}",
"public void mouseDragged(MouseEvent e) {}",
"@Override\n public void mouseDragged(MouseEvent arg0) {\n \n }",
"@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent arg0) {\n\r\n\t\t\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\n\t\t}",
"@Override\n public void mouseDragged(MouseEvent e) {\n\n // Check whether left or right mouse is held\n if (SwingUtilities.isLeftMouseButton(e)) {\n // Get x and y\n int x = e.getX();\n int y = e.getY();\n\n // Rotate for LMB\n rt_y -= (old_x - x) / 2;\n rt_x -= (old_y - y) / 2;\n\n // Overwrite last frame data\n old_x = x;\n old_y = y;\n } else if (SwingUtilities.isRightMouseButton(e)) {\n // Get x and y\n int x = e.getX();\n int y = e.getY();\n\n // Translate for RMB\n tr_x -= ((float) old_x - (float) x) / 1000;\n tr_y += ((float) old_y - (float) y) / 1000;\n\n // Overwrite last frame data\n old_x = x;\n old_y = y;\n }\n }",
"@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\r\n\t}",
"public void mouseDragged(MouseEvent e) {\r\n Graphics g = view.getViewJComponent().getGraphics();\r\n rectangle.setSize(Math.abs(e.getX() - rectangle.x),\r\n Math.abs(e.getY() - rectangle.y));\r\n view.getViewJComponent().repaint();\r\n g.drawRect(rectangle.x, rectangle.y, rectangle.width,\r\n rectangle.height);\r\n }",
"public boolean dragFromSubComponents();",
"@Override\n\t\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\t\n\t\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\n\t}",
"public void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}",
"public void mouseDragged(MouseEvent e) {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0)\n\t{\n\t\t\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\t\r\n\t}",
"public void mouseDragged(MouseEvent e) {\n\t\t\n\t}",
"@Override\n public void mouseDragged(java.awt.event.MouseEvent e) {\n }",
"@Override\n\tpublic void paint(Graphics g) {\n\t\tsuper.paint(g);\n\t\tif (startDragginPoint!=null && currentDragPoint != null){\n\t\t\t\n\t\t\tg.setColor(Color.black);\n\t\t\tAuxiliar.sortPoint((p,q) -> {\n\t\t\t\tg.drawRect(p.x, p.y, q.x-p.x, q.y-p.y);\t\n\t\t\t}, startDragginPoint, currentDragPoint);\n\n\t\t}\n\t}",
"public void mouseDragged(MouseEvent e) {\n\t}",
"@Override\r\n public void mouseDragged(MouseEvent e) {\r\n int deltaX = e.getXOnScreen() - screenX;\r\n int deltaY = e.getYOnScreen() - screenY; \r\n \r\n setLocation(myX + deltaX, myY + deltaY);\r\n }",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\n\t}",
"public synchronized void mouseDragged(MouseEvent event) {\n /*FIXME*/\n /* Not needed if picture does not change. */\n\n _display.repaint();\n }",
"@Override\n public void mouseDragged(MouseEvent evt) {\n setLocation(evt.getXOnScreen() - posX, evt.getYOnScreen() - posY);\n }",
"private void drawVerticalScrollBar(){\n }",
"@Override\n\tpublic void mouseDragged(MouseEvent me) {\n\t\tcurrentPoint = new Point(me.getX(),me.getY());\n\t\tthis.repaint();\n\t}",
"@Override\n public void componentMoved(ComponentEvent e)\n {\n \n }",
"@Override\r\npublic void componentMoved(ComponentEvent arg0) {\n\t\r\n}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tdx=dx+(e.getX()-x);\n\t\tdy=dy+(e.getY()-y);\n\t\t\n\t\tx=e.getX();\n\t\ty=e.getY();\n\t}",
"@Override\r\n\tpublic void mouseDragged(MouseEvent me) {\r\n\t\tdrag(me.getX(), me.getY());\r\n\t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tint clickX = e.getX();\n\t\tint clickY = e.getY();\n\t\tint row = clickX/cellSize;\n\t\tint col = clickY/cellSize;\n\t\tgameLogic.setElement(row, col, 1);\n\t}",
"public void mouseDragged(MouseEvent e) {\n currX = e.getX();\r\n currY = e.getY();\r\n\r\n if(g2 != null) {\r\n // Draw line if g2 context is not null\r\n g2.drawLine(oldX, oldY, currX, currY);\r\n // Refresh draw area to repaint\r\n repaint();\r\n // Stores current coordinates x,y as old x,y\r\n oldX = currX;\r\n oldY = currY;\r\n }\r\n }",
"public void mouseDragged(MouseEvent e) {\n\t \t\t\n\t \t}",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tif (!enabled) {\n\t\t\treturn;\n\t\t}\n\t\tx2 = e.getX();\n\t\ty2 = e.getY();\n\t\tedg.newCords(x2, y2);\n\t\tedg.repaint();\n\t\tedg.revalidate();\n\n\t}",
"@Override\r\n public void mouseDragged(MouseEvent event)\r\n {\r\n points.add(event.getPoint());\r\n repaint(); // repaint JFrame\r\n }",
"public void mouseDragged(MouseEvent e) {\n\n }",
"public void mouseDragged(MouseEvent e) {\n }",
"@Override\n public void mouseDragged(MouseEvent e) {\n\n // Check if mouse rate limiter wish to forbid this mouse drag instruction\n if (rateLimiter != null && !rateLimiter.rateLimitCheck()) {\n return;\n }\n\n // Apply mouse drag\n Coord2d mouse = xy(e);\n\n // 3D mode\n if (getChart().getView().is3D()) {\n // Rotate if left button down\n if (AWTMouseUtilities.isLeftDown(e)) {\n Coord2d move = mouse.sub(prevMouse).div(100);\n rotate(move);\n }\n\n // Shift if right button down\n else if (AWTMouseUtilities.isRightDown(e)) {\n Coord2d move = mouse.sub(prevMouse);\n if (move.y != 0)\n shift(move.y / 500);\n }\n\n }\n\n // 2D mode\n else {\n // Record the mouse selection in progress\n Coord2d dragMouse = xy(e);\n\n if (maintainInAxis)\n maintainInAxis(dragMouse);\n\n\n mouseSelection.stop2D = dragMouse;\n mouseSelection.stop3D = screenToModel(dragMouse.x, dragMouse.y);\n\n getChart().getView().shoot();\n\n }\n\n prevMouse = mouse;\n }",
"@Override\n\tpublic void mouseDragged(MouseEvent arg0) {\n\t\tif ((arg0.isAltDown() && SwingUtilities.isLeftMouseButton(arg0)) || (arg0.isAltDown() && SwingUtilities.isRightMouseButton(arg0)) ) {\n\t\t\t//updatePlayerMousePos(arg0);\n\t\t\ttranslateBoard(arg0);\n\t\t\tboardTranslation = true;\n\t\t} else {\n\t\t\tif (player != null) {\n\t\t\t\tupdatePlayerMousePos(arg0);\n\t\t\t\tif (!player.visitor) {\n\t\t\t\t\tObjectFunctions.getOwnedStack(gameInstance, player, ial);\n\t\t\t\t\tStringBuilder strB = new StringBuilder();\n\t\t\t\t\tStringUtils.toString(ial, ' ', strB).append(' ');\n\t\t\t\t\toutText = strB.toString();\n\t\t\t\t\tif (!isSelectStarted) {\n\t\t\t\t\t\tObjectFunctions.getSelectedObjects(gameInstance, player, ial);\n\t\t\t\t\t\tMoveFunctions.dragObjects(this, gameInstance, player, arg0, ial, objOrigPosX, objOrigPosY, mousePressedGamePos, mouseBoardPos, mouseWheelValue);\n\t\t\t\t\t\t/*Handle all drags of Token Objects*/\n\t\t\t\t\t\tif (this.privateArea.containsScreenCoordinates(mouseScreenX, mouseScreenY)) {\n\t\t\t\t\t\t\tthis.privateArea.currentDragPosition = this.privateArea.getInsertPosition(mouseScreenX, mouseScreenY);\n\t\t\t\t\t\t\toutText = \"Position:\" + this.privateArea.currentDragPosition;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.privateArea.currentDragPosition = -1;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (hoveredObject == null && !SwingUtilities.isMiddleMouseButton(arg0) && !(SwingUtilities.isLeftMouseButton(arg0) && arg0.isShiftDown()) && !mouseInPrivateArea) {\n\t\t\t\t\t\t\tselectWidth = mouseScreenX - beginSelectPosScreenX;\n\t\t\t\t\t\t\tselectHeight = mouseScreenY - beginSelectPosScreenY;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t} else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\trepaint();\n\t}",
"void mouseDragged(double x, double y, MouseEvent e );",
"void onDrag(float elasticOffset,\n float elasticOffsetPixels,\n float rawOffset,\n float rawOffsetPixels);",
"@Override\n\tpublic void mouseReleased(MouseEvent e) {\n\t\tisMoved = false;\n\t}",
"abstract boolean getIsDragging();",
"public PaintPanel()\r\n {\r\n // handle frame mouse motion event\r\n addMouseMotionListener(\r\n new MouseMotionAdapter()\r\n {\r\n // store drag points and repaint\r\n @Override\r\n public void mouseDragged(MouseEvent event)\r\n {\r\n points.add(event.getPoint());\r\n repaint(); // repaint JFrame\r\n }\r\n }\r\n );\r\n }",
"@Override\r\n public void mouseReleased(MouseEvent e) {\n if(endDrag!=null && startDrag!=null) {\r\n try \r\n {\r\n\r\n selectedArea = makeRectangle(startDrag.x, startDrag.y, e.getX(), e.getY()); \r\n startDrag = null;\r\n endDrag = null;\r\n repaint();\r\n } catch (Exception e1) {\r\n e1.printStackTrace();\r\n } \r\n }\r\n\r\n }",
"public void mouseReleased(MouseEvent e) // When mouse is released:\n {\n hLineGrabbed = vLineGrabbed = // Neither line is grabbed\n hLineMoved = vLineMoved = false; // Neither line is moved anymore\n }",
"void dragLines() {\n\t\t// calculate the offset made by mouseDrag -- subtract beginOffsetP from\n\t\t// P\n\t\toffsetP = PVector.sub(P, beginOffsetP);\n\n\t\tfor (int i = 0; i < amount; i++)\n\t\t\tline[i].drag();\n\t}",
"public void mouseDragged(MouseEvent e)\n {}",
"public void mouseDragged(MouseEvent e){\n\t\t\tt.rotateStick(e.getX(), e.getY());\n\t\t\tmx = e.getX();\n\t\t\tmy = e.getY();\n\t\t\trepaint();\n\t\t}",
"@Override\n public void mouseDragged(MouseEvent e) {\n switch (GlobalVariable.dragState) {\n case init:\n Point abPoint = EventUtil.getAbsolutePointBy(e);\n // the component that the mouse at (as it's not e.getComponent if you move far away.\n Component componentOfMouse = e.getComponent().getParent().getComponentAt(abPoint);\n if (componentOfMouse instanceof BaseUnitUI) {\n if (!(EventUtil.isPointInComponents(e, \"In\"))\n && !(EventUtil.isPointInComponents(e, \"Out\"))) {\n // You are attempt to relocate the Unit\n e.getComponent().setLocation(abPoint);\n GlobalVariable.dragState = GlobalVariable.DragState.forRelocate;\n } else {\n // You drag a In or Out, so it is to Link Unit\n GlobalVariable.dragState = GlobalVariable.DragState.forLink;\n // get the line you create during mousePress and update its endPoint\n Line line = GlobalVariable.lastLine;\n if (line != null) {\n line.updateEndPoint(abPoint);\n GlobalVariable.workPanel.updateUI();\n }\n }\n }\n break;\n case forRelocate:\n // if it is called during dragging label around\n Point newLoc = EventUtil.getAbsolutePointBy(e);\n e.getComponent().setLocation(newLoc);\n // get the unit which this UI belong to.\n int unitIndex = GlobalVariable.componentArray.indexOf(e.getComponent());\n SuperUnit unit = GlobalVariable.unitArray.get(unitIndex);\n // update the line linked with the unit you want to relocate.\n Line[] lines = unit.getOutLine();\n for (int iLine = 0; iLine < lines.length; iLine ++) {\n if (lines[iLine] != null) {\n // get the label center location\n Point origin = unit.unitUI.getComponent(unit.getInLines().length).getLocation();\n origin = EventUtil.transformToSuperLoca(origin, unit.unitUI);\n origin.x += GlobalVariable.actionWidth / 2;\n lines[iLine].updateStartPoint(origin);\n }\n }\n for (int iIn = 0; iIn < unit.getInLines().length; iIn ++) {\n if (unit.getInLines()[iIn] != null) {\n // get the label center location\n Point origin = unit.unitUI.getComponent(iIn).getLocation();\n origin = EventUtil.transformToSuperLoca(origin, unit.unitUI);\n origin.x += GlobalVariable.actionWidth / 2;\n unit.getInLines()[iIn].updateEndPoint(origin);\n }\n }\n break;\n case forLink:\n Point endPoint = EventUtil.getAbsolutePointBy(e);\n Line line = GlobalVariable.lastLine;\n if (line != null) {\n line.updateEndPoint(endPoint);\n GlobalVariable.workPanel.updateUI();\n }\n break;\n }\n }",
"@Override\n public void mouseDragged(MouseEvent e) {\n Point tabPt = e.getPoint(); // e.getDragOrigin();\n if (startPt != null\n && Math.sqrt(Math.pow(tabPt.x - startPt.x, 2)\n + Math.pow(tabPt.y - startPt.y, 2)) > gestureMotionThreshold) {\n DnDTabbedPane src = (DnDTabbedPane) e.getSource();\n TransferHandler th = src.getTransferHandler();\n dragTabIndex = src.indexAtLocation(tabPt.x, tabPt.y);\n th.exportAsDrag(src, e, TransferHandler.MOVE);\n lineRect.setRect(0, 0, 0, 0);\n src.getRootPane().getGlassPane().setVisible(true);\n src.setDropLocation(new DropLocation(tabPt, -1));\n startPt = null;\n }\n }",
"public void mouseDragged(MouseEvent mEvent) \n {\n /* don't do anything while game is running */\n if(GAME_RUNNING)\n return;\n\n /* TODO: remove debug msg */\n statusMsg = new String(\"mouseDragged @ \" + mEvent.getX() + \", \" + mEvent.getY() + \" on \" + mEvent.getComponent().getClass().getName());\n\n if(mEvent.getComponent() instanceof GameCanvas)\n {\n /* handle mouse dragging on gamecanvas while game is not running */\n switch(SELECT_MODE)\n {\n //=================\n case NONE:\n case SELECTED:\n /* mouse is being dragged but we aren't in drag mode, did this drag start on an unlocked widget? */\n Widget startWidget = timWorld.grabWidget(pressX,pressY); //TODO: add a flag/check so we don't have to continually try to grab in case of failure\n if(startWidget != null && startWidget.isLocked() == false)\n {\n /* mouse dragging started over an unlocked widget, pick it up and begin dragging */\n selectedWidget = startWidget;\n SELECT_MODE = SelectMode.DRAGGING;\n DRAG_TYPE = DragType.PRESS;\n \n clickOffsetX = selectedWidget.getPosition().getX() - pressX;\n clickOffsetY = selectedWidget.getPosition().getY() - pressY;\n \n canvas.repaint();\n }\n break;\n //=================\n case DRAGGING:\n case ADDING:\n /* update mouseX and mouseY for bounding box drawing of the widget being dragged or added */\n mouseX = mEvent.getX();\n mouseY = mEvent.getY();\n canvas.repaint();\n break;\n }\n }\n else if(mEvent.getComponent() instanceof WidgetScroller)\n {\n /* dragging on widget scroller */\n\n /* make sure we aren't already in adding or dragging mode */\n if(SELECT_MODE != SelectMode.ADDING)\n {\n String pressedWidget = ws.getWidgetAt(pressX, pressY);\n if(pressedWidget != null)\n {\n /* pressed on an actual widget, create an instance of it and commence dragging */\n \n // TODO: check for nulls\n addedWidget = pressedWidget;\n selectedWidget = WidgetFactory.createWidget(pressedWidget);\n SELECT_MODE = SelectMode.ADDING;\n DRAG_TYPE = DragType.PRESS;\n\n /* set widget to 0,0 so its boundary will be drawn properly while dragging */\n selectedWidget.setPositionX(0.0f);\n selectedWidget.setPositionY(0.0f);\n\n clickOffsetX = 0;\n clickOffsetY = 0;\n\n canvas.setCursor(Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR));\n\n /* TODO: remove debug msg */\n //System.out.println(\"Picked up \" + pressedWidget + \" from widgetscroller\");\n }\n }\n else\n {\n mouseX = mEvent.getX();\n mouseY = mEvent.getY() + 465;\n canvas.repaint();\n }\n }\n\t}",
"@Override\n public void onDragPositionsChanged(int oldPosition, int newPosition) {\n }",
"@Override\n\tpublic void mouseDragged(MouseEvent e) {\n\t\tco.mouseDragged(e);\n\t}",
"@Override\n\t\tpublic void mouseDragged(MouseEvent e) {\n\t\t\tmouseMoved(e);\n\t\t\tint moveX= (int) e.getPoint().getX();//abscisse actuelle de ma souris \n\t\t\tint moveY= (int) e.getPoint().getY();//ordonnee actuelle de ma souris \n\t\t\tif (avantX>moveX){//l'abscisse est plus grand qu'avant ca veut dire qu'on est allr vers la droite avec la souris.\n\t\t\t\tmX++;\n\t\t\t}\n\t\t\telse if (avantX<moveX){//l'abscisse est plus petit qu'avant ca veut dire qu'on est alle vers la gauche avec la souris.\n\t\t\t\tmX--;\n\t\t\t}\n\t\t\tif (avantY>moveY){//l'ordonnee est plus petit qu'avant ca veut dire qu'on est alle vers le haut avec la souris.\n\t\t\t\tmY++;\n\t\t\t}\n\t\t\telse if (avantY<moveY ){//l'ordonnee est plus grand qu'avant ca veut dire qu'on est alle vers le bas avec la souris.\n\t\t\t\tmY--;\n\t\t\t}\n\t\t\t//j'enregistre les positions actuelles.\n\t\t\tavantX=moveX;\n\t\t\tavantY=moveY;\n\t\t\tdeplacementMinimap();\n\t\t}",
"private void stopDragging() {\n setDragging(false);\n mouseX = mouseY = prevX = prevY = 0;\n }",
"public void mouseDragged( MouseEvent event ){}",
"public void mouseDragged(MouseEvent me) {\n\n\t\t\t}",
"@Override\n\tpublic void nativeMouseDragged(NativeMouseEvent e) {\n\t\t\n\t}",
"@Override\r\n\tpublic void repaint() {\n\t\tsuper.repaint();\r\n\t}",
"@Override\r\n\tpublic void repaint() {\n\t\tsuper.repaint();\r\n\t}",
"@Override\r\n public void componentMoved(ComponentEvent e) {\n }"
] |
[
"0.70829624",
"0.7016529",
"0.69386053",
"0.6785105",
"0.66778135",
"0.66285866",
"0.66285866",
"0.66243386",
"0.66107076",
"0.66107076",
"0.65943015",
"0.6586641",
"0.65845895",
"0.65845895",
"0.65845895",
"0.65845895",
"0.65845895",
"0.65838736",
"0.6581555",
"0.6581555",
"0.6581555",
"0.65703887",
"0.6564499",
"0.6563151",
"0.65473145",
"0.65358794",
"0.6492152",
"0.64765805",
"0.64602655",
"0.6447631",
"0.6403276",
"0.63927156",
"0.6383125",
"0.6364967",
"0.6359834",
"0.6340998",
"0.63319767",
"0.63246125",
"0.6297871",
"0.6290735",
"0.62860334",
"0.62824225",
"0.62824225",
"0.62824225",
"0.62824225",
"0.62824225",
"0.62824225",
"0.62824225",
"0.62801194",
"0.62801194",
"0.6271764",
"0.62695235",
"0.62616855",
"0.62616855",
"0.6247093",
"0.6226319",
"0.6222152",
"0.62190527",
"0.62133104",
"0.6210046",
"0.6210046",
"0.6186977",
"0.6186181",
"0.6182224",
"0.61718667",
"0.61694676",
"0.6164476",
"0.6146712",
"0.6143912",
"0.61388904",
"0.61275756",
"0.6127392",
"0.61250806",
"0.6117284",
"0.6102248",
"0.6099434",
"0.60992134",
"0.60974926",
"0.609461",
"0.60932785",
"0.6090956",
"0.6088452",
"0.6087772",
"0.608699",
"0.608596",
"0.6085683",
"0.607704",
"0.6073734",
"0.6070746",
"0.60690856",
"0.6057709",
"0.6051881",
"0.6041109",
"0.6040632",
"0.604018",
"0.6032323",
"0.60322255",
"0.60266274",
"0.6010749",
"0.6010749",
"0.6009937"
] |
0.0
|
-1
|
once something has collided you can change the characteristics of that collision.
|
@Override
public void preSolve(Contact contact, Manifold oldManifold) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public abstract void collided(Collision c);",
"public void collision() {\n\t\tcapacity = 0;\n\t\tcolor = ColorUtil.YELLOW;\n\t}",
"@Override\n\tpublic void onCollision(Entity collidedEntity)\n\t{\n\t\t\n\t}",
"void collisionHappened(int position);",
"@Override\n void onCollide(Actor other, Contact contact) {\n }",
"void collide() {\n for (Target t : this.helicopterpieces) {\n if (!t.isHelicopter && ((t.x == this.player.x && t.y == this.player.y)\n || (t.x == this.player2.x && t.y == this.player2.y))) {\n this.collected--;\n t.isCollected = true;\n }\n if (t.isHelicopter && this.collected == 1\n && ((t.x == this.player.x && t.y == this.player.y) || (t.isHelicopter\n && this.collected == 1 && t.x == this.player2.x && t.y == this.player2.y))) {\n this.collected = 0;\n this.helicopter.isCollected = true;\n }\n }\n }",
"protected void onCollision(Actor other) {\r\n\r\n\t}",
"@Override\n\tpublic void collision(SimpleObject s) {\n\t\t\n\t}",
"public void collided() {\n this.collided = true;\n }",
"public void collide(){\n hp -= 10;\n resetPos();\n //canMove = false;\n }",
"public void handleCollision(Collision c);",
"@Override\r\n\tpublic void Collision(Entity e)\r\n\t{\r\n\t\tthis.isAlive = false;\r\n\t}",
"public void collision(Collidable collider);",
"@Override\n\tpublic void collide(Entity e) {\n\n\t}",
"void setCollisionRule(CollisionRule collisionRule);",
"public abstract void onCollision();",
"public void collisionDetection(){\r\n\t\tif( this.isActiv() ){\r\n\t\t\tif( this.isCollided() ){\r\n\t\t\t\tthis.onCollision();\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"@Override\n\tpublic void doCollision(CollisionResult c) {\n\t\t\n\t}",
"@Override\r\n\tpublic void handleCollision(Contact contact) {\n\t}",
"@Override\r\n\tpublic void collisionReaction(GameObject collidedWith)\r\n\t{\r\n\t\tif (\"Enemy\".equals(collidedWith.getName()))\r\n\t\t{\r\n\t\t\trandom = PFRandom.randomRange(0,2);\r\n\t\t\tshakeActivated = true;\r\n\t\t\tcollidedWith.kill();\r\n\t\t\tShipHealth -= PFRandom.randomRange(30,40);\r\n\t\t\tSystem.out.println(\"Health: \" + ShipHealth);\r\n\t\t\tSoundManager.playBackgroundSound(\"Explode\");\r\n\t\t}\r\n\r\n\t\tif (\"StarBurst\".equals(collidedWith.getName()))\r\n\t\t{\r\n\t\t\trandom = PFRandom.randomRange(0,2);\r\n\t\t\tshakeActivated = true;\r\n\t\t\tcollidedWith.kill();\r\n\t\t\tShipHealth -= PFRandom.randomRange(20,40);\r\n\t\t\tSystem.out.println(\"Health: \" + ShipHealth);\r\n\t\t\tSoundManager.playBackgroundSound(\"Explode\");\r\n\t\t}\r\n\t\tif (\"GeneralEnemyBullet\".equals(collidedWith.getName()))\r\n\t\t{\r\n\t\t\trandom = PFRandom.randomRange(0,2);\r\n\t\t\tshakeActivated = true;\r\n\t\t\tcollidedWith.kill();\r\n\t\t\tShipHealth -= PFRandom.randomRange(10,20);\r\n\t\t\tSystem.out.println(\"Health: \" + ShipHealth);\r\n\t\t\tSoundManager.playBackgroundSound(\"Explode\");\r\n\t\t}\r\n\t\tif (\"AimedShot\".equals(collidedWith.getName()))\r\n\t\t{\r\n\t\t\trandom = PFRandom.randomRange(0,2);\r\n\t\t\tshakeActivated = true;\r\n\t\t\tcollidedWith.kill();\r\n\t\t\tShipHealth -= PFRandom.randomRange(1,5);\r\n\t\t\tSystem.out.println(\"Health: \" + ShipHealth);\r\n\t\t\tSoundManager.playBackgroundSound(\"Explode\");\r\n\t\t}\r\n\r\n\r\n\t\tif (\"Asteroid\".equals(collidedWith.getName()))\r\n\t\t{\r\n\t\t\trandom = PFRandom.randomRange(0,2);\r\n\t\t\tshakeActivated = true;\r\n\t\t\tcollidedWith.kill();\r\n\t\t\tShipHealth -= PFRandom.randomRange(20, 45);\r\n\t\t\tSystem.out.println(\"Health: \" + ShipHealth);\r\n\r\n\t\t\t//DESTROYED ASTEROID CODE! NEEDS TO BE REUSED WITH SHOOTING!\r\n\t\t\tVec2 deathSpot = collidedWith.getPosition();\r\n\r\n\r\n\t\t\tint healthdropNum = 0;\r\n\t\t\twhile(healthdropNum <= 4)\r\n\t\t\t{\r\n\t\t\t\thealthdropNum++;\r\n\t\t\t\tGameObject healthDrop = new HealthDrops();\r\n\t\t\t\thealthDrop.setPosition(deathSpot.getX() + getRandomValue(-5, 5), deathSpot.getY() + getRandomValue(-5, 5));\r\n\t\t\t\tObjectManager.addGameObject(healthDrop);\r\n\r\n\t\t\t}\r\n\t\t\tSoundManager.playBackgroundSound(\"Explode\");\r\n\r\n\t\t\tif (ShipHealth <= 30)\r\n\t\t\t{\r\n\t\t\t\tSoundManager.playBackgroundSound(\"LowHealth\");\r\n\t\t\t}\r\n\r\n\r\n\t\t}\r\n\r\n\t\tif (\"HealthDrop\".equals(collidedWith.getName()))\r\n\t\t{\r\n\t\t\tscore = score + 1;\r\n\t\t\tSystem.out.println(\"Score: \"+ score);\r\n\t\t\tif (ShipHealth < 100)\r\n\t\t\t{\r\n\r\n\t\t\t\tShipHealth += 1;\r\n\t\t\t\tSystem.out.println(\"Health: \" + ShipHealth);\r\n\r\n\t\t\t\tif (ShipHealth > 30)\r\n\t\t\t\t{\r\n\t\t\t\t\tSoundManager.stopBackgroundSound(\"LowHealth\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tcollidedWith.kill();\r\n\t\t}\r\n\t\tif (\"EnemyHealthDrop\".equals(collidedWith.getName()))\r\n\t\t{\r\n\t\t\tscore = score + 2;\r\n\t\t\tSystem.out.println(\"Score: \"+ score);\r\n\t\t\tif (ShipHealth < 100)\r\n\t\t\t{\r\n\r\n\t\t\t\tShipHealth += 2;\r\n\t\t\t\tSystem.out.println(\"Health: \" + ShipHealth);\r\n\t\t\t\tif (ShipHealth > 30)\r\n\t\t\t\t{\r\n\t\t\t\t\tSoundManager.stopBackgroundSound(\"LowHealth\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tcollidedWith.kill();\r\n\t\t}\r\n\t\tif (\"HealthPickup\".equals(collidedWith.getName()))\r\n\t\t{\r\n\r\n\t\t\t//System.out.println(\"Score: \" + score);\r\n\t\t\tcollidedWith.kill();\r\n\t\t\tShipHealth = 100;\r\n\t\t\tSystem.out.println(\"HEALTH RESTORED\");\r\n\t\t\tSoundManager.stopBackgroundSound(\"LowHealth\");\r\n\r\n\t\t}\r\n\t\tif (\"FollowBullet\".equals(collidedWith.getName()))\r\n\t\t{\r\n\t\t\trandom = PFRandom.randomRange(0,2);\r\n\t\t\tshakeActivated = true;\r\n\t\t\tcollidedWith.kill();\r\n\t\t\tShipHealth -= PFRandom.randomRange(10, 30);\r\n\t\t\tSystem.out.println(\"Health: \" + ShipHealth);\r\n\t\t\tSoundManager.playBackgroundSound(\"Explode\");\r\n\t\t\tif (ShipHealth <= 30)\r\n\t\t\t{\r\n\t\t\t\tSoundManager.playBackgroundSound(\"LowHealth\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (\"BossFollower\".equals(collidedWith.getName()))\r\n\t\t{\r\n\t\t\tsetPositionY(165.7f);\r\n\t\t}\r\n\t}",
"public abstract void collide(InteractiveObject obj);",
"protected void collidesCallback(){\n\t\tphxService.collidingCallback(this);\n\t}",
"public abstract void collided(CircleCollider col);",
"@Override\n public void collide(ScreenObject other) {\n switch (other.getType()) {\n case ASTEROID:\n hp -= other.dealDamage();\n break;\n case ENEMY:\n hp -= other.dealDamage();\n break;\n case ENEMYBULLET:\n hp -= other.dealDamage();\n break;\n case MACGUFFIN:\n macguffinsCollected++;\n break;\n case PORT:\n if (macguffinsCollected >= level.getMacguffinCount()\n && boundingCircle.contains(other.getPosition())) {\n Gdx.app.log(\"Ship\", \"level over\");\n //ends level\n }\n break;\n }\n }",
"public static void setCollision(boolean b)\r\n\t{\r\n\t\tcollision = b;\r\n\t}",
"public void collide(DynamicCollEvent dce, int collRole) {\n if (collRole == DynamicCollEvent.COLL_AFFECTED) {\n BasicGameObject invoker = dce.getInvoker();\n if (invoker instanceof Monster) { /* Do nothing */ }\n if (invoker instanceof Player) {\n Player player = (Player) invoker;\n boolean harmedPlayer = (\n dce.getInvokerCollType() == DynamicCollEvent.COLL_LEFT ||\n dce.getInvokerCollType() == DynamicCollEvent.COLL_RIGHT ||\n dce.getInvokerCollType() == DynamicCollEvent.COLL_TOP ||\n dce.getInvokerCollType() == DynamicCollEvent.COLL_TOPLEFT ||\n dce.getInvokerCollType() == DynamicCollEvent.COLL_TOPRIGHT\n );\n boolean harmedByPlayer = (\n dce.getInvokerCollType() == DynamicCollEvent.COLL_BOTTOM ||\n dce.getInvokerCollType() == DynamicCollEvent.COLL_BOTTOMLEFT ||\n dce.getInvokerCollType() == DynamicCollEvent.COLL_BOTTOMRIGHT\n );\n\n if (harmedPlayer) {\n player.decreaseHealth(10); // This monster scores 10 hitpoints. ;)\n collLeftRight = true; // This way, we will turn around in advanceCycle.\n } else if (harmedByPlayer) {\n player.setVelocity(player.getVelX(), -20);\n this.getReferrer().getSndFX().play(SoundFX.SND_MONSTERSQUISH);\n this.decreaseHealth(100);\n referrer.getPlayer().increasePoints(5);\n } else {\n System.out.println(\"Undefined collision between Monster and Player. ERROR 30\");\n }\n }\n this.newX = dce.getAffectedNewX();\n this.newY = dce.getAffectedNewY();\n } else {\n this.newX = dce.getInvokerNewX();\n this.newY = dce.getInvokerNewY();\n }\n\n if (DEBUG) {\n if (this == this.getReferrer().getObjects()[9]) {\n System.out.println(\"DET F�RSTE MONSTERET HAR CRASHET MED PLAYER!!!\");\n }\n }\n }",
"private void circleCollison() {\n\t\t\n\t}",
"public void collide(Entity wall) {\n\t\tthis.setCurrentAnimation(\"running collided_\" + orientation, FRAME_DURATION);\n\t\tthis.enableBoundingBox();\n\t}",
"public void unitCollision() {\n\t}",
"public void setCollidable(boolean collide) {\r\n collidable = collide;\r\n }",
"@Override\n\tpublic void onCollision(Model collisionModel, ColBox collisionColbox) {\n\n\t}",
"public void noCollision(){\r\n this.collidingEntity2=null;\r\n this.collidingEntity=null;\r\n collidedTop=false;\r\n collide=false;\r\n }",
"private void collideWithBall() {\n die();\n }",
"public void checkCollision() {}",
"@Override\n public void onCollide (GameElement element) {\n\n }",
"public void collidedWith(Entity other){\n\t}",
"public abstract void processCollisions();",
"@Override\r\n\tpublic void collisionEffect(AbstractCollidable other, Vector mtv) {\r\n\t\t\r\n\t\tClass<? extends AbstractCollidable> otherClass = other.getClass();\r\n\r\n\t\tif (\t\totherClass.equals(TerrainSection.class)\r\n\t\t\t\t|| otherClass.equals(Obstacle.class)\r\n\t\t\t\t|| (otherClass.equals(Player.class) && owner != other)\r\n\t\t\t\t|| (otherClass.equals(Enemy.class) && owner != other)) {\r\n\t\t\thasCollided = true;\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\r\n public void collideEffect(Spatial s) {\n }",
"@Override\n public void collide(CollisionEvent e) {\n if (e.getOtherBody().equals(game.getPlayer())){ \n game.getPlayer().setPaper(1);\n game.getPlayer().addScore(10);\n this.destroy();\n }\n }",
"@Override\n\tpublic void handleCollision(GameObject otherObject) {\n\t\tif(otherObject instanceof Drone) {\n\t\t\tSystem.out.println(\"PlayerCyborg collided with a Drone cause 1 damage\\n\");\n\t\t\tthis.setDamageLevel(this.getDamageLevel()+1);\n\t\t}\n\t\telse if(otherObject instanceof NonPlayerCyborg) {\n\t\t\tSystem.out.println(\"PlayerCyborg collided with another cyborg cause 2 damage\\n\");\n\t\t\tthis.setDamageLevel(this.getDamageLevel()+2);\n\t\t}\n\t\telse if(otherObject instanceof Base) {\n\t\t\tint BaseID = ((Base) otherObject).getBaseID();\n\t\t\tif(this.getLastBaseReached()+1 == BaseID){\n\t\t\t\tint newBaseID = this.getLastBaseReached()+1;\n\t\t\t\tthis.setLastBaseReached(newBaseID);\n\t\t\t\tif(this.getLastBaseReached()+1 < 4){\n\t\t\t\t\tSystem.out.println(\"PlayerCyborg reach to base \" + newBaseID + \"\\n\");\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"Please collide base in sequential!\\n\" + \n\t\t\t\t\t\t \"The next sequential is \" + (this.getLastBaseReached()+1) + \"\\n\");\n\t\t\t}\n\t\t}\n\t\telse if(otherObject instanceof EnergyStation) {\n\t\t\tif(((EnergyStation) otherObject).getCapacity()!=0) {\n\t\t\t\tint beforeRuel = this.getEnergyLevel();\n\t\t\t\tif(this.getEnergyLevel()+((EnergyStation) otherObject).getCapacity()<this.getMaxEnergyLevel()) {\n\t\t\t\t\tthis.setEnergyLevel(this.getEnergyLevel()+((EnergyStation) otherObject).getCapacity());\n\t\t\t\t}else {\n\t\t\t\t\tthis.setEnergyLevel(this.getMaxEnergyLevel()); //over fuel the Energy\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"PlayerCyborg collided with a EnergyStation refuel \" + Math.abs(this.getEnergyLevel()-beforeRuel) + \" Energy\\n\");\n\t\t\t}\n\t\t}\n\t}",
"private void collision() {\n\t\tfor(int i = 0; i < brownMeteors.length; i++) {\n\t\t\tif( distance(brownMeteors[i].getLayoutX() + ENTITIES_SIZE/2, brownMeteors[i].getLayoutY() - ENTITIES_SIZE/2, \n\t\t\t\t\tplayer.getLayoutX() + ENTITIES_SIZE/2, player.getLayoutY() - ENTITIES_SIZE/2) <= ENTITIES_SIZE) {\n\t\t\t\tsetNewElementPosition(brownMeteors[i]);\n\t\t\t\t\n\t\t\t\t//Update score -\n\t\t\t\tsc.score -= 3 * sc.collisionCounter; \n\t\t\t\tsc.collisionCounter++;\n\t\t\t}\n\t\t}\n\t\t//player vs grey Meteor\n\t\tfor(int i = 0; i < greyMeteors.length; i++) {\n\t\t\tif( distance(greyMeteors[i].getLayoutX() + ENTITIES_SIZE/2, greyMeteors[i].getLayoutY() - ENTITIES_SIZE/2, \n\t\t\t\t\tplayer.getLayoutX() + ENTITIES_SIZE/2, player.getLayoutY() - ENTITIES_SIZE/2) <= ENTITIES_SIZE) {\n\t\t\t\tsetNewElementPosition(greyMeteors[i]);\n\n\t\t\t\t//Update score -\n\t\t\t\tsc.score -= 3 * sc.collisionCounter;\n\t\t\t\tsc.collisionCounter++;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t//laser vs brown Meteor\n\t\tfor(int i = 0; i < lasers.size(); i++) {\n\t\t\tfor(int j = 0; j < brownMeteors.length; j++) { // 0 - 2 -> 3elem\n\t\t\t\tif(lasers.get(i).getBoundsInParent().intersects(brownMeteors[j].getBoundsInParent())) {\t// bounds of a node in it's parent coordinates\n\t\t\t\t\tsetNewElementPosition(brownMeteors[j]);\n\t\t\t\t\tgamePane.getChildren().remove(lasers.get(i));\n\t\t\t\t\tlasers.remove(i);\n\t\t\t\t\tSystem.out.println(lasers.size());\n\t\t\t\t\t\n\t\t\t\t\t//Update score +\n\t\t\t\t\tsc.score += 1; \n\t\t\t\t\tbreak; //kein fehler mehr durch index out of bounds verletzung\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\n\t\t\n\t\tfor(int i = 0; i < lasers.size(); i++) {\n\t\t\tfor(int j = 0; j < greyMeteors.length; j++) { // 0 - 2 -> 3elem\n\t\t\t\tif(lasers.get(i).getBoundsInParent().intersects(greyMeteors[j].getBoundsInParent())) {\t// bounds of a node in it's parent coordinates\n\t\t\t\t\tsetNewElementPosition(greyMeteors[j]);\n\t\t\t\t\tgamePane.getChildren().remove(lasers.get(i));\n\t\t\t\t\tlasers.remove(i);\n\t\t\t\t\tSystem.out.println(lasers.size());\n\t\t\t\t\t\n\t\t\t\t\t//Update score +\n\t\t\t\t\tsc.score += 1; \n\t\t\t\t\tbreak; //kein fehler mehr durch index out of bounds verletzung\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\t\t\n\t}",
"public void collideWith(Rigidbody obj) {\n\t\t\r\n\t}",
"public abstract void collideWith(Entity entity);",
"public void applyEntityCollision(Entity entityIn) {\n }",
"public void tick() {\n if (!isActive || !entities[0].canCollide || !entities[1].canCollide) {\n return;\n }\n\n rectangles[0].x = boundaries[0].x - 1;\n rectangles[1].x = boundaries[1].x - 1;\n rectangles[0].y = boundaries[0].y - 1;\n rectangles[1].y = boundaries[1].y - 1;\n\n isCollided = rectangles[0].intersects(rectangles[1]);\n\n if (isCollided && !firedEvent) {\n lastEvent = new EntityEntityCollisionEvent(this);\n onCollide();\n start(lastEvent);\n firedEvent = true;\n }\n if (!isCollided && firedEvent) {\n onCollisionEnd();\n end(lastEvent);\n firedEvent = false;\n }\n if (previouslyCollided != isCollided) {\n setBoundaryColors();\n }\n\n previouslyCollided = isCollided;\n }",
"public abstract boolean isCollided();",
"public void addCollision(){\n if (collisionCounter == 4){\n return;\n }\n this.collisionCounter++;\n }",
"@Override\n\tprotected void collideEnd(Node node) {\n\n\t}",
"public void updateOptimalCollisionArea();",
"public void collide(CollisionEvent evt) {\n\t\tthis.colliding = true;\n\t\tif(evt.getEntity().getType().equals(\"PlayerCharacter\") && evt.getDirection().equals(Direction.TOP)){\n\t\t\tthis.addVector2D(new Vector2D(0,2));\n\t\t}\n\t\tif (this.getCollideTypes().contains(evt.getEntity().getType())\n\t\t\t\t&& (evt.getDirection().equals(Direction.BOTTOM))) {\n\t\t}\n\t}",
"@Override\r\n\tpublic void onCollisionWithBullet() {\n\t\t\r\n\t}",
"private void collision(){\n\t\tboolean touched = false;\n\t\tboolean hit;\n\t\tint j =0;\n\t\twhile ( j< this.game_.getSaveBaby().size() && !touched){\n\t\t\tBabyBunnies b = this.game_.getSaveBaby().get(j);\n\t\t\ttouched = this.game_.getBunnyHood().getPosition().dst(b.getPosition())<=80;\n\t\t\thit = this.game_.getWolf().getPosition().dst(b.getPosition())<=80;\n\t\t\tif (touched){\n\t\t\t\tthis.game_.setBabySaved(b);\n\t\t\t}\n\t\t\tif (hit){\n\t\t\t\tthis.game_.wolfCatchBunnies(b);\n\t\t\t\t/**\n\t\t\t\t * Test de callback, retour vers l app android\n\t\t\t\t */\n\t\t\t\tif(this.game_.getScoreWolf()==3){\n\t\t\t\t\tif (this.gameCallBack != null) {\n\n this.gameCallBack.gameOverActivity(this.game_.getScoreBunny());\n\t\t\t\t\t\tthis.isGameOver=true;\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tGdx.app.log(\"MyGame\", \"To use this class you must implement MyGameCallback!\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tj++;\n\t\t}\n\t}",
"public void setCollided(boolean collided) {\n this.collided = collided;\n }",
"public void collide(StaticCollEvent sce) {\n int cType = sce.getInvCollType();\n\n if (cType == StaticCollEvent.COLL_BOTTOM) {\n collBottom = true;\n this.newY = sce.getInvokerNewY();\n }\n if (cType == StaticCollEvent.COLL_BOTTOMLEFT || cType == StaticCollEvent.COLL_BOTTOMRIGHT) {\n collLeftRight = true;\n this.newX = sce.getInvokerNewX();\n this.newY = sce.getInvokerNewY();\n }\n if (cType == StaticCollEvent.COLL_LEFT || cType == StaticCollEvent.COLL_RIGHT) {\n this.velX = -this.velX; // Turn around.\n }\n if (collBottom || collLeftRight) {\n if (action == FALLING) {\n this.action = WALKING;\n this.velX = monsterSpeed;\n }\n } else {\n this.action = FALLING;\n this.newX = sce.getInvokerNewX();\n this.newY = sce.getInvokerNewY();\n }\n }",
"@Override\n public boolean isCollided(gameObject obj){\n return Rect.intersects(obj.getastRect(), getRectplayer1())||\n Rect.intersects(obj.getastRect(), getRectplayer2()) ||\n Rect.intersects(obj.getastRect(), getRectplayer3()) ||\n Rect.intersects(obj.getastRect(), getRectplayer4());\n }",
"public void setColDamage(int collision_damage) {\n this.collision_damage = collision_damage;\n }",
"private void setCollision(){\n\t\tMapObjects mapObjects = map.getLayers().get(\"COLLISION\").getObjects();\n\t\tfor (int ii = 0; ii < mapObjects.getCount(); ++ii){\n\t\t\tRectangleMapObject rectangle_map_object = (RectangleMapObject) mapObjects.get(ii);\n\t\t\tareaCollision.add(new Rectangle(rectangle_map_object.getRectangle()));\n\t\t}\n\t}",
"public boolean doesCollide()\n {\n return doesCollide;\n }",
"public void colapse(){\n\t\tsetBounds(getX(), getY(), getDefaultWidth(), getHeight());\n\t\tcollisionBounds.setWidth(getDefaultWidth());\n\t}",
"@Override\n public void collide(CollisionEvent e) {\n //collision detection that will allow you to unlock a character\n if (e.getOtherBody() instanceof Player) {\n Player p = (Player) e.getOtherBody();\n //if player has not unlocked the 2nd hero for the first level then unlock\n if (!p.getUnlockHero2() && p.getWorld() instanceof Level1){\n p.setUnlockHero2(true);\n }\n //if player has not unlocked the 3rd hero for the second level then unlock\n if (!p.getUnlockHero3() && p.getWorld() instanceof Level2) {\n p.setUnlockHero3(true);\n }\n if (p.getWorld() instanceof Level3) {\n if (p.getHealth()<51){\n p.setHealth(p.getHealth()+50);\n }\n }\n //destroy the chest and acknowledge that it's been picked up\n c.destroy();\n p.getWorld().setPickedUp(true);\n }\n }",
"public void onCollision(GameObject go){\n\t\t// to be completed later\n\t}",
"public void checkCollision()\r\n\t{\r\n\t\t//for Bullets against Avatar and Enemy\r\n\t\tfor(int bulletIndex = 0; bulletIndex < bullets.size(); bulletIndex++)\r\n\t\t{\r\n\t\t\tBullet b = bullets.get(bulletIndex);\r\n\t\t\tif (b instanceof AvatarBullet)\r\n\t\t\t{\r\n\t\t\t\t@SuppressWarnings(\"unused\")\r\n\t\t\t\tboolean collided = false;\r\n\t\t\t\tfor (int enemyIndex = 0; enemyIndex < enemy.size(); enemyIndex++)\r\n\t\t\t\t{\r\n\t\t\t\t\tEnemy e = enemy.get(enemyIndex);\r\n\t\t\t\t\tif(((AvatarBullet) b).collidedWith(e))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tbullets.remove(bulletIndex);\r\n\t\t\t\t\t\tbulletIndex--;\r\n\t\t\t\t\t\tenemy.remove(enemyIndex);\r\n\t\t\t\t\t\tenemyIndex --;\r\n\t\t\t\t\t\tcollided = true;\r\n\t\t\t\t\t\tint score = getScore()+1;\r\n\t\t\t\t\t\tsetScore(score);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (b instanceof EnemyBullet)\r\n\t\t\t{\r\n\t\t\t\tif (((EnemyBullet) b).collidedWith(avatar))\r\n\t\t\t\t{\r\n\t\t\t\t\tbullets.remove(bulletIndex);\r\n\t\t\t\t\tbulletIndex--;\r\n\t\t\t\t\tint health = Avatar.getLives()-1;\r\n\t\t\t\t\tavatar.setLives(health);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor(int platformIndex = 0; platformIndex < platforms.size(); platformIndex++)\r\n\t\t{\r\n\t\t\tPlatforms p = platforms.get(platformIndex);\r\n\t\t\tif (p instanceof Platforms)\r\n\t\t\t{\r\n\t\t\t\t//boolean collided = false;\r\n\t\t\t\t//Avatar a = avatar.get(enemyIndex);\r\n\t\t\t\tif(((Platforms) p).collidedWith(avatar))\r\n\t\t\t\t{\r\n\t\t\t\t\tsetAlive(true);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tsetAlive(false);\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}",
"public void handleCollision(ISprite collisionSprite, Collision collisionType);",
"public abstract void collision(SpaceThing thing);",
"private void collide(String typeOfCollision, Entity first, Entity second) {\n switch (typeOfCollision) {\n\n case \"playerWithWall\":\n intersectPlayerWithWall(first);\n break;\n\n case \"playerWithHazard\":\n intersectPlayerWithWall(first);\n break;\n\n case \"bulletWithWall\":\n room.getEntityManager().removeEntity(first);\n ((WeaponComponent) player.getComponent(ComponentType.WEAPON)).getBullets().removeEntity(first);\n break;\n\n case \"enemyWithWall\":\n intersectEnemyWithWall(first, second);\n break;\n\n case \"enemyWithBullet\":\n intersectBulletWithEnemy(first, second);\n break;\n\n case \"enemyWithEnemy\":\n intersectEnemyWithWall(first, second);\n break;\n\n case \"enemyWithPlayer\":\n NinjaEntity ninja = (NinjaEntity) second;\n ninja.setIsHit(true);\n break;\n\n case \"itemWithPlayer\":\n itemIntersectsPlayer(first);\n break;\n\n case \"swordWithEnemy\":\n intersectSwordWithEnemy(first, second);\n break;\n }\n }",
"private void collide() {\n int collisionRange;\n \n if(isObstacle) {\n for(Thing thg: proximity) {\n if(\n thg.isObstacle\n &&\n !thg.equals(this)\n ) {\n collisionRange = (thg.size + this.size)/2;\n deltaA = this.distance(thg);\n \n if( \n Math.abs(deltaA[0]) <= collisionRange\n &&\n Math.abs(deltaA[1]) <= collisionRange\n ){\n if(deltaA[0] > deltaA[1]) {\n if(Math.abs(deltaA[0]) > Math.abs(deltaA[1])) {\n if(dA[0] == 1) {\n dA[0] = 0;\n }\n }\n if(Math.abs(deltaA[0]) < Math.abs(deltaA[1])) {\n if(dA[1] == -1) {\n dA[1] = 0;\n }\n }\n if(Math.abs(deltaA[0]) == Math.abs(deltaA[1])) {\n if(dA[0] != 0) {\n dA[1] = dA[0];\n }\n if(dA[1] != 0) {\n dA[0] = dA[1];\n }\n }\n }\n \n if(deltaA[0] < deltaA[1]) {\n if(Math.abs(deltaA[0]) > Math.abs(deltaA[1])) {\n if(dA[0] == -1) {\n dA[0] = 0;\n }\n } \n if(Math.abs(deltaA[0]) < Math.abs(deltaA[1])) {\n if(dA[1] == 1) {\n dA[1] = 0;\n }\n } \n if(Math.abs(deltaA[0]) == Math.abs(deltaA[1])) {\n dA[0] = 1 - 2*(int) (Math.random()*2);\n dA[1] = dA[0];\n }\n }\n \n if(Math.abs(deltaA[0]) == Math.abs(deltaA[1])) {\n dA[0] = 1 - 2*(int) (Math.random()*2);\n dA[1] = -dA[0];\n }\n }\n }\n }\n }\n }",
"void onNoCollision();",
"public void collision(ArrayList<Game_Object> obj) {\n for (int i = 0; i < obj.size(); i++) {\n \tif(collidesWith(obj.get(i)) && (obj.get(i) instanceof Unit)) {\n \t\tUnit unit = (Unit) obj.get(i);\n \t\tdamage(unit.getColDamage());\n \t}\n }\n }",
"@Override\n\tpublic boolean checkCollision() {\n\t\treturn true;\n\t}",
"public void collisionEvent(Keeper keeper) {\r\n if (getPossessionStatus() &&\r\n (keeper.getTeam().getColor() != this.getTeam().getColor()))\r\n {\r\n if(!keeper.isStunned() && //They do not tackle you if they are stunned!\r\n random.nextInt(MAX_CHANCE) <= KEEPER_CHANCE) // and a 40% chance.\r\n {\r\n dropQuaffle(); // Simulating the chaser of the opposing team tackling you.\r\n }\r\n }\r\n super.collisionEvent(keeper);\r\n }",
"@Override\n\tpublic void doCollidePlayer(Player player) {\n\t\t\n\t}",
"@Override\n public void collidedWith (Participant p)\n {\n \n }",
"public void asteroidCol()\n\t{\n\t\t//collision can only occur if at least 2 asteroids are spawned\n\t\tif(gameObj[0].size() >=2)\n\t\t{\n\t\t\tint ast = new Random().nextInt(gameObj[0].size());\n\t\t\tgameObj[0].remove(ast);\n\t\t\tast = new Random().nextInt(gameObj[0].size());\n\t\t\tgameObj[0].remove(ast);\n\t\t\tSystem.out.println(\"2 asteroids have collided and been removed from the world\");\n\t\t}else\n\t\t\tSystem.out.println(\"2 asteroids are not spawned\");\n\t}",
"protected void onPlayerCollide(long time) {\n\t\tspecialMovement(player1, GameMap.WALL);\n\t\tspecialMovement(player2, GameMap.WALL);\n\t}",
"@Override\n\tpublic void handleCollision(ICollider otherObject) {\n\t\tSystem.out.println(\"i hit a flame :(\");\n\t}",
"private void bladeAndActorOverlap() {\n for (BirdActor bird : birdList) {\n if (bird.isCircleOverlap(bladeActor.boundaryCircle)) {\n ExplosionActor explosionActor = new ExplosionActor(bird.getX(), bird.getY(), 0.03333f, explosionAtlas, Animation.PlayMode.NORMAL);\n gameStage.addActor(explosionActor);\n bird.setRandomPosition(birdActorLowestYPos);\n bird.flyAction.restart();\n lblHighScore.setText(scoreDefaultTxt + String.format(\"%04d\", ++score));\n ++destroyInOneShoot;\n }\n }\n }",
"@Override\r\n\tpublic void handleCollision(ICollider otherObject) {\r\n\t\t((GameObject) otherObject).setGetIfCol(true);\r\n\t\tif (otherObject instanceof Asteroid) {\r\n\t\t\t((Asteroid) otherObject).setHitCase(2);\r\n\t\t} else if (otherObject instanceof Missile) {\r\n\t\t\tif (((Missile) otherObject).getMissileFlag() == 0) {\r\n\t\t\t\t((Missile) otherObject).setHitCase(6);\r\n\t\t\t}\r\n\t\t} else if (otherObject instanceof PlayerShip) {\r\n\t\t\t((PlayerShip) otherObject).setHitCase(7);\r\n\t\t} else if(otherObject instanceof Curve) {\r\n\t\t\t((Curve) otherObject).setHitCase(9);\r\n\t\t}\r\n\t}",
"@Override\n public void collide(CollisionEvent e) {\n \n if (e.getOtherBody() instanceof OptimusPrime && e.getReportingBody() instanceof Health) {\n prime.incrementHealthCount();\n healthSound.play();\n e.getReportingBody().destroy();\n \n \n }\n \n else if (e.getOtherBody() instanceof OptimusPrime && e.getReportingBody() instanceof Emerald) {\n prime.incrementEmeraldCount();\n emeraldSound.play();\n e.getReportingBody().destroy();\n }\n \n else if (e.getOtherBody() instanceof OptimusPrime && e.getReportingBody() instanceof DeadZone) {\n e.getReportingBody().destroy();\n System.exit(0);\n } \n \n else if (e.getReportingBody() instanceof Boss && e.getOtherBody() instanceof FireBall){\n e.getOtherBody().destroy();\n System.out.println(\"boss hit\");\n }\n \n else if (e.getReportingBody() instanceof StaticBody && e.getOtherBody() instanceof FireBall){\n e.getOtherBody().destroy();\n System.out.println(\"boss hit\");\n } \n \n }",
"@Override\n\tpublic void onCollide() {\n\t}",
"@Override\n \tpublic void collided(Entity x) {\n \t\t\n \t\tx.destroy();\n \t\t\n \t}",
"public void collide(SteelHorse s)\n\t{\n\t\ts.collide(this);\n\t}",
"public String playerCollide(PlayerObject player)\n {\n String collision;\n\n Rect oldPos = player.getRectangle();\n\n\n if (Rect.intersects(rectangle, player.getRectangle()))\n {\n if (isTouchable && isMovable )\n {\n if (Constants.xVelocity > 0) {\n return \"right\";\n }\n\n if (Constants.xVelocity < 0) {\n return \"left\";\n }\n\n if (Constants.yVelocity > 0) {\n return \"bottom\";\n }\n\n if (Constants.yVelocity < 0) {\n return \"top\";\n }\n }\n\n if (isTouchable & !isMovable)\n {\n return \"0\";\n }\n\n }\n\n return \"null\";\n }",
"@Override\n public void gameObjectCollisionOccurred(List<GameObject> collidedGameObjects)\n {\n for (GameObject go : collidedGameObjects)\n {\n if (this instanceof Speler && go instanceof AI)\n {\n if (this.getGrootte() > ((AI) go).getGrootte())\n {\n ((Speler) this).speelHapGeluid();\n g.deleteGameObject(go);\n ((Speler) this).maakGroter(((AI) go).getGrootte() / marge);\n } else if (this.getGrootte() < ((AI) go).getGrootte())\n {\n opgegeten = true;\n }\n oceaan.verhoogScore();\n }\n }\n }",
"@Override \n public void collide(Ball ball, Collidable collidable) {\n super.collide(ball, collidable);\n Vect transferLoc = new Vect(this.getLocation().x()+0.5, this.getLocation().y()+0.5);\n Double theta = Math.random()*2*Math.PI;\n board.addBall(new Ball(transferLoc, new Vect(Constants.SPAWNER_SHOOT_VELOCITY*Math.cos(theta),Constants.SPAWNER_SHOOT_VELOCITY*Math.sin(theta) ), this.getName()+\"SpawnedBall\"+this.spawnCount, board.getGravity(), board.getFriction1(), board.getFriction2()));\n spawnCount += 1;\n this.trigger();\n }",
"@Override\r\n public boolean collision(org.dyn4j.dynamics.Body body1, BodyFixture fixture1, org.dyn4j.dynamics.Body body2, BodyFixture fixture2, Manifold manifold) {\r\n\r\n EntityId one = (EntityId) body1.getUserData();\r\n EntityId two = (EntityId) body2.getUserData();\r\n\r\n if (gravityState.isWormholeFixture(fixture1) || gravityState.isWormholeFixture(fixture2)) {\r\n return gravityState.collide(body1, fixture1, body2, fixture2, manifold, time.getTpf());\r\n }\r\n\r\n if (flagState.isFlag(one) || flagState.isFlag(two)) {\r\n return flagState.collide(body1, fixture1, body2, fixture2, manifold, time.getTpf());\r\n }\r\n\r\n return true; //Default, keep processing this event\r\n }",
"private void fireball1Collisions() {\r\n\t\tGObject topLeft = getElementAt(fireball1.getX() - 1, fireball1.getY());\r\n\t\tGObject bottomLeft = getElementAt(fireball1.getX() - 1, fireball1.getY() + fireball1.getHeight());\r\n\t\tGObject topRight = getElementAt(fireball1.getX() + fireball1.getWidth() + 1, fireball1.getY());\r\n\t\tGObject bottomRight = getElementAt(fireball1.getX() + fireball1.getWidth() + 1, fireball1.getY() + fireball1.getHeight());\r\n\t\tif(topLeft == player || bottomLeft == player || topRight == player || bottomRight == player) {\r\n\t\t\tremove(fireball1);\r\n\t\t\tfireball1 = null;\r\n\t\t\thits++;\r\n\t\t\tloseLife();\r\n\t\t}\r\n\t}",
"void collisions(){\n float tmp;\n \n if (dist(redX, redY, yelX, yelY) < 30 ){ // Red and Yellow\n tmp = yelDX; yelDX = redDX; redDX = tmp;\n tmp= yelDY; yelDY = redDY; redDY = tmp;\n }\n \n if (dist(redX, redY, bluX, bluY) < 30){ // Red and Blue\n tmp = bluDX; bluDX = redDX; redDX = tmp;\n tmp = bluDY; bluDY = redDY; redDY = tmp;\n }\n \n if (dist(bluX, bluY, yelX, yelY) < 30){ // Blue and Yellow\n tmp = yelDX; yelDX = bluDX; bluDX = tmp;\n tmp = yelDY; yelDY = bluDY; bluDY = tmp;\n }\n if (dist(cueX, cueY, redX, redY) < 30){ // Cue and Red\n tmp = redDX; redDX = cueDX; cueDX = tmp;\n tmp = redDY; redDY = cueDY; cueDY = tmp;\n }\n if (dist(cueX, cueY, bluX, bluY) < 30){ // Cue and Blue\n tmp = bluDX; bluDX = cueDX; cueDX = tmp;\n tmp = bluDY; bluDY = cueDY; cueDY = tmp;\n }\n if (dist(cueX, cueY, yelX, yelY) < 30){ // Cue and Yellow\n tmp = yelDX; yelDX = cueDX; cueDX = tmp;\n tmp = yelDY; yelDY = cueDY; cueDY = tmp;\n }\n}",
"private void checkCollision()\n {\n if (gameOverBool==false)\n { \n Actor a = getOneIntersectingObject(Wall.class);\n if (a != null||isAtEdge())\n {\n setImage(\"gone.png\");//laat de helicopter verdwijnen\n //greenfoot.GreenfootSound.stop(\"helisound.wav\");\n World world = getWorld();\n world.addObject(new Explosion(), getX(), getY());\n Greenfoot.playSound(\"heliExplosion.wav\");\n world.addObject( new Gameover(), 600, 300 );\n gameOverBool = true; \n }\n } \n }",
"@Override\n\tpublic void doCollideEnemy(SlowEnemy enemy) {\n\t\t\n\t}",
"private void checkCollision()\n {\n if(isTouching(Rocket.class))\n {\n removeTouching(Rocket.class);\n Level1 level1 = (Level1)getWorld(); \n isSwordscore = false;\n notifyObservers(-20);\n }\n else if(isTouching(Fire.class))\n {\n removeTouching(Fire.class);\n Level1 level1 = (Level1)getWorld(); \n isSwordscore = false;\n notifyObservers(-20);\n }\n else if(isTouching(Sword.class))\n { \n removeTouching(Sword.class);\n Level1 level1 = (Level1)getWorld();\n isSwordscore = false;\n notifyObservers(-20);\n }\n \n else if(isTouching(Star.class))\n { \n removeTouching(Star.class);\n Level1 level1 = (Level1)getWorld();\n isSwordscore = false;\n count++;\n boost();\n }\n }",
"public void collision(){\r\n\t\tif(currX < 0 || currX > 1000-width || currY < 0 || currY > 700-height){\r\n\t\t\tinGame=false;\r\n\t\t}\r\n\t\t/*\r\n\t\tI start at 1 because tail[0] will constantly be taking the position\r\n\t\tof the snake's head, so if i start at 0, the game would end immediately.\r\n\t\t*/\r\n\t\tfor(int i=1; i < numOranges; i++){\r\n\t\t\tRectangle currOrangeRect = new Rectangle(tail[i].getXcoords(), tail[i].getYcoords(), OrangeModel.getWidth(), OrangeModel.getHeight());\r\n\t\t\tif(new Rectangle(currX, currY, width, height).intersects(currOrangeRect)){\r\n\t\t\t\tinGame=false;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void onEntityCollidedWithBlock(World world, int x, int y, int z, Entity entity)\n {\n \tentity.setInWeb();\n entity.motionY *= this.m_SinkRate;\n }",
"@Override\r\n public boolean collision(org.dyn4j.dynamics.Body body1, BodyFixture fixture1, org.dyn4j.dynamics.Body body2, BodyFixture fixture2) {\r\n //Default, keep processing this event\r\n\r\n return true;\r\n }",
"CollisionRule getCollisionRule();",
"public void setCollider(Rectangle collider) {\n this.collider = collider;\n }",
"private void handleCollisions() {\n\t\t\n\t\tfor (ArrayList<Invader> row : enemyArray) {\n\t\t\tfor (Invader a : row) {\n\t\t\t\tcheckInvaderDeath(a);\n\t\t\t\tcheckPlayerDeath(a);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (Shot s : enemyShotList) {\n\t\t\t\n\t\t\tif (s.detectDownwardCollision(player.getX(), player.getY())) {\n\t\t\t\trunning = false;\n\t\t\t}\n\t\t}\n\t\t\n\t\tcollectPowerUp(armorPiercing);\n\t\tcollectPowerUp(explosive);\n\t}",
"public void collisionEvent(Chaser chaser) {\r\n if (getPossessionStatus() &&\r\n (chaser.getTeam().getColor() != this.getTeam().getColor()))\r\n {\r\n if(!chaser.isStunned() && //They do not tackle you if they are stunned!\r\n random.nextInt(MAX_CHANCE) <= CHASER_CHANCE) // and a 20% chance.\r\n {\r\n dropQuaffle(); // Simulating the chaser of the opposing team tackling you.\r\n }\r\n }\r\n super.collisionEvent(chaser);\r\n }",
"private void fireball2Collisions() {\r\n\t\tGObject topLeft = getElementAt(fireball2.getX() - 1, fireball2.getY());\r\n\t\tGObject topRight = getElementAt(fireball2.getX() + fireball2.getWidth() + 1, fireball2.getY());\r\n\t\tGObject bottomLeft = getElementAt(fireball2.getX() - 1, fireball2.getY() + fireball2.getHeight());\r\n\t\tGObject bottomRight = getElementAt(fireball2.getX() + fireball2.getWidth() + 1, fireball2.getY() + fireball2.getHeight());\r\n\t\tif(topLeft == player || topRight == player || bottomLeft == player || bottomRight == player) {\r\n\t\t\tremove(fireball2);\r\n\t\t\tfireball2 = null;\r\n\t\t\thits++;\r\n\t\t\tloseLife();\r\n\t\t}\r\n\t}",
"public void processCollisions(){\n\t\tSet<String> allCollisionKeys = new HashSet<String>();\n \n\t\t// prepare a list of collisions to handle\n\t\tList<CollisionData> collisions = new ArrayList<CollisionData>();\n \n\t\tSet<Integer> types = collisionsTypes.keySet();\n \n\t\t// obtain every type for collision\n\t\tfor(Integer type : types){\n\t\t\t// obtain for each type the type it collides with\n\t\t\tList<Integer> collidesWithTypes = collisionsTypes.get(type);\n \n\t\t\tfor(Integer collidingType : collidesWithTypes){\n\t\t\t\t// if the pair was already treated ignore it else treat it\n\t\t\t\tif( !allCollisionKeys.contains(getKey(type, collidingType)) ){\n\t\t\t\t\t// obtain all object of type\n\t\t\t\t\tList<CollidableObject> collidableForType = collidables.get(type);\n\t\t\t\t\t// obtain all object of collidingtype\n\t\t\t\t\tList<CollidableObject> collidableForCollidingType = collidables.get(collidingType);\n \n\t\t\t\t\tfor( CollidableObject collidable : collidableForType ){\n\t\t\t\t\t\tfor( CollidableObject collidesWith : collidableForCollidingType ){\n\t\t\t\t\t\t\tif(collidable.isCollidingWith(collidesWith)){\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tCollisionData cd = new CollisionData();\n\t\t\t\t\t\t\t\tcd.handler = collisionHandlers.get(getKey(type, collidingType));\n\t\t\t\t\t\t\t\tcd.object1 = collidable;\n\t\t\t\t\t\t\t\tcd.object2 = collidesWith;\n \n\t\t\t\t\t\t\t\tcollisions.add(cd);\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\tallCollisionKeys.add(getKey(type, collidingType));\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n \n\t\tfor(CollisionData cd : collisions){\n\t\t\tcd.handler.performCollision(cd.object1, cd.object2);\n \n\t\t}\n\t\t\n//\t System.out.println(\"unsorted map\");\n//\t for (String key : collisionHandlers.keySet()) {\n//\t System.out.println(\"key/value: \" + key + \"/\"+collisionHandlers.get(key));\n//\t }\n\t}",
"public void act() \n {\n move(4); \n collision();\n \n \n }"
] |
[
"0.75636005",
"0.74989825",
"0.7360824",
"0.70894766",
"0.695407",
"0.6812957",
"0.6803225",
"0.6800571",
"0.6766339",
"0.6741012",
"0.6738314",
"0.6705596",
"0.6690516",
"0.66711336",
"0.6643309",
"0.6578294",
"0.65773755",
"0.65678674",
"0.6566855",
"0.65653944",
"0.6560088",
"0.65512097",
"0.6520224",
"0.6439701",
"0.64380807",
"0.6419805",
"0.6416063",
"0.635502",
"0.6331677",
"0.6331354",
"0.63279927",
"0.63183314",
"0.6292221",
"0.62658834",
"0.62611467",
"0.6260463",
"0.62482834",
"0.62464803",
"0.6239736",
"0.6218314",
"0.62157786",
"0.6210636",
"0.6204605",
"0.6184701",
"0.61786234",
"0.6167569",
"0.6158555",
"0.61468375",
"0.61458635",
"0.6141785",
"0.613662",
"0.6132491",
"0.61309373",
"0.61287487",
"0.6121391",
"0.61155087",
"0.6092589",
"0.60917723",
"0.6081027",
"0.6074059",
"0.6070373",
"0.6066506",
"0.60652065",
"0.60564756",
"0.60491425",
"0.6046639",
"0.60328627",
"0.6017982",
"0.6011708",
"0.60095674",
"0.60058963",
"0.59852237",
"0.59825736",
"0.5981966",
"0.59708595",
"0.5965391",
"0.59628403",
"0.59505665",
"0.59400946",
"0.5918455",
"0.5905299",
"0.5903693",
"0.58693916",
"0.5869286",
"0.58567804",
"0.58432996",
"0.5842897",
"0.5837267",
"0.5820386",
"0.5815066",
"0.58071846",
"0.58052856",
"0.5799744",
"0.5791429",
"0.5779967",
"0.5777982",
"0.5776676",
"0.57738245",
"0.5773583",
"0.5731682",
"0.57304674"
] |
0.0
|
-1
|
Things like what angles the fixtures went at. results of the collision
|
@Override
public void postSolve(Contact contact, ContactImpulse impulse) {
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"private void collide() {\n int collisionRange;\n \n if(isObstacle) {\n for(Thing thg: proximity) {\n if(\n thg.isObstacle\n &&\n !thg.equals(this)\n ) {\n collisionRange = (thg.size + this.size)/2;\n deltaA = this.distance(thg);\n \n if( \n Math.abs(deltaA[0]) <= collisionRange\n &&\n Math.abs(deltaA[1]) <= collisionRange\n ){\n if(deltaA[0] > deltaA[1]) {\n if(Math.abs(deltaA[0]) > Math.abs(deltaA[1])) {\n if(dA[0] == 1) {\n dA[0] = 0;\n }\n }\n if(Math.abs(deltaA[0]) < Math.abs(deltaA[1])) {\n if(dA[1] == -1) {\n dA[1] = 0;\n }\n }\n if(Math.abs(deltaA[0]) == Math.abs(deltaA[1])) {\n if(dA[0] != 0) {\n dA[1] = dA[0];\n }\n if(dA[1] != 0) {\n dA[0] = dA[1];\n }\n }\n }\n \n if(deltaA[0] < deltaA[1]) {\n if(Math.abs(deltaA[0]) > Math.abs(deltaA[1])) {\n if(dA[0] == -1) {\n dA[0] = 0;\n }\n } \n if(Math.abs(deltaA[0]) < Math.abs(deltaA[1])) {\n if(dA[1] == 1) {\n dA[1] = 0;\n }\n } \n if(Math.abs(deltaA[0]) == Math.abs(deltaA[1])) {\n dA[0] = 1 - 2*(int) (Math.random()*2);\n dA[1] = dA[0];\n }\n }\n \n if(Math.abs(deltaA[0]) == Math.abs(deltaA[1])) {\n dA[0] = 1 - 2*(int) (Math.random()*2);\n dA[1] = -dA[0];\n }\n }\n }\n }\n }\n }",
"void collisions(){\n float tmp;\n \n if (dist(redX, redY, yelX, yelY) < 30 ){ // Red and Yellow\n tmp = yelDX; yelDX = redDX; redDX = tmp;\n tmp= yelDY; yelDY = redDY; redDY = tmp;\n }\n \n if (dist(redX, redY, bluX, bluY) < 30){ // Red and Blue\n tmp = bluDX; bluDX = redDX; redDX = tmp;\n tmp = bluDY; bluDY = redDY; redDY = tmp;\n }\n \n if (dist(bluX, bluY, yelX, yelY) < 30){ // Blue and Yellow\n tmp = yelDX; yelDX = bluDX; bluDX = tmp;\n tmp = yelDY; yelDY = bluDY; bluDY = tmp;\n }\n if (dist(cueX, cueY, redX, redY) < 30){ // Cue and Red\n tmp = redDX; redDX = cueDX; cueDX = tmp;\n tmp = redDY; redDY = cueDY; cueDY = tmp;\n }\n if (dist(cueX, cueY, bluX, bluY) < 30){ // Cue and Blue\n tmp = bluDX; bluDX = cueDX; cueDX = tmp;\n tmp = bluDY; bluDY = cueDY; cueDY = tmp;\n }\n if (dist(cueX, cueY, yelX, yelY) < 30){ // Cue and Yellow\n tmp = yelDX; yelDX = cueDX; cueDX = tmp;\n tmp = yelDY; yelDY = cueDY; cueDY = tmp;\n }\n}",
"@NonNull JavaBoundingBox[] collision();",
"public void collision(Ball b){\n float cir_center_X = b.getCenterX();\r\n float cir_center_Y = b.getCenterY();\r\n \r\n // aabb half extent\r\n float extent_X = (this.p4[0]-this.p1[0])/2; //half width\r\n float extent_Y = (this.p3[1]-this.p4[1])/2; // half height\r\n // rec center \r\n float rec_center_X = this.p1[0]+extent_X;\r\n float rec_center_Y = this.p1[1]+extent_Y;\r\n \r\n // difference between center : vector D = Vector Cir_center-Rec-center\r\n float d_X =cir_center_X-rec_center_X;\r\n float d_Y = cir_center_Y-rec_center_Y;\r\n \r\n //\r\n float p_X =Support_Lib.clamp(d_X,-extent_X,extent_X);\r\n float p_Y =Support_Lib.clamp(d_Y,-extent_Y,extent_Y);\r\n \r\n\r\n \r\n float closest_point_X = rec_center_X +p_X;\r\n float closest_point_Y = rec_center_Y +p_Y; \r\n \r\n \r\n d_X = closest_point_X -cir_center_X;\r\n d_Y = closest_point_Y -cir_center_Y;\r\n \r\n \r\n \r\n float length = (float)Math.sqrt((d_X*d_X)+(d_Y*d_Y));\r\n \r\n if(length+0.001 <=b.getRadius()){\r\n\r\n \r\n float ratio =(closest_point_X-rec_center_X)/(extent_X*2);\r\n b.accelartion(ratio);\r\n b.updateVelocity(Support_Lib.direction(d_X,d_Y));\r\n \r\n }\r\n \r\n \r\n }",
"public void checkForCollisions()\r\n\t{\r\n\t\t//collision detection\r\n\t\tfor(PolygonD obj : objects)\r\n\t\t{\r\n\t\t\t//find points in character that intersected with the scene\r\n\t\t\tfor(PointD p : aSquare.getBoundary().getVerts())\r\n\t\t\t{\r\n\t\t\t\tif(obj.contains(p)){\r\n\t\t\t\t\t//find side that intersected\r\n\t\t\t\t\tdouble minDist = Double.MAX_VALUE;\r\n\t\t\t\t\tPointD prev = obj.getVerts().get(obj.getVerts().size()-1);\r\n\t\t\t\t\tPointD closestPoint = null;\r\n\t\t\t\t\tfor(PointD vert : obj.getVerts())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tDouble d = distanceToLine(new Vector(prev, vert), p);\r\n\t\t\t\t\t\tif(d != null && d < minDist)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tminDist = d;\r\n\t\t\t\t\t\t\tclosestPoint = getNearestPointOnLine(new Vector(prev, vert),p);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tprev = vert;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tVector offset = new Vector(p, closestPoint);\r\n\t\t\t\t\taSquare.translate(offset);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//find points in scene that intersected with the character\r\n\t\t\tfor(PointD p : obj.getVerts())\r\n\t\t\t{\r\n\t\t\t\tif(aSquare.getBoundary().contains(p)){\r\n\t\t\t\t\t//find side that intersected\r\n\t\t\t\t\tdouble minDist = Double.MAX_VALUE;\r\n\t\t\t\t\tPointD prev = aSquare.getBoundary().getVerts().get(aSquare.getBoundary().getVerts().size()-1);\r\n\t\t\t\t\tPointD closestPoint = null;\r\n\t\t\t\t\tfor(PointD vert : aSquare.getBoundary().getVerts())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tDouble d = distanceToLine(new Vector(prev, vert), p);\r\n\t\t\t\t\t\tif(d != null && d < minDist)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tminDist = d;\r\n\t\t\t\t\t\t\tclosestPoint = getNearestPointOnLine(new Vector(prev, vert),p);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tprev = vert;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\t//get the angle of object by 'feeling' it\r\n\t\t\t\t\tint numVerts = obj.verts.size();\r\n\t\t\t\t\tint objI = obj.verts.indexOf(p);\r\n\t\t\t\t\tint lastI = (objI - 1) % numVerts;\r\n\t\t\t\t\tif(lastI == -1)\r\n\t\t\t\t\t\tlastI = numVerts - 1;\r\n\t\t\t\t\tint nextI = (objI + 1) % numVerts;\r\n\t\t\t\t\t\r\n\t\t\t\t\tint angle = (int)Math.round((new Vector(obj.verts.get(objI), obj.verts.get(lastI))).angleBetween(new Vector(obj.verts.get(objI), obj.verts.get(nextI))));\r\n\t\t\t\t\t\r\n\t\t\t\t\taSquare.sendMsg(new Msg(aSquare, \"Felt Vertex: \" + angle + \"deg\"));//null means status message\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t//reverse direction to make aSquare move out of wall\r\n\t\t\t\t\tVector offset = new Vector(closestPoint, p);\r\n\t\t\t\t\taSquare.translate(offset);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\taSquare.getCenter();\r\n\t}",
"private void testCollisions () \n\t{\n\t r1.set(level.bird.position.x, level.bird.position.y,\n\t \t\t level.bird.bounds.width+.03f, level.bird.bounds.height);\n\t \n\t // Test collision: Pipes\n\t for (Pipe pipe : level.pipes) \n\t {\n\t \t r2.set(pipe.position.x, pipe.position.y, pipe.bounds.width,\n\t \t\t\t pipe.bounds.height);\n\t \t if (!r1.overlaps(r2)) continue;\n\t \t \n\t \t onCollisionBirdWithPipe(pipe);\n\t }\n\t \n\t // Test collision: GoldCoins\n\t for (GoldCoin goldcoin : level.goldcoins)\n\t {\n\t \t if (goldcoin.collected) continue;\n\t \t r2.set(goldcoin.position.x, goldcoin.position.y,\n\t \t\t\t goldcoin.bounds.width, goldcoin.bounds.height);\n\t \t if (!r1.overlaps(r2)) continue;\n\t \t onCollisionBirdWithGoldCoin(goldcoin);\n\t \t break;\n\t }\n\t \n\t // Test collision: Dp\n\t for (DoublePoint doublepoint : level.doublepoints) \n\t {\n\t \t if (doublepoint.collected) continue;\n\t \t r2.set(doublepoint.position.x, doublepoint.position.y,\n\t \t\t\t doublepoint.bounds.width, doublepoint.bounds.height);\n\t \t if (!r1.overlaps(r2)) continue;\n\t \t onCollisionBirdWithDoublePoint(doublepoint);\n\t \t break;\n\t }\n\t \n\t // Test collision: Goal\n\t for (Goal goal : level.goals)\n\t {\n\t \t r2.set(goal.position.x, goal.position.y,\n\t \t\t\t goal.bounds.width, goal.bounds.height);\n\t \t if (!r1.overlaps(r2)) continue;\n\t \t onCollisionBirdWithGoal(goal);\n\t \t break;\n\t }\n\t \n\t // Test collision: Brick\n\t for (Brick brick : level.bricks) \n\t {\n\t \t r2.set(brick.position.x, brick.position.y, brick.bounds.width,\n\t \t\t\t brick.bounds.height);\n\t \t if (!r1.overlaps(r2)) continue;\n\t \t \n\t \t onCollisionBirdWithBrick(brick);\n\t }\n\t }",
"public int check4CollisionWithBlue(Player player)\n {\n int number_of_collisions = 0;\n int x_cord = getMidPoint(player.x_cordinate);\n int y_cord = getMidPoint(player.y_cordinate);\n int blux1 = getMidPoint(getBlue_player1().x_cordinate);//blue_player1.x_cordinate;\n int blux2 = getMidPoint(getBlue_player2().x_cordinate);\n int blux3 = getMidPoint(getBlue_player3().x_cordinate);//blue_player3.x_cordinate;\n int blux4 = getMidPoint(getBlue_player4().x_cordinate);//blue_player4.x_cordinate;\n int bluy1 = getMidPoint(getBlue_player1().y_cordinate);//blue_player1.y_cordinate;\n int bluy2 = getMidPoint(getBlue_player2().y_cordinate);//blue_player2.y_cordinate;\n int bluy3 = getMidPoint(getBlue_player3().y_cordinate);//blue_player3.y_cordinate;\n int bluy4 = getMidPoint(getBlue_player4().y_cordinate);//blue_player4.y_cordinate;\n number_of_collisions += collisionDetection(x_cord, y_cord, blux1, bluy1);\n number_of_collisions += collisionDetection(x_cord, y_cord, blux2, bluy2);\n number_of_collisions += collisionDetection(x_cord, y_cord, blux3, bluy3);\n number_of_collisions += collisionDetection(x_cord, y_cord, blux4, bluy4);\n return number_of_collisions;\n }",
"private void collision() {\n\t\tfor(int i = 0; i < brownMeteors.length; i++) {\n\t\t\tif( distance(brownMeteors[i].getLayoutX() + ENTITIES_SIZE/2, brownMeteors[i].getLayoutY() - ENTITIES_SIZE/2, \n\t\t\t\t\tplayer.getLayoutX() + ENTITIES_SIZE/2, player.getLayoutY() - ENTITIES_SIZE/2) <= ENTITIES_SIZE) {\n\t\t\t\tsetNewElementPosition(brownMeteors[i]);\n\t\t\t\t\n\t\t\t\t//Update score -\n\t\t\t\tsc.score -= 3 * sc.collisionCounter; \n\t\t\t\tsc.collisionCounter++;\n\t\t\t}\n\t\t}\n\t\t//player vs grey Meteor\n\t\tfor(int i = 0; i < greyMeteors.length; i++) {\n\t\t\tif( distance(greyMeteors[i].getLayoutX() + ENTITIES_SIZE/2, greyMeteors[i].getLayoutY() - ENTITIES_SIZE/2, \n\t\t\t\t\tplayer.getLayoutX() + ENTITIES_SIZE/2, player.getLayoutY() - ENTITIES_SIZE/2) <= ENTITIES_SIZE) {\n\t\t\t\tsetNewElementPosition(greyMeteors[i]);\n\n\t\t\t\t//Update score -\n\t\t\t\tsc.score -= 3 * sc.collisionCounter;\n\t\t\t\tsc.collisionCounter++;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t//laser vs brown Meteor\n\t\tfor(int i = 0; i < lasers.size(); i++) {\n\t\t\tfor(int j = 0; j < brownMeteors.length; j++) { // 0 - 2 -> 3elem\n\t\t\t\tif(lasers.get(i).getBoundsInParent().intersects(brownMeteors[j].getBoundsInParent())) {\t// bounds of a node in it's parent coordinates\n\t\t\t\t\tsetNewElementPosition(brownMeteors[j]);\n\t\t\t\t\tgamePane.getChildren().remove(lasers.get(i));\n\t\t\t\t\tlasers.remove(i);\n\t\t\t\t\tSystem.out.println(lasers.size());\n\t\t\t\t\t\n\t\t\t\t\t//Update score +\n\t\t\t\t\tsc.score += 1; \n\t\t\t\t\tbreak; //kein fehler mehr durch index out of bounds verletzung\n\t\t\t\t}\n\t\t\t}\n\t\t}\t\n\t\t\n\t\tfor(int i = 0; i < lasers.size(); i++) {\n\t\t\tfor(int j = 0; j < greyMeteors.length; j++) { // 0 - 2 -> 3elem\n\t\t\t\tif(lasers.get(i).getBoundsInParent().intersects(greyMeteors[j].getBoundsInParent())) {\t// bounds of a node in it's parent coordinates\n\t\t\t\t\tsetNewElementPosition(greyMeteors[j]);\n\t\t\t\t\tgamePane.getChildren().remove(lasers.get(i));\n\t\t\t\t\tlasers.remove(i);\n\t\t\t\t\tSystem.out.println(lasers.size());\n\t\t\t\t\t\n\t\t\t\t\t//Update score +\n\t\t\t\t\tsc.score += 1; \n\t\t\t\t\tbreak; //kein fehler mehr durch index out of bounds verletzung\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}\t\t\n\t}",
"public void calCollision(Manifold man){\n \tEntity a = man.a;\n \tEntity b = man.b;\n \tVector2f normal = man.getNormal(); // Normal\n \tfloat massA = a.getMass(), massB = b.getMass(); // Masses\n \tdouble fCor = (a.getMaterial().cor + b.getMaterial().cor)/2; // Final coefficient of restitution (average)\n \t\n \tif(a.getStatic())\n \t\tmassA = Float.MAX_VALUE; // Infinite mass!\n \tif(b.getStatic())\n \t\tmassB = Float.MAX_VALUE; // ...\n \t\n \t// VECTORS DEFINITIONS:\n \tVector2f ut = new Vector2f(-normal.y,normal.x); \t\t\t\t\t\t\t// Tangent\n \tVector2f v1 = new Vector2f((float)a.getDX(),(float)a.getDY()); \t\t\t\t// Original velocity\n \tVector2f v2 = new Vector2f((float)b.getDX(),(float)b.getDY()); \t\t\t\t// Original velocity\n \t\n \tdouble v1n = Util.dotProduct(v1,normal); \t\t\t\t\t\t\t\t\t// Velocity in normal direction\n \tdouble v1t = Util.dotProduct(ut,v1); \t\t\t\t\t\t\t\t\t\t// Velocity in tangent direction\n \tdouble v2n = Util.dotProduct(normal,v2); \t\t\t\t\t\t\t\t\t// Velocity in normal direction\n \tdouble v2t = Util.dotProduct(ut,v2); \t\t\t\t\t\t\t\t\t\t// Velocity in tangent direction\n\n\t\t// APPLY MOMENTUM CONSERVATION:\n\n \tdouble V1t = v1t, V2t = v2t;\n \tdouble V1n = (v1n*(massA-fCor*massB)+(1+fCor)*massB*v2n)/(massA+massB); \t// Velocity size using my custom equation\n \tdouble V2n = (v2n*(massB-fCor*massA)+(1+fCor)*massA*v1n)/(massA+massB); \t// Velocity size using my custom equation\n \t\n \tVector2f vV1n = new Vector2f((float)V1n*normal.x,(float)V1n*normal.y); \t\t// Getting the velocity for the normal direction\n \tVector2f vV1t = new Vector2f((float)V1t*ut.x,(float)V1t*ut.y); \t\t\t\t// Getting the velocity for the tangent direction\n \tVector2f vV2n = new Vector2f((float)V2n*normal.x,(float)V2n*normal.y); \t\t// Getting the velocity for the normal direction\n \tVector2f vV2t = new Vector2f((float)V2t*ut.x,(float)V2t*ut.y); \t\t\t\t// Getting the velocity for the tangent direction\n\n \tVector2f fV1 = new Vector2f(vV1n.x+vV1t.x,vV1n.y+vV1t.y); \t\t\t\t\t// Getting final velocity\n \tVector2f fV2 = new Vector2f(vV2n.x+vV2t.x,vV2n.y+vV2t.y); \t\t\t\t\t// Getting final velocity\n\n \t// OTHER INTERACTIONAL FORCES\n\n \t// FRICTION\n \t//Get the static and kinetic friction coefficient\n \tfinal double fMuk = (a.getMaterial().Muk+b.getMaterial().Muk)/2;\n \tfinal double fMus = (a.getMaterial().Mus+b.getMaterial().Mus)/2;\n \t// GET NORMAL FORCES\n \tfinal double fNa = Math.abs(a.getMass()*(v1n-v2n));\n \tfinal double fNb = Math.abs(b.getMass()*(v2n-v1n));\n \t//GET TANGENTIAL FORCES\n \tfinal double fTa = Math.abs(a.getMass()*(V1t-V2t));\n \tfinal double fTb = Math.abs(b.getMass()*(V2t-V1t));\n \t//CALCULATE FRICTION FORCES\n \tdouble f1 = -Math.abs((fTa > fMus*fNb)? fMuk*(v1n-v2n) : V1t);\n \tdouble f2 = -Math.abs((fTb > fMus*fNa)? fMuk*(v2n-v1n) : V2t);\n \t// CALCULATE FINAL FORCE\n \tUtil.normalize(vV1t);\n \tUtil.normalize(vV2t);\n\n \tif (Double.isNaN(f1))\n \t\tf1 = 0.0f;\n \tif (Double.isNaN(f2))\n \t\tf2 = 0.0f;\n\n \tVector2f F1 = new Vector2f((float)(vV1t.x*f1),(float)(vV1t.y*f1));\n \tVector2f F2 = new Vector2f((float)(vV2t.x*f2),(float)(vV2t.y*f2));\n\n \t//APPLY FORCE\n\t\tfV1.x += F1.x;\n\t\tfV1.y += F1.y;\n\t\tfV2.x += F2.x;\n\t\tfV2.y += F2.y;\n\n\t\t// set new velocities (including friction) ; dv = f*dt/m\n\t\tif (!a.getStatic())\n\t\t{\n\t\t\ta.setDX(fV1.x); // Set the new velocity\n\t\t\ta.setDY(fV1.y); // Set the new velocity\n\t\t}\n\n\t\tif (!b.getStatic())\n\t\t{\n\t\t\tb.setDX(fV2.x); // Set the new velocity\n\t\t\tb.setDY(fV2.y); // Set the new velocity\n\t\t}\n\n\t\t// PENETRATION\n \tman.fixPenetration(normal,massA,massB,this);\n \n\t\t// WAY #2 (Trigonometry):\n \t/*\n \tdouble fi = getAngle(normal,new Vector2f(1,0));\n \tdouble theta1 = Math.atan(a.getDY()/a.getDX());\n \tdouble theta2 = Math.atan(b.getDY()/b.getDX());\n \tif(a.getDX() == 0)\n \t\ttheta1=Math.PI/2;\n \tif(b.getDX() == 0)\n \t\ttheta2=Math.PI/2;\n \t\n\t a.setDX((a.getDX()*Math.cos(theta1-fi)*(massA-fCor*massB)+(1+fCor)*massB*b.getDX()*Math.cos(theta1-fi))/(massA+massB)*Math.cos(fi)+a.getDX()*Math.sin(theta1-fi)*Math.cos(fi+Math.PI/2));\n\t a.setDY(((a.getDY()*Math.cos(theta1-fi)*(massA-fCor*massB)+(1+fCor)*massB*b.getDY()*Math.cos(theta1-fi))/(massA+massB)*Math.sin(fi)+a.getDY()*Math.sin(theta1-fi)*Math.sin(fi+Math.PI/2)));\n \t\t\n\t b.setDX((b.getDX()*Math.cos(theta2-fi)*(massB-fCor*massA)+(1+fCor)*massA*a.getDX()*Math.cos(theta2-fi))/(massA+massB)*Math.cos(fi)+b.getDX()*Math.sin(theta2-fi)*Math.cos(fi+Math.PI/2));\n\t b.setDY(((b.getDY()*Math.cos(theta2-fi)*(massB-fCor*massA)+(1+fCor)*massA*a.getDY()*Math.cos(theta2-fi))/(massA+massB)*Math.sin(fi)+b.getDY()*Math.sin(theta2-fi)*Math.sin(fi+Math.PI/2)));\n \t\n \tSystem.out.println(a.getDY());\n \t*/\n }",
"public abstract float getCollisionRadius();",
"public void render(Graphics2D g,GameState state) {\n /**\n * information EnemyTank\n */\n AffineTransform tx = new AffineTransform();\n tx.setToTranslation(locX + state.xTransfer - smallEnemyBodyImage.getWidth() / 2 , locY + state.yTransfer - smallEnemyBodyImage.getHeight() / 2);\n tx.rotate(Math.toRadians(tankAngle), 50, 50);\n /**\n * information Enemy Gun\n */\n AffineTransform tx2 = new AffineTransform();\n tx2.setToTranslation(locX + state.xTransfer - smallEnemyGunImage.getWidth() / 5, locY + state.yTransfer - smallEnemyGunImage.getHeight() / 4.2);\n tx2.rotate(Math.toRadians(gunAngle), 20, 20);\n\n\n// Random random = new Random();\n// int angle = random.nextInt(360);\n// System.out.println(angle);\n /**\n * initialize is false\n */\n// if(j == 0)\n// limitMoving = false;\n//\n// if(limitMoving == false)\n// {\n// locX ++ ;\n// j++;\n// }\n// if(j == 100)\n// limitMoving = true;\n// if(limitMoving == true)\n// {\n// locX -- ;\n// j--;\n// }\n\n\n up = false;\n down = false;\n right = false;\n left = false;\n if(Math.abs(state.locX - (locX + state.xTransfer)) < 400 && Math.abs(state.locY - (locY + state.yTransfer)) < 400) {\n if (state.locX >= locX + state.xTransfer ) {\n locX++;\n right = true;\n left = false;\n }\n else {\n locX--;\n left = true;\n right = false;\n }\n\n if (state.locY >= locY + state.yTransfer) {\n locY++;\n up = false;\n down = true;\n }\n else {\n locY--;\n down = false;\n up = true;\n }\n ShapesIntersects shapesIntersects = new ShapesIntersects();\n for (Enemy01 e1 : GameFrame.getEnemyController().getE1()) {\n if (e1.locX != locX || e1.locY != locY) {\n // System.out.println(\"hi\");\n if (shapesIntersects.checkIntersect(locX + state.xTransfer - smallEnemyBodyImage.getWidth() / 2, locY + state.yTransfer - smallEnemyBodyImage.getHeight() / 2, smallEnemyBodyImage.getWidth(), smallEnemyBodyImage.getHeight()\n , e1.locX + state.xTransfer - smallEnemyBodyImage.getWidth() / 2, e1.locY + state.yTransfer - smallEnemyBodyImage.getHeight() / 2, smallEnemyBodyImage.getWidth(), smallEnemyBodyImage.getHeight())) {\n // System.out.println(\"intersects between enemy 01 is True\");\n if (right) {\n locX--;\n right = false;\n }\n if (left) {\n locX++;\n left = false;\n }\n if (up) {\n locY++;\n up = false;\n }\n if (down) {\n locY--;\n down = false;\n }\n }\n }\n }\n if (shapesIntersects.checkIntersect(locX + state.xTransfer - smallEnemyBodyImage.getWidth() / 2, locY + state.yTransfer - smallEnemyBodyImage.getHeight() / 2, smallEnemyBodyImage.getWidth(), smallEnemyBodyImage.getHeight()\n , state.locX - GameFrame.getMyTankImage().getWidth() / 2, state.locY - GameFrame.getMyTankImage().getHeight() / 2, GameFrame.getMyTankImage().getWidth(), GameFrame.getMyTankImage().getHeight()))\n {\n if (right) {\n locX--;\n right = false;\n }\n if (left) {\n locX++;\n left = false;\n }\n if (up) {\n locY++;\n up = false;\n }\n if (down) {\n locY--;\n down = false;\n }\n }\n for (HardWall hW : GameFrame.getWallController().getHardWalls())\n if(shapesIntersects.checkIntersect(locX + state.xTransfer - GameFrame.getMyTankImage().getWidth() / 2, locY + state.yTransfer - GameFrame.getMyTankImage().getHeight() / 2, GameFrame.getMyTankImage().getWidth(), GameFrame.getMyTankImage().getHeight()\n , hW.getLocX() + state.xTransfer, hW.getLocY() + state.yTransfer,hW.getHardWallImage().getWidth() ,hW.getHardWallImage().getHeight()))\n {\n if(right)\n locX--;\n if(left)\n locX++;\n if(up)\n locY++;\n if (down)\n locY--;\n }\n for (SoftWall sW : GameFrame.getWallController().getSoftWalls())\n if(shapesIntersects.checkIntersect(locX + state.xTransfer - GameFrame.getMyTankImage().getWidth() / 2 + 2, locY + state.yTransfer - GameFrame.getMyTankImage().getHeight() / 2 + 2, GameFrame.getMyTankImage().getWidth() - 5, GameFrame.getMyTankImage().getHeight() - 5\n , sW.getLocX() + state.xTransfer, sW.getLocY() + state.yTransfer,sW.getSoftWall01Image().getWidth() ,sW.getSoftWall01Image().getHeight()))\n {\n if(right)\n locX--;\n if(left)\n locX++;\n if(up)\n locY++;\n if (down)\n locY--;\n }\n for (Teazel teazel : GameFrame.getWallController().getTeazels())\n if(shapesIntersects.checkIntersect(locX + state.xTransfer - GameFrame.getMyTankImage().getWidth() / 2, locY + state.yTransfer - GameFrame.getMyTankImage().getHeight() / 2, GameFrame.getMyTankImage().getWidth(), GameFrame.getMyTankImage().getHeight()\n , teazel.getLocX() + state.xTransfer, teazel.getLocY() + state.yTransfer,teazel.getTeazelImage().getWidth() ,teazel.getTeazelImage().getHeight()))\n {\n if(right)\n locX--;\n if(left)\n locX++;\n if(up)\n locY++;\n if (down)\n locY--;\n }\n for (Enemy02 e2 : GameFrame.getEnemyController().getE2())\n if(shapesIntersects.checkIntersect(locX + state.xTransfer - GameFrame.getMyTankImage().getWidth() / 2 + 2, locY + state.yTransfer - GameFrame.getMyTankImage().getHeight() / 2 + 2, GameFrame.getMyTankImage().getWidth() - 5, GameFrame.getMyTankImage().getHeight() - 5\n , e2.getLocX() + state.xTransfer, e2.getLocY() + state.yTransfer,e2.getMovingEnemyImage().getWidth() ,e2.getMovingEnemyImage().getHeight()))\n {\n if(right)\n locX--;\n if(left)\n locX++;\n if(up)\n locY++;\n if (down)\n locY--;\n }\n for (Enemy03 e3 : GameFrame.getEnemyController().getE3())\n if(shapesIntersects.checkIntersect(locX + state.xTransfer - GameFrame.getMyTankImage().getWidth() / 2 + 2, locY + state.yTransfer - GameFrame.getMyTankImage().getHeight() / 2 + 2, GameFrame.getMyTankImage().getWidth() - 5, GameFrame.getMyTankImage().getHeight() - 5\n , e3.getLocX() + state.xTransfer, e3.getLocY() + state.yTransfer,e3.getBigEnemyBodyImage().getWidth() ,e3.getBigEnemyBodyImage().getHeight()))\n {\n if(right)\n locX--;\n if(left)\n locX++;\n if(up)\n locY++;\n if (down)\n locY--;\n }\n\n tankAngle = enemyTankRotation.getAngle(up, down, left, right);\n enemyTankRotation.setTankAngle(tankAngle);\n gunAngle = Math.toDegrees(Math.atan2(state.locY - (locY + state.yTransfer), state.locX - (locX + state.xTransfer)));\n// Random random = new Random();\n// int n = random.nextInt(10);\n// if (n == 3)\n if(i % 50 == 0)\n GameFrame.getBulletController().addBullet(new Enemy01Bullet(locX,locY ,gunAngle,smallEnemyGunImage));\n\n i++;\n // angle = Math.toDegrees(Math.atan2(state.mouseY - state.locY - myTankImage.getHeight() / 2, state.mouseX - state.locX - myTankImage.getWidth() / 2));\n }\n// System.out.println(\"loc x = \" + locX);\n// System.out.println(\"loc y = \" + locY);\n g.drawImage(smallEnemyBodyImage,tx,null);\n g.drawImage(smallEnemyGunImage, tx2, null);\n// System.out.println(\"enemy 01 loc x = \" + locX);\n// System.out.println(\"enemy 01 loc y = \" + locY);\n }",
"private void updateBoundingBox() {\n // TODO(sonpham): Optimize this. There is an amazing amount of repetition in this code.\n double downUnitX = MathUtils.quickCos((float) (anchorAngle + Math.PI));\n double downUnitY = MathUtils.quickSin((float) (anchorAngle + Math.PI));\n double sideUnitX = MathUtils.quickCos((float) (anchorAngle + Math.PI / 2));\n double sideUnitY = MathUtils.quickSin((float) (anchorAngle + Math.PI / 2));\n\n double aliveHeight = aliveTroopsMap.size() * 1.0 / width * unitStats.spacing;\n double fullToAliveRatio = 1.0 * troops.size() / aliveTroopsMap.size() ;\n\n double topLeftX = averageX - downUnitX * aliveHeight / 2 - sideUnitX * unitStats.spacing * width / 2;\n double topLeftY = averageY - downUnitY * aliveHeight / 2 - sideUnitY * unitStats.spacing * width / 2;\n\n double topRightX = averageX - downUnitX * aliveHeight / 2 + sideUnitX * unitStats.spacing * width / 2;\n double topRightY = averageY - downUnitY * aliveHeight / 2 + sideUnitY * unitStats.spacing * width / 2;\n\n double healthBotLeftX = averageX + downUnitX * aliveHeight / 2 - sideUnitX * unitStats.spacing * width / 2;\n double healthBotLeftY = averageY + downUnitY * aliveHeight / 2 - sideUnitY * unitStats.spacing * width / 2;\n\n double healthBotRightX = averageX + downUnitX * aliveHeight / 2 + sideUnitX * unitStats.spacing * width / 2;\n double healthBotRightY = averageY + downUnitY * aliveHeight / 2 + sideUnitY * unitStats.spacing * width / 2;\n\n double botLeftX = (healthBotLeftX - topLeftX) * fullToAliveRatio + topLeftX;\n double botLeftY = (healthBotLeftY - topLeftY) * fullToAliveRatio + topLeftY;\n\n double botRightX = (healthBotRightX - topRightX) * fullToAliveRatio + topRightX;\n double botRightY = (healthBotRightY - topRightY) * fullToAliveRatio + topRightY;\n\n aliveBoundingBox[0][0] = topLeftX; aliveBoundingBox[0][1] = topLeftY;\n aliveBoundingBox[1][0] = topRightX; aliveBoundingBox[1][1] = topRightY;\n aliveBoundingBox[2][0] = healthBotRightX; aliveBoundingBox[2][1] = healthBotRightY;\n aliveBoundingBox[3][0] = healthBotLeftX; aliveBoundingBox[3][1] = healthBotLeftY;\n\n boundingBox[0][0] = topLeftX; boundingBox[0][1] = topLeftY;\n boundingBox[1][0] = topRightX; boundingBox[1][1] = topRightY;\n boundingBox[2][0] = botRightX; boundingBox[2][1] = botRightY;\n boundingBox[3][0] = botLeftX; boundingBox[3][1] = botLeftY;\n }",
"Velocity hit(Ball hitter, Point collisionPoint, Velocity currentVelocity);",
"CollisionRule getCollisionRule();",
"public void controlla_collisioni() {\n\n for (int i = punti; i > 0; i--) {\n\n if ((i > 4) && (x[0] == x[i]) && (y[0] == y[i])) {\n in_gioco = false;\n }\n }\n\n if (y[0] >= ALTEZZA+85) { //devo aggungere +85 perche' l'area di gioco comincia dal punto 100,100\n in_gioco = false;\n }\n\n if (y[0] <= 100) {\n in_gioco = false;\n }\n\n if (x[0] >= LARGHEZZA+85) {\n in_gioco = false;\n }\n\n if (x[0] <= 100) {\n in_gioco = false;\n }\n }",
"public void updateGoalPositions() {\n // Convert angle to unit vector\n double downUnitX = MathUtils.quickCos((float) (anchorAngle + Math.PI));\n double downUnitY = MathUtils.quickSin((float) (anchorAngle + Math.PI));\n double sideUnitX = MathUtils.quickCos((float) (anchorAngle + Math.PI / 2));\n double sideUnitY = MathUtils.quickSin((float) (anchorAngle + Math.PI / 2));\n\n // Create troops and set starting positions for each troop\n double topX = anchorX - (width - 1) * unitStats.spacing * sideUnitX / 2;\n double topY = anchorY - (width - 1) * unitStats.spacing * sideUnitY / 2;\n\n // Update troops goal positions\n for (int row = 0; row < aliveTroopsFormation.length; row++) {\n for (int col = 0; col < aliveTroopsFormation[0].length; col++) {\n BaseSingle troop = aliveTroopsFormation[row][col];\n if (troop == null) continue;\n double xGoalSingle;\n double yGoalSingle;\n // If the person is the flanker, go straight to the assigned position in flankers offset.\n if (state == UnitState.FIGHTING) {\n if (row < flankersCount[col]) {\n double offsetSide = flankerOffsets[col].get(row)[0];\n double offsetDown = flankerOffsets[col].get(row)[1];\n xGoalSingle = this.unitFoughtAgainst.getAverageX() + offsetSide * sideUnitX + offsetDown * downUnitX;\n yGoalSingle = this.unitFoughtAgainst.getAverageY() + offsetSide * sideUnitY + offsetDown * downUnitY;\n } else {\n xGoalSingle = topX + col * unitStats.spacing * sideUnitX\n + (row - flankersCount[col]) * unitStats.spacing * downUnitX;\n yGoalSingle = topY + col * unitStats.spacing * sideUnitY\n + (row - flankersCount[col]) * unitStats.spacing * downUnitY;\n }\n } else {\n xGoalSingle = topX + col * unitStats.spacing * sideUnitX\n + row * unitStats.spacing * downUnitX;\n yGoalSingle = topY + col * unitStats.spacing * sideUnitY\n + row * unitStats.spacing * downUnitY;\n }\n // Set the goal and change the state\n troop.setxGoal(xGoalSingle);\n troop.setyGoal(yGoalSingle);\n troop.setAngleGoal(anchorAngle);\n }\n }\n }",
"void object_calculations_touch_ground(){\n\n if (down_angle < 0 && up_angle > 0)//base case\n {\n double temp = up_angle;\n up_angle = down_angle;\n down_angle = temp;\n base_case();\n } else if ((down_angle > 0 && up_angle > 0) && (down_angle < up_angle))//smaller object\n {\n double temp = up_angle;\n up_angle = down_angle;\n down_angle = temp;\n measure_small_object();\n } else if (up_angle < 0 && down_angle > 0)//base case\n base_case();\n else //smaller object\n measure_small_object();\n }",
"public void unitCollision() {\n\t}",
"public double getTimeCollisionBoundary() {\n\t\tdouble[] velocity = this.velocity.getVelocity();\n\t\tif (this.superWorld == null)\treturn Double.POSITIVE_INFINITY;\n\t\tif (velocity[0] == 0 && velocity[1] == 0)\t\treturn Double.POSITIVE_INFINITY;\n\t\t\n\t\tdouble radius = this.getRadius();\n\t\tif (this instanceof Planetoid) { Planetoid planetoid = (Planetoid) this; radius = planetoid.getRadius();}\n\t\t\n\t\tdouble edgeY;\n\t\tdouble edgeX;\n\t\tdouble mY = 0;\n\t\tdouble mX = 0;\n\t\t\n\t\tif (velocity[0] > 0){\n\t\t\tedgeX = position[0] + radius;\n\t\t\tmX = this.superWorld.getWorldWidth();\n\t\t}\n\t\telse edgeX = position[0] - radius;\n\t\tif (velocity[1] > 0){\n\t\t\tedgeY = position[1] + radius;\n\t\t\tmY = this.superWorld.getWorldHeight();\n\t\t}\n\t\telse edgeY = position[1] - radius;\n\t\t\n\t\tdouble tX = Double.POSITIVE_INFINITY;\n\t\tdouble tY = Double.POSITIVE_INFINITY;\n\t\t\n\t\tif (velocity[0] != 0){\n\t\t\ttX = (mX-edgeX)/velocity[0];\n\t\t}\n\t\tif (velocity[1] != 0){\n\t\t\ttY = (mY-edgeY)/velocity[1];\n\t\t}\n\t\t\n\t\t//Return the smallest value\n\t\treturn Math.min(tX, tY); \n\t\t\n\t}",
"protected void collideOne(Mob m1, Entity m2, int dir) {\r\n // Calibrate bounding box\r\n float[] a = new float[6];\r\n a[0] = m1.getPos().x + m1.getDX() - m1.getLenX()/2;\r\n a[1] = m1.getPos().y + m1.getDY() - m1.getLenY()/2;\r\n a[2] = m1.getPos().z + m1.getDZ() - m1.getLenZ()/2;\r\n a[3] = m1.getPos().x + m1.getDX() + m1.getLenX()/2;\r\n a[4] = m1.getPos().y + m1.getDY() + m1.getLenY()/2;\r\n a[5] = m1.getPos().z + m1.getDZ() + m1.getLenZ()/2;\r\n float[] b = new float[6];\r\n b[0] = m2.getPos().x - m2.getLenX()/2;\r\n b[1] = m2.getPos().y - m2.getLenY()/2;\r\n b[2] = m2.getPos().z - m2.getLenZ()/2;\r\n b[3] = m2.getPos().x + m2.getLenX()/2;\r\n b[4] = m2.getPos().y + m2.getLenY()/2;\r\n b[5] = m2.getPos().z + m2.getLenZ()/2;\r\n // Collision detection\r\n boolean collide =\r\n overlap(a, b) || overlap(b, a);\r\n ;\r\n // Post-Collision adjustments\r\n if(collide) {\r\n if(dir == 3) {\r\n m1.setDX(m1.getDX() + (b[3] - a[0]) + 0.01f);\r\n } else if(dir == 1) {\r\n m1.setDX(m1.getDX() - (a[3] - b[0]) - 0.01f);\r\n } else if(dir == 0) {\r\n m1.setDZ(m1.getDZ() + (b[5] - a[2]) + 0.01f);\r\n } else if(dir == 2) {\r\n m1.setDZ(m1.getDZ() - (a[5] - b[2]) - 0.01f);\r\n }\r\n }\r\n }",
"public static void checkCollisions() {\n\t \n\t\tfor (Ball b1 : Panel.balls) {\n\t\t\tfor (Ball b2 : Panel.balls) {\n\t\t\t\tif (b1.Bounds().intersects(b2.Bounds()) && !b1.equals(b2)) {\t\t\t//checking for collision and no equals comparisions\n\t\t\t\t\tint vX = b1.getxVelocity();\n\t\t\t\t\tint vY = b1.getyVelocity();\n\t\t\t\t\tb1.setxVelocity(b2.getxVelocity());\t\t\t\t\t\t\t\t//reversing velocities of each Ball object\n\t\t\t\t\tb1.setyVelocity(b2.getyVelocity());\n\t\t\t\t\tb2.setxVelocity(vX);\n\t\t\t\t\tb2.setyVelocity(vY);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"private void CheckWorldCollision() {\n\t\tfor(WorldObj obj : World.CurrentWorld.SpawnedObjects) {\n\t\t\tif(bounds.overlaps(obj.bounds))\n\t\t\t\tobj.OnCollision(this);\n\t\t\tif(MapRenderer.CurrentRenderer.ItemAnimation != null) {\n\t\t\t\tif(obj.ai != null) {\n\t\t\t\t\tif(dir == LEFT)\n\t\t\t\t\tAttackBounds.set(pos.x+(dir*1.35f)+0.5f,pos.y,1.35f,1);\n\t\t\t\t\telse\n\t\t\t\t\t\tAttackBounds.set(pos.x+0.5f,pos.y,1.35f,1);\n\t\t\t\t\tif(obj.healthBarTimer > 0.4f)\n\t\t\t\tif(AttackBounds.overlaps(obj.bounds)) {\n\t\t\t\t\tif(!Terrain.CurrentTerrain.isSolid((int)(pos.x+0.5f+(0.3f*dir)), (int)(pos.y+0.5f)))\n\t\t\t\t\tobj.ai.onDamaged(this, UsedItem, GetATK());\n\t\t\t\t\tHitTimer = 0;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(obj.damageable) {\n\t\t\t\t\tif(AttackBounds.overlaps(obj.bounds)) {\n\t\t\t\t\t\tobj.onDamaged(this, UsedItem, GetATK());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean isCollision(Ball ob) { // Kollisionsabfrage\r\n\t\t\r\n\t\tdX = posX - ob.getPosX();\r\n\t\tdY = posY - ob.getPosY();\r\n\t\tfloat vector = dX * dX + dY * dY;\r\n\t\tfloat hypo = radius * radius * 4;\r\n\t\tif (hypo >= vector) {\r\n\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}",
"void collide() {\n for (Target t : this.helicopterpieces) {\n if (!t.isHelicopter && ((t.x == this.player.x && t.y == this.player.y)\n || (t.x == this.player2.x && t.y == this.player2.y))) {\n this.collected--;\n t.isCollected = true;\n }\n if (t.isHelicopter && this.collected == 1\n && ((t.x == this.player.x && t.y == this.player.y) || (t.isHelicopter\n && this.collected == 1 && t.x == this.player2.x && t.y == this.player2.y))) {\n this.collected = 0;\n this.helicopter.isCollected = true;\n }\n }\n }",
"@Test\n void get_normal() {\n Cuboid cuboid1 = new Cuboid(4, 4, 4);\n Point3D point1 = new Point3D(0,0,2);\n Vector3D actual1 = cuboid1.get_normal(point1);\n Vector3D expected1 = new Vector3D(0,0,1);\n assertEquals(expected1, actual1);\n\n Cuboid cuboid2 = new Cuboid(4, 4, 4, new Ray(new Vector3D(0,1,0)));\n Point3D point2 = new Point3D(0,2,0);\n Vector3D actual2 = cuboid2.get_normal(point2);\n Vector3D expected2 = new Vector3D(0,1,0);\n assertEquals(expected2, actual2);\n }",
"@Test\n\tpublic void testCollideC(){\n\t\tPosture po = new Posture (1, 0, 0);\n\t\tCercle c = new Cercle(new Point(0,0), 20);\n\t\tCapteur_sal Cap= new Capteur_sal(po);\n\t\tassertTrue(Cap.collideC(c));\n\t\tPosture po1 = new Posture (12.5, 0, 0);\n\t\tCap.setPos(po1);\n\t\tassertTrue(Cap.collideC(c));\n\t\tpo1 = new Posture (12.6, 0, 0);\n\t\tCap.setPos(po1);\n\t\tassertFalse(Cap.collideC(c));\n\t\tpo1 = new Posture (-12.5, 0, 0);\n\t\tCap.setPos(po1);\n\t\tassertTrue(Cap.collideC(c));\n\t\tpo1 = new Posture (-12.6, 0, 0);\n\t\tCap.setPos(po1);\n\t\tassertFalse(Cap.collideC(c));\n\t\tpo1 = new Posture (0, 12.5, 0);\n\t\tCap.setPos(po1);\n\t\tassertTrue(Cap.collideC(c));\n\t\tpo1 = new Posture (0, 12.6, 0);\n\t\tCap.setPos(po1);\n\t\tassertFalse(Cap.collideC(c));\n\t\tpo1 = new Posture (0, -12.5, 0);\n\t\tCap.setPos(po1);\n\t\tassertTrue(Cap.collideC(c));\n\t\tpo1 = new Posture (0, -12.6, 0);\n\t\tCap.setPos(po1);\n\t\tassertFalse(Cap.collideC(c));\n\t\t\n\t\tpo.setX(0);\n\t\tpo.setY(2);\n\t\tpo1.setX(0);\n\t\tpo1.setY(0);\n\t\tassertTrue(Cap.collideC(c));\n\t\tpo1.setY(-5);\n\t\tassertTrue(Cap.collideC(c));\n\t}",
"public void checkWindCollision() {\n\n if (Intersector.overlaps(player.boundingCircle, wind1.boundingRectangle)) {\n if (!wind1.angry) {\n //Blow Right\n if (wind1.left && (player.x + AssetHandler.WIND_STRENGTH + player.circleRad < AssetHandler.SCREEN_WIDTH)) {\n player.x += AssetHandler.WIND_STRENGTH;\n } else if (!wind1.left && player.x - AssetHandler.WIND_STRENGTH - player.circleRad > 0) {\n player.x -= AssetHandler.WIND_STRENGTH;\n }\n } else {\n wind1.boundingRectangle.x = -wind1.boundingRectangle.width;\n player.paralyzed = true;\n player.paralyzedStart = TimeUtils.nanoTime();\n shake = true;\n }\n\n }\n\n\n //Check 2nd wind\n\n if (Intersector.overlaps(player.boundingCircle, wind2.boundingRectangle)) {\n if (!wind2.angry) {\n if (wind2.left && (player.x + AssetHandler.WIND_STRENGTH + player.circleRad < AssetHandler.SCREEN_WIDTH)) {\n player.x += AssetHandler.WIND_STRENGTH;\n } else if (!wind2.left && player.x - AssetHandler.WIND_STRENGTH - player.circleRad > 0) {\n player.x -= AssetHandler.WIND_STRENGTH;\n }\n } else {\n wind2.boundingRectangle.x = -wind2.boundingRectangle.width;\n player.paralyzed = true;\n player.paralyzedStart = TimeUtils.nanoTime();\n shake = true;\n }\n }\n\n\n //Check 3rd wind\n\n if (Intersector.overlaps(player.boundingCircle, wind3.boundingRectangle)) {\n if (!wind3.angry) {\n if (wind3.left && (player.x + AssetHandler.WIND_STRENGTH + player.circleRad < AssetHandler.SCREEN_WIDTH)) {\n player.x += AssetHandler.WIND_STRENGTH;\n } else if (!wind3.left && player.x - AssetHandler.WIND_STRENGTH - player.circleRad > 0) {\n player.x -= AssetHandler.WIND_STRENGTH;\n }\n } else {\n wind3.boundingRectangle.x = -wind3.boundingRectangle.width;\n player.paralyzed = true;\n player.paralyzedStart = TimeUtils.nanoTime();\n shake = true;\n }\n }\n\n\n /*\n * Check Wind Collision For Particle Effect Generation\n */\n\n\n //Check 1st Wind\n\n if(Intersector.overlaps(player.boundingCircle, wind1.spriteRectangle)) {\n if(!particle) {\n cloudParticle.setPosition(player.x, wind1.y + wind1.height/2);\n if(cloudParticle.isComplete())\n cloudParticle.reset();\n particle = true;\n } else {\n cloudParticle.setPosition(cloudParticle.getEmitters().first().getX(), wind1.y + wind1.height/2);\n }\n if(wind1.angry) {\n cloudParticle.setFlip(false, true);\n } else {\n cloudParticle.setFlip(false, false);\n }\n }\n\n\n //Check 2nd Wind\n\n if(Intersector.overlaps(player.boundingCircle, wind2.spriteRectangle)) {\n if(!particle) {\n cloudParticle.setPosition(player.x, wind2.y + wind2.height/2);\n if(cloudParticle.isComplete())\n cloudParticle.reset();\n particle = true;\n } else {\n cloudParticle.setPosition(cloudParticle.getEmitters().first().getX(), wind2.y + wind2.height/2);\n }\n if(wind2.angry) {\n cloudParticle.setFlip(false, true);\n } else {\n cloudParticle.setFlip(false, false);\n }\n }\n\n\n //Check 3rd Wind\n\n if(Intersector.overlaps(player.boundingCircle, wind3.spriteRectangle)) {\n if(!particle) {\n cloudParticle.setPosition(player.x, wind3.y + wind3.height/2);\n if(cloudParticle.isComplete())\n cloudParticle.reset();\n particle = true;\n } else {\n cloudParticle.setPosition(cloudParticle.getEmitters().first().getX(), wind3.y + wind3.height/2);\n }\n if(wind3.angry) {\n cloudParticle.setFlip(false, true);\n } else {\n cloudParticle.setFlip(false, false);\n }\n }\n\n }",
"@Override\n\tpublic void beginContact(Contact c) {\n\t\tGdx.app.log(\"contact listener\", c.getFixtureA().getBody().getUserData()+ \"\");\n\n\t\t\n\n\t\t\tfloat ballCenterY = c.getFixtureB().getBody()\n\t\t\t\t\t.getWorldCenter().y;\n\t\t\tfloat paddleCenterY = c.getFixtureA().getBody()\n\t\t\t\t\t.getWorldCenter().y;\n\t\t\tfloat difference = ballCenterY - paddleCenterY;\n\t\t\tfloat position = difference / 50;\n\t\t\tfloat returnAngel = 70 * position;\n\t\t\t\n\t\t\t\n\t\t\tGdx.app.log(\"returnAngel\",returnAngel+\" lin vol \" + c.getFixtureB().getBody().getLinearVelocity().x +\",\"+c.getFixtureB().getBody().getLinearVelocity().y);\n\t\t\tfloat Xspeed = c.getFixtureB().getBody().getLinearVelocity().x;\t\n\n\t\t\tif(c.getFixtureB().getBody().getUserData() == \"ball\" ){\n\t\t\t\tif ( c.getFixtureA().getBody().getUserData() == \"paddle1\" || c.getFixtureA().getBody().getUserData() == \"paddle2\"){\n\t\t\t\tXspeed = Xspeed*-1;\n\t\t\t\tc.getFixtureB().getBody().setLinearVelocity(new Vector2(Xspeed, returnAngel));\n\t\t\t\tGdx.app.log(\"returnAngel after new set\",returnAngel+\" lin vol \" + c.getFixtureB().getBody().getLinearVelocity().x +\",\"+c.getFixtureB().getBody().getLinearVelocity().y + \" xSpeed = \"+Xspeed);\n\n\t\t\t\t}\n\t\t\t\t}\n\t\t\tif(c.getFixtureB().getBody().getUserData() == \"ball\" && c.getFixtureA().getBody().getUserData() == \"top\" ){\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\tfloat angel = (180-90-returnAngel)*-1;\n\t\t\t\t\t\n\t\t\t\t\tc.getFixtureB().getBody().setLinearVelocity(new Vector2(Xspeed, returnAngel));\n\t\t\t\t\tGdx.app.log(\"top + ball hit\", \"angel = \" +angel);\n\t\t\t\t\t\n\t\t\t}\n\t\t\tif(c.getFixtureB().getBody().getUserData() == \"ball\" && c.getFixtureA().getBody().getUserData() == \"buttom\" ){\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tfloat angel = (180-90-returnAngel)*-1;\n\t\t\t\t\n\t\t\t\tc.getFixtureB().getBody().setLinearVelocity(new Vector2(Xspeed, returnAngel));\n\t\t\t\tGdx.app.log(\"top + ball hit\", \"angel = \" +angel);\n\t\t\t\t\n\t\t}\n\t\t\tif(c.getFixtureB().getBody().getUserData() == \"ball\" && c.getFixtureA().getBody().getUserData() == \"left\" ){\n\t\t\t\t\n\t\t\t\t\n\t\t\t\thandler.setPlayer2ScorePlusOne();\n\t\t\t\tGdx.app.log(\"Score : \", \"player1 :\"+handler.getPlayer1Score()+ \" player2 :\"+handler.getPlayer2Score() );\n\t\t\t\thandler.resetVaribal = true;\n\t\t\t\t\n\t\t}\n\t\t\tif(c.getFixtureB().getBody().getUserData() == \"ball\" && c.getFixtureA().getBody().getUserData() == \"right\" ){\n\t\t\t\t\n\t\t\t\t\n\t\t\t\thandler.setPlayer1ScorePlusOne();\n\t\t\t\tGdx.app.log(\"Score : \", \"player1 :\"+handler.getPlayer1Score()+ \" player2 :\"+handler.getPlayer2Score() );\n\t\t\t\thandler.resetVaribal = true;\n\t\t\t\t\n\t\t}\n\t\tif(c.getFixtureB().getUserData() == \"paddle1\" && c.getFixtureA().getUserData() == \"buttom\" || c.getFixtureA().getUserData() == \"top\" ){\n\t\t\t}\n\t\t\t\n\t}",
"@Override\r\n public boolean collision(org.dyn4j.dynamics.Body body1, BodyFixture fixture1, org.dyn4j.dynamics.Body body2, BodyFixture fixture2, Penetration penetration) {\r\n return true;\r\n }",
"void object_calculations_doesnt_touch_ground(){\n if(angle_with_ground>0&&down_angle>0&&up_angle<0)\n object_on_eyes_level_calc();\n else if(angle_with_ground>0&&down_angle<0&&up_angle<0)\n object_upper_eyes_level_calc();\n else if(angle_with_ground>0&&down_angle>0&&up_angle>0)\n object_below_eyes_level_calc();\n }",
"void collisionHappened(int position);",
"public void checkCollision() {}",
"@Override\r\n public boolean collision(org.dyn4j.dynamics.Body body1, BodyFixture fixture1, org.dyn4j.dynamics.Body body2, BodyFixture fixture2, Manifold manifold) {\r\n\r\n EntityId one = (EntityId) body1.getUserData();\r\n EntityId two = (EntityId) body2.getUserData();\r\n\r\n if (gravityState.isWormholeFixture(fixture1) || gravityState.isWormholeFixture(fixture2)) {\r\n return gravityState.collide(body1, fixture1, body2, fixture2, manifold, time.getTpf());\r\n }\r\n\r\n if (flagState.isFlag(one) || flagState.isFlag(two)) {\r\n return flagState.collide(body1, fixture1, body2, fixture2, manifold, time.getTpf());\r\n }\r\n\r\n return true; //Default, keep processing this event\r\n }",
"public void updateAcceleration (Body[] bodies) {\n\n boolean collision;\n\n for (int i = 0; i < bodies.length; i ++) {\n\n Body otherBody = bodies[i];\n if (this.merged == false && otherBody.merged == false) {\n collision = this.collisionDetection(otherBody);\n\n // if there's a collision between this and another body, stop the loop\n if (collision == true) {\n this.collisionPhsysics(otherBody);\n System.out.println(\"Collision occured!\");\n break;\n }\n else {\n if (otherBody.name != this.name){ // makes sure a body doesn't calculate acc on itself\n double r = Math.sqrt(Math.pow((this.x - otherBody.x),2) + Math.pow((this.y - otherBody.y),2));\n double temp_acc;\n try {\n temp_acc = (G * otherBody.mass)/Math.pow(r,3); // temp_acc * deltax = ax\n }\n catch (ArithmeticException e){\n // catch division / 0\n temp_acc = 0;\n }\n this.ax += temp_acc * (otherBody.x - this.x);\n this.ay += temp_acc * (otherBody.y - this.y);\n }\n\n if (otherBody.name != this.name){\n // computes and updates axplusone and ayplusone\n\n double r = Math.sqrt(Math.pow((this.euler_x - otherBody.euler_x),2) + Math.pow((this.euler_y - otherBody.euler_y),2));\n double temp_acc;\n try {\n temp_acc = (G * otherBody.mass)/Math.pow(r,3); // temp_acc * deltax = ax\n }\n catch (ArithmeticException e){\n temp_acc = 0;\n }\n this.axplusone += temp_acc * (otherBody.euler_x - this.euler_x);\n this.ayplusone += temp_acc * (otherBody.euler_y - this.euler_y);\n }\n }\n }\n }\n\n }",
"private void testForWallCollision() {\n\t\tVector2 n1 = temp;\n\t\tVector2 hitPoint = temp2;\n\t\t\n\t\tArrayList<Vector2> list;\n\t\tdouble angleOffset;\n\t\t\n\t\tfor (int w=0; w < 2; w++) {\n\t\t\tif (w == 0) {\n\t\t\t\tlist = walls1;\n\t\t\t\tangleOffset = Math.PI/2;\n\t\t\t} else {\n\t\t\t\tlist = walls2;\n\t\t\t\tangleOffset = -Math.PI/2;\n\t\t\t}\n\t\t\tn1.set(list.get(0));\n\t\t\t\n\t\t\tfor (int i=1; i < list.size(); i++) {\n\t\t\t\tVector2 n2 = list.get(i);\n\t\t\t\tif (Intersector.intersectSegments(n1, n2, oldPos, pos, hitPoint)) {\n\t\t\t\t\t// bounceA is technically the normal. angleOffset is used\n\t\t\t\t\t// here to get the correct side of the track segment.\n\t\t\t\t\tfloat bounceA = (float) (Math.atan2(n2.y-n1.y, n2.x-n1.x) + angleOffset);\n\t\t\t\t\tVector2 wall = new Vector2(1, 0);\n\t\t\t\t\twall.setAngleRad(bounceA).nor();\n\t\t\t\t\t\n\t\t\t\t\t// move the car just in front of the wall.\n\t\t\t\t\tpos.set(hitPoint.add((float)Math.cos(bounceA)*0.05f, (float)Math.sin(bounceA)*0.05f));\n\t\t\t\t\t\n\t\t\t\t\t// Lower the speed depending on which angle you hit the wall in.\n\t\t\t\t\ttemp2.setAngleRad(angle).nor();\n\t\t\t\t\tfloat wallHitDot = wall.dot(temp2);\n\t\t\t\t\tspeed *= (1 - Math.abs(wallHitDot)) * 0.85;\n\t\t\t\t\t\n\t\t\t\t\t// calculate the bounce using the reflection formula.\n\t\t\t\t\tfloat dot = vel.dot(wall);\n\t\t\t\t\tvel.sub(wall.scl(dot*2));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tn1.set(n2);\n\t\t\t}\n\t\t}\n\t}",
"@Test\n void contains() {\n Cuboid cuboid1 = new Cuboid(4, 4, 4);\n Point3D point1 = new Point3D(0,0,0);\n assertEquals(true, cuboid1.contains(point1));\n\n Point3D point2 = new Point3D(0,0,2);\n assertEquals(true, cuboid1.contains(point2));\n\n Point3D point3 = new Point3D(0,0,-2);\n assertEquals(true, cuboid1.contains(point3));\n\n Point3D point4 = new Point3D(0,2,0);\n assertEquals(true, cuboid1.contains(point4));\n\n Point3D point5 = new Point3D(0,-2,0);\n assertEquals(true, cuboid1.contains(point5));\n\n Point3D point6 = new Point3D(2,0,0);\n assertEquals(true, cuboid1.contains(point6));\n\n Point3D point7 = new Point3D(-2,0,0);\n assertEquals(true, cuboid1.contains(point7));\n\n Point3D point8 = new Point3D(-2,-2,-2);\n assertEquals(true, cuboid1.contains(point8));\n\n Point3D point9 = new Point3D(-2,-2,-3);\n assertEquals(false, cuboid1.contains(point9));\n\n\n //Arbitary orientation\n Cuboid cuboid2 = new Cuboid(4, 5, 7, new Ray(new Point3D(-2,-2,-2), new Vector3D(1,1,1)));\n Point3D point21 = new Point3D(-1,-1,-1);\n assertEquals(true, cuboid2.contains(point21));\n\n Cuboid cuboid3 = new Cuboid(4, 5, 6, new Ray(new Point3D(-2,-2,-2), new Vector3D(1,1,1)));\n Point3D point31 = new Point3D(0,0,0);\n assertEquals(false, cuboid3.contains(point31));\n\n Cuboid cuboid4 = new Cuboid(4, 5, 6, new Ray(new Point3D(0,0,0), new Vector3D(1,1,1)));\n Point3D point41 = new Point3D(2.5,2.5,2.5);\n assertEquals(false, cuboid4.contains(point41));\n\n Cuboid cuboid5 = new Cuboid(4, 5, 6, new Ray(new Point3D(-2,-2,-2), new Vector3D(0,0,1)));\n Point3D point51 = new Point3D(-2,-2,3.5);\n assertEquals(false, cuboid5.contains(point51));\n }",
"Rectangle getCollisionBox();",
"protected void check_turn(List<CollisionObject> collidables) {\n //Firing rays\n\n //select an area of 180 degrees (pi radians)\n boolean turn = true;\n Vector2 start_point = get_ray_fire_point();\n for (int ray = 0; ray <= number_of_rays; ray++) {\n\n if (turn) {\n ray--;\n float ray_angle = sprite.getRotation() + ((ray_angle_range / (number_of_rays / 2)) * ray);\n turn = false;\n } else {\n float ray_angle = sprite.getRotation() - ((ray_angle_range / (number_of_rays / 2)) * ray);\n turn = true;\n }\n\n float ray_angle = ((ray_angle_range / number_of_rays) * ray) + sprite.getRotation();\n\n for (float dist = 0; dist <= ray_range; dist += ray_step_size) {\n\n double tempx = (Math.cos(Math.toRadians(ray_angle)) * dist) + (start_point.x);\n double tempy = (Math.sin(Math.toRadians(ray_angle)) * dist) + (start_point.y);\n //check if there is a collision hull (other than self) at (tempx, tempy)\n for (CollisionObject collideable : collidables) {\n if (collideable.isShown() &&\n ((Obstacle) collideable).getSprite().getY() > sprite.getY() - 200 &&\n ((Obstacle) collideable).getSprite().getY() < sprite.getY() + 200 &&\n ((Obstacle) collideable).getSprite().getX() > sprite.getX() - 200 &&\n ((Obstacle) collideable).getSprite().getX() < sprite.getX() + 200)\n for (Shape2D bound : collideable.getBounds().getShapes()) {\n if (bound.contains((float) tempx, (float) tempy)) {\n // Determines which side the ai should turn to\n if (turn) {\n turn(-1);\n return;\n } else {\n turn(1);\n return;\n }\n\n }\n }\n\n }\n }\n }\n }",
"public void checkBodyCollisions(ArrayList<CollisionBody> bodies) {\n for (CollisionBody body : bodies) {\n if (this.collidesWith(body)) {\n Line line = (Line) body.getShape();\n\n double lineMidX = (line.getStartX() + line.getEndX()) / 2;\n double lineMidY = (line.getStartY() + line.getEndY()) / 2;\n double ballMidX = ball.getLayoutX();\n double ballMidY = ball.getLayoutY();\n double ratioX = (ballMidX - lineMidX) / Math.min(Math.abs(ballMidX - lineMidX), Math.abs(ballMidY - lineMidY));\n double ratioY = (ballMidY - lineMidY) / Math.min(Math.abs(ballMidX - lineMidX), Math.abs(ballMidY - lineMidY));\n\n double increment = 0.05;\n while (collidesWith(body)) {\n System.out.print(\"|\");\n ball.setLayoutX(ball.getLayoutX() + (ratioX * increment));\n ball.setLayoutY(ball.getLayoutY() + (ratioY * increment));\n }\n System.out.println(\"\");\n\n double lineAngle = getAngleFromXY(line.getEndX() - line.getStartX(), line.getStartY() - line.getEndY());\n double velAngle = getAngleFromXY(velX, velY);\n double totalVel = Math.hypot(velX, velY);\n\n velAngle -= lineAngle;\n velAngle = normalizeAngle(velAngle);\n velAngle = 360 - velAngle;\n velAngle += lineAngle;\n\n velX = totalVel * Math.cos(Math.toRadians(velAngle)) * frictionX;\n velY = totalVel * Math.sin(Math.toRadians(velAngle)) * frictionY;\n }\n }\n }",
"String getCollisionAvoidanceFactor();",
"private void collision(GameObjectContainer<GameObject> object) {\n \tGameObject renderObject = null;\r\n\t\tfor (int i = 0; i < object.getSize(); i++) {\r\n\t\t\trenderObject = object.iterator().next();\r\n\r\n\t\t\tif (renderObject.getType() == \"BLOCK\") {\r\n\t\t\t\tif (this.getBoundsInParent().intersects(renderObject.getBoundsInParent())) {\r\n\t\t\t\t\tSystem.out.println(\"intersected\");\r\n\t\t\t\t\tthis.setTranslateY(renderObject.getTranslateY() - renderObject.getHeight());\r\n\t\t\t\t\tfalling = false;\r\n\t\t\t\t\tjump = false;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tfalling = true;\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t\tif (renderObject.getType() == \"NURSE\") {\r\n\t\t\t\tif (this.getBoundsInParent().intersects(renderObject.getBoundsInParent())) {\r\n\t\t\t\t\tSystem.out.println(\"nurse\");\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t}else {\r\n\t\t\t\tfalling = false;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n }",
"@Test\n void findIntersections() {\n Cuboid cuboid1 = new Cuboid(4,4,4);\n Ray ray1 = new Ray(new Point3D(-3,0,0), new Vector3D(1,0,0));\n ArrayList<GeoPoint> actual1 = cuboid1.findIntersections(ray1);\n ArrayList<GeoPoint> expected1 = new ArrayList<>();\n expected1.add(new GeoPoint(cuboid1, new Point3D(2,0,0)));\n expected1.add(new GeoPoint(cuboid1, new Point3D(-2,0,0)));\n\n assertTrue(Util.intersectionsEqual(expected1, actual1));\n\n //Aligned with Y axis but have different dimensions\n Cuboid cuboid2 = new Cuboid(2,4,3);\n Ray ray2 = new Ray(new Point3D(0,100,0), new Vector3D(0,-1,0));\n ArrayList<GeoPoint> actual2 = cuboid2.findIntersections(ray2);\n ArrayList<GeoPoint> expected2 = new ArrayList<>();\n expected2.add(new GeoPoint(cuboid1, new Point3D(0,2,0)));\n assertEquals(expected2.get(0).point, actual2.get(0).point);\n\n Cuboid cuboid3 = new Cuboid(2,4,3, new Ray(new Point3D(1,1,1), new Vector3D(0,0,1)));\n Ray ray3 = new Ray(new Point3D(0,100,0), new Vector3D(0,-1,0));\n ArrayList<GeoPoint> actual3 = cuboid3.findIntersections(ray3);\n ArrayList<GeoPoint> expected3 = new ArrayList<>();\n expected3.add(new GeoPoint(cuboid1, new Point3D(0,3,0)));\n assertEquals(expected3.get(0).point, actual3.get(0).point);\n\n Ray ray = new Ray(new Point3D(0,0,-200), Vector3D.zAxis);\n ArrayList<GeoPoint> interesections = cuboid1.findIntersections(ray);\n }",
"public void CheckCollision(Ball b){\n\n if( b.getDirX() < 0f ){\n if( (b.getPosX() - b.getSizeX() ) < px + sx){\n //if we're in the upper \n if( b.getPosY() > py+sy/2 && b.getPosY() < py+sy){\n b.setDirX(-b.getDirX());\n b.setDirY(b.getDirY() + .25f);\n }\n //if we are in the lower\n else if( b.getPosY() < py-sy/2 && b.getPosY() > py-sy){\n b.setDirX(-b.getDirX());\n b.setDirY(b.getDirY() - .25f); \n }\n else if( b.getPosY() > py-sy && b.getPosY() < py+sy)\n b.setDirX(-b.getDirX());\n b.setVelocity(b.getVelocity() * 1.10f);\n } \n }else{\n if( (b.getPosX() + b.getSizeX() ) > px - sx){\n //if we're in the upper \n if( b.getPosY() > py+sy/2 && b.getPosY() < py+sy){\n b.setDirX(-b.getDirX());\n b.setDirY(b.getDirY() + .25f);\n }\n //if we are in the lower\n else if( b.getPosY() < py-sy/2 && b.getPosY() > py-sy){\n b.setDirX(-b.getDirX());\n b.setDirY(b.getDirY() - .25f); \n }\n else if( b.getPosY() > py-sy && b.getPosY() < py+sy)\n b.setDirX(-b.getDirX());\n b.setVelocity(b.getVelocity() * 1.10f);\n }\n }\n }",
"Rectangle getCollisionRectangle();",
"Rectangle getCollisionRectangle();",
"Rect getCollisionShape()\n {\n return new Rect(x+2,y+2,x +(width-2), y+(height-2));\n }",
"public void chase(int targetX, int targetY, ArrayList<Wall> listOfWalls, ArrayList<Point> intersections) {\n double minDistance = 5000000000.0; //no distance is greater than this 4head\r\n double upDistance = 500000000.0;\r\n double downDistance = 5000000.0;\r\n double leftDistance = 50000000.0;\r\n double rightDistance = 5000000.0;\r\n boolean isIntersection = checkIntersection(intersections);\r\n boolean isRightCollision = checkWallCollision(listOfWalls, 2);\r\n boolean isLeftCollision = checkWallCollision(listOfWalls, 3);\r\n boolean isUpCollision = checkWallCollision(listOfWalls, 0);\r\n boolean isDownCollision = checkWallCollision(listOfWalls, 1);\r\n\r\n if (isIntersection) {\r\n if (!isRightCollision && this.direction != 3) {\r\n rightDistance = Math.pow((xPos + 20) - targetX, 2) + Math.pow(yPos - targetY, 2);\r\n }\r\n if (!isLeftCollision && this.direction != 2) {\r\n leftDistance = Math.pow((xPos - 20) - targetX, 2) + Math.pow(yPos - targetY, 2);\r\n }\r\n if (!isUpCollision && this.direction != 1) {\r\n upDistance = Math.pow((xPos) - targetX, 2) + Math.pow((yPos - 20) - targetY, 2);\r\n }\r\n if (!isDownCollision && this.direction != 0) {\r\n downDistance = Math.pow((xPos) - targetX, 2) + Math.pow((yPos + 20) - targetY, 2);\r\n }\r\n if (upDistance <= downDistance && upDistance <= leftDistance && upDistance <= rightDistance) {\r\n this.direction = 0;\r\n } else if (downDistance <= upDistance && downDistance <= leftDistance && downDistance <= rightDistance) {\r\n this.direction = 1;\r\n } else if (rightDistance <= leftDistance && rightDistance <= downDistance && rightDistance <= upDistance) {\r\n this.direction = 2;\r\n } else if (leftDistance <= rightDistance && leftDistance <= upDistance && leftDistance <= downDistance) {\r\n this.direction = 3;\r\n }\r\n\r\n\r\n }\r\n\r\n if (this.direction == 0) {\r\n yPos = yPos - 5;\r\n }\r\n if (this.direction == 1) {\r\n yPos = yPos + 5;\r\n }\r\n if (this.direction == 2) {\r\n xPos = xPos + 5;\r\n }\r\n if (this.direction == 3) {\r\n xPos = xPos - 5;\r\n }\r\n\r\n }",
"public void checkCollision()\r\n\t{\r\n\t\t//for Bullets against Avatar and Enemy\r\n\t\tfor(int bulletIndex = 0; bulletIndex < bullets.size(); bulletIndex++)\r\n\t\t{\r\n\t\t\tBullet b = bullets.get(bulletIndex);\r\n\t\t\tif (b instanceof AvatarBullet)\r\n\t\t\t{\r\n\t\t\t\t@SuppressWarnings(\"unused\")\r\n\t\t\t\tboolean collided = false;\r\n\t\t\t\tfor (int enemyIndex = 0; enemyIndex < enemy.size(); enemyIndex++)\r\n\t\t\t\t{\r\n\t\t\t\t\tEnemy e = enemy.get(enemyIndex);\r\n\t\t\t\t\tif(((AvatarBullet) b).collidedWith(e))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tbullets.remove(bulletIndex);\r\n\t\t\t\t\t\tbulletIndex--;\r\n\t\t\t\t\t\tenemy.remove(enemyIndex);\r\n\t\t\t\t\t\tenemyIndex --;\r\n\t\t\t\t\t\tcollided = true;\r\n\t\t\t\t\t\tint score = getScore()+1;\r\n\t\t\t\t\t\tsetScore(score);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if (b instanceof EnemyBullet)\r\n\t\t\t{\r\n\t\t\t\tif (((EnemyBullet) b).collidedWith(avatar))\r\n\t\t\t\t{\r\n\t\t\t\t\tbullets.remove(bulletIndex);\r\n\t\t\t\t\tbulletIndex--;\r\n\t\t\t\t\tint health = Avatar.getLives()-1;\r\n\t\t\t\t\tavatar.setLives(health);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tfor(int platformIndex = 0; platformIndex < platforms.size(); platformIndex++)\r\n\t\t{\r\n\t\t\tPlatforms p = platforms.get(platformIndex);\r\n\t\t\tif (p instanceof Platforms)\r\n\t\t\t{\r\n\t\t\t\t//boolean collided = false;\r\n\t\t\t\t//Avatar a = avatar.get(enemyIndex);\r\n\t\t\t\tif(((Platforms) p).collidedWith(avatar))\r\n\t\t\t\t{\r\n\t\t\t\t\tsetAlive(true);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tsetAlive(false);\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}",
"public void detectCollisions() {\r\n\r\n for (int pos = 0; pos < this.numberOfBees; pos++) {\r\n if (!beesArray[pos].isInCollisionRisk()) {\r\n int i = beesArray[pos].getI();\r\n int j = beesArray[pos].getJ();\r\n int k = beesArray[pos].getK();\r\n for (int x = (i - offset); x <= (i + offset); x++) {\r\n for (int y = (j - offset); y <= (j + offset); y++) {\r\n for (int z = (k - offset); z <= (k + offset); z++) {\r\n if (x == i && y == j && z == k || (Math.abs(i - j) == 0) || Math.abs(i - j) == 2 * offset) {\r\n continue;\r\n } else if (BeesCollision[x][y][z] != null) {\r\n beesArray[pos].setCollision(true);\r\n if (BeesCollision[x][y][z].size() == 1) {\r\n BeesCollision[x][y][z].getFirst().setCollision(true);\r\n break;\r\n }\r\n }\r\n }\r\n if (beesArray[pos].isInCollisionRisk()) {\r\n break;\r\n }\r\n }\r\n if (beesArray[pos].isInCollisionRisk()) {\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }",
"void detectWallCollisions() {\n\t\tif (getCenterX() < getRadius()) {\n\t\t\tsetCenterX(getRadius());\n\t\t\tvx = -vx;\n\t\t} else if (getCenterX() > (getScene().getWidth() - getRadius())) {\n\t\t\tsetCenterX((getScene().getWidth() - getRadius()));\n\t\t\tvx = -vx;\n\t\t}\n\t\tif (getCenterY() < getRadius()) {\n\t\t\tsetCenterY(getRadius());\n\t\t\tvy = -vy;\n\t\t} else if (getCenterY() > (getScene().getHeight() - getRadius())) {\n\t\t\tsetCenterY(getScene().getHeight() - getRadius());\n\t\t\tvy = -vy;\n\t\t}\n\t}",
"@Override\n\tpublic boolean checkCollision() {\n\t\treturn true;\n\t}",
"@Override\n public void setUpCollision(Collision collisionPoints){\n //Walls at the bottom\n collisionPoints.addBoxCollision(2,39,32,15,flicker);\n collisionPoints.addBoxCollision(41,39,35,15,flicker);\n collisionPoints.addBoxCollision(34,40,7,1,flicker);\n //Walls sides\n collisionPoints.addBoxCollision(2,1,11,37,flicker);\n collisionPoints.addBoxCollision(62,14,11,36,flicker);\n collisionPoints.addBoxCollision(2,1,74,12,flicker);\n\n //DETAIL\n //Front\n collisionPoints.addBoxCollision(33,14,8,4,flicker);\n //Seats left\n collisionPoints.addBoxCollision(14,21,17,3,flicker);\n collisionPoints.addBoxCollision(14,26,17,3,flicker);\n collisionPoints.addBoxCollision(14,31,17,3,flicker);\n collisionPoints.addBoxCollision(14,36,17,3,flicker);\n //Seats right\n collisionPoints.addBoxCollision(43,21,19,3,flicker);\n collisionPoints.addBoxCollision(43,26,19,3,flicker);\n collisionPoints.addBoxCollision(43,31,19,3,flicker);\n collisionPoints.addBoxCollision(43,36,19,3,flicker);\n }",
"public void frighten(ArrayList<Wall> listOfWalls, ArrayList<Point> intersections) {\n Random r = new Random();\r\n int targetX = 25;\r\n int targetY = 25;\r\n double minDistance = 5000000000.0; //no distance is greater than this 4head\r\n double upDistance = 500000000.0;\r\n double downDistance = 5000000.0;\r\n double leftDistance = 50000000.0;\r\n double rightDistance = 5000000.0;\r\n\r\n boolean isIntersection = checkIntersection(intersections);\r\n boolean isRightCollision = checkWallCollision(listOfWalls, 2);\r\n boolean isLeftCollision = checkWallCollision(listOfWalls, 3);\r\n boolean isUpCollision = checkWallCollision(listOfWalls,0);\r\n boolean isDownCollision = checkWallCollision(listOfWalls, 1);\r\n\r\n if(isIntersection) {\r\n\r\n if(!isRightCollision && this.direction != 3) {\r\n rightDistance = Math.pow((xPos + 20) - targetX,2) + Math.pow(yPos - targetY,2);\r\n }\r\n if(!isLeftCollision && this.direction !=2) {\r\n leftDistance = Math.pow((xPos - 20) - targetX,2) + Math.pow(yPos - targetY,2);\r\n }\r\n if(!isUpCollision && this.direction != 1) {\r\n upDistance = Math.pow((xPos) - targetX,2) + Math.pow((yPos-20) - targetY,2);\r\n }\r\n if(!isDownCollision && this.direction != 0) {\r\n downDistance = Math.pow((xPos) - targetX,2) + Math.pow((yPos+20) - targetY,2);\r\n }\r\n if(upDistance <= downDistance && upDistance <= leftDistance && upDistance <= rightDistance) {\r\n this.direction = 0;\r\n }\r\n else if(downDistance <= upDistance && downDistance <= leftDistance && downDistance <= rightDistance) {\r\n this.direction = 1;\r\n }\r\n\r\n else if(rightDistance <= leftDistance && rightDistance <= downDistance && rightDistance <= upDistance) {\r\n this.direction = 2;\r\n }\r\n\r\n else if(leftDistance <= rightDistance && leftDistance <= upDistance && leftDistance <= downDistance) {\r\n this.direction = 3;\r\n }\r\n\r\n\r\n }\r\n\r\n if(this.direction == 0) {\r\n yPos = yPos - 5;\r\n }\r\n if(this.direction ==1) {\r\n yPos = yPos + 5;\r\n }\r\n if(this.direction ==2) {\r\n xPos = xPos + 5;\r\n }\r\n if(this.direction == 3) {\r\n xPos = xPos - 5;\r\n }\r\n }",
"private static void checkCollisions() {\n ArrayList<Entity> bulletsArray = bullets.entities;\n ArrayList<Entity> enemiesArray = enemies.entities;\n for (int i = 0; i < bulletsArray.size(); ++i) {\n for (int j = 0; j < enemiesArray.size(); ++j) {\n if (j < 0) {\n continue;\n }\n if (i < 0) {\n break;\n }\n Entity currentBullet = bulletsArray.get(i);\n Entity currentEnemy = enemiesArray.get(j);\n if (Collision.boxBoxOverlap(currentBullet, currentEnemy)) {\n ++player.hiScore;\n if (currentBullet.collided(currentEnemy)) {\n --i;\n }\n if (currentEnemy.collided(currentBullet)) {\n --j;\n }\n }\n }\n }\n textHiScore.setString(\"HISCORE:\" + player.hiScore);\n\n // Check players with bonuses\n ArrayList<Entity> bonusArray = bonus.entities;\n for (int i = 0; i < bonusArray.size(); ++i) {\n Entity currentBonus = bonusArray.get(i);\n if (Collision.boxBoxOverlap(player, currentBonus)) {\n if (currentBonus.collided(player)) {\n --i;\n player.collided(currentBonus);\n }\n }\n }\n }",
"public void checkWorldCollisions(Bounds bounds) {\n final boolean atRightBorder = getShape().getLayoutX() >= (bounds.getMaxX() - RADIUS);\n final boolean atLeftBorder = getShape().getLayoutX() <= RADIUS;\n final boolean atBottomBorder = getShape().getLayoutY() >= (bounds.getMaxY() - RADIUS);\n final boolean atTopBorder = getShape().getLayoutY() <= RADIUS;\n final double padding = 1.00;\n\n if (atRightBorder) {\n getShape().setLayoutX(bounds.getMaxX() - (RADIUS * padding));\n velX *= frictionX;\n velX *= -1;\n }\n if (atLeftBorder) {\n getShape().setLayoutX(RADIUS * padding);\n velX *= frictionX;\n velX *= -1;\n }\n if (atBottomBorder) {\n velY *= -1;\n velY *= frictionY;\n getShape().setLayoutY(bounds.getMaxY() - (RADIUS * padding));\n }\n if (atTopBorder) {\n velY *= -1;\n velY *= frictionY;\n getShape().setLayoutY(RADIUS * padding);\n }\n }",
"public boolean collides (){\n if(shipX<=astX && shipY>=astY){\n if(Math.abs(shipX-astX)<=40 && Math.abs(shipY-astY)<=65){\n return true;\n }\n }\n else if(shipX>=astX && shipY>=astY){\n if(Math.abs(shipX-astX)<=75 && Math.abs(shipY-astY)<=65){\n return true;\n }\n }\n else if(shipX>=astX && shipY<=astY){\n if(Math.abs(shipX-astX)<=75 && Math.abs(shipY-astY)<=55){\n return true;\n }\n }\n else if(shipX<=astX && shipY<=astY){\n if(Math.abs(shipX-astX)<=60 && Math.abs(shipY-astY)<=55){\n return true;\n }\n }\n return false;\n }",
"@Override\n public MovingObjectPosition collisionRayTrace(World world, BlockPos pos, Vec3 vec0, Vec3 vec1) {\n this.setBlockBoundsBasedOnState(world, pos);\n vec0 = vec0.addVector((double)(-pos.getX()), (double)(-pos.getY()), (double)(-pos.getZ()));\n vec1 = vec1.addVector((double) (-pos.getX()), (double) (-pos.getY()), (double) (-pos.getZ()));\n Vec3 vec2 = vec0.getIntermediateWithXValue(vec1, this.minX);\n Vec3 vec3 = vec0.getIntermediateWithXValue(vec1, this.maxX);\n Vec3 vec4 = vec0.getIntermediateWithYValue(vec1, this.minY);\n Vec3 vec5 = vec0.getIntermediateWithYValue(vec1, this.maxY);\n Vec3 vec6 = vec0.getIntermediateWithZValue(vec1, this.minZ);\n Vec3 vec7 = vec0.getIntermediateWithZValue(vec1, this.maxZ);\n Vec3 vec8 = null;\n if (!this.isVecInsideYZBounds(world, pos, vec2)) {\n vec2 = null;\n }\n if (!this.isVecInsideYZBounds(world, pos, vec3)) {\n vec3 = null;\n }\n if (!this.isVecInsideXZBounds(world, pos, vec4)) {\n vec4 = null;\n }\n if (!this.isVecInsideXZBounds(world, pos, vec5)) {\n vec5 = null;\n }\n if (!this.isVecInsideXYBounds(world, pos, vec6)) {\n vec6 = null;\n }\n if (!this.isVecInsideXYBounds(world, pos, vec7)) {\n vec7 = null;\n }\n if (vec2 != null) {\n vec8 = vec2;\n }\n if (vec3 != null && (vec8 == null || vec0.squareDistanceTo(vec3) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec3;\n }\n if (vec4 != null && (vec8 == null || vec0.squareDistanceTo(vec4) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec4;\n }\n if (vec5 != null && (vec8 == null || vec0.squareDistanceTo(vec5) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec5;\n }\n if (vec6 != null && (vec8 == null || vec0.squareDistanceTo(vec6) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec6;\n }\n if (vec7 != null && (vec8 == null || vec0.squareDistanceTo(vec7) < vec0.squareDistanceTo(vec8))) {\n vec8 = vec7;\n }\n if (vec8 == null) {\n return null;\n } else {\n EnumFacing enumfacing = null;\n if (vec8 == vec3) {\n enumfacing = EnumFacing.WEST;\n }\n if (vec8 == vec2) {\n enumfacing = EnumFacing.EAST;\n }\n if (vec8 == vec3) {\n enumfacing = EnumFacing.DOWN;\n }\n if (vec8 == vec4) {\n enumfacing = EnumFacing.UP;\n }\n if (vec8 == vec5) {\n enumfacing = EnumFacing.NORTH;\n }\n if (vec8 == vec6) {\n enumfacing = EnumFacing.SOUTH;\n }\n return new MovingObjectPosition(vec8.addVector((double) pos.getX(), (double) pos.getY(), (double) pos.getZ()), enumfacing, pos);\n }\n }",
"private boolean collision1() {\n return game.racket1.getBounds1().intersects(getBounds()); // returns true if the two rectangles intersect\r\n }",
"private void checkCastleCollisions() {\n\t\t\n\t}",
"void checkCollision(Entity other);",
"void object_on_eyes_level_calc(){\n down_angle=Math.abs(down_angle);\n up_angle=Math.abs(up_angle);\n angle_with_ground=90-angle_with_ground;\n distance_from_object=human_length*Math.tan(Math.toRadians(angle_with_ground));\n double part_down=distance_from_object*Math.tan(Math.toRadians(down_angle));\n double part_up=distance_from_object*Math.tan(Math.toRadians(up_angle));\n length_of_object=part_down+part_up;\n object_height_from_ground=human_length-part_down;\n ORI.setText(\"length_of_object :\\n\" +String.valueOf(String.format(\"%.2f\",(length_of_object/100)))\n +\" M\"+ \"\\n\" + \"distance_from_object :\\n\" + String.valueOf(String.format(\"%.2f\",(distance_from_object/100)))+\n \" M\" + \"\\n\"+\"height_from_ground :\\n\" + String.valueOf(String.format(\"%.2f\",(object_height_from_ground/100)))+\" M\");\n ORI.setVisibility(View.VISIBLE);\n }",
"private boolean detectCollisions(GameState mGaemState,ArrayList<GameObject> objects,SoundEngine se,ParticleSystem ps){\n boolean playerHit = false;\n for (GameObject go1:objects){\n if (go1.checkActive()){\n //the 1st object is active\n //so worth checking\n\n for (GameObject go2:objects){\n if (go2.checkActive()){\n //the 2nd object is active\n //so worth checking\n if (RectF.intersects(go1.getTransform().getCollider(),go2.getTransform().getCollider())){\n\n //switch goes here\n //there has been a collision\n //but does it matter?\n switch (go1.getTag() + \" with \" + go2.getTag()){\n case \"Player with Alien Laser\":\n playerHit = true;\n mGaemState.lostLife(se);\n\n break;\n\n case \"Player with Alien\":\n playerHit =true;\n mGaemState.lostLife(se);\n\n break;\n\n case \"Player Laser with Alien\":\n mGaemState.increaseScore();\n //respawn the alien\n ps.emitParticles(new PointF(go2.getTransform().getLocation().x,go2.getTransform().getLocation().y));\n go2.setInactive();\n go2.spawn(objects.get(Level.PLAYER_INDEX).getTransform());\n go1.setInactive();\n se.playAlienExplode();\n\n break;\n\n default:\n break;\n }\n\n }\n }\n }\n }\n }\n return playerHit;\n }",
"public static boolean collide(CustomAABB us, CustomBlockBox block, Vector3f pos, Vector3f inertia, float width, float height, boolean onGround){\n boolean xWithin = !(us.getLeft() > block.getRight() || us.getRight() < block.getLeft());\n boolean yWithin = !(us.getBottom() > block.getTop() || us.getTop() < block.getBottom());\n boolean zWithin = !(us.getFront() > block.getBack() || us.getBack() < block.getFront());\n\n //double check to stop clipping if not enough space\n if (xWithin && zWithin && yWithin &&\n !detectBlock(new Vector3f(block.getLeft(), block.getBottom()+1,block.getFront())) &&\n !detectBlock(new Vector3f(block.getLeft(), block.getBottom()+2,block.getFront()))) {\n\n //floor detection\n if (block.getTop() > us.getBottom() && inertia.y < 0 && us.getBottom() - block.getTop() > -0.15f) {\n //this is the collision debug sphere for terrain\n float oldPos = pos.y;\n pos.y = block.getTop();\n //don't move up if too high\n if (pos.y - oldPos > 1) {\n pos.y = (int)oldPos;\n }\n inertia.y = 0;\n onGround = true;\n }\n }\n\n //stop getting shot across the map\n if (xWithin && zWithin && yWithin &&\n !detectBlock(new Vector3f(block.getLeft(), block.getBottom()-1,block.getFront())) &&\n !detectBlock(new Vector3f(block.getLeft(), block.getBottom()-2,block.getFront()))) {\n //head detection\n if (block.getBottom() < us.getTop() && inertia.y >= 0 && us.getTop() - block.getBottom() < 0.15f) {\n pos.y = block.getBottom() - height;\n inertia.y = 0;\n }\n }\n\n float averageX = Math.abs(((block.getLeft() + block.getRight())/2f) - pos.x);\n float averageY = Math.abs(((block.getBottom() + block.getTop())/2f) - pos.y);\n float averageZ = Math.abs(((block.getFront() + block.getBack())/2f) - pos.z);\n if (averageX > averageZ) {\n if (!detectBlock(new Vector3f(block.getLeft()+1, block.getBottom(),block.getFront()))) {\n us = new CustomAABB(pos.x, pos.y + 0.1501f, pos.z, width, height - 0.3001f);\n xWithin = !(us.getLeft() > block.getRight() || us.getRight() < block.getLeft());\n yWithin = !(us.getBottom() > block.getTop() || us.getTop() < block.getBottom());\n zWithin = !(us.getFront() > block.getBack() || us.getBack() < block.getFront());\n\n //x- detection\n if (xWithin && zWithin && yWithin) {\n if (block.getRight() > us.getLeft() && inertia.x < 0) {\n pos.x = block.getRight() + width + 0.00001f;\n inertia.x = 0;\n }\n }\n }\n if (!detectBlock(new Vector3f(block.getLeft()-1, block.getBottom(),block.getFront()))) {\n us = new CustomAABB(pos.x, pos.y + 0.1501f, pos.z, width, height - 0.3001f);\n xWithin = !(us.getLeft() > block.getRight() || us.getRight() < block.getLeft());\n yWithin = !(us.getBottom() > block.getTop() || us.getTop() < block.getBottom());\n zWithin = !(us.getFront() > block.getBack() || us.getBack() < block.getFront());\n\n //x+ detection\n if (xWithin && zWithin && yWithin) {\n if (block.getLeft() < us.getRight() && inertia.x > 0) {\n pos.x = block.getLeft() - width - 0.00001f;\n inertia.x = 0;\n }\n }\n }\n } else {\n if (!detectBlock(new Vector3f(block.getLeft(), block.getBottom(),block.getFront()+1))) {\n us = new CustomAABB(pos.x, pos.y + 0.1501f, pos.z, width, height - 0.3001f);\n xWithin = !(us.getLeft() > block.getRight() || us.getRight() < block.getLeft());\n yWithin = !(us.getBottom() > block.getTop() || us.getTop() < block.getBottom());\n zWithin = !(us.getFront() > block.getBack() || us.getBack() < block.getFront());\n\n //z- detection\n if (xWithin && zWithin && yWithin) {\n if (block.getBack() > us.getFront() && inertia.z < 0) {\n pos.z = block.getBack() + width + 0.00001f;\n inertia.z = 0;\n }\n }\n }\n if (!detectBlock(new Vector3f(block.getLeft(), block.getBottom(),block.getFront()-1))) {\n us = new CustomAABB(pos.x, pos.y + 0.1501f, pos.z, width, height - 0.3001f);\n xWithin = !(us.getLeft() > block.getRight() || us.getRight() < block.getLeft());\n yWithin = !(us.getBottom() > block.getTop() || us.getTop() < block.getBottom());\n zWithin = !(us.getFront() > block.getBack() || us.getBack() < block.getFront());\n\n //z+ detection\n if (xWithin && zWithin && yWithin) {\n if (block.getFront() < us.getBack() && inertia.z > 0) {\n pos.z = block.getFront() - width - 0.00001f;\n inertia.z = 0;\n }\n }\n }\n }\n return onGround;\n }",
"public static boolean getCollision()\r\n\t{\r\n\t\treturn collision;\r\n\t}",
"private void circleCollison() {\n\t\t\n\t}",
"public void updateOptimalCollisionArea();",
"public void checkCollision(){\r\n\r\n\t\t\t\tsmile.updateVelocity();\r\n\r\n\t\t\t\tsmile.updatePosition();\r\n\r\n\t\t\t\tif (smile.updateVelocity() > 0){\r\n\r\n\t\t\t\t\tfor (int k = 0; k < arrayPlat.size(); k++){\r\n\r\n\t\t\t\t\t\tif (smile.getNode().intersects(arrayPlat.get(k).getX(), arrayPlat.get(k).getY(), Constants.PLATFORM_WIDTH, Constants.PLATFORM_HEIGHT)){\r\n\r\n\t\t\t\t\t\t\tsmile.setVelocity(Constants.REBOUND_VELOCITY);\r\n\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\r\n\t}",
"private void processPlayerCollision() {\n\t\t// This starts by converting the player vertices to global positions.\n\t\tVector3 playerGlobalPosition = player.getGlobalPositionVector();\n\t\tVector3 playerGlobalRotation = player.getGlobalRotationVector();\n\n\t\tVector3 playerVertex1 = new Vector3(player.hitboxPoints[0], player.hitboxPoints[1]);\n\t\tVector3 playerVertex2 = new Vector3(player.hitboxPoints[2], player.hitboxPoints[3]);\n\t\tVector3 playerVertex3 = new Vector3(player.hitboxPoints[4], player.hitboxPoints[5]);\n\t\t// TODO: Confirm this is correct.\n\t\tVector3 playerVertex1Global = new Vector3(playerVertex1.x * -Math.sin(Math.toRadians(playerGlobalRotation.z)), playerVertex1.y * Math.cos(Math.toRadians(playerGlobalRotation.z))).add(playerGlobalPosition);\n\t\tVector3 playerVertex2Global = new Vector3(playerVertex2.x * -Math.sin(Math.toRadians(playerGlobalRotation.z)), playerVertex2.y * Math.cos(Math.toRadians(playerGlobalRotation.z))).add(playerGlobalPosition);\n\t\tVector3 playerVertex3Global = new Vector3(playerVertex3.x * -Math.sin(Math.toRadians(playerGlobalRotation.z)), playerVertex3.y * Math.cos(Math.toRadians(playerGlobalRotation.z))).add(playerGlobalPosition);\n\n\t\tfor (AsteroidsAsteroid a : asteroids) {\n\t\t\t// If any of the vertices collide and the player is alive, lose a life.\n\t\t\tif ((a.collides(playerVertex1Global) || a.collides(playerVertex2Global) || a.collides(playerVertex3Global)) && player.isShowing()) {\n\t\t\t\tloseLife();\n\t\t\t}\n\t\t}\n\t}",
"public AABB a(World paramaqu, BlockPosition paramdt, Block parambec, float paramFloat, EnumDirection paramej)\r\n/* 147: */ {\r\n/* 148:175 */ if ((parambec.getType() == this) || (parambec.getType().getMaterial() == Material.air)) {\r\n/* 149:176 */ return null;\r\n/* 150: */ }\r\n/* 151:178 */ AABB localbrt = parambec.getType().a(paramaqu, paramdt, parambec);\r\n/* 152:180 */ if (localbrt == null) {\r\n/* 153:181 */ return null;\r\n/* 154: */ }\r\n/* 155:184 */ double d1 = localbrt.minX;\r\n/* 156:185 */ double d2 = localbrt.minY;\r\n/* 157:186 */ double d3 = localbrt.minZ;\r\n/* 158:187 */ double d4 = localbrt.maxX;\r\n/* 159:188 */ double d5 = localbrt.maxY;\r\n/* 160:189 */ double d6 = localbrt.maxZ;\r\n/* 161:192 */ if (paramej.g() < 0) {\r\n/* 162:193 */ d1 -= paramej.g() * paramFloat;\r\n/* 163: */ } else {\r\n/* 164:195 */ d4 -= paramej.g() * paramFloat;\r\n/* 165: */ }\r\n/* 166:197 */ if (paramej.h() < 0) {\r\n/* 167:198 */ d2 -= paramej.h() * paramFloat;\r\n/* 168: */ } else {\r\n/* 169:200 */ d5 -= paramej.h() * paramFloat;\r\n/* 170: */ }\r\n/* 171:202 */ if (paramej.i() < 0) {\r\n/* 172:203 */ d3 -= paramej.i() * paramFloat;\r\n/* 173: */ } else {\r\n/* 174:205 */ d6 -= paramej.i() * paramFloat;\r\n/* 175: */ }\r\n/* 176:207 */ return new AABB(d1, d2, d3, d4, d5, d6);\r\n/* 177: */ }",
"private boolean collision(double xa, double ya) {\n\t\t\n\t\tint xMin = 2;\n int xMax = 15;\n int yMin = 15;\n int yMax = 19;\n if(Player.isSwimming){\n \tyMax = 1;\n \txMax = 18;\n }\n if (level.getTile((int)this.x / 32, (int)this.y / 32).getId() == 30) {\n \txMax = 18;\n \txMin = 20;\n }\n if (level.getTile((int)this.x / 32, (int)this.y / 32).getId() == 25) {\n \txMax = 32;\n \txMin = 32;\n \tyMax = 7;\n }\n \n \n int yMinWater = 0;\n for (int x = xMin; x < xMax; x++) {\n if (isSolidTile((int)xa, (int)ya, x, yMin)) {\n return true;\n }\n }\n for (int x = xMin; x < xMax; x++) {\n if (isSolidTile((int)xa,(int) ya, x, yMax)) {\n return true;\n }\n }\n for (int y = yMin; y < yMax; y++) {\n if (isSolidTile((int)xa, (int)ya, xMin, y)) {\n return true;\n }\n }\n for (int y = yMin; y < yMax; y++) {\n if (isSolidTile((int)xa, (int)ya, xMax, y)) {\n return true;\n }\n }\n if(Player.isSwimming || Player.isClimbing){\n \t for (int y = yMinWater; y < yMax; y++) {\n if (isSolidTile((int)xa, (int)ya, yMinWater, y)) {\n return true;\n }\n }\n }\n \n return false;\n\t}",
"public int check4CollisionWithRed(Player player)\n {\n \n int number_of_collisions = 0;\n int x_cord = getMidPoint(player.getX_cordinate());\n int y_cord = getMidPoint(player.getY_cordinate());\n int redx1 = getMidPoint(ludo.getRedPlayer1().x_cordinate);\n int redx2 = getMidPoint(ludo.getRedPlayer2().x_cordinate);\n int redx3 = getMidPoint(ludo.getRedPlayer3().x_cordinate);\n int redx4 = getMidPoint(ludo.getRedPlayer4().x_cordinate);\n int redy1 = getMidPoint(ludo.getRedPlayer1().y_cordinate);\n int redy2 = getMidPoint(ludo.getRedPlayer2().y_cordinate);\n int redy3 = getMidPoint(ludo.getRedPlayer3().y_cordinate);\n int redy4 = getMidPoint(ludo.getRedPlayer4().y_cordinate);\n number_of_collisions += collisionDetection(x_cord, y_cord, redx1, redy1);\n number_of_collisions += collisionDetection(x_cord, y_cord, redx2, redy2);\n number_of_collisions += collisionDetection(x_cord, y_cord, redx3, redy3);\n number_of_collisions += collisionDetection(x_cord, y_cord, redx4, redy4);\n return number_of_collisions;\n }",
"public abstract boolean collisionWith(CollisionObject obj);",
"abstract public double timeUntilCollision(Ball ball);",
"public void checkCollisions(List<Entity> listOfCloseObjects){\n\n for(Entity first : listOfCloseObjects){\n for(Entity second : listOfCloseObjects){\n if(first!=second) {\n\n String typeOfCollision = \"\";\n\n //check for a collision between the bounding boxes\n if (first.getBoundingBox().intersects(second.getBoundingBox())) {\n if(first.getEntityType().equals(EntityType.WALL) && second.getEntityType().equals(EntityType.PLAYER)) {\n typeOfCollision = \"playerWithWall\";\n }\n else if(first.getEntityType().equals(EntityType.FLOOR_HAZARD) && second.getEntityType().equals(EntityType.PLAYER)){\n typeOfCollision = \"playerWithHazard\";\n }\n else if(first.getEntityType().equals(EntityType.MELEE_WEAPON) && second.getEntityType().equals(EntityType.ENEMY)){\n typeOfCollision = \"swordWithEnemy\";\n }\n else if(first instanceof Bullet && second.getEntityType().equals(EntityType.WALL)){\n typeOfCollision = \"bulletWithWall\";\n }\n else if(first.getEntityType().equals(EntityType.ENEMY) && second.getEntityType().equals(EntityType.WALL)){\n typeOfCollision = \"enemyWithWall\";\n }\n else if((first.getEntityType().equals(EntityType.DEFAULT_BULLET) || first.getEntityType().equals(EntityType.SHOTGUN_BULLET) || first.getEntityType().equals(EntityType.FAST_BULLET)) && second.getEntityType().equals(EntityType.ENEMY)){\n typeOfCollision = \"enemyWithBullet\";\n }\n else if(first.getEntityType().equals(EntityType.ENEMY) && second.getEntityType().equals(EntityType.ENEMY)){\n typeOfCollision = \"enemyWithEnemy\";\n }\n else if(first.getEntityType().equals(EntityType.ENEMY) && second.getEntityType().equals(EntityType.PLAYER)){\n typeOfCollision = \"enemyWithPlayer\";\n }\n else if((first.getEntityType().equals(EntityType.SWORD) || first.getEntityType().equals(EntityType.SHOTGUN) || first.getEntityType().equals(EntityType.PISTOL) || first.getEntityType().equals(EntityType.ASSAULT_RIFLE) ||\n first.getEntityType().equals(EntityType.SHIELD) || first.getEntityType().equals(EntityType.SPEEDBOOST) || first.getEntityType().equals(EntityType.HEART))\n && second.getEntityType().equals(EntityType.PLAYER)){\n typeOfCollision = \"itemWithPlayer\";\n }\n\n if(!typeOfCollision.isEmpty())\n collide(typeOfCollision, first, second);\n }\n }\n }\n }\n\n }",
"private void verificarColisiones() {\n if(inmunidadRamiro){\n tiempoInmunidadRamiro += Gdx.graphics.getDeltaTime();\n }\n if(tiempoInmunidadRamiro>=6f){//despues de 0.6 seg, vuelve a ser vulnerable\n inmunidadRamiro=false;\n tiempoInmunidadRamiro=0f;\n ramiro.setEstadoItem(Ramiro.EstadoItem.NORMAL);\n musicaRayo.stop();\n if(music){\n musicaFondo.play();\n }\n\n }\n\n if (inmunidad){//Para evitar bugs, Ramiro puede tomar damage cada cierto tiempo...\n //Se activa cada vez que toma damage\n tiempoInmunidad+=Gdx.graphics.getDeltaTime();\n }\n if(tiempoInmunidad>=0.6f){//despues de 0.6 seg, vuelve a ser vulnerable\n inmunidad=false;\n tiempoInmunidad=0f;\n }\n if (inmunidadItem){\n tiempoInmunidadItem+=Gdx.graphics.getDeltaTime();\n }\n if(tiempoInmunidadItem>=0.6f){\n inmunidadItem=false;\n tiempoInmunidadItem=0f;\n\n }\n //Verificar colisiones de Item Corazon.\n for (int i=arrCorazonesItem.size-1; i>=0; i--) {\n Corazon cora = arrCorazonesItem.get(i);\n\n if(ramiro.sprite.getBoundingRectangle().overlaps(cora.sprite.getBoundingRectangle())){//Colision de Item\n if(inmunidadItem!=true){// asi se evita bugs.\n\n arrCorazonesItem.removeIndex(i);\n agregarCorazon();\n inmunidadItem=true;\n }\n\n }\n\n }\n //Verifica colisiones Rayo emprendedor\n for (int i=arrRayoEmprendedor.size-1; i>=0; i--) {\n RayoEmprendedor rayo= arrRayoEmprendedor.get(i);\n\n if(ramiro.sprite.getBoundingRectangle().overlaps(rayo.sprite.getBoundingRectangle())){//Colision de Item\n if(inmunidadItem!=true){// asi se evita bugs.\n\n arrRayoEmprendedor.removeIndex(i);\n inmunidadRamiro();\n\n }\n\n }\n\n }\n //coalisiones de las tareas\n for (int i=arrTarea.size-1; i>=0; i--) {\n Tarea tarea = arrTarea.get(i);\n\n if(ramiro.sprite.getBoundingRectangle().overlaps(tarea.sprite.getBoundingRectangle())){//Colision de Item\n if(inmunidadItem!=true){// asi se evita bugs.\n agregarPuntos();\n arrTarea.removeIndex(i);\n inmunidadItem=true;\n }\n\n }\n\n }\n\n\n //Verifica colisiones de camioneta\n if(estadoMapa==EstadoMapa.RURAL || estadoMapa==EstadoMapa.RURALURBANO){\n for (int i=arrEnemigosCamioneta.size-1; i>=0; i--) {\n Camioneta camioneta = arrEnemigosCamioneta.get(i);\n\n // Gdx.app.log(\"Width\",\"width\"+vehiculo.sprite.getBoundingRectangle().width);\n if(ramiro.sprite.getBoundingRectangle().overlaps(camioneta.sprite.getBoundingRectangle())){//Colision de camioneta\n //Ramiro se vuelve inmune 0.6 seg\n\n if(inmunidad!=true){//Si no ha tomado damage, entoces se vuelve inmune, asi se evita bugs.\n if(vidas>0){//Mientras te queden vidas en el arreglo\n quitarCorazones();//Se resta una vida\n }\n inmunidad=true;\n }\n\n }\n\n }\n\n for (int i=arrEnemigoAve.size-1; i>=0; i--) {\n Ave ave = arrEnemigoAve.get(i);\n\n // Gdx.app.log(\"Width\",\"width\"+vehiculo.sprite.getBoundingRectangle().width);\n if(ramiro.sprite.getBoundingRectangle().overlaps(ave.sprite.getBoundingRectangle())){//Colision de camioneta\n //Ramiro se vuelve inmune 0.6 seg\n\n if(inmunidad!=true){//Si no ha tomado damage, entoces se vuelve inmune, asi se evita bugs.\n if(vidas>0){//Mientras te queden vidas en el arreglo\n quitarCorazones();//Se resta una vida\n }\n inmunidad=true;\n }\n\n }\n\n }\n }\n\n //Verifica colisiones de carro de Lujo\n if(estadoMapa==EstadoMapa.URBANO || estadoMapa == EstadoMapa.URBANOUNIVERSIDAD){\n for (int i=arrEnemigosAuto.size-1; i>=0; i--) {\n Auto cocheLujo = arrEnemigosAuto.get(i);\n\n // Gdx.app.log(\"Width\",\"width\"+vehiculo.sprite.getBoundingRectangle().width);\n if(ramiro.sprite.getBoundingRectangle().overlaps(cocheLujo.sprite.getBoundingRectangle())){//Colision de camioneta\n //Ramiro se vuelve inmune 0.6 seg\n\n if(inmunidad!=true){//Si no ha tomado damage, entoces se vuelve inmune, asi se evita bugs.\n if(vidas>0){//Mientras te queden vidas en el arreglo\n quitarCorazones();//Se resta una vida\n }\n inmunidad=true;\n }\n\n }\n\n }\n\n for (int i=arrEnemigoAve.size-1; i>=0; i--) {\n Ave ave = arrEnemigoAve.get(i);\n\n // Gdx.app.log(\"Width\",\"width\"+vehiculo.sprite.getBoundingRectangle().width);\n if(ramiro.sprite.getBoundingRectangle().overlaps(ave.sprite.getBoundingRectangle())){//Colision de camioneta\n //Ramiro se vuelve inmune 0.6 seg\n\n if(inmunidad!=true){//Si no ha tomado damage, entoces se vuelve inmune, asi se evita bugs.\n if(vidas>0){//Mientras te queden vidas en el arreglo\n quitarCorazones();//Se resta una vida\n }\n inmunidad=true;\n }\n\n }\n\n }\n }\n\n //Verifica colisiones de carrito de golf\n if(estadoMapa==EstadoMapa.UNIVERSIDAD){\n for (int i=arrEnemigosCarritoGolf.size-1; i>=0; i--) {\n AutoGolf carritoGolf = arrEnemigosCarritoGolf.get(i);\n\n // Gdx.app.log(\"Width\",\"width\"+vehiculo.sprite.getBoundingRectangle().width);\n if(ramiro.sprite.getBoundingRectangle().overlaps(carritoGolf.sprite.getBoundingRectangle())){//Colision de camioneta\n //Ramiro se vuelve inmune 0.6 seg\n\n if(inmunidad!=true){//Si no ha tomado damage, entoces se vuelve inmune, asi se evita bugs.\n if(vidas>0){//Mientras te queden vidas en el arreglo\n quitarCorazones();//Se resta una vida\n }\n inmunidad=true;\n }\n\n }\n\n }\n }\n\n //Verifica colisiones de las lamparas\n if(estadoMapa==EstadoMapa.SALONES){\n for (int i=arrEnemigoLampara.size-1; i>=0; i--) {\n Lampara lampara = arrEnemigoLampara.get(i);\n\n // Gdx.app.log(\"Width\",\"width\"+vehiculo.sprite.getBoundingRectangle().width);\n if(ramiro.sprite.getBoundingRectangle().overlaps(lampara.sprite.getBoundingRectangle())){//Colision de camioneta\n //Ramiro se vuelve inmune 0.6 seg\n\n if(inmunidad!=true){//Si no ha tomado damage, entoces se vuelve inmune, asi se evita bugs.\n if(vidas>0){//Mientras te queden vidas en el arreglo\n quitarCorazones();//Se resta una vida\n }\n inmunidad=true;\n }\n\n }\n\n }\n //Verifica colisiones de las sillas\n for (int i=arrEnemigoSilla.size-1; i>=0; i--) {\n Silla silla = arrEnemigoSilla.get(i);\n\n // Gdx.app.log(\"Width\",\"width\"+vehiculo.sprite.getBoundingRectangle().width);\n if(ramiro.sprite.getBoundingRectangle().overlaps(silla.sprite.getBoundingRectangle())){//Colision de camioneta\n //Ramiro se vuelve inmune 0.6 seg\n\n if(inmunidad!=true){//Si no ha tomado damage, entoces se vuelve inmune, asi se evita bugs.\n if(vidas>0){//Mientras te queden vidas en el arreglo\n quitarCorazones();//Se resta una vida\n }\n inmunidad=true;\n }\n\n }\n\n }\n }\n\n\n\n\n }",
"@Override\n\tpublic void doCollision(CollisionResult c) {\n\t\t\n\t}",
"int getHitpoints(Unit unit);",
"private void checkCollision() {\n\n for(int b = 1; b < snakeLength; b++){\n if(xLength[b] == xLength[0] && yLength[b] == yLength[0]) {\n right = false;\n left = false;\n down = false;\n up = false;\n gameOver = true;\n }\n }\n\n if(right){\n if(xLength[0] >= 825) {\n gameOver = true;\n }\n }\n if(left){\n if(xLength[0] <= 50) {\n gameOver = true;\n }\n }\n if(down){\n if(yLength[0] >= 600) {\n gameOver = true;\n }\n }\n if(up){\n if(yLength[0] <= 100) {\n gameOver = true;\n }\n }\n }",
"public byte collide(byte inBoundState){\n byte[] poss = collisions[(int)inBoundState].resultingState;\n if(poss.length==1){\n return poss[0];\n }\n else{\n int ndx = rand.nextInt(poss.length - 1);\n return poss[ndx];\n }\n }",
"public boolean collides(Ball ball) //collision detection\n {\n if( ( position.y+height ) > ball.getPosY()-8 )\n {\n if( position.y+10 < ( ball.getPosY()-8 ) )\n {\n if(\n !((\n (ball.getPosX()-12 < ( position.x)+width ) &&\n (ball.getPosX()+12 < (position.x+width) ) &&\n (ball.getPosX()-12 < position.x ) &&\n (ball.getPosX()+12 < position.x )\n )||\n (\n (ball.getPosX()-12 > ( position.x+width )) &&\n (ball.getPosX()+12 > (position.x+width) ) &&\n (ball.getPosX()-12 > ( position.x )) &&\n (ball.getPosX()+12 > position.x )\n ))\n ){return true;}\n }\n\n }\n\n return false;\n\n /*\n if(position.y > (ball.getPosY() - 77 ) ) //should be ball.getheight\n {\n\n return Intersector.overlaps(ball.getCircle(), rect);\n }\n */\n\n }",
"public static void collide (Planet p1, Planet p2, double dist, Vector vec){\n \n double cosVal = vec.xComponent/dist;\n double sinVal = vec.yComponent/dist;\n \n double P1CalcVelX = (2*p2.mass/(p1.mass+p2.mass)) * p2.xVel;\n double P1CalcVelY = (2*p2.mass/(p1.mass+p2.mass)) * p2.yVel;\n \n double xVelChangeP1 = Math.abs(cosVal * P1CalcVelX) + Math.abs(cosVal * P1CalcVelY);\n double yVelChangeP1 = Math.abs(sinVal * P1CalcVelX) + Math.abs(sinVal * P1CalcVelY);\n \n \n if (p1.xCoor < p2.xCoor){\n xVelChangeP1 = -xVelChangeP1;\n }\n \n if (p1.yCoor < p2.yCoor){\n yVelChangeP1 = -yVelChangeP1; \n }\n \n double P2CalcVelX = (2*p1.mass/(p1.mass+p2.mass)) * p1.xVel;\n double P2CalcVelY = (2*p1.mass/(p1.mass+p2.mass)) * p1.yVel;\n \n double xVelChangeP2 = Math.abs(cosVal * P2CalcVelX) + Math.abs(cosVal * P2CalcVelY);\n double yVelChangeP2 = Math.abs(sinVal * P2CalcVelX) + Math.abs(sinVal * P2CalcVelY);\n\n if (p2.xCoor < p1.xCoor){\n xVelChangeP2 = -xVelChangeP2;\n }\n\n if (p2.yCoor < p1.yCoor){\n yVelChangeP2 = -yVelChangeP2; \n }\n \n p1.changeVel(xVelChangeP1, yVelChangeP1);\n p2.changeVel(xVelChangeP2, yVelChangeP2);\n\n }",
"@Override\n ArrayList<Hit> object_hit_detec(Point S_t, Vector c_t, Intersection intersection) {\n ArrayList<Hit> hit_times = new ArrayList<>();\n double A = Math.pow(c_t.get_X(), 2) + Math.pow(c_t.get_Y(), 2) + Math.pow(c_t.get_Z(), 2);\n double B = c_t.get_X() * S_t.get_X() + c_t.get_Y() * S_t.get_Y() + c_t.get_Z() * S_t.get_Z();\n double C = Math.pow(S_t.get_X(), 2) + Math.pow(S_t.get_Y(), 2) + Math.pow(S_t.get_Z(), 2) - 1;\n double Discriminant = Math.pow(B, 2) - A * C;\n// System.out.println(A);\n// System.out.println(B);\n// System.out.println(C);\n //double t_hit = 0;\n if (Discriminant < 0) {\n //System.out.println(\"Geen hitpunten\");\n } else if (Discriminant == 0) {\n double t_hit = (-B) / A;\n Hit hit = new Hit(t_hit, false);\n //System.out.println(\"hit\");\n } else {\n double t_hit1 = (-B) / A + Math.sqrt(Discriminant) / A;\n double t_hit2 = (-B) / A - Math.sqrt(Discriminant) / A;\n //Find lowest hit time (for entering hit time)\n double t_in = Math.min(t_hit1, t_hit2);\n double t_out = Math.max(t_hit1, t_hit2);\n Hit hit_in = new Hit(t_in, true);\n hit_times.add(hit_in);\n Hit hit_out = new Hit(t_out, false);\n hit_times.add(hit_out);\n //t_hit = Math.min(t_hit1, t_hit2);\n //System.out.println(\"hit\");\n }\n return hit_times;\n }",
"public double[] getPositionCollisionBoundary(){\n\t\tif (!Helper.isValidDouble(this.getTimeCollisionBoundary()) || this.superWorld == null) return null;\n\t\tdouble[] pos = new double[2];\n\t\tpos[0] = this.getPosition()[0] + (this.getVelocity()[0] * this.getTimeCollisionBoundary());\n\t\tpos[1] = this.getPosition()[1] + (this.getVelocity()[1] * this.getTimeCollisionBoundary());\n\t\t\n\t\tif (pos[0] + this.getRadius() >= this.superWorld.getWorldHeight()) pos[0]+= this.getRadius();\n\t\telse if (pos[0] - this.getRadius() >= this.superWorld.getWorldHeight()) pos[0]-= this.getRadius();\n\t\telse if (pos[1] + this.getRadius() >= this.superWorld.getWorldHeight()) pos[1]+= this.getRadius();\n\t\telse\tpos[1] -= this.getRadius();\n\t\t\t\n\t\t\n\t\treturn pos;\n\t}",
"@Test\n public void intersectsWithAutoCarPolygon() {\n // creating the needed movement vector\n radar.loop();\n radar.loop();\n List<WorldObject> list = radar.getRelevantObjectsForAEB();\n assertTrue(list.stream().anyMatch(t -> t.getId().equals(\"roadsign_speed_40_1\")));\n radar.loop();\n list = radar.getRelevantObjectsForAEB();\n assertEquals(0, list.size());\n }",
"@Test\n\tpublic void testC() {\n\t\tActorWorld world = new ActorWorld();\n\t\tworld.add(new Location(0, 1), alice);\n\t\tint olddir = alice.getDirection();\n\t\talice.act();\n\t\tassertEquals((olddir + Location.RIGHT) % 360, alice.getDirection());\n\t}",
"public void checkCollision(Actor a) {\r\n\t\tif (a.equals(this))\r\n\t\t\treturn;\r\n\r\n\t\tPolygon otherPoly = a.basePoly;\r\n\t\tint distance = 1;\r\n\r\n\t\tif (otherPoly != null && basePoly != null) {\r\n\t\t\t// Calculate distance using the formula x^2 + y^2 = z^2\r\n\t\t\tint x = otherPoly.getBounds().x - basePoly.getBounds().x;\r\n\t\t\tint y = otherPoly.getBounds().y - basePoly.getBounds().y;\r\n\t\t\tdistance = (int) Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));\r\n\t\t}\r\n\t\tif (distance > 150 || a instanceof Particle)\r\n\t\t\treturn;\r\n\r\n\t\tfor (int i = 0; i < basePoly.npoints; i++) {\r\n\t\t\tif (otherPoly.contains(new Point(basePoly.xpoints[i],\r\n\t\t\t\t\tbasePoly.ypoints[i]))) {\r\n\t\t\t\tonCollision(a);\r\n\t\t\t\ta.onCollision(a);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private boolean colisionPalas() {\r\n\t\treturn game.racketIzq.getBounds().intersects(getBounds())\r\n\t\t\t\t|| game.racketDer.getBounds().intersects(getBounds());\r\n\t}",
"private void checkCollisions() {\n int x1 = 0;\n int x2 = 0;\n for(CollisionBox e : cols) {\n for(CollisionBox f : cols) {\n if(\n x2 > x1 && // Skip checking collisions twice\n// (\n// e != f || // The entities are not the same entity\n// ( // One of the entities's parent object is not the bullet of the other's (aka ignore player bullets colliding with player)\n// // And also check they're not both from the same entity (two bullets colliding both going in the same direction from the same entity)\n// f.getParent() != null && // The first entity has a parent and\n// e.getParent() != null && // The second entity has a parent and\n// f.getParent().getParent() != null && // The first entity's parent has a parent and\n// e.getParent().getParent() != null && // The second entity's parent has a parent and\n// f.getParent().getParent() != e.getParent() && // The first entity's parent's parent is not the second entity's parent\n// e.getParent().getParent() != f.getParent() &&// The second entity's parent's parent is not the first entity's parent\n// f.getParent().getParent() != e.getParent().getParent() // The first and second entities' parents' parents are not the same\n// )\n// ) &&\n SAT.isColliding(e, f) // The entities are colliding\n ) { // Collide the Entities\n Entity ep = e.getParent();\n Entity fp = f.getParent();\n ep.collide(fp);\n fp.collide(ep);\n }\n x2++;\n }\n x1++;\n x2 = 0;\n }\n }",
"@Test\n\tpublic void testLoneliness2() {\n\t\t// | xx|\n\t\t// | |\n\t\tWorld world = loadWorld(\"pair.txt\");\n\t\t\n\t\tassertThat(physics.advance(world, 1, 1), is(false));\n\t}",
"public double getTimeFirstCollisionBoundary() {\n\t\tif (getWorld() == null) return Double.POSITIVE_INFINITY;\n\t\tdouble xTime = Double.POSITIVE_INFINITY;\n\t\tdouble yTime = Double.POSITIVE_INFINITY;\n\t\t\n\t\tif (this.getXVelocity() > 0)\n\t\t\txTime = (getWorld().getWidth() - getXCoordinate() - getRadius()) / getXVelocity();\n\t\tif (this.getXVelocity() < 0)\n\t\t\txTime = - ( getXCoordinate() - getRadius()) / getXVelocity();\n\t\tif (this.getXVelocity() == 0)\n\t\t\txTime = Double.POSITIVE_INFINITY;\n\t\t\n\t\tif (this.getYVelocity() > 0)\n\t\t\tyTime = (getWorld().getHeight() - getYCoordinate() -getRadius()) / getYVelocity();\n\t\tif (this.getYVelocity() < 0)\n\t\t\tyTime = - ( getYCoordinate() - getRadius()) / getYVelocity();\n\t\tif (this.getYVelocity() == 0)\n\t\t\tyTime = Double.POSITIVE_INFINITY;\n\t\t\n\t\treturn Math.min(xTime, yTime);\t\n\t}",
"@Override\n\tpublic void intersect(Ray ray, IntersectResult result) {\n\t\t\t\tdouble tmin,tmax;\n\t\t\t\tdouble xmin, xmax, ymin, ymax, zmin, zmax;\n\t\t\t\t//find which face to cross\n\n\t\t\t\tif(ray.viewDirection.x>0){\n\t\t\t\t\txmin=(min.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t\txmax=(max.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t}else{\n\t\t\t\t\txmin=(max.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t\txmax=(min.x-ray.eyePoint.x)/ray.viewDirection.x;\n\t\t\t\t}\n\t\t\t\tif(ray.viewDirection.y>0){\n\t\t\t\t\tymin=(min.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t\tymax=(max.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t}else{\n\t\t\t\t\tymin=(max.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t\tymax=(min.y-ray.eyePoint.y)/ray.viewDirection.y;\n\t\t\t\t}\n\t\t\t\tif(ray.viewDirection.z>0){\n\t\t\t\t\tzmin=(min.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t\tzmax=(max.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t}else{\n\t\t\t\t\tzmin=(max.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t\tzmax=(min.z-ray.eyePoint.z)/ray.viewDirection.z;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttmin=Double.max(xmin, ymin);\n\t\t\t\ttmin=Double.max(tmin, zmin);\n\t\t\t\ttmax=Double.min(xmax, ymax);\n\t\t\t\ttmax=Double.min(tmax, zmax);\n\t\t\t\t\n\t\t\t\t \n\t\t\t\tif(tmin<tmax && tmin>0){\n\t\t\t\t\t\n\t\t\t\t\tresult.material=material;\n\t\t\t\t\tresult.t=tmin;\n\t\t\t\t\tPoint3d p=new Point3d(ray.viewDirection);\n\t\t\t\t\tp.scale(tmin);\n\t\t\t\t\tp.add(ray.eyePoint);\n\t\t\t\t\tresult.p=p;\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tfinal double epsilon=1e-9;\n\t\t\t\t\t// find face and set the normal\n\t\t\t\t\tif(Math.abs(p.x-min.x)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(-1,0,0);\n\t\t\t\t\t}else if(Math.abs(p.x-max.x)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(1,0,0);\n\t\t\t\t\t}else if(Math.abs(p.y-min.y)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,-1,0);\n\t\t\t\t\t}else if(Math.abs(p.y-max.y)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,1,0);\n\t\t\t\t\t}else if(Math.abs(p.z-min.z)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,0,-1);\n\t\t\t\t\t}else if(Math.abs(p.z-max.z)<epsilon){\n\t\t\t\t\t\tresult.n=new Vector3d(0,0,1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t}",
"private void decorateMountainsFloat(int xStart, int xLength, int floor, boolean enemyAddedBefore, ArrayList finalListElements, ArrayList states)\r\n\t {\n\t if (floor < 1)\r\n\t \treturn;\r\n\r\n\t // boolean coins = random.nextInt(3) == 0;\r\n\t boolean rocks = true;\r\n\r\n\t //add an enemy line above the box\r\n\t Random r = new Random();\r\n\t boolean enemyAdded=addEnemyLine(xStart + 1, xLength - 1, floor - 1);\r\n\r\n\t int s = 1;\r\n\t int e = 1;\r\n\r\n\t if(enemyAdded==false && enemyAddedBefore==false)\r\n\t {\r\n\t if (floor - 2 > 0){\r\n\t if ((xLength - e) - (xStart + s) > 0){\r\n\t for(int x = xStart + s; x < xLength- e; x++){\r\n\t \tboolean flag=true;\r\n\t \tfor(int i=0;i<states.size();i++)\r\n\t \t{\r\n\t \t\tElements element=(Elements)finalListElements.get(i);\r\n\t \t\t\tBlockNode state=(BlockNode)states.get(i);\r\n\t \t\t\t\r\n\t \t\t\tint xElement = (int)(initialStraight+state.getX());\r\n\t \t int floorC= (int)state.getY()+1;\r\n\t \t int widthElement=element.getWidth();\r\n\t \t int heigthElement=element.getHeigth()+2;\r\n\t \t \r\n\t \t int widthElementNext=1;\r\n\t \t int heigthElementNext=0;\r\n\t \t \r\n\t \t if(x+(widthElementNext-1)>=xElement && x<xElement+widthElement && (floor-1)-heigthElementNext<=floorC && (floor-1)>= floorC-heigthElement )\r\n\t \t {\r\n\t \t \tflag=false;\r\n\t \t \tbreak;\r\n\t \t }\r\n\t \t \t \t \t\t \t \r\n\t \t } \r\n\t \tif(flag==true)\r\n\t \t{\r\n\t \t\tsetBlock(x, floor - 1, COIN);\r\n\t \t}\r\n\t \r\n\t //COINS++;\r\n\t }\r\n\t }\r\n\t }\r\n\t }\r\n\r\n\t s = random.nextInt(4);\r\n\t e = random.nextInt(4);\r\n\t \r\n\t //this fills the set of blocks and the hidden objects inside them\r\n\t /*\r\n\t if (floor - 4 > 0)\r\n\t {\r\n\t if ((xLength - 1 - e) - (xStart + 1 + s) > 2)\r\n\t {\r\n\t for (int x = xStart + 1 + s; x < xLength - 1 - e; x++)\r\n\t {\r\n\t if (rocks)\r\n\t {\r\n\t if (x != xStart + 1 && x != xLength - 2 && random.nextInt(3) == 0)\r\n\t {\r\n\t if (random.nextInt(4) == 0)\r\n\t {\r\n\t setBlock(x, floor - 4, BLOCK_POWERUP);\r\n\t //BLOCKS_POWER++;\r\n\t }\r\n\t else\r\n\t {\t//the fills a block with a hidden coin\r\n\t setBlock(x, floor - 4, BLOCK_COIN);\r\n\t //BLOCKS_COINS++;\r\n\t }\r\n\t }\r\n\t else if (random.nextInt(4) == 0)\r\n\t {\r\n\t if (random.nextInt(4) == 0)\r\n\t {\r\n\t setBlock(x, floor - 4, (byte) (2 + 1 * 16));\r\n\t }\r\n\t else\r\n\t {\r\n\t setBlock(x, floor - 4, (byte) (1 + 1 * 16));\r\n\t }\r\n\t }\r\n\t else\r\n\t {\r\n\t setBlock(x, floor - 4, BLOCK_EMPTY);\r\n\t //BLOCKS_EMPTY++;\r\n\t }\r\n\t }\r\n\t }\r\n\t //additionElementToList(\"Block\", 1,(xLength - 1 - e)-(xStart + 1 + s));\r\n\t }\r\n\t \r\n\t }*/\r\n\t }",
"public void act() \n {\n age += 1;\n \n RandomTerrain world = (RandomTerrain)getWorld();\n \n int centreX = getX();\n \n int leftX = centreX - WHEEL_BASE;\n int rightX = centreX + WHEEL_BASE;\n \n int leftY = world.getTerrainHeight(leftX) - WHEEL_RADIUS;\n int rightY = world.getTerrainHeight(rightX) - WHEEL_RADIUS;\n \n double angle = Math.atan2(rightY - leftY, WHEEL_BASE * 2);\n \n /*\n {\n int midY = (leftY + rightY) / 2;\n leftY = midY + (int)(-WHEEL_BASE * Math.sin(angle));\n rightY = midY + (int)(WHEEL_BASE * Math.sin(angle));\n }\n */\n \n exactX += velocity * Math.cos(Math.max(-Math.PI/4, Math.min(Math.PI/4, angle)));\n \n setLocation((int)exactX, (leftY + rightY) / 2);\n \n GreenfootImage img = new GreenfootImage(WHEEL_BASE * 3, WHEEL_BASE * 3);\n img.setColor(java.awt.Color.RED);\n \n int leftWheelX = (img.getWidth()/2) - WHEEL_BASE;\n int rightWheelX = (img.getWidth()/2) + WHEEL_BASE;\n int leftWheelY = leftY - getY() + (img.getHeight()/2);\n int rightWheelY = rightY - getY() + (img.getHeight()/2);\n \n drawWheel(img, leftWheelX, leftWheelY);\n drawWheel(img, rightWheelX, rightWheelY);\n \n int perpX = (int)(WHEEL_BASE * Math.cos(angle - Math.PI/2));\n int perpY = (int)(WHEEL_BASE * Math.sin(angle - Math.PI/2));\n \n int[] xs = new int[] {leftWheelX, leftWheelX + perpX, rightWheelX + perpX, rightWheelX};\n int[] ys = new int[] {leftWheelY, leftWheelY + perpY, rightWheelY + perpY, rightWheelY};\n \n img.fillPolygon(xs, ys, 4);\n \n setImage(img);\n \n if ((exactX < 0 && velocity < 0 )|| (exactX >= getWorld().getWidth() && velocity > 0))\n {\n getWorld().removeObject(this);\n }\n }",
"@Override\n public boolean isCollided(gameObject obj){\n return Rect.intersects(obj.getastRect(), getRectplayer1())||\n Rect.intersects(obj.getastRect(), getRectplayer2()) ||\n Rect.intersects(obj.getastRect(), getRectplayer3()) ||\n Rect.intersects(obj.getastRect(), getRectplayer4());\n }",
"private void checkRep() {\n for (Ball ball : balls) {\n assert ball.getPosition().d1 >= 0\n && ball.getPosition().d1 <= WIDTH - 1;\n assert ball.getPosition().d2 >= 0\n && ball.getPosition().d2 <= HEIGHT - 1;\n }\n for (Gadget gadget : gadgets) {\n assert gadget.getPosition().d1 >= 0\n && gadget.getPosition().d1 <= WIDTH - 1;\n assert gadget.getPosition().d2 >= 0\n && gadget.getPosition().d2 <= HEIGHT - 1;\n }\n\n assert GRAVITY > 0 && MU2 > 0 && MU > 0;\n }",
"public void collideBoundary(){\n\t \tint bulletBouncer = 0;\n\t \tif ((this.getPosition()[0]-(this.getRadius()) <= 0.0 || (this.getPosition()[0]+(this.getRadius()) >= this.superWorld.getWorldWidth()))){\n\t \t\tif (this instanceof Bullet){\n\t \t\t\tbulletBouncer++;\n\t \t}\n\t \t\tthis.velocity.setXYVelocity( this.velocity.getVelocity()[0] * -1);\n\t \t}\n\t \tif ((this.getPosition()[1]-(this.getRadius()) <= 0.0 || (this.getPosition()[1]+(this.getRadius()) >= this.superWorld.getWorldHeight()))){\n\t \t\tif (this instanceof Bullet){\n\t \t\tbulletBouncer++;\n\t \t}\n\t \t\tthis.velocity.setYVelocity(this.velocity.getVelocity()[1] * -1);\n\t \t} \t\n\t \tif (this instanceof Bullet){\n\t \tBullet bullet = (Bullet) this;\n\t \tfor (int i = 0; i < bulletBouncer; i++){\n\t \t\tif (!bullet.isTerminated())\n\t \t\tbullet.bouncesCounter();\n\t \t}\n\t \t}\n\t }",
"public void updateSensors() {\n if(bLCollide && bRCollide) {\n grounded = true;\n }\n else if(bLCollide || bRCollide) {\n grounded = true;\n }\n else if(!bLCollide && !bRCollide) {\n grounded = false;\n }\n if(!collideWithSlopeL && !collideWithSlopeR) {\n bottomLeft = new Rectangle(xDrawCenterPlayer-36,ySpriteCenterPlayer,4,80); \n bottomRight = new Rectangle(xDrawCenterPlayer+36,ySpriteCenterPlayer,4,80); \n middleLeft = new Rectangle(xDrawCenterPlayer-40,ySpriteCenterPlayer+28,40,4);\n middleRight = new Rectangle(xDrawCenterPlayer+4,ySpriteCenterPlayer+28,40,4); \n }\n else if(collideWithSlopeL && !collideWithSlopeR) {\n bottomLeft = new Rectangle(xDrawCenterPlayer-36,ySpriteCenterPlayer,4,144); \n bottomRight = new Rectangle(xDrawCenterPlayer+36,ySpriteCenterPlayer,4,80); \n middleLeft = new Rectangle(xDrawCenterPlayer-40,ySpriteCenterPlayer-4,40,4);\n middleRight = new Rectangle(xDrawCenterPlayer+4,ySpriteCenterPlayer-4,40,4);\n }\n else if(!collideWithSlopeL && collideWithSlopeR) {\n bottomLeft = new Rectangle(xDrawCenterPlayer-36,ySpriteCenterPlayer,4,80); \n bottomRight = new Rectangle(xDrawCenterPlayer+36,ySpriteCenterPlayer,4,144);\n middleLeft = new Rectangle(xDrawCenterPlayer-40,ySpriteCenterPlayer-4,40,4);\n middleRight = new Rectangle(xDrawCenterPlayer+4,ySpriteCenterPlayer-4,40,4); \n }\n else if(collideWithSlopeL && collideWithSlopeR) {\n bottomLeft = new Rectangle(xDrawCenterPlayer-36,ySpriteCenterPlayer,4,144); \n bottomRight = new Rectangle(xDrawCenterPlayer+36,ySpriteCenterPlayer,4,144); \n middleLeft = new Rectangle(xDrawCenterPlayer-40,ySpriteCenterPlayer-4,40,4);\n middleRight = new Rectangle(xDrawCenterPlayer+4,ySpriteCenterPlayer-4,40,4);\n }\n if(!grounded) {/*Added this to reset the height of the player sensors if he jumps off a slope (ground == true wouldn't trigger \n early) making the player stop earlier then he should*/\n bottomLeft = new Rectangle(xDrawCenterPlayer-36,ySpriteCenterPlayer,4,80); \n bottomRight = new Rectangle(xDrawCenterPlayer+36,ySpriteCenterPlayer,4,80); \n middleLeft = new Rectangle(xDrawCenterPlayer-40,ySpriteCenterPlayer-4,40,4);\n middleRight = new Rectangle(xDrawCenterPlayer+4,ySpriteCenterPlayer-4,40,4); \n }\n topLeft = new Rectangle(xDrawCenterPlayer-36,ySpriteCenterPlayer-84,4,80);\n topRight = new Rectangle(xDrawCenterPlayer+36,ySpriteCenterPlayer-84,4,80); \n //Gets the correct size of interactBox\n if(jumpState != JumpState.STATE_NOJUMP || duckState != DuckState.STATE_NODUCK) {\n intersectBox = new Rectangle(xDrawCenterPlayer-30, ySpriteCenterPlayer-20, 60, 80);\n }\n else {\n intersectBox = new Rectangle(xDrawCenterPlayer-29, ySpriteCenterPlayer-70, 60, 140);\n }\n }",
"DAABBC getAABB ();",
"public void checkwarp(){\n\t\tif(pacman.ypos > (colours[0].length*interval)-2){\r\n\t\t\tpacman.ypos = interval+2;\r\n\t\t}\r\n\t\telse if(pacman.xpos > (colours.length*interval)-2){\r\n\t\t\tpacman.xpos = interval+2;\r\n\t\t}\r\n\t\telse if(pacman.ypos < interval+2){\r\n\t\t\tpacman.ypos = (colours[0].length*interval)-2;\r\n\t\t}\r\n\t\telse if(pacman.xpos < interval+2){\r\n\t\t\tpacman.xpos = (colours.length*interval)-2;\r\n\t\t}\r\n\t\t\r\n\t}",
"@Override\n\tpublic void collision(SimpleObject s) {\n\t\t\n\t}",
"public abstract void collided(Collision c);"
] |
[
"0.66035914",
"0.6322255",
"0.62664837",
"0.6139862",
"0.61270356",
"0.6049002",
"0.6034974",
"0.6009953",
"0.5968733",
"0.5962583",
"0.5910753",
"0.58421886",
"0.58375347",
"0.5832002",
"0.58120483",
"0.58052444",
"0.58031434",
"0.579037",
"0.57877696",
"0.5787758",
"0.57819295",
"0.57769126",
"0.5775656",
"0.5760256",
"0.57598436",
"0.5752063",
"0.5738205",
"0.5728294",
"0.57265127",
"0.57172143",
"0.5706998",
"0.56865543",
"0.5667335",
"0.56576276",
"0.5653342",
"0.5641703",
"0.5633616",
"0.5624697",
"0.5618664",
"0.5617209",
"0.5615678",
"0.5613462",
"0.561195",
"0.5611267",
"0.5611267",
"0.5611217",
"0.5604471",
"0.5598176",
"0.55871034",
"0.5581491",
"0.5575405",
"0.5560172",
"0.5552147",
"0.5547864",
"0.5537812",
"0.5529388",
"0.5524586",
"0.55218583",
"0.55175376",
"0.5517444",
"0.5517062",
"0.5511243",
"0.55051017",
"0.54954547",
"0.54943407",
"0.54933333",
"0.5492223",
"0.5491137",
"0.5490288",
"0.5487592",
"0.5485453",
"0.5471098",
"0.5468758",
"0.54656744",
"0.5459479",
"0.5458449",
"0.5431004",
"0.5430404",
"0.5429066",
"0.5426984",
"0.54269236",
"0.5421251",
"0.5419014",
"0.54172224",
"0.5417132",
"0.5416647",
"0.54108644",
"0.54083675",
"0.5407475",
"0.5406799",
"0.5403321",
"0.54027706",
"0.53946006",
"0.5392076",
"0.53852344",
"0.5381147",
"0.5380687",
"0.5380516",
"0.53790724",
"0.5361211",
"0.5356215"
] |
0.0
|
-1
|
Use Node.newBuilder() to construct.
|
private Node(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public Node() {}",
"public Node() {}",
"public Node() {}",
"public Node() {}",
"public Node(){}",
"private Node() {\n\n }",
"public Node(){\n\n\t\t}",
"public Node() {\r\n\t}",
"public Node() {\r\n\t}",
"public Node() {\n\t}",
"public Node() {\n }",
"public Node() {\n\n }",
"public Node(){\n }",
"public Node() {\n this.nodeMap = new HashMap<>();\n }",
"private NodeId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public Node(){\n this(9);\n }",
"public CassandraNode() {\r\n\t\tthis(null, 0);\r\n\t}",
"public NodeInfo() {\n }",
"protected GraphNode() {\n }",
"protected GraphNode() {\n }",
"public Node() {\n name = null;\n missionDescription = null;\n roles = null;\n stateValueBindings = null;\n nodeRuntime = null;\n isNetworkSingleton = false;\n }",
"public Node()\r\n {\r\n initialize(null);\r\n lbl = id;\r\n }",
"public Node()\n {\n \n name = new String();\n type = new String(\"internal\"); //Initial Node type set to internal\n length = new Double(0); //Set initial branch length to zero\n children = new ArrayList<Node>();\n level = 0;\n treesize = new Double(0);\n depth = 0;\n newicklength = 0;\n startycoord = -1;\n startxcoord = -1;\n endxcoord = -1;\n endycoord = -1;\n standardy = -1;\n selected = false;\n xmultiplier = 0;\n ymultiplier = 0;\n }",
"TNode createTNode();",
"public Node(Node<D> n) {\n\t\tdata = n.getData();\n\t\tnext = n.getNext();\n\t}",
"public Builder() {\n this(Graphs.<N, E>createUndirected());\n }",
"public abstract GraphNode<N, E> createNode(N value);",
"public void create(NetworkNode networkNode);",
"private Node(K keyPortion, V valuePortion)\n {\n this(keyPortion, valuePortion, null);\n }",
"public static NodeConfigBuilder builder() {\n\t\treturn new NodeConfigBuilder();\n\t}",
"public Node()\n\t{\n\t\toriginalValue = sumValue = 0;\n\t\tparent = -1;\n\t}",
"public Node() {\n portnum = 0;\n senders = new Hashtable<String, Sender>();\n }",
"public Node()\r\n\t{\r\n\t\tnext = null;\r\n\t\tinfo = 0;\r\n\t}",
"public Node() {\r\n\t\tthis.input = null;\r\n\t\tthis.inputWeights = null;\r\n\t}",
"public entities.Torrent.NodeId.Builder getNodeBuilder() {\n\n onChanged();\n return getNodeFieldBuilder().getBuilder();\n }",
"public entities.Torrent.NodeId.Builder getNodeBuilder() {\n\n onChanged();\n return getNodeFieldBuilder().getBuilder();\n }",
"public Node()\n {\n this.name=\"/\";\n this.type=0;\n this.stage=0;\n children=new ArrayList<Node>();\n }",
"public Node<E> createNode(E e) {\n Node<E> nodeFromCache = getNodeFromCache();\n if (nodeFromCache == null) {\n return super.createNode(e);\n }\n nodeFromCache.setValue(e);\n return nodeFromCache;\n }",
"private BTNode createNode() {\n BTNode btNode;\n btNode = new <DataPair>BTNode ();\n btNode.mIsLeaf = true;\n btNode.mCurrentKeyNum = 0;\n return btNode;\n }",
"private FeatureNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public Jode(Node n) {\n this.node = n;\n this.v = node.getTextContent();\n this.n = node.getNodeName();\n }",
"NodeChain createNodeChain();",
"public TrieNode() {\n \n }",
"Node(int value, String name) {\n this.value = value;\n this.name = name;\n }",
"private Graph(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public Node() \r\n\t{\r\n\t\tincludedNode = new ArrayList<Node>();\r\n\t\tin = false; \r\n\t\tout = false;\r\n\t}",
"public Node(String name) {\n this.name = name;\n }",
"public Node(T data) {this.data = data;}",
"public Node(String n) {\n\t\tname = n;\n\t\t//connections = new ArrayList<Node>();\n\t\t//connections = new HashSet<String>();\n\t\t\n\t\t//checkRep();\n\t}",
"Node(){\n\t\t\tthis.array = new Node[256];\n\t\t\tthis.val = null;\n\t\t}",
"public BinaryNode() {\n\t\tthis(null);\t\t\t// Call next constructor\n\t}",
"public VISNode() {\n this.model = new VISNodeModel();\n }",
"private NodeSearchResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public NetworkNode(String id, String title, String label, String name, String type, String participant) {\n super();\n this.id = id;\n this.title = title;\n this.label = label;\n this.name = name;\n this.group = type;\n this.type = type;\n this.participant = participant;\n }",
"public TrieNode(){}",
"public Node(T value) {\n this.value = value;\n }",
"public NetworkNode(Node treeNode) {\n height = treeNode.getHeight();\n label = treeNode.getID();\n metaDataString = treeNode.metaDataString;\n for (String metaDataKey: treeNode.getMetaDataNames()) {\n Object metaDataValue = treeNode.getMetaData(metaDataKey);\n metaData.put(metaDataKey, metaDataValue);\n }\n }",
"public NodeNetwork() {\n\t\tnodes = new ArrayList<>();\n\t\tconnections = new ArrayList<>();\n\t}",
"public Node(State state) {\r\n\t\t\tthis.state=state;\r\n\t\t}",
"public Node(double x, double y, NodeType type) {\n this(new Coordinates(x, y), type);\n }",
"public Node(SimacogoBoard board) {\n nodeType = MAXNODE;\n bestScore = Integer.MIN_VALUE;\n limit = board.getAvailableSlotArray();\n parent = null;\n depth = 0;\n }",
"void createNode(NodeKey key);",
"public Node(IField field) {\n\t\tthis.x = field.getX();\n\t\tthis.y = field.getY();\n\n\t\tthis.growRate = field.getGrowingRate();\n\t\tthis.ressourceValue = field.getFood();\n\t\t\n\t\tthis.neighbors = new ArrayList<Edge>();\n\t}",
"public static Node constructTree() {\n\n Node node2 = new Node(2, null, null);\n Node node8 = new Node(8, null, null);\n Node node12 = new Node(12, null, null);\n Node node17 = new Node(17, null, null);\n\n Node node6 = new Node(6, node2, node8);\n Node node15 = new Node(15, node12, node17);\n\n //Root Node\n Node node10 = new Node(10, node6, node15);\n\n return node10;\n }",
"protected AST_Node() {\r\n\t}",
"public Node(String name, String state) {\n\t\tthis.name = name;\n\t\tthis.state = state;\n\t\tID = (name + state + lon + \"\" + lat).hashCode();\n\n\t\tedgeList = new ArrayList<Edge>();\n\t}",
"private ClusterNode convert(Member member) {\n return ClusterNode.builder()\n .id(member.getUuid())\n .address(member.getAddress().toString())\n .localAddress(member.getSocketAddress().toString())\n .build();\n }",
"public Node(String data) {\n this.data = data;\n status = Visited.NEW;\n neighbors = new ArrayList();\n }",
"public BoxNode() {\n initProperties();\n }",
"Node(Team v){\r\n value = v;\r\n }",
"Node(String d) {\n data = d;\n }",
"public TrieNode() {\n this.children = new TrieNode[256];\n this.code = -1;\n }",
"private Node createNode(EventPair ep, Color c, Node parent) {\n Node node = new Node();\n node.ID = ep.ID;\n node.count = ep.count;\n node.color = c;\n node.left = createNullLeaf(node);\n node.right = createNullLeaf(node);\n node.parent = parent;\n return node;\n }",
"public FlowNodeInstance() {\n\t}",
"public Node(T value) {\n this.value = value;\n this.height = 0;\n this.leftChild = null;\n this.rightChild = null;\n this.parent = null;\n }",
"public Node(Node parentNode, Position position, int g, int h) {\n this.parentNode = parentNode;\n this.position = position;\n this.g = g;\n this.h = h;\n this.f = g + h;\n\n }",
"public MapNode()\n\t{\n\t\t// Call alternative constructor\n\t\tthis((AbstractNode)null);\n\t}",
"public Node(Integer number){\n this.number = number;\n this.edges = new ArrayList<Edge>();\n }",
"public Node(K key, V value) {// this is the constructor of a new Node\n\t\t\tmKey = key;// it takes as an arguments a key\n\t\t\tmValue = value;// and a value\n\t\t\tmParent = mSentinel;// and makes a nodw with no parent\n\t\t\tmLeft = mSentinel;// or children\n\t\t\tmright = mSentinel;// that stores the key and the value\n\t\t}",
"private Node(int c) {\n this.childNo = c; // Construct a node with c children.\n }",
"public Node(T value) {\n\t\tthis.value = value;\n\t}",
"public Node(T t, Node n) {\r\n \r\n element = t;\r\n next = n;\r\n }",
"private Messages.NetworkNode.Builder createSelfNetworkNodeBuilder() throws SocketException {\n final Messages.NetworkNode.Builder selfNodeBuilder = Messages.NetworkNode.newBuilder();\n selfNodeBuilder.setId(ByteString.copyFrom(selfNodeProvider.getSelf().getId()));\n final List<Messages.Address> selfAddresses = mapModelAddressToWireAddress(selfNodeProvider.getSelf().getAddresses());\n selfNodeBuilder.addAllAddresses(selfAddresses);\n return selfNodeBuilder;\n }",
"private Node(T value, Node<T> left, Node<T> right, Node<T> previous) {\n\t\t\tthis.value = value;\n\t\t\tthis.left = left;\n\t\t\tthis.right = right;\n\t\t\tthis.previous = previous;\n\t\t}",
"public Node(String name, String path) {\n this.name = name;\n this.path = path;\n }",
"public Node(final String id) {\n super();\n this.id = id;\n }",
"public Node(T data) {\n this(data, null, null, null);\n }",
"private Node(T value) {\n\t\t\tthis.value = value;\n\t\t}",
"void nodeCreate( long id );",
"public Node() {\n\t\tsplithorizon = false;\n\t\troutingTable = new ArrayList<ArrayList<Integer>>();\n\t\troutingTable.add(new ArrayList<Integer>());\n\t\troutingTable.add(new ArrayList<Integer>());\n\t\troutingTable.add(new ArrayList<Integer>());\n\t}",
"public Node(Node< ? > node)\n {\n id = node.getId();\n name = node.getName();\n idVirtualAppliance = node.getIdVirtualAppliance();\n nodeType = node.getNodeType();\n posX = node.getPosX();\n posY = node.getPosY();\n modified = node.getModified();\n }",
"private NetHead(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public CWLNodeFactory() {\n super(true);\n }",
"public NetworkNode(String id, String title, String label, String name, String type) {\n super();\n this.id = id;\n this.title = title;\n this.label = label;\n this.name = name;\n this.group = type;\n this.type = type;\n }",
"public Node(T ele) {\r\n\t\t\tthis.ele = ele;\r\n\t\t}",
"NodeConnection createNodeConnection();",
"public Node(int port) {\n this();\n portnum = port;\n }",
"public Node(T val) {\r\n\t\tthis.val = val;\r\n\t}",
"public Node() {\n neighbors = new ArrayList<>();\n sizeOfSubtree = 0;\n containedPaths = new long[k];\n startingPaths = new long[k];\n }",
"public interface NodeRoot extends RootVertex<Node> {\n\n\tpublic static final String TYPE = \"nodes\";\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @return Created node\n\t */\n\tdefault Node create(HibUser user, HibSchemaVersion container, HibProject project) {\n\t\treturn create(user, container, project, null);\n\t}\n\n\t/**\n\t * Create a new node.\n\t * \n\t * @param user\n\t * User that is used to set creator and editor references\n\t * @param container\n\t * Schema version that should be used when creating the node\n\t * @param project\n\t * Project to which the node should be assigned to\n\t * @param uuid\n\t * Optional uuid\n\t * @return Created node\n\t */\n\tNode create(HibUser user, HibSchemaVersion container, HibProject project, String uuid);\n\n}"
] |
[
"0.72650486",
"0.72650486",
"0.72650486",
"0.72650486",
"0.71266395",
"0.6974745",
"0.69311255",
"0.69223446",
"0.69223446",
"0.689666",
"0.68463737",
"0.6786413",
"0.6767036",
"0.6685787",
"0.6625483",
"0.65714884",
"0.65402496",
"0.65076154",
"0.65075386",
"0.65075386",
"0.6489432",
"0.6482288",
"0.64524627",
"0.63574046",
"0.6220969",
"0.619816",
"0.61840975",
"0.616006",
"0.6147239",
"0.6141563",
"0.6132386",
"0.6118135",
"0.61139184",
"0.6105062",
"0.6092657",
"0.6092657",
"0.6084308",
"0.6071934",
"0.60621697",
"0.6049205",
"0.6043489",
"0.6037871",
"0.6037091",
"0.60197383",
"0.6011927",
"0.60109246",
"0.60032976",
"0.5994559",
"0.59908897",
"0.598118",
"0.59729534",
"0.59704304",
"0.59637994",
"0.5963653",
"0.5959522",
"0.59396017",
"0.5923107",
"0.59122497",
"0.5907708",
"0.5902022",
"0.59005636",
"0.5894235",
"0.5869832",
"0.5854995",
"0.5840853",
"0.58408266",
"0.5838747",
"0.5834019",
"0.5833957",
"0.5832038",
"0.58302116",
"0.5826597",
"0.58245176",
"0.58167785",
"0.5816614",
"0.58055556",
"0.5799891",
"0.57978445",
"0.5796721",
"0.57957315",
"0.57942194",
"0.5784922",
"0.5767315",
"0.57670087",
"0.5762309",
"0.5757253",
"0.5753418",
"0.5745747",
"0.5742688",
"0.573389",
"0.5730279",
"0.5727905",
"0.5719194",
"0.5712459",
"0.5711175",
"0.5711091",
"0.5700747",
"0.5700512",
"0.5696663",
"0.56843525"
] |
0.7687979
|
0
|
An opaque node identifier for the Envoy node. This also provides the local service node name. It should be set if any of the following features are used: :ref:`statsd <arch_overview_statistics>`, :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing <arch_overview_tracing>`, either in this message or via :option:`servicenode`. string id = 1;
|
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public String getId() {\n return _node_id;\n }",
"public String getNode_id() {\r\n\t\treturn node_id;\r\n\t}",
"public String getNodeId() {\r\n return nodeId;\r\n }",
"public UUID nodeId();",
"NodeId getNodeId();",
"public String getNodeIdString()\r\n\t{\r\n\t\treturn nodeIdString;\r\n\t}",
"public String getNodeId() {\r\n\t\treturn nodeId;\r\n\t}",
"public String getNodeId() {\n return nodeId;\n }",
"public String getNodeId() {\n return nodeId;\n }",
"public String getIdNode() {\r\n String idNode = null;\r\n idNode = this.getParam(ESCOConstantes.ID_NODE);\r\n // Add the root element if not present\r\n if (null != idNode && !idNode.startsWith(ESCOConstantes.STEM_NAME_SEPARATOR)) {\r\n idNode = ESCOConstantes.STEM_NAME_SEPARATOR + idNode;\r\n }\r\n\r\n return idNode;\r\n }",
"public String getNodeId() {\n\t\treturn nodeId;\n\t}",
"public String myNodeId() {\n\t\tif (nodeId == null) {\n\t\t\tnodeId = UUID.randomUUID();\n\t\t\tLOG.debug(\"My node id=\" + nodeId.toString());\n\t\t}\n\n\t\treturn nodeId.toString();\n\t}",
"public String getId() {\n\t\tStringBuilder builder = new StringBuilder();\n\t\tbuilder.append(\"n=\");\n\t\tif ( nodeId != null ) {\n\t\t\tbuilder.append(nodeId);\n\t\t}\n\t\tbuilder.append(\";c=\");\n\t\tif ( created != null ) {\n\t\t\tbuilder.append(created);\n\t\t}\n\t\tbuilder.append(\";s=\");\n\t\tif ( sourceId != null ) {\n\t\t\tbuilder.append(sourceId);\n\t\t}\n\t\treturn DigestUtils.sha1Hex(builder.toString());\n\t}",
"public String toStringID()\r\n\t{\r\n\t\treturn nodeIdString;\r\n\t}",
"public String nodeId() {\n return this.nodeId;\n }",
"public NodeId getNodeId() {\n return nodeId;\n }",
"public NodeId getId() {\n return id;\n }",
"private String getMyNodeId() {\n TelephonyManager tel = (TelephonyManager) getContext().getSystemService(Context.TELEPHONY_SERVICE);\n String nodeId = tel.getLine1Number().substring(tel.getLine1Number().length() - 4);\n return nodeId;\n }",
"public Long getNodeId() {\n return nodeId;\n }",
"public String getNameIdNode() {\r\n String nameIdNode = null;\r\n nameIdNode = this.getParam(ESCOConstantes.NAMEID_NODE);\r\n // Add the root element if not present\r\n if (null != nameIdNode && !nameIdNode.startsWith(ESCOConstantes.STEM_NAME_SEPARATOR)) {\r\n nameIdNode = ESCOConstantes.STEM_NAME_SEPARATOR + nameIdNode;\r\n }\r\n\r\n return nameIdNode;\r\n }",
"public int getNodeID() {\r\n \t\treturn nodeID;\r\n \t}",
"public final String getIdentifier() {\n return ServerUtils.getIdentifier(name, ip, port);\n }",
"public String generateNodeId(Node node, String remoteHost, String remoteAddress);",
"public String selectNodeId(Node node, String remoteHost, String remoteAddress);",
"public UUID originatingNodeId();",
"@Override public int getNodeId(String name) {\n\t\tint id = node_index_.tryGet(name);\n\t\tif (id == -1) System.err.println(\"Unknown node name=\" + name);\n\t\treturn id;\n\t}",
"public int getNodeID() {\n return nodeID;\n }",
"public String getID() {\r\n\t\treturn this.idNode;\r\n\t}",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"public NetworkNode getNetworkNode(Integer id);",
"@Override\n public String getNodeId() throws IOException {\n return getFirstLineOfFile(nodeIdPath);\n }",
"public short get_nodeid() {\n return (short)getUIntBEElement(offsetBits_nodeid(), 8);\n }",
"@DISPID(-2147417110)\n @PropGet\n java.lang.String id();",
"entities.Torrent.NodeId getNode();",
"entities.Torrent.NodeId getNode();",
"public String getId(Node node) {\n String id = \"\";\n if (node instanceof AIdExp) {\n AIdExp idNode = (AIdExp) node;\n id = idNode.getId().getText();\n }\n\treturn id;\n }",
"public entities.Torrent.NodeIdOrBuilder getNodeOrBuilder() {\n if (nodeBuilder_ != null) {\n return nodeBuilder_.getMessageOrBuilder();\n } else {\n return node_ == null ?\n entities.Torrent.NodeId.getDefaultInstance() : node_;\n }\n }",
"public entities.Torrent.NodeIdOrBuilder getNodeOrBuilder() {\n if (nodeBuilder_ != null) {\n return nodeBuilder_.getMessageOrBuilder();\n } else {\n return node_ == null ?\n entities.Torrent.NodeId.getDefaultInstance() : node_;\n }\n }",
"public entities.Torrent.NodeId getNode() {\n if (nodeBuilder_ == null) {\n return node_ == null ? entities.Torrent.NodeId.getDefaultInstance() : node_;\n } else {\n return nodeBuilder_.getMessage();\n }\n }",
"public entities.Torrent.NodeId getNode() {\n if (nodeBuilder_ == null) {\n return node_ == null ? entities.Torrent.NodeId.getDefaultInstance() : node_;\n } else {\n return nodeBuilder_.getMessage();\n }\n }",
"NodeId getLeaderId();",
"RenderedOp getNode(Long id) throws RemoteException;",
"public long getNodeID()\n {\n return vnodeid; \n }",
"public DataNodeId getDataNodeId(String hostname, int port);",
"public Node(final String id) {\n super();\n this.id = id;\n }",
"public String getNode_pid() {\r\n\t\treturn node_pid;\r\n\t}",
"@java.lang.Override\n public entities.Torrent.NodeId getNode() {\n return node_ == null ? entities.Torrent.NodeId.getDefaultInstance() : node_;\n }",
"@java.lang.Override\n public entities.Torrent.NodeId getNode() {\n return node_ == null ? entities.Torrent.NodeId.getDefaultInstance() : node_;\n }",
"public int getNodeId() {\n return m_nodeId;\n }",
"public java.lang.String getId() {\n return localId;\n }",
"public java.lang.String getId() {\n return localId;\n }",
"String getIdNode1();",
"@Override\n public String getSafeNodeIdForLOG() {\n return nodeId == null ? \"null\" : nodeId.getValue();\n }",
"@XmlElement(name = \"identifier\", namespace = Namespaces.SRV)\n final String getIdentifier() {\n if (LEGACY_XML) {\n final ScopedName name = getScopedName();\n if (name != null) {\n return name.tip().toString();\n }\n }\n return null;\n }",
"String targetServiceTopologyId();",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"@Nullable public UUID otherNodeId();",
"boolean handlesNodeId(String id);",
"public int getID()\n\t{\n\t\treturn m_nNodeID;\n\t}",
"String getIdNode2();",
"public void setID(String s) {\r\n\t\tthis.idNode = s;\r\n\t}",
"public String getNamedId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();"
] |
[
"0.6875956",
"0.6717294",
"0.6668587",
"0.66230196",
"0.6621808",
"0.6617107",
"0.6611438",
"0.660057",
"0.660057",
"0.6600536",
"0.6576632",
"0.65353936",
"0.64849573",
"0.6462937",
"0.6424131",
"0.62815756",
"0.62722796",
"0.6218541",
"0.6215257",
"0.618209",
"0.6166598",
"0.61503583",
"0.6058504",
"0.6046671",
"0.6028513",
"0.60208124",
"0.60160303",
"0.598195",
"0.5978149",
"0.5978149",
"0.5978149",
"0.5978149",
"0.5978149",
"0.5978149",
"0.5928277",
"0.5869563",
"0.5799091",
"0.57855743",
"0.57850677",
"0.57850677",
"0.5752341",
"0.5744182",
"0.5744182",
"0.573005",
"0.573005",
"0.57289743",
"0.56925887",
"0.5680945",
"0.56414026",
"0.56205726",
"0.560336",
"0.55697274",
"0.55697274",
"0.55678326",
"0.5560326",
"0.5560326",
"0.5550624",
"0.5538816",
"0.55346817",
"0.5518561",
"0.55180866",
"0.55180866",
"0.5509255",
"0.5506365",
"0.55036366",
"0.55004704",
"0.54971105",
"0.54878813",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335",
"0.5483335"
] |
0.0
|
-1
|
An opaque node identifier for the Envoy node. This also provides the local service node name. It should be set if any of the following features are used: :ref:`statsd <arch_overview_statistics>`, :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing <arch_overview_tracing>`, either in this message or via :option:`servicenode`. string id = 1;
|
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public String getId() {\n return _node_id;\n }",
"public String getNode_id() {\r\n\t\treturn node_id;\r\n\t}",
"public String getNodeId() {\r\n return nodeId;\r\n }",
"public UUID nodeId();",
"NodeId getNodeId();",
"public String getNodeIdString()\r\n\t{\r\n\t\treturn nodeIdString;\r\n\t}",
"public String getNodeId() {\r\n\t\treturn nodeId;\r\n\t}",
"public String getIdNode() {\r\n String idNode = null;\r\n idNode = this.getParam(ESCOConstantes.ID_NODE);\r\n // Add the root element if not present\r\n if (null != idNode && !idNode.startsWith(ESCOConstantes.STEM_NAME_SEPARATOR)) {\r\n idNode = ESCOConstantes.STEM_NAME_SEPARATOR + idNode;\r\n }\r\n\r\n return idNode;\r\n }",
"public String getNodeId() {\n return nodeId;\n }",
"public String getNodeId() {\n return nodeId;\n }",
"public String getNodeId() {\n\t\treturn nodeId;\n\t}",
"public String myNodeId() {\n\t\tif (nodeId == null) {\n\t\t\tnodeId = UUID.randomUUID();\n\t\t\tLOG.debug(\"My node id=\" + nodeId.toString());\n\t\t}\n\n\t\treturn nodeId.toString();\n\t}",
"public String getId() {\n\t\tStringBuilder builder = new StringBuilder();\n\t\tbuilder.append(\"n=\");\n\t\tif ( nodeId != null ) {\n\t\t\tbuilder.append(nodeId);\n\t\t}\n\t\tbuilder.append(\";c=\");\n\t\tif ( created != null ) {\n\t\t\tbuilder.append(created);\n\t\t}\n\t\tbuilder.append(\";s=\");\n\t\tif ( sourceId != null ) {\n\t\t\tbuilder.append(sourceId);\n\t\t}\n\t\treturn DigestUtils.sha1Hex(builder.toString());\n\t}",
"public String toStringID()\r\n\t{\r\n\t\treturn nodeIdString;\r\n\t}",
"public String nodeId() {\n return this.nodeId;\n }",
"public NodeId getNodeId() {\n return nodeId;\n }",
"public NodeId getId() {\n return id;\n }",
"private String getMyNodeId() {\n TelephonyManager tel = (TelephonyManager) getContext().getSystemService(Context.TELEPHONY_SERVICE);\n String nodeId = tel.getLine1Number().substring(tel.getLine1Number().length() - 4);\n return nodeId;\n }",
"public Long getNodeId() {\n return nodeId;\n }",
"public String getNameIdNode() {\r\n String nameIdNode = null;\r\n nameIdNode = this.getParam(ESCOConstantes.NAMEID_NODE);\r\n // Add the root element if not present\r\n if (null != nameIdNode && !nameIdNode.startsWith(ESCOConstantes.STEM_NAME_SEPARATOR)) {\r\n nameIdNode = ESCOConstantes.STEM_NAME_SEPARATOR + nameIdNode;\r\n }\r\n\r\n return nameIdNode;\r\n }",
"public int getNodeID() {\r\n \t\treturn nodeID;\r\n \t}",
"public final String getIdentifier() {\n return ServerUtils.getIdentifier(name, ip, port);\n }",
"public String generateNodeId(Node node, String remoteHost, String remoteAddress);",
"public String selectNodeId(Node node, String remoteHost, String remoteAddress);",
"public UUID originatingNodeId();",
"@Override public int getNodeId(String name) {\n\t\tint id = node_index_.tryGet(name);\n\t\tif (id == -1) System.err.println(\"Unknown node name=\" + name);\n\t\treturn id;\n\t}",
"public int getNodeID() {\n return nodeID;\n }",
"public String getID() {\r\n\t\treturn this.idNode;\r\n\t}",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"public NetworkNode getNetworkNode(Integer id);",
"@Override\n public String getNodeId() throws IOException {\n return getFirstLineOfFile(nodeIdPath);\n }",
"public short get_nodeid() {\n return (short)getUIntBEElement(offsetBits_nodeid(), 8);\n }",
"@DISPID(-2147417110)\n @PropGet\n java.lang.String id();",
"entities.Torrent.NodeId getNode();",
"entities.Torrent.NodeId getNode();",
"public String getId(Node node) {\n String id = \"\";\n if (node instanceof AIdExp) {\n AIdExp idNode = (AIdExp) node;\n id = idNode.getId().getText();\n }\n\treturn id;\n }",
"public entities.Torrent.NodeIdOrBuilder getNodeOrBuilder() {\n if (nodeBuilder_ != null) {\n return nodeBuilder_.getMessageOrBuilder();\n } else {\n return node_ == null ?\n entities.Torrent.NodeId.getDefaultInstance() : node_;\n }\n }",
"public entities.Torrent.NodeIdOrBuilder getNodeOrBuilder() {\n if (nodeBuilder_ != null) {\n return nodeBuilder_.getMessageOrBuilder();\n } else {\n return node_ == null ?\n entities.Torrent.NodeId.getDefaultInstance() : node_;\n }\n }",
"public entities.Torrent.NodeId getNode() {\n if (nodeBuilder_ == null) {\n return node_ == null ? entities.Torrent.NodeId.getDefaultInstance() : node_;\n } else {\n return nodeBuilder_.getMessage();\n }\n }",
"public entities.Torrent.NodeId getNode() {\n if (nodeBuilder_ == null) {\n return node_ == null ? entities.Torrent.NodeId.getDefaultInstance() : node_;\n } else {\n return nodeBuilder_.getMessage();\n }\n }",
"NodeId getLeaderId();",
"RenderedOp getNode(Long id) throws RemoteException;",
"public long getNodeID()\n {\n return vnodeid; \n }",
"public DataNodeId getDataNodeId(String hostname, int port);",
"public Node(final String id) {\n super();\n this.id = id;\n }",
"public String getNode_pid() {\r\n\t\treturn node_pid;\r\n\t}",
"@java.lang.Override\n public entities.Torrent.NodeId getNode() {\n return node_ == null ? entities.Torrent.NodeId.getDefaultInstance() : node_;\n }",
"@java.lang.Override\n public entities.Torrent.NodeId getNode() {\n return node_ == null ? entities.Torrent.NodeId.getDefaultInstance() : node_;\n }",
"public int getNodeId() {\n return m_nodeId;\n }",
"public java.lang.String getId() {\n return localId;\n }",
"public java.lang.String getId() {\n return localId;\n }",
"String getIdNode1();",
"@Override\n public String getSafeNodeIdForLOG() {\n return nodeId == null ? \"null\" : nodeId.getValue();\n }",
"@XmlElement(name = \"identifier\", namespace = Namespaces.SRV)\n final String getIdentifier() {\n if (LEGACY_XML) {\n final ScopedName name = getScopedName();\n if (name != null) {\n return name.tip().toString();\n }\n }\n return null;\n }",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"String targetServiceTopologyId();",
"boolean handlesNodeId(String id);",
"@Nullable public UUID otherNodeId();",
"public int getID()\n\t{\n\t\treturn m_nNodeID;\n\t}",
"String getIdNode2();",
"public void setID(String s) {\r\n\t\tthis.idNode = s;\r\n\t}",
"public String getNamedId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();",
"String getId();"
] |
[
"0.6875099",
"0.6716186",
"0.6667662",
"0.66216654",
"0.66209745",
"0.6616401",
"0.66105926",
"0.6600276",
"0.6599668",
"0.6599668",
"0.6575837",
"0.6533598",
"0.648408",
"0.64617354",
"0.6422986",
"0.6280868",
"0.6272266",
"0.62169456",
"0.6214032",
"0.61810434",
"0.61655474",
"0.614953",
"0.6058049",
"0.60464513",
"0.6026495",
"0.60203433",
"0.6014687",
"0.598132",
"0.597788",
"0.597788",
"0.597788",
"0.597788",
"0.597788",
"0.597788",
"0.592884",
"0.58679795",
"0.57980144",
"0.5784958",
"0.5784521",
"0.5784521",
"0.57521224",
"0.5743868",
"0.5743868",
"0.572945",
"0.572945",
"0.5727858",
"0.56926256",
"0.5681523",
"0.5641261",
"0.5622159",
"0.5601613",
"0.55686396",
"0.55686396",
"0.5566491",
"0.5558976",
"0.5558976",
"0.55498606",
"0.5537044",
"0.5533593",
"0.551751",
"0.551751",
"0.551741",
"0.55073917",
"0.55069673",
"0.55033094",
"0.54998004",
"0.5497975",
"0.548768",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912",
"0.5483912"
] |
0.0
|
-1
|
Defines the local service cluster name where Envoy is running. Though optional, it should be set if any of the following features are used: :ref:`statsd <arch_overview_statistics>`, :ref:`health check cluster verification <envoy_api_field_config.core.v3.HealthCheck.HttpHealthCheck.service_name_matcher>`, :ref:`runtime override directory <envoy_api_msg_config.bootstrap.v3.Runtime>`, :ref:`user agent addition <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.add_user_agent>`, :ref:`HTTP global rate limiting <config_http_filters_rate_limit>`, :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing <arch_overview_tracing>`, either in this message or via :option:`servicecluster`. string cluster = 2;
|
@java.lang.Override
public java.lang.String getCluster() {
java.lang.Object ref = cluster_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cluster_ = s;
return s;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"java.lang.String getClusterName();",
"public Builder setClusterName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n endpointConfigCase_ = 2;\n endpointConfig_ = value;\n onChanged();\n return this;\n }",
"public java.lang.String getClusterName() {\n java.lang.Object ref = \"\";\n if (endpointConfigCase_ == 2) {\n ref = endpointConfig_;\n }\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 (endpointConfigCase_ == 2) {\n endpointConfig_ = s;\n }\n return s;\n }\n }",
"public Builder setCluster(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n cluster_ = value;\n onChanged();\n return this;\n }",
"String getClusterName();",
"@java.lang.Override\n public java.lang.String getClusterName() {\n java.lang.Object ref = \"\";\n if (endpointConfigCase_ == 2) {\n ref = endpointConfig_;\n }\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 (endpointConfigCase_ == 2) {\n endpointConfig_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getCluster() {\n java.lang.Object ref = cluster_;\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 cluster_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getClusterNameBytes() {\n java.lang.Object ref = \"\";\n if (endpointConfigCase_ == 2) {\n ref = endpointConfig_;\n }\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 if (endpointConfigCase_ == 2) {\n endpointConfig_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getClusterNameBytes() {\n java.lang.Object ref = \"\";\n if (endpointConfigCase_ == 2) {\n ref = endpointConfig_;\n }\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n if (endpointConfigCase_ == 2) {\n endpointConfig_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getClusterName() {\n\t\treturn clusterName;\n\t}",
"public String getCluster() {\n return this.cluster;\n }",
"public String getCluster() {\n return this.cluster;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public java.lang.String getClusterName() {\n return clusterName;\n }",
"io.envoyproxy.envoy.type.metadata.v3.MetadataKind.Cluster getCluster();",
"public Builder setClusterNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n endpointConfigCase_ = 2;\n endpointConfig_ = value;\n onChanged();\n return this;\n }",
"public interface ClusterDefinitionService {\n\n /**\n * Returns the local controller node.\n * @return local controller node\n */\n ControllerNode localNode();\n\n /**\n * Returns the set of seed nodes that should be used for discovering other members\n * of the cluster.\n * @return set of seed controller nodes\n */\n Set<ControllerNode> seedNodes();\n\n /**\n * Forms cluster configuration based on the specified set of node\n * information. Assumes subsequent restart for the new configuration to\n * take hold.\n *\n * @param nodes set of nodes that form the cluster\n * @param ipPrefix IP address prefix, e.g. 10.0.1.*\n */\n void formCluster(Set<ControllerNode> nodes, String ipPrefix);\n}",
"public void setServiceName(java.lang.String param){\n localServiceNameTracker = true;\n \n this.localServiceName=param;\n \n\n }",
"public boolean hasClusterName() {\n return endpointConfigCase_ == 2;\n }",
"@java.lang.Override\n public boolean hasClusterName() {\n return endpointConfigCase_ == 2;\n }",
"public CreateServiceRequest withCluster(String cluster) {\n setCluster(cluster);\n return this;\n }",
"boolean hasClusterName();",
"public void setCluster(String cluster) {\n this.cluster = cluster;\n }",
"public void setCluster(String cluster) {\n this.cluster = cluster;\n }",
"public String discoverClusterName() throws ClusterNameDiscoveryException {\n try {\n return AmazonECSAgentIntrospectionUtils.getMetadata().getCluster();\n } catch (Exception e) {\n throw new ClusterNameDiscoveryException(\"Cluster name discovery failed\", e);\n }\n }",
"void setClusterContainerService(IClusterContainerServices s) {\n logger.debug(\"Cluster Service set\");\n this.clusterContainerService = s;\n }",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public void setClusterId(String id) {\n clusterId = id;\n }",
"public void setServiceGroupName(java.lang.String param){\n localServiceGroupNameTracker = true;\n \n this.localServiceGroupName=param;\n \n\n }",
"com.google.protobuf.ByteString\n getClusterNameBytes();",
"public String getClusterId() {\n return this.ClusterId;\n }",
"@Override\n\tpublic java.lang.String getCluster() {\n\t\treturn _scienceApp.getCluster();\n\t}",
"public CreateClusterRequest(CreateClusterRequest source) {\n if (source.ClusterName != null) {\n this.ClusterName = new String(source.ClusterName);\n }\n if (source.ClusterType != null) {\n this.ClusterType = new String(source.ClusterType);\n }\n if (source.VpcId != null) {\n this.VpcId = new String(source.VpcId);\n }\n if (source.ClusterCIDR != null) {\n this.ClusterCIDR = new String(source.ClusterCIDR);\n }\n if (source.ClusterDesc != null) {\n this.ClusterDesc = new String(source.ClusterDesc);\n }\n if (source.TsfRegionId != null) {\n this.TsfRegionId = new String(source.TsfRegionId);\n }\n if (source.TsfZoneId != null) {\n this.TsfZoneId = new String(source.TsfZoneId);\n }\n if (source.SubnetId != null) {\n this.SubnetId = new String(source.SubnetId);\n }\n if (source.ClusterVersion != null) {\n this.ClusterVersion = new String(source.ClusterVersion);\n }\n if (source.MaxNodePodNum != null) {\n this.MaxNodePodNum = new Long(source.MaxNodePodNum);\n }\n if (source.MaxClusterServiceNum != null) {\n this.MaxClusterServiceNum = new Long(source.MaxClusterServiceNum);\n }\n if (source.ProgramId != null) {\n this.ProgramId = new String(source.ProgramId);\n }\n if (source.KuberneteApiServer != null) {\n this.KuberneteApiServer = new String(source.KuberneteApiServer);\n }\n if (source.KuberneteNativeType != null) {\n this.KuberneteNativeType = new String(source.KuberneteNativeType);\n }\n if (source.KuberneteNativeSecret != null) {\n this.KuberneteNativeSecret = new String(source.KuberneteNativeSecret);\n }\n if (source.ProgramIdList != null) {\n this.ProgramIdList = new String[source.ProgramIdList.length];\n for (int i = 0; i < source.ProgramIdList.length; i++) {\n this.ProgramIdList[i] = new String(source.ProgramIdList[i]);\n }\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getClusterBytes() {\n java.lang.Object ref = cluster_;\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 cluster_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getClusterId() {\n return clusterId;\n }",
"public String getClusterAddress() {\r\n return clusterAddress;\r\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"public void testRuntimeConfigurationClusterName()\n {\n RuntimeConfiguration runtimeConfiguration = new Jonas4xRuntimeConfiguration();\n runtimeConfiguration.setProperty(JonasPropertySet.JONAS_SERVER_NAME, \"foo\");\n runtimeConfiguration.setProperty(JonasPropertySet.JONAS_DOMAIN_NAME, \"bar\");\n runtimeConfiguration.setProperty(JonasPropertySet.JONAS_CLUSTER_NAME, \"jar\");\n\n AbstractRemoteContainer remoteContainer = new Jonas4xRemoteContainer(runtimeConfiguration);\n AbstractJonasRemoteDeployer remoteDeployer = new TestDeployer(remoteContainer);\n RemoteDeployerConfig deployerConfig = remoteDeployer.getConfig();\n\n assertEquals(\"foo\", deployerConfig.getServerName());\n assertEquals(\"bar\", deployerConfig.getDomainName());\n assertEquals(\"jar\", deployerConfig.getClusterName());\n }",
"public String getClusterIdentifier() {\n return this.clusterIdentifier;\n }",
"public void setClusterId(String clusterId) {\n this.clusterId = clusterId;\n }",
"public void setClusterName(java.lang.String clusterName) {\n this.clusterName = clusterName;\n }",
"String getCollectorHostName(String clusterName, MetricsService service) throws SystemException;",
"EffectiveClusterSpec getCluster(ClusterSpec clusterSpec);",
"public com.google.protobuf.ByteString\n getClusterBytes() {\n java.lang.Object ref = cluster_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n cluster_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String clusterId() {\n return this.clusterId;\n }",
"@Override\n\tpublic String getName() {\n\t\treturn \"Cluster View\";\n\t}",
"public void setClusterName(String clusterName) {\n this.clusterName = clusterName;\n }",
"public Builder clearClusterName() {\n if (endpointConfigCase_ == 2) {\n endpointConfigCase_ = 0;\n endpointConfig_ = null;\n onChanged();\n }\n return this;\n }",
"public yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Cluster get(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest request) {\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\n getChannel(), getGetMethod(), getCallOptions(), request);\n }",
"CreateClusterResult createCluster(CreateClusterRequest createClusterRequest);",
"public String clusterId() {\n return this.innerProperties() == null ? null : this.innerProperties().clusterId();\n }",
"public com.google.common.util.concurrent.ListenableFuture<yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Cluster> get(\n yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest request) {\n return io.grpc.stub.ClientCalls.futureUnaryCall(\n getChannel().newCall(getGetMethod(), getCallOptions()), request);\n }",
"io.envoyproxy.envoy.type.metadata.v3.MetadataKind.ClusterOrBuilder getClusterOrBuilder();",
"public com.google.common.util.concurrent.ListenableFuture<\n com.google.cloud.gkemulticloud.v1.AzureCluster>\n getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) {\n return io.grpc.stub.ClientCalls.futureUnaryCall(\n getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), request);\n }",
"public void setClusterId(String ClusterId) {\n this.ClusterId = ClusterId;\n }",
"@Override\n\tpublic void setCluster(java.lang.String cluster) {\n\t\t_scienceApp.setCluster(cluster);\n\t}",
"public Builder<V, E> setLocal(ClusteringAlgorithmBuilder<V, E, ?> local) {\n this.local = requireNonNull(local);\n return this;\n }",
"public java.lang.String getServiceName(){\n return localServiceName;\n }",
"public void setOperationName(java.lang.String param){\n localOperationNameTracker = true;\n \n this.localOperationName=param;\n \n\n }",
"public CustomClusterManager getClusterManager(){\n return mClusterManager;\n }",
"public String clusterEndpoint() {\n return this.clusterEndpoint;\n }",
"public String getCloudHsmClusterId() {\n return this.cloudHsmClusterId;\n }",
"public void setCacheClusterSize(String cacheClusterSize) {\n this.cacheClusterSize = cacheClusterSize;\n }",
"public void setServicename(java.lang.String newServicename) {\n\tservicename = newServicename;\n}",
"public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>\n createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) {\n return io.grpc.stub.ClientCalls.futureUnaryCall(\n getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), request);\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.\")\n\n public Boolean getClusterScope() {\n return clusterScope;\n }",
"public TrackerCluster getCluster() {return _cluster;}",
"public String getClusterUuid() {\n return clusterUuid;\n }",
"public yandex.cloud.api.operation.OperationOuterClass.Operation start(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StartClusterRequest request) {\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\n getChannel(), getStartMethod(), getCallOptions(), request);\n }",
"public void setCacheClusterEnabled(Boolean cacheClusterEnabled) {\n this.cacheClusterEnabled = cacheClusterEnabled;\n }",
"public Builder setClusterBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n cluster_ = value;\n onChanged();\n return this;\n }",
"public Builder setServiceName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n serviceName_ = value;\n onChanged();\n return this;\n }",
"public Builder setServiceName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n serviceName_ = value;\n onChanged();\n return this;\n }",
"@JsonProperty(\"clusterId\")\n public String getClusterId() {\n return clusterId;\n }",
"public interface ClusterSingleton {\n\n enum State {\n /** Component is idle. */\n STOPPED,\n /** Component is starting. */\n STARTING,\n /** Component is active. */\n RUNNING,\n /** Component is stopping. */\n STOPPING\n }\n\n /** Unique name of this singleton. Used for registration. */\n String getName();\n\n /**\n * Start the operation of the component. Initially this method should set the state to STARTING,\n * and on success it should set the state to RUNNING.\n *\n * @throws Exception on startup errors. The component should revert to the STOPPED state.\n */\n void start() throws Exception;\n\n /** Returns the current state of the component. */\n State getState();\n\n /**\n * Stop the operation of the component. Initially this method should set the state to STOPPING,\n * and on return it should set the state to STOPPED. Components should also avoid holding any\n * resource when in STOPPED state.\n */\n void stop();\n}",
"public com.google.longrunning.Operation createAzureCluster(\n com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) {\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\n getChannel(), getCreateAzureClusterMethod(), getCallOptions(), request);\n }",
"public ClusterConfig getClusterConfig() {\n return cluster;\n }",
"public java.lang.String getServiceGroupName(){\n return localServiceGroupName;\n }",
"public com.tangosol.net.Cluster getCluster()\n {\n return __m_Cluster;\n }"
] |
[
"0.64594126",
"0.6388077",
"0.63816977",
"0.62610775",
"0.62460583",
"0.6215531",
"0.5946686",
"0.5943927",
"0.5824463",
"0.5811769",
"0.57394016",
"0.57394016",
"0.56571585",
"0.56571585",
"0.56571585",
"0.56571585",
"0.56571585",
"0.56571585",
"0.56495076",
"0.5592566",
"0.5585309",
"0.5572075",
"0.55623084",
"0.5543695",
"0.55378497",
"0.55363125",
"0.5517383",
"0.5501994",
"0.5501994",
"0.547018",
"0.53912646",
"0.5373123",
"0.5373123",
"0.5373123",
"0.5373123",
"0.5373123",
"0.5373123",
"0.53253084",
"0.53253084",
"0.53253084",
"0.53253084",
"0.53253084",
"0.53253084",
"0.5319759",
"0.53165466",
"0.53134024",
"0.53076494",
"0.52949774",
"0.5282979",
"0.52517825",
"0.52431005",
"0.5239481",
"0.52017754",
"0.52017754",
"0.52017754",
"0.52017754",
"0.52017754",
"0.52017754",
"0.51528",
"0.5142451",
"0.5125295",
"0.5123097",
"0.51170313",
"0.50955045",
"0.5069642",
"0.5052207",
"0.5044454",
"0.50409865",
"0.5017889",
"0.50057083",
"0.498368",
"0.4980473",
"0.4975635",
"0.4973954",
"0.49618948",
"0.49535683",
"0.49522012",
"0.49503058",
"0.4941696",
"0.49416938",
"0.4928295",
"0.49084336",
"0.48808163",
"0.48706725",
"0.48695004",
"0.48438707",
"0.48271778",
"0.4785721",
"0.47769418",
"0.47763997",
"0.47617182",
"0.47558445",
"0.47510296",
"0.47510296",
"0.47502327",
"0.47235852",
"0.4716841",
"0.47157317",
"0.4713775",
"0.4712581"
] |
0.5901371
|
8
|
Defines the local service cluster name where Envoy is running. Though optional, it should be set if any of the following features are used: :ref:`statsd <arch_overview_statistics>`, :ref:`health check cluster verification <envoy_api_field_config.core.v3.HealthCheck.HttpHealthCheck.service_name_matcher>`, :ref:`runtime override directory <envoy_api_msg_config.bootstrap.v3.Runtime>`, :ref:`user agent addition <envoy_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.add_user_agent>`, :ref:`HTTP global rate limiting <config_http_filters_rate_limit>`, :ref:`CDS <config_cluster_manager_cds>`, and :ref:`HTTP tracing <arch_overview_tracing>`, either in this message or via :option:`servicecluster`. string cluster = 2;
|
@java.lang.Override
public com.google.protobuf.ByteString
getClusterBytes() {
java.lang.Object ref = cluster_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cluster_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"java.lang.String getClusterName();",
"public Builder setClusterName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n endpointConfigCase_ = 2;\n endpointConfig_ = value;\n onChanged();\n return this;\n }",
"public java.lang.String getClusterName() {\n java.lang.Object ref = \"\";\n if (endpointConfigCase_ == 2) {\n ref = endpointConfig_;\n }\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 (endpointConfigCase_ == 2) {\n endpointConfig_ = s;\n }\n return s;\n }\n }",
"public Builder setCluster(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n cluster_ = value;\n onChanged();\n return this;\n }",
"String getClusterName();",
"@java.lang.Override\n public java.lang.String getClusterName() {\n java.lang.Object ref = \"\";\n if (endpointConfigCase_ == 2) {\n ref = endpointConfig_;\n }\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 (endpointConfigCase_ == 2) {\n endpointConfig_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getCluster() {\n java.lang.Object ref = cluster_;\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 cluster_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getClusterNameBytes() {\n java.lang.Object ref = \"\";\n if (endpointConfigCase_ == 2) {\n ref = endpointConfig_;\n }\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 if (endpointConfigCase_ == 2) {\n endpointConfig_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public java.lang.String getCluster() {\n java.lang.Object ref = cluster_;\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 cluster_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getClusterNameBytes() {\n java.lang.Object ref = \"\";\n if (endpointConfigCase_ == 2) {\n ref = endpointConfig_;\n }\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n if (endpointConfigCase_ == 2) {\n endpointConfig_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getClusterName() {\n\t\treturn clusterName;\n\t}",
"public String getCluster() {\n return this.cluster;\n }",
"public String getCluster() {\n return this.cluster;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public Builder setClusterId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n clusterId_ = value;\n onChanged();\n return this;\n }",
"public java.lang.String getClusterName() {\n return clusterName;\n }",
"io.envoyproxy.envoy.type.metadata.v3.MetadataKind.Cluster getCluster();",
"public Builder setClusterNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n endpointConfigCase_ = 2;\n endpointConfig_ = value;\n onChanged();\n return this;\n }",
"public interface ClusterDefinitionService {\n\n /**\n * Returns the local controller node.\n * @return local controller node\n */\n ControllerNode localNode();\n\n /**\n * Returns the set of seed nodes that should be used for discovering other members\n * of the cluster.\n * @return set of seed controller nodes\n */\n Set<ControllerNode> seedNodes();\n\n /**\n * Forms cluster configuration based on the specified set of node\n * information. Assumes subsequent restart for the new configuration to\n * take hold.\n *\n * @param nodes set of nodes that form the cluster\n * @param ipPrefix IP address prefix, e.g. 10.0.1.*\n */\n void formCluster(Set<ControllerNode> nodes, String ipPrefix);\n}",
"public void setServiceName(java.lang.String param){\n localServiceNameTracker = true;\n \n this.localServiceName=param;\n \n\n }",
"public boolean hasClusterName() {\n return endpointConfigCase_ == 2;\n }",
"@java.lang.Override\n public boolean hasClusterName() {\n return endpointConfigCase_ == 2;\n }",
"public CreateServiceRequest withCluster(String cluster) {\n setCluster(cluster);\n return this;\n }",
"boolean hasClusterName();",
"public void setCluster(String cluster) {\n this.cluster = cluster;\n }",
"public void setCluster(String cluster) {\n this.cluster = cluster;\n }",
"public String discoverClusterName() throws ClusterNameDiscoveryException {\n try {\n return AmazonECSAgentIntrospectionUtils.getMetadata().getCluster();\n } catch (Exception e) {\n throw new ClusterNameDiscoveryException(\"Cluster name discovery failed\", e);\n }\n }",
"void setClusterContainerService(IClusterContainerServices s) {\n logger.debug(\"Cluster Service set\");\n this.clusterContainerService = s;\n }",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"java.lang.String getClusterId();",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public void setClusterId(String id) {\n clusterId = id;\n }",
"public void setServiceGroupName(java.lang.String param){\n localServiceGroupNameTracker = true;\n \n this.localServiceGroupName=param;\n \n\n }",
"com.google.protobuf.ByteString\n getClusterNameBytes();",
"public String getClusterId() {\n return this.ClusterId;\n }",
"@Override\n\tpublic java.lang.String getCluster() {\n\t\treturn _scienceApp.getCluster();\n\t}",
"public CreateClusterRequest(CreateClusterRequest source) {\n if (source.ClusterName != null) {\n this.ClusterName = new String(source.ClusterName);\n }\n if (source.ClusterType != null) {\n this.ClusterType = new String(source.ClusterType);\n }\n if (source.VpcId != null) {\n this.VpcId = new String(source.VpcId);\n }\n if (source.ClusterCIDR != null) {\n this.ClusterCIDR = new String(source.ClusterCIDR);\n }\n if (source.ClusterDesc != null) {\n this.ClusterDesc = new String(source.ClusterDesc);\n }\n if (source.TsfRegionId != null) {\n this.TsfRegionId = new String(source.TsfRegionId);\n }\n if (source.TsfZoneId != null) {\n this.TsfZoneId = new String(source.TsfZoneId);\n }\n if (source.SubnetId != null) {\n this.SubnetId = new String(source.SubnetId);\n }\n if (source.ClusterVersion != null) {\n this.ClusterVersion = new String(source.ClusterVersion);\n }\n if (source.MaxNodePodNum != null) {\n this.MaxNodePodNum = new Long(source.MaxNodePodNum);\n }\n if (source.MaxClusterServiceNum != null) {\n this.MaxClusterServiceNum = new Long(source.MaxClusterServiceNum);\n }\n if (source.ProgramId != null) {\n this.ProgramId = new String(source.ProgramId);\n }\n if (source.KuberneteApiServer != null) {\n this.KuberneteApiServer = new String(source.KuberneteApiServer);\n }\n if (source.KuberneteNativeType != null) {\n this.KuberneteNativeType = new String(source.KuberneteNativeType);\n }\n if (source.KuberneteNativeSecret != null) {\n this.KuberneteNativeSecret = new String(source.KuberneteNativeSecret);\n }\n if (source.ProgramIdList != null) {\n this.ProgramIdList = new String[source.ProgramIdList.length];\n for (int i = 0; i < source.ProgramIdList.length; i++) {\n this.ProgramIdList[i] = new String(source.ProgramIdList[i]);\n }\n }\n }",
"public String getClusterId() {\n return clusterId;\n }",
"public String getClusterAddress() {\r\n return clusterAddress;\r\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getClusterId() {\n java.lang.Object ref = clusterId_;\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 clusterId_ = s;\n return s;\n }\n }",
"public void testRuntimeConfigurationClusterName()\n {\n RuntimeConfiguration runtimeConfiguration = new Jonas4xRuntimeConfiguration();\n runtimeConfiguration.setProperty(JonasPropertySet.JONAS_SERVER_NAME, \"foo\");\n runtimeConfiguration.setProperty(JonasPropertySet.JONAS_DOMAIN_NAME, \"bar\");\n runtimeConfiguration.setProperty(JonasPropertySet.JONAS_CLUSTER_NAME, \"jar\");\n\n AbstractRemoteContainer remoteContainer = new Jonas4xRemoteContainer(runtimeConfiguration);\n AbstractJonasRemoteDeployer remoteDeployer = new TestDeployer(remoteContainer);\n RemoteDeployerConfig deployerConfig = remoteDeployer.getConfig();\n\n assertEquals(\"foo\", deployerConfig.getServerName());\n assertEquals(\"bar\", deployerConfig.getDomainName());\n assertEquals(\"jar\", deployerConfig.getClusterName());\n }",
"public String getClusterIdentifier() {\n return this.clusterIdentifier;\n }",
"public void setClusterId(String clusterId) {\n this.clusterId = clusterId;\n }",
"public void setClusterName(java.lang.String clusterName) {\n this.clusterName = clusterName;\n }",
"String getCollectorHostName(String clusterName, MetricsService service) throws SystemException;",
"EffectiveClusterSpec getCluster(ClusterSpec clusterSpec);",
"public com.google.protobuf.ByteString\n getClusterBytes() {\n java.lang.Object ref = cluster_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n cluster_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String clusterId() {\n return this.clusterId;\n }",
"@Override\n\tpublic String getName() {\n\t\treturn \"Cluster View\";\n\t}",
"public void setClusterName(String clusterName) {\n this.clusterName = clusterName;\n }",
"public Builder clearClusterName() {\n if (endpointConfigCase_ == 2) {\n endpointConfigCase_ = 0;\n endpointConfig_ = null;\n onChanged();\n }\n return this;\n }",
"public yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Cluster get(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest request) {\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\n getChannel(), getGetMethod(), getCallOptions(), request);\n }",
"CreateClusterResult createCluster(CreateClusterRequest createClusterRequest);",
"public String clusterId() {\n return this.innerProperties() == null ? null : this.innerProperties().clusterId();\n }",
"public com.google.common.util.concurrent.ListenableFuture<yandex.cloud.api.mdb.clickhouse.v1.ClusterOuterClass.Cluster> get(\n yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.GetClusterRequest request) {\n return io.grpc.stub.ClientCalls.futureUnaryCall(\n getChannel().newCall(getGetMethod(), getCallOptions()), request);\n }",
"io.envoyproxy.envoy.type.metadata.v3.MetadataKind.ClusterOrBuilder getClusterOrBuilder();",
"public com.google.common.util.concurrent.ListenableFuture<\n com.google.cloud.gkemulticloud.v1.AzureCluster>\n getAzureCluster(com.google.cloud.gkemulticloud.v1.GetAzureClusterRequest request) {\n return io.grpc.stub.ClientCalls.futureUnaryCall(\n getChannel().newCall(getGetAzureClusterMethod(), getCallOptions()), request);\n }",
"public void setClusterId(String ClusterId) {\n this.ClusterId = ClusterId;\n }",
"@Override\n\tpublic void setCluster(java.lang.String cluster) {\n\t\t_scienceApp.setCluster(cluster);\n\t}",
"public Builder<V, E> setLocal(ClusteringAlgorithmBuilder<V, E, ?> local) {\n this.local = requireNonNull(local);\n return this;\n }",
"public java.lang.String getServiceName(){\n return localServiceName;\n }",
"public void setOperationName(java.lang.String param){\n localOperationNameTracker = true;\n \n this.localOperationName=param;\n \n\n }",
"public CustomClusterManager getClusterManager(){\n return mClusterManager;\n }",
"public String clusterEndpoint() {\n return this.clusterEndpoint;\n }",
"public String getCloudHsmClusterId() {\n return this.cloudHsmClusterId;\n }",
"public void setCacheClusterSize(String cacheClusterSize) {\n this.cacheClusterSize = cacheClusterSize;\n }",
"public void setServicename(java.lang.String newServicename) {\n\tservicename = newServicename;\n}",
"public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>\n createAzureCluster(com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) {\n return io.grpc.stub.ClientCalls.futureUnaryCall(\n getChannel().newCall(getCreateAzureClusterMethod(), getCallOptions()), request);\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.\")\n\n public Boolean getClusterScope() {\n return clusterScope;\n }",
"public TrackerCluster getCluster() {return _cluster;}",
"public String getClusterUuid() {\n return clusterUuid;\n }",
"public yandex.cloud.api.operation.OperationOuterClass.Operation start(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.StartClusterRequest request) {\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\n getChannel(), getStartMethod(), getCallOptions(), request);\n }",
"public void setCacheClusterEnabled(Boolean cacheClusterEnabled) {\n this.cacheClusterEnabled = cacheClusterEnabled;\n }",
"public Builder setClusterBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n cluster_ = value;\n onChanged();\n return this;\n }",
"public Builder setServiceName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n serviceName_ = value;\n onChanged();\n return this;\n }",
"public Builder setServiceName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n serviceName_ = value;\n onChanged();\n return this;\n }",
"@JsonProperty(\"clusterId\")\n public String getClusterId() {\n return clusterId;\n }",
"public interface ClusterSingleton {\n\n enum State {\n /** Component is idle. */\n STOPPED,\n /** Component is starting. */\n STARTING,\n /** Component is active. */\n RUNNING,\n /** Component is stopping. */\n STOPPING\n }\n\n /** Unique name of this singleton. Used for registration. */\n String getName();\n\n /**\n * Start the operation of the component. Initially this method should set the state to STARTING,\n * and on success it should set the state to RUNNING.\n *\n * @throws Exception on startup errors. The component should revert to the STOPPED state.\n */\n void start() throws Exception;\n\n /** Returns the current state of the component. */\n State getState();\n\n /**\n * Stop the operation of the component. Initially this method should set the state to STOPPING,\n * and on return it should set the state to STOPPED. Components should also avoid holding any\n * resource when in STOPPED state.\n */\n void stop();\n}",
"public com.google.longrunning.Operation createAzureCluster(\n com.google.cloud.gkemulticloud.v1.CreateAzureClusterRequest request) {\n return io.grpc.stub.ClientCalls.blockingUnaryCall(\n getChannel(), getCreateAzureClusterMethod(), getCallOptions(), request);\n }",
"public ClusterConfig getClusterConfig() {\n return cluster;\n }",
"public java.lang.String getServiceGroupName(){\n return localServiceGroupName;\n }",
"public com.tangosol.net.Cluster getCluster()\n {\n return __m_Cluster;\n }"
] |
[
"0.64594126",
"0.6388077",
"0.63816977",
"0.62610775",
"0.62460583",
"0.6215531",
"0.5946686",
"0.5943927",
"0.5901371",
"0.5824463",
"0.5811769",
"0.57394016",
"0.57394016",
"0.56571585",
"0.56571585",
"0.56571585",
"0.56571585",
"0.56571585",
"0.56571585",
"0.56495076",
"0.5592566",
"0.5585309",
"0.5572075",
"0.55623084",
"0.5543695",
"0.55378497",
"0.55363125",
"0.5517383",
"0.5501994",
"0.5501994",
"0.547018",
"0.53912646",
"0.5373123",
"0.5373123",
"0.5373123",
"0.5373123",
"0.5373123",
"0.5373123",
"0.53253084",
"0.53253084",
"0.53253084",
"0.53253084",
"0.53253084",
"0.53253084",
"0.5319759",
"0.53165466",
"0.53134024",
"0.53076494",
"0.52949774",
"0.5282979",
"0.52431005",
"0.5239481",
"0.52017754",
"0.52017754",
"0.52017754",
"0.52017754",
"0.52017754",
"0.52017754",
"0.51528",
"0.5142451",
"0.5125295",
"0.5123097",
"0.51170313",
"0.50955045",
"0.5069642",
"0.5052207",
"0.5044454",
"0.50409865",
"0.5017889",
"0.50057083",
"0.498368",
"0.4980473",
"0.4975635",
"0.4973954",
"0.49618948",
"0.49535683",
"0.49522012",
"0.49503058",
"0.4941696",
"0.49416938",
"0.4928295",
"0.49084336",
"0.48808163",
"0.48706725",
"0.48695004",
"0.48438707",
"0.48271778",
"0.4785721",
"0.47769418",
"0.47763997",
"0.47617182",
"0.47558445",
"0.47510296",
"0.47510296",
"0.47502327",
"0.47235852",
"0.4716841",
"0.47157317",
"0.4713775",
"0.4712581"
] |
0.52517825
|
50
|
Opaque metadata extending the node identifier. Envoy will pass this directly to the management server. .google.protobuf.Struct metadata = 3;
|
@java.lang.Override
public boolean hasMetadata() {
return metadata_ != null;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"void addNodeMetadata(int node, String key, String value);",
"public com.google.protobuf.Struct getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"com.google.protobuf.Struct getMetadataFields();",
"public java.lang.Integer getMetaId();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"com.cmpe275.grpcComm.MetaData getMetaData();",
"@JsonProperty(\"metadata\")\n @ApiModelProperty(value = \"The metadata for the dialog node.\")\n public Object getMetadata() {\n return metadata;\n }",
"@JsonSetter(\"metadata\")\n public void setMetadata (Object value) {\n this.metadata = value;\n }",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"{\\\"jira\\\":{\\\"issue_id\\\":\\\"value\\\"}}\", value = \"Metadata attached to the incident. Top level values must be objects.\")\n\n public Object getMetadata() {\n return metadata;\n }",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n if (metadataBuilder_ != null) {\n return metadataBuilder_.getMessageOrBuilder();\n } else {\n return metadata_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"public Object getMetadata() {\n return this.metadata;\n }",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"@java.lang.Override\n public io.grafeas.v1.Metadata getMetadata() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public Map getMetadata() {\n return metadata;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public GenericMetadata getMetadata()\n {\n // return definition metadata\n GenericMetadata metadata = definition.getMetadata();\n if ((metadata != null) && (metadata.getFields() != null) && !metadata.getFields().isEmpty())\n {\n return metadata;\n }\n\n // return node metadata\n return super.getMetadata();\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"private ServerEntityMetadataPacket() {}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"@java.lang.Override\n public io.grafeas.v1.MetadataOrBuilder getMetadataOrBuilder() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }",
"public ServerEntityMetadataPacket(int entityId, EntityMetadata[] metadata)\r\n/* 19: */ {\r\n/* 20:21 */ this.entityId = entityId;\r\n/* 21:22 */ this.metadata = metadata;\r\n/* 22: */ }",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"<E extends CtElement> E putMetadata(String key, Object val);",
"Metadata getMetaData();",
"private ApiInfo metadata() {\n\t\treturn new ApiInfoBuilder().title(\"# Online Home Decor Store #\")\n\t\t\t\t.description(\"Suppliers and Categories operations are present\").build();\t\n\t}",
"public io.grafeas.v1.Metadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"@Override\r\n\tpublic Map<String, Object> getMetadata() {\n\t\treturn null;\r\n\t}",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"@Override\n\tpublic ContentNodeMetadata getNodeMetadata() {\n\t\treturn null;\n\t}",
"default @org.jetbrains.annotations.Nullable imports.k8s.ObjectMeta getMetadata() {\n return null;\n }",
"com.appscode.api.kubernetes.v1beta2.MetaOrBuilder getMetaOrBuilder();",
"private ApiInfo metaData() {\n return new ApiInfoBuilder()\n .title(\"Spring Boot REST API\")\n .description(\"\\\"Spring Boot REST API for Vertica Developer Training\\\"\")\n .version(\"1.0.0\")\n .license(\"Apache License Version 2.0\")\n .licenseUrl(\"https://www.apache.org/licenses/LICENSE-2.0\\\"\")\n .contact(new Contact(\"Thingtrack\", \"https://www.thingtrack.com\", \"[email protected]\"))\n .build();\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"@Override\n \t\t\t\tpublic String getMetadataGraphName() {\n \t\t\t\t\treturn \"http://opendata.cz/data/metadata\";\n \t\t\t\t}",
"private String generateMetadata() {\n ServiceMetadata metadata = new ServiceMetadata();\n\n // Populate metadata using setX() methods\n metadata.setName(this.getClass().getName());\n metadata.setAllow(Discriminators.Uri.ANY);\n metadata.setDescription(\"Mallet Topic Modeling Trainer\");\n metadata.setVersion(\"1.0.0-SNAPSHOT\");\n metadata.setVendor(\"http://www.lappsgrid.org\");\n metadata.setLicense(Discriminators.Uri.APACHE2);\n\n // JSON for input information\n IOSpecification requires = new IOSpecification();\n requires.addFormat(Discriminators.Uri.TEXT); // Plain text (form)\n requires.addLanguage(\"en\"); // Source language\n\n // JSON for output information\n IOSpecification produces = new IOSpecification();\n produces.addFormat(Discriminators.Uri.LAPPS); // LIF (form)\n produces.addLanguage(\"en\"); // Target language\n\n // Embed I/O metadata JSON objects\n metadata.setRequires(requires);\n metadata.setProduces(produces);\n\n // Serialize the metadata into LEDS string and return\n Data<ServiceMetadata> data = new Data<>(Discriminators.Uri.META, metadata);\n return data.asPrettyJson();\n }",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"@JsonGetter(\"metadata\")\n public Object getMetadata ( ) {\n return this.metadata;\n }",
"@Override\n public void addMetadata(final OAtomicOperationMetadata<?> metadata) {\n this.metadata.put(metadata.getKey(), metadata);\n }",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"Map<String, String> getCustomMetadata();"
] |
[
"0.6588992",
"0.63584673",
"0.6222809",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.5921322",
"0.5868876",
"0.58489925",
"0.58393437",
"0.5783557",
"0.57758653",
"0.5739463",
"0.57151175",
"0.5708413",
"0.5694426",
"0.56610376",
"0.5620473",
"0.5613854",
"0.5605453",
"0.5598907",
"0.55956537",
"0.5593293",
"0.55780166",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.5569077",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.55535626",
"0.5526694",
"0.5516967",
"0.55146444",
"0.55129117",
"0.5481047",
"0.54806495",
"0.5459189",
"0.5456537",
"0.54506785",
"0.5450367",
"0.5450367",
"0.54317975",
"0.5429202",
"0.5426116",
"0.5400511",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53885794",
"0.535075",
"0.53482664",
"0.53472435",
"0.5343919",
"0.5339771",
"0.53269535"
] |
0.0
|
-1
|
Opaque metadata extending the node identifier. Envoy will pass this directly to the management server. .google.protobuf.Struct metadata = 3;
|
@java.lang.Override
public com.google.protobuf.Struct getMetadata() {
return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"void addNodeMetadata(int node, String key, String value);",
"public com.google.protobuf.Struct getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"com.google.protobuf.Struct getMetadataFields();",
"public java.lang.Integer getMetaId();",
"@java.lang.Override\n public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n return getMetadata();\n }",
"com.cmpe275.grpcComm.MetaData getMetaData();",
"@JsonProperty(\"metadata\")\n @ApiModelProperty(value = \"The metadata for the dialog node.\")\n public Object getMetadata() {\n return metadata;\n }",
"@JsonSetter(\"metadata\")\n public void setMetadata (Object value) {\n this.metadata = value;\n }",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"{\\\"jira\\\":{\\\"issue_id\\\":\\\"value\\\"}}\", value = \"Metadata attached to the incident. Top level values must be objects.\")\n\n public Object getMetadata() {\n return metadata;\n }",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n if (metadataBuilder_ != null) {\n return metadataBuilder_.getMessageOrBuilder();\n } else {\n return metadata_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"public Object getMetadata() {\n return this.metadata;\n }",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"@java.lang.Override\n public io.grafeas.v1.Metadata getMetadata() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public Map getMetadata() {\n return metadata;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public GenericMetadata getMetadata()\n {\n // return definition metadata\n GenericMetadata metadata = definition.getMetadata();\n if ((metadata != null) && (metadata.getFields() != null) && !metadata.getFields().isEmpty())\n {\n return metadata;\n }\n\n // return node metadata\n return super.getMetadata();\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"private ServerEntityMetadataPacket() {}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"@java.lang.Override\n public io.grafeas.v1.MetadataOrBuilder getMetadataOrBuilder() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }",
"public ServerEntityMetadataPacket(int entityId, EntityMetadata[] metadata)\r\n/* 19: */ {\r\n/* 20:21 */ this.entityId = entityId;\r\n/* 21:22 */ this.metadata = metadata;\r\n/* 22: */ }",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"<E extends CtElement> E putMetadata(String key, Object val);",
"Metadata getMetaData();",
"private ApiInfo metadata() {\n\t\treturn new ApiInfoBuilder().title(\"# Online Home Decor Store #\")\n\t\t\t\t.description(\"Suppliers and Categories operations are present\").build();\t\n\t}",
"public io.grafeas.v1.Metadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"@Override\r\n\tpublic Map<String, Object> getMetadata() {\n\t\treturn null;\r\n\t}",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"@Override\n\tpublic ContentNodeMetadata getNodeMetadata() {\n\t\treturn null;\n\t}",
"default @org.jetbrains.annotations.Nullable imports.k8s.ObjectMeta getMetadata() {\n return null;\n }",
"com.appscode.api.kubernetes.v1beta2.MetaOrBuilder getMetaOrBuilder();",
"private ApiInfo metaData() {\n return new ApiInfoBuilder()\n .title(\"Spring Boot REST API\")\n .description(\"\\\"Spring Boot REST API for Vertica Developer Training\\\"\")\n .version(\"1.0.0\")\n .license(\"Apache License Version 2.0\")\n .licenseUrl(\"https://www.apache.org/licenses/LICENSE-2.0\\\"\")\n .contact(new Contact(\"Thingtrack\", \"https://www.thingtrack.com\", \"[email protected]\"))\n .build();\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"@Override\n \t\t\t\tpublic String getMetadataGraphName() {\n \t\t\t\t\treturn \"http://opendata.cz/data/metadata\";\n \t\t\t\t}",
"private String generateMetadata() {\n ServiceMetadata metadata = new ServiceMetadata();\n\n // Populate metadata using setX() methods\n metadata.setName(this.getClass().getName());\n metadata.setAllow(Discriminators.Uri.ANY);\n metadata.setDescription(\"Mallet Topic Modeling Trainer\");\n metadata.setVersion(\"1.0.0-SNAPSHOT\");\n metadata.setVendor(\"http://www.lappsgrid.org\");\n metadata.setLicense(Discriminators.Uri.APACHE2);\n\n // JSON for input information\n IOSpecification requires = new IOSpecification();\n requires.addFormat(Discriminators.Uri.TEXT); // Plain text (form)\n requires.addLanguage(\"en\"); // Source language\n\n // JSON for output information\n IOSpecification produces = new IOSpecification();\n produces.addFormat(Discriminators.Uri.LAPPS); // LIF (form)\n produces.addLanguage(\"en\"); // Target language\n\n // Embed I/O metadata JSON objects\n metadata.setRequires(requires);\n metadata.setProduces(produces);\n\n // Serialize the metadata into LEDS string and return\n Data<ServiceMetadata> data = new Data<>(Discriminators.Uri.META, metadata);\n return data.asPrettyJson();\n }",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"@JsonGetter(\"metadata\")\n public Object getMetadata ( ) {\n return this.metadata;\n }",
"@Override\n public void addMetadata(final OAtomicOperationMetadata<?> metadata) {\n this.metadata.put(metadata.getKey(), metadata);\n }",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"Map<String, String> getCustomMetadata();"
] |
[
"0.63584673",
"0.6222809",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.5921322",
"0.5868876",
"0.58489925",
"0.58393437",
"0.5783557",
"0.57758653",
"0.5739463",
"0.57151175",
"0.5708413",
"0.5694426",
"0.56610376",
"0.5620473",
"0.5613854",
"0.5605453",
"0.5598907",
"0.55956537",
"0.5593293",
"0.55780166",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.5569077",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.55535626",
"0.5526694",
"0.5516967",
"0.55146444",
"0.55129117",
"0.5481047",
"0.54806495",
"0.5459189",
"0.5456537",
"0.54506785",
"0.5450367",
"0.5450367",
"0.54317975",
"0.5429202",
"0.5426116",
"0.5400511",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53885794",
"0.535075",
"0.53482664",
"0.53472435",
"0.5343919",
"0.5339771",
"0.53269535"
] |
0.6588992
|
0
|
Opaque metadata extending the node identifier. Envoy will pass this directly to the management server. .google.protobuf.Struct metadata = 3;
|
@java.lang.Override
public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
return getMetadata();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public com.google.protobuf.Struct getMetadata() {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }",
"void addNodeMetadata(int node, String key, String value);",
"public com.google.protobuf.Struct getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata();",
"com.google.protobuf.Struct getMetadataFields();",
"public java.lang.Integer getMetaId();",
"com.cmpe275.grpcComm.MetaData getMetaData();",
"@JsonProperty(\"metadata\")\n @ApiModelProperty(value = \"The metadata for the dialog node.\")\n public Object getMetadata() {\n return metadata;\n }",
"@JsonSetter(\"metadata\")\n public void setMetadata (Object value) {\n this.metadata = value;\n }",
"com.google.protobuf.StructOrBuilder getMetadataFieldsOrBuilder();",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"{\\\"jira\\\":{\\\"issue_id\\\":\\\"value\\\"}}\", value = \"Metadata attached to the incident. Top level values must be objects.\")\n\n public Object getMetadata() {\n return metadata;\n }",
"com.cmpe275.grpcComm.MetaDataOrBuilder getMetaDataOrBuilder();",
"public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {\n if (metadataBuilder_ != null) {\n return metadataBuilder_.getMessageOrBuilder();\n } else {\n return metadata_ == null ?\n com.google.protobuf.Struct.getDefaultInstance() : metadata_;\n }\n }",
"public void setMetadata(PDMetadata meta) {\n/* 557 */ this.stream.setItem(COSName.METADATA, meta);\n/* */ }",
"public interface Metadata<I extends MetadataInfo> {\n\n /** Metadata types */\n public enum MetadataType {\n /* New types must be added to the end of this list */\n TOPOLOGY() {\n @Override\n public String getKey() { return \"Topology\";}\n },\n TABLE() {\n @Override\n public String getKey() { return \"Table\";}\n },\n SECURITY() {\n @Override\n public String getKey() { return \"Security\";}\n };\n\n /**\n * Gets a unique string for this type. This string may be used as a\n * key into a metadata store.\n *\n * @return a unique string\n */\n abstract public String getKey();\n }\n\n /* The sequence number of an newly created metadata, empty object */\n public static final int EMPTY_SEQUENCE_NUMBER = 0;\n\n /**\n * Gets the type of this metadata object.\n *\n * @return the type of this metadata object\n */\n public MetadataType getType();\n\n /**\n * Gets the highest sequence number of this metadata object.\n * Returns -1 if the metadata has not been initialized.\n *\n * @return the highest sequence number of this metadata object\n */\n public int getSequenceNumber();\n\n /**\n * Gets an information object for this metadata. The returned object will\n * include the changes between this object and the metadata at the\n * specified sequence number. If the metadata object can not supply\n * information based on the sequence number an empty metadata information\n * object is returned.\n *\n * @param startSeqNum the inclusive start of the sequence of\n * changes to be included\n * @return a metadata info object\n */\n public I getChangeInfo(int startSeqNum);\n}",
"public Object getMetadata() {\n return this.metadata;\n }",
"com.google.cloud.compute.v1.Metadata getMetadata();",
"private void setMetadata(org.chromium.components.paint_preview.common.proto.PaintPreview.MetadataProto value) {\n value.getClass();\n metadata_ = value;\n bitField0_ |= 0x00000002;\n }",
"@java.lang.Override\n public io.grafeas.v1.Metadata getMetadata() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }",
"com.appscode.api.kubernetes.v1beta2.Meta getMeta();",
"public Map getMetadata() {\n return metadata;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"public GenericMetadata getMetadata()\n {\n // return definition metadata\n GenericMetadata metadata = definition.getMetadata();\n if ((metadata != null) && (metadata.getFields() != null) && !metadata.getFields().isEmpty())\n {\n return metadata;\n }\n\n // return node metadata\n return super.getMetadata();\n }",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"org.apache.calcite.avatica.proto.Responses.RpcMetadataOrBuilder getMetadataOrBuilder();",
"private ServerEntityMetadataPacket() {}",
"public int getMetadata(int meta)\n\t{\n\t\treturn meta;\n\t}",
"@java.lang.Override\n public io.grafeas.v1.MetadataOrBuilder getMetadataOrBuilder() {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n }",
"public ServerEntityMetadataPacket(int entityId, EntityMetadata[] metadata)\r\n/* 19: */ {\r\n/* 20:21 */ this.entityId = entityId;\r\n/* 21:22 */ this.metadata = metadata;\r\n/* 22: */ }",
"public int getMetadata(int meta) \n\t{\n\t\treturn meta;\n\t}",
"<E extends CtElement> E putMetadata(String key, Object val);",
"Metadata getMetaData();",
"private ApiInfo metadata() {\n\t\treturn new ApiInfoBuilder().title(\"# Online Home Decor Store #\")\n\t\t\t\t.description(\"Suppliers and Categories operations are present\").build();\t\n\t}",
"public io.grafeas.v1.Metadata getMetadata() {\n if (metadataBuilder_ == null) {\n return metadata_ == null ? io.grafeas.v1.Metadata.getDefaultInstance() : metadata_;\n } else {\n return metadataBuilder_.getMessage();\n }\n }",
"@Override\r\n\tpublic Map<String, Object> getMetadata() {\n\t\treturn null;\r\n\t}",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"entities.Torrent.NodeIdOrBuilder getNodeOrBuilder();",
"@Override\n\tpublic ContentNodeMetadata getNodeMetadata() {\n\t\treturn null;\n\t}",
"default @org.jetbrains.annotations.Nullable imports.k8s.ObjectMeta getMetadata() {\n return null;\n }",
"com.appscode.api.kubernetes.v1beta2.MetaOrBuilder getMetaOrBuilder();",
"private ApiInfo metaData() {\n return new ApiInfoBuilder()\n .title(\"Spring Boot REST API\")\n .description(\"\\\"Spring Boot REST API for Vertica Developer Training\\\"\")\n .version(\"1.0.0\")\n .license(\"Apache License Version 2.0\")\n .licenseUrl(\"https://www.apache.org/licenses/LICENSE-2.0\\\"\")\n .contact(new Contact(\"Thingtrack\", \"https://www.thingtrack.com\", \"[email protected]\"))\n .build();\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"public org.apache.calcite.avatica.proto.Responses.RpcMetadata getMetadata() {\n return metadata_ == null ? org.apache.calcite.avatica.proto.Responses.RpcMetadata.getDefaultInstance() : metadata_;\n }",
"@Override\n \t\t\t\tpublic String getMetadataGraphName() {\n \t\t\t\t\treturn \"http://opendata.cz/data/metadata\";\n \t\t\t\t}",
"private String generateMetadata() {\n ServiceMetadata metadata = new ServiceMetadata();\n\n // Populate metadata using setX() methods\n metadata.setName(this.getClass().getName());\n metadata.setAllow(Discriminators.Uri.ANY);\n metadata.setDescription(\"Mallet Topic Modeling Trainer\");\n metadata.setVersion(\"1.0.0-SNAPSHOT\");\n metadata.setVendor(\"http://www.lappsgrid.org\");\n metadata.setLicense(Discriminators.Uri.APACHE2);\n\n // JSON for input information\n IOSpecification requires = new IOSpecification();\n requires.addFormat(Discriminators.Uri.TEXT); // Plain text (form)\n requires.addLanguage(\"en\"); // Source language\n\n // JSON for output information\n IOSpecification produces = new IOSpecification();\n produces.addFormat(Discriminators.Uri.LAPPS); // LIF (form)\n produces.addLanguage(\"en\"); // Target language\n\n // Embed I/O metadata JSON objects\n metadata.setRequires(requires);\n metadata.setProduces(produces);\n\n // Serialize the metadata into LEDS string and return\n Data<ServiceMetadata> data = new Data<>(Discriminators.Uri.META, metadata);\n return data.asPrettyJson();\n }",
"@Nullable\n @Generated\n @Selector(\"metadata\")\n public native NSDictionary<?, ?> metadata();",
"@JsonGetter(\"metadata\")\n public Object getMetadata ( ) {\n return this.metadata;\n }",
"@Override\n public void addMetadata(final OAtomicOperationMetadata<?> metadata) {\n this.metadata.put(metadata.getKey(), metadata);\n }",
"com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();",
"Map<String, String> getCustomMetadata();"
] |
[
"0.6588992",
"0.63584673",
"0.6222809",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.59329647",
"0.5921322",
"0.5868876",
"0.58393437",
"0.5783557",
"0.57758653",
"0.5739463",
"0.57151175",
"0.5708413",
"0.5694426",
"0.56610376",
"0.5620473",
"0.5613854",
"0.5605453",
"0.5598907",
"0.55956537",
"0.5593293",
"0.55780166",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.55703175",
"0.5569077",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.5554447",
"0.55535626",
"0.5526694",
"0.5516967",
"0.55146444",
"0.55129117",
"0.5481047",
"0.54806495",
"0.5459189",
"0.5456537",
"0.54506785",
"0.5450367",
"0.5450367",
"0.54317975",
"0.5429202",
"0.5426116",
"0.5400511",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53990525",
"0.53885794",
"0.535075",
"0.53482664",
"0.53472435",
"0.5343919",
"0.5339771",
"0.53269535"
] |
0.58489925
|
19
|
Locality specifying where the Envoy instance is running. .envoy.config.core.v3.Locality locality = 4;
|
@java.lang.Override
public boolean hasLocality() {
return locality_ != null;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.Locality getLocality() {\n return locality_ == null ? io.envoyproxy.envoy.config.core.v3.Locality.getDefaultInstance() : locality_;\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder getLocalityOrBuilder() {\n return getLocality();\n }",
"public io.envoyproxy.envoy.config.core.v3.Locality getLocality() {\n if (localityBuilder_ == null) {\n return locality_ == null ? io.envoyproxy.envoy.config.core.v3.Locality.getDefaultInstance() : locality_;\n } else {\n return localityBuilder_.getMessage();\n }\n }",
"public String getLocality() {\r\n return locality;\r\n }",
"public io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder getLocalityOrBuilder() {\n if (localityBuilder_ != null) {\n return localityBuilder_.getMessageOrBuilder();\n } else {\n return locality_ == null ?\n io.envoyproxy.envoy.config.core.v3.Locality.getDefaultInstance() : locality_;\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Locality.Builder getLocalityBuilder() {\n \n onChanged();\n return getLocalityFieldBuilder().getBuilder();\n }",
"default SourceLocality getSourceLocality() {\n return SourceLocality.UNKNOWN;\n }",
"public boolean hasLocality() {\n return localityBuilder_ != null || locality_ != null;\n }",
"public Builder setLocality(io.envoyproxy.envoy.config.core.v3.Locality value) {\n if (localityBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n locality_ = value;\n onChanged();\n } else {\n localityBuilder_.setMessage(value);\n }\n\n return this;\n }",
"@Override\r\n\tpublic List<Locality> getLocality() {\n\t\treturn customerdao.getLocality();\r\n\t}",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"Issued by the same country that the phone number belongs to\", value = \"Specifies geography-based acceptance criteria\")\n @JsonProperty(JSON_PROPERTY_LOCALITY_LIMIT)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getLocalityLimit() {\n return localityLimit;\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.Locality, io.envoyproxy.envoy.config.core.v3.Locality.Builder, io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder> \n getLocalityFieldBuilder() {\n if (localityBuilder_ == null) {\n localityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.Locality, io.envoyproxy.envoy.config.core.v3.Locality.Builder, io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder>(\n getLocality(),\n getParentForChildren(),\n isClean());\n locality_ = null;\n }\n return localityBuilder_;\n }",
"public java.lang.String getPresentity(){\r\n return localPresentity;\r\n }",
"public void setPresentity(java.lang.String param){\r\n \r\n if (param != null){\r\n //update the setting tracker\r\n localPresentityTracker = true;\r\n } else {\r\n localPresentityTracker = false;\r\n \r\n }\r\n \r\n this.localPresentity=param;\r\n \r\n\r\n }",
"public TFileLocality getTFileLocality() {\n\n\t\treturn this.fileLocality;\n\t}",
"public boolean getUseLocal() {return this.databaseConfig.getProperty(\"useLocal\").equals(\"true\");}",
"default String getLocalNodeName() {\n return \"local\";\n }",
"protected void testForLocality(URI modelUri) throws QueryException {\n String protocol = modelUri.getScheme();\n if (!DistributedResolverFactory.getProtocols().contains(protocol)) {\n throw new IllegalStateException(\"Bad Protocol sent to distributed resolver.\");\n }\n String host = modelUri.getHost();\n if (ServerInfo.getHostnameAliases().contains(host)) {\n // on the same machine. Check if the server is different.\n if (ServerInfo.getServerURI().getPath().equals(modelUri.getPath())) {\n throw new QueryException(\"Attempt to resolve a local model through the distributed resolver.\");\n }\n }\n }",
"@Local\npublic interface LocalPlayerService extends PlayerService {\n\n}",
"public void setNumberLocalCPUs(int n) {\n this.m_LocalCPUs = n;\n }",
"public interface LocalityService {\n Locality saveLocality(RbcLocality rbcLocality);\n Integer getMaxId();\n}",
"public boolean isMCSiteLocal() {\n\t\treturn javaNetAddress.isMCSiteLocal();\n\t}",
"public Builder mergeLocality(io.envoyproxy.envoy.config.core.v3.Locality value) {\n if (localityBuilder_ == null) {\n if (locality_ != null) {\n locality_ =\n io.envoyproxy.envoy.config.core.v3.Locality.newBuilder(locality_).mergeFrom(value).buildPartial();\n } else {\n locality_ = value;\n }\n onChanged();\n } else {\n localityBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"public void setTFileLocality(TFileLocality loc) {\n\n\t\tthis.fileLocality = loc;\n\t}",
"public boolean isLocal()\n {\n return true;\n }",
"@RequestLine(\"GET /status\")\n Status getNeustarNetworkStatus();",
"protected void setupLocal() {}",
"public boolean isLocal() {\n return mIsLocal;\n }",
"public boolean isLocal() {\n return local;\n }",
"public boolean isLocal();",
"public java.lang.String getCxlocalite() {\r\r\r\r\r\r\r\n return cxlocalite;\r\r\r\r\r\r\r\n }",
"public Builder setLocality(\n io.envoyproxy.envoy.config.core.v3.Locality.Builder builderForValue) {\n if (localityBuilder_ == null) {\n locality_ = builderForValue.build();\n onChanged();\n } else {\n localityBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }",
"Map<Locality, LocalityLbEndpoints> getLocalityLbEndpointsMap() {\n return Collections.unmodifiableMap(localityLbEndpointsMap);\n }",
"public String getLocality(Context context, double latitude, double longitude, int maxAddresses) {\n List<Address> addresses = getGeocoderAddress(context, latitude, longitude, maxAddresses);\n\n if (addresses != null && addresses.size() > 0) {\n Address address = addresses.get(0);\n String locality = address.getLocality();\n\n return locality;\n }\n else {\n return null;\n }\n }",
"public void setUseLocal(boolean useLocal) {this.databaseConfig.setProperty(\"useLocal\", Boolean.toString(useLocal));}",
"public Locus3f getLocus() {\r\n return locus;\r\n }",
"public static Site getLocal() {\r\n return _local;\r\n }",
"public void setLocal(boolean isLocal);",
"@Override\n public int runWithConfig(EnvoyConfiguration envoyConfiguration, String logLevel) {\n return envoyEngine.runWithConfig(envoyConfiguration, logLevel);\n }",
"@Override\n public ArrayList<ICatLocDetail> getLocalities() {\n return localities;\n }",
"public void setLocalFlag(String value) {\n setAttributeInternal(LOCALFLAG, value);\n }",
"public void setLocalFlag(String value) {\n setAttributeInternal(LOCALFLAG, value);\n }",
"public World getClientWorld()\n {\n return null;\n }",
"public String getKey() { return \"thaumcraft.CLOUD\"; }",
"@ImplementedBy(WhirrClusterImpl.class)\npublic interface WhirrCluster extends Entity, Startable {\n\n @SetFromFlag(\"recipe\")\n public static final BasicConfigKey<String> RECIPE = new BasicConfigKey<String>(\n String.class, \"whirr.recipe\", \"Apache Whirr cluster recipe\");\n\n public static final BasicAttributeSensor<String> CLUSTER_NAME = new BasicAttributeSensor<String>(\n String.class, \"whirr.cluster.name\", \"Name of the Whirr cluster\");\n\n /**\n * Apache Whirr can only start and manage a cluster in a single location\n *\n * @param locations\n */\n @Override\n void start(Collection<? extends Location> locations);\n\n @Beta\n public ClusterSpec getClusterSpec();\n\n @Beta\n public Cluster getCluster();\n\n @Beta\n @VisibleForTesting\n public ClusterController getController();\n}",
"@Local\r\npublic interface CiviliteManagerLocal\r\n extends CiviliteManager\r\n{\r\n\r\n\r\n}",
"@Override\n public boolean isSystemCommunity() {\n return false;\n }",
"private void configureWorlds(){\n switch (gameWorld){\n case NORMAL:\n world.setPVP(true);\n world.setKeepSpawnInMemory(false);\n world.setAutoSave(false);\n world.setStorm(false);\n world.setThundering(false);\n world.setAnimalSpawnLimit((int) (mobLimit * 0.45));\n world.setMonsterSpawnLimit((int) (mobLimit * 0.45));\n world.setWaterAnimalSpawnLimit((int) (mobLimit * 0.1));\n world.setDifficulty(Difficulty.HARD);\n break;\n case NETHER:\n world.setPVP(true);\n world.setAutoSave(false);\n world.setKeepSpawnInMemory(false);\n world.setStorm(false);\n world.setThundering(false);\n world.setMonsterSpawnLimit((int) (mobLimit * 0.45));\n world.setAnimalSpawnLimit((int) (mobLimit * 0.45));\n world.setWaterAnimalSpawnLimit((int) (mobLimit * 0.1));\n world.setDifficulty(Difficulty.HARD);\n break;\n }\n }",
"public final String getUnity() {\n\t\treturn unity;\n\t}",
"@Override\n public Map getUniverseOrder() {\n return null;\n }",
"public String getWorldName() {\n\t\treturn world;\n\t}",
"public int getMobilityFlag()\n\t {\n\t return 1;\n\t }",
"public static void main(String[] args) {\n\t\t\n\t\tInteger localNodeId = Integer.valueOf(args[0]);\n\t\tInteger localNodeMode = 0;\n\t\t\n\t\tNodeConfiguration localNodeConfig = null;\n\t\t\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new FileReader (\"all_nodes.cfg\"));\n\t\t\tString line;\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tString[] fields = line.split(\",\");\n\t\t\t\tif (fields.length == 4) {\n\t\t\t\t\tInteger nodeId = Integer.valueOf(fields[0].trim());\n\t\t\t\t\tString host = fields[1].trim();\n\t\t\t\t\tInteger port = Integer.valueOf(fields[2].trim());\n\t\t\t\t\tInteger nodeMode = Integer.valueOf(fields[3].trim());\n\t\t\t\t\t\n\t\t\t\t\tNodeConfiguration nodeConfig = new NodeConfiguration(host, port, nodeId);\n\t\t\t\t\t//Server Node Model\n\t\t\t\t\tif (nodeMode == 0) {\n\t\t\t\t\t\tMain.getAllServerNodes().put(nodeId,nodeConfig);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tMain.getAllClientNodes().put(nodeId,nodeConfig);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//Add node configuration to the global storage\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tif (nodeId.equals(localNodeId)) {\n\t\t\t\t\t\tlocalNodeConfig = nodeConfig;\n\t\t\t\t\t\tlocalNodeMode = nodeMode;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treader.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace(System.err);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace(System.err);\n\t\t}\n\t\t\n\t\tSystem.out.println(\"Node Id :\" + localNodeId + \" read \" + Main.getAllServerNodes().size() + \" server nodes \" + Main.getAllClientNodes().size() + \" client nodes.\");\n\n\t\tif (localNodeConfig != null || localNodeId.equals(-1)) {\n\t\t\t\n\t\t\tif (localNodeId.equals(-1)) {\n\t\t\t\tServerControlUtil serverControl = new ServerControlUtil();\n\t\t\t\tserverControl.simulate();\n\t\t\t\t\n\t\t\t}else { \t\t\t\n\t\t\t\tif (localNodeMode.equals(0)) {\n\t\t\t\t\tContentServer localNode;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tlocalNode = new ContentServer(localNodeConfig);\n\t\t\t\t\t\tlocalNode.start();\n\t\t\t\t\t} catch (UnknownHostException 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} catch (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\t\t} else if (localNodeMode.equals(2)){\n\t\t\t\t\tAutomatedClient localNode;\n\t\t\t\t\tlocalNode = new AutomatedClient(localNodeConfig);\n\t\t\t\t\t//InteractiveClient localNode;\n\t\t\t\t\t//localNode = new InteractiveClient(localNodeConfig);\n\t\t\t\t\tInteger objectId = 0;\n\t\t\t\t\t\n\t\t\t\t\tif (args.length == 2) {\n\t\t\t\t\t\tobjectId = Integer.valueOf(args[1]);\n\t\t\t\t\t}\n\t\t\t\t\tlocalNode.simulate(objectId);\n\t\t\t\t} else {\n\t\t\t\t\t//ContentClient localNode;\n\t\t\t\t\t//localNode = new ContentClient(localNodeConfig);\n\t\t\t\t\tInteractiveClient localNode;\n\t\t\t\t\tlocalNode = new InteractiveClient(localNodeConfig);\n\t\t\t\t\tlocalNode.simulate();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean isLocal()\n {\n try\n {\n Member member = getMember();\n return member == null || member.equals(\n getService().getCluster().getLocalMember());\n }\n catch (RuntimeException e)\n {\n // the local services are stopped\n // there is no good answer...\n return true;\n }\n }",
"public boolean isMCNodeLocal() {\n\t\treturn javaNetAddress.isMCNodeLocal();\n\t}",
"IPGeolocationLevel getIPGeolocationLevel();",
"@Override\n\t\tpublic void calc(Env env)\n\t\t{\n\t\t\tL2PcInstance pc = (L2PcInstance) env.player;\n\t\t\tif (pc != null)\n\t\t\t{\n\t\t\t\tenv.value += pc.getHennaStatLUC();\n\t\t\t}\n\t\t}",
"@Override\n public String localStatus(DeviceId deviceId) {\n return null;\n }",
"public ESLocalNodeClient() {\n final Settings settings = ImmutableSettings.settingsBuilder()\n .put(\"node.name\", \"test1\").build();\n\n node = new NodeBuilder().settings(settings)\n .clusterName(\"mycluster1\")\n // .local(true)\n //.client(true)\n .build().start();\n }",
"public interface LocalitySearchRepository extends ElasticsearchRepository<Locality, Long> {\n}",
"public java.lang.String getIV_Local_currency() {\r\n return IV_Local_currency;\r\n }",
"Properties defaultTelemetryConfig();",
"public boolean isMCOrgLocal() {\n\t\treturn javaNetAddress.isMCOrgLocal();\n\t}",
"public void setLocalEID() {\n localPlayer.eid = LOCAL_PLAYER_EID;\n addEntity(localPlayer);\n }",
"public CasualtyControler(Local local) {\n this.terrain = local.getTerreno();\n }",
"public Entry[] local_vec(char area) {\n // Get local vec\n Entry[] lvec = neig.local_vec(true, area);\n if (lvec == null) { // No local information ??\n win.Log(\"Internal error in routing.local_vec\\n\");\n return null;\n }\n\n // This code is incomplete for the case where multiple areas coexist\n // When sending to non-zero areas, the core('0') routes must be sent\n // excluding routes that may produce loops!\n // ...\n\n return lvec; \n }",
"public interface BitcoinNetworkConfiguration {\n /**\n * Network that we are using as Default in the platform\n */\n public static final NetworkParameters DEFAULT_NETWORK_PARAMETERS = RegTestParams.get();\n\n /**\n * RegTest client configuration\n */\n public static final String BITCOIN_FULL_NODE_1_IP = \"52.32.106.35\";\n public static final int BITCOIN_FULL_NODE_1_PORT = 19020;\n public static final String BITCOIN_FULL_NODE_2_IP = \"52.34.184.168\";\n public static final int BITCOIN_FULL_NODE_2_PORT = 19030;\n\n /**\n * Agent name and version\n */\n public static final String USER_AGENT_NAME = \"Fermat Agent\";\n public static final String USER_AGENT_VERSION =\"2.1.0\";\n\n /**\n * amount of blocks depth to consider transaction IRReversible\n */\n public static final int IRREVERSIBLE_BLOCK_DEPTH = 3;\n\n /**\n * Amount of Timeout minutes for broadcasting transactions\n */\n public static final int TRANSACTION_BROADCAST_TIMEOUT = 5;\n}",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.\")\n\n public Boolean getClusterScope() {\n return clusterScope;\n }",
"public final void setUnity(final String cUnity) {\n\t\tthis.unity = cUnity;\n\t}",
"public boolean isLocal() {\n\t\treturn _local;\n\t}",
"public boolean IsLocal() {\r\n\t\treturn BrickFinder.getDefault().isLocal();\r\n\t}",
"public void setSecrityNo(java.lang.String param) {\r\n localSecrityNoTracker = param != null;\r\n\r\n this.localSecrityNo = param;\r\n }",
"public static float getNearbyScope(){\n return NEARBY_SCOPE_RADIUS;\n }",
"public double getLocalSimilarityThreshold() {\n return localSimilarityThreshold;\n }",
"public void setNetStatus(java.lang.String param) {\r\n localNetStatusTracker = param != null;\r\n\r\n this.localNetStatus = param;\r\n }",
"@Local\r\npublic interface EvaluationStageManagerLocal\r\n extends EvaluationStageManager\r\n{\r\n\r\n\r\n}",
"public MyAgent(World world)\n {\n w = world; \n }",
"public void setLocalStore(String localStore) {\n this.localStore = localStore;\n }",
"@Override\n\tpublic boolean isLocal() {\n\t\treturn heldObj.isLocal();\n\t}",
"public static void setWorld(World aWorld)\r\n/* */ {\r\n\t \tlogger.info(count++ + \" About to setWotld : \" + \"Agent\");\r\n/* 43 */ \tworldForAgent = aWorld;\r\n/* */ }",
"public void setCxlocalite(java.lang.String cxlocalite) {\r\r\r\r\r\r\r\n this.cxlocalite = cxlocalite;\r\r\r\r\r\r\r\n }",
"@Local\r\npublic interface BonLivraisonManagerLocal\r\n extends BonLivraisonManager\r\n{\r\n\r\n\r\n}",
"public interface GeolocationConfiguration extends Configuration {\n\n /**\n * Default geolocation level to use when none is specified.\n *\n * @return geolocation level to use when none is specified.\n */\n IPGeolocationLevel getIPGeolocationLevel();\n\n /**\n * Indicates whether database must be cached in memory or not.\n * When caching is enabled, performance increases significantly at the\n * expense of an overhead in memory of approximately 2MB.\n *\n * @return true if database must be cached in memory, false otherwise.\n */\n boolean isCachingEnabled();\n\n\n /**\n * Indicates if IP geolocation country database is embedded within\n * application code. If true, then the configured embedded resource will be\n * copied into provided database file (erasing any previous data), otherwise\n * provided external database file will simply be used for geolocation.\n * By default the Maxmind geolite database will be used as an embedded\n * resource.\n *\n * @return true if IP geolocation country database is embedded and copied\n * into provided database file, false if database is simply read from\n * provided file.\n */\n boolean isIPGeolocationCountryDatabaseEmbedded();\n\n /**\n * If provided, the embedded resource will be used to obtain the database\n * and copy it into the file system on provided location (and erasing any\n * previous data).\n * If not provided, but an embedded database is required, then the default\n * embedded resource will be used instead.\n * By default no embedded resource will be specified, and since an embedded\n * database will be used, it will be use the maxmind geolite database\n * embedded in the code.\n *\n * @return embedded resource containing IP geolocation country database.\n */\n String getIPGeolocationCountryEmbeddedResource();\n\n /**\n * File where country IP geolocation database is stored locally.\n * If no embedded database is used, then this file will be used to read the\n * database, if an embedded database is used, then the embedded resource\n * will be copied into this location and the database will be read from\n * there.\n * Notice that Country IP geolocation will only be enabled if a location is\n * available.\n *\n * @return location where country IP geolocation database will be stored\n * locally.\n */\n String getIPGeolocationCountryDatabaseFile();\n\n /**\n * Indicates if IP geolocation city database is embedded within\n * application code. If true, then the configured embedded resource will be\n * copied into provided database file (erasing any previous data), otherwise\n * provided external database file will simply be used for geolocation.\n * By default the Maxmind geolite database will be used as an embedded\n * resource.\n *\n * @return true if IP geolocation city database is embedded and copied\n * into provided database file, false if database is simply read from\n * provided file.\n */\n boolean isIPGeolocationCityDatabaseEmbedded();\n\n /**\n * If provided, the embedded resource will be used to obtain the database\n * and copy it into the file system on provided location (and erasing any\n * previous data).\n * If not provided, but an embedded database is required, then the default\n * embedded resource will be used instead.\n * By default no embedded resource will be specified, and since an embedded\n * database will be used, it will be use the maxmind geolite database\n * embedded in the code.\n *\n * @return embedded resource containing IP geolocation city database.\n */\n String getIPGeolocationCityEmbeddedResource();\n\n /**\n * File where city IP geolocation database is stored locally.\n * If no embedded database is used, then this file will be used to read the\n * database, if an embedded database is used, then the embedded resource\n * will be copied into this location and the database will be read from\n * there.\n * Notice that City IP geolocation will only be enabled if a location is\n * available.\n *\n * @return location where city IP geolocation database will be stored\n * locally.\n */\n String getIPGeolocationCityDatabaseFile();\n}",
"public String getCorpCity() {\n return corpCity;\n }",
"public void setIV_Local_currency(java.lang.String IV_Local_currency) {\r\n this.IV_Local_currency = IV_Local_currency;\r\n }",
"public String getLocal() {\n\t\treturn this.local;\n\t}",
"public boolean affordCity() {\n \t\treturn (FREE_BUILD || cities < MAX_CITIES\n \t\t\t\t&& getResources(Type.GRAIN) >= 2 && getResources(Type.ORE) >= 3);\n \t}",
"public abstract String getWorldType();",
"public String getWorldName()\n {\n return levelName;\n }",
"public String getReceiverCity() {\n return receiverCity;\n }",
"public int getWorldLimit() {\n\t\treturn worldLimit;\n\t}",
"World getWorld();",
"public double getnedLightLocalSimilarityThreshold() {\n return nedLightLocalSimilarityThreshold;\n }",
"@Override\n\tpublic void preStart() {\n\t\tcluster.subscribe(getSelf(), MemberUp.class);\n\t\tif (WorkerMain.role.equals(\"kvm\")) {\n\t\t\tSystem.out.println(\"generate KVMActor\");\n\t\t\tVMActor = getContext().actorOf(new RoundRobinPool(5).props(Props.create(KVMActor.class)), \"VMActor\");\n\t\t} else {\n\t\t\tSystem.out.println(\"generate LXDActor\");\n\t\t\tVMActor = getContext().actorOf(new RoundRobinPool(5).props(Props.create(LXDActor.class)), \"LXDActor\");\n\t\t}\n\n\t\tString actorURL = cluster.selfAddress().toString() + \"/user/worker\";\n\t\tUtil.write(\"actor.url\", actorURL);\n\t}",
"public Local() {\n }",
"public boolean isChinaMode() {\n return false;\n }",
"public void initVuforia() {\n VuforiaLocalizer.Parameters parameters = new VuforiaLocalizer.Parameters();\n\n parameters.vuforiaLicenseKey = VUFORIA_KEY;\n parameters.cameraDirection = CameraDirection.FRONT;\n\n // Instantiate the Vuforia engine\n vuforia = ClassFactory.getInstance().createVuforia(parameters);\n\n // Loading trackables is not necessary for the Tensor Flow Object Detection engine.\n }",
"private void comenzarLocalizacion()\n {\n \tlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);\n \t\n \t//Obtiene Ultima Ubicacion\n \t//Location loc = locManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);\n \t \t\n \t//Nos registramos para recibir actualizaciones de la posici�n\n \tlocListener = new LocationListener() {\n\t \tpublic void onLocationChanged(Location location) {\n\t \t\t\n\t \t}\n\t \tpublic void onProviderDisabled(String provider){\n\t \t\t\n\t \t}\n\t \tpublic void onProviderEnabled(String provider){\n\t \t\n\t \t}\n\t \tpublic void onStatusChanged(String provider, int status, Bundle extras){\n\t \t\n\t \t\t\n\t \t}\n \t};\n \t\n \tlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 30000, 0, locListener);\n }",
"public String getVicinity() {\n return vicinity;\n }",
"public String getLogLevel() {\n return agentConfig.getLogLevel();\n }"
] |
[
"0.73800063",
"0.70843536",
"0.68856007",
"0.66398156",
"0.66330975",
"0.6037491",
"0.5746431",
"0.5714474",
"0.54952824",
"0.54041076",
"0.5354622",
"0.5313924",
"0.5157565",
"0.49859104",
"0.48669577",
"0.48558584",
"0.4847188",
"0.4847085",
"0.47803363",
"0.47735325",
"0.47544146",
"0.47518104",
"0.47442648",
"0.46470064",
"0.45736665",
"0.45422107",
"0.45267087",
"0.451762",
"0.45066643",
"0.45037964",
"0.45019767",
"0.44982985",
"0.4494034",
"0.44899854",
"0.44894376",
"0.44851077",
"0.44769776",
"0.4476368",
"0.44572625",
"0.44503656",
"0.44307473",
"0.44307473",
"0.43828493",
"0.43762186",
"0.4372435",
"0.43660054",
"0.4363153",
"0.4359997",
"0.43575758",
"0.43490443",
"0.4348522",
"0.43466443",
"0.43305385",
"0.43283302",
"0.43265676",
"0.43113783",
"0.43113142",
"0.43096212",
"0.43030024",
"0.42967993",
"0.42901003",
"0.4289497",
"0.4280252",
"0.42683142",
"0.42683125",
"0.42651236",
"0.42645562",
"0.42555895",
"0.4254902",
"0.4247492",
"0.42466325",
"0.42443967",
"0.4237479",
"0.42370296",
"0.4235403",
"0.4229763",
"0.42278573",
"0.4212887",
"0.42122287",
"0.42118618",
"0.4211256",
"0.4201028",
"0.4194652",
"0.4192919",
"0.41877422",
"0.41856566",
"0.41797417",
"0.41796833",
"0.41704646",
"0.41660643",
"0.41594183",
"0.4147641",
"0.41436243",
"0.41423413",
"0.41318747",
"0.41317576",
"0.41294664",
"0.412428",
"0.41124457",
"0.411034"
] |
0.58495694
|
6
|
Locality specifying where the Envoy instance is running. .envoy.config.core.v3.Locality locality = 4;
|
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.Locality getLocality() {
return locality_ == null ? io.envoyproxy.envoy.config.core.v3.Locality.getDefaultInstance() : locality_;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder getLocalityOrBuilder() {\n return getLocality();\n }",
"public io.envoyproxy.envoy.config.core.v3.Locality getLocality() {\n if (localityBuilder_ == null) {\n return locality_ == null ? io.envoyproxy.envoy.config.core.v3.Locality.getDefaultInstance() : locality_;\n } else {\n return localityBuilder_.getMessage();\n }\n }",
"public String getLocality() {\r\n return locality;\r\n }",
"public io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder getLocalityOrBuilder() {\n if (localityBuilder_ != null) {\n return localityBuilder_.getMessageOrBuilder();\n } else {\n return locality_ == null ?\n io.envoyproxy.envoy.config.core.v3.Locality.getDefaultInstance() : locality_;\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Locality.Builder getLocalityBuilder() {\n \n onChanged();\n return getLocalityFieldBuilder().getBuilder();\n }",
"@java.lang.Override\n public boolean hasLocality() {\n return locality_ != null;\n }",
"default SourceLocality getSourceLocality() {\n return SourceLocality.UNKNOWN;\n }",
"public boolean hasLocality() {\n return localityBuilder_ != null || locality_ != null;\n }",
"public Builder setLocality(io.envoyproxy.envoy.config.core.v3.Locality value) {\n if (localityBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n locality_ = value;\n onChanged();\n } else {\n localityBuilder_.setMessage(value);\n }\n\n return this;\n }",
"@Override\r\n\tpublic List<Locality> getLocality() {\n\t\treturn customerdao.getLocality();\r\n\t}",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"Issued by the same country that the phone number belongs to\", value = \"Specifies geography-based acceptance criteria\")\n @JsonProperty(JSON_PROPERTY_LOCALITY_LIMIT)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getLocalityLimit() {\n return localityLimit;\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.Locality, io.envoyproxy.envoy.config.core.v3.Locality.Builder, io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder> \n getLocalityFieldBuilder() {\n if (localityBuilder_ == null) {\n localityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.Locality, io.envoyproxy.envoy.config.core.v3.Locality.Builder, io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder>(\n getLocality(),\n getParentForChildren(),\n isClean());\n locality_ = null;\n }\n return localityBuilder_;\n }",
"public java.lang.String getPresentity(){\r\n return localPresentity;\r\n }",
"public void setPresentity(java.lang.String param){\r\n \r\n if (param != null){\r\n //update the setting tracker\r\n localPresentityTracker = true;\r\n } else {\r\n localPresentityTracker = false;\r\n \r\n }\r\n \r\n this.localPresentity=param;\r\n \r\n\r\n }",
"public TFileLocality getTFileLocality() {\n\n\t\treturn this.fileLocality;\n\t}",
"public boolean getUseLocal() {return this.databaseConfig.getProperty(\"useLocal\").equals(\"true\");}",
"default String getLocalNodeName() {\n return \"local\";\n }",
"protected void testForLocality(URI modelUri) throws QueryException {\n String protocol = modelUri.getScheme();\n if (!DistributedResolverFactory.getProtocols().contains(protocol)) {\n throw new IllegalStateException(\"Bad Protocol sent to distributed resolver.\");\n }\n String host = modelUri.getHost();\n if (ServerInfo.getHostnameAliases().contains(host)) {\n // on the same machine. Check if the server is different.\n if (ServerInfo.getServerURI().getPath().equals(modelUri.getPath())) {\n throw new QueryException(\"Attempt to resolve a local model through the distributed resolver.\");\n }\n }\n }",
"@Local\npublic interface LocalPlayerService extends PlayerService {\n\n}",
"public void setNumberLocalCPUs(int n) {\n this.m_LocalCPUs = n;\n }",
"public interface LocalityService {\n Locality saveLocality(RbcLocality rbcLocality);\n Integer getMaxId();\n}",
"public boolean isMCSiteLocal() {\n\t\treturn javaNetAddress.isMCSiteLocal();\n\t}",
"public Builder mergeLocality(io.envoyproxy.envoy.config.core.v3.Locality value) {\n if (localityBuilder_ == null) {\n if (locality_ != null) {\n locality_ =\n io.envoyproxy.envoy.config.core.v3.Locality.newBuilder(locality_).mergeFrom(value).buildPartial();\n } else {\n locality_ = value;\n }\n onChanged();\n } else {\n localityBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"public void setTFileLocality(TFileLocality loc) {\n\n\t\tthis.fileLocality = loc;\n\t}",
"public boolean isLocal()\n {\n return true;\n }",
"@RequestLine(\"GET /status\")\n Status getNeustarNetworkStatus();",
"protected void setupLocal() {}",
"public boolean isLocal() {\n return mIsLocal;\n }",
"public boolean isLocal() {\n return local;\n }",
"public boolean isLocal();",
"public java.lang.String getCxlocalite() {\r\r\r\r\r\r\r\n return cxlocalite;\r\r\r\r\r\r\r\n }",
"public Builder setLocality(\n io.envoyproxy.envoy.config.core.v3.Locality.Builder builderForValue) {\n if (localityBuilder_ == null) {\n locality_ = builderForValue.build();\n onChanged();\n } else {\n localityBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }",
"Map<Locality, LocalityLbEndpoints> getLocalityLbEndpointsMap() {\n return Collections.unmodifiableMap(localityLbEndpointsMap);\n }",
"public String getLocality(Context context, double latitude, double longitude, int maxAddresses) {\n List<Address> addresses = getGeocoderAddress(context, latitude, longitude, maxAddresses);\n\n if (addresses != null && addresses.size() > 0) {\n Address address = addresses.get(0);\n String locality = address.getLocality();\n\n return locality;\n }\n else {\n return null;\n }\n }",
"public void setUseLocal(boolean useLocal) {this.databaseConfig.setProperty(\"useLocal\", Boolean.toString(useLocal));}",
"public Locus3f getLocus() {\r\n return locus;\r\n }",
"public static Site getLocal() {\r\n return _local;\r\n }",
"public void setLocal(boolean isLocal);",
"@Override\n public int runWithConfig(EnvoyConfiguration envoyConfiguration, String logLevel) {\n return envoyEngine.runWithConfig(envoyConfiguration, logLevel);\n }",
"@Override\n public ArrayList<ICatLocDetail> getLocalities() {\n return localities;\n }",
"public void setLocalFlag(String value) {\n setAttributeInternal(LOCALFLAG, value);\n }",
"public void setLocalFlag(String value) {\n setAttributeInternal(LOCALFLAG, value);\n }",
"public World getClientWorld()\n {\n return null;\n }",
"public String getKey() { return \"thaumcraft.CLOUD\"; }",
"@ImplementedBy(WhirrClusterImpl.class)\npublic interface WhirrCluster extends Entity, Startable {\n\n @SetFromFlag(\"recipe\")\n public static final BasicConfigKey<String> RECIPE = new BasicConfigKey<String>(\n String.class, \"whirr.recipe\", \"Apache Whirr cluster recipe\");\n\n public static final BasicAttributeSensor<String> CLUSTER_NAME = new BasicAttributeSensor<String>(\n String.class, \"whirr.cluster.name\", \"Name of the Whirr cluster\");\n\n /**\n * Apache Whirr can only start and manage a cluster in a single location\n *\n * @param locations\n */\n @Override\n void start(Collection<? extends Location> locations);\n\n @Beta\n public ClusterSpec getClusterSpec();\n\n @Beta\n public Cluster getCluster();\n\n @Beta\n @VisibleForTesting\n public ClusterController getController();\n}",
"@Local\r\npublic interface CiviliteManagerLocal\r\n extends CiviliteManager\r\n{\r\n\r\n\r\n}",
"@Override\n public boolean isSystemCommunity() {\n return false;\n }",
"private void configureWorlds(){\n switch (gameWorld){\n case NORMAL:\n world.setPVP(true);\n world.setKeepSpawnInMemory(false);\n world.setAutoSave(false);\n world.setStorm(false);\n world.setThundering(false);\n world.setAnimalSpawnLimit((int) (mobLimit * 0.45));\n world.setMonsterSpawnLimit((int) (mobLimit * 0.45));\n world.setWaterAnimalSpawnLimit((int) (mobLimit * 0.1));\n world.setDifficulty(Difficulty.HARD);\n break;\n case NETHER:\n world.setPVP(true);\n world.setAutoSave(false);\n world.setKeepSpawnInMemory(false);\n world.setStorm(false);\n world.setThundering(false);\n world.setMonsterSpawnLimit((int) (mobLimit * 0.45));\n world.setAnimalSpawnLimit((int) (mobLimit * 0.45));\n world.setWaterAnimalSpawnLimit((int) (mobLimit * 0.1));\n world.setDifficulty(Difficulty.HARD);\n break;\n }\n }",
"public final String getUnity() {\n\t\treturn unity;\n\t}",
"@Override\n public Map getUniverseOrder() {\n return null;\n }",
"public String getWorldName() {\n\t\treturn world;\n\t}",
"public int getMobilityFlag()\n\t {\n\t return 1;\n\t }",
"public static void main(String[] args) {\n\t\t\n\t\tInteger localNodeId = Integer.valueOf(args[0]);\n\t\tInteger localNodeMode = 0;\n\t\t\n\t\tNodeConfiguration localNodeConfig = null;\n\t\t\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new FileReader (\"all_nodes.cfg\"));\n\t\t\tString line;\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tString[] fields = line.split(\",\");\n\t\t\t\tif (fields.length == 4) {\n\t\t\t\t\tInteger nodeId = Integer.valueOf(fields[0].trim());\n\t\t\t\t\tString host = fields[1].trim();\n\t\t\t\t\tInteger port = Integer.valueOf(fields[2].trim());\n\t\t\t\t\tInteger nodeMode = Integer.valueOf(fields[3].trim());\n\t\t\t\t\t\n\t\t\t\t\tNodeConfiguration nodeConfig = new NodeConfiguration(host, port, nodeId);\n\t\t\t\t\t//Server Node Model\n\t\t\t\t\tif (nodeMode == 0) {\n\t\t\t\t\t\tMain.getAllServerNodes().put(nodeId,nodeConfig);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tMain.getAllClientNodes().put(nodeId,nodeConfig);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//Add node configuration to the global storage\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tif (nodeId.equals(localNodeId)) {\n\t\t\t\t\t\tlocalNodeConfig = nodeConfig;\n\t\t\t\t\t\tlocalNodeMode = nodeMode;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treader.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace(System.err);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace(System.err);\n\t\t}\n\t\t\n\t\tSystem.out.println(\"Node Id :\" + localNodeId + \" read \" + Main.getAllServerNodes().size() + \" server nodes \" + Main.getAllClientNodes().size() + \" client nodes.\");\n\n\t\tif (localNodeConfig != null || localNodeId.equals(-1)) {\n\t\t\t\n\t\t\tif (localNodeId.equals(-1)) {\n\t\t\t\tServerControlUtil serverControl = new ServerControlUtil();\n\t\t\t\tserverControl.simulate();\n\t\t\t\t\n\t\t\t}else { \t\t\t\n\t\t\t\tif (localNodeMode.equals(0)) {\n\t\t\t\t\tContentServer localNode;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tlocalNode = new ContentServer(localNodeConfig);\n\t\t\t\t\t\tlocalNode.start();\n\t\t\t\t\t} catch (UnknownHostException 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} catch (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\t\t} else if (localNodeMode.equals(2)){\n\t\t\t\t\tAutomatedClient localNode;\n\t\t\t\t\tlocalNode = new AutomatedClient(localNodeConfig);\n\t\t\t\t\t//InteractiveClient localNode;\n\t\t\t\t\t//localNode = new InteractiveClient(localNodeConfig);\n\t\t\t\t\tInteger objectId = 0;\n\t\t\t\t\t\n\t\t\t\t\tif (args.length == 2) {\n\t\t\t\t\t\tobjectId = Integer.valueOf(args[1]);\n\t\t\t\t\t}\n\t\t\t\t\tlocalNode.simulate(objectId);\n\t\t\t\t} else {\n\t\t\t\t\t//ContentClient localNode;\n\t\t\t\t\t//localNode = new ContentClient(localNodeConfig);\n\t\t\t\t\tInteractiveClient localNode;\n\t\t\t\t\tlocalNode = new InteractiveClient(localNodeConfig);\n\t\t\t\t\tlocalNode.simulate();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean isLocal()\n {\n try\n {\n Member member = getMember();\n return member == null || member.equals(\n getService().getCluster().getLocalMember());\n }\n catch (RuntimeException e)\n {\n // the local services are stopped\n // there is no good answer...\n return true;\n }\n }",
"public boolean isMCNodeLocal() {\n\t\treturn javaNetAddress.isMCNodeLocal();\n\t}",
"IPGeolocationLevel getIPGeolocationLevel();",
"@Override\n\t\tpublic void calc(Env env)\n\t\t{\n\t\t\tL2PcInstance pc = (L2PcInstance) env.player;\n\t\t\tif (pc != null)\n\t\t\t{\n\t\t\t\tenv.value += pc.getHennaStatLUC();\n\t\t\t}\n\t\t}",
"@Override\n public String localStatus(DeviceId deviceId) {\n return null;\n }",
"public ESLocalNodeClient() {\n final Settings settings = ImmutableSettings.settingsBuilder()\n .put(\"node.name\", \"test1\").build();\n\n node = new NodeBuilder().settings(settings)\n .clusterName(\"mycluster1\")\n // .local(true)\n //.client(true)\n .build().start();\n }",
"public interface LocalitySearchRepository extends ElasticsearchRepository<Locality, Long> {\n}",
"public java.lang.String getIV_Local_currency() {\r\n return IV_Local_currency;\r\n }",
"Properties defaultTelemetryConfig();",
"public boolean isMCOrgLocal() {\n\t\treturn javaNetAddress.isMCOrgLocal();\n\t}",
"public void setLocalEID() {\n localPlayer.eid = LOCAL_PLAYER_EID;\n addEntity(localPlayer);\n }",
"public CasualtyControler(Local local) {\n this.terrain = local.getTerreno();\n }",
"public Entry[] local_vec(char area) {\n // Get local vec\n Entry[] lvec = neig.local_vec(true, area);\n if (lvec == null) { // No local information ??\n win.Log(\"Internal error in routing.local_vec\\n\");\n return null;\n }\n\n // This code is incomplete for the case where multiple areas coexist\n // When sending to non-zero areas, the core('0') routes must be sent\n // excluding routes that may produce loops!\n // ...\n\n return lvec; \n }",
"public interface BitcoinNetworkConfiguration {\n /**\n * Network that we are using as Default in the platform\n */\n public static final NetworkParameters DEFAULT_NETWORK_PARAMETERS = RegTestParams.get();\n\n /**\n * RegTest client configuration\n */\n public static final String BITCOIN_FULL_NODE_1_IP = \"52.32.106.35\";\n public static final int BITCOIN_FULL_NODE_1_PORT = 19020;\n public static final String BITCOIN_FULL_NODE_2_IP = \"52.34.184.168\";\n public static final int BITCOIN_FULL_NODE_2_PORT = 19030;\n\n /**\n * Agent name and version\n */\n public static final String USER_AGENT_NAME = \"Fermat Agent\";\n public static final String USER_AGENT_VERSION =\"2.1.0\";\n\n /**\n * amount of blocks depth to consider transaction IRReversible\n */\n public static final int IRREVERSIBLE_BLOCK_DEPTH = 3;\n\n /**\n * Amount of Timeout minutes for broadcasting transactions\n */\n public static final int TRANSACTION_BROADCAST_TIMEOUT = 5;\n}",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.\")\n\n public Boolean getClusterScope() {\n return clusterScope;\n }",
"public final void setUnity(final String cUnity) {\n\t\tthis.unity = cUnity;\n\t}",
"public boolean isLocal() {\n\t\treturn _local;\n\t}",
"public boolean IsLocal() {\r\n\t\treturn BrickFinder.getDefault().isLocal();\r\n\t}",
"public void setSecrityNo(java.lang.String param) {\r\n localSecrityNoTracker = param != null;\r\n\r\n this.localSecrityNo = param;\r\n }",
"public static float getNearbyScope(){\n return NEARBY_SCOPE_RADIUS;\n }",
"public double getLocalSimilarityThreshold() {\n return localSimilarityThreshold;\n }",
"public void setNetStatus(java.lang.String param) {\r\n localNetStatusTracker = param != null;\r\n\r\n this.localNetStatus = param;\r\n }",
"@Local\r\npublic interface EvaluationStageManagerLocal\r\n extends EvaluationStageManager\r\n{\r\n\r\n\r\n}",
"public MyAgent(World world)\n {\n w = world; \n }",
"public void setLocalStore(String localStore) {\n this.localStore = localStore;\n }",
"@Override\n\tpublic boolean isLocal() {\n\t\treturn heldObj.isLocal();\n\t}",
"public static void setWorld(World aWorld)\r\n/* */ {\r\n\t \tlogger.info(count++ + \" About to setWotld : \" + \"Agent\");\r\n/* 43 */ \tworldForAgent = aWorld;\r\n/* */ }",
"public void setCxlocalite(java.lang.String cxlocalite) {\r\r\r\r\r\r\r\n this.cxlocalite = cxlocalite;\r\r\r\r\r\r\r\n }",
"@Local\r\npublic interface BonLivraisonManagerLocal\r\n extends BonLivraisonManager\r\n{\r\n\r\n\r\n}",
"public interface GeolocationConfiguration extends Configuration {\n\n /**\n * Default geolocation level to use when none is specified.\n *\n * @return geolocation level to use when none is specified.\n */\n IPGeolocationLevel getIPGeolocationLevel();\n\n /**\n * Indicates whether database must be cached in memory or not.\n * When caching is enabled, performance increases significantly at the\n * expense of an overhead in memory of approximately 2MB.\n *\n * @return true if database must be cached in memory, false otherwise.\n */\n boolean isCachingEnabled();\n\n\n /**\n * Indicates if IP geolocation country database is embedded within\n * application code. If true, then the configured embedded resource will be\n * copied into provided database file (erasing any previous data), otherwise\n * provided external database file will simply be used for geolocation.\n * By default the Maxmind geolite database will be used as an embedded\n * resource.\n *\n * @return true if IP geolocation country database is embedded and copied\n * into provided database file, false if database is simply read from\n * provided file.\n */\n boolean isIPGeolocationCountryDatabaseEmbedded();\n\n /**\n * If provided, the embedded resource will be used to obtain the database\n * and copy it into the file system on provided location (and erasing any\n * previous data).\n * If not provided, but an embedded database is required, then the default\n * embedded resource will be used instead.\n * By default no embedded resource will be specified, and since an embedded\n * database will be used, it will be use the maxmind geolite database\n * embedded in the code.\n *\n * @return embedded resource containing IP geolocation country database.\n */\n String getIPGeolocationCountryEmbeddedResource();\n\n /**\n * File where country IP geolocation database is stored locally.\n * If no embedded database is used, then this file will be used to read the\n * database, if an embedded database is used, then the embedded resource\n * will be copied into this location and the database will be read from\n * there.\n * Notice that Country IP geolocation will only be enabled if a location is\n * available.\n *\n * @return location where country IP geolocation database will be stored\n * locally.\n */\n String getIPGeolocationCountryDatabaseFile();\n\n /**\n * Indicates if IP geolocation city database is embedded within\n * application code. If true, then the configured embedded resource will be\n * copied into provided database file (erasing any previous data), otherwise\n * provided external database file will simply be used for geolocation.\n * By default the Maxmind geolite database will be used as an embedded\n * resource.\n *\n * @return true if IP geolocation city database is embedded and copied\n * into provided database file, false if database is simply read from\n * provided file.\n */\n boolean isIPGeolocationCityDatabaseEmbedded();\n\n /**\n * If provided, the embedded resource will be used to obtain the database\n * and copy it into the file system on provided location (and erasing any\n * previous data).\n * If not provided, but an embedded database is required, then the default\n * embedded resource will be used instead.\n * By default no embedded resource will be specified, and since an embedded\n * database will be used, it will be use the maxmind geolite database\n * embedded in the code.\n *\n * @return embedded resource containing IP geolocation city database.\n */\n String getIPGeolocationCityEmbeddedResource();\n\n /**\n * File where city IP geolocation database is stored locally.\n * If no embedded database is used, then this file will be used to read the\n * database, if an embedded database is used, then the embedded resource\n * will be copied into this location and the database will be read from\n * there.\n * Notice that City IP geolocation will only be enabled if a location is\n * available.\n *\n * @return location where city IP geolocation database will be stored\n * locally.\n */\n String getIPGeolocationCityDatabaseFile();\n}",
"public String getCorpCity() {\n return corpCity;\n }",
"public void setIV_Local_currency(java.lang.String IV_Local_currency) {\r\n this.IV_Local_currency = IV_Local_currency;\r\n }",
"public String getLocal() {\n\t\treturn this.local;\n\t}",
"public boolean affordCity() {\n \t\treturn (FREE_BUILD || cities < MAX_CITIES\n \t\t\t\t&& getResources(Type.GRAIN) >= 2 && getResources(Type.ORE) >= 3);\n \t}",
"public abstract String getWorldType();",
"public String getWorldName()\n {\n return levelName;\n }",
"public String getReceiverCity() {\n return receiverCity;\n }",
"public int getWorldLimit() {\n\t\treturn worldLimit;\n\t}",
"World getWorld();",
"public double getnedLightLocalSimilarityThreshold() {\n return nedLightLocalSimilarityThreshold;\n }",
"@Override\n\tpublic void preStart() {\n\t\tcluster.subscribe(getSelf(), MemberUp.class);\n\t\tif (WorkerMain.role.equals(\"kvm\")) {\n\t\t\tSystem.out.println(\"generate KVMActor\");\n\t\t\tVMActor = getContext().actorOf(new RoundRobinPool(5).props(Props.create(KVMActor.class)), \"VMActor\");\n\t\t} else {\n\t\t\tSystem.out.println(\"generate LXDActor\");\n\t\t\tVMActor = getContext().actorOf(new RoundRobinPool(5).props(Props.create(LXDActor.class)), \"LXDActor\");\n\t\t}\n\n\t\tString actorURL = cluster.selfAddress().toString() + \"/user/worker\";\n\t\tUtil.write(\"actor.url\", actorURL);\n\t}",
"public Local() {\n }",
"public boolean isChinaMode() {\n return false;\n }",
"public void initVuforia() {\n VuforiaLocalizer.Parameters parameters = new VuforiaLocalizer.Parameters();\n\n parameters.vuforiaLicenseKey = VUFORIA_KEY;\n parameters.cameraDirection = CameraDirection.FRONT;\n\n // Instantiate the Vuforia engine\n vuforia = ClassFactory.getInstance().createVuforia(parameters);\n\n // Loading trackables is not necessary for the Tensor Flow Object Detection engine.\n }",
"private void comenzarLocalizacion()\n {\n \tlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);\n \t\n \t//Obtiene Ultima Ubicacion\n \t//Location loc = locManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);\n \t \t\n \t//Nos registramos para recibir actualizaciones de la posici�n\n \tlocListener = new LocationListener() {\n\t \tpublic void onLocationChanged(Location location) {\n\t \t\t\n\t \t}\n\t \tpublic void onProviderDisabled(String provider){\n\t \t\t\n\t \t}\n\t \tpublic void onProviderEnabled(String provider){\n\t \t\n\t \t}\n\t \tpublic void onStatusChanged(String provider, int status, Bundle extras){\n\t \t\n\t \t\t\n\t \t}\n \t};\n \t\n \tlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 30000, 0, locListener);\n }",
"public String getVicinity() {\n return vicinity;\n }",
"public String getLogLevel() {\n return agentConfig.getLogLevel();\n }"
] |
[
"0.70843536",
"0.68856007",
"0.66398156",
"0.66330975",
"0.6037491",
"0.58495694",
"0.5746431",
"0.5714474",
"0.54952824",
"0.54041076",
"0.5354622",
"0.5313924",
"0.5157565",
"0.49859104",
"0.48669577",
"0.48558584",
"0.4847188",
"0.4847085",
"0.47803363",
"0.47735325",
"0.47544146",
"0.47518104",
"0.47442648",
"0.46470064",
"0.45736665",
"0.45422107",
"0.45267087",
"0.451762",
"0.45066643",
"0.45037964",
"0.45019767",
"0.44982985",
"0.4494034",
"0.44899854",
"0.44894376",
"0.44851077",
"0.44769776",
"0.4476368",
"0.44572625",
"0.44503656",
"0.44307473",
"0.44307473",
"0.43828493",
"0.43762186",
"0.4372435",
"0.43660054",
"0.4363153",
"0.4359997",
"0.43575758",
"0.43490443",
"0.4348522",
"0.43466443",
"0.43305385",
"0.43283302",
"0.43265676",
"0.43113783",
"0.43113142",
"0.43096212",
"0.43030024",
"0.42967993",
"0.42901003",
"0.4289497",
"0.4280252",
"0.42683142",
"0.42683125",
"0.42651236",
"0.42645562",
"0.42555895",
"0.4254902",
"0.4247492",
"0.42466325",
"0.42443967",
"0.4237479",
"0.42370296",
"0.4235403",
"0.4229763",
"0.42278573",
"0.4212887",
"0.42122287",
"0.42118618",
"0.4211256",
"0.4201028",
"0.4194652",
"0.4192919",
"0.41877422",
"0.41856566",
"0.41797417",
"0.41796833",
"0.41704646",
"0.41660643",
"0.41594183",
"0.4147641",
"0.41436243",
"0.41423413",
"0.41318747",
"0.41317576",
"0.41294664",
"0.412428",
"0.41124457",
"0.411034"
] |
0.73800063
|
0
|
Locality specifying where the Envoy instance is running. .envoy.config.core.v3.Locality locality = 4;
|
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder getLocalityOrBuilder() {
return getLocality();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.Locality getLocality() {\n return locality_ == null ? io.envoyproxy.envoy.config.core.v3.Locality.getDefaultInstance() : locality_;\n }",
"public io.envoyproxy.envoy.config.core.v3.Locality getLocality() {\n if (localityBuilder_ == null) {\n return locality_ == null ? io.envoyproxy.envoy.config.core.v3.Locality.getDefaultInstance() : locality_;\n } else {\n return localityBuilder_.getMessage();\n }\n }",
"public String getLocality() {\r\n return locality;\r\n }",
"public io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder getLocalityOrBuilder() {\n if (localityBuilder_ != null) {\n return localityBuilder_.getMessageOrBuilder();\n } else {\n return locality_ == null ?\n io.envoyproxy.envoy.config.core.v3.Locality.getDefaultInstance() : locality_;\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Locality.Builder getLocalityBuilder() {\n \n onChanged();\n return getLocalityFieldBuilder().getBuilder();\n }",
"@java.lang.Override\n public boolean hasLocality() {\n return locality_ != null;\n }",
"default SourceLocality getSourceLocality() {\n return SourceLocality.UNKNOWN;\n }",
"public boolean hasLocality() {\n return localityBuilder_ != null || locality_ != null;\n }",
"public Builder setLocality(io.envoyproxy.envoy.config.core.v3.Locality value) {\n if (localityBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n locality_ = value;\n onChanged();\n } else {\n localityBuilder_.setMessage(value);\n }\n\n return this;\n }",
"@Override\r\n\tpublic List<Locality> getLocality() {\n\t\treturn customerdao.getLocality();\r\n\t}",
"@javax.annotation.Nullable\n @ApiModelProperty(example = \"Issued by the same country that the phone number belongs to\", value = \"Specifies geography-based acceptance criteria\")\n @JsonProperty(JSON_PROPERTY_LOCALITY_LIMIT)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getLocalityLimit() {\n return localityLimit;\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.Locality, io.envoyproxy.envoy.config.core.v3.Locality.Builder, io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder> \n getLocalityFieldBuilder() {\n if (localityBuilder_ == null) {\n localityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.Locality, io.envoyproxy.envoy.config.core.v3.Locality.Builder, io.envoyproxy.envoy.config.core.v3.LocalityOrBuilder>(\n getLocality(),\n getParentForChildren(),\n isClean());\n locality_ = null;\n }\n return localityBuilder_;\n }",
"public java.lang.String getPresentity(){\r\n return localPresentity;\r\n }",
"public void setPresentity(java.lang.String param){\r\n \r\n if (param != null){\r\n //update the setting tracker\r\n localPresentityTracker = true;\r\n } else {\r\n localPresentityTracker = false;\r\n \r\n }\r\n \r\n this.localPresentity=param;\r\n \r\n\r\n }",
"public TFileLocality getTFileLocality() {\n\n\t\treturn this.fileLocality;\n\t}",
"public boolean getUseLocal() {return this.databaseConfig.getProperty(\"useLocal\").equals(\"true\");}",
"default String getLocalNodeName() {\n return \"local\";\n }",
"protected void testForLocality(URI modelUri) throws QueryException {\n String protocol = modelUri.getScheme();\n if (!DistributedResolverFactory.getProtocols().contains(protocol)) {\n throw new IllegalStateException(\"Bad Protocol sent to distributed resolver.\");\n }\n String host = modelUri.getHost();\n if (ServerInfo.getHostnameAliases().contains(host)) {\n // on the same machine. Check if the server is different.\n if (ServerInfo.getServerURI().getPath().equals(modelUri.getPath())) {\n throw new QueryException(\"Attempt to resolve a local model through the distributed resolver.\");\n }\n }\n }",
"@Local\npublic interface LocalPlayerService extends PlayerService {\n\n}",
"public void setNumberLocalCPUs(int n) {\n this.m_LocalCPUs = n;\n }",
"public interface LocalityService {\n Locality saveLocality(RbcLocality rbcLocality);\n Integer getMaxId();\n}",
"public boolean isMCSiteLocal() {\n\t\treturn javaNetAddress.isMCSiteLocal();\n\t}",
"public Builder mergeLocality(io.envoyproxy.envoy.config.core.v3.Locality value) {\n if (localityBuilder_ == null) {\n if (locality_ != null) {\n locality_ =\n io.envoyproxy.envoy.config.core.v3.Locality.newBuilder(locality_).mergeFrom(value).buildPartial();\n } else {\n locality_ = value;\n }\n onChanged();\n } else {\n localityBuilder_.mergeFrom(value);\n }\n\n return this;\n }",
"public void setTFileLocality(TFileLocality loc) {\n\n\t\tthis.fileLocality = loc;\n\t}",
"public boolean isLocal()\n {\n return true;\n }",
"@RequestLine(\"GET /status\")\n Status getNeustarNetworkStatus();",
"protected void setupLocal() {}",
"public boolean isLocal() {\n return mIsLocal;\n }",
"public boolean isLocal() {\n return local;\n }",
"public boolean isLocal();",
"public java.lang.String getCxlocalite() {\r\r\r\r\r\r\r\n return cxlocalite;\r\r\r\r\r\r\r\n }",
"public Builder setLocality(\n io.envoyproxy.envoy.config.core.v3.Locality.Builder builderForValue) {\n if (localityBuilder_ == null) {\n locality_ = builderForValue.build();\n onChanged();\n } else {\n localityBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }",
"Map<Locality, LocalityLbEndpoints> getLocalityLbEndpointsMap() {\n return Collections.unmodifiableMap(localityLbEndpointsMap);\n }",
"public String getLocality(Context context, double latitude, double longitude, int maxAddresses) {\n List<Address> addresses = getGeocoderAddress(context, latitude, longitude, maxAddresses);\n\n if (addresses != null && addresses.size() > 0) {\n Address address = addresses.get(0);\n String locality = address.getLocality();\n\n return locality;\n }\n else {\n return null;\n }\n }",
"public void setUseLocal(boolean useLocal) {this.databaseConfig.setProperty(\"useLocal\", Boolean.toString(useLocal));}",
"public Locus3f getLocus() {\r\n return locus;\r\n }",
"public static Site getLocal() {\r\n return _local;\r\n }",
"public void setLocal(boolean isLocal);",
"@Override\n public int runWithConfig(EnvoyConfiguration envoyConfiguration, String logLevel) {\n return envoyEngine.runWithConfig(envoyConfiguration, logLevel);\n }",
"@Override\n public ArrayList<ICatLocDetail> getLocalities() {\n return localities;\n }",
"public void setLocalFlag(String value) {\n setAttributeInternal(LOCALFLAG, value);\n }",
"public void setLocalFlag(String value) {\n setAttributeInternal(LOCALFLAG, value);\n }",
"public World getClientWorld()\n {\n return null;\n }",
"public String getKey() { return \"thaumcraft.CLOUD\"; }",
"@ImplementedBy(WhirrClusterImpl.class)\npublic interface WhirrCluster extends Entity, Startable {\n\n @SetFromFlag(\"recipe\")\n public static final BasicConfigKey<String> RECIPE = new BasicConfigKey<String>(\n String.class, \"whirr.recipe\", \"Apache Whirr cluster recipe\");\n\n public static final BasicAttributeSensor<String> CLUSTER_NAME = new BasicAttributeSensor<String>(\n String.class, \"whirr.cluster.name\", \"Name of the Whirr cluster\");\n\n /**\n * Apache Whirr can only start and manage a cluster in a single location\n *\n * @param locations\n */\n @Override\n void start(Collection<? extends Location> locations);\n\n @Beta\n public ClusterSpec getClusterSpec();\n\n @Beta\n public Cluster getCluster();\n\n @Beta\n @VisibleForTesting\n public ClusterController getController();\n}",
"@Local\r\npublic interface CiviliteManagerLocal\r\n extends CiviliteManager\r\n{\r\n\r\n\r\n}",
"@Override\n public boolean isSystemCommunity() {\n return false;\n }",
"private void configureWorlds(){\n switch (gameWorld){\n case NORMAL:\n world.setPVP(true);\n world.setKeepSpawnInMemory(false);\n world.setAutoSave(false);\n world.setStorm(false);\n world.setThundering(false);\n world.setAnimalSpawnLimit((int) (mobLimit * 0.45));\n world.setMonsterSpawnLimit((int) (mobLimit * 0.45));\n world.setWaterAnimalSpawnLimit((int) (mobLimit * 0.1));\n world.setDifficulty(Difficulty.HARD);\n break;\n case NETHER:\n world.setPVP(true);\n world.setAutoSave(false);\n world.setKeepSpawnInMemory(false);\n world.setStorm(false);\n world.setThundering(false);\n world.setMonsterSpawnLimit((int) (mobLimit * 0.45));\n world.setAnimalSpawnLimit((int) (mobLimit * 0.45));\n world.setWaterAnimalSpawnLimit((int) (mobLimit * 0.1));\n world.setDifficulty(Difficulty.HARD);\n break;\n }\n }",
"public final String getUnity() {\n\t\treturn unity;\n\t}",
"@Override\n public Map getUniverseOrder() {\n return null;\n }",
"public String getWorldName() {\n\t\treturn world;\n\t}",
"public int getMobilityFlag()\n\t {\n\t return 1;\n\t }",
"public static void main(String[] args) {\n\t\t\n\t\tInteger localNodeId = Integer.valueOf(args[0]);\n\t\tInteger localNodeMode = 0;\n\t\t\n\t\tNodeConfiguration localNodeConfig = null;\n\t\t\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new FileReader (\"all_nodes.cfg\"));\n\t\t\tString line;\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tString[] fields = line.split(\",\");\n\t\t\t\tif (fields.length == 4) {\n\t\t\t\t\tInteger nodeId = Integer.valueOf(fields[0].trim());\n\t\t\t\t\tString host = fields[1].trim();\n\t\t\t\t\tInteger port = Integer.valueOf(fields[2].trim());\n\t\t\t\t\tInteger nodeMode = Integer.valueOf(fields[3].trim());\n\t\t\t\t\t\n\t\t\t\t\tNodeConfiguration nodeConfig = new NodeConfiguration(host, port, nodeId);\n\t\t\t\t\t//Server Node Model\n\t\t\t\t\tif (nodeMode == 0) {\n\t\t\t\t\t\tMain.getAllServerNodes().put(nodeId,nodeConfig);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tMain.getAllClientNodes().put(nodeId,nodeConfig);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//Add node configuration to the global storage\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tif (nodeId.equals(localNodeId)) {\n\t\t\t\t\t\tlocalNodeConfig = nodeConfig;\n\t\t\t\t\t\tlocalNodeMode = nodeMode;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treader.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace(System.err);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace(System.err);\n\t\t}\n\t\t\n\t\tSystem.out.println(\"Node Id :\" + localNodeId + \" read \" + Main.getAllServerNodes().size() + \" server nodes \" + Main.getAllClientNodes().size() + \" client nodes.\");\n\n\t\tif (localNodeConfig != null || localNodeId.equals(-1)) {\n\t\t\t\n\t\t\tif (localNodeId.equals(-1)) {\n\t\t\t\tServerControlUtil serverControl = new ServerControlUtil();\n\t\t\t\tserverControl.simulate();\n\t\t\t\t\n\t\t\t}else { \t\t\t\n\t\t\t\tif (localNodeMode.equals(0)) {\n\t\t\t\t\tContentServer localNode;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tlocalNode = new ContentServer(localNodeConfig);\n\t\t\t\t\t\tlocalNode.start();\n\t\t\t\t\t} catch (UnknownHostException 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} catch (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\t\t} else if (localNodeMode.equals(2)){\n\t\t\t\t\tAutomatedClient localNode;\n\t\t\t\t\tlocalNode = new AutomatedClient(localNodeConfig);\n\t\t\t\t\t//InteractiveClient localNode;\n\t\t\t\t\t//localNode = new InteractiveClient(localNodeConfig);\n\t\t\t\t\tInteger objectId = 0;\n\t\t\t\t\t\n\t\t\t\t\tif (args.length == 2) {\n\t\t\t\t\t\tobjectId = Integer.valueOf(args[1]);\n\t\t\t\t\t}\n\t\t\t\t\tlocalNode.simulate(objectId);\n\t\t\t\t} else {\n\t\t\t\t\t//ContentClient localNode;\n\t\t\t\t\t//localNode = new ContentClient(localNodeConfig);\n\t\t\t\t\tInteractiveClient localNode;\n\t\t\t\t\tlocalNode = new InteractiveClient(localNodeConfig);\n\t\t\t\t\tlocalNode.simulate();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public boolean isLocal()\n {\n try\n {\n Member member = getMember();\n return member == null || member.equals(\n getService().getCluster().getLocalMember());\n }\n catch (RuntimeException e)\n {\n // the local services are stopped\n // there is no good answer...\n return true;\n }\n }",
"public boolean isMCNodeLocal() {\n\t\treturn javaNetAddress.isMCNodeLocal();\n\t}",
"IPGeolocationLevel getIPGeolocationLevel();",
"@Override\n\t\tpublic void calc(Env env)\n\t\t{\n\t\t\tL2PcInstance pc = (L2PcInstance) env.player;\n\t\t\tif (pc != null)\n\t\t\t{\n\t\t\t\tenv.value += pc.getHennaStatLUC();\n\t\t\t}\n\t\t}",
"@Override\n public String localStatus(DeviceId deviceId) {\n return null;\n }",
"public ESLocalNodeClient() {\n final Settings settings = ImmutableSettings.settingsBuilder()\n .put(\"node.name\", \"test1\").build();\n\n node = new NodeBuilder().settings(settings)\n .clusterName(\"mycluster1\")\n // .local(true)\n //.client(true)\n .build().start();\n }",
"public interface LocalitySearchRepository extends ElasticsearchRepository<Locality, Long> {\n}",
"public java.lang.String getIV_Local_currency() {\r\n return IV_Local_currency;\r\n }",
"Properties defaultTelemetryConfig();",
"public boolean isMCOrgLocal() {\n\t\treturn javaNetAddress.isMCOrgLocal();\n\t}",
"public void setLocalEID() {\n localPlayer.eid = LOCAL_PLAYER_EID;\n addEntity(localPlayer);\n }",
"public CasualtyControler(Local local) {\n this.terrain = local.getTerreno();\n }",
"public Entry[] local_vec(char area) {\n // Get local vec\n Entry[] lvec = neig.local_vec(true, area);\n if (lvec == null) { // No local information ??\n win.Log(\"Internal error in routing.local_vec\\n\");\n return null;\n }\n\n // This code is incomplete for the case where multiple areas coexist\n // When sending to non-zero areas, the core('0') routes must be sent\n // excluding routes that may produce loops!\n // ...\n\n return lvec; \n }",
"public interface BitcoinNetworkConfiguration {\n /**\n * Network that we are using as Default in the platform\n */\n public static final NetworkParameters DEFAULT_NETWORK_PARAMETERS = RegTestParams.get();\n\n /**\n * RegTest client configuration\n */\n public static final String BITCOIN_FULL_NODE_1_IP = \"52.32.106.35\";\n public static final int BITCOIN_FULL_NODE_1_PORT = 19020;\n public static final String BITCOIN_FULL_NODE_2_IP = \"52.34.184.168\";\n public static final int BITCOIN_FULL_NODE_2_PORT = 19030;\n\n /**\n * Agent name and version\n */\n public static final String USER_AGENT_NAME = \"Fermat Agent\";\n public static final String USER_AGENT_VERSION =\"2.1.0\";\n\n /**\n * amount of blocks depth to consider transaction IRReversible\n */\n public static final int IRREVERSIBLE_BLOCK_DEPTH = 3;\n\n /**\n * Amount of Timeout minutes for broadcasting transactions\n */\n public static final int TRANSACTION_BROADCAST_TIMEOUT = 5;\n}",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.\")\n\n public Boolean getClusterScope() {\n return clusterScope;\n }",
"public final void setUnity(final String cUnity) {\n\t\tthis.unity = cUnity;\n\t}",
"public boolean isLocal() {\n\t\treturn _local;\n\t}",
"public boolean IsLocal() {\r\n\t\treturn BrickFinder.getDefault().isLocal();\r\n\t}",
"public void setSecrityNo(java.lang.String param) {\r\n localSecrityNoTracker = param != null;\r\n\r\n this.localSecrityNo = param;\r\n }",
"public static float getNearbyScope(){\n return NEARBY_SCOPE_RADIUS;\n }",
"public double getLocalSimilarityThreshold() {\n return localSimilarityThreshold;\n }",
"public void setNetStatus(java.lang.String param) {\r\n localNetStatusTracker = param != null;\r\n\r\n this.localNetStatus = param;\r\n }",
"@Local\r\npublic interface EvaluationStageManagerLocal\r\n extends EvaluationStageManager\r\n{\r\n\r\n\r\n}",
"public MyAgent(World world)\n {\n w = world; \n }",
"public void setLocalStore(String localStore) {\n this.localStore = localStore;\n }",
"@Override\n\tpublic boolean isLocal() {\n\t\treturn heldObj.isLocal();\n\t}",
"public static void setWorld(World aWorld)\r\n/* */ {\r\n\t \tlogger.info(count++ + \" About to setWotld : \" + \"Agent\");\r\n/* 43 */ \tworldForAgent = aWorld;\r\n/* */ }",
"public void setCxlocalite(java.lang.String cxlocalite) {\r\r\r\r\r\r\r\n this.cxlocalite = cxlocalite;\r\r\r\r\r\r\r\n }",
"@Local\r\npublic interface BonLivraisonManagerLocal\r\n extends BonLivraisonManager\r\n{\r\n\r\n\r\n}",
"public interface GeolocationConfiguration extends Configuration {\n\n /**\n * Default geolocation level to use when none is specified.\n *\n * @return geolocation level to use when none is specified.\n */\n IPGeolocationLevel getIPGeolocationLevel();\n\n /**\n * Indicates whether database must be cached in memory or not.\n * When caching is enabled, performance increases significantly at the\n * expense of an overhead in memory of approximately 2MB.\n *\n * @return true if database must be cached in memory, false otherwise.\n */\n boolean isCachingEnabled();\n\n\n /**\n * Indicates if IP geolocation country database is embedded within\n * application code. If true, then the configured embedded resource will be\n * copied into provided database file (erasing any previous data), otherwise\n * provided external database file will simply be used for geolocation.\n * By default the Maxmind geolite database will be used as an embedded\n * resource.\n *\n * @return true if IP geolocation country database is embedded and copied\n * into provided database file, false if database is simply read from\n * provided file.\n */\n boolean isIPGeolocationCountryDatabaseEmbedded();\n\n /**\n * If provided, the embedded resource will be used to obtain the database\n * and copy it into the file system on provided location (and erasing any\n * previous data).\n * If not provided, but an embedded database is required, then the default\n * embedded resource will be used instead.\n * By default no embedded resource will be specified, and since an embedded\n * database will be used, it will be use the maxmind geolite database\n * embedded in the code.\n *\n * @return embedded resource containing IP geolocation country database.\n */\n String getIPGeolocationCountryEmbeddedResource();\n\n /**\n * File where country IP geolocation database is stored locally.\n * If no embedded database is used, then this file will be used to read the\n * database, if an embedded database is used, then the embedded resource\n * will be copied into this location and the database will be read from\n * there.\n * Notice that Country IP geolocation will only be enabled if a location is\n * available.\n *\n * @return location where country IP geolocation database will be stored\n * locally.\n */\n String getIPGeolocationCountryDatabaseFile();\n\n /**\n * Indicates if IP geolocation city database is embedded within\n * application code. If true, then the configured embedded resource will be\n * copied into provided database file (erasing any previous data), otherwise\n * provided external database file will simply be used for geolocation.\n * By default the Maxmind geolite database will be used as an embedded\n * resource.\n *\n * @return true if IP geolocation city database is embedded and copied\n * into provided database file, false if database is simply read from\n * provided file.\n */\n boolean isIPGeolocationCityDatabaseEmbedded();\n\n /**\n * If provided, the embedded resource will be used to obtain the database\n * and copy it into the file system on provided location (and erasing any\n * previous data).\n * If not provided, but an embedded database is required, then the default\n * embedded resource will be used instead.\n * By default no embedded resource will be specified, and since an embedded\n * database will be used, it will be use the maxmind geolite database\n * embedded in the code.\n *\n * @return embedded resource containing IP geolocation city database.\n */\n String getIPGeolocationCityEmbeddedResource();\n\n /**\n * File where city IP geolocation database is stored locally.\n * If no embedded database is used, then this file will be used to read the\n * database, if an embedded database is used, then the embedded resource\n * will be copied into this location and the database will be read from\n * there.\n * Notice that City IP geolocation will only be enabled if a location is\n * available.\n *\n * @return location where city IP geolocation database will be stored\n * locally.\n */\n String getIPGeolocationCityDatabaseFile();\n}",
"public String getCorpCity() {\n return corpCity;\n }",
"public void setIV_Local_currency(java.lang.String IV_Local_currency) {\r\n this.IV_Local_currency = IV_Local_currency;\r\n }",
"public String getLocal() {\n\t\treturn this.local;\n\t}",
"public boolean affordCity() {\n \t\treturn (FREE_BUILD || cities < MAX_CITIES\n \t\t\t\t&& getResources(Type.GRAIN) >= 2 && getResources(Type.ORE) >= 3);\n \t}",
"public abstract String getWorldType();",
"public String getWorldName()\n {\n return levelName;\n }",
"public String getReceiverCity() {\n return receiverCity;\n }",
"public int getWorldLimit() {\n\t\treturn worldLimit;\n\t}",
"World getWorld();",
"public double getnedLightLocalSimilarityThreshold() {\n return nedLightLocalSimilarityThreshold;\n }",
"@Override\n\tpublic void preStart() {\n\t\tcluster.subscribe(getSelf(), MemberUp.class);\n\t\tif (WorkerMain.role.equals(\"kvm\")) {\n\t\t\tSystem.out.println(\"generate KVMActor\");\n\t\t\tVMActor = getContext().actorOf(new RoundRobinPool(5).props(Props.create(KVMActor.class)), \"VMActor\");\n\t\t} else {\n\t\t\tSystem.out.println(\"generate LXDActor\");\n\t\t\tVMActor = getContext().actorOf(new RoundRobinPool(5).props(Props.create(LXDActor.class)), \"LXDActor\");\n\t\t}\n\n\t\tString actorURL = cluster.selfAddress().toString() + \"/user/worker\";\n\t\tUtil.write(\"actor.url\", actorURL);\n\t}",
"public Local() {\n }",
"public boolean isChinaMode() {\n return false;\n }",
"public void initVuforia() {\n VuforiaLocalizer.Parameters parameters = new VuforiaLocalizer.Parameters();\n\n parameters.vuforiaLicenseKey = VUFORIA_KEY;\n parameters.cameraDirection = CameraDirection.FRONT;\n\n // Instantiate the Vuforia engine\n vuforia = ClassFactory.getInstance().createVuforia(parameters);\n\n // Loading trackables is not necessary for the Tensor Flow Object Detection engine.\n }",
"private void comenzarLocalizacion()\n {\n \tlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);\n \t\n \t//Obtiene Ultima Ubicacion\n \t//Location loc = locManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);\n \t \t\n \t//Nos registramos para recibir actualizaciones de la posici�n\n \tlocListener = new LocationListener() {\n\t \tpublic void onLocationChanged(Location location) {\n\t \t\t\n\t \t}\n\t \tpublic void onProviderDisabled(String provider){\n\t \t\t\n\t \t}\n\t \tpublic void onProviderEnabled(String provider){\n\t \t\n\t \t}\n\t \tpublic void onStatusChanged(String provider, int status, Bundle extras){\n\t \t\n\t \t\t\n\t \t}\n \t};\n \t\n \tlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 30000, 0, locListener);\n }",
"public String getVicinity() {\n return vicinity;\n }",
"public String getLogLevel() {\n return agentConfig.getLogLevel();\n }"
] |
[
"0.73800063",
"0.68856007",
"0.66398156",
"0.66330975",
"0.6037491",
"0.58495694",
"0.5746431",
"0.5714474",
"0.54952824",
"0.54041076",
"0.5354622",
"0.5313924",
"0.5157565",
"0.49859104",
"0.48669577",
"0.48558584",
"0.4847188",
"0.4847085",
"0.47803363",
"0.47735325",
"0.47544146",
"0.47518104",
"0.47442648",
"0.46470064",
"0.45736665",
"0.45422107",
"0.45267087",
"0.451762",
"0.45066643",
"0.45037964",
"0.45019767",
"0.44982985",
"0.4494034",
"0.44899854",
"0.44894376",
"0.44851077",
"0.44769776",
"0.4476368",
"0.44572625",
"0.44503656",
"0.44307473",
"0.44307473",
"0.43828493",
"0.43762186",
"0.4372435",
"0.43660054",
"0.4363153",
"0.4359997",
"0.43575758",
"0.43490443",
"0.4348522",
"0.43466443",
"0.43305385",
"0.43283302",
"0.43265676",
"0.43113783",
"0.43113142",
"0.43096212",
"0.43030024",
"0.42967993",
"0.42901003",
"0.4289497",
"0.4280252",
"0.42683142",
"0.42683125",
"0.42651236",
"0.42645562",
"0.42555895",
"0.4254902",
"0.4247492",
"0.42466325",
"0.42443967",
"0.4237479",
"0.42370296",
"0.4235403",
"0.4229763",
"0.42278573",
"0.4212887",
"0.42122287",
"0.42118618",
"0.4211256",
"0.4201028",
"0.4194652",
"0.4192919",
"0.41877422",
"0.41856566",
"0.41797417",
"0.41796833",
"0.41704646",
"0.41660643",
"0.41594183",
"0.4147641",
"0.41436243",
"0.41423413",
"0.41318747",
"0.41317576",
"0.41294664",
"0.412428",
"0.41124457",
"0.411034"
] |
0.70843536
|
1
|
Freeform string that identifies the entity requesting config. E.g. "envoy" or "grpc" string user_agent_name = 6;
|
@java.lang.Override
public java.lang.String getUserAgentName() {
java.lang.Object ref = userAgentName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
userAgentName_ = s;
return s;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public java.lang.String getUserAgentName() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentNameBytes() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n }\n }",
"java.lang.String getAgentName();",
"public com.google.protobuf.ByteString\n getUserAgentNameBytes() {\n java.lang.Object ref = userAgentName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n userAgentName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Override\r\n\tpublic String getBotUsername() {\t\t\r\n\t\treturn BotConfig.BOT_USER_NAME;\r\n\t}",
"@ApiModelProperty(required = true, value = \"User unique login. Controls the value of the corresponding CfgPerson attribute \")\n public String getUserName() {\n return userName;\n }",
"public static String m21385a() {\n return System.getProperty(\"http.agent\");\n }",
"public final String getUserAgent() {\n return properties.get(USER_AGENT_PROPERTY);\n }",
"String getUserAgent();",
"public static String getUserDisplayName() {\r\n return getUsername();\r\n }",
"java.lang.String getUserAgent();",
"java.lang.String getUser();",
"public String getName() {\n\t\t\n\t\tString name = \"\";\n\t\t\n\t\tif (securityContext != null) {\n\t\t\tname = securityContext.getIdToken().getPreferredUsername();\n\t\t}\n\t\t\n\t\treturn name;\n\t}",
"public final String mo69547a() {\n return \"user\";\n }",
"@AutoEscape\n\tpublic String getUser_name();",
"public String getAgentName() {\n return (String)getAttributeInternal(AGENTNAME);\n }",
"public String getLabel() {\n return AsteriskUtlities.toContextIdentifier(username + \"-\" + company);\n }",
"abstract String getUserAgent();",
"static String getUserName() {\n return System.getProperty(\"user.name\");\n }",
"public String getUser_name() {\n return user_name;\n }",
"public static String getUser() {\n return annotation != null ? annotation.user() : \"Unknown\";\n }",
"@Override\n\tpublic java.lang.String getUserAgent() {\n\t\treturn _userTracker.getUserAgent();\n\t}",
"@ApiModelProperty(value = \"The username, which is unique within a Cloudera Manager installation.\")\n\n\n public String getName() {\n return name;\n }",
"public static String getUserAgent()\n {\n return USER_AGENT;\n }",
"protected String loginIdentifyString() {\r\n return \"hao\";\r\n }",
"public String getUser() {\r\n \t\treturn properties.getProperty(KEY_USER);\r\n \t}",
"com.google.protobuf.ByteString\n getAgentNameBytes();",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public static String userAgent() {\n Random random = new Random();\n return userAgents.get(random.nextInt(userAgents.size()));\n }",
"private String getUserConfiguredDeviceName() {\n\t\tString nameFromSystemDevice = Settings.Secure.getString(getContentResolver(), \"device_name\");\n\t\tif (!isEmpty(nameFromSystemDevice)) return nameFromSystemDevice;\n\t\treturn null;\n\t}",
"private String createUserAgent() {\n String userAgentString = createUserAgentString();\n StringBuilder result = new StringBuilder();\n\n // Removing invalid characters\n for (int i = 0; i < userAgentString.length(); i++) {\n char c = userAgentString.charAt(i);\n if (c == '\\t' || ('\\u0020' <= c && c <= '\\u007e')) {\n result.append(c);\n }\n }\n return result.toString();\n }",
"private String getUserAgent(HTTPSampleResult sampleResult) {\n String res = sampleResult.getRequestHeaders();\n int index = res.indexOf(USER_AGENT);\n if (index >= 0) {\n // see HTTPHC3Impl#getConnectionHeaders\n // see HTTPHC4Impl#getConnectionHeaders\n // see HTTPJavaImpl#getConnectionHeaders\n //': ' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n final String userAgentPrefix = USER_AGENT+\": \";\n String userAgentHdr = res.substring(\n index+userAgentPrefix.length(),\n res.indexOf('\\n',// '\\n' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n index+userAgentPrefix.length()+1));\n return userAgentHdr.trim();\n } else {\n if (log.isInfoEnabled()) {\n log.info(\"No user agent extracted from requestHeaders:\" + res);\n }\n return null;\n }\n }",
"public String getUserAgent();",
"public String getGoogleUserFirstName(){\n return (String) attributes.get(GOOGLE_USER_FIRST_NAME);\n }",
"public String getHeader() {\n String header = FxSharedUtils.getHeader();\n if (header.indexOf(\"$user$\") > 0)\n header = header.replaceAll(\"\\\\$user\\\\$\", getRequest().getUserTicket().getUserName());\n return header;\n }",
"String getUser();",
"String getUser();",
"public final String getUsername() {\n return properties.get(USERNAME_PROPERTY);\n }",
"public String getUserAgent() {\n return userAgent;\n }",
"public String getUserAgent(){\n return this.userAgent;\n }",
"@Override\n\tpublic String getGivenName() {\n\t\treturn user.getUserInfo().getGivenName();\n\t}",
"@java.lang.Override\n public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getName() {\n return user.getName();\n }",
"@AutoEscape\n\tpublic String getRequesterName();",
"public Builder setUserAgentName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n userAgentName_ = value;\n onChanged();\n return this;\n }",
"public String extractAgentName() {\n\n final String[] names = name.split(\"\\\\.\");\n assert names.length > 1;\n\n return names[1];\n }",
"String getUserUsername();",
"public String getUserConfig() {\n return userConfig;\n }",
"@Override\n\tpublic String getFamilyName() {\n\t\treturn user.getUserInfo().getFamilyName();\n\t}",
"public String getAgentName() {\n return agentName;\n }",
"@ApiModelProperty(required = true, value = \"This is the Login User Name\")\n @NotNull\n\n\n public String getUserName() {\n return userName;\n }",
"public static String onGetLocalUserName(Context context){\n return PreferencesUtils.getString(context, Config.KEY_OF_USER_NAME, \"\");\n }",
"@AppNameInUserAgent\n public abstract String assertUserAgentAppName();",
"public static String getAppName(){\r\n return getProperty(\"name\", \"Jin\");\r\n }",
"public String getGoogleAnalyticsUsername() {\n return googleAnalyticsUsername;\n }",
"private static String buildUserAgent(Context context) {\r\n\t\ttry {\r\n\t\t\tfinal PackageManager manager = context.getPackageManager();\r\n\t\t\tfinal PackageInfo info = manager.getPackageInfo(\r\n\t\t\t\t\tcontext.getPackageName(), 0);\r\n\r\n\t\t\t// Some APIs require \"(gzip)\" in the user-agent string.\r\n\t\t\treturn info.packageName + \"/\" + info.versionName + \" (\"\r\n\t\t\t\t\t+ info.versionCode + \") (gzip)\";\r\n\t\t} catch (NameNotFoundException e) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"String getCurrentUserDisplayName() throws Exception;",
"public Optional<String> tokenName() {\n return Codegen.stringProp(\"tokenName\").config(config).get();\n }",
"public String getName() {\r\n\t\treturn this.userName;\r\n\t}",
"public String getLoginNameLabel(){\n\t \treturn \"Email\";\n\t }",
"@java.lang.Override\n public java.lang.String getUser() {\n java.lang.Object ref = user_;\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 user_ = s;\n return s;\n }\n }",
"public static String getOsUserName() {\n\n return System.getProperty(\"user.name\");\n }",
"public String getUserShortName() throws Exception\r\n {\n return null;\r\n }",
"public String getAgentHost() {\n return (String)getAttributeInternal(AGENTHOST);\n }",
"public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n }\n }",
"public String getName() {\r\n\t\treturn username;\r\n\t}",
"public java.lang.String getUser() {\n java.lang.Object ref = user_;\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 user_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"java.lang.String getUserName();",
"java.lang.String getUserName();",
"java.lang.String getUserName();",
"public static String getDefaultUserAgent(){\n return sDefaultUserAgent;\n }",
"String getUserName();",
"String getUserName();",
"public String getUserNameExample()\n {\n return null;\n }",
"@DISPID(8)\r\n\t// = 0x8. The runtime will prefer the VTID if present\r\n\t@VTID(14)\r\n\tjava.lang.String username();",
"private static String getUser(String message) { return message.split(\"!\")[0].substring(1); }",
"public String getUserDisplayName() throws Exception\r\n {\n return null;\r\n }",
"public final String getUserAgent( ) {\r\n\t\treturn this.userAgent;\r\n\t}",
"public static String getUser() {\r\n return user;\r\n }",
"public String getAgentName ()\n {\n return agentName;\n\n }",
"public String getUserRealName() {\r\n return userRealName;\r\n }",
"@ApiModelProperty(value = \"Name by which a party is known and which is usually used to identify that party.\")\n\n@Size(min=1,max=70) \n public String getGivenName() {\n return givenName;\n }",
"public String getUserName() {\n return (String) getAttributeInternal(USERNAME);\n }",
"@ApiModelProperty(required = true, value = \"The user to send the approval request to. Can be either an email address or a phone number.\")\n public String getUser() {\n return user;\n }",
"public String getUserRealname() {\n return userRealname;\n }",
"public java.lang.String getAgentName() {\r\n return agentName;\r\n }",
"public String getIdGeneratorDatabaseUsername(){\n \t\treturn getProperty(\"org.sagebionetworks.id.generator.database.username\");\n \t}",
"@Override\r\n\tpublic String getUserAgent() {\n\t\treturn null;\r\n\t}",
"public String getSiteNameReguex();",
"public String getAgent() {\n return agent;\n }",
"public static String getUser() {\n return user;\n }",
"@ApiModelProperty(value = \"The short display name of the payee as provided by the customer\")\n\n public String getNickname() {\n return nickname;\n }",
"String getConfigName();",
"public String getAgent() {\n return this.agent;\n }",
"public String getUser() {\n\t\t\t\treturn null;\r\n\t\t\t}",
"public String getName() {\n\t\treturn this.username;\n\t}",
"@ApiModelProperty(value = \"Name by which a party is known and which is usually used to identify that party.\")\n\n@Size(min=1,max=70) \n public String getFamilyName() {\n return familyName;\n }"
] |
[
"0.6352294",
"0.6120394",
"0.607737",
"0.5975737",
"0.59126735",
"0.57785326",
"0.5729692",
"0.5722757",
"0.5658484",
"0.562868",
"0.5604517",
"0.5586205",
"0.5573378",
"0.55730873",
"0.5562866",
"0.55455655",
"0.55063695",
"0.55033255",
"0.54752046",
"0.5462106",
"0.54435396",
"0.54326564",
"0.5432388",
"0.5431039",
"0.543041",
"0.5417393",
"0.5408416",
"0.540368",
"0.53816",
"0.5377944",
"0.536492",
"0.5364407",
"0.5353632",
"0.5352785",
"0.5348432",
"0.5345393",
"0.53379625",
"0.5320992",
"0.5309327",
"0.5309327",
"0.5303258",
"0.53008014",
"0.52956635",
"0.52822685",
"0.52797115",
"0.5279561",
"0.52765536",
"0.52608013",
"0.5257445",
"0.5222201",
"0.52168083",
"0.5208736",
"0.52059233",
"0.51986843",
"0.51861143",
"0.5184994",
"0.51637536",
"0.5151091",
"0.5148277",
"0.5145003",
"0.513563",
"0.5130669",
"0.5127684",
"0.5125995",
"0.51235133",
"0.5123048",
"0.5114526",
"0.510394",
"0.5102891",
"0.50998795",
"0.5098982",
"0.5098982",
"0.5098982",
"0.50892335",
"0.5088051",
"0.5088051",
"0.508304",
"0.5082878",
"0.50758326",
"0.50749505",
"0.5068144",
"0.50675446",
"0.5064696",
"0.5061971",
"0.50591236",
"0.50572336",
"0.50562656",
"0.5049229",
"0.50418454",
"0.50407284",
"0.5038814",
"0.5036859",
"0.50325936",
"0.5031982",
"0.5027425",
"0.50257075",
"0.50255626",
"0.50237113",
"0.501311",
"0.50080734"
] |
0.63530475
|
0
|
Freeform string that identifies the entity requesting config. E.g. "envoy" or "grpc" string user_agent_name = 6;
|
@java.lang.Override
public com.google.protobuf.ByteString
getUserAgentNameBytes() {
java.lang.Object ref = userAgentName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userAgentName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public java.lang.String getUserAgentName() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = s;\n return s;\n }\n }",
"public java.lang.String getUserAgentName() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n }\n }",
"java.lang.String getAgentName();",
"public com.google.protobuf.ByteString\n getUserAgentNameBytes() {\n java.lang.Object ref = userAgentName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n userAgentName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@Override\r\n\tpublic String getBotUsername() {\t\t\r\n\t\treturn BotConfig.BOT_USER_NAME;\r\n\t}",
"@ApiModelProperty(required = true, value = \"User unique login. Controls the value of the corresponding CfgPerson attribute \")\n public String getUserName() {\n return userName;\n }",
"public static String m21385a() {\n return System.getProperty(\"http.agent\");\n }",
"public final String getUserAgent() {\n return properties.get(USER_AGENT_PROPERTY);\n }",
"String getUserAgent();",
"public static String getUserDisplayName() {\r\n return getUsername();\r\n }",
"java.lang.String getUserAgent();",
"java.lang.String getUser();",
"public String getName() {\n\t\t\n\t\tString name = \"\";\n\t\t\n\t\tif (securityContext != null) {\n\t\t\tname = securityContext.getIdToken().getPreferredUsername();\n\t\t}\n\t\t\n\t\treturn name;\n\t}",
"public final String mo69547a() {\n return \"user\";\n }",
"@AutoEscape\n\tpublic String getUser_name();",
"public String getAgentName() {\n return (String)getAttributeInternal(AGENTNAME);\n }",
"public String getLabel() {\n return AsteriskUtlities.toContextIdentifier(username + \"-\" + company);\n }",
"abstract String getUserAgent();",
"static String getUserName() {\n return System.getProperty(\"user.name\");\n }",
"public String getUser_name() {\n return user_name;\n }",
"public static String getUser() {\n return annotation != null ? annotation.user() : \"Unknown\";\n }",
"@Override\n\tpublic java.lang.String getUserAgent() {\n\t\treturn _userTracker.getUserAgent();\n\t}",
"@ApiModelProperty(value = \"The username, which is unique within a Cloudera Manager installation.\")\n\n\n public String getName() {\n return name;\n }",
"public static String getUserAgent()\n {\n return USER_AGENT;\n }",
"protected String loginIdentifyString() {\r\n return \"hao\";\r\n }",
"public String getUser() {\r\n \t\treturn properties.getProperty(KEY_USER);\r\n \t}",
"com.google.protobuf.ByteString\n getAgentNameBytes();",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public static String userAgent() {\n Random random = new Random();\n return userAgents.get(random.nextInt(userAgents.size()));\n }",
"private String getUserConfiguredDeviceName() {\n\t\tString nameFromSystemDevice = Settings.Secure.getString(getContentResolver(), \"device_name\");\n\t\tif (!isEmpty(nameFromSystemDevice)) return nameFromSystemDevice;\n\t\treturn null;\n\t}",
"private String createUserAgent() {\n String userAgentString = createUserAgentString();\n StringBuilder result = new StringBuilder();\n\n // Removing invalid characters\n for (int i = 0; i < userAgentString.length(); i++) {\n char c = userAgentString.charAt(i);\n if (c == '\\t' || ('\\u0020' <= c && c <= '\\u007e')) {\n result.append(c);\n }\n }\n return result.toString();\n }",
"private String getUserAgent(HTTPSampleResult sampleResult) {\n String res = sampleResult.getRequestHeaders();\n int index = res.indexOf(USER_AGENT);\n if (index >= 0) {\n // see HTTPHC3Impl#getConnectionHeaders\n // see HTTPHC4Impl#getConnectionHeaders\n // see HTTPJavaImpl#getConnectionHeaders\n //': ' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n final String userAgentPrefix = USER_AGENT+\": \";\n String userAgentHdr = res.substring(\n index+userAgentPrefix.length(),\n res.indexOf('\\n',// '\\n' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n index+userAgentPrefix.length()+1));\n return userAgentHdr.trim();\n } else {\n if (log.isInfoEnabled()) {\n log.info(\"No user agent extracted from requestHeaders:\" + res);\n }\n return null;\n }\n }",
"public String getUserAgent();",
"public String getGoogleUserFirstName(){\n return (String) attributes.get(GOOGLE_USER_FIRST_NAME);\n }",
"public String getHeader() {\n String header = FxSharedUtils.getHeader();\n if (header.indexOf(\"$user$\") > 0)\n header = header.replaceAll(\"\\\\$user\\\\$\", getRequest().getUserTicket().getUserName());\n return header;\n }",
"String getUser();",
"String getUser();",
"public final String getUsername() {\n return properties.get(USERNAME_PROPERTY);\n }",
"public String getUserAgent() {\n return userAgent;\n }",
"public String getUserAgent(){\n return this.userAgent;\n }",
"@Override\n\tpublic String getGivenName() {\n\t\treturn user.getUserInfo().getGivenName();\n\t}",
"@java.lang.Override\n public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getName() {\n return user.getName();\n }",
"@AutoEscape\n\tpublic String getRequesterName();",
"public Builder setUserAgentName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n userAgentName_ = value;\n onChanged();\n return this;\n }",
"public String extractAgentName() {\n\n final String[] names = name.split(\"\\\\.\");\n assert names.length > 1;\n\n return names[1];\n }",
"String getUserUsername();",
"public String getUserConfig() {\n return userConfig;\n }",
"@Override\n\tpublic String getFamilyName() {\n\t\treturn user.getUserInfo().getFamilyName();\n\t}",
"public String getAgentName() {\n return agentName;\n }",
"@ApiModelProperty(required = true, value = \"This is the Login User Name\")\n @NotNull\n\n\n public String getUserName() {\n return userName;\n }",
"public static String onGetLocalUserName(Context context){\n return PreferencesUtils.getString(context, Config.KEY_OF_USER_NAME, \"\");\n }",
"@AppNameInUserAgent\n public abstract String assertUserAgentAppName();",
"public static String getAppName(){\r\n return getProperty(\"name\", \"Jin\");\r\n }",
"public String getGoogleAnalyticsUsername() {\n return googleAnalyticsUsername;\n }",
"private static String buildUserAgent(Context context) {\r\n\t\ttry {\r\n\t\t\tfinal PackageManager manager = context.getPackageManager();\r\n\t\t\tfinal PackageInfo info = manager.getPackageInfo(\r\n\t\t\t\t\tcontext.getPackageName(), 0);\r\n\r\n\t\t\t// Some APIs require \"(gzip)\" in the user-agent string.\r\n\t\t\treturn info.packageName + \"/\" + info.versionName + \" (\"\r\n\t\t\t\t\t+ info.versionCode + \") (gzip)\";\r\n\t\t} catch (NameNotFoundException e) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"String getCurrentUserDisplayName() throws Exception;",
"public Optional<String> tokenName() {\n return Codegen.stringProp(\"tokenName\").config(config).get();\n }",
"public String getName() {\r\n\t\treturn this.userName;\r\n\t}",
"public String getLoginNameLabel(){\n\t \treturn \"Email\";\n\t }",
"@java.lang.Override\n public java.lang.String getUser() {\n java.lang.Object ref = user_;\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 user_ = s;\n return s;\n }\n }",
"public static String getOsUserName() {\n\n return System.getProperty(\"user.name\");\n }",
"public String getUserShortName() throws Exception\r\n {\n return null;\r\n }",
"public String getAgentHost() {\n return (String)getAttributeInternal(AGENTHOST);\n }",
"public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n }\n }",
"public String getName() {\r\n\t\treturn username;\r\n\t}",
"public java.lang.String getUser() {\n java.lang.Object ref = user_;\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 user_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"java.lang.String getUserName();",
"java.lang.String getUserName();",
"java.lang.String getUserName();",
"public static String getDefaultUserAgent(){\n return sDefaultUserAgent;\n }",
"String getUserName();",
"String getUserName();",
"public String getUserNameExample()\n {\n return null;\n }",
"@DISPID(8)\r\n\t// = 0x8. The runtime will prefer the VTID if present\r\n\t@VTID(14)\r\n\tjava.lang.String username();",
"private static String getUser(String message) { return message.split(\"!\")[0].substring(1); }",
"public String getUserDisplayName() throws Exception\r\n {\n return null;\r\n }",
"public final String getUserAgent( ) {\r\n\t\treturn this.userAgent;\r\n\t}",
"public static String getUser() {\r\n return user;\r\n }",
"public String getAgentName ()\n {\n return agentName;\n\n }",
"public String getUserRealName() {\r\n return userRealName;\r\n }",
"@ApiModelProperty(value = \"Name by which a party is known and which is usually used to identify that party.\")\n\n@Size(min=1,max=70) \n public String getGivenName() {\n return givenName;\n }",
"public String getUserName() {\n return (String) getAttributeInternal(USERNAME);\n }",
"@ApiModelProperty(required = true, value = \"The user to send the approval request to. Can be either an email address or a phone number.\")\n public String getUser() {\n return user;\n }",
"public String getUserRealname() {\n return userRealname;\n }",
"public java.lang.String getAgentName() {\r\n return agentName;\r\n }",
"public String getIdGeneratorDatabaseUsername(){\n \t\treturn getProperty(\"org.sagebionetworks.id.generator.database.username\");\n \t}",
"@Override\r\n\tpublic String getUserAgent() {\n\t\treturn null;\r\n\t}",
"public String getSiteNameReguex();",
"public String getAgent() {\n return agent;\n }",
"public static String getUser() {\n return user;\n }",
"@ApiModelProperty(value = \"The short display name of the payee as provided by the customer\")\n\n public String getNickname() {\n return nickname;\n }",
"String getConfigName();",
"public String getAgent() {\n return this.agent;\n }",
"public String getUser() {\n\t\t\t\treturn null;\r\n\t\t\t}",
"public String getName() {\n\t\treturn this.username;\n\t}",
"@ApiModelProperty(value = \"Name by which a party is known and which is usually used to identify that party.\")\n\n@Size(min=1,max=70) \n public String getFamilyName() {\n return familyName;\n }"
] |
[
"0.63530475",
"0.6352294",
"0.6120394",
"0.5975737",
"0.59126735",
"0.57785326",
"0.5729692",
"0.5722757",
"0.5658484",
"0.562868",
"0.5604517",
"0.5586205",
"0.5573378",
"0.55730873",
"0.5562866",
"0.55455655",
"0.55063695",
"0.55033255",
"0.54752046",
"0.5462106",
"0.54435396",
"0.54326564",
"0.5432388",
"0.5431039",
"0.543041",
"0.5417393",
"0.5408416",
"0.540368",
"0.53816",
"0.5377944",
"0.536492",
"0.5364407",
"0.5353632",
"0.5352785",
"0.5348432",
"0.5345393",
"0.53379625",
"0.5320992",
"0.5309327",
"0.5309327",
"0.5303258",
"0.53008014",
"0.52956635",
"0.52822685",
"0.52797115",
"0.5279561",
"0.52765536",
"0.52608013",
"0.5257445",
"0.5222201",
"0.52168083",
"0.5208736",
"0.52059233",
"0.51986843",
"0.51861143",
"0.5184994",
"0.51637536",
"0.5151091",
"0.5148277",
"0.5145003",
"0.513563",
"0.5130669",
"0.5127684",
"0.5125995",
"0.51235133",
"0.5123048",
"0.5114526",
"0.510394",
"0.5102891",
"0.50998795",
"0.5098982",
"0.5098982",
"0.5098982",
"0.50892335",
"0.5088051",
"0.5088051",
"0.508304",
"0.5082878",
"0.50758326",
"0.50749505",
"0.5068144",
"0.50675446",
"0.5064696",
"0.5061971",
"0.50591236",
"0.50572336",
"0.50562656",
"0.5049229",
"0.50418454",
"0.50407284",
"0.5038814",
"0.5036859",
"0.50325936",
"0.5031982",
"0.5027425",
"0.50257075",
"0.50255626",
"0.50237113",
"0.501311",
"0.50080734"
] |
0.607737
|
3
|
Freeform string that identifies the version of the entity requesting config. E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild" string user_agent_version = 7;
|
public boolean hasUserAgentVersion() {
return userAgentVersionTypeCase_ == 7;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public Builder setUserAgentVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n userAgentVersionTypeCase_ = 7;\n userAgentVersionType_ = value;\n onChanged();\n return this;\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return userAgentBuildVersionBuilder_.getMessage();\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if ((userAgentVersionTypeCase_ == 8) && (userAgentBuildVersionBuilder_ != null)) {\n return userAgentBuildVersionBuilder_.getMessageOrBuilder();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"public void setUserAgent(String uaName, String version);",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n }\n }",
"public Builder setUserAgentVersionBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n userAgentVersionTypeCase_ = 7;\n userAgentVersionType_ = value;\n onChanged();\n return this;\n }",
"static String getVersionString6() {\n\t\treturn VERSION_STRING.replace(\"5.0.\", \"6.0.\");\n\t}",
"public Builder setUserAgentBuildVersion(io.envoyproxy.envoy.config.core.v3.BuildVersion value) {\n if (userAgentBuildVersionBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n userAgentVersionType_ = value;\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(value);\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public boolean hasUserAgentVersion() {\n return userAgentVersionTypeCase_ == 7;\n }",
"public static String getAppVersion(){\r\n return getProperty(\"version\");\r\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"java.lang.String getApplicationVersion();",
"public String getServerVersion();",
"@ApiModelProperty(example = \"36867\", required = true, value = \"The entity version. The higher byte represents the network identifier: * 0x68 (MAIN_NET) - Public main network. * 0x98 (TEST_NET) - Public test network. * 0x60 (MIJIN) - Private network. * 0x90 (MIJIN_TEST) - Private test network. \")\n public Integer getVersion() {\n return version;\n }",
"public String getRequestVersion () {\n\treturn requestVersion;\n }",
"public static String getAppVersion() {\n \t\tif (props.containsKey(\"app.version\")) {\n \t\t\treturn props.getProperty(\"app.version\");\n \t\t} else {\n \t\t\treturn \"unspecified\";\n \t\t}\n \t}",
"private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder> \n getUserAgentBuildVersionFieldBuilder() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (!(userAgentVersionTypeCase_ == 8)) {\n userAgentVersionType_ = io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n userAgentBuildVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder>(\n (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_,\n getParentForChildren(),\n isClean());\n userAgentVersionType_ = null;\n }\n userAgentVersionTypeCase_ = 8;\n onChanged();;\n return userAgentBuildVersionBuilder_;\n }",
"public io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder getUserAgentBuildVersionBuilder() {\n return getUserAgentBuildVersionFieldBuilder().getBuilder();\n }",
"public String getClientVersionno() {\r\n\t\treturn clientVersionno;\r\n\t}",
"public String getAppVersion() { return appVersion; }",
"public String getUserAgent(){\n return this.userAgent;\n }",
"java.lang.String getUserAgent();",
"@Key(\"application.version\")\n\tString applicationVersion();",
"public void setEnsemblVersion(java.lang.String value) {\n this.ensemblVersion = value;\n }",
"public static String getUserAgent()\n {\n return USER_AGENT;\n }",
"public String getUserAgent() {\n return userAgent;\n }",
"public java.lang.String getUserAgentName() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"private static String buildUserAgent(Context context) {\r\n\t\ttry {\r\n\t\t\tfinal PackageManager manager = context.getPackageManager();\r\n\t\t\tfinal PackageInfo info = manager.getPackageInfo(\r\n\t\t\t\t\tcontext.getPackageName(), 0);\r\n\r\n\t\t\t// Some APIs require \"(gzip)\" in the user-agent string.\r\n\t\t\treturn info.packageName + \"/\" + info.versionName + \" (\"\r\n\t\t\t\t\t+ info.versionCode + \") (gzip)\";\r\n\t\t} catch (NameNotFoundException e) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"public Builder setUserAgentBuildVersion(\n io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder builderForValue) {\n if (userAgentBuildVersionBuilder_ == null) {\n userAgentVersionType_ = builderForValue.build();\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(builderForValue.build());\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"String getUserAgent();",
"public final String getUserAgent() {\n return properties.get(USER_AGENT_PROPERTY);\n }",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"public String getAppVersion() {\n return appVersion;\n }",
"abstract String getUserAgent();",
"private String getHttpVersion() {\n return (http11 ? \"HTTP/1.1\" : \"HTTP/1.0\");\n }",
"@java.lang.Override\n public java.lang.String getUserAgentName() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = s;\n return s;\n }\n }",
"public String getProductVersion();",
"private String createUserAgent() {\n String userAgentString = createUserAgentString();\n StringBuilder result = new StringBuilder();\n\n // Removing invalid characters\n for (int i = 0; i < userAgentString.length(); i++) {\n char c = userAgentString.charAt(i);\n if (c == '\\t' || ('\\u0020' <= c && c <= '\\u007e')) {\n result.append(c);\n }\n }\n return result.toString();\n }",
"public static String getStringVersion() throws IOException {\n return \"0.0.1\";//attr.getValue(\"Implementation-Version\");\n }",
"@GetMapping()\n public String getServerVersion() {\n return versionProperties.getVersion();\n }",
"public String getHttpVersion() {\n return httpVersion;\n }",
"public static String userAgent() {\n Random random = new Random();\n return userAgents.get(random.nextInt(userAgents.size()));\n }",
"public String getStrappver() {\n return strappver;\n }",
"public static String m21385a() {\n return System.getProperty(\"http.agent\");\n }",
"public String getUserAgent();",
"public void setVersion(String version);",
"public static String getVersion(HttpServletRequest request)\n {\n String temp = getParams(request.getParameterMap()).getVersion();\n if (temp == null || temp.isEmpty())\n {\n throw new IllegalArgumentException(Constants.ErrorMessages.VersionNotSpecified);\n }\n return temp;\n }",
"@Override\r\n\tpublic String getVersion() {\r\n\t\treturn \"1.0.5\";\r\n\t}",
"String offerVersion();",
"public void setVersion(String version)\n {\n this.ver = version;\n }",
"void setApplicationVersion(java.lang.String applicationVersion);",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentNameBytes() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public static final String getVersion() { return version; }",
"public static final String getVersion() { return version; }",
"public void setVersion(String version){\r\n this.version = version;\r\n }",
"public void setVersion(String value) {\n\t\tthis._version = value;\n\t}",
"@ApiModelProperty(example = \"null\", value = \"Use this version in conjuction with the classifier name for referring to this classifier in a configuration provided with the media for processing\")\n public String getClassifierVersion() {\n return classifierVersion;\n }",
"public static String getVersion() {\n return \"0.9 Beta\";\n }",
"public static String getVersion() {\n\t\treturn \"1.0.3\";\n\t}",
"public String getVer() {\r\n return this.ver;\r\n }",
"com.google.protobuf.ByteString\n getUserAgentBytes();",
"private String getUserAgent(HTTPSampleResult sampleResult) {\n String res = sampleResult.getRequestHeaders();\n int index = res.indexOf(USER_AGENT);\n if (index >= 0) {\n // see HTTPHC3Impl#getConnectionHeaders\n // see HTTPHC4Impl#getConnectionHeaders\n // see HTTPJavaImpl#getConnectionHeaders\n //': ' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n final String userAgentPrefix = USER_AGENT+\": \";\n String userAgentHdr = res.substring(\n index+userAgentPrefix.length(),\n res.indexOf('\\n',// '\\n' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n index+userAgentPrefix.length()+1));\n return userAgentHdr.trim();\n } else {\n if (log.isInfoEnabled()) {\n log.info(\"No user agent extracted from requestHeaders:\" + res);\n }\n return null;\n }\n }",
"@Override\n public String getVersionString() {\n return versionString;\n }",
"public static String getVersion() {\n\t\treturn version;\r\n\t}",
"public String getVersion()\n {\n return ver;\n }",
"public static String getVersion() {\r\n\t\treturn VERSION;\r\n\t}",
"public static String getVersion() {\n\t\treturn version;\n\t}",
"public void setVersion(String version) {\n\t\t\r\n\t}",
"public String getVersion(){\r\n return version;\r\n }",
"public void setUserAgent(String userAgent){\n this.userAgent = userAgent;\n }",
"public void setVersion(java.lang.String version) {\r\n this.version = version;\r\n }",
"void setVersion(String version);"
] |
[
"0.7407472",
"0.7340214",
"0.71192366",
"0.70719755",
"0.69019365",
"0.67085683",
"0.6631732",
"0.6402201",
"0.63864344",
"0.6288223",
"0.6286936",
"0.62148845",
"0.6146525",
"0.60816836",
"0.60785866",
"0.5942647",
"0.59350556",
"0.5918938",
"0.5908703",
"0.59080505",
"0.588711",
"0.5875478",
"0.5855979",
"0.5852667",
"0.58330345",
"0.5803395",
"0.57933366",
"0.5788864",
"0.57809067",
"0.5765971",
"0.5760359",
"0.5717623",
"0.5709119",
"0.5707686",
"0.5698663",
"0.56658083",
"0.5634578",
"0.5630946",
"0.56230354",
"0.561527",
"0.5604126",
"0.5580496",
"0.5580496",
"0.5580496",
"0.5580496",
"0.5580496",
"0.5580496",
"0.5580496",
"0.5580496",
"0.5579213",
"0.55625045",
"0.5557625",
"0.5556711",
"0.5553269",
"0.55415344",
"0.5530547",
"0.5528584",
"0.5522402",
"0.5516076",
"0.55119103",
"0.55095524",
"0.5485432",
"0.54743177",
"0.54495907",
"0.54493976",
"0.54455805",
"0.54365313",
"0.5432458",
"0.5431733",
"0.5431733",
"0.5431733",
"0.5431733",
"0.5431733",
"0.5431733",
"0.5431733",
"0.5431733",
"0.5431733",
"0.5431733",
"0.5431733",
"0.54216486",
"0.5394336",
"0.5394336",
"0.53912735",
"0.5391126",
"0.53896284",
"0.5382262",
"0.5365602",
"0.53649604",
"0.5364812",
"0.5359999",
"0.53484106",
"0.5344379",
"0.5343563",
"0.5326681",
"0.5325649",
"0.53179115",
"0.5310404",
"0.53079134",
"0.5286378",
"0.5284315"
] |
0.58335567
|
24
|
Freeform string that identifies the version of the entity requesting config. E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild" string user_agent_version = 7;
|
public java.lang.String getUserAgentVersion() {
java.lang.Object ref = "";
if (userAgentVersionTypeCase_ == 7) {
ref = userAgentVersionType_;
}
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (userAgentVersionTypeCase_ == 7) {
userAgentVersionType_ = s;
}
return s;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public Builder setUserAgentVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n userAgentVersionTypeCase_ = 7;\n userAgentVersionType_ = value;\n onChanged();\n return this;\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return userAgentBuildVersionBuilder_.getMessage();\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if ((userAgentVersionTypeCase_ == 8) && (userAgentBuildVersionBuilder_ != null)) {\n return userAgentBuildVersionBuilder_.getMessageOrBuilder();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public void setUserAgent(String uaName, String version);",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n }\n }",
"public Builder setUserAgentVersionBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n userAgentVersionTypeCase_ = 7;\n userAgentVersionType_ = value;\n onChanged();\n return this;\n }",
"static String getVersionString6() {\n\t\treturn VERSION_STRING.replace(\"5.0.\", \"6.0.\");\n\t}",
"public Builder setUserAgentBuildVersion(io.envoyproxy.envoy.config.core.v3.BuildVersion value) {\n if (userAgentBuildVersionBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n userAgentVersionType_ = value;\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(value);\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public boolean hasUserAgentVersion() {\n return userAgentVersionTypeCase_ == 7;\n }",
"public static String getAppVersion(){\r\n return getProperty(\"version\");\r\n }",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"java.lang.String getApplicationVersion();",
"public String getServerVersion();",
"@ApiModelProperty(example = \"36867\", required = true, value = \"The entity version. The higher byte represents the network identifier: * 0x68 (MAIN_NET) - Public main network. * 0x98 (TEST_NET) - Public test network. * 0x60 (MIJIN) - Private network. * 0x90 (MIJIN_TEST) - Private test network. \")\n public Integer getVersion() {\n return version;\n }",
"public boolean hasUserAgentVersion() {\n return userAgentVersionTypeCase_ == 7;\n }",
"public String getRequestVersion () {\n\treturn requestVersion;\n }",
"public static String getAppVersion() {\n \t\tif (props.containsKey(\"app.version\")) {\n \t\t\treturn props.getProperty(\"app.version\");\n \t\t} else {\n \t\t\treturn \"unspecified\";\n \t\t}\n \t}",
"private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder> \n getUserAgentBuildVersionFieldBuilder() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (!(userAgentVersionTypeCase_ == 8)) {\n userAgentVersionType_ = io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n userAgentBuildVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder>(\n (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_,\n getParentForChildren(),\n isClean());\n userAgentVersionType_ = null;\n }\n userAgentVersionTypeCase_ = 8;\n onChanged();;\n return userAgentBuildVersionBuilder_;\n }",
"public io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder getUserAgentBuildVersionBuilder() {\n return getUserAgentBuildVersionFieldBuilder().getBuilder();\n }",
"public String getClientVersionno() {\r\n\t\treturn clientVersionno;\r\n\t}",
"public String getAppVersion() { return appVersion; }",
"public String getUserAgent(){\n return this.userAgent;\n }",
"java.lang.String getUserAgent();",
"@Key(\"application.version\")\n\tString applicationVersion();",
"public void setEnsemblVersion(java.lang.String value) {\n this.ensemblVersion = value;\n }",
"public static String getUserAgent()\n {\n return USER_AGENT;\n }",
"public String getUserAgent() {\n return userAgent;\n }",
"public java.lang.String getUserAgentName() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"private static String buildUserAgent(Context context) {\r\n\t\ttry {\r\n\t\t\tfinal PackageManager manager = context.getPackageManager();\r\n\t\t\tfinal PackageInfo info = manager.getPackageInfo(\r\n\t\t\t\t\tcontext.getPackageName(), 0);\r\n\r\n\t\t\t// Some APIs require \"(gzip)\" in the user-agent string.\r\n\t\t\treturn info.packageName + \"/\" + info.versionName + \" (\"\r\n\t\t\t\t\t+ info.versionCode + \") (gzip)\";\r\n\t\t} catch (NameNotFoundException e) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"public Builder setUserAgentBuildVersion(\n io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder builderForValue) {\n if (userAgentBuildVersionBuilder_ == null) {\n userAgentVersionType_ = builderForValue.build();\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(builderForValue.build());\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"String getUserAgent();",
"public final String getUserAgent() {\n return properties.get(USER_AGENT_PROPERTY);\n }",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"public String getAppVersion() {\n return appVersion;\n }",
"abstract String getUserAgent();",
"@java.lang.Override\n public java.lang.String getUserAgentName() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = s;\n return s;\n }\n }",
"private String getHttpVersion() {\n return (http11 ? \"HTTP/1.1\" : \"HTTP/1.0\");\n }",
"public String getProductVersion();",
"private String createUserAgent() {\n String userAgentString = createUserAgentString();\n StringBuilder result = new StringBuilder();\n\n // Removing invalid characters\n for (int i = 0; i < userAgentString.length(); i++) {\n char c = userAgentString.charAt(i);\n if (c == '\\t' || ('\\u0020' <= c && c <= '\\u007e')) {\n result.append(c);\n }\n }\n return result.toString();\n }",
"public static String getStringVersion() throws IOException {\n return \"0.0.1\";//attr.getValue(\"Implementation-Version\");\n }",
"@GetMapping()\n public String getServerVersion() {\n return versionProperties.getVersion();\n }",
"public String getHttpVersion() {\n return httpVersion;\n }",
"public static String userAgent() {\n Random random = new Random();\n return userAgents.get(random.nextInt(userAgents.size()));\n }",
"public static String m21385a() {\n return System.getProperty(\"http.agent\");\n }",
"public String getStrappver() {\n return strappver;\n }",
"public String getUserAgent();",
"public void setVersion(String version);",
"public static String getVersion(HttpServletRequest request)\n {\n String temp = getParams(request.getParameterMap()).getVersion();\n if (temp == null || temp.isEmpty())\n {\n throw new IllegalArgumentException(Constants.ErrorMessages.VersionNotSpecified);\n }\n return temp;\n }",
"@Override\r\n\tpublic String getVersion() {\r\n\t\treturn \"1.0.5\";\r\n\t}",
"String offerVersion();",
"public void setVersion(String version)\n {\n this.ver = version;\n }",
"void setApplicationVersion(java.lang.String applicationVersion);",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentNameBytes() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public static final String getVersion() { return version; }",
"public static final String getVersion() { return version; }",
"public void setVersion(String value) {\n\t\tthis._version = value;\n\t}",
"@ApiModelProperty(example = \"null\", value = \"Use this version in conjuction with the classifier name for referring to this classifier in a configuration provided with the media for processing\")\n public String getClassifierVersion() {\n return classifierVersion;\n }",
"public void setVersion(String version){\r\n this.version = version;\r\n }",
"public static String getVersion() {\n return \"0.9 Beta\";\n }",
"com.google.protobuf.ByteString\n getUserAgentBytes();",
"public String getVer() {\r\n return this.ver;\r\n }",
"public static String getVersion() {\n\t\treturn \"1.0.3\";\n\t}",
"private String getUserAgent(HTTPSampleResult sampleResult) {\n String res = sampleResult.getRequestHeaders();\n int index = res.indexOf(USER_AGENT);\n if (index >= 0) {\n // see HTTPHC3Impl#getConnectionHeaders\n // see HTTPHC4Impl#getConnectionHeaders\n // see HTTPJavaImpl#getConnectionHeaders\n //': ' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n final String userAgentPrefix = USER_AGENT+\": \";\n String userAgentHdr = res.substring(\n index+userAgentPrefix.length(),\n res.indexOf('\\n',// '\\n' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n index+userAgentPrefix.length()+1));\n return userAgentHdr.trim();\n } else {\n if (log.isInfoEnabled()) {\n log.info(\"No user agent extracted from requestHeaders:\" + res);\n }\n return null;\n }\n }",
"@Override\n public String getVersionString() {\n return versionString;\n }",
"public static String getVersion() {\n\t\treturn version;\r\n\t}",
"public String getVersion()\n {\n return ver;\n }",
"public static String getVersion() {\r\n\t\treturn VERSION;\r\n\t}",
"public static String getVersion() {\n\t\treturn version;\n\t}",
"public void setVersion(String version) {\n\t\t\r\n\t}",
"public void setUserAgent(String userAgent){\n this.userAgent = userAgent;\n }",
"public String getVersion(){\r\n return version;\r\n }",
"public void setVersion(java.lang.String version) {\r\n this.version = version;\r\n }",
"void setVersion(String version);"
] |
[
"0.73409975",
"0.7120255",
"0.7072585",
"0.6903101",
"0.67085683",
"0.6631816",
"0.64020854",
"0.63862324",
"0.6289047",
"0.6288965",
"0.6217027",
"0.61471474",
"0.6080606",
"0.6078712",
"0.59445435",
"0.5937122",
"0.591671",
"0.5909918",
"0.59098166",
"0.5888223",
"0.587329",
"0.58535874",
"0.5849807",
"0.5835964",
"0.58309233",
"0.58016455",
"0.5793415",
"0.5788547",
"0.57792974",
"0.57640404",
"0.5762579",
"0.5719769",
"0.5706248",
"0.5705496",
"0.5701503",
"0.56682503",
"0.56358254",
"0.563136",
"0.5623037",
"0.56168026",
"0.5606928",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.55776036",
"0.55644166",
"0.5557675",
"0.5556565",
"0.5551148",
"0.5542995",
"0.5528204",
"0.55257297",
"0.55211",
"0.5517267",
"0.5510906",
"0.55105793",
"0.54875237",
"0.54711884",
"0.54475653",
"0.54471266",
"0.5442775",
"0.5433594",
"0.5430515",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.54222625",
"0.53918546",
"0.53918546",
"0.5388923",
"0.5388531",
"0.5388159",
"0.5379355",
"0.5366226",
"0.53630096",
"0.5362613",
"0.53617793",
"0.53459775",
"0.53419435",
"0.5341144",
"0.53243935",
"0.532318",
"0.53151083",
"0.5310236",
"0.5307805",
"0.5283864",
"0.5281234"
] |
0.74086416
|
0
|
Freeform string that identifies the version of the entity requesting config. E.g. "1.12.2" or "abcd1234", or "SpecialEnvoyBuild" string user_agent_version = 7;
|
public com.google.protobuf.ByteString
getUserAgentVersionBytes() {
java.lang.Object ref = "";
if (userAgentVersionTypeCase_ == 7) {
ref = userAgentVersionType_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (userAgentVersionTypeCase_ == 7) {
userAgentVersionType_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public Builder setUserAgentVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n userAgentVersionTypeCase_ = 7;\n userAgentVersionType_ = value;\n onChanged();\n return this;\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return userAgentBuildVersionBuilder_.getMessage();\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if ((userAgentVersionTypeCase_ == 8) && (userAgentBuildVersionBuilder_ != null)) {\n return userAgentBuildVersionBuilder_.getMessageOrBuilder();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public void setUserAgent(String uaName, String version);",
"public java.lang.String getUserAgent() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = s;\n }\n return s;\n }\n }",
"public Builder setUserAgentVersionBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n userAgentVersionTypeCase_ = 7;\n userAgentVersionType_ = value;\n onChanged();\n return this;\n }",
"static String getVersionString6() {\n\t\treturn VERSION_STRING.replace(\"5.0.\", \"6.0.\");\n\t}",
"public Builder setUserAgentBuildVersion(io.envoyproxy.envoy.config.core.v3.BuildVersion value) {\n if (userAgentBuildVersionBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n userAgentVersionType_ = value;\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(value);\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public boolean hasUserAgentVersion() {\n return userAgentVersionTypeCase_ == 7;\n }",
"public static String getAppVersion(){\r\n return getProperty(\"version\");\r\n }",
"public com.google.protobuf.ByteString\n getUserAgentBytes() {\n java.lang.Object ref = userAgent_;\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 userAgent_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"java.lang.String getApplicationVersion();",
"public String getServerVersion();",
"@ApiModelProperty(example = \"36867\", required = true, value = \"The entity version. The higher byte represents the network identifier: * 0x68 (MAIN_NET) - Public main network. * 0x98 (TEST_NET) - Public test network. * 0x60 (MIJIN) - Private network. * 0x90 (MIJIN_TEST) - Private test network. \")\n public Integer getVersion() {\n return version;\n }",
"public boolean hasUserAgentVersion() {\n return userAgentVersionTypeCase_ == 7;\n }",
"public String getRequestVersion () {\n\treturn requestVersion;\n }",
"public static String getAppVersion() {\n \t\tif (props.containsKey(\"app.version\")) {\n \t\t\treturn props.getProperty(\"app.version\");\n \t\t} else {\n \t\t\treturn \"unspecified\";\n \t\t}\n \t}",
"private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder> \n getUserAgentBuildVersionFieldBuilder() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (!(userAgentVersionTypeCase_ == 8)) {\n userAgentVersionType_ = io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n userAgentBuildVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder>(\n (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_,\n getParentForChildren(),\n isClean());\n userAgentVersionType_ = null;\n }\n userAgentVersionTypeCase_ = 8;\n onChanged();;\n return userAgentBuildVersionBuilder_;\n }",
"public io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder getUserAgentBuildVersionBuilder() {\n return getUserAgentBuildVersionFieldBuilder().getBuilder();\n }",
"public String getClientVersionno() {\r\n\t\treturn clientVersionno;\r\n\t}",
"public String getAppVersion() { return appVersion; }",
"public String getUserAgent(){\n return this.userAgent;\n }",
"java.lang.String getUserAgent();",
"@Key(\"application.version\")\n\tString applicationVersion();",
"public void setEnsemblVersion(java.lang.String value) {\n this.ensemblVersion = value;\n }",
"public static String getUserAgent()\n {\n return USER_AGENT;\n }",
"public String getUserAgent() {\n return userAgent;\n }",
"public java.lang.String getUserAgentName() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"private static String buildUserAgent(Context context) {\r\n\t\ttry {\r\n\t\t\tfinal PackageManager manager = context.getPackageManager();\r\n\t\t\tfinal PackageInfo info = manager.getPackageInfo(\r\n\t\t\t\t\tcontext.getPackageName(), 0);\r\n\r\n\t\t\t// Some APIs require \"(gzip)\" in the user-agent string.\r\n\t\t\treturn info.packageName + \"/\" + info.versionName + \" (\"\r\n\t\t\t\t\t+ info.versionCode + \") (gzip)\";\r\n\t\t} catch (NameNotFoundException e) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"public Builder setUserAgentBuildVersion(\n io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder builderForValue) {\n if (userAgentBuildVersionBuilder_ == null) {\n userAgentVersionType_ = builderForValue.build();\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(builderForValue.build());\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"String getUserAgent();",
"public final String getUserAgent() {\n return properties.get(USER_AGENT_PROPERTY);\n }",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"java.lang.String getVersion();",
"public String getAppVersion() {\n return appVersion;\n }",
"abstract String getUserAgent();",
"@java.lang.Override\n public java.lang.String getUserAgentName() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = s;\n return s;\n }\n }",
"private String getHttpVersion() {\n return (http11 ? \"HTTP/1.1\" : \"HTTP/1.0\");\n }",
"public String getProductVersion();",
"private String createUserAgent() {\n String userAgentString = createUserAgentString();\n StringBuilder result = new StringBuilder();\n\n // Removing invalid characters\n for (int i = 0; i < userAgentString.length(); i++) {\n char c = userAgentString.charAt(i);\n if (c == '\\t' || ('\\u0020' <= c && c <= '\\u007e')) {\n result.append(c);\n }\n }\n return result.toString();\n }",
"public static String getStringVersion() throws IOException {\n return \"0.0.1\";//attr.getValue(\"Implementation-Version\");\n }",
"@GetMapping()\n public String getServerVersion() {\n return versionProperties.getVersion();\n }",
"public String getHttpVersion() {\n return httpVersion;\n }",
"public static String userAgent() {\n Random random = new Random();\n return userAgents.get(random.nextInt(userAgents.size()));\n }",
"public static String m21385a() {\n return System.getProperty(\"http.agent\");\n }",
"public String getStrappver() {\n return strappver;\n }",
"public String getUserAgent();",
"public void setVersion(String version);",
"public static String getVersion(HttpServletRequest request)\n {\n String temp = getParams(request.getParameterMap()).getVersion();\n if (temp == null || temp.isEmpty())\n {\n throw new IllegalArgumentException(Constants.ErrorMessages.VersionNotSpecified);\n }\n return temp;\n }",
"@Override\r\n\tpublic String getVersion() {\r\n\t\treturn \"1.0.5\";\r\n\t}",
"String offerVersion();",
"public void setVersion(String version)\n {\n this.ver = version;\n }",
"void setApplicationVersion(java.lang.String applicationVersion);",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"String getVersion();",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentNameBytes() {\n java.lang.Object ref = userAgentName_;\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 userAgentName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public static final String getVersion() { return version; }",
"public static final String getVersion() { return version; }",
"public void setVersion(String value) {\n\t\tthis._version = value;\n\t}",
"@ApiModelProperty(example = \"null\", value = \"Use this version in conjuction with the classifier name for referring to this classifier in a configuration provided with the media for processing\")\n public String getClassifierVersion() {\n return classifierVersion;\n }",
"public void setVersion(String version){\r\n this.version = version;\r\n }",
"public static String getVersion() {\n return \"0.9 Beta\";\n }",
"com.google.protobuf.ByteString\n getUserAgentBytes();",
"public String getVer() {\r\n return this.ver;\r\n }",
"public static String getVersion() {\n\t\treturn \"1.0.3\";\n\t}",
"private String getUserAgent(HTTPSampleResult sampleResult) {\n String res = sampleResult.getRequestHeaders();\n int index = res.indexOf(USER_AGENT);\n if (index >= 0) {\n // see HTTPHC3Impl#getConnectionHeaders\n // see HTTPHC4Impl#getConnectionHeaders\n // see HTTPJavaImpl#getConnectionHeaders\n //': ' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n final String userAgentPrefix = USER_AGENT+\": \";\n String userAgentHdr = res.substring(\n index+userAgentPrefix.length(),\n res.indexOf('\\n',// '\\n' is used by JMeter to fill-in requestHeaders, see getConnectionHeaders\n index+userAgentPrefix.length()+1));\n return userAgentHdr.trim();\n } else {\n if (log.isInfoEnabled()) {\n log.info(\"No user agent extracted from requestHeaders:\" + res);\n }\n return null;\n }\n }",
"@Override\n public String getVersionString() {\n return versionString;\n }",
"public static String getVersion() {\n\t\treturn version;\r\n\t}",
"public String getVersion()\n {\n return ver;\n }",
"public static String getVersion() {\r\n\t\treturn VERSION;\r\n\t}",
"public static String getVersion() {\n\t\treturn version;\n\t}",
"public void setVersion(String version) {\n\t\t\r\n\t}",
"public void setUserAgent(String userAgent){\n this.userAgent = userAgent;\n }",
"public String getVersion(){\r\n return version;\r\n }",
"public void setVersion(java.lang.String version) {\r\n this.version = version;\r\n }",
"void setVersion(String version);"
] |
[
"0.74086416",
"0.73409975",
"0.7072585",
"0.6903101",
"0.67085683",
"0.6631816",
"0.64020854",
"0.63862324",
"0.6289047",
"0.6288965",
"0.6217027",
"0.61471474",
"0.6080606",
"0.6078712",
"0.59445435",
"0.5937122",
"0.591671",
"0.5909918",
"0.59098166",
"0.5888223",
"0.587329",
"0.58535874",
"0.5849807",
"0.5835964",
"0.58309233",
"0.58016455",
"0.5793415",
"0.5788547",
"0.57792974",
"0.57640404",
"0.5762579",
"0.5719769",
"0.5706248",
"0.5705496",
"0.5701503",
"0.56682503",
"0.56358254",
"0.563136",
"0.5623037",
"0.56168026",
"0.5606928",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.5577623",
"0.55776036",
"0.55644166",
"0.5557675",
"0.5556565",
"0.5551148",
"0.5542995",
"0.5528204",
"0.55257297",
"0.55211",
"0.5517267",
"0.5510906",
"0.55105793",
"0.54875237",
"0.54711884",
"0.54475653",
"0.54471266",
"0.5442775",
"0.5433594",
"0.5430515",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.542892",
"0.54222625",
"0.53918546",
"0.53918546",
"0.5388923",
"0.5388531",
"0.5388159",
"0.5379355",
"0.5366226",
"0.53630096",
"0.5362613",
"0.53617793",
"0.53459775",
"0.53419435",
"0.5341144",
"0.53243935",
"0.532318",
"0.53151083",
"0.5310236",
"0.5307805",
"0.5283864",
"0.5281234"
] |
0.7120255
|
2
|
Structured version of the entity requesting config. .envoy.config.core.v3.BuildVersion user_agent_build_version = 8;
|
@java.lang.Override
public boolean hasUserAgentBuildVersion() {
return userAgentVersionTypeCase_ == 8;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if ((userAgentVersionTypeCase_ == 8) && (userAgentBuildVersionBuilder_ != null)) {\n return userAgentBuildVersionBuilder_.getMessageOrBuilder();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder getUserAgentBuildVersionBuilder() {\n return getUserAgentBuildVersionFieldBuilder().getBuilder();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return userAgentBuildVersionBuilder_.getMessage();\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder> \n getUserAgentBuildVersionFieldBuilder() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (!(userAgentVersionTypeCase_ == 8)) {\n userAgentVersionType_ = io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n userAgentBuildVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder>(\n (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_,\n getParentForChildren(),\n isClean());\n userAgentVersionType_ = null;\n }\n userAgentVersionTypeCase_ = 8;\n onChanged();;\n return userAgentBuildVersionBuilder_;\n }",
"@ApiModelProperty(example = \"36867\", required = true, value = \"The entity version. The higher byte represents the network identifier: * 0x68 (MAIN_NET) - Public main network. * 0x98 (TEST_NET) - Public test network. * 0x60 (MIJIN) - Private network. * 0x90 (MIJIN_TEST) - Private test network. \")\n public Integer getVersion() {\n return version;\n }",
"public Builder setUserAgentBuildVersion(io.envoyproxy.envoy.config.core.v3.BuildVersion value) {\n if (userAgentBuildVersionBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n userAgentVersionType_ = value;\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(value);\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"public Builder mergeUserAgentBuildVersion(io.envoyproxy.envoy.config.core.v3.BuildVersion value) {\n if (userAgentBuildVersionBuilder_ == null) {\n if (userAgentVersionTypeCase_ == 8 &&\n userAgentVersionType_ != io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance()) {\n userAgentVersionType_ = io.envoyproxy.envoy.config.core.v3.BuildVersion.newBuilder((io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_)\n .mergeFrom(value).buildPartial();\n } else {\n userAgentVersionType_ = value;\n }\n onChanged();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n userAgentBuildVersionBuilder_.mergeFrom(value);\n }\n userAgentBuildVersionBuilder_.setMessage(value);\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@ApiModelProperty(value = \"(Is this valid?)\")\n public Long getVersion() {\n return version;\n }",
"public Builder setUserAgentVersionBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n userAgentVersionTypeCase_ = 7;\n userAgentVersionType_ = value;\n onChanged();\n return this;\n }",
"public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n }\n }",
"public java.lang.String getConfigVersion() {\r\n return configVersion;\r\n }",
"public String getBuildVersion() {\n return buildVersion;\n }",
"@java.lang.Override\n public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"@ApiModelProperty(value = \"Software Statement version as provided by the organisation's PTC\")\n\n @Valid\n\n public BigDecimal getVersion() {\n return version;\n }",
"@Override\r\n\tpublic String getVersion() {\r\n\t\treturn \"1.0.5\";\r\n\t}",
"public String getRequestVersion () {\n\treturn requestVersion;\n }",
"public com.google.protobuf.ByteString getVersion() {\n return version_;\n }",
"com.google.protobuf.ByteString getVersion();",
"public Builder setUserAgentBuildVersion(\n io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder builderForValue) {\n if (userAgentBuildVersionBuilder_ == null) {\n userAgentVersionType_ = builderForValue.build();\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(builderForValue.build());\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"@GetMapping()\n public String getServerVersion() {\n return versionProperties.getVersion();\n }",
"public OnshapeVersion version() throws OnshapeException {\n return call(\"GET\", \"/build\", null, new HashMap<>(), new HashMap<>(), OnshapeVersion.class);\n }",
"public String getHttpVersion() {\n return httpVersion;\n }",
"public com.google.protobuf.ByteString getVersion() {\n return version_;\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"Deprecated, use the appropriate `pipeline` version. Specify a specific verison of PrinceXML to use.\")\n @JsonProperty(JSON_PROPERTY_VERSION)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getVersion() {\n return version;\n }",
"public byte[] Bldr_version() {return bldr_version;}",
"public int getSpecVersion() {\r\n return specVersion;\r\n }",
"public String getVersion(){\r\n return version;\r\n }",
"public byte getVersion() {\n return version;\n }",
"public static final String getVersion() { return version; }",
"public static final String getVersion() { return version; }",
"public Long getServerVersion() {\n\t\treturn serverVersion;\n\t}",
"@ApiModelProperty(example = \"1.0.0\", value = \"The raw version for this package.\")\n public String getVersion() {\n return version;\n }",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"public int getVersion() { return 1; }",
"public String getClientVersionno() {\r\n\t\treturn clientVersionno;\r\n\t}",
"public String getVersion () {\r\n return version;\r\n }",
"public HttpVersion version() {\n\t\treturn httpVersion;\n\t}",
"@ApiModelProperty(value = \"The version is used for optimistic locking and incremented whenever the object is updated.\")\n public Integer getVersion() {\n return version;\n }",
"public long getVersion() {\n return version;\n }",
"public long getVersion() {\n return version;\n }",
"@SuppressWarnings(\"unused\")\n private Long getVersion() {\n return version;\n }",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"public String getVersion() {\r\n return version;\r\n }",
"public String getVersion()\n {\n return ver;\n }",
"public String getSimulatorVersionAnnotation() {\n return simSpec.getVersionAnnotation();\n }",
"public String getServerVersion();",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public String getBuildVersion() {\n try {\n Properties versionFileProperties = new Properties();\n InputStream inputStream = getClass().getClassLoader().getResourceAsStream(\"version.properties\");\n if (inputStream != null) {\n versionFileProperties.load(inputStream);\n return versionFileProperties.getProperty(\"version\", \"\") + \" \" + versionFileProperties.getProperty(\"timestamp\", \"\");\n }\n } catch (IOException e) {\n Logger.getLogger(OnStartup.class.getName()).log(Level.SEVERE, null, e);\n }\n return \"\";\n }",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"@Key(\"application.version\")\n\tString applicationVersion();",
"public static String getVersion() { return \"2.0\"; }",
"public String getVersion() {\n return \"2.0\";\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo.Builder,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfoOrBuilder>\n getAppEngineVersionFieldBuilder() {\n if (appEngineVersionBuilder_ == null) {\n if (!(stepInfoCase_ == 22)) {\n stepInfo_ =\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo.getDefaultInstance();\n }\n appEngineVersionBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo.Builder,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfoOrBuilder>(\n (com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo) stepInfo_,\n getParentForChildren(),\n isClean());\n stepInfo_ = null;\n }\n stepInfoCase_ = 22;\n onChanged();\n return appEngineVersionBuilder_;\n }",
"public CachetVersion getVersion() {\n JsonNode rootNode = get(\"version\");\n CachetVersion version = CachetVersion.parseRootNode(rootNode);\n\nSystem.out.println(\"SSDEDBUG: version = \" + version.getVersion() + \" (latest=\" + version.isLatest() + \")\");\n return version;\n }",
"public static String getAppVersion(){\r\n return getProperty(\"version\");\r\n }",
"public CimString getVersion() {\n return version;\n }",
"public short getVersion() {\n return version;\n }",
"public String getVersion() {\r\n\t\treturn version;\r\n\t}",
"public String getVersion()\n {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public static String getVersion() {\n\t\treturn version;\r\n\t}",
"public void setBuildVersion(String version) {\n buildVersion = version;\n }",
"public String getAppVersion() { return appVersion; }",
"public java.lang.String getEnsemblVersion() {\n return ensemblVersion;\n }",
"public String getVersion()\n {\n return version;\n }",
"public String getVersion()\n {\n return version;\n }",
"public Integer getVersion() {\r\n return version;\r\n }",
"@java.lang.Override\n public long getVersion() {\n return version_;\n }",
"public static String getVersion() {\n\t\treturn version;\n\t}"
] |
[
"0.69763917",
"0.6883269",
"0.68149596",
"0.6661388",
"0.6660825",
"0.6366127",
"0.62011826",
"0.5895524",
"0.5691307",
"0.5619565",
"0.5592896",
"0.5588695",
"0.5564323",
"0.55602616",
"0.55516213",
"0.55451375",
"0.5471725",
"0.5404383",
"0.5388014",
"0.5377189",
"0.53767043",
"0.53675246",
"0.5359086",
"0.53353703",
"0.5320384",
"0.5314273",
"0.5309647",
"0.52985734",
"0.5254913",
"0.52321416",
"0.52214193",
"0.5206199",
"0.52009445",
"0.51976836",
"0.51976836",
"0.5187287",
"0.51749027",
"0.5151212",
"0.5151212",
"0.5149468",
"0.5147675",
"0.51450545",
"0.5143926",
"0.5143245",
"0.5139052",
"0.5139052",
"0.5133808",
"0.5129794",
"0.5129794",
"0.5129794",
"0.51274854",
"0.5108325",
"0.5103596",
"0.5094181",
"0.50841445",
"0.50841445",
"0.50841445",
"0.50841445",
"0.50841445",
"0.5079109",
"0.50775194",
"0.50775194",
"0.50775194",
"0.5076112",
"0.5076112",
"0.5076112",
"0.5076112",
"0.5075591",
"0.5075591",
"0.507288",
"0.5062509",
"0.50565284",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.50536966",
"0.5049502",
"0.5040742",
"0.5039667",
"0.5039533",
"0.5034764",
"0.50287783",
"0.50266755",
"0.50175375",
"0.501088",
"0.5010195",
"0.5004038",
"0.50028735",
"0.50028735",
"0.5002504",
"0.49985972",
"0.49975115"
] |
0.54492533
|
17
|
Structured version of the entity requesting config. .envoy.config.core.v3.BuildVersion user_agent_build_version = 8;
|
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {
if (userAgentVersionTypeCase_ == 8) {
return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;
}
return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if ((userAgentVersionTypeCase_ == 8) && (userAgentBuildVersionBuilder_ != null)) {\n return userAgentBuildVersionBuilder_.getMessageOrBuilder();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder getUserAgentBuildVersionBuilder() {\n return getUserAgentBuildVersionFieldBuilder().getBuilder();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return userAgentBuildVersionBuilder_.getMessage();\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder> \n getUserAgentBuildVersionFieldBuilder() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (!(userAgentVersionTypeCase_ == 8)) {\n userAgentVersionType_ = io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n userAgentBuildVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder>(\n (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_,\n getParentForChildren(),\n isClean());\n userAgentVersionType_ = null;\n }\n userAgentVersionTypeCase_ = 8;\n onChanged();;\n return userAgentBuildVersionBuilder_;\n }",
"@ApiModelProperty(example = \"36867\", required = true, value = \"The entity version. The higher byte represents the network identifier: * 0x68 (MAIN_NET) - Public main network. * 0x98 (TEST_NET) - Public test network. * 0x60 (MIJIN) - Private network. * 0x90 (MIJIN_TEST) - Private test network. \")\n public Integer getVersion() {\n return version;\n }",
"public Builder setUserAgentBuildVersion(io.envoyproxy.envoy.config.core.v3.BuildVersion value) {\n if (userAgentBuildVersionBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n userAgentVersionType_ = value;\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(value);\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"public Builder mergeUserAgentBuildVersion(io.envoyproxy.envoy.config.core.v3.BuildVersion value) {\n if (userAgentBuildVersionBuilder_ == null) {\n if (userAgentVersionTypeCase_ == 8 &&\n userAgentVersionType_ != io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance()) {\n userAgentVersionType_ = io.envoyproxy.envoy.config.core.v3.BuildVersion.newBuilder((io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_)\n .mergeFrom(value).buildPartial();\n } else {\n userAgentVersionType_ = value;\n }\n onChanged();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n userAgentBuildVersionBuilder_.mergeFrom(value);\n }\n userAgentBuildVersionBuilder_.setMessage(value);\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@ApiModelProperty(value = \"(Is this valid?)\")\n public Long getVersion() {\n return version;\n }",
"public Builder setUserAgentVersionBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n userAgentVersionTypeCase_ = 7;\n userAgentVersionType_ = value;\n onChanged();\n return this;\n }",
"public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n }\n }",
"public java.lang.String getConfigVersion() {\r\n return configVersion;\r\n }",
"public String getBuildVersion() {\n return buildVersion;\n }",
"@java.lang.Override\n public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"@ApiModelProperty(value = \"Software Statement version as provided by the organisation's PTC\")\n\n @Valid\n\n public BigDecimal getVersion() {\n return version;\n }",
"@Override\r\n\tpublic String getVersion() {\r\n\t\treturn \"1.0.5\";\r\n\t}",
"public String getRequestVersion () {\n\treturn requestVersion;\n }",
"public com.google.protobuf.ByteString getVersion() {\n return version_;\n }",
"com.google.protobuf.ByteString getVersion();",
"public Builder setUserAgentBuildVersion(\n io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder builderForValue) {\n if (userAgentBuildVersionBuilder_ == null) {\n userAgentVersionType_ = builderForValue.build();\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(builderForValue.build());\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"@GetMapping()\n public String getServerVersion() {\n return versionProperties.getVersion();\n }",
"public OnshapeVersion version() throws OnshapeException {\n return call(\"GET\", \"/build\", null, new HashMap<>(), new HashMap<>(), OnshapeVersion.class);\n }",
"public String getHttpVersion() {\n return httpVersion;\n }",
"public com.google.protobuf.ByteString getVersion() {\n return version_;\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"Deprecated, use the appropriate `pipeline` version. Specify a specific verison of PrinceXML to use.\")\n @JsonProperty(JSON_PROPERTY_VERSION)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getVersion() {\n return version;\n }",
"public byte[] Bldr_version() {return bldr_version;}",
"public int getSpecVersion() {\r\n return specVersion;\r\n }",
"public String getVersion(){\r\n return version;\r\n }",
"public byte getVersion() {\n return version;\n }",
"public static final String getVersion() { return version; }",
"public static final String getVersion() { return version; }",
"public Long getServerVersion() {\n\t\treturn serverVersion;\n\t}",
"@ApiModelProperty(example = \"1.0.0\", value = \"The raw version for this package.\")\n public String getVersion() {\n return version;\n }",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"public int getVersion() { return 1; }",
"public String getClientVersionno() {\r\n\t\treturn clientVersionno;\r\n\t}",
"public String getVersion () {\r\n return version;\r\n }",
"public HttpVersion version() {\n\t\treturn httpVersion;\n\t}",
"@ApiModelProperty(value = \"The version is used for optimistic locking and incremented whenever the object is updated.\")\n public Integer getVersion() {\n return version;\n }",
"public long getVersion() {\n return version;\n }",
"public long getVersion() {\n return version;\n }",
"@SuppressWarnings(\"unused\")\n private Long getVersion() {\n return version;\n }",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"public String getVersion() {\r\n return version;\r\n }",
"public String getVersion()\n {\n return ver;\n }",
"public String getSimulatorVersionAnnotation() {\n return simSpec.getVersionAnnotation();\n }",
"public String getServerVersion();",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public String getBuildVersion() {\n try {\n Properties versionFileProperties = new Properties();\n InputStream inputStream = getClass().getClassLoader().getResourceAsStream(\"version.properties\");\n if (inputStream != null) {\n versionFileProperties.load(inputStream);\n return versionFileProperties.getProperty(\"version\", \"\") + \" \" + versionFileProperties.getProperty(\"timestamp\", \"\");\n }\n } catch (IOException e) {\n Logger.getLogger(OnStartup.class.getName()).log(Level.SEVERE, null, e);\n }\n return \"\";\n }",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"@Key(\"application.version\")\n\tString applicationVersion();",
"public static String getVersion() { return \"2.0\"; }",
"public String getVersion() {\n return \"2.0\";\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo.Builder,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfoOrBuilder>\n getAppEngineVersionFieldBuilder() {\n if (appEngineVersionBuilder_ == null) {\n if (!(stepInfoCase_ == 22)) {\n stepInfo_ =\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo.getDefaultInstance();\n }\n appEngineVersionBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo.Builder,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfoOrBuilder>(\n (com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo) stepInfo_,\n getParentForChildren(),\n isClean());\n stepInfo_ = null;\n }\n stepInfoCase_ = 22;\n onChanged();\n return appEngineVersionBuilder_;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public CachetVersion getVersion() {\n JsonNode rootNode = get(\"version\");\n CachetVersion version = CachetVersion.parseRootNode(rootNode);\n\nSystem.out.println(\"SSDEDBUG: version = \" + version.getVersion() + \" (latest=\" + version.isLatest() + \")\");\n return version;\n }",
"public static String getAppVersion(){\r\n return getProperty(\"version\");\r\n }",
"public CimString getVersion() {\n return version;\n }",
"public short getVersion() {\n return version;\n }",
"public String getVersion() {\r\n\t\treturn version;\r\n\t}",
"public String getVersion()\n {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public static String getVersion() {\n\t\treturn version;\r\n\t}",
"public void setBuildVersion(String version) {\n buildVersion = version;\n }",
"public String getAppVersion() { return appVersion; }",
"public java.lang.String getEnsemblVersion() {\n return ensemblVersion;\n }",
"public String getVersion()\n {\n return version;\n }",
"public String getVersion()\n {\n return version;\n }",
"public Integer getVersion() {\r\n return version;\r\n }",
"public com.google.protobuf.ByteString\n getVersionBytes() {\n java.lang.Object ref = version_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b;\n try {\n b = com.google.protobuf.ByteString.copyFrom((String) ref, \"UTF-8\");\n } catch (UnsupportedEncodingException e) {\n throw new RuntimeException(\"will never happen\");\n }\n version_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public long getVersion() {\n return version_;\n }"
] |
[
"0.69770545",
"0.6815711",
"0.6662313",
"0.6661038",
"0.6367077",
"0.62001735",
"0.5896723",
"0.56929064",
"0.5619437",
"0.559292",
"0.5587493",
"0.5565331",
"0.555983",
"0.55519557",
"0.55448234",
"0.54710245",
"0.5448341",
"0.54035395",
"0.53870237",
"0.5376856",
"0.5375657",
"0.5368229",
"0.5360334",
"0.53364545",
"0.5318749",
"0.5314356",
"0.53087384",
"0.52993035",
"0.5254405",
"0.52321833",
"0.52205336",
"0.5205281",
"0.5201019",
"0.51974225",
"0.51974225",
"0.51857764",
"0.5174248",
"0.51522225",
"0.51522225",
"0.51485956",
"0.51474917",
"0.51443595",
"0.51430976",
"0.5142007",
"0.5138411",
"0.5138411",
"0.5132809",
"0.5130823",
"0.5130823",
"0.5130823",
"0.51268137",
"0.5107607",
"0.5102508",
"0.5092828",
"0.50835186",
"0.50835186",
"0.50835186",
"0.50835186",
"0.50835186",
"0.5079663",
"0.5078572",
"0.5078572",
"0.5078572",
"0.5075263",
"0.5075263",
"0.5075263",
"0.5075263",
"0.5074867",
"0.5074867",
"0.5073089",
"0.50621295",
"0.505596",
"0.5053865",
"0.50536007",
"0.50536007",
"0.50536007",
"0.50536007",
"0.50536007",
"0.50536007",
"0.50536007",
"0.50536007",
"0.50536007",
"0.50536007",
"0.50536007",
"0.5048999",
"0.5040585",
"0.50392616",
"0.50385994",
"0.50341123",
"0.5028123",
"0.5026045",
"0.50172305",
"0.5010716",
"0.5009927",
"0.50028497",
"0.5002314",
"0.5002314",
"0.5001855",
"0.49976024",
"0.4997598"
] |
0.6883406
|
1
|
Structured version of the entity requesting config. .envoy.config.core.v3.BuildVersion user_agent_build_version = 8;
|
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {
if (userAgentVersionTypeCase_ == 8) {
return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;
}
return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder getUserAgentBuildVersionOrBuilder() {\n if ((userAgentVersionTypeCase_ == 8) && (userAgentBuildVersionBuilder_ != null)) {\n return userAgentBuildVersionBuilder_.getMessageOrBuilder();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder getUserAgentBuildVersionBuilder() {\n return getUserAgentBuildVersionFieldBuilder().getBuilder();\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.BuildVersion getUserAgentBuildVersion() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (userAgentVersionTypeCase_ == 8) {\n return (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_;\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n return userAgentBuildVersionBuilder_.getMessage();\n }\n return io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder> \n getUserAgentBuildVersionFieldBuilder() {\n if (userAgentBuildVersionBuilder_ == null) {\n if (!(userAgentVersionTypeCase_ == 8)) {\n userAgentVersionType_ = io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance();\n }\n userAgentBuildVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n io.envoyproxy.envoy.config.core.v3.BuildVersion, io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder, io.envoyproxy.envoy.config.core.v3.BuildVersionOrBuilder>(\n (io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_,\n getParentForChildren(),\n isClean());\n userAgentVersionType_ = null;\n }\n userAgentVersionTypeCase_ = 8;\n onChanged();;\n return userAgentBuildVersionBuilder_;\n }",
"@ApiModelProperty(example = \"36867\", required = true, value = \"The entity version. The higher byte represents the network identifier: * 0x68 (MAIN_NET) - Public main network. * 0x98 (TEST_NET) - Public test network. * 0x60 (MIJIN) - Private network. * 0x90 (MIJIN_TEST) - Private test network. \")\n public Integer getVersion() {\n return version;\n }",
"public Builder setUserAgentBuildVersion(io.envoyproxy.envoy.config.core.v3.BuildVersion value) {\n if (userAgentBuildVersionBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n userAgentVersionType_ = value;\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(value);\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"public Builder mergeUserAgentBuildVersion(io.envoyproxy.envoy.config.core.v3.BuildVersion value) {\n if (userAgentBuildVersionBuilder_ == null) {\n if (userAgentVersionTypeCase_ == 8 &&\n userAgentVersionType_ != io.envoyproxy.envoy.config.core.v3.BuildVersion.getDefaultInstance()) {\n userAgentVersionType_ = io.envoyproxy.envoy.config.core.v3.BuildVersion.newBuilder((io.envoyproxy.envoy.config.core.v3.BuildVersion) userAgentVersionType_)\n .mergeFrom(value).buildPartial();\n } else {\n userAgentVersionType_ = value;\n }\n onChanged();\n } else {\n if (userAgentVersionTypeCase_ == 8) {\n userAgentBuildVersionBuilder_.mergeFrom(value);\n }\n userAgentBuildVersionBuilder_.setMessage(value);\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getUserAgentVersionBytes() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 if (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = b;\n }\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@ApiModelProperty(value = \"(Is this valid?)\")\n public Long getVersion() {\n return version;\n }",
"public Builder setUserAgentVersionBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n userAgentVersionTypeCase_ = 7;\n userAgentVersionType_ = value;\n onChanged();\n return this;\n }",
"public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n }\n }",
"public java.lang.String getConfigVersion() {\r\n return configVersion;\r\n }",
"public String getBuildVersion() {\n return buildVersion;\n }",
"@java.lang.Override\n public java.lang.String getUserAgentVersion() {\n java.lang.Object ref = \"\";\n if (userAgentVersionTypeCase_ == 7) {\n ref = userAgentVersionType_;\n }\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 (userAgentVersionTypeCase_ == 7) {\n userAgentVersionType_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"@java.lang.Override\n public boolean hasUserAgentBuildVersion() {\n return userAgentVersionTypeCase_ == 8;\n }",
"@ApiModelProperty(value = \"Software Statement version as provided by the organisation's PTC\")\n\n @Valid\n\n public BigDecimal getVersion() {\n return version;\n }",
"@Override\r\n\tpublic String getVersion() {\r\n\t\treturn \"1.0.5\";\r\n\t}",
"public String getRequestVersion () {\n\treturn requestVersion;\n }",
"public com.google.protobuf.ByteString getVersion() {\n return version_;\n }",
"com.google.protobuf.ByteString getVersion();",
"public Builder setUserAgentBuildVersion(\n io.envoyproxy.envoy.config.core.v3.BuildVersion.Builder builderForValue) {\n if (userAgentBuildVersionBuilder_ == null) {\n userAgentVersionType_ = builderForValue.build();\n onChanged();\n } else {\n userAgentBuildVersionBuilder_.setMessage(builderForValue.build());\n }\n userAgentVersionTypeCase_ = 8;\n return this;\n }",
"@GetMapping()\n public String getServerVersion() {\n return versionProperties.getVersion();\n }",
"public OnshapeVersion version() throws OnshapeException {\n return call(\"GET\", \"/build\", null, new HashMap<>(), new HashMap<>(), OnshapeVersion.class);\n }",
"public String getHttpVersion() {\n return httpVersion;\n }",
"public com.google.protobuf.ByteString getVersion() {\n return version_;\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"Deprecated, use the appropriate `pipeline` version. Specify a specific verison of PrinceXML to use.\")\n @JsonProperty(JSON_PROPERTY_VERSION)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getVersion() {\n return version;\n }",
"public byte[] Bldr_version() {return bldr_version;}",
"public int getSpecVersion() {\r\n return specVersion;\r\n }",
"public String getVersion(){\r\n return version;\r\n }",
"public byte getVersion() {\n return version;\n }",
"public static final String getVersion() { return version; }",
"public static final String getVersion() { return version; }",
"public Long getServerVersion() {\n\t\treturn serverVersion;\n\t}",
"@ApiModelProperty(example = \"1.0.0\", value = \"The raw version for this package.\")\n public String getVersion() {\n return version;\n }",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"public int getVersion() { return 1; }",
"public String getClientVersionno() {\r\n\t\treturn clientVersionno;\r\n\t}",
"public String getVersion () {\r\n return version;\r\n }",
"public HttpVersion version() {\n\t\treturn httpVersion;\n\t}",
"@ApiModelProperty(value = \"The version is used for optimistic locking and incremented whenever the object is updated.\")\n public Integer getVersion() {\n return version;\n }",
"public long getVersion() {\n return version;\n }",
"public long getVersion() {\n return version;\n }",
"@SuppressWarnings(\"unused\")\n private Long getVersion() {\n return version;\n }",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"public String getVersion() {\r\n return version;\r\n }",
"public String getVersion()\n {\n return ver;\n }",
"public String getSimulatorVersionAnnotation() {\n return simSpec.getVersionAnnotation();\n }",
"public String getServerVersion();",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public int getVersion() {\n return version;\n }",
"public String getBuildVersion() {\n try {\n Properties versionFileProperties = new Properties();\n InputStream inputStream = getClass().getClassLoader().getResourceAsStream(\"version.properties\");\n if (inputStream != null) {\n versionFileProperties.load(inputStream);\n return versionFileProperties.getProperty(\"version\", \"\") + \" \" + versionFileProperties.getProperty(\"timestamp\", \"\");\n }\n } catch (IOException e) {\n Logger.getLogger(OnStartup.class.getName()).log(Level.SEVERE, null, e);\n }\n return \"\";\n }",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"com.google.protobuf.ByteString\n getVersionBytes();",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public Long getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"@Key(\"application.version\")\n\tString applicationVersion();",
"public static String getVersion() { return \"2.0\"; }",
"public String getVersion() {\n return \"2.0\";\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"private com.google.protobuf.SingleFieldBuilderV3<\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo.Builder,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfoOrBuilder>\n getAppEngineVersionFieldBuilder() {\n if (appEngineVersionBuilder_ == null) {\n if (!(stepInfoCase_ == 22)) {\n stepInfo_ =\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo.getDefaultInstance();\n }\n appEngineVersionBuilder_ =\n new com.google.protobuf.SingleFieldBuilderV3<\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo.Builder,\n com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfoOrBuilder>(\n (com.google.cloud.networkmanagement.v1beta1.AppEngineVersionInfo) stepInfo_,\n getParentForChildren(),\n isClean());\n stepInfo_ = null;\n }\n stepInfoCase_ = 22;\n onChanged();\n return appEngineVersionBuilder_;\n }",
"public CachetVersion getVersion() {\n JsonNode rootNode = get(\"version\");\n CachetVersion version = CachetVersion.parseRootNode(rootNode);\n\nSystem.out.println(\"SSDEDBUG: version = \" + version.getVersion() + \" (latest=\" + version.isLatest() + \")\");\n return version;\n }",
"public static String getAppVersion(){\r\n return getProperty(\"version\");\r\n }",
"public CimString getVersion() {\n return version;\n }",
"public short getVersion() {\n return version;\n }",
"public String getVersion() {\r\n\t\treturn version;\r\n\t}",
"public String getVersion()\n {\n return version;\n }",
"public String getVersion() {\n return version;\n }",
"public static String getVersion() {\n\t\treturn version;\r\n\t}",
"public void setBuildVersion(String version) {\n buildVersion = version;\n }",
"public String getAppVersion() { return appVersion; }",
"public java.lang.String getEnsemblVersion() {\n return ensemblVersion;\n }",
"public String getVersion()\n {\n return version;\n }",
"public String getVersion()\n {\n return version;\n }",
"public Integer getVersion() {\r\n return version;\r\n }",
"@java.lang.Override\n public long getVersion() {\n return version_;\n }",
"public static String getVersion() {\n\t\treturn version;\n\t}"
] |
[
"0.6883269",
"0.68149596",
"0.6661388",
"0.6660825",
"0.6366127",
"0.62011826",
"0.5895524",
"0.5691307",
"0.5619565",
"0.5592896",
"0.5588695",
"0.5564323",
"0.55602616",
"0.55516213",
"0.55451375",
"0.5471725",
"0.54492533",
"0.5404383",
"0.5388014",
"0.5377189",
"0.53767043",
"0.53675246",
"0.5359086",
"0.53353703",
"0.5320384",
"0.5314273",
"0.5309647",
"0.52985734",
"0.5254913",
"0.52321416",
"0.52214193",
"0.5206199",
"0.52009445",
"0.51976836",
"0.51976836",
"0.5187287",
"0.51749027",
"0.5151212",
"0.5151212",
"0.5149468",
"0.5147675",
"0.51450545",
"0.5143926",
"0.5143245",
"0.5139052",
"0.5139052",
"0.5133808",
"0.5129794",
"0.5129794",
"0.5129794",
"0.51274854",
"0.5108325",
"0.5103596",
"0.5094181",
"0.50841445",
"0.50841445",
"0.50841445",
"0.50841445",
"0.50841445",
"0.5079109",
"0.50775194",
"0.50775194",
"0.50775194",
"0.5076112",
"0.5076112",
"0.5076112",
"0.5076112",
"0.5075591",
"0.5075591",
"0.507288",
"0.5062509",
"0.50565284",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.5054215",
"0.50536966",
"0.5049502",
"0.5040742",
"0.5039667",
"0.5039533",
"0.5034764",
"0.50287783",
"0.50266755",
"0.50175375",
"0.501088",
"0.5010195",
"0.5004038",
"0.50028735",
"0.50028735",
"0.5002504",
"0.49985972",
"0.49975115"
] |
0.69763917
|
0
|
List of extensions and their versions supported by the node. repeated .envoy.config.core.v3.Extension extensions = 9;
|
@java.lang.Override
public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {
return extensions_;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder> \n getExtensionsOrBuilderList() {\n return extensions_;\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(\n int index) {\n return extensions_.get(index);\n }",
"public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder> \n getExtensionsOrBuilderList() {\n if (extensionsBuilder_ != null) {\n return extensionsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(extensions_);\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {\n return extensions_.get(index);\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {\n if (extensionsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(extensions_);\n } else {\n return extensionsBuilder_.getMessageList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(\n int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index); } else {\n return extensionsBuilder_.getMessageOrBuilder(index);\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index);\n } else {\n return extensionsBuilder_.getMessage(index);\n }\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension.Builder> \n getExtensionsBuilderList() {\n return getExtensionsFieldBuilder().getBuilderList();\n }",
"public String[] getExtensions() {\r\n return extensions;\r\n }",
"public String[] getExtensions()\n\t{\n\t\treturn extensions;\n\t}",
"public String getExtensions() {\n return extensions;\n }",
"public String[] getAllDependencyExtensions();",
"ListExtensionResponse listExtensions(ListExtensionRequest request);",
"public List<String> getExtensions() {\n if (extensions != null) {\n return Collections.unmodifiableList(extensions);\n } else {\n return Collections.emptyList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder() {\n return getExtensionsFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"@JsonProperty(\"extensions\")\n public Set<ToolComponent> getExtensions() {\n return extensions;\n }",
"public void setExtensions(String listExtensions) {\n this.extensions = listExtensions;\n }",
"Extensions getExtensions() {\n return this.extensions;\n }",
"ExtensionsType getExtensions();",
"public Set<String> getSupportedExtensions() {\n\t\tLogger.i(TAG, \"getSupportedExtensions value \" + extensions);\n\t\treturn extensions;\n\t}",
"public void setExtensions(String extensions)\n {\n this.ext = extensions;\n }",
"public Set<String> getExtensions() {\n return extensions;\n }",
"public String[] getExtensions() {\n\t\treturn url.getExtensions();\n }",
"@Override\n public String[] getExtensions() {\n return EXTENSIONS.clone();\n }",
"public String getExtensions()\n {\n return ext;\n }",
"public void setExtensions( String extensions[] )\n\t{\n\t\tthis.extensions = extensions;\n\t}",
"ListExtensionResponse listInstalledExtensions(ListExtensionRequest request);",
"public String[] getExtensions()\r\n {\r\n return new String[] {\"\"};\r\n }",
"public String[] getExtensions() {\n return new String[] { \"ino\", \"pde\", \"c\", \"cpp\", \"h\" };\n }",
"List<String> getAllowedExtensions();",
"@Deprecated\n @JsonIgnore\n public Optional<List<Extension>> getExtensions() {\n List<Extension> extensionList = new LinkedList<>();\n this.extensionsMap.forEach((key, value) -> {\n extensionList.add(new UnknownExtension(key, value));\n });\n return Optional.ofNullable(extensionList);\n }",
"@Override\n public String[] getExtensions() {\n return new String[]{};\n }",
"@java.lang.Override\n public int getExtensionsCount() {\n return extensions_.size();\n }",
"private String getExtensionsList(String[] extensions) {\n \n // if it's an empty vector\n if (extensions.length == 0) {\n \n // return an empty string\n return \"\";\n \n } else {\n \n // get first element\n String result = \"[\".concat(extensions[0]);\n \n // iterate through the other values\n for (int i = 1; i < extensions.length; i++) {\n \n // add the current extension\n result = result.concat(\", \").concat(extensions[i]);\n }\n \n // close the list\n result = result.concat(\"]\");\n \n // return it\n return result;\n }\n }",
"GetExtensionsResponse getExtensions(GetExtensionsRequest request);",
"public String[] getExtensionIds();",
"public List<String> getExts() {\n return this.exts;\n }",
"@JsonProperty(\"extensions\")\n public void setExtensions(Set<ToolComponent> extensions) {\n this.extensions = extensions;\n }",
"public List<String> getExtensions() {\n if (this.extensions == null) {\n // alias?\n if (this.aliasOf != null) {\n return this.aliasOf.getExtensions();\n }\n }\n return this.extensions;\n }",
"public Builder addExtensions(io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(value);\n }\n return this;\n }",
"public List getInterfaceExtensions();",
"public static VkExtensionProperties[] listAvailableExtensions() throws VulkanException {\n VkExtensionProperties.Buffer extensions;\n\n int[] pPropertyCount = new int[1];\n int err = vkEnumerateInstanceExtensionProperties((CharSequence) null, pPropertyCount, null);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n extensions = VkExtensionProperties.calloc(pPropertyCount[0]);\n err =\n vkEnumerateInstanceExtensionProperties(\n (CharSequence) null, pPropertyCount, extensions);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n VkExtensionProperties[] out = new VkExtensionProperties[pPropertyCount[0]];\n for (int i = 0; i < pPropertyCount[0]; i++) {\n out[i] = extensions.get(i);\n }\n\n extensions.free();\n\n return out;\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder getExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().getBuilder(index);\n }",
"public QuarkusCodestartTestBuilder extensions(Collection<ArtifactCoords> extensions) {\n this.extensions.addAll(extensions);\n return this;\n }",
"@JsonDeserialize( using = AnyElementDeserializer.class )\n public void setExtensionElements(List<Object> extensionElements) {\n this.extensionElements = extensionElements;\n }",
"public String[] getAllInputExtensions();",
"private List<Object> pluginPropertyDefinitions() {\n List<Object> extensions = new ArrayList<>();\n extensions.add(getProperty(Constants.ENABLED, \"Plugin enabled\",\n \"Are Teams notifications enabled in general?\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.BYPASS_HTTPS_VALIDATION, \"Bypass HTTPS Validation\",\n \"Bypass SSL/TLS certificate validation on HTTPS requests (useful for proxies)\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.PROXY_IP, \"Proxy Server\",\n \"Domain or IP address of proxy server to use\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PORT, \"Proxy Port\",\n \"Port for the proxy server\",\n \"8080\", PropertyType.INTEGER));\n extensions.add(getProperty(Constants.PROXY_USER, \"Proxy User\",\n \"User name for proxy authentication\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PASS, \"Proxy Password\",\n \"Password for proxy authentication\",\n \"\", PropertyType.PASSWORD));\n return extensions;\n }",
"@Test\n public void testListExtensions() {\n FlumeBuilder.getSinkNames().contains(\"agentSink\");\n FlumeBuilder.getDecoratorNames().contains(\"regex\");\n FlumeBuilder.getSourceNames().contains(\"collectorSource\");\n }",
"public Collection<Collection<T>> getExtensions();",
"public Builder addAllExtensions(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Extension> values) {\n if (extensionsBuilder_ == null) {\n ensureExtensionsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, extensions_);\n onChanged();\n } else {\n extensionsBuilder_.addAllMessages(values);\n }\n return this;\n }",
"public Collection<FileExtensionDTO> getFileExtensions() throws Exception;",
"public Builder setExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.set(index, value);\n onChanged();\n } else {\n extensionsBuilder_.setMessage(index, value);\n }\n return this;\n }",
"public String getUserExtensions() {\n return userExtensions;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public String[] getAllOutputExtensions();",
"public Builder addExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(index, value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(index, value);\n }\n return this;\n }",
"private String extensions() {\n return Arrays.stream(f.getName().split(\"\\\\.\")).skip(1).collect(Collectors.joining(\".\"));\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public List<String> getFileExtensions()\n/* */ {\n/* 619 */ if ((useRegisteredSuffixPatternMatch()) && (this.contentNegotiationManager != null)) {\n/* 620 */ return this.contentNegotiationManager.getAllFileExtensions();\n/* */ }\n/* 622 */ return null;\n/* */ }",
"public List getInputExtensions();",
"public java.util.Map<java.lang.String, java.security.cert.Extension> getExtensions() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>\");\n }",
"public void registerCoreExtensions() {\n if (extensionsRegistered) {\n throw H2O.fail(\"Extensions already registered\");\n }\n\n long before = System.currentTimeMillis();\n ServiceLoader<AbstractH2OExtension> extensionsLoader = ServiceLoader.load(AbstractH2OExtension.class);\n for (AbstractH2OExtension ext : extensionsLoader) {\n if (isEnabled(ext)) {\n ext.init();\n coreExtensions.put(ext.getExtensionName(), ext);\n }\n }\n extensionsRegistered = true;\n registerCoreExtensionsMillis = System.currentTimeMillis() - before;\n }",
"public String[] getOutputExtensions();",
"public int getExtensionsCount() {\n if (extensionsBuilder_ == null) {\n return extensions_.size();\n } else {\n return extensionsBuilder_.getCount();\n }\n }",
"Boolean supportsMultipleExtensions();",
"protected Iterable<JStachioExtension> extensions(Jooby application) {\n return ServiceLoader.load(\n JStachioExtension.class, application.getEnvironment().getClassLoader());\n }",
"public Optional<Document> extensions() {\n\t\t\treturn Optional.ofNullable(_extensions);\n\t\t}",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"@XmlAnyElement ( lax = true )\n @JsonSerialize ( using = AnyElementSerializer.class )\n public List<Object> getExtensionElements() {\n return extensionElements;\n }",
"public Object getExtension(){\n\t\treturn ext;\n\t}",
"@objid (\"e20e1709-9e0b-4c6a-bf6c-3f3e7b57cdfe\")\n @Override\n boolean isExtension();",
"public String[] getPrimaryInputExtensions();",
"public String getExtensionAttributes()\n {\n return extensionAttributes;\n }",
"public String getZipExtensions() {\n return zipExtensions;\n }",
"com.google.protobuf.ByteString\n getExtensionTextBytes();",
"public ArrayList<String> getAvalaibleExtensions() {\n ArrayList<String> ext = new ArrayList<String>();\n ext.add(\"txt\");\n return ext;\n }",
"public String getExtension() {\n return extension;\n }",
"public String getExtension() {\n return extension;\n }",
"public final void registerExtensions(@NotNull List<? extends T> extensions) {\n for (ExtensionComponentAdapter adapter : adapters) {\n if (adapter instanceof ObjectComponentAdapter) {\n if (ContainerUtil.containsIdentity(extensions, adapter)) {\n LOG.error(\"Extension was already added: \" + ((ObjectComponentAdapter<?>)adapter).componentInstance);\n return;\n }\n }\n }\n\n List<ExtensionComponentAdapter> newAdapters = doRegisterExtensions(extensions);\n // do not call notifyListeners under lock\n ExtensionPointListener<T>[] listeners;\n synchronized (this) {\n listeners = this.listeners;\n }\n notifyListeners(false, newAdapters, listeners);\n }",
"public String getExtension() {\n return extension;\n }",
"public String[] getBuildExtensions(Project project) {\r\n// HashSet copyext =\r\n// new HashSet(Arrays.asList(COPY_EXTENSIONS.getValues(project)));\r\n// HashSet nocopyext =\r\n// new HashSet(Arrays.asList(NO_COPY_EXTENSIONS.getValues(project)));\r\n//\r\n// Map map = FileType.getFileTypes();\r\n// Iterator iterator = map.keySet().iterator();\r\n//\r\n// while (iterator.hasNext()) {\r\n// String s = (String) iterator.next();\r\n// Class nodeType = ((FileType) map.get(s)).getNodeType();\r\n// boolean isJavaNode = JavaFileNode.class.isAssignableFrom(nodeType);\r\n// if (isJavaNode && !nocopyext.contains(s)) {\r\n// copyext.add(s);\r\n// }\r\n// }\r\n// return (String[]) copyext.toArray(new String[copyext.size()]);\r\n\r\n HashSet exts = new HashSet();\r\n String[] buildExts = super.getBuildExtensions(project);\r\n if (buildExts != null) {\r\n exts.addAll(Arrays.asList(buildExts));\r\n }\r\n\r\n String[] ourExts = Builder.getRegisteredExtensions(JavaFileNodeRe.class);\r\n if (ourExts != null) {\r\n exts.addAll(Arrays.asList(ourExts));\r\n }\r\n return (String[]) exts.toArray(new String[exts.size()]);\r\n }",
"public Extension getExtension() {\n return extension;\n }",
"EnsureExtensionResponse ensureExtensions(EnsureExtensionRequest request);",
"List<FeatureExtensionHandler> getFeatureExtensionHandlers() {\n return this.featureExtensionHandlers;\n }",
"public java.lang.Object getExtension() {\r\n return extension;\r\n }",
"private static void loadExtensions( final File file,\n final ArrayList extensions )\n throws TaskException\n {\n try\n {\n final JarFile jarFile = new JarFile( file );\n final Extension[] extension =\n Extension.getAvailable( jarFile.getManifest() );\n for( int i = 0; i < extension.length; i++ )\n {\n extensions.add( extension[ i ] );\n }\n }\n catch( final Exception e )\n {\n throw new TaskException( e.getMessage(), e );\n }\n }"
] |
[
"0.814672",
"0.79000425",
"0.77417564",
"0.7648402",
"0.74963915",
"0.7296648",
"0.7260697",
"0.7174507",
"0.7119157",
"0.711506",
"0.70672125",
"0.6921448",
"0.69168043",
"0.6901394",
"0.6880448",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68508184",
"0.68486464",
"0.6836935",
"0.6831248",
"0.6792632",
"0.6792229",
"0.6751313",
"0.67478305",
"0.66977054",
"0.6691549",
"0.66872084",
"0.65966827",
"0.65815717",
"0.6572005",
"0.6569767",
"0.65689117",
"0.6532477",
"0.651859",
"0.64733034",
"0.6406832",
"0.6384841",
"0.6371482",
"0.63711643",
"0.63555723",
"0.6336432",
"0.6335725",
"0.63090175",
"0.62904054",
"0.62474865",
"0.62407434",
"0.6216355",
"0.62140477",
"0.6180554",
"0.6176324",
"0.61230385",
"0.610601",
"0.6036491",
"0.60338867",
"0.6031315",
"0.6017079",
"0.5998779",
"0.5989443",
"0.5973969",
"0.59497714",
"0.59380805",
"0.5932284",
"0.5912524",
"0.59109384",
"0.5895797",
"0.5885301",
"0.5878543",
"0.5854437",
"0.5852264",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58318615",
"0.58085644",
"0.58081794",
"0.58072627",
"0.5791072",
"0.57900363",
"0.5775956",
"0.5774957",
"0.575019",
"0.575019",
"0.5733323",
"0.57305855",
"0.5717234",
"0.57090783",
"0.57067376",
"0.5682306",
"0.56574005",
"0.56120753"
] |
0.7932168
|
1
|
List of extensions and their versions supported by the node. repeated .envoy.config.core.v3.Extension extensions = 9;
|
@java.lang.Override
public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder>
getExtensionsOrBuilderList() {
return extensions_;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {\n return extensions_;\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(\n int index) {\n return extensions_.get(index);\n }",
"public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder> \n getExtensionsOrBuilderList() {\n if (extensionsBuilder_ != null) {\n return extensionsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(extensions_);\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {\n return extensions_.get(index);\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {\n if (extensionsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(extensions_);\n } else {\n return extensionsBuilder_.getMessageList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(\n int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index); } else {\n return extensionsBuilder_.getMessageOrBuilder(index);\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index);\n } else {\n return extensionsBuilder_.getMessage(index);\n }\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension.Builder> \n getExtensionsBuilderList() {\n return getExtensionsFieldBuilder().getBuilderList();\n }",
"public String[] getExtensions() {\r\n return extensions;\r\n }",
"public String[] getExtensions()\n\t{\n\t\treturn extensions;\n\t}",
"public String getExtensions() {\n return extensions;\n }",
"public String[] getAllDependencyExtensions();",
"ListExtensionResponse listExtensions(ListExtensionRequest request);",
"public List<String> getExtensions() {\n if (extensions != null) {\n return Collections.unmodifiableList(extensions);\n } else {\n return Collections.emptyList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder() {\n return getExtensionsFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"@JsonProperty(\"extensions\")\n public Set<ToolComponent> getExtensions() {\n return extensions;\n }",
"public void setExtensions(String listExtensions) {\n this.extensions = listExtensions;\n }",
"Extensions getExtensions() {\n return this.extensions;\n }",
"ExtensionsType getExtensions();",
"public Set<String> getSupportedExtensions() {\n\t\tLogger.i(TAG, \"getSupportedExtensions value \" + extensions);\n\t\treturn extensions;\n\t}",
"public void setExtensions(String extensions)\n {\n this.ext = extensions;\n }",
"public Set<String> getExtensions() {\n return extensions;\n }",
"public String[] getExtensions() {\n\t\treturn url.getExtensions();\n }",
"@Override\n public String[] getExtensions() {\n return EXTENSIONS.clone();\n }",
"public String getExtensions()\n {\n return ext;\n }",
"public void setExtensions( String extensions[] )\n\t{\n\t\tthis.extensions = extensions;\n\t}",
"ListExtensionResponse listInstalledExtensions(ListExtensionRequest request);",
"public String[] getExtensions()\r\n {\r\n return new String[] {\"\"};\r\n }",
"public String[] getExtensions() {\n return new String[] { \"ino\", \"pde\", \"c\", \"cpp\", \"h\" };\n }",
"List<String> getAllowedExtensions();",
"@Deprecated\n @JsonIgnore\n public Optional<List<Extension>> getExtensions() {\n List<Extension> extensionList = new LinkedList<>();\n this.extensionsMap.forEach((key, value) -> {\n extensionList.add(new UnknownExtension(key, value));\n });\n return Optional.ofNullable(extensionList);\n }",
"@Override\n public String[] getExtensions() {\n return new String[]{};\n }",
"@java.lang.Override\n public int getExtensionsCount() {\n return extensions_.size();\n }",
"private String getExtensionsList(String[] extensions) {\n \n // if it's an empty vector\n if (extensions.length == 0) {\n \n // return an empty string\n return \"\";\n \n } else {\n \n // get first element\n String result = \"[\".concat(extensions[0]);\n \n // iterate through the other values\n for (int i = 1; i < extensions.length; i++) {\n \n // add the current extension\n result = result.concat(\", \").concat(extensions[i]);\n }\n \n // close the list\n result = result.concat(\"]\");\n \n // return it\n return result;\n }\n }",
"GetExtensionsResponse getExtensions(GetExtensionsRequest request);",
"public String[] getExtensionIds();",
"public List<String> getExts() {\n return this.exts;\n }",
"@JsonProperty(\"extensions\")\n public void setExtensions(Set<ToolComponent> extensions) {\n this.extensions = extensions;\n }",
"public List<String> getExtensions() {\n if (this.extensions == null) {\n // alias?\n if (this.aliasOf != null) {\n return this.aliasOf.getExtensions();\n }\n }\n return this.extensions;\n }",
"public Builder addExtensions(io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(value);\n }\n return this;\n }",
"public List getInterfaceExtensions();",
"public static VkExtensionProperties[] listAvailableExtensions() throws VulkanException {\n VkExtensionProperties.Buffer extensions;\n\n int[] pPropertyCount = new int[1];\n int err = vkEnumerateInstanceExtensionProperties((CharSequence) null, pPropertyCount, null);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n extensions = VkExtensionProperties.calloc(pPropertyCount[0]);\n err =\n vkEnumerateInstanceExtensionProperties(\n (CharSequence) null, pPropertyCount, extensions);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n VkExtensionProperties[] out = new VkExtensionProperties[pPropertyCount[0]];\n for (int i = 0; i < pPropertyCount[0]; i++) {\n out[i] = extensions.get(i);\n }\n\n extensions.free();\n\n return out;\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder getExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().getBuilder(index);\n }",
"public QuarkusCodestartTestBuilder extensions(Collection<ArtifactCoords> extensions) {\n this.extensions.addAll(extensions);\n return this;\n }",
"@JsonDeserialize( using = AnyElementDeserializer.class )\n public void setExtensionElements(List<Object> extensionElements) {\n this.extensionElements = extensionElements;\n }",
"public String[] getAllInputExtensions();",
"private List<Object> pluginPropertyDefinitions() {\n List<Object> extensions = new ArrayList<>();\n extensions.add(getProperty(Constants.ENABLED, \"Plugin enabled\",\n \"Are Teams notifications enabled in general?\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.BYPASS_HTTPS_VALIDATION, \"Bypass HTTPS Validation\",\n \"Bypass SSL/TLS certificate validation on HTTPS requests (useful for proxies)\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.PROXY_IP, \"Proxy Server\",\n \"Domain or IP address of proxy server to use\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PORT, \"Proxy Port\",\n \"Port for the proxy server\",\n \"8080\", PropertyType.INTEGER));\n extensions.add(getProperty(Constants.PROXY_USER, \"Proxy User\",\n \"User name for proxy authentication\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PASS, \"Proxy Password\",\n \"Password for proxy authentication\",\n \"\", PropertyType.PASSWORD));\n return extensions;\n }",
"@Test\n public void testListExtensions() {\n FlumeBuilder.getSinkNames().contains(\"agentSink\");\n FlumeBuilder.getDecoratorNames().contains(\"regex\");\n FlumeBuilder.getSourceNames().contains(\"collectorSource\");\n }",
"public Collection<Collection<T>> getExtensions();",
"public Builder addAllExtensions(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Extension> values) {\n if (extensionsBuilder_ == null) {\n ensureExtensionsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, extensions_);\n onChanged();\n } else {\n extensionsBuilder_.addAllMessages(values);\n }\n return this;\n }",
"public Collection<FileExtensionDTO> getFileExtensions() throws Exception;",
"public Builder setExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.set(index, value);\n onChanged();\n } else {\n extensionsBuilder_.setMessage(index, value);\n }\n return this;\n }",
"public String getUserExtensions() {\n return userExtensions;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public String[] getAllOutputExtensions();",
"public Builder addExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(index, value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(index, value);\n }\n return this;\n }",
"private String extensions() {\n return Arrays.stream(f.getName().split(\"\\\\.\")).skip(1).collect(Collectors.joining(\".\"));\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public List<String> getFileExtensions()\n/* */ {\n/* 619 */ if ((useRegisteredSuffixPatternMatch()) && (this.contentNegotiationManager != null)) {\n/* 620 */ return this.contentNegotiationManager.getAllFileExtensions();\n/* */ }\n/* 622 */ return null;\n/* */ }",
"public List getInputExtensions();",
"public java.util.Map<java.lang.String, java.security.cert.Extension> getExtensions() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>\");\n }",
"public void registerCoreExtensions() {\n if (extensionsRegistered) {\n throw H2O.fail(\"Extensions already registered\");\n }\n\n long before = System.currentTimeMillis();\n ServiceLoader<AbstractH2OExtension> extensionsLoader = ServiceLoader.load(AbstractH2OExtension.class);\n for (AbstractH2OExtension ext : extensionsLoader) {\n if (isEnabled(ext)) {\n ext.init();\n coreExtensions.put(ext.getExtensionName(), ext);\n }\n }\n extensionsRegistered = true;\n registerCoreExtensionsMillis = System.currentTimeMillis() - before;\n }",
"public String[] getOutputExtensions();",
"public int getExtensionsCount() {\n if (extensionsBuilder_ == null) {\n return extensions_.size();\n } else {\n return extensionsBuilder_.getCount();\n }\n }",
"Boolean supportsMultipleExtensions();",
"protected Iterable<JStachioExtension> extensions(Jooby application) {\n return ServiceLoader.load(\n JStachioExtension.class, application.getEnvironment().getClassLoader());\n }",
"public Optional<Document> extensions() {\n\t\t\treturn Optional.ofNullable(_extensions);\n\t\t}",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"@XmlAnyElement ( lax = true )\n @JsonSerialize ( using = AnyElementSerializer.class )\n public List<Object> getExtensionElements() {\n return extensionElements;\n }",
"public Object getExtension(){\n\t\treturn ext;\n\t}",
"@objid (\"e20e1709-9e0b-4c6a-bf6c-3f3e7b57cdfe\")\n @Override\n boolean isExtension();",
"public String[] getPrimaryInputExtensions();",
"public String getExtensionAttributes()\n {\n return extensionAttributes;\n }",
"public String getZipExtensions() {\n return zipExtensions;\n }",
"com.google.protobuf.ByteString\n getExtensionTextBytes();",
"public ArrayList<String> getAvalaibleExtensions() {\n ArrayList<String> ext = new ArrayList<String>();\n ext.add(\"txt\");\n return ext;\n }",
"public String getExtension() {\n return extension;\n }",
"public String getExtension() {\n return extension;\n }",
"public final void registerExtensions(@NotNull List<? extends T> extensions) {\n for (ExtensionComponentAdapter adapter : adapters) {\n if (adapter instanceof ObjectComponentAdapter) {\n if (ContainerUtil.containsIdentity(extensions, adapter)) {\n LOG.error(\"Extension was already added: \" + ((ObjectComponentAdapter<?>)adapter).componentInstance);\n return;\n }\n }\n }\n\n List<ExtensionComponentAdapter> newAdapters = doRegisterExtensions(extensions);\n // do not call notifyListeners under lock\n ExtensionPointListener<T>[] listeners;\n synchronized (this) {\n listeners = this.listeners;\n }\n notifyListeners(false, newAdapters, listeners);\n }",
"public String getExtension() {\n return extension;\n }",
"public String[] getBuildExtensions(Project project) {\r\n// HashSet copyext =\r\n// new HashSet(Arrays.asList(COPY_EXTENSIONS.getValues(project)));\r\n// HashSet nocopyext =\r\n// new HashSet(Arrays.asList(NO_COPY_EXTENSIONS.getValues(project)));\r\n//\r\n// Map map = FileType.getFileTypes();\r\n// Iterator iterator = map.keySet().iterator();\r\n//\r\n// while (iterator.hasNext()) {\r\n// String s = (String) iterator.next();\r\n// Class nodeType = ((FileType) map.get(s)).getNodeType();\r\n// boolean isJavaNode = JavaFileNode.class.isAssignableFrom(nodeType);\r\n// if (isJavaNode && !nocopyext.contains(s)) {\r\n// copyext.add(s);\r\n// }\r\n// }\r\n// return (String[]) copyext.toArray(new String[copyext.size()]);\r\n\r\n HashSet exts = new HashSet();\r\n String[] buildExts = super.getBuildExtensions(project);\r\n if (buildExts != null) {\r\n exts.addAll(Arrays.asList(buildExts));\r\n }\r\n\r\n String[] ourExts = Builder.getRegisteredExtensions(JavaFileNodeRe.class);\r\n if (ourExts != null) {\r\n exts.addAll(Arrays.asList(ourExts));\r\n }\r\n return (String[]) exts.toArray(new String[exts.size()]);\r\n }",
"public Extension getExtension() {\n return extension;\n }",
"EnsureExtensionResponse ensureExtensions(EnsureExtensionRequest request);",
"List<FeatureExtensionHandler> getFeatureExtensionHandlers() {\n return this.featureExtensionHandlers;\n }",
"public java.lang.Object getExtension() {\r\n return extension;\r\n }",
"private static void loadExtensions( final File file,\n final ArrayList extensions )\n throws TaskException\n {\n try\n {\n final JarFile jarFile = new JarFile( file );\n final Extension[] extension =\n Extension.getAvailable( jarFile.getManifest() );\n for( int i = 0; i < extension.length; i++ )\n {\n extensions.add( extension[ i ] );\n }\n }\n catch( final Exception e )\n {\n throw new TaskException( e.getMessage(), e );\n }\n }"
] |
[
"0.7932168",
"0.79000425",
"0.77417564",
"0.7648402",
"0.74963915",
"0.7296648",
"0.7260697",
"0.7174507",
"0.7119157",
"0.711506",
"0.70672125",
"0.6921448",
"0.69168043",
"0.6901394",
"0.6880448",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68508184",
"0.68486464",
"0.6836935",
"0.6831248",
"0.6792632",
"0.6792229",
"0.6751313",
"0.67478305",
"0.66977054",
"0.6691549",
"0.66872084",
"0.65966827",
"0.65815717",
"0.6572005",
"0.6569767",
"0.65689117",
"0.6532477",
"0.651859",
"0.64733034",
"0.6406832",
"0.6384841",
"0.6371482",
"0.63711643",
"0.63555723",
"0.6336432",
"0.6335725",
"0.63090175",
"0.62904054",
"0.62474865",
"0.62407434",
"0.6216355",
"0.62140477",
"0.6180554",
"0.6176324",
"0.61230385",
"0.610601",
"0.6036491",
"0.60338867",
"0.6031315",
"0.6017079",
"0.5998779",
"0.5989443",
"0.5973969",
"0.59497714",
"0.59380805",
"0.5932284",
"0.5912524",
"0.59109384",
"0.5895797",
"0.5885301",
"0.5878543",
"0.5854437",
"0.5852264",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58318615",
"0.58085644",
"0.58081794",
"0.58072627",
"0.5791072",
"0.57900363",
"0.5775956",
"0.5774957",
"0.575019",
"0.575019",
"0.5733323",
"0.57305855",
"0.5717234",
"0.57090783",
"0.57067376",
"0.5682306",
"0.56574005",
"0.56120753"
] |
0.814672
|
0
|
List of extensions and their versions supported by the node. repeated .envoy.config.core.v3.Extension extensions = 9;
|
@java.lang.Override
public int getExtensionsCount() {
return extensions_.size();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder> \n getExtensionsOrBuilderList() {\n return extensions_;\n }",
"@java.lang.Override\n public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {\n return extensions_;\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(\n int index) {\n return extensions_.get(index);\n }",
"public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder> \n getExtensionsOrBuilderList() {\n if (extensionsBuilder_ != null) {\n return extensionsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(extensions_);\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {\n return extensions_.get(index);\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {\n if (extensionsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(extensions_);\n } else {\n return extensionsBuilder_.getMessageList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(\n int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index); } else {\n return extensionsBuilder_.getMessageOrBuilder(index);\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index);\n } else {\n return extensionsBuilder_.getMessage(index);\n }\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension.Builder> \n getExtensionsBuilderList() {\n return getExtensionsFieldBuilder().getBuilderList();\n }",
"public String[] getExtensions() {\r\n return extensions;\r\n }",
"public String[] getExtensions()\n\t{\n\t\treturn extensions;\n\t}",
"public String getExtensions() {\n return extensions;\n }",
"public String[] getAllDependencyExtensions();",
"ListExtensionResponse listExtensions(ListExtensionRequest request);",
"public List<String> getExtensions() {\n if (extensions != null) {\n return Collections.unmodifiableList(extensions);\n } else {\n return Collections.emptyList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder() {\n return getExtensionsFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"@JsonProperty(\"extensions\")\n public Set<ToolComponent> getExtensions() {\n return extensions;\n }",
"public void setExtensions(String listExtensions) {\n this.extensions = listExtensions;\n }",
"Extensions getExtensions() {\n return this.extensions;\n }",
"ExtensionsType getExtensions();",
"public Set<String> getSupportedExtensions() {\n\t\tLogger.i(TAG, \"getSupportedExtensions value \" + extensions);\n\t\treturn extensions;\n\t}",
"public void setExtensions(String extensions)\n {\n this.ext = extensions;\n }",
"public Set<String> getExtensions() {\n return extensions;\n }",
"public String[] getExtensions() {\n\t\treturn url.getExtensions();\n }",
"@Override\n public String[] getExtensions() {\n return EXTENSIONS.clone();\n }",
"public String getExtensions()\n {\n return ext;\n }",
"public void setExtensions( String extensions[] )\n\t{\n\t\tthis.extensions = extensions;\n\t}",
"ListExtensionResponse listInstalledExtensions(ListExtensionRequest request);",
"public String[] getExtensions()\r\n {\r\n return new String[] {\"\"};\r\n }",
"public String[] getExtensions() {\n return new String[] { \"ino\", \"pde\", \"c\", \"cpp\", \"h\" };\n }",
"List<String> getAllowedExtensions();",
"@Deprecated\n @JsonIgnore\n public Optional<List<Extension>> getExtensions() {\n List<Extension> extensionList = new LinkedList<>();\n this.extensionsMap.forEach((key, value) -> {\n extensionList.add(new UnknownExtension(key, value));\n });\n return Optional.ofNullable(extensionList);\n }",
"@Override\n public String[] getExtensions() {\n return new String[]{};\n }",
"private String getExtensionsList(String[] extensions) {\n \n // if it's an empty vector\n if (extensions.length == 0) {\n \n // return an empty string\n return \"\";\n \n } else {\n \n // get first element\n String result = \"[\".concat(extensions[0]);\n \n // iterate through the other values\n for (int i = 1; i < extensions.length; i++) {\n \n // add the current extension\n result = result.concat(\", \").concat(extensions[i]);\n }\n \n // close the list\n result = result.concat(\"]\");\n \n // return it\n return result;\n }\n }",
"GetExtensionsResponse getExtensions(GetExtensionsRequest request);",
"public String[] getExtensionIds();",
"public List<String> getExts() {\n return this.exts;\n }",
"@JsonProperty(\"extensions\")\n public void setExtensions(Set<ToolComponent> extensions) {\n this.extensions = extensions;\n }",
"public List<String> getExtensions() {\n if (this.extensions == null) {\n // alias?\n if (this.aliasOf != null) {\n return this.aliasOf.getExtensions();\n }\n }\n return this.extensions;\n }",
"public Builder addExtensions(io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(value);\n }\n return this;\n }",
"public List getInterfaceExtensions();",
"public static VkExtensionProperties[] listAvailableExtensions() throws VulkanException {\n VkExtensionProperties.Buffer extensions;\n\n int[] pPropertyCount = new int[1];\n int err = vkEnumerateInstanceExtensionProperties((CharSequence) null, pPropertyCount, null);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n extensions = VkExtensionProperties.calloc(pPropertyCount[0]);\n err =\n vkEnumerateInstanceExtensionProperties(\n (CharSequence) null, pPropertyCount, extensions);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n VkExtensionProperties[] out = new VkExtensionProperties[pPropertyCount[0]];\n for (int i = 0; i < pPropertyCount[0]; i++) {\n out[i] = extensions.get(i);\n }\n\n extensions.free();\n\n return out;\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder getExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().getBuilder(index);\n }",
"public QuarkusCodestartTestBuilder extensions(Collection<ArtifactCoords> extensions) {\n this.extensions.addAll(extensions);\n return this;\n }",
"@JsonDeserialize( using = AnyElementDeserializer.class )\n public void setExtensionElements(List<Object> extensionElements) {\n this.extensionElements = extensionElements;\n }",
"public String[] getAllInputExtensions();",
"private List<Object> pluginPropertyDefinitions() {\n List<Object> extensions = new ArrayList<>();\n extensions.add(getProperty(Constants.ENABLED, \"Plugin enabled\",\n \"Are Teams notifications enabled in general?\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.BYPASS_HTTPS_VALIDATION, \"Bypass HTTPS Validation\",\n \"Bypass SSL/TLS certificate validation on HTTPS requests (useful for proxies)\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.PROXY_IP, \"Proxy Server\",\n \"Domain or IP address of proxy server to use\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PORT, \"Proxy Port\",\n \"Port for the proxy server\",\n \"8080\", PropertyType.INTEGER));\n extensions.add(getProperty(Constants.PROXY_USER, \"Proxy User\",\n \"User name for proxy authentication\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PASS, \"Proxy Password\",\n \"Password for proxy authentication\",\n \"\", PropertyType.PASSWORD));\n return extensions;\n }",
"@Test\n public void testListExtensions() {\n FlumeBuilder.getSinkNames().contains(\"agentSink\");\n FlumeBuilder.getDecoratorNames().contains(\"regex\");\n FlumeBuilder.getSourceNames().contains(\"collectorSource\");\n }",
"public Collection<Collection<T>> getExtensions();",
"public Builder addAllExtensions(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Extension> values) {\n if (extensionsBuilder_ == null) {\n ensureExtensionsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, extensions_);\n onChanged();\n } else {\n extensionsBuilder_.addAllMessages(values);\n }\n return this;\n }",
"public Collection<FileExtensionDTO> getFileExtensions() throws Exception;",
"public Builder setExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.set(index, value);\n onChanged();\n } else {\n extensionsBuilder_.setMessage(index, value);\n }\n return this;\n }",
"public String getUserExtensions() {\n return userExtensions;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public String[] getAllOutputExtensions();",
"public Builder addExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(index, value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(index, value);\n }\n return this;\n }",
"private String extensions() {\n return Arrays.stream(f.getName().split(\"\\\\.\")).skip(1).collect(Collectors.joining(\".\"));\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public List<String> getFileExtensions()\n/* */ {\n/* 619 */ if ((useRegisteredSuffixPatternMatch()) && (this.contentNegotiationManager != null)) {\n/* 620 */ return this.contentNegotiationManager.getAllFileExtensions();\n/* */ }\n/* 622 */ return null;\n/* */ }",
"public List getInputExtensions();",
"public java.util.Map<java.lang.String, java.security.cert.Extension> getExtensions() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>\");\n }",
"public void registerCoreExtensions() {\n if (extensionsRegistered) {\n throw H2O.fail(\"Extensions already registered\");\n }\n\n long before = System.currentTimeMillis();\n ServiceLoader<AbstractH2OExtension> extensionsLoader = ServiceLoader.load(AbstractH2OExtension.class);\n for (AbstractH2OExtension ext : extensionsLoader) {\n if (isEnabled(ext)) {\n ext.init();\n coreExtensions.put(ext.getExtensionName(), ext);\n }\n }\n extensionsRegistered = true;\n registerCoreExtensionsMillis = System.currentTimeMillis() - before;\n }",
"public String[] getOutputExtensions();",
"public int getExtensionsCount() {\n if (extensionsBuilder_ == null) {\n return extensions_.size();\n } else {\n return extensionsBuilder_.getCount();\n }\n }",
"Boolean supportsMultipleExtensions();",
"protected Iterable<JStachioExtension> extensions(Jooby application) {\n return ServiceLoader.load(\n JStachioExtension.class, application.getEnvironment().getClassLoader());\n }",
"public Optional<Document> extensions() {\n\t\t\treturn Optional.ofNullable(_extensions);\n\t\t}",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"@XmlAnyElement ( lax = true )\n @JsonSerialize ( using = AnyElementSerializer.class )\n public List<Object> getExtensionElements() {\n return extensionElements;\n }",
"public Object getExtension(){\n\t\treturn ext;\n\t}",
"@objid (\"e20e1709-9e0b-4c6a-bf6c-3f3e7b57cdfe\")\n @Override\n boolean isExtension();",
"public String[] getPrimaryInputExtensions();",
"public String getExtensionAttributes()\n {\n return extensionAttributes;\n }",
"public String getZipExtensions() {\n return zipExtensions;\n }",
"com.google.protobuf.ByteString\n getExtensionTextBytes();",
"public ArrayList<String> getAvalaibleExtensions() {\n ArrayList<String> ext = new ArrayList<String>();\n ext.add(\"txt\");\n return ext;\n }",
"public String getExtension() {\n return extension;\n }",
"public String getExtension() {\n return extension;\n }",
"public final void registerExtensions(@NotNull List<? extends T> extensions) {\n for (ExtensionComponentAdapter adapter : adapters) {\n if (adapter instanceof ObjectComponentAdapter) {\n if (ContainerUtil.containsIdentity(extensions, adapter)) {\n LOG.error(\"Extension was already added: \" + ((ObjectComponentAdapter<?>)adapter).componentInstance);\n return;\n }\n }\n }\n\n List<ExtensionComponentAdapter> newAdapters = doRegisterExtensions(extensions);\n // do not call notifyListeners under lock\n ExtensionPointListener<T>[] listeners;\n synchronized (this) {\n listeners = this.listeners;\n }\n notifyListeners(false, newAdapters, listeners);\n }",
"public String getExtension() {\n return extension;\n }",
"public String[] getBuildExtensions(Project project) {\r\n// HashSet copyext =\r\n// new HashSet(Arrays.asList(COPY_EXTENSIONS.getValues(project)));\r\n// HashSet nocopyext =\r\n// new HashSet(Arrays.asList(NO_COPY_EXTENSIONS.getValues(project)));\r\n//\r\n// Map map = FileType.getFileTypes();\r\n// Iterator iterator = map.keySet().iterator();\r\n//\r\n// while (iterator.hasNext()) {\r\n// String s = (String) iterator.next();\r\n// Class nodeType = ((FileType) map.get(s)).getNodeType();\r\n// boolean isJavaNode = JavaFileNode.class.isAssignableFrom(nodeType);\r\n// if (isJavaNode && !nocopyext.contains(s)) {\r\n// copyext.add(s);\r\n// }\r\n// }\r\n// return (String[]) copyext.toArray(new String[copyext.size()]);\r\n\r\n HashSet exts = new HashSet();\r\n String[] buildExts = super.getBuildExtensions(project);\r\n if (buildExts != null) {\r\n exts.addAll(Arrays.asList(buildExts));\r\n }\r\n\r\n String[] ourExts = Builder.getRegisteredExtensions(JavaFileNodeRe.class);\r\n if (ourExts != null) {\r\n exts.addAll(Arrays.asList(ourExts));\r\n }\r\n return (String[]) exts.toArray(new String[exts.size()]);\r\n }",
"public Extension getExtension() {\n return extension;\n }",
"EnsureExtensionResponse ensureExtensions(EnsureExtensionRequest request);",
"List<FeatureExtensionHandler> getFeatureExtensionHandlers() {\n return this.featureExtensionHandlers;\n }",
"public java.lang.Object getExtension() {\r\n return extension;\r\n }",
"private static void loadExtensions( final File file,\n final ArrayList extensions )\n throws TaskException\n {\n try\n {\n final JarFile jarFile = new JarFile( file );\n final Extension[] extension =\n Extension.getAvailable( jarFile.getManifest() );\n for( int i = 0; i < extension.length; i++ )\n {\n extensions.add( extension[ i ] );\n }\n }\n catch( final Exception e )\n {\n throw new TaskException( e.getMessage(), e );\n }\n }"
] |
[
"0.814672",
"0.7932168",
"0.79000425",
"0.77417564",
"0.7648402",
"0.74963915",
"0.7296648",
"0.7260697",
"0.7174507",
"0.7119157",
"0.711506",
"0.70672125",
"0.6921448",
"0.69168043",
"0.6901394",
"0.6880448",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68508184",
"0.68486464",
"0.6836935",
"0.6831248",
"0.6792632",
"0.6792229",
"0.6751313",
"0.67478305",
"0.66977054",
"0.6691549",
"0.66872084",
"0.65966827",
"0.65815717",
"0.6572005",
"0.6569767",
"0.65689117",
"0.6532477",
"0.64733034",
"0.6406832",
"0.6384841",
"0.6371482",
"0.63711643",
"0.63555723",
"0.6336432",
"0.6335725",
"0.63090175",
"0.62904054",
"0.62474865",
"0.62407434",
"0.6216355",
"0.62140477",
"0.6180554",
"0.6176324",
"0.61230385",
"0.610601",
"0.6036491",
"0.60338867",
"0.6031315",
"0.6017079",
"0.5998779",
"0.5989443",
"0.5973969",
"0.59497714",
"0.59380805",
"0.5932284",
"0.5912524",
"0.59109384",
"0.5895797",
"0.5885301",
"0.5878543",
"0.5854437",
"0.5852264",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58318615",
"0.58085644",
"0.58081794",
"0.58072627",
"0.5791072",
"0.57900363",
"0.5775956",
"0.5774957",
"0.575019",
"0.575019",
"0.5733323",
"0.57305855",
"0.5717234",
"0.57090783",
"0.57067376",
"0.5682306",
"0.56574005",
"0.56120753"
] |
0.651859
|
40
|
List of extensions and their versions supported by the node. repeated .envoy.config.core.v3.Extension extensions = 9;
|
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {
return extensions_.get(index);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder> \n getExtensionsOrBuilderList() {\n return extensions_;\n }",
"@java.lang.Override\n public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {\n return extensions_;\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(\n int index) {\n return extensions_.get(index);\n }",
"public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder> \n getExtensionsOrBuilderList() {\n if (extensionsBuilder_ != null) {\n return extensionsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(extensions_);\n }\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {\n if (extensionsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(extensions_);\n } else {\n return extensionsBuilder_.getMessageList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(\n int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index); } else {\n return extensionsBuilder_.getMessageOrBuilder(index);\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index);\n } else {\n return extensionsBuilder_.getMessage(index);\n }\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension.Builder> \n getExtensionsBuilderList() {\n return getExtensionsFieldBuilder().getBuilderList();\n }",
"public String[] getExtensions() {\r\n return extensions;\r\n }",
"public String[] getExtensions()\n\t{\n\t\treturn extensions;\n\t}",
"public String getExtensions() {\n return extensions;\n }",
"public String[] getAllDependencyExtensions();",
"ListExtensionResponse listExtensions(ListExtensionRequest request);",
"public List<String> getExtensions() {\n if (extensions != null) {\n return Collections.unmodifiableList(extensions);\n } else {\n return Collections.emptyList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder() {\n return getExtensionsFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"@JsonProperty(\"extensions\")\n public Set<ToolComponent> getExtensions() {\n return extensions;\n }",
"public void setExtensions(String listExtensions) {\n this.extensions = listExtensions;\n }",
"Extensions getExtensions() {\n return this.extensions;\n }",
"ExtensionsType getExtensions();",
"public Set<String> getSupportedExtensions() {\n\t\tLogger.i(TAG, \"getSupportedExtensions value \" + extensions);\n\t\treturn extensions;\n\t}",
"public void setExtensions(String extensions)\n {\n this.ext = extensions;\n }",
"public Set<String> getExtensions() {\n return extensions;\n }",
"public String[] getExtensions() {\n\t\treturn url.getExtensions();\n }",
"@Override\n public String[] getExtensions() {\n return EXTENSIONS.clone();\n }",
"public String getExtensions()\n {\n return ext;\n }",
"public void setExtensions( String extensions[] )\n\t{\n\t\tthis.extensions = extensions;\n\t}",
"ListExtensionResponse listInstalledExtensions(ListExtensionRequest request);",
"public String[] getExtensions()\r\n {\r\n return new String[] {\"\"};\r\n }",
"public String[] getExtensions() {\n return new String[] { \"ino\", \"pde\", \"c\", \"cpp\", \"h\" };\n }",
"List<String> getAllowedExtensions();",
"@Deprecated\n @JsonIgnore\n public Optional<List<Extension>> getExtensions() {\n List<Extension> extensionList = new LinkedList<>();\n this.extensionsMap.forEach((key, value) -> {\n extensionList.add(new UnknownExtension(key, value));\n });\n return Optional.ofNullable(extensionList);\n }",
"@Override\n public String[] getExtensions() {\n return new String[]{};\n }",
"@java.lang.Override\n public int getExtensionsCount() {\n return extensions_.size();\n }",
"private String getExtensionsList(String[] extensions) {\n \n // if it's an empty vector\n if (extensions.length == 0) {\n \n // return an empty string\n return \"\";\n \n } else {\n \n // get first element\n String result = \"[\".concat(extensions[0]);\n \n // iterate through the other values\n for (int i = 1; i < extensions.length; i++) {\n \n // add the current extension\n result = result.concat(\", \").concat(extensions[i]);\n }\n \n // close the list\n result = result.concat(\"]\");\n \n // return it\n return result;\n }\n }",
"GetExtensionsResponse getExtensions(GetExtensionsRequest request);",
"public String[] getExtensionIds();",
"public List<String> getExts() {\n return this.exts;\n }",
"@JsonProperty(\"extensions\")\n public void setExtensions(Set<ToolComponent> extensions) {\n this.extensions = extensions;\n }",
"public List<String> getExtensions() {\n if (this.extensions == null) {\n // alias?\n if (this.aliasOf != null) {\n return this.aliasOf.getExtensions();\n }\n }\n return this.extensions;\n }",
"public Builder addExtensions(io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(value);\n }\n return this;\n }",
"public List getInterfaceExtensions();",
"public static VkExtensionProperties[] listAvailableExtensions() throws VulkanException {\n VkExtensionProperties.Buffer extensions;\n\n int[] pPropertyCount = new int[1];\n int err = vkEnumerateInstanceExtensionProperties((CharSequence) null, pPropertyCount, null);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n extensions = VkExtensionProperties.calloc(pPropertyCount[0]);\n err =\n vkEnumerateInstanceExtensionProperties(\n (CharSequence) null, pPropertyCount, extensions);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n VkExtensionProperties[] out = new VkExtensionProperties[pPropertyCount[0]];\n for (int i = 0; i < pPropertyCount[0]; i++) {\n out[i] = extensions.get(i);\n }\n\n extensions.free();\n\n return out;\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder getExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().getBuilder(index);\n }",
"public QuarkusCodestartTestBuilder extensions(Collection<ArtifactCoords> extensions) {\n this.extensions.addAll(extensions);\n return this;\n }",
"@JsonDeserialize( using = AnyElementDeserializer.class )\n public void setExtensionElements(List<Object> extensionElements) {\n this.extensionElements = extensionElements;\n }",
"public String[] getAllInputExtensions();",
"private List<Object> pluginPropertyDefinitions() {\n List<Object> extensions = new ArrayList<>();\n extensions.add(getProperty(Constants.ENABLED, \"Plugin enabled\",\n \"Are Teams notifications enabled in general?\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.BYPASS_HTTPS_VALIDATION, \"Bypass HTTPS Validation\",\n \"Bypass SSL/TLS certificate validation on HTTPS requests (useful for proxies)\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.PROXY_IP, \"Proxy Server\",\n \"Domain or IP address of proxy server to use\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PORT, \"Proxy Port\",\n \"Port for the proxy server\",\n \"8080\", PropertyType.INTEGER));\n extensions.add(getProperty(Constants.PROXY_USER, \"Proxy User\",\n \"User name for proxy authentication\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PASS, \"Proxy Password\",\n \"Password for proxy authentication\",\n \"\", PropertyType.PASSWORD));\n return extensions;\n }",
"@Test\n public void testListExtensions() {\n FlumeBuilder.getSinkNames().contains(\"agentSink\");\n FlumeBuilder.getDecoratorNames().contains(\"regex\");\n FlumeBuilder.getSourceNames().contains(\"collectorSource\");\n }",
"public Collection<Collection<T>> getExtensions();",
"public Builder addAllExtensions(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Extension> values) {\n if (extensionsBuilder_ == null) {\n ensureExtensionsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, extensions_);\n onChanged();\n } else {\n extensionsBuilder_.addAllMessages(values);\n }\n return this;\n }",
"public Collection<FileExtensionDTO> getFileExtensions() throws Exception;",
"public Builder setExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.set(index, value);\n onChanged();\n } else {\n extensionsBuilder_.setMessage(index, value);\n }\n return this;\n }",
"public String getUserExtensions() {\n return userExtensions;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public String[] getAllOutputExtensions();",
"public Builder addExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(index, value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(index, value);\n }\n return this;\n }",
"private String extensions() {\n return Arrays.stream(f.getName().split(\"\\\\.\")).skip(1).collect(Collectors.joining(\".\"));\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public List<String> getFileExtensions()\n/* */ {\n/* 619 */ if ((useRegisteredSuffixPatternMatch()) && (this.contentNegotiationManager != null)) {\n/* 620 */ return this.contentNegotiationManager.getAllFileExtensions();\n/* */ }\n/* 622 */ return null;\n/* */ }",
"public List getInputExtensions();",
"public java.util.Map<java.lang.String, java.security.cert.Extension> getExtensions() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>\");\n }",
"public void registerCoreExtensions() {\n if (extensionsRegistered) {\n throw H2O.fail(\"Extensions already registered\");\n }\n\n long before = System.currentTimeMillis();\n ServiceLoader<AbstractH2OExtension> extensionsLoader = ServiceLoader.load(AbstractH2OExtension.class);\n for (AbstractH2OExtension ext : extensionsLoader) {\n if (isEnabled(ext)) {\n ext.init();\n coreExtensions.put(ext.getExtensionName(), ext);\n }\n }\n extensionsRegistered = true;\n registerCoreExtensionsMillis = System.currentTimeMillis() - before;\n }",
"public String[] getOutputExtensions();",
"public int getExtensionsCount() {\n if (extensionsBuilder_ == null) {\n return extensions_.size();\n } else {\n return extensionsBuilder_.getCount();\n }\n }",
"Boolean supportsMultipleExtensions();",
"protected Iterable<JStachioExtension> extensions(Jooby application) {\n return ServiceLoader.load(\n JStachioExtension.class, application.getEnvironment().getClassLoader());\n }",
"public Optional<Document> extensions() {\n\t\t\treturn Optional.ofNullable(_extensions);\n\t\t}",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"@XmlAnyElement ( lax = true )\n @JsonSerialize ( using = AnyElementSerializer.class )\n public List<Object> getExtensionElements() {\n return extensionElements;\n }",
"public Object getExtension(){\n\t\treturn ext;\n\t}",
"@objid (\"e20e1709-9e0b-4c6a-bf6c-3f3e7b57cdfe\")\n @Override\n boolean isExtension();",
"public String[] getPrimaryInputExtensions();",
"public String getExtensionAttributes()\n {\n return extensionAttributes;\n }",
"public String getZipExtensions() {\n return zipExtensions;\n }",
"com.google.protobuf.ByteString\n getExtensionTextBytes();",
"public ArrayList<String> getAvalaibleExtensions() {\n ArrayList<String> ext = new ArrayList<String>();\n ext.add(\"txt\");\n return ext;\n }",
"public String getExtension() {\n return extension;\n }",
"public String getExtension() {\n return extension;\n }",
"public final void registerExtensions(@NotNull List<? extends T> extensions) {\n for (ExtensionComponentAdapter adapter : adapters) {\n if (adapter instanceof ObjectComponentAdapter) {\n if (ContainerUtil.containsIdentity(extensions, adapter)) {\n LOG.error(\"Extension was already added: \" + ((ObjectComponentAdapter<?>)adapter).componentInstance);\n return;\n }\n }\n }\n\n List<ExtensionComponentAdapter> newAdapters = doRegisterExtensions(extensions);\n // do not call notifyListeners under lock\n ExtensionPointListener<T>[] listeners;\n synchronized (this) {\n listeners = this.listeners;\n }\n notifyListeners(false, newAdapters, listeners);\n }",
"public String getExtension() {\n return extension;\n }",
"public String[] getBuildExtensions(Project project) {\r\n// HashSet copyext =\r\n// new HashSet(Arrays.asList(COPY_EXTENSIONS.getValues(project)));\r\n// HashSet nocopyext =\r\n// new HashSet(Arrays.asList(NO_COPY_EXTENSIONS.getValues(project)));\r\n//\r\n// Map map = FileType.getFileTypes();\r\n// Iterator iterator = map.keySet().iterator();\r\n//\r\n// while (iterator.hasNext()) {\r\n// String s = (String) iterator.next();\r\n// Class nodeType = ((FileType) map.get(s)).getNodeType();\r\n// boolean isJavaNode = JavaFileNode.class.isAssignableFrom(nodeType);\r\n// if (isJavaNode && !nocopyext.contains(s)) {\r\n// copyext.add(s);\r\n// }\r\n// }\r\n// return (String[]) copyext.toArray(new String[copyext.size()]);\r\n\r\n HashSet exts = new HashSet();\r\n String[] buildExts = super.getBuildExtensions(project);\r\n if (buildExts != null) {\r\n exts.addAll(Arrays.asList(buildExts));\r\n }\r\n\r\n String[] ourExts = Builder.getRegisteredExtensions(JavaFileNodeRe.class);\r\n if (ourExts != null) {\r\n exts.addAll(Arrays.asList(ourExts));\r\n }\r\n return (String[]) exts.toArray(new String[exts.size()]);\r\n }",
"public Extension getExtension() {\n return extension;\n }",
"EnsureExtensionResponse ensureExtensions(EnsureExtensionRequest request);",
"List<FeatureExtensionHandler> getFeatureExtensionHandlers() {\n return this.featureExtensionHandlers;\n }",
"public java.lang.Object getExtension() {\r\n return extension;\r\n }",
"private static void loadExtensions( final File file,\n final ArrayList extensions )\n throws TaskException\n {\n try\n {\n final JarFile jarFile = new JarFile( file );\n final Extension[] extension =\n Extension.getAvailable( jarFile.getManifest() );\n for( int i = 0; i < extension.length; i++ )\n {\n extensions.add( extension[ i ] );\n }\n }\n catch( final Exception e )\n {\n throw new TaskException( e.getMessage(), e );\n }\n }"
] |
[
"0.814672",
"0.7932168",
"0.79000425",
"0.77417564",
"0.74963915",
"0.7296648",
"0.7260697",
"0.7174507",
"0.7119157",
"0.711506",
"0.70672125",
"0.6921448",
"0.69168043",
"0.6901394",
"0.6880448",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68508184",
"0.68486464",
"0.6836935",
"0.6831248",
"0.6792632",
"0.6792229",
"0.6751313",
"0.67478305",
"0.66977054",
"0.6691549",
"0.66872084",
"0.65966827",
"0.65815717",
"0.6572005",
"0.6569767",
"0.65689117",
"0.6532477",
"0.651859",
"0.64733034",
"0.6406832",
"0.6384841",
"0.6371482",
"0.63711643",
"0.63555723",
"0.6336432",
"0.6335725",
"0.63090175",
"0.62904054",
"0.62474865",
"0.62407434",
"0.6216355",
"0.62140477",
"0.6180554",
"0.6176324",
"0.61230385",
"0.610601",
"0.6036491",
"0.60338867",
"0.6031315",
"0.6017079",
"0.5998779",
"0.5989443",
"0.5973969",
"0.59497714",
"0.59380805",
"0.5932284",
"0.5912524",
"0.59109384",
"0.5895797",
"0.5885301",
"0.5878543",
"0.5854437",
"0.5852264",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58318615",
"0.58085644",
"0.58081794",
"0.58072627",
"0.5791072",
"0.57900363",
"0.5775956",
"0.5774957",
"0.575019",
"0.575019",
"0.5733323",
"0.57305855",
"0.5717234",
"0.57090783",
"0.57067376",
"0.5682306",
"0.56574005",
"0.56120753"
] |
0.7648402
|
4
|
List of extensions and their versions supported by the node. repeated .envoy.config.core.v3.Extension extensions = 9;
|
@java.lang.Override
public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(
int index) {
return extensions_.get(index);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder> \n getExtensionsOrBuilderList() {\n return extensions_;\n }",
"@java.lang.Override\n public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {\n return extensions_;\n }",
"public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder> \n getExtensionsOrBuilderList() {\n if (extensionsBuilder_ != null) {\n return extensionsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(extensions_);\n }\n }",
"@java.lang.Override\n public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {\n return extensions_.get(index);\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension> getExtensionsList() {\n if (extensionsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(extensions_);\n } else {\n return extensionsBuilder_.getMessageList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.ExtensionOrBuilder getExtensionsOrBuilder(\n int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index); } else {\n return extensionsBuilder_.getMessageOrBuilder(index);\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension getExtensions(int index) {\n if (extensionsBuilder_ == null) {\n return extensions_.get(index);\n } else {\n return extensionsBuilder_.getMessage(index);\n }\n }",
"public java.util.List<io.envoyproxy.envoy.config.core.v3.Extension.Builder> \n getExtensionsBuilderList() {\n return getExtensionsFieldBuilder().getBuilderList();\n }",
"public String[] getExtensions() {\r\n return extensions;\r\n }",
"public String[] getExtensions()\n\t{\n\t\treturn extensions;\n\t}",
"public String getExtensions() {\n return extensions;\n }",
"public String[] getAllDependencyExtensions();",
"ListExtensionResponse listExtensions(ListExtensionRequest request);",
"public List<String> getExtensions() {\n if (extensions != null) {\n return Collections.unmodifiableList(extensions);\n } else {\n return Collections.emptyList();\n }\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder() {\n return getExtensionsFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"public java.util.List<Extension> extension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_EXTENSION);\n }",
"@JsonProperty(\"extensions\")\n public Set<ToolComponent> getExtensions() {\n return extensions;\n }",
"public void setExtensions(String listExtensions) {\n this.extensions = listExtensions;\n }",
"Extensions getExtensions() {\n return this.extensions;\n }",
"ExtensionsType getExtensions();",
"public Set<String> getSupportedExtensions() {\n\t\tLogger.i(TAG, \"getSupportedExtensions value \" + extensions);\n\t\treturn extensions;\n\t}",
"public void setExtensions(String extensions)\n {\n this.ext = extensions;\n }",
"public Set<String> getExtensions() {\n return extensions;\n }",
"public String[] getExtensions() {\n\t\treturn url.getExtensions();\n }",
"@Override\n public String[] getExtensions() {\n return EXTENSIONS.clone();\n }",
"public String getExtensions()\n {\n return ext;\n }",
"public void setExtensions( String extensions[] )\n\t{\n\t\tthis.extensions = extensions;\n\t}",
"ListExtensionResponse listInstalledExtensions(ListExtensionRequest request);",
"public String[] getExtensions()\r\n {\r\n return new String[] {\"\"};\r\n }",
"public String[] getExtensions() {\n return new String[] { \"ino\", \"pde\", \"c\", \"cpp\", \"h\" };\n }",
"List<String> getAllowedExtensions();",
"@Deprecated\n @JsonIgnore\n public Optional<List<Extension>> getExtensions() {\n List<Extension> extensionList = new LinkedList<>();\n this.extensionsMap.forEach((key, value) -> {\n extensionList.add(new UnknownExtension(key, value));\n });\n return Optional.ofNullable(extensionList);\n }",
"@Override\n public String[] getExtensions() {\n return new String[]{};\n }",
"@java.lang.Override\n public int getExtensionsCount() {\n return extensions_.size();\n }",
"private String getExtensionsList(String[] extensions) {\n \n // if it's an empty vector\n if (extensions.length == 0) {\n \n // return an empty string\n return \"\";\n \n } else {\n \n // get first element\n String result = \"[\".concat(extensions[0]);\n \n // iterate through the other values\n for (int i = 1; i < extensions.length; i++) {\n \n // add the current extension\n result = result.concat(\", \").concat(extensions[i]);\n }\n \n // close the list\n result = result.concat(\"]\");\n \n // return it\n return result;\n }\n }",
"GetExtensionsResponse getExtensions(GetExtensionsRequest request);",
"public String[] getExtensionIds();",
"public List<String> getExts() {\n return this.exts;\n }",
"@JsonProperty(\"extensions\")\n public void setExtensions(Set<ToolComponent> extensions) {\n this.extensions = extensions;\n }",
"public List<String> getExtensions() {\n if (this.extensions == null) {\n // alias?\n if (this.aliasOf != null) {\n return this.aliasOf.getExtensions();\n }\n }\n return this.extensions;\n }",
"public Builder addExtensions(io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(value);\n }\n return this;\n }",
"public List getInterfaceExtensions();",
"public static VkExtensionProperties[] listAvailableExtensions() throws VulkanException {\n VkExtensionProperties.Buffer extensions;\n\n int[] pPropertyCount = new int[1];\n int err = vkEnumerateInstanceExtensionProperties((CharSequence) null, pPropertyCount, null);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n extensions = VkExtensionProperties.calloc(pPropertyCount[0]);\n err =\n vkEnumerateInstanceExtensionProperties(\n (CharSequence) null, pPropertyCount, extensions);\n VulkanResult.validate(err, \"Failed to enumerate instance extension properties!\");\n\n VkExtensionProperties[] out = new VkExtensionProperties[pPropertyCount[0]];\n for (int i = 0; i < pPropertyCount[0]; i++) {\n out[i] = extensions.get(i);\n }\n\n extensions.free();\n\n return out;\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder addExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Extension.getDefaultInstance());\n }",
"public io.envoyproxy.envoy.config.core.v3.Extension.Builder getExtensionsBuilder(\n int index) {\n return getExtensionsFieldBuilder().getBuilder(index);\n }",
"public QuarkusCodestartTestBuilder extensions(Collection<ArtifactCoords> extensions) {\n this.extensions.addAll(extensions);\n return this;\n }",
"@JsonDeserialize( using = AnyElementDeserializer.class )\n public void setExtensionElements(List<Object> extensionElements) {\n this.extensionElements = extensionElements;\n }",
"public String[] getAllInputExtensions();",
"private List<Object> pluginPropertyDefinitions() {\n List<Object> extensions = new ArrayList<>();\n extensions.add(getProperty(Constants.ENABLED, \"Plugin enabled\",\n \"Are Teams notifications enabled in general?\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.BYPASS_HTTPS_VALIDATION, \"Bypass HTTPS Validation\",\n \"Bypass SSL/TLS certificate validation on HTTPS requests (useful for proxies)\",\n \"false\", PropertyType.BOOLEAN));\n extensions.add(getProperty(Constants.PROXY_IP, \"Proxy Server\",\n \"Domain or IP address of proxy server to use\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PORT, \"Proxy Port\",\n \"Port for the proxy server\",\n \"8080\", PropertyType.INTEGER));\n extensions.add(getProperty(Constants.PROXY_USER, \"Proxy User\",\n \"User name for proxy authentication\",\n \"\", PropertyType.STRING));\n extensions.add(getProperty(Constants.PROXY_PASS, \"Proxy Password\",\n \"Password for proxy authentication\",\n \"\", PropertyType.PASSWORD));\n return extensions;\n }",
"@Test\n public void testListExtensions() {\n FlumeBuilder.getSinkNames().contains(\"agentSink\");\n FlumeBuilder.getDecoratorNames().contains(\"regex\");\n FlumeBuilder.getSourceNames().contains(\"collectorSource\");\n }",
"public Collection<Collection<T>> getExtensions();",
"public Builder addAllExtensions(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Extension> values) {\n if (extensionsBuilder_ == null) {\n ensureExtensionsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, extensions_);\n onChanged();\n } else {\n extensionsBuilder_.addAllMessages(values);\n }\n return this;\n }",
"public Collection<FileExtensionDTO> getFileExtensions() throws Exception;",
"public Builder setExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.set(index, value);\n onChanged();\n } else {\n extensionsBuilder_.setMessage(index, value);\n }\n return this;\n }",
"public String getUserExtensions() {\n return userExtensions;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public String[] getAllOutputExtensions();",
"public Builder addExtensions(\n int index, io.envoyproxy.envoy.config.core.v3.Extension value) {\n if (extensionsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureExtensionsIsMutable();\n extensions_.add(index, value);\n onChanged();\n } else {\n extensionsBuilder_.addMessage(index, value);\n }\n return this;\n }",
"private String extensions() {\n return Arrays.stream(f.getName().split(\"\\\\.\")).skip(1).collect(Collectors.joining(\".\"));\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Integer getExtensionsSchemaVersion() {\n return (java.lang.Integer)__getInternalInterface().getFieldValue(EXTENSIONSSCHEMAVERSION_PROP.get());\n }",
"public List<String> getFileExtensions()\n/* */ {\n/* 619 */ if ((useRegisteredSuffixPatternMatch()) && (this.contentNegotiationManager != null)) {\n/* 620 */ return this.contentNegotiationManager.getAllFileExtensions();\n/* */ }\n/* 622 */ return null;\n/* */ }",
"public List getInputExtensions();",
"public java.util.Map<java.lang.String, java.security.cert.Extension> getExtensions() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: sun.security.x509.X509CRLEntryImpl.getExtensions():java.util.Map<java.lang.String, java.security.cert.Extension>\");\n }",
"public void registerCoreExtensions() {\n if (extensionsRegistered) {\n throw H2O.fail(\"Extensions already registered\");\n }\n\n long before = System.currentTimeMillis();\n ServiceLoader<AbstractH2OExtension> extensionsLoader = ServiceLoader.load(AbstractH2OExtension.class);\n for (AbstractH2OExtension ext : extensionsLoader) {\n if (isEnabled(ext)) {\n ext.init();\n coreExtensions.put(ext.getExtensionName(), ext);\n }\n }\n extensionsRegistered = true;\n registerCoreExtensionsMillis = System.currentTimeMillis() - before;\n }",
"public String[] getOutputExtensions();",
"public int getExtensionsCount() {\n if (extensionsBuilder_ == null) {\n return extensions_.size();\n } else {\n return extensionsBuilder_.getCount();\n }\n }",
"Boolean supportsMultipleExtensions();",
"protected Iterable<JStachioExtension> extensions(Jooby application) {\n return ServiceLoader.load(\n JStachioExtension.class, application.getEnvironment().getClassLoader());\n }",
"public Optional<Document> extensions() {\n\t\t\treturn Optional.ofNullable(_extensions);\n\t\t}",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"public java.util.List<Extension> modifierExtension() {\n return getList(Extension.class, FhirPropertyNames.PROPERTY_MODIFIER_EXTENSION);\n }",
"@XmlAnyElement ( lax = true )\n @JsonSerialize ( using = AnyElementSerializer.class )\n public List<Object> getExtensionElements() {\n return extensionElements;\n }",
"public Object getExtension(){\n\t\treturn ext;\n\t}",
"@objid (\"e20e1709-9e0b-4c6a-bf6c-3f3e7b57cdfe\")\n @Override\n boolean isExtension();",
"public String[] getPrimaryInputExtensions();",
"public String getExtensionAttributes()\n {\n return extensionAttributes;\n }",
"public String getZipExtensions() {\n return zipExtensions;\n }",
"com.google.protobuf.ByteString\n getExtensionTextBytes();",
"public ArrayList<String> getAvalaibleExtensions() {\n ArrayList<String> ext = new ArrayList<String>();\n ext.add(\"txt\");\n return ext;\n }",
"public String getExtension() {\n return extension;\n }",
"public String getExtension() {\n return extension;\n }",
"public final void registerExtensions(@NotNull List<? extends T> extensions) {\n for (ExtensionComponentAdapter adapter : adapters) {\n if (adapter instanceof ObjectComponentAdapter) {\n if (ContainerUtil.containsIdentity(extensions, adapter)) {\n LOG.error(\"Extension was already added: \" + ((ObjectComponentAdapter<?>)adapter).componentInstance);\n return;\n }\n }\n }\n\n List<ExtensionComponentAdapter> newAdapters = doRegisterExtensions(extensions);\n // do not call notifyListeners under lock\n ExtensionPointListener<T>[] listeners;\n synchronized (this) {\n listeners = this.listeners;\n }\n notifyListeners(false, newAdapters, listeners);\n }",
"public String getExtension() {\n return extension;\n }",
"public String[] getBuildExtensions(Project project) {\r\n// HashSet copyext =\r\n// new HashSet(Arrays.asList(COPY_EXTENSIONS.getValues(project)));\r\n// HashSet nocopyext =\r\n// new HashSet(Arrays.asList(NO_COPY_EXTENSIONS.getValues(project)));\r\n//\r\n// Map map = FileType.getFileTypes();\r\n// Iterator iterator = map.keySet().iterator();\r\n//\r\n// while (iterator.hasNext()) {\r\n// String s = (String) iterator.next();\r\n// Class nodeType = ((FileType) map.get(s)).getNodeType();\r\n// boolean isJavaNode = JavaFileNode.class.isAssignableFrom(nodeType);\r\n// if (isJavaNode && !nocopyext.contains(s)) {\r\n// copyext.add(s);\r\n// }\r\n// }\r\n// return (String[]) copyext.toArray(new String[copyext.size()]);\r\n\r\n HashSet exts = new HashSet();\r\n String[] buildExts = super.getBuildExtensions(project);\r\n if (buildExts != null) {\r\n exts.addAll(Arrays.asList(buildExts));\r\n }\r\n\r\n String[] ourExts = Builder.getRegisteredExtensions(JavaFileNodeRe.class);\r\n if (ourExts != null) {\r\n exts.addAll(Arrays.asList(ourExts));\r\n }\r\n return (String[]) exts.toArray(new String[exts.size()]);\r\n }",
"public Extension getExtension() {\n return extension;\n }",
"EnsureExtensionResponse ensureExtensions(EnsureExtensionRequest request);",
"List<FeatureExtensionHandler> getFeatureExtensionHandlers() {\n return this.featureExtensionHandlers;\n }",
"public java.lang.Object getExtension() {\r\n return extension;\r\n }",
"private static void loadExtensions( final File file,\n final ArrayList extensions )\n throws TaskException\n {\n try\n {\n final JarFile jarFile = new JarFile( file );\n final Extension[] extension =\n Extension.getAvailable( jarFile.getManifest() );\n for( int i = 0; i < extension.length; i++ )\n {\n extensions.add( extension[ i ] );\n }\n }\n catch( final Exception e )\n {\n throw new TaskException( e.getMessage(), e );\n }\n }"
] |
[
"0.814672",
"0.7932168",
"0.77417564",
"0.7648402",
"0.74963915",
"0.7296648",
"0.7260697",
"0.7174507",
"0.7119157",
"0.711506",
"0.70672125",
"0.6921448",
"0.69168043",
"0.6901394",
"0.6880448",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68568313",
"0.68508184",
"0.68486464",
"0.6836935",
"0.6831248",
"0.6792632",
"0.6792229",
"0.6751313",
"0.67478305",
"0.66977054",
"0.6691549",
"0.66872084",
"0.65966827",
"0.65815717",
"0.6572005",
"0.6569767",
"0.65689117",
"0.6532477",
"0.651859",
"0.64733034",
"0.6406832",
"0.6384841",
"0.6371482",
"0.63711643",
"0.63555723",
"0.6336432",
"0.6335725",
"0.63090175",
"0.62904054",
"0.62474865",
"0.62407434",
"0.6216355",
"0.62140477",
"0.6180554",
"0.6176324",
"0.61230385",
"0.610601",
"0.6036491",
"0.60338867",
"0.6031315",
"0.6017079",
"0.5998779",
"0.5989443",
"0.5973969",
"0.59497714",
"0.59380805",
"0.5932284",
"0.5912524",
"0.59109384",
"0.5895797",
"0.5885301",
"0.5878543",
"0.5854437",
"0.5852264",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58438164",
"0.58318615",
"0.58085644",
"0.58081794",
"0.58072627",
"0.5791072",
"0.57900363",
"0.5775956",
"0.5774957",
"0.575019",
"0.575019",
"0.5733323",
"0.57305855",
"0.5717234",
"0.57090783",
"0.57067376",
"0.5682306",
"0.56574005",
"0.56120753"
] |
0.79000425
|
2
|
Client feature support list. These are well known features described in the Envoy API repository for a given major version of an API. Client features use reverse DNS naming scheme, for example `com.acme.feature`. See :ref:`the list of features <client_features>` that xDS client may support. repeated string client_features = 10;
|
public com.google.protobuf.ProtocolStringList
getClientFeaturesList() {
return clientFeatures_;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public com.google.protobuf.ProtocolStringList\n getClientFeaturesList() {\n return clientFeatures_.getUnmodifiableView();\n }",
"public java.lang.String getClientFeatures(int index) {\n return clientFeatures_.get(index);\n }",
"public java.lang.String getClientFeatures(int index) {\n return clientFeatures_.get(index);\n }",
"public int getClientFeaturesCount() {\n return clientFeatures_.size();\n }",
"public int getClientFeaturesCount() {\n return clientFeatures_.size();\n }",
"public com.google.protobuf.ByteString\n getClientFeaturesBytes(int index) {\n return clientFeatures_.getByteString(index);\n }",
"public com.google.protobuf.ByteString\n getClientFeaturesBytes(int index) {\n return clientFeatures_.getByteString(index);\n }",
"public Builder addClientFeatures(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClientFeaturesIsMutable();\n clientFeatures_.add(value);\n onChanged();\n return this;\n }",
"public Builder setClientFeatures(\n int index, java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClientFeaturesIsMutable();\n clientFeatures_.set(index, value);\n onChanged();\n return this;\n }",
"public void setFeatures(List<String> features) {\n this.features = features;\n }",
"public Builder addAllClientFeatures(\n java.lang.Iterable<java.lang.String> values) {\n ensureClientFeaturesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, clientFeatures_);\n onChanged();\n return this;\n }",
"java.util.List<java.lang.String> getFeaturesList();",
"List<String> getFeatures();",
"public Builder clearClientFeatures() {\n clientFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY;\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n return this;\n }",
"public List<String> getFeatures() {\n return features;\n }",
"@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/featuregates\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesListCall<FeatureGateList, FeatureGate> listFeatureGate();",
"java.util.List<iet.distributed.telemetry.Feature> \n getFeatureList();",
"public Builder addClientFeaturesBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n ensureClientFeaturesIsMutable();\n clientFeatures_.add(value);\n onChanged();\n return this;\n }",
"@Override\r\n\tpublic String[] getClientNames() {\r\n\t\treturn initData.clientNames;\r\n\t}",
"List<Feature> getFeatures();",
"java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();",
"java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();",
"public String[] getClientNames() {\n return clientNames;\n }",
"java.util.List<? extends iet.distributed.telemetry.FeatureOrBuilder> \n getFeatureOrBuilderList();",
"public List BestClient();",
"List<PolicyEngineFeatureApi> getFeatureProviders();",
"@RequestLine(\"GET /v1/users/{userId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(@Param(\"userId\") String userId);",
"public Set<String> getGameListClients() {\n return this.gameListClients;\n }",
"@Override\n public KimbleClient[] clientStartInfo() {\n return clients;\n }",
"@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/featuregates\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesListCall<FeatureGateList, FeatureGate> listFeatureGate(\n @QueryMap ListFeatureGate queryParameters);",
"public Collection<String> getProvideFeature();",
"public Collection<String> getRequireFeature();",
"@RequestLine(\"GET /v1/courses/{courseId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesCourses(@Param(\"courseId\") String courseId);",
"public Set<String> getFeatures();",
"public ClientList getClients() {\r\n return this.clients;\r\n }",
"public void printClientList(){\n for(String client : clientList){\n System.out.println(client);\n }\n System.out.println();\n }",
"public List<HotspotClient> getHotspotClientsList() {\n List<HotspotClient> clients = new ArrayList<HotspotClient>();\n synchronized (mHotspotClients) {\n for (HotspotClient client : mHotspotClients.values()) {\n clients.add(new HotspotClient(client));\n }\n }\n return clients;\n }",
"public static void initializeClientList() {\r\n\t\tClient newClient1 = new Client(1, \"Bob Jones\", \"Brokerage\");\r\n\t\tclientList.add(newClient1);\r\n\t\t\r\n\t\tClient newClient2 = new Client(2, \"Sarah Davis\", \"Retirement\");\r\n\t\tclientList.add(newClient2);\r\n\t\t\r\n\t\tClient newClient3 = new Client(3, \"Amy Friendly\", \"Brokerage\");\r\n\t\tclientList.add(newClient3);\r\n\t\t\r\n\t\tClient newClient4 = new Client(4, \"Johnny Smith\", \"Brokerage\");\r\n\t\tclientList.add(newClient4);\r\n\t\t\r\n\t\tClient newClient5 = new Client(5, \"Carol Spears\", \"Retirement\");\r\n\t\tclientList.add(newClient5);\r\n\t}",
"@Nonnull\r\n public Set<Feature> getFeatures() {\r\n return features;\r\n }",
"public ArrayList<Client> getClientList() {\n return this.clientList;\n }",
"List<IFeature> getFeatureList();",
"public ArrayList<ClientHandler> getClientList()\n {\n return clientList;\n }",
"Set<String> listCapabilities();",
"com.google.protobuf.ByteString getFeaturesBytes(int index);",
"public List<Client> getAllClient();",
"public Feature[] getFeatures() throws JsonMappingException, IOException {\n \tfinal String uri = \"http://localhost:12300/featureflags\";\n RestTemplate restTemplate = new RestTemplate();\n HttpHeaders headers = new HttpHeaders();\n headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON));\n HttpEntity<String> entity = new HttpEntity<String>(\"parameters\", headers);\n ResponseEntity<String> result = restTemplate.exchange(uri, HttpMethod.GET, entity, String.class);\n String body = result.getBody();\n ObjectMapper mapper = new ObjectMapper();\n Feature[] features = mapper.readValue(body, Feature[].class);\n return features;\n }",
"@Override\n\t\tpublic List<Client> listeClient() {\n\t\t\treturn null;\n\t\t}",
"java.util.List<org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature> getPlanFeatureList();",
"private LinkedList<String> getActivatedFeatureArgs(\r\n\t\t\tList<String> myActivatedFeatures) {\r\n\t\tLinkedList<String> args = new LinkedList<String>();\r\n\t\tfor (String feature : myActivatedFeatures) {\r\n\t\t\targs.add(\"-D\" + feature);\r\n\t\t}\r\n\t\treturn args;\r\n\r\n\t}",
"@RequestLine(\"GET /v1/users/{userId}/features/flags/{feature}\")\n @Headers({\n \"Accept: application/json\",\n })\n FeatureFlag getFeatureFlagUsers(@Param(\"userId\") String userId, @Param(\"feature\") String feature);",
"public static String supportedFeatures() {\n\t\tStringBuilder buf = new StringBuilder(\"Filesystem features: \");\n\n\t\tClass<Feature> c = Feature.class;\n\t\tfor (Method m : c.getDeclaredMethods()) {\n\t\t\tint mod = m.getModifiers();\n\t\t\tString name = m.getName();\n\n\t\t\tif (!name.equals(\"supportedFeatures\") && Modifier.isStatic(mod) && Modifier.isPublic(mod)) {\n\t\t\t\ttry {\n\t\t\t\t\tboolean ret = (Boolean)m.invoke(null);\n\t\t\t\t\tif (ret) {\n\t\t\t\t\t\tbuf.append(m.getName());\n\t\t\t\t\t\tbuf.append(\" \");\n\t\t\t\t\t}\n\t\t\t\t} catch (IllegalArgumentException ignored) {\n\t\t\t\t} catch (IllegalAccessException ignored) {\n\t\t\t\t} catch (InvocationTargetException ignored) {\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\t\tbuf.append(\"\\n\");\n\t\treturn buf.toString();\n\t}",
"public WebServiceFeature[] getFeatures() {\n\t\treturn null;\n\t}",
"@RequestLine(\"GET /v1/users/{userId}/features/enabled\")\n @Headers({\n \"Accept: */*\",\n })\n void listEnabledFeaturesUsers(@Param(\"userId\") String userId);",
"public void printClientList() {\n uiService.underDevelopment();\n }",
"public ArrayList<Client> clientList() {\n\t\tint counter = 1; // 일딴 보류\n\t\tConnection conn = null;\n\t\tPreparedStatement pstmt = null;\n\t\tResultSet rs = null;\n\t\tString query = \"select * from client\";\n\t\tArrayList<Client> client = new ArrayList<Client>();\n\t\tClient object = null;\n\t\ttry {\n\t\t\tconn = getConnection();\n\t\t\tpstmt = conn.prepareStatement(query);\n\t\t\trs = pstmt.executeQuery();\n\t\t\twhile (rs.next()) {\n\t\t\t\tobject = new Client();\n\t\t\t\tString cId = rs.getString(\"cId\");\n\t\t\t\tString cPhone = rs.getString(\"cPhone\");\n\t\t\t\tString cName = rs.getString(\"cName\");\n\t\t\t\tint point = rs.getInt(\"cPoint\");\n\t\t\t\tint totalPoint = rs.getInt(\"totalPoint\");\n\n\t\t\t\tobject.setcId(cId);\n\t\t\t\tobject.setcPhone(cPhone);\n\t\t\t\tobject.setcName(cName);\n\t\t\t\tobject.setcPoint(point);\n\t\t\t\tobject.setTotalPoint(totalPoint);\n\n\t\t\t\tclient.add(object);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tfinally {\n\t\t\ttry {\n\t\t\t\tif (conn != null) {\n\t\t\t\t\tconn.close();\n\t\t\t\t}\n\t\t\t\tif (pstmt != null) {\n\t\t\t\t\tpstmt.close();\n\t\t\t\t}\n\t\t\t\tif (rs != null) {\n\t\t\t\t\trs.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn client;\n\t}",
"@RequestLine(\"GET /v1/courses/{courseId}/features/flags/{feature}\")\n @Headers({\n \"Accept: application/json\",\n })\n FeatureFlag getFeatureFlagCourses(@Param(\"courseId\") String courseId, @Param(\"feature\") String feature);",
"public int getNumberOfFeatures() {\n\t\treturn numberOfFeatures;\n\t}",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n @NoCache\n public List<ClientRepresentation> getClients(@QueryParam(\"clientId\") String clientId,\n @QueryParam(\"viewableOnly\") @DefaultValue(\"false\") boolean viewableOnly,\n @QueryParam(\"search\") @DefaultValue(\"false\") boolean search,\n @QueryParam(\"first\") Integer firstResult,\n @QueryParam(\"max\") Integer maxResults) {\n List<ClientRepresentation> rep = new ArrayList<>();\n\n if (clientId == null || clientId.trim().equals(\"\")) {\n List<ClientModel> clientModels = realm.getClients(firstResult, maxResults);\n for (ClientModel clientModel : clientModels) {\n ClientRepresentation representation = modelToRepresentation.toRepresentation(clientModel);\n rep.add(representation);\n// representation.setAccess(auth.clients().getAccess(clientModel));\n }\n } else {\n List<ClientModel> clientModels = Collections.emptyList();\n if (search) {\n clientModels = realm.searchClientByClientId(clientId, firstResult, maxResults);\n } else {\n ClientModel client = realm.getClientByClientId(clientId);\n if (client != null) {\n clientModels = Collections.singletonList(client);\n }\n }\n if (clientModels != null) {\n for (ClientModel clientModel : clientModels) {\n ClientRepresentation representation = modelToRepresentation.toRepresentation(clientModel);\n// representation.setAccess(auth.clients().getAccess(clientModel));\n rep.add(representation);\n }\n }\n }\n return rep;\n }",
"public ListOfOnixElement<ResourceFileFeatureDescription, String> resourceFileFeatureDescriptions() {\n _initialize();\n return resourceFileFeatureDescriptions;\n }",
"@RequestLine(\"GET /v1/accounts/{accountId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(@Param(\"accountId\") String accountId);",
"java.lang.String getFeatures(int index);",
"@Retryable(\n\t\t\tmaxAttempts = Application.retry_max_attempt,\n\t\t\tbackoff = @Backoff(delay = 5000))\n\t@ApiOperation(value = \"Liste des factures clients\")\n\t@ApiResponses(value = {\n\t\t @ApiResponse(code = 401, message = \"Vous devez être identifié pour effectuer cette opération\"),\n\t\t @ApiResponse(code = 403, message = \"Vous n'êtes pas autorisé à effectuer cette action (uniquement les admin ou opérateurs ayant droits)\"),\n\t\t @ApiResponse(code = 200, message = \"Liste des actions retournées (au format datatable - contenu dans data, nombre total dans recordsTotal)\", response = MapDatatable.class)\n\t\t})\n\t@ResponseBody\n\t@RequestMapping(\n\t\t\tproduces = \"application/json\", \n\t\t\tvalue = \"/factures/client\",\n\t\t\tmethod = RequestMethod.POST)\n\t@CrossOrigin\n\tpublic ResponseEntity<Object> get_factures_clients(\n\t\t\t@ApiParam(value = \"Critères de recherche (tri, filtre, etc) au format Datatable\", required = true) @RequestBody MultiValueMap postBody,\n\t\t\t@ApiParam(value = \"Jeton JWT pour autentification\", required = true) @RequestHeader(\"Token\") String token) throws JsonProcessingException {\n\n\t\t// vérifie que le jeton est valide et que les droits lui permettent de consulter les admin katmars\n\t\tif (!jwtProvider.isValidJWT(token)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.UNAUTHORIZED, \"Jeton invalide, veuillez vous reconnecter.\");\n\t\t}\n\n\t\tif (!SecurityUtils.adminOrOperateurWithDroit(jwtProvider, token, OperateurListeDeDroits.CONSULTER_FACTURES_CLIENT) && !SecurityUtils.client(jwtProvider, token) && !SecurityUtils.client_personnelWithDroit(jwtProvider, token, ClientPersonnelListeDeDroits.VOIR_FACTURES)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.FORBIDDEN, \"Vous n'avez pas le droit d'effectuer cette opération.\");\t\t\n\t\t}\n\n\t\t// paramètres du datatable\n\t\tString draw \t\t= postBody.getFirst(\"draw\").toString();\n\t\tInteger length \t\t= Integer.valueOf(postBody.getFirst(\"length\").toString());\n\n\t\t// tri, sens et numéro de page\n\t\tString colonneTriDefaut = \"numeroFacture\";\n\t\tList<String> colonnesTriAutorise = Arrays.asList(\"createdOn\", \"montantHT\", \"numeroFacture\", \"montantTTC\", \"dateFacture\");\n\n\t\tString order_column_bdd = DatatableUtils.getOrderColonne(colonneTriDefaut, colonnesTriAutorise, postBody);\n\t\tString sort_bdd = DatatableUtils.getSort(postBody);\n\t\tInteger numero_page = DatatableUtils.getNumeroPage(postBody, length);\n\n\t\t// filtrage\n\t\tList<String> colonnesFiltrageActive = Arrays.asList(\"listeOperations\", \"createdOn\", \"numeroFacture\");\n\t\tParentSpecificationsBuilder builder = new OperationSpecificationsBuilder();\n\t\tSpecification spec_general = DatatableUtils.buildFiltres(colonnesFiltrageActive, postBody, builder, null);\n\t\tif (spec_general == null) {\n\t\t\tspec_general = Specification.where(DatatableUtils.buildFiltres(colonnesFiltrageActive, postBody, builder, null));\n\t\t}\n\n\t\t// filtrage par date de création\n\t\tspec_general = DatatableUtils.fitrageDate(spec_general, postBody, \"createdOn\", \"createdOn\");\n\t\tspec_general = DatatableUtils.fitrageDate(spec_general, postBody, \"dateFacture\", \"dateFacture\");\n\t\tspec_general = DatatableUtils.fitrageEntier(spec_general, postBody, \"montantHT\", \"montantHT\");\n\t\tspec_general = DatatableUtils.fitrageEntier(spec_general, postBody, \"montantTTC\", \"montantTTC\");\n\n\t\t// filtre par expéditeur dans datatable (si admin ou opérateur)\n\t\tMap<Integer, String> indexColumn_nomColonne = DatatableUtils.getMapPositionNomColonnes(postBody);\n\t\tInteger position_colonne = DatatableUtils.getKeyByValue(indexColumn_nomColonne, \"client\");\n\t\tif (position_colonne != null) {\n\t\t\tString filtre_par_expediteur = postBody.getFirst(\"columns[\" + position_colonne + \"][search][value]\").toString();\n\t\t\tif (filtre_par_expediteur != null && !\"\".equals(filtre_par_expediteur.trim())) {\n\t\t\t\tSpecification spec2 = new Specification<Operation>() {\n\t\t\t\t\tpublic Predicate toPredicate(Root<Operation> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\t\t\tClient expediteur = clientService.getByUUID(filtre_par_expediteur, jwtProvider.getCodePays(token));\n\t\t\t\t\t\tif (expediteur != null) {\n\t\t\t\t\t\t\tpredicates.add(builder.equal(root.get(\"client\"), expediteur));\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tspec_general = spec_general.and(spec2);\n\t\t\t}\n\t\t}\n\n\t\t// surcharge du tri\n\t\tif (postBody.containsKey(\"sorting\") && \"desc\".equals(postBody.getFirst(\"sorting\").toString())) {\n\t\t\tsort_bdd = \"desc\";\n\t\t} else if (postBody.containsKey(\"sorting\") && \"asc\".equals(postBody.getFirst(\"sorting\").toString())) {\n\t\t\tsort_bdd = \"asc\";\n\t\t}\n\n\n\t\t// filtrage par es factures si c'ets un client\n\t\tif (SecurityUtils.client(jwtProvider, token)) {\n\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\tSpecification spec2 = new Specification<Operation>() {\n\t\t\t\tpublic Predicate toPredicate(Root<Operation> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\t\tClient client = clientService.getByUUID(jwtProvider.getClaimsValue(\"uuid_client\", token), jwtProvider.getCodePays(token));\n\t\t\t\t\tpredicates.add(builder.equal(root.get(\"client\"), client));\n\t\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t\t}\n\t\t\t};\n\t\t\tspec_general = spec_general.and(spec2);\n\t\t}\n\n\t\t// filtrage par pays kamtar\n\t\tSpecification spec_pays = new Specification<ActionAudit>() {\n\t\t\tpublic Predicate toPredicate(Root<ActionAudit> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\tpredicates.add(builder.equal(root.get(\"codePays\"), jwtProvider.getCodePays(token)));\n\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t}\n\t\t};\n\t\tspec_general = spec_general.and(spec_pays);\n\n\n\t\t// préparation les deux requêtes (résultat et comptage)\n\t\tPage<FactureClient> leads = factureClientService.getAllPagined(order_column_bdd, sort_bdd, numero_page, length, spec_general);\n\t\tLong total = factureClientService.countAll(spec_general);\n\n\t\tactionAuditService.getFacturesClient(token);\n\n\t\t// prépare les résultast\n\t\tJSONArray jsonArrayOffres = new JSONArray();\n\t\tif (leads != null) {\n\t\t\tjsonArrayOffres.addAll(leads.getContent());\n\t\t}\n\t\tMap<String, Object> jsonDataResults = new LinkedHashMap<String, Object>();\n\t\tjsonDataResults.put(\"draw\", draw);\t\n\t\tjsonDataResults.put(\"recordsTotal\", total);\t\t\n\t\tjsonDataResults.put(\"recordsFiltered\", total);\t\n\t\tjsonDataResults.put(\"data\", jsonArrayOffres);\t\t\n\n\t\treturn new ResponseEntity<Object>(mapperJSONService.get(token).writeValueAsString(jsonDataResults), HttpStatus.OK);\n\t}",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(URI uri);",
"public int getClients()\r\n\t{\r\n\t\treturn numberOfClients;\r\n\t}",
"@Override\n public Class<? extends Feature> getFeatureClass() {\n\treturn VersionFeatures.class;\n }",
"ArrayList<Feature> getFeatures(String userid, String project)throws Exception;",
"public String LIST(){\n String nameList = \"\";\n Enumeration keys = this.clientData.keys();\n while(keys.hasMoreElements()){\n nameList += keys.nextElement() + \" \";\n }\n return \"OK \" + nameList;\n }",
"public List<Clients> getallClients();",
"public abstract List<QualifiedName> getAffectedFeatureTypes();",
"List<FeatureController<MODEL>> getFeatureControllers() {\n return featureItems.getFeatureControllers();\n }",
"public List<UserModel> getListOfClient() {\n\t\treturn userDao.getListOfClients();\n\t}",
"public static void clientListUpdater() {\r\n\t\tclientList.clear();\r\n\t\tclientList.addAll(serverConnector.getAllClients());\r\n\t}",
"private static List<Feature> getFeatures(List<String> row) {\n\t\tString sex = row.get(0);\n\t\tdouble length = Double.parseDouble(row.get(1));\n double diameter = Double.parseDouble(row.get(2));\n double height = Double.parseDouble(row.get(3));\n// double whole_height = Double.parseDouble(row.get(4));\n// double shucked_height = Double.parseDouble(row.get(5));\n double viscera_weight = Double.parseDouble(row.get(6));\n double shell_weight = Double.parseDouble(row.get(7));\n\t\tList<Feature> features = new ArrayList<Feature>();\n\t\tfeatures.add(new NominalFeature(sex));\n\t\tfeatures.add(new ContinuousFeature(length));\n\t\tfeatures.add(new ContinuousFeature(diameter));\n\t\tfeatures.add(new ContinuousFeature(height));\n//\t\tfeatures.add(new ContinuousFeature(whole_height));\n//\t\tfeatures.add(new ContinuousFeature(shucked_height));\n\t\tfeatures.add(new ContinuousFeature(viscera_weight));\n\t\tfeatures.add(new ContinuousFeature(shell_weight));\n\t\treturn features;\n\t}",
"public FeatureSet getFeatures() {\n\treturn features;\n }",
"private static Map<String, FeatureType> buildAvailableFeatureMap(List<FeatureType> features){\r\n\t\tMap<String, FeatureType> featureMap = new HashMap<String, FeatureType>();\r\n\t\tfor(FeatureType feature : features){\r\n\t\t\tfeatureMap.put(feature.getExternalId(), feature);\r\n\t\t}\r\n\t\treturn featureMap;\r\n\t}",
"public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge> getEdgeList() {\n return edge_;\n }",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(URI uri);",
"public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return SurfaceImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { SurfaceImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return SurfaceImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }",
"public String getFeature() {\r\n return feature;\r\n }",
"public void setSPARQL11Features(java.util.List<sparqles.avro.analytics.EPViewInteroperabilityData> value) {\n this.SPARQL11Features = value;\n }",
"@Retryable(\n\t\t\tmaxAttempts = Application.retry_max_attempt,\n\t\t\tbackoff = @Backoff(delay = 5000))\n\t@ApiOperation(value = \"Liste des factures clients\")\n\t@ApiResponses(value = {\n\t\t\t@ApiResponse(code = 401, message = \"Vous devez être identifié pour effectuer cette opération\"),\n\t\t\t@ApiResponse(code = 403, message = \"Vous n'êtes pas autorisé à effectuer cette action (uniquement les admin ou opérateurs ayant droits)\"),\n\t\t\t@ApiResponse(code = 200, message = \"Liste des actions retournées (au format datatable - contenu dans data, nombre total dans recordsTotal)\", response = MapDatatable.class)\n\t})\n\t@ResponseBody\n\t@RequestMapping(\n\t\t\tproduces = \"application/json\",\n\t\t\tvalue = \"/factures/client/liste\",\n\t\t\tmethod = RequestMethod.POST)\n\t@CrossOrigin\n\tpublic ResponseEntity<Object> get_liste_facures(\n\t\t\t@ApiParam(value = \"Est ce qu'il faut charger les operations ?\", required = false) @RequestParam(value = \"operations\", required=false) String load_operations,\n\t\t\t@ApiParam(value = \"Jeton JWT pour autentification\", required = true) @RequestHeader(\"Token\") String token) throws JsonProcessingException {\n\n\t\t// vérifie que le jeton est valide et que les droits lui permettent de consulter les admin katmars\n\t\tif (!jwtProvider.isValidJWT(token)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.UNAUTHORIZED, \"Jeton invalide, veuillez vous reconnecter.\");\n\t\t}\n\n\t\tif (!SecurityUtils.adminOrOperateurWithDroit(jwtProvider, token, OperateurListeDeDroits.CONSULTER_FACTURES_CLIENT) && !SecurityUtils.client(jwtProvider, token) && !SecurityUtils.client_personnelWithDroit(jwtProvider, token, ClientPersonnelListeDeDroits.VOIR_FACTURES)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.FORBIDDEN, \"Vous n'avez pas le droit d'effectuer cette opération.\");\n\t\t}\n\n\t\tString code_pays = jwtProvider.getCodePays(token);\n\n\t\t// tri, sens et numéro de page\n\t\tString order_column_bdd = \"numeroFacture\";\n\t\tString sort_bdd = \"asc\";\n\n\t\t// filtrage\n\t\tParentSpecificationsBuilder builder = new OperationSpecificationsBuilder();\n\t\tSpecification spec_general = DatatableUtils.buildFiltres(null, null, builder, null);\n\t\tif (spec_general == null) {\n\t\t\tspec_general = Specification.where(DatatableUtils.buildFiltres(null, null, builder, null));\n\t\t}\n\n\t\t// filtrage par pays kamtar\n\t\tSpecification spec_pays = new Specification<ActionAudit>() {\n\t\t\tpublic Predicate toPredicate(Root<ActionAudit> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\tpredicates.add(builder.equal(root.get(\"codePays\"), code_pays));\n\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t}\n\t\t};\n\t\tspec_general = spec_general.and(spec_pays);\n\n\n\t\t// préparation les deux requêtes (résultat et comptage)\n\t\tList<FactureClient> leads = factureClientService.getAllPagined(order_column_bdd, sort_bdd, 0, 999999, spec_general).getContent();\n\n\t\tif (load_operations != null && \"1\".equals(load_operations)) {\n\t\t\t// chargement des opérations\n\t\t\tList<FactureClient> leads_operations = new ArrayList<FactureClient>();\n\t\t\tfor (FactureClient facture : leads) {\n\t\t\t\tString[] code_operations = facture.getListeOperations().split(\"@\");\n\t\t\t\tLong[] code_long_operations = new Long[code_operations.length];\n\t\t\t\tint i = 0;\n\t\t\t\tfor (String code_operation: code_operations) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tcode_long_operations[i] = Long.valueOf(code_operation);\n\t\t\t\t\t\ti++;\n\t\t\t\t\t} catch (NumberFormatException e ) {\n\t\t\t\t\t\t// erreur silencieuse\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tList<Operation> operations = operationService.getByCodes(code_long_operations, code_pays);\n\t\t\t\tfacture.setOperations(operations);\n\t\t\t\tleads_operations.add(facture);\n\t\t\t}\n\t\t\tleads = leads_operations;\n\n\t\t}\n\n\t\tactionAuditService.getFacturesClient(token);\n\n\t\treturn new ResponseEntity<Object>(mapperJSONService.get(token).writeValueAsString(leads), HttpStatus.OK);\n\n\t}",
"public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return IntersectionImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { IntersectionImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }",
"protected void addFeaturesPropertyDescriptor(Object object) {\n itemPropertyDescriptors.add\n (createItemPropertyDescriptor\n (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n getResourceLocator(),\n getString(\"_UI_Reference_features_feature\"),\n getString(\"_UI_PropertyDescriptor_description\", \"_UI_Reference_features_feature\", \"_UI_Reference_type\"),\n NoSQLSchemaPackage.Literals.REFERENCE__FEATURES,\n true,\n false,\n true,\n null,\n null,\n null));\n }",
"public static ArrayList<Client> getClients() {\n return clients;\n }",
"@ApiModelProperty(value = \"The features of the OS that the artifact applys to\")\n public List<String> getOsFeatures() {\n return osFeatures;\n }",
"public int clientsCount(){\n return clientsList.size();\n }",
"private List<WebServiceFeature> getFeatures(AssertionSet alternative) {\n return Collections.emptyList();\n }",
"java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge> \n getEdgeList();",
"public Map<String, Cliente> getClientes() {\n\t\treturn clientes;\n\t}",
"public final native GEFeatureContainer getFeatures() /*-{\r\n\t\treturn this.getFeatures();\r\n\t}-*/;",
"iet.distributed.telemetry.FeatureOrBuilder getFeatureOrBuilder(\n int index);",
"public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge.Builder> \n getEdgeBuilderList() {\n return getEdgeFieldBuilder().getBuilderList();\n }",
"public List<FeatureDataBean> convertFeatureDataBeanToFeatureModel(List<UMFeature> uMFeature) {\n List<FeatureDataBean> result = new ArrayList<>();\n\n for (UMFeature uMFeature1 : uMFeature) {\n FeatureDataBean featureDataBean1 = new FeatureDataBean();\n\n featureDataBean1.setId(uMFeature1.getId());\n featureDataBean1.setName(uMFeature1.getName());\n featureDataBean1.setDescription(uMFeature1.getDescription());\n featureDataBean1.setFeatureURL(uMFeature1.getFeatureUrl());\n featureDataBean1.setWebserviceURL(uMFeature1.getWebserviceUrl());\n featureDataBean1.setActive(uMFeature1.getIsActive());\n featureDataBean1.setCrud(uMFeature1.getIsCrud());\n featureDataBean1.setMenuLable(uMFeature1.getMenuLabel());\n featureDataBean1.setMenuType(uMFeature1.getMenuType());\n\n result.add(featureDataBean1);\n }\n return result;\n }",
"public List<String> allCoreFeatures(Map<String,String> stats) throws OperationNotSupportedException, FMReasoningException {\n\t\tthrow new OperationNotSupportedException(\"Reasoning Operation Not Supported\");\n\t}",
"public int getFeaturesCount();",
"@RequestLine(\"GET /v1/courses/{courseId}/features/enabled\")\n @Headers({\n \"Accept: */*\",\n })\n void listEnabledFeaturesCourses(@Param(\"courseId\") String courseId);",
"@Override\n public Map<String, Integer> getFeatures(List<String> objects) {\n\n HashMap<String, Integer> features = new HashMap<>();\n\n for (String cCategory : objects) {\n //Create feature name by add \n //language + the prefix boolean + the feature name to Lower Case + true/false\n String[] tmpSplit = cCategory.toLowerCase().split(\":\");\n String featureName = tmpSplit[0].trim();\n\n String featureTrue\n = language\n + \".boolean.\"\n + featureName\n + \".true\";\n\n String featureFalse\n = language\n + \".boolean.\"\n + featureName\n + \".false\";\n\n if (Boolean.parseBoolean(tmpSplit[1])) {\n //Add featureTrue ton Map with value 1\n features.put(featureTrue, 1);\n //Add featureFalse ton Map with value 1\n features.put(featureFalse, 0);\n } else {\n //Add featureTrue ton Map with value 1\n features.put(featureTrue, 0);\n //Add featureFalse ton Map with value 1\n features.put(featureFalse, 1);\n }\n }\n\n return features;\n }",
"org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);",
"org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesCourses(URI uri);"
] |
[
"0.7481413",
"0.73077476",
"0.7232576",
"0.70243657",
"0.69971675",
"0.6896651",
"0.6792523",
"0.6569749",
"0.6379921",
"0.6206767",
"0.6140706",
"0.6092626",
"0.60399514",
"0.603407",
"0.59872514",
"0.5944946",
"0.590462",
"0.5804063",
"0.57907516",
"0.57708347",
"0.5719567",
"0.5719567",
"0.57195115",
"0.5676645",
"0.56658053",
"0.5642271",
"0.56364167",
"0.5624761",
"0.5566836",
"0.55632734",
"0.5542524",
"0.54659677",
"0.5455292",
"0.54274476",
"0.5375436",
"0.5372356",
"0.5371448",
"0.53172076",
"0.53042793",
"0.52965957",
"0.5284185",
"0.5184537",
"0.5169479",
"0.5160306",
"0.51561666",
"0.5144678",
"0.51442885",
"0.511647",
"0.5092515",
"0.5091218",
"0.5079844",
"0.506717",
"0.5065552",
"0.5062253",
"0.5061341",
"0.5047965",
"0.5018586",
"0.50037616",
"0.500369",
"0.5003552",
"0.49997124",
"0.4990022",
"0.4983666",
"0.49806732",
"0.49794522",
"0.4973426",
"0.49645293",
"0.4963755",
"0.49533114",
"0.49501467",
"0.49393243",
"0.49334547",
"0.4928928",
"0.49259695",
"0.4917931",
"0.48918122",
"0.48869023",
"0.48718217",
"0.4868492",
"0.48646423",
"0.4860489",
"0.48584273",
"0.48545426",
"0.48491466",
"0.48432964",
"0.48385927",
"0.48303977",
"0.48139167",
"0.4811431",
"0.48103893",
"0.4808645",
"0.48048764",
"0.4786259",
"0.47768652",
"0.47727",
"0.4770935",
"0.4767081",
"0.47658476",
"0.47658476",
"0.47643504"
] |
0.77140456
|
0
|
Client feature support list. These are well known features described in the Envoy API repository for a given major version of an API. Client features use reverse DNS naming scheme, for example `com.acme.feature`. See :ref:`the list of features <client_features>` that xDS client may support. repeated string client_features = 10;
|
public int getClientFeaturesCount() {
return clientFeatures_.size();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public com.google.protobuf.ProtocolStringList\n getClientFeaturesList() {\n return clientFeatures_;\n }",
"public com.google.protobuf.ProtocolStringList\n getClientFeaturesList() {\n return clientFeatures_.getUnmodifiableView();\n }",
"public java.lang.String getClientFeatures(int index) {\n return clientFeatures_.get(index);\n }",
"public java.lang.String getClientFeatures(int index) {\n return clientFeatures_.get(index);\n }",
"public int getClientFeaturesCount() {\n return clientFeatures_.size();\n }",
"public com.google.protobuf.ByteString\n getClientFeaturesBytes(int index) {\n return clientFeatures_.getByteString(index);\n }",
"public com.google.protobuf.ByteString\n getClientFeaturesBytes(int index) {\n return clientFeatures_.getByteString(index);\n }",
"public Builder addClientFeatures(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClientFeaturesIsMutable();\n clientFeatures_.add(value);\n onChanged();\n return this;\n }",
"public Builder setClientFeatures(\n int index, java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClientFeaturesIsMutable();\n clientFeatures_.set(index, value);\n onChanged();\n return this;\n }",
"public void setFeatures(List<String> features) {\n this.features = features;\n }",
"public Builder addAllClientFeatures(\n java.lang.Iterable<java.lang.String> values) {\n ensureClientFeaturesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, clientFeatures_);\n onChanged();\n return this;\n }",
"java.util.List<java.lang.String> getFeaturesList();",
"List<String> getFeatures();",
"public Builder clearClientFeatures() {\n clientFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY;\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n return this;\n }",
"public List<String> getFeatures() {\n return features;\n }",
"@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/featuregates\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesListCall<FeatureGateList, FeatureGate> listFeatureGate();",
"java.util.List<iet.distributed.telemetry.Feature> \n getFeatureList();",
"public Builder addClientFeaturesBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n ensureClientFeaturesIsMutable();\n clientFeatures_.add(value);\n onChanged();\n return this;\n }",
"@Override\r\n\tpublic String[] getClientNames() {\r\n\t\treturn initData.clientNames;\r\n\t}",
"List<Feature> getFeatures();",
"java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();",
"java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();",
"public String[] getClientNames() {\n return clientNames;\n }",
"java.util.List<? extends iet.distributed.telemetry.FeatureOrBuilder> \n getFeatureOrBuilderList();",
"public List BestClient();",
"List<PolicyEngineFeatureApi> getFeatureProviders();",
"@RequestLine(\"GET /v1/users/{userId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(@Param(\"userId\") String userId);",
"public Set<String> getGameListClients() {\n return this.gameListClients;\n }",
"@Override\n public KimbleClient[] clientStartInfo() {\n return clients;\n }",
"@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/featuregates\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesListCall<FeatureGateList, FeatureGate> listFeatureGate(\n @QueryMap ListFeatureGate queryParameters);",
"public Collection<String> getProvideFeature();",
"public Collection<String> getRequireFeature();",
"@RequestLine(\"GET /v1/courses/{courseId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesCourses(@Param(\"courseId\") String courseId);",
"public Set<String> getFeatures();",
"public ClientList getClients() {\r\n return this.clients;\r\n }",
"public List<HotspotClient> getHotspotClientsList() {\n List<HotspotClient> clients = new ArrayList<HotspotClient>();\n synchronized (mHotspotClients) {\n for (HotspotClient client : mHotspotClients.values()) {\n clients.add(new HotspotClient(client));\n }\n }\n return clients;\n }",
"public void printClientList(){\n for(String client : clientList){\n System.out.println(client);\n }\n System.out.println();\n }",
"public static void initializeClientList() {\r\n\t\tClient newClient1 = new Client(1, \"Bob Jones\", \"Brokerage\");\r\n\t\tclientList.add(newClient1);\r\n\t\t\r\n\t\tClient newClient2 = new Client(2, \"Sarah Davis\", \"Retirement\");\r\n\t\tclientList.add(newClient2);\r\n\t\t\r\n\t\tClient newClient3 = new Client(3, \"Amy Friendly\", \"Brokerage\");\r\n\t\tclientList.add(newClient3);\r\n\t\t\r\n\t\tClient newClient4 = new Client(4, \"Johnny Smith\", \"Brokerage\");\r\n\t\tclientList.add(newClient4);\r\n\t\t\r\n\t\tClient newClient5 = new Client(5, \"Carol Spears\", \"Retirement\");\r\n\t\tclientList.add(newClient5);\r\n\t}",
"@Nonnull\r\n public Set<Feature> getFeatures() {\r\n return features;\r\n }",
"public ArrayList<Client> getClientList() {\n return this.clientList;\n }",
"List<IFeature> getFeatureList();",
"public ArrayList<ClientHandler> getClientList()\n {\n return clientList;\n }",
"Set<String> listCapabilities();",
"com.google.protobuf.ByteString getFeaturesBytes(int index);",
"public List<Client> getAllClient();",
"public Feature[] getFeatures() throws JsonMappingException, IOException {\n \tfinal String uri = \"http://localhost:12300/featureflags\";\n RestTemplate restTemplate = new RestTemplate();\n HttpHeaders headers = new HttpHeaders();\n headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON));\n HttpEntity<String> entity = new HttpEntity<String>(\"parameters\", headers);\n ResponseEntity<String> result = restTemplate.exchange(uri, HttpMethod.GET, entity, String.class);\n String body = result.getBody();\n ObjectMapper mapper = new ObjectMapper();\n Feature[] features = mapper.readValue(body, Feature[].class);\n return features;\n }",
"@Override\n\t\tpublic List<Client> listeClient() {\n\t\t\treturn null;\n\t\t}",
"java.util.List<org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature> getPlanFeatureList();",
"private LinkedList<String> getActivatedFeatureArgs(\r\n\t\t\tList<String> myActivatedFeatures) {\r\n\t\tLinkedList<String> args = new LinkedList<String>();\r\n\t\tfor (String feature : myActivatedFeatures) {\r\n\t\t\targs.add(\"-D\" + feature);\r\n\t\t}\r\n\t\treturn args;\r\n\r\n\t}",
"@RequestLine(\"GET /v1/users/{userId}/features/flags/{feature}\")\n @Headers({\n \"Accept: application/json\",\n })\n FeatureFlag getFeatureFlagUsers(@Param(\"userId\") String userId, @Param(\"feature\") String feature);",
"public static String supportedFeatures() {\n\t\tStringBuilder buf = new StringBuilder(\"Filesystem features: \");\n\n\t\tClass<Feature> c = Feature.class;\n\t\tfor (Method m : c.getDeclaredMethods()) {\n\t\t\tint mod = m.getModifiers();\n\t\t\tString name = m.getName();\n\n\t\t\tif (!name.equals(\"supportedFeatures\") && Modifier.isStatic(mod) && Modifier.isPublic(mod)) {\n\t\t\t\ttry {\n\t\t\t\t\tboolean ret = (Boolean)m.invoke(null);\n\t\t\t\t\tif (ret) {\n\t\t\t\t\t\tbuf.append(m.getName());\n\t\t\t\t\t\tbuf.append(\" \");\n\t\t\t\t\t}\n\t\t\t\t} catch (IllegalArgumentException ignored) {\n\t\t\t\t} catch (IllegalAccessException ignored) {\n\t\t\t\t} catch (InvocationTargetException ignored) {\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\t\tbuf.append(\"\\n\");\n\t\treturn buf.toString();\n\t}",
"public WebServiceFeature[] getFeatures() {\n\t\treturn null;\n\t}",
"@RequestLine(\"GET /v1/users/{userId}/features/enabled\")\n @Headers({\n \"Accept: */*\",\n })\n void listEnabledFeaturesUsers(@Param(\"userId\") String userId);",
"public void printClientList() {\n uiService.underDevelopment();\n }",
"public ArrayList<Client> clientList() {\n\t\tint counter = 1; // 일딴 보류\n\t\tConnection conn = null;\n\t\tPreparedStatement pstmt = null;\n\t\tResultSet rs = null;\n\t\tString query = \"select * from client\";\n\t\tArrayList<Client> client = new ArrayList<Client>();\n\t\tClient object = null;\n\t\ttry {\n\t\t\tconn = getConnection();\n\t\t\tpstmt = conn.prepareStatement(query);\n\t\t\trs = pstmt.executeQuery();\n\t\t\twhile (rs.next()) {\n\t\t\t\tobject = new Client();\n\t\t\t\tString cId = rs.getString(\"cId\");\n\t\t\t\tString cPhone = rs.getString(\"cPhone\");\n\t\t\t\tString cName = rs.getString(\"cName\");\n\t\t\t\tint point = rs.getInt(\"cPoint\");\n\t\t\t\tint totalPoint = rs.getInt(\"totalPoint\");\n\n\t\t\t\tobject.setcId(cId);\n\t\t\t\tobject.setcPhone(cPhone);\n\t\t\t\tobject.setcName(cName);\n\t\t\t\tobject.setcPoint(point);\n\t\t\t\tobject.setTotalPoint(totalPoint);\n\n\t\t\t\tclient.add(object);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tfinally {\n\t\t\ttry {\n\t\t\t\tif (conn != null) {\n\t\t\t\t\tconn.close();\n\t\t\t\t}\n\t\t\t\tif (pstmt != null) {\n\t\t\t\t\tpstmt.close();\n\t\t\t\t}\n\t\t\t\tif (rs != null) {\n\t\t\t\t\trs.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn client;\n\t}",
"@RequestLine(\"GET /v1/courses/{courseId}/features/flags/{feature}\")\n @Headers({\n \"Accept: application/json\",\n })\n FeatureFlag getFeatureFlagCourses(@Param(\"courseId\") String courseId, @Param(\"feature\") String feature);",
"public int getNumberOfFeatures() {\n\t\treturn numberOfFeatures;\n\t}",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n @NoCache\n public List<ClientRepresentation> getClients(@QueryParam(\"clientId\") String clientId,\n @QueryParam(\"viewableOnly\") @DefaultValue(\"false\") boolean viewableOnly,\n @QueryParam(\"search\") @DefaultValue(\"false\") boolean search,\n @QueryParam(\"first\") Integer firstResult,\n @QueryParam(\"max\") Integer maxResults) {\n List<ClientRepresentation> rep = new ArrayList<>();\n\n if (clientId == null || clientId.trim().equals(\"\")) {\n List<ClientModel> clientModels = realm.getClients(firstResult, maxResults);\n for (ClientModel clientModel : clientModels) {\n ClientRepresentation representation = modelToRepresentation.toRepresentation(clientModel);\n rep.add(representation);\n// representation.setAccess(auth.clients().getAccess(clientModel));\n }\n } else {\n List<ClientModel> clientModels = Collections.emptyList();\n if (search) {\n clientModels = realm.searchClientByClientId(clientId, firstResult, maxResults);\n } else {\n ClientModel client = realm.getClientByClientId(clientId);\n if (client != null) {\n clientModels = Collections.singletonList(client);\n }\n }\n if (clientModels != null) {\n for (ClientModel clientModel : clientModels) {\n ClientRepresentation representation = modelToRepresentation.toRepresentation(clientModel);\n// representation.setAccess(auth.clients().getAccess(clientModel));\n rep.add(representation);\n }\n }\n }\n return rep;\n }",
"public ListOfOnixElement<ResourceFileFeatureDescription, String> resourceFileFeatureDescriptions() {\n _initialize();\n return resourceFileFeatureDescriptions;\n }",
"@RequestLine(\"GET /v1/accounts/{accountId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(@Param(\"accountId\") String accountId);",
"java.lang.String getFeatures(int index);",
"@Retryable(\n\t\t\tmaxAttempts = Application.retry_max_attempt,\n\t\t\tbackoff = @Backoff(delay = 5000))\n\t@ApiOperation(value = \"Liste des factures clients\")\n\t@ApiResponses(value = {\n\t\t @ApiResponse(code = 401, message = \"Vous devez être identifié pour effectuer cette opération\"),\n\t\t @ApiResponse(code = 403, message = \"Vous n'êtes pas autorisé à effectuer cette action (uniquement les admin ou opérateurs ayant droits)\"),\n\t\t @ApiResponse(code = 200, message = \"Liste des actions retournées (au format datatable - contenu dans data, nombre total dans recordsTotal)\", response = MapDatatable.class)\n\t\t})\n\t@ResponseBody\n\t@RequestMapping(\n\t\t\tproduces = \"application/json\", \n\t\t\tvalue = \"/factures/client\",\n\t\t\tmethod = RequestMethod.POST)\n\t@CrossOrigin\n\tpublic ResponseEntity<Object> get_factures_clients(\n\t\t\t@ApiParam(value = \"Critères de recherche (tri, filtre, etc) au format Datatable\", required = true) @RequestBody MultiValueMap postBody,\n\t\t\t@ApiParam(value = \"Jeton JWT pour autentification\", required = true) @RequestHeader(\"Token\") String token) throws JsonProcessingException {\n\n\t\t// vérifie que le jeton est valide et que les droits lui permettent de consulter les admin katmars\n\t\tif (!jwtProvider.isValidJWT(token)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.UNAUTHORIZED, \"Jeton invalide, veuillez vous reconnecter.\");\n\t\t}\n\n\t\tif (!SecurityUtils.adminOrOperateurWithDroit(jwtProvider, token, OperateurListeDeDroits.CONSULTER_FACTURES_CLIENT) && !SecurityUtils.client(jwtProvider, token) && !SecurityUtils.client_personnelWithDroit(jwtProvider, token, ClientPersonnelListeDeDroits.VOIR_FACTURES)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.FORBIDDEN, \"Vous n'avez pas le droit d'effectuer cette opération.\");\t\t\n\t\t}\n\n\t\t// paramètres du datatable\n\t\tString draw \t\t= postBody.getFirst(\"draw\").toString();\n\t\tInteger length \t\t= Integer.valueOf(postBody.getFirst(\"length\").toString());\n\n\t\t// tri, sens et numéro de page\n\t\tString colonneTriDefaut = \"numeroFacture\";\n\t\tList<String> colonnesTriAutorise = Arrays.asList(\"createdOn\", \"montantHT\", \"numeroFacture\", \"montantTTC\", \"dateFacture\");\n\n\t\tString order_column_bdd = DatatableUtils.getOrderColonne(colonneTriDefaut, colonnesTriAutorise, postBody);\n\t\tString sort_bdd = DatatableUtils.getSort(postBody);\n\t\tInteger numero_page = DatatableUtils.getNumeroPage(postBody, length);\n\n\t\t// filtrage\n\t\tList<String> colonnesFiltrageActive = Arrays.asList(\"listeOperations\", \"createdOn\", \"numeroFacture\");\n\t\tParentSpecificationsBuilder builder = new OperationSpecificationsBuilder();\n\t\tSpecification spec_general = DatatableUtils.buildFiltres(colonnesFiltrageActive, postBody, builder, null);\n\t\tif (spec_general == null) {\n\t\t\tspec_general = Specification.where(DatatableUtils.buildFiltres(colonnesFiltrageActive, postBody, builder, null));\n\t\t}\n\n\t\t// filtrage par date de création\n\t\tspec_general = DatatableUtils.fitrageDate(spec_general, postBody, \"createdOn\", \"createdOn\");\n\t\tspec_general = DatatableUtils.fitrageDate(spec_general, postBody, \"dateFacture\", \"dateFacture\");\n\t\tspec_general = DatatableUtils.fitrageEntier(spec_general, postBody, \"montantHT\", \"montantHT\");\n\t\tspec_general = DatatableUtils.fitrageEntier(spec_general, postBody, \"montantTTC\", \"montantTTC\");\n\n\t\t// filtre par expéditeur dans datatable (si admin ou opérateur)\n\t\tMap<Integer, String> indexColumn_nomColonne = DatatableUtils.getMapPositionNomColonnes(postBody);\n\t\tInteger position_colonne = DatatableUtils.getKeyByValue(indexColumn_nomColonne, \"client\");\n\t\tif (position_colonne != null) {\n\t\t\tString filtre_par_expediteur = postBody.getFirst(\"columns[\" + position_colonne + \"][search][value]\").toString();\n\t\t\tif (filtre_par_expediteur != null && !\"\".equals(filtre_par_expediteur.trim())) {\n\t\t\t\tSpecification spec2 = new Specification<Operation>() {\n\t\t\t\t\tpublic Predicate toPredicate(Root<Operation> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\t\t\tClient expediteur = clientService.getByUUID(filtre_par_expediteur, jwtProvider.getCodePays(token));\n\t\t\t\t\t\tif (expediteur != null) {\n\t\t\t\t\t\t\tpredicates.add(builder.equal(root.get(\"client\"), expediteur));\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tspec_general = spec_general.and(spec2);\n\t\t\t}\n\t\t}\n\n\t\t// surcharge du tri\n\t\tif (postBody.containsKey(\"sorting\") && \"desc\".equals(postBody.getFirst(\"sorting\").toString())) {\n\t\t\tsort_bdd = \"desc\";\n\t\t} else if (postBody.containsKey(\"sorting\") && \"asc\".equals(postBody.getFirst(\"sorting\").toString())) {\n\t\t\tsort_bdd = \"asc\";\n\t\t}\n\n\n\t\t// filtrage par es factures si c'ets un client\n\t\tif (SecurityUtils.client(jwtProvider, token)) {\n\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\tSpecification spec2 = new Specification<Operation>() {\n\t\t\t\tpublic Predicate toPredicate(Root<Operation> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\t\tClient client = clientService.getByUUID(jwtProvider.getClaimsValue(\"uuid_client\", token), jwtProvider.getCodePays(token));\n\t\t\t\t\tpredicates.add(builder.equal(root.get(\"client\"), client));\n\t\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t\t}\n\t\t\t};\n\t\t\tspec_general = spec_general.and(spec2);\n\t\t}\n\n\t\t// filtrage par pays kamtar\n\t\tSpecification spec_pays = new Specification<ActionAudit>() {\n\t\t\tpublic Predicate toPredicate(Root<ActionAudit> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\tpredicates.add(builder.equal(root.get(\"codePays\"), jwtProvider.getCodePays(token)));\n\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t}\n\t\t};\n\t\tspec_general = spec_general.and(spec_pays);\n\n\n\t\t// préparation les deux requêtes (résultat et comptage)\n\t\tPage<FactureClient> leads = factureClientService.getAllPagined(order_column_bdd, sort_bdd, numero_page, length, spec_general);\n\t\tLong total = factureClientService.countAll(spec_general);\n\n\t\tactionAuditService.getFacturesClient(token);\n\n\t\t// prépare les résultast\n\t\tJSONArray jsonArrayOffres = new JSONArray();\n\t\tif (leads != null) {\n\t\t\tjsonArrayOffres.addAll(leads.getContent());\n\t\t}\n\t\tMap<String, Object> jsonDataResults = new LinkedHashMap<String, Object>();\n\t\tjsonDataResults.put(\"draw\", draw);\t\n\t\tjsonDataResults.put(\"recordsTotal\", total);\t\t\n\t\tjsonDataResults.put(\"recordsFiltered\", total);\t\n\t\tjsonDataResults.put(\"data\", jsonArrayOffres);\t\t\n\n\t\treturn new ResponseEntity<Object>(mapperJSONService.get(token).writeValueAsString(jsonDataResults), HttpStatus.OK);\n\t}",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(URI uri);",
"public int getClients()\r\n\t{\r\n\t\treturn numberOfClients;\r\n\t}",
"@Override\n public Class<? extends Feature> getFeatureClass() {\n\treturn VersionFeatures.class;\n }",
"ArrayList<Feature> getFeatures(String userid, String project)throws Exception;",
"public String LIST(){\n String nameList = \"\";\n Enumeration keys = this.clientData.keys();\n while(keys.hasMoreElements()){\n nameList += keys.nextElement() + \" \";\n }\n return \"OK \" + nameList;\n }",
"public List<Clients> getallClients();",
"public abstract List<QualifiedName> getAffectedFeatureTypes();",
"List<FeatureController<MODEL>> getFeatureControllers() {\n return featureItems.getFeatureControllers();\n }",
"public List<UserModel> getListOfClient() {\n\t\treturn userDao.getListOfClients();\n\t}",
"public static void clientListUpdater() {\r\n\t\tclientList.clear();\r\n\t\tclientList.addAll(serverConnector.getAllClients());\r\n\t}",
"private static List<Feature> getFeatures(List<String> row) {\n\t\tString sex = row.get(0);\n\t\tdouble length = Double.parseDouble(row.get(1));\n double diameter = Double.parseDouble(row.get(2));\n double height = Double.parseDouble(row.get(3));\n// double whole_height = Double.parseDouble(row.get(4));\n// double shucked_height = Double.parseDouble(row.get(5));\n double viscera_weight = Double.parseDouble(row.get(6));\n double shell_weight = Double.parseDouble(row.get(7));\n\t\tList<Feature> features = new ArrayList<Feature>();\n\t\tfeatures.add(new NominalFeature(sex));\n\t\tfeatures.add(new ContinuousFeature(length));\n\t\tfeatures.add(new ContinuousFeature(diameter));\n\t\tfeatures.add(new ContinuousFeature(height));\n//\t\tfeatures.add(new ContinuousFeature(whole_height));\n//\t\tfeatures.add(new ContinuousFeature(shucked_height));\n\t\tfeatures.add(new ContinuousFeature(viscera_weight));\n\t\tfeatures.add(new ContinuousFeature(shell_weight));\n\t\treturn features;\n\t}",
"public FeatureSet getFeatures() {\n\treturn features;\n }",
"private static Map<String, FeatureType> buildAvailableFeatureMap(List<FeatureType> features){\r\n\t\tMap<String, FeatureType> featureMap = new HashMap<String, FeatureType>();\r\n\t\tfor(FeatureType feature : features){\r\n\t\t\tfeatureMap.put(feature.getExternalId(), feature);\r\n\t\t}\r\n\t\treturn featureMap;\r\n\t}",
"public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge> getEdgeList() {\n return edge_;\n }",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(URI uri);",
"public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return SurfaceImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { SurfaceImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return SurfaceImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }",
"public String getFeature() {\r\n return feature;\r\n }",
"public void setSPARQL11Features(java.util.List<sparqles.avro.analytics.EPViewInteroperabilityData> value) {\n this.SPARQL11Features = value;\n }",
"@Retryable(\n\t\t\tmaxAttempts = Application.retry_max_attempt,\n\t\t\tbackoff = @Backoff(delay = 5000))\n\t@ApiOperation(value = \"Liste des factures clients\")\n\t@ApiResponses(value = {\n\t\t\t@ApiResponse(code = 401, message = \"Vous devez être identifié pour effectuer cette opération\"),\n\t\t\t@ApiResponse(code = 403, message = \"Vous n'êtes pas autorisé à effectuer cette action (uniquement les admin ou opérateurs ayant droits)\"),\n\t\t\t@ApiResponse(code = 200, message = \"Liste des actions retournées (au format datatable - contenu dans data, nombre total dans recordsTotal)\", response = MapDatatable.class)\n\t})\n\t@ResponseBody\n\t@RequestMapping(\n\t\t\tproduces = \"application/json\",\n\t\t\tvalue = \"/factures/client/liste\",\n\t\t\tmethod = RequestMethod.POST)\n\t@CrossOrigin\n\tpublic ResponseEntity<Object> get_liste_facures(\n\t\t\t@ApiParam(value = \"Est ce qu'il faut charger les operations ?\", required = false) @RequestParam(value = \"operations\", required=false) String load_operations,\n\t\t\t@ApiParam(value = \"Jeton JWT pour autentification\", required = true) @RequestHeader(\"Token\") String token) throws JsonProcessingException {\n\n\t\t// vérifie que le jeton est valide et que les droits lui permettent de consulter les admin katmars\n\t\tif (!jwtProvider.isValidJWT(token)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.UNAUTHORIZED, \"Jeton invalide, veuillez vous reconnecter.\");\n\t\t}\n\n\t\tif (!SecurityUtils.adminOrOperateurWithDroit(jwtProvider, token, OperateurListeDeDroits.CONSULTER_FACTURES_CLIENT) && !SecurityUtils.client(jwtProvider, token) && !SecurityUtils.client_personnelWithDroit(jwtProvider, token, ClientPersonnelListeDeDroits.VOIR_FACTURES)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.FORBIDDEN, \"Vous n'avez pas le droit d'effectuer cette opération.\");\n\t\t}\n\n\t\tString code_pays = jwtProvider.getCodePays(token);\n\n\t\t// tri, sens et numéro de page\n\t\tString order_column_bdd = \"numeroFacture\";\n\t\tString sort_bdd = \"asc\";\n\n\t\t// filtrage\n\t\tParentSpecificationsBuilder builder = new OperationSpecificationsBuilder();\n\t\tSpecification spec_general = DatatableUtils.buildFiltres(null, null, builder, null);\n\t\tif (spec_general == null) {\n\t\t\tspec_general = Specification.where(DatatableUtils.buildFiltres(null, null, builder, null));\n\t\t}\n\n\t\t// filtrage par pays kamtar\n\t\tSpecification spec_pays = new Specification<ActionAudit>() {\n\t\t\tpublic Predicate toPredicate(Root<ActionAudit> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\tpredicates.add(builder.equal(root.get(\"codePays\"), code_pays));\n\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t}\n\t\t};\n\t\tspec_general = spec_general.and(spec_pays);\n\n\n\t\t// préparation les deux requêtes (résultat et comptage)\n\t\tList<FactureClient> leads = factureClientService.getAllPagined(order_column_bdd, sort_bdd, 0, 999999, spec_general).getContent();\n\n\t\tif (load_operations != null && \"1\".equals(load_operations)) {\n\t\t\t// chargement des opérations\n\t\t\tList<FactureClient> leads_operations = new ArrayList<FactureClient>();\n\t\t\tfor (FactureClient facture : leads) {\n\t\t\t\tString[] code_operations = facture.getListeOperations().split(\"@\");\n\t\t\t\tLong[] code_long_operations = new Long[code_operations.length];\n\t\t\t\tint i = 0;\n\t\t\t\tfor (String code_operation: code_operations) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tcode_long_operations[i] = Long.valueOf(code_operation);\n\t\t\t\t\t\ti++;\n\t\t\t\t\t} catch (NumberFormatException e ) {\n\t\t\t\t\t\t// erreur silencieuse\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tList<Operation> operations = operationService.getByCodes(code_long_operations, code_pays);\n\t\t\t\tfacture.setOperations(operations);\n\t\t\t\tleads_operations.add(facture);\n\t\t\t}\n\t\t\tleads = leads_operations;\n\n\t\t}\n\n\t\tactionAuditService.getFacturesClient(token);\n\n\t\treturn new ResponseEntity<Object>(mapperJSONService.get(token).writeValueAsString(leads), HttpStatus.OK);\n\n\t}",
"public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return IntersectionImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { IntersectionImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }",
"protected void addFeaturesPropertyDescriptor(Object object) {\n itemPropertyDescriptors.add\n (createItemPropertyDescriptor\n (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n getResourceLocator(),\n getString(\"_UI_Reference_features_feature\"),\n getString(\"_UI_PropertyDescriptor_description\", \"_UI_Reference_features_feature\", \"_UI_Reference_type\"),\n NoSQLSchemaPackage.Literals.REFERENCE__FEATURES,\n true,\n false,\n true,\n null,\n null,\n null));\n }",
"public static ArrayList<Client> getClients() {\n return clients;\n }",
"@ApiModelProperty(value = \"The features of the OS that the artifact applys to\")\n public List<String> getOsFeatures() {\n return osFeatures;\n }",
"public int clientsCount(){\n return clientsList.size();\n }",
"private List<WebServiceFeature> getFeatures(AssertionSet alternative) {\n return Collections.emptyList();\n }",
"java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge> \n getEdgeList();",
"public Map<String, Cliente> getClientes() {\n\t\treturn clientes;\n\t}",
"public final native GEFeatureContainer getFeatures() /*-{\r\n\t\treturn this.getFeatures();\r\n\t}-*/;",
"iet.distributed.telemetry.FeatureOrBuilder getFeatureOrBuilder(\n int index);",
"public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge.Builder> \n getEdgeBuilderList() {\n return getEdgeFieldBuilder().getBuilderList();\n }",
"public List<FeatureDataBean> convertFeatureDataBeanToFeatureModel(List<UMFeature> uMFeature) {\n List<FeatureDataBean> result = new ArrayList<>();\n\n for (UMFeature uMFeature1 : uMFeature) {\n FeatureDataBean featureDataBean1 = new FeatureDataBean();\n\n featureDataBean1.setId(uMFeature1.getId());\n featureDataBean1.setName(uMFeature1.getName());\n featureDataBean1.setDescription(uMFeature1.getDescription());\n featureDataBean1.setFeatureURL(uMFeature1.getFeatureUrl());\n featureDataBean1.setWebserviceURL(uMFeature1.getWebserviceUrl());\n featureDataBean1.setActive(uMFeature1.getIsActive());\n featureDataBean1.setCrud(uMFeature1.getIsCrud());\n featureDataBean1.setMenuLable(uMFeature1.getMenuLabel());\n featureDataBean1.setMenuType(uMFeature1.getMenuType());\n\n result.add(featureDataBean1);\n }\n return result;\n }",
"public List<String> allCoreFeatures(Map<String,String> stats) throws OperationNotSupportedException, FMReasoningException {\n\t\tthrow new OperationNotSupportedException(\"Reasoning Operation Not Supported\");\n\t}",
"public int getFeaturesCount();",
"@RequestLine(\"GET /v1/courses/{courseId}/features/enabled\")\n @Headers({\n \"Accept: */*\",\n })\n void listEnabledFeaturesCourses(@Param(\"courseId\") String courseId);",
"@Override\n public Map<String, Integer> getFeatures(List<String> objects) {\n\n HashMap<String, Integer> features = new HashMap<>();\n\n for (String cCategory : objects) {\n //Create feature name by add \n //language + the prefix boolean + the feature name to Lower Case + true/false\n String[] tmpSplit = cCategory.toLowerCase().split(\":\");\n String featureName = tmpSplit[0].trim();\n\n String featureTrue\n = language\n + \".boolean.\"\n + featureName\n + \".true\";\n\n String featureFalse\n = language\n + \".boolean.\"\n + featureName\n + \".false\";\n\n if (Boolean.parseBoolean(tmpSplit[1])) {\n //Add featureTrue ton Map with value 1\n features.put(featureTrue, 1);\n //Add featureFalse ton Map with value 1\n features.put(featureFalse, 0);\n } else {\n //Add featureTrue ton Map with value 1\n features.put(featureTrue, 0);\n //Add featureFalse ton Map with value 1\n features.put(featureFalse, 1);\n }\n }\n\n return features;\n }",
"org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);",
"org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);",
"public List<ClientThread> getClients(){\n return clients;\n }"
] |
[
"0.77144974",
"0.7481826",
"0.73083687",
"0.723322",
"0.6999075",
"0.68973166",
"0.679316",
"0.6569425",
"0.63798517",
"0.62063193",
"0.61402583",
"0.60924006",
"0.6039977",
"0.6033993",
"0.59874815",
"0.5945865",
"0.59052396",
"0.58038205",
"0.57907265",
"0.57714295",
"0.57200974",
"0.57200974",
"0.57197523",
"0.56771815",
"0.5666034",
"0.56426275",
"0.56362313",
"0.56248814",
"0.55680054",
"0.55640036",
"0.5542482",
"0.5466374",
"0.545544",
"0.5427369",
"0.5376088",
"0.5372642",
"0.53719294",
"0.53171426",
"0.53049326",
"0.5296918",
"0.52844185",
"0.5185143",
"0.51699",
"0.51610416",
"0.5156734",
"0.5145546",
"0.514431",
"0.5116173",
"0.5092719",
"0.5091064",
"0.5080377",
"0.5068124",
"0.50652957",
"0.5062011",
"0.50616705",
"0.50481814",
"0.5020151",
"0.50049",
"0.5004103",
"0.5003688",
"0.4999944",
"0.49907556",
"0.49839973",
"0.49828282",
"0.4979948",
"0.49732918",
"0.4964779",
"0.49645144",
"0.49531573",
"0.49511585",
"0.49396062",
"0.49330318",
"0.49281985",
"0.49267304",
"0.4917618",
"0.48920715",
"0.4886921",
"0.48726106",
"0.48680747",
"0.48645422",
"0.48609748",
"0.4859354",
"0.48544654",
"0.48502615",
"0.48437437",
"0.48402148",
"0.48304865",
"0.4814496",
"0.4812358",
"0.48120612",
"0.48091236",
"0.4805607",
"0.4785191",
"0.4777831",
"0.4774454",
"0.47710046",
"0.4767064",
"0.47667718",
"0.47667718",
"0.47651404"
] |
0.70262724
|
4
|
Client feature support list. These are well known features described in the Envoy API repository for a given major version of an API. Client features use reverse DNS naming scheme, for example `com.acme.feature`. See :ref:`the list of features <client_features>` that xDS client may support. repeated string client_features = 10;
|
public java.lang.String getClientFeatures(int index) {
return clientFeatures_.get(index);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public com.google.protobuf.ProtocolStringList\n getClientFeaturesList() {\n return clientFeatures_;\n }",
"public com.google.protobuf.ProtocolStringList\n getClientFeaturesList() {\n return clientFeatures_.getUnmodifiableView();\n }",
"public java.lang.String getClientFeatures(int index) {\n return clientFeatures_.get(index);\n }",
"public int getClientFeaturesCount() {\n return clientFeatures_.size();\n }",
"public int getClientFeaturesCount() {\n return clientFeatures_.size();\n }",
"public com.google.protobuf.ByteString\n getClientFeaturesBytes(int index) {\n return clientFeatures_.getByteString(index);\n }",
"public com.google.protobuf.ByteString\n getClientFeaturesBytes(int index) {\n return clientFeatures_.getByteString(index);\n }",
"public Builder addClientFeatures(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClientFeaturesIsMutable();\n clientFeatures_.add(value);\n onChanged();\n return this;\n }",
"public Builder setClientFeatures(\n int index, java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClientFeaturesIsMutable();\n clientFeatures_.set(index, value);\n onChanged();\n return this;\n }",
"public void setFeatures(List<String> features) {\n this.features = features;\n }",
"public Builder addAllClientFeatures(\n java.lang.Iterable<java.lang.String> values) {\n ensureClientFeaturesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, clientFeatures_);\n onChanged();\n return this;\n }",
"java.util.List<java.lang.String> getFeaturesList();",
"List<String> getFeatures();",
"public Builder clearClientFeatures() {\n clientFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY;\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n return this;\n }",
"public List<String> getFeatures() {\n return features;\n }",
"@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/featuregates\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesListCall<FeatureGateList, FeatureGate> listFeatureGate();",
"java.util.List<iet.distributed.telemetry.Feature> \n getFeatureList();",
"public Builder addClientFeaturesBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n ensureClientFeaturesIsMutable();\n clientFeatures_.add(value);\n onChanged();\n return this;\n }",
"@Override\r\n\tpublic String[] getClientNames() {\r\n\t\treturn initData.clientNames;\r\n\t}",
"List<Feature> getFeatures();",
"java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();",
"java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();",
"public String[] getClientNames() {\n return clientNames;\n }",
"java.util.List<? extends iet.distributed.telemetry.FeatureOrBuilder> \n getFeatureOrBuilderList();",
"public List BestClient();",
"List<PolicyEngineFeatureApi> getFeatureProviders();",
"@RequestLine(\"GET /v1/users/{userId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(@Param(\"userId\") String userId);",
"public Set<String> getGameListClients() {\n return this.gameListClients;\n }",
"@Override\n public KimbleClient[] clientStartInfo() {\n return clients;\n }",
"@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/featuregates\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesListCall<FeatureGateList, FeatureGate> listFeatureGate(\n @QueryMap ListFeatureGate queryParameters);",
"public Collection<String> getProvideFeature();",
"public Collection<String> getRequireFeature();",
"@RequestLine(\"GET /v1/courses/{courseId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesCourses(@Param(\"courseId\") String courseId);",
"public Set<String> getFeatures();",
"public ClientList getClients() {\r\n return this.clients;\r\n }",
"public void printClientList(){\n for(String client : clientList){\n System.out.println(client);\n }\n System.out.println();\n }",
"public List<HotspotClient> getHotspotClientsList() {\n List<HotspotClient> clients = new ArrayList<HotspotClient>();\n synchronized (mHotspotClients) {\n for (HotspotClient client : mHotspotClients.values()) {\n clients.add(new HotspotClient(client));\n }\n }\n return clients;\n }",
"public static void initializeClientList() {\r\n\t\tClient newClient1 = new Client(1, \"Bob Jones\", \"Brokerage\");\r\n\t\tclientList.add(newClient1);\r\n\t\t\r\n\t\tClient newClient2 = new Client(2, \"Sarah Davis\", \"Retirement\");\r\n\t\tclientList.add(newClient2);\r\n\t\t\r\n\t\tClient newClient3 = new Client(3, \"Amy Friendly\", \"Brokerage\");\r\n\t\tclientList.add(newClient3);\r\n\t\t\r\n\t\tClient newClient4 = new Client(4, \"Johnny Smith\", \"Brokerage\");\r\n\t\tclientList.add(newClient4);\r\n\t\t\r\n\t\tClient newClient5 = new Client(5, \"Carol Spears\", \"Retirement\");\r\n\t\tclientList.add(newClient5);\r\n\t}",
"@Nonnull\r\n public Set<Feature> getFeatures() {\r\n return features;\r\n }",
"public ArrayList<Client> getClientList() {\n return this.clientList;\n }",
"List<IFeature> getFeatureList();",
"public ArrayList<ClientHandler> getClientList()\n {\n return clientList;\n }",
"Set<String> listCapabilities();",
"com.google.protobuf.ByteString getFeaturesBytes(int index);",
"public List<Client> getAllClient();",
"public Feature[] getFeatures() throws JsonMappingException, IOException {\n \tfinal String uri = \"http://localhost:12300/featureflags\";\n RestTemplate restTemplate = new RestTemplate();\n HttpHeaders headers = new HttpHeaders();\n headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON));\n HttpEntity<String> entity = new HttpEntity<String>(\"parameters\", headers);\n ResponseEntity<String> result = restTemplate.exchange(uri, HttpMethod.GET, entity, String.class);\n String body = result.getBody();\n ObjectMapper mapper = new ObjectMapper();\n Feature[] features = mapper.readValue(body, Feature[].class);\n return features;\n }",
"@Override\n\t\tpublic List<Client> listeClient() {\n\t\t\treturn null;\n\t\t}",
"java.util.List<org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature> getPlanFeatureList();",
"private LinkedList<String> getActivatedFeatureArgs(\r\n\t\t\tList<String> myActivatedFeatures) {\r\n\t\tLinkedList<String> args = new LinkedList<String>();\r\n\t\tfor (String feature : myActivatedFeatures) {\r\n\t\t\targs.add(\"-D\" + feature);\r\n\t\t}\r\n\t\treturn args;\r\n\r\n\t}",
"@RequestLine(\"GET /v1/users/{userId}/features/flags/{feature}\")\n @Headers({\n \"Accept: application/json\",\n })\n FeatureFlag getFeatureFlagUsers(@Param(\"userId\") String userId, @Param(\"feature\") String feature);",
"public static String supportedFeatures() {\n\t\tStringBuilder buf = new StringBuilder(\"Filesystem features: \");\n\n\t\tClass<Feature> c = Feature.class;\n\t\tfor (Method m : c.getDeclaredMethods()) {\n\t\t\tint mod = m.getModifiers();\n\t\t\tString name = m.getName();\n\n\t\t\tif (!name.equals(\"supportedFeatures\") && Modifier.isStatic(mod) && Modifier.isPublic(mod)) {\n\t\t\t\ttry {\n\t\t\t\t\tboolean ret = (Boolean)m.invoke(null);\n\t\t\t\t\tif (ret) {\n\t\t\t\t\t\tbuf.append(m.getName());\n\t\t\t\t\t\tbuf.append(\" \");\n\t\t\t\t\t}\n\t\t\t\t} catch (IllegalArgumentException ignored) {\n\t\t\t\t} catch (IllegalAccessException ignored) {\n\t\t\t\t} catch (InvocationTargetException ignored) {\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\t\tbuf.append(\"\\n\");\n\t\treturn buf.toString();\n\t}",
"public WebServiceFeature[] getFeatures() {\n\t\treturn null;\n\t}",
"@RequestLine(\"GET /v1/users/{userId}/features/enabled\")\n @Headers({\n \"Accept: */*\",\n })\n void listEnabledFeaturesUsers(@Param(\"userId\") String userId);",
"public void printClientList() {\n uiService.underDevelopment();\n }",
"public ArrayList<Client> clientList() {\n\t\tint counter = 1; // 일딴 보류\n\t\tConnection conn = null;\n\t\tPreparedStatement pstmt = null;\n\t\tResultSet rs = null;\n\t\tString query = \"select * from client\";\n\t\tArrayList<Client> client = new ArrayList<Client>();\n\t\tClient object = null;\n\t\ttry {\n\t\t\tconn = getConnection();\n\t\t\tpstmt = conn.prepareStatement(query);\n\t\t\trs = pstmt.executeQuery();\n\t\t\twhile (rs.next()) {\n\t\t\t\tobject = new Client();\n\t\t\t\tString cId = rs.getString(\"cId\");\n\t\t\t\tString cPhone = rs.getString(\"cPhone\");\n\t\t\t\tString cName = rs.getString(\"cName\");\n\t\t\t\tint point = rs.getInt(\"cPoint\");\n\t\t\t\tint totalPoint = rs.getInt(\"totalPoint\");\n\n\t\t\t\tobject.setcId(cId);\n\t\t\t\tobject.setcPhone(cPhone);\n\t\t\t\tobject.setcName(cName);\n\t\t\t\tobject.setcPoint(point);\n\t\t\t\tobject.setTotalPoint(totalPoint);\n\n\t\t\t\tclient.add(object);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tfinally {\n\t\t\ttry {\n\t\t\t\tif (conn != null) {\n\t\t\t\t\tconn.close();\n\t\t\t\t}\n\t\t\t\tif (pstmt != null) {\n\t\t\t\t\tpstmt.close();\n\t\t\t\t}\n\t\t\t\tif (rs != null) {\n\t\t\t\t\trs.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn client;\n\t}",
"@RequestLine(\"GET /v1/courses/{courseId}/features/flags/{feature}\")\n @Headers({\n \"Accept: application/json\",\n })\n FeatureFlag getFeatureFlagCourses(@Param(\"courseId\") String courseId, @Param(\"feature\") String feature);",
"public int getNumberOfFeatures() {\n\t\treturn numberOfFeatures;\n\t}",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n @NoCache\n public List<ClientRepresentation> getClients(@QueryParam(\"clientId\") String clientId,\n @QueryParam(\"viewableOnly\") @DefaultValue(\"false\") boolean viewableOnly,\n @QueryParam(\"search\") @DefaultValue(\"false\") boolean search,\n @QueryParam(\"first\") Integer firstResult,\n @QueryParam(\"max\") Integer maxResults) {\n List<ClientRepresentation> rep = new ArrayList<>();\n\n if (clientId == null || clientId.trim().equals(\"\")) {\n List<ClientModel> clientModels = realm.getClients(firstResult, maxResults);\n for (ClientModel clientModel : clientModels) {\n ClientRepresentation representation = modelToRepresentation.toRepresentation(clientModel);\n rep.add(representation);\n// representation.setAccess(auth.clients().getAccess(clientModel));\n }\n } else {\n List<ClientModel> clientModels = Collections.emptyList();\n if (search) {\n clientModels = realm.searchClientByClientId(clientId, firstResult, maxResults);\n } else {\n ClientModel client = realm.getClientByClientId(clientId);\n if (client != null) {\n clientModels = Collections.singletonList(client);\n }\n }\n if (clientModels != null) {\n for (ClientModel clientModel : clientModels) {\n ClientRepresentation representation = modelToRepresentation.toRepresentation(clientModel);\n// representation.setAccess(auth.clients().getAccess(clientModel));\n rep.add(representation);\n }\n }\n }\n return rep;\n }",
"public ListOfOnixElement<ResourceFileFeatureDescription, String> resourceFileFeatureDescriptions() {\n _initialize();\n return resourceFileFeatureDescriptions;\n }",
"@RequestLine(\"GET /v1/accounts/{accountId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(@Param(\"accountId\") String accountId);",
"java.lang.String getFeatures(int index);",
"@Retryable(\n\t\t\tmaxAttempts = Application.retry_max_attempt,\n\t\t\tbackoff = @Backoff(delay = 5000))\n\t@ApiOperation(value = \"Liste des factures clients\")\n\t@ApiResponses(value = {\n\t\t @ApiResponse(code = 401, message = \"Vous devez être identifié pour effectuer cette opération\"),\n\t\t @ApiResponse(code = 403, message = \"Vous n'êtes pas autorisé à effectuer cette action (uniquement les admin ou opérateurs ayant droits)\"),\n\t\t @ApiResponse(code = 200, message = \"Liste des actions retournées (au format datatable - contenu dans data, nombre total dans recordsTotal)\", response = MapDatatable.class)\n\t\t})\n\t@ResponseBody\n\t@RequestMapping(\n\t\t\tproduces = \"application/json\", \n\t\t\tvalue = \"/factures/client\",\n\t\t\tmethod = RequestMethod.POST)\n\t@CrossOrigin\n\tpublic ResponseEntity<Object> get_factures_clients(\n\t\t\t@ApiParam(value = \"Critères de recherche (tri, filtre, etc) au format Datatable\", required = true) @RequestBody MultiValueMap postBody,\n\t\t\t@ApiParam(value = \"Jeton JWT pour autentification\", required = true) @RequestHeader(\"Token\") String token) throws JsonProcessingException {\n\n\t\t// vérifie que le jeton est valide et que les droits lui permettent de consulter les admin katmars\n\t\tif (!jwtProvider.isValidJWT(token)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.UNAUTHORIZED, \"Jeton invalide, veuillez vous reconnecter.\");\n\t\t}\n\n\t\tif (!SecurityUtils.adminOrOperateurWithDroit(jwtProvider, token, OperateurListeDeDroits.CONSULTER_FACTURES_CLIENT) && !SecurityUtils.client(jwtProvider, token) && !SecurityUtils.client_personnelWithDroit(jwtProvider, token, ClientPersonnelListeDeDroits.VOIR_FACTURES)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.FORBIDDEN, \"Vous n'avez pas le droit d'effectuer cette opération.\");\t\t\n\t\t}\n\n\t\t// paramètres du datatable\n\t\tString draw \t\t= postBody.getFirst(\"draw\").toString();\n\t\tInteger length \t\t= Integer.valueOf(postBody.getFirst(\"length\").toString());\n\n\t\t// tri, sens et numéro de page\n\t\tString colonneTriDefaut = \"numeroFacture\";\n\t\tList<String> colonnesTriAutorise = Arrays.asList(\"createdOn\", \"montantHT\", \"numeroFacture\", \"montantTTC\", \"dateFacture\");\n\n\t\tString order_column_bdd = DatatableUtils.getOrderColonne(colonneTriDefaut, colonnesTriAutorise, postBody);\n\t\tString sort_bdd = DatatableUtils.getSort(postBody);\n\t\tInteger numero_page = DatatableUtils.getNumeroPage(postBody, length);\n\n\t\t// filtrage\n\t\tList<String> colonnesFiltrageActive = Arrays.asList(\"listeOperations\", \"createdOn\", \"numeroFacture\");\n\t\tParentSpecificationsBuilder builder = new OperationSpecificationsBuilder();\n\t\tSpecification spec_general = DatatableUtils.buildFiltres(colonnesFiltrageActive, postBody, builder, null);\n\t\tif (spec_general == null) {\n\t\t\tspec_general = Specification.where(DatatableUtils.buildFiltres(colonnesFiltrageActive, postBody, builder, null));\n\t\t}\n\n\t\t// filtrage par date de création\n\t\tspec_general = DatatableUtils.fitrageDate(spec_general, postBody, \"createdOn\", \"createdOn\");\n\t\tspec_general = DatatableUtils.fitrageDate(spec_general, postBody, \"dateFacture\", \"dateFacture\");\n\t\tspec_general = DatatableUtils.fitrageEntier(spec_general, postBody, \"montantHT\", \"montantHT\");\n\t\tspec_general = DatatableUtils.fitrageEntier(spec_general, postBody, \"montantTTC\", \"montantTTC\");\n\n\t\t// filtre par expéditeur dans datatable (si admin ou opérateur)\n\t\tMap<Integer, String> indexColumn_nomColonne = DatatableUtils.getMapPositionNomColonnes(postBody);\n\t\tInteger position_colonne = DatatableUtils.getKeyByValue(indexColumn_nomColonne, \"client\");\n\t\tif (position_colonne != null) {\n\t\t\tString filtre_par_expediteur = postBody.getFirst(\"columns[\" + position_colonne + \"][search][value]\").toString();\n\t\t\tif (filtre_par_expediteur != null && !\"\".equals(filtre_par_expediteur.trim())) {\n\t\t\t\tSpecification spec2 = new Specification<Operation>() {\n\t\t\t\t\tpublic Predicate toPredicate(Root<Operation> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\t\t\tClient expediteur = clientService.getByUUID(filtre_par_expediteur, jwtProvider.getCodePays(token));\n\t\t\t\t\t\tif (expediteur != null) {\n\t\t\t\t\t\t\tpredicates.add(builder.equal(root.get(\"client\"), expediteur));\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tspec_general = spec_general.and(spec2);\n\t\t\t}\n\t\t}\n\n\t\t// surcharge du tri\n\t\tif (postBody.containsKey(\"sorting\") && \"desc\".equals(postBody.getFirst(\"sorting\").toString())) {\n\t\t\tsort_bdd = \"desc\";\n\t\t} else if (postBody.containsKey(\"sorting\") && \"asc\".equals(postBody.getFirst(\"sorting\").toString())) {\n\t\t\tsort_bdd = \"asc\";\n\t\t}\n\n\n\t\t// filtrage par es factures si c'ets un client\n\t\tif (SecurityUtils.client(jwtProvider, token)) {\n\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\tSpecification spec2 = new Specification<Operation>() {\n\t\t\t\tpublic Predicate toPredicate(Root<Operation> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\t\tClient client = clientService.getByUUID(jwtProvider.getClaimsValue(\"uuid_client\", token), jwtProvider.getCodePays(token));\n\t\t\t\t\tpredicates.add(builder.equal(root.get(\"client\"), client));\n\t\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t\t}\n\t\t\t};\n\t\t\tspec_general = spec_general.and(spec2);\n\t\t}\n\n\t\t// filtrage par pays kamtar\n\t\tSpecification spec_pays = new Specification<ActionAudit>() {\n\t\t\tpublic Predicate toPredicate(Root<ActionAudit> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\tpredicates.add(builder.equal(root.get(\"codePays\"), jwtProvider.getCodePays(token)));\n\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t}\n\t\t};\n\t\tspec_general = spec_general.and(spec_pays);\n\n\n\t\t// préparation les deux requêtes (résultat et comptage)\n\t\tPage<FactureClient> leads = factureClientService.getAllPagined(order_column_bdd, sort_bdd, numero_page, length, spec_general);\n\t\tLong total = factureClientService.countAll(spec_general);\n\n\t\tactionAuditService.getFacturesClient(token);\n\n\t\t// prépare les résultast\n\t\tJSONArray jsonArrayOffres = new JSONArray();\n\t\tif (leads != null) {\n\t\t\tjsonArrayOffres.addAll(leads.getContent());\n\t\t}\n\t\tMap<String, Object> jsonDataResults = new LinkedHashMap<String, Object>();\n\t\tjsonDataResults.put(\"draw\", draw);\t\n\t\tjsonDataResults.put(\"recordsTotal\", total);\t\t\n\t\tjsonDataResults.put(\"recordsFiltered\", total);\t\n\t\tjsonDataResults.put(\"data\", jsonArrayOffres);\t\t\n\n\t\treturn new ResponseEntity<Object>(mapperJSONService.get(token).writeValueAsString(jsonDataResults), HttpStatus.OK);\n\t}",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(URI uri);",
"public int getClients()\r\n\t{\r\n\t\treturn numberOfClients;\r\n\t}",
"@Override\n public Class<? extends Feature> getFeatureClass() {\n\treturn VersionFeatures.class;\n }",
"ArrayList<Feature> getFeatures(String userid, String project)throws Exception;",
"public String LIST(){\n String nameList = \"\";\n Enumeration keys = this.clientData.keys();\n while(keys.hasMoreElements()){\n nameList += keys.nextElement() + \" \";\n }\n return \"OK \" + nameList;\n }",
"public List<Clients> getallClients();",
"public abstract List<QualifiedName> getAffectedFeatureTypes();",
"List<FeatureController<MODEL>> getFeatureControllers() {\n return featureItems.getFeatureControllers();\n }",
"public List<UserModel> getListOfClient() {\n\t\treturn userDao.getListOfClients();\n\t}",
"public static void clientListUpdater() {\r\n\t\tclientList.clear();\r\n\t\tclientList.addAll(serverConnector.getAllClients());\r\n\t}",
"private static List<Feature> getFeatures(List<String> row) {\n\t\tString sex = row.get(0);\n\t\tdouble length = Double.parseDouble(row.get(1));\n double diameter = Double.parseDouble(row.get(2));\n double height = Double.parseDouble(row.get(3));\n// double whole_height = Double.parseDouble(row.get(4));\n// double shucked_height = Double.parseDouble(row.get(5));\n double viscera_weight = Double.parseDouble(row.get(6));\n double shell_weight = Double.parseDouble(row.get(7));\n\t\tList<Feature> features = new ArrayList<Feature>();\n\t\tfeatures.add(new NominalFeature(sex));\n\t\tfeatures.add(new ContinuousFeature(length));\n\t\tfeatures.add(new ContinuousFeature(diameter));\n\t\tfeatures.add(new ContinuousFeature(height));\n//\t\tfeatures.add(new ContinuousFeature(whole_height));\n//\t\tfeatures.add(new ContinuousFeature(shucked_height));\n\t\tfeatures.add(new ContinuousFeature(viscera_weight));\n\t\tfeatures.add(new ContinuousFeature(shell_weight));\n\t\treturn features;\n\t}",
"public FeatureSet getFeatures() {\n\treturn features;\n }",
"private static Map<String, FeatureType> buildAvailableFeatureMap(List<FeatureType> features){\r\n\t\tMap<String, FeatureType> featureMap = new HashMap<String, FeatureType>();\r\n\t\tfor(FeatureType feature : features){\r\n\t\t\tfeatureMap.put(feature.getExternalId(), feature);\r\n\t\t}\r\n\t\treturn featureMap;\r\n\t}",
"public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge> getEdgeList() {\n return edge_;\n }",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(URI uri);",
"public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return SurfaceImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { SurfaceImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return SurfaceImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }",
"public String getFeature() {\r\n return feature;\r\n }",
"public void setSPARQL11Features(java.util.List<sparqles.avro.analytics.EPViewInteroperabilityData> value) {\n this.SPARQL11Features = value;\n }",
"@Retryable(\n\t\t\tmaxAttempts = Application.retry_max_attempt,\n\t\t\tbackoff = @Backoff(delay = 5000))\n\t@ApiOperation(value = \"Liste des factures clients\")\n\t@ApiResponses(value = {\n\t\t\t@ApiResponse(code = 401, message = \"Vous devez être identifié pour effectuer cette opération\"),\n\t\t\t@ApiResponse(code = 403, message = \"Vous n'êtes pas autorisé à effectuer cette action (uniquement les admin ou opérateurs ayant droits)\"),\n\t\t\t@ApiResponse(code = 200, message = \"Liste des actions retournées (au format datatable - contenu dans data, nombre total dans recordsTotal)\", response = MapDatatable.class)\n\t})\n\t@ResponseBody\n\t@RequestMapping(\n\t\t\tproduces = \"application/json\",\n\t\t\tvalue = \"/factures/client/liste\",\n\t\t\tmethod = RequestMethod.POST)\n\t@CrossOrigin\n\tpublic ResponseEntity<Object> get_liste_facures(\n\t\t\t@ApiParam(value = \"Est ce qu'il faut charger les operations ?\", required = false) @RequestParam(value = \"operations\", required=false) String load_operations,\n\t\t\t@ApiParam(value = \"Jeton JWT pour autentification\", required = true) @RequestHeader(\"Token\") String token) throws JsonProcessingException {\n\n\t\t// vérifie que le jeton est valide et que les droits lui permettent de consulter les admin katmars\n\t\tif (!jwtProvider.isValidJWT(token)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.UNAUTHORIZED, \"Jeton invalide, veuillez vous reconnecter.\");\n\t\t}\n\n\t\tif (!SecurityUtils.adminOrOperateurWithDroit(jwtProvider, token, OperateurListeDeDroits.CONSULTER_FACTURES_CLIENT) && !SecurityUtils.client(jwtProvider, token) && !SecurityUtils.client_personnelWithDroit(jwtProvider, token, ClientPersonnelListeDeDroits.VOIR_FACTURES)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.FORBIDDEN, \"Vous n'avez pas le droit d'effectuer cette opération.\");\n\t\t}\n\n\t\tString code_pays = jwtProvider.getCodePays(token);\n\n\t\t// tri, sens et numéro de page\n\t\tString order_column_bdd = \"numeroFacture\";\n\t\tString sort_bdd = \"asc\";\n\n\t\t// filtrage\n\t\tParentSpecificationsBuilder builder = new OperationSpecificationsBuilder();\n\t\tSpecification spec_general = DatatableUtils.buildFiltres(null, null, builder, null);\n\t\tif (spec_general == null) {\n\t\t\tspec_general = Specification.where(DatatableUtils.buildFiltres(null, null, builder, null));\n\t\t}\n\n\t\t// filtrage par pays kamtar\n\t\tSpecification spec_pays = new Specification<ActionAudit>() {\n\t\t\tpublic Predicate toPredicate(Root<ActionAudit> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\tpredicates.add(builder.equal(root.get(\"codePays\"), code_pays));\n\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t}\n\t\t};\n\t\tspec_general = spec_general.and(spec_pays);\n\n\n\t\t// préparation les deux requêtes (résultat et comptage)\n\t\tList<FactureClient> leads = factureClientService.getAllPagined(order_column_bdd, sort_bdd, 0, 999999, spec_general).getContent();\n\n\t\tif (load_operations != null && \"1\".equals(load_operations)) {\n\t\t\t// chargement des opérations\n\t\t\tList<FactureClient> leads_operations = new ArrayList<FactureClient>();\n\t\t\tfor (FactureClient facture : leads) {\n\t\t\t\tString[] code_operations = facture.getListeOperations().split(\"@\");\n\t\t\t\tLong[] code_long_operations = new Long[code_operations.length];\n\t\t\t\tint i = 0;\n\t\t\t\tfor (String code_operation: code_operations) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tcode_long_operations[i] = Long.valueOf(code_operation);\n\t\t\t\t\t\ti++;\n\t\t\t\t\t} catch (NumberFormatException e ) {\n\t\t\t\t\t\t// erreur silencieuse\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tList<Operation> operations = operationService.getByCodes(code_long_operations, code_pays);\n\t\t\t\tfacture.setOperations(operations);\n\t\t\t\tleads_operations.add(facture);\n\t\t\t}\n\t\t\tleads = leads_operations;\n\n\t\t}\n\n\t\tactionAuditService.getFacturesClient(token);\n\n\t\treturn new ResponseEntity<Object>(mapperJSONService.get(token).writeValueAsString(leads), HttpStatus.OK);\n\n\t}",
"public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return IntersectionImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { IntersectionImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }",
"protected void addFeaturesPropertyDescriptor(Object object) {\n itemPropertyDescriptors.add\n (createItemPropertyDescriptor\n (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n getResourceLocator(),\n getString(\"_UI_Reference_features_feature\"),\n getString(\"_UI_PropertyDescriptor_description\", \"_UI_Reference_features_feature\", \"_UI_Reference_type\"),\n NoSQLSchemaPackage.Literals.REFERENCE__FEATURES,\n true,\n false,\n true,\n null,\n null,\n null));\n }",
"public static ArrayList<Client> getClients() {\n return clients;\n }",
"@ApiModelProperty(value = \"The features of the OS that the artifact applys to\")\n public List<String> getOsFeatures() {\n return osFeatures;\n }",
"public int clientsCount(){\n return clientsList.size();\n }",
"private List<WebServiceFeature> getFeatures(AssertionSet alternative) {\n return Collections.emptyList();\n }",
"java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge> \n getEdgeList();",
"public Map<String, Cliente> getClientes() {\n\t\treturn clientes;\n\t}",
"public final native GEFeatureContainer getFeatures() /*-{\r\n\t\treturn this.getFeatures();\r\n\t}-*/;",
"iet.distributed.telemetry.FeatureOrBuilder getFeatureOrBuilder(\n int index);",
"public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge.Builder> \n getEdgeBuilderList() {\n return getEdgeFieldBuilder().getBuilderList();\n }",
"public List<FeatureDataBean> convertFeatureDataBeanToFeatureModel(List<UMFeature> uMFeature) {\n List<FeatureDataBean> result = new ArrayList<>();\n\n for (UMFeature uMFeature1 : uMFeature) {\n FeatureDataBean featureDataBean1 = new FeatureDataBean();\n\n featureDataBean1.setId(uMFeature1.getId());\n featureDataBean1.setName(uMFeature1.getName());\n featureDataBean1.setDescription(uMFeature1.getDescription());\n featureDataBean1.setFeatureURL(uMFeature1.getFeatureUrl());\n featureDataBean1.setWebserviceURL(uMFeature1.getWebserviceUrl());\n featureDataBean1.setActive(uMFeature1.getIsActive());\n featureDataBean1.setCrud(uMFeature1.getIsCrud());\n featureDataBean1.setMenuLable(uMFeature1.getMenuLabel());\n featureDataBean1.setMenuType(uMFeature1.getMenuType());\n\n result.add(featureDataBean1);\n }\n return result;\n }",
"public List<String> allCoreFeatures(Map<String,String> stats) throws OperationNotSupportedException, FMReasoningException {\n\t\tthrow new OperationNotSupportedException(\"Reasoning Operation Not Supported\");\n\t}",
"public int getFeaturesCount();",
"@RequestLine(\"GET /v1/courses/{courseId}/features/enabled\")\n @Headers({\n \"Accept: */*\",\n })\n void listEnabledFeaturesCourses(@Param(\"courseId\") String courseId);",
"@Override\n public Map<String, Integer> getFeatures(List<String> objects) {\n\n HashMap<String, Integer> features = new HashMap<>();\n\n for (String cCategory : objects) {\n //Create feature name by add \n //language + the prefix boolean + the feature name to Lower Case + true/false\n String[] tmpSplit = cCategory.toLowerCase().split(\":\");\n String featureName = tmpSplit[0].trim();\n\n String featureTrue\n = language\n + \".boolean.\"\n + featureName\n + \".true\";\n\n String featureFalse\n = language\n + \".boolean.\"\n + featureName\n + \".false\";\n\n if (Boolean.parseBoolean(tmpSplit[1])) {\n //Add featureTrue ton Map with value 1\n features.put(featureTrue, 1);\n //Add featureFalse ton Map with value 1\n features.put(featureFalse, 0);\n } else {\n //Add featureTrue ton Map with value 1\n features.put(featureTrue, 0);\n //Add featureFalse ton Map with value 1\n features.put(featureFalse, 1);\n }\n }\n\n return features;\n }",
"org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);",
"org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesCourses(URI uri);"
] |
[
"0.77140456",
"0.7481413",
"0.7232576",
"0.70243657",
"0.69971675",
"0.6896651",
"0.6792523",
"0.6569749",
"0.6379921",
"0.6206767",
"0.6140706",
"0.6092626",
"0.60399514",
"0.603407",
"0.59872514",
"0.5944946",
"0.590462",
"0.5804063",
"0.57907516",
"0.57708347",
"0.5719567",
"0.5719567",
"0.57195115",
"0.5676645",
"0.56658053",
"0.5642271",
"0.56364167",
"0.5624761",
"0.5566836",
"0.55632734",
"0.5542524",
"0.54659677",
"0.5455292",
"0.54274476",
"0.5375436",
"0.5372356",
"0.5371448",
"0.53172076",
"0.53042793",
"0.52965957",
"0.5284185",
"0.5184537",
"0.5169479",
"0.5160306",
"0.51561666",
"0.5144678",
"0.51442885",
"0.511647",
"0.5092515",
"0.5091218",
"0.5079844",
"0.506717",
"0.5065552",
"0.5062253",
"0.5061341",
"0.5047965",
"0.5018586",
"0.50037616",
"0.500369",
"0.5003552",
"0.49997124",
"0.4990022",
"0.4983666",
"0.49806732",
"0.49794522",
"0.4973426",
"0.49645293",
"0.4963755",
"0.49533114",
"0.49501467",
"0.49393243",
"0.49334547",
"0.4928928",
"0.49259695",
"0.4917931",
"0.48918122",
"0.48869023",
"0.48718217",
"0.4868492",
"0.48646423",
"0.4860489",
"0.48584273",
"0.48545426",
"0.48491466",
"0.48432964",
"0.48385927",
"0.48303977",
"0.48139167",
"0.4811431",
"0.48103893",
"0.4808645",
"0.48048764",
"0.4786259",
"0.47768652",
"0.47727",
"0.4770935",
"0.4767081",
"0.47658476",
"0.47658476",
"0.47643504"
] |
0.73077476
|
2
|
Client feature support list. These are well known features described in the Envoy API repository for a given major version of an API. Client features use reverse DNS naming scheme, for example `com.acme.feature`. See :ref:`the list of features <client_features>` that xDS client may support. repeated string client_features = 10;
|
public com.google.protobuf.ByteString
getClientFeaturesBytes(int index) {
return clientFeatures_.getByteString(index);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"public com.google.protobuf.ProtocolStringList\n getClientFeaturesList() {\n return clientFeatures_;\n }",
"public com.google.protobuf.ProtocolStringList\n getClientFeaturesList() {\n return clientFeatures_.getUnmodifiableView();\n }",
"public java.lang.String getClientFeatures(int index) {\n return clientFeatures_.get(index);\n }",
"public java.lang.String getClientFeatures(int index) {\n return clientFeatures_.get(index);\n }",
"public int getClientFeaturesCount() {\n return clientFeatures_.size();\n }",
"public int getClientFeaturesCount() {\n return clientFeatures_.size();\n }",
"public com.google.protobuf.ByteString\n getClientFeaturesBytes(int index) {\n return clientFeatures_.getByteString(index);\n }",
"public Builder addClientFeatures(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClientFeaturesIsMutable();\n clientFeatures_.add(value);\n onChanged();\n return this;\n }",
"public Builder setClientFeatures(\n int index, java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureClientFeaturesIsMutable();\n clientFeatures_.set(index, value);\n onChanged();\n return this;\n }",
"public void setFeatures(List<String> features) {\n this.features = features;\n }",
"public Builder addAllClientFeatures(\n java.lang.Iterable<java.lang.String> values) {\n ensureClientFeaturesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, clientFeatures_);\n onChanged();\n return this;\n }",
"java.util.List<java.lang.String> getFeaturesList();",
"List<String> getFeatures();",
"public Builder clearClientFeatures() {\n clientFeatures_ = com.google.protobuf.LazyStringArrayList.EMPTY;\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n return this;\n }",
"public List<String> getFeatures() {\n return features;\n }",
"@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/featuregates\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesListCall<FeatureGateList, FeatureGate> listFeatureGate();",
"java.util.List<iet.distributed.telemetry.Feature> \n getFeatureList();",
"public Builder addClientFeaturesBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n ensureClientFeaturesIsMutable();\n clientFeatures_.add(value);\n onChanged();\n return this;\n }",
"@Override\r\n\tpublic String[] getClientNames() {\r\n\t\treturn initData.clientNames;\r\n\t}",
"List<Feature> getFeatures();",
"java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();",
"java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList();",
"public String[] getClientNames() {\n return clientNames;\n }",
"java.util.List<? extends iet.distributed.telemetry.FeatureOrBuilder> \n getFeatureOrBuilderList();",
"public List BestClient();",
"List<PolicyEngineFeatureApi> getFeatureProviders();",
"@RequestLine(\"GET /v1/users/{userId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(@Param(\"userId\") String userId);",
"public Set<String> getGameListClients() {\n return this.gameListClients;\n }",
"@Override\n public KimbleClient[] clientStartInfo() {\n return clients;\n }",
"@HTTP(\n method = \"GET\",\n path = \"/apis/config.openshift.io/v1/featuregates\"\n )\n @Headers({ \n \"Accept: */*\"\n })\n KubernetesListCall<FeatureGateList, FeatureGate> listFeatureGate(\n @QueryMap ListFeatureGate queryParameters);",
"public Collection<String> getProvideFeature();",
"public Collection<String> getRequireFeature();",
"@RequestLine(\"GET /v1/courses/{courseId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesCourses(@Param(\"courseId\") String courseId);",
"public Set<String> getFeatures();",
"public ClientList getClients() {\r\n return this.clients;\r\n }",
"public void printClientList(){\n for(String client : clientList){\n System.out.println(client);\n }\n System.out.println();\n }",
"public List<HotspotClient> getHotspotClientsList() {\n List<HotspotClient> clients = new ArrayList<HotspotClient>();\n synchronized (mHotspotClients) {\n for (HotspotClient client : mHotspotClients.values()) {\n clients.add(new HotspotClient(client));\n }\n }\n return clients;\n }",
"public static void initializeClientList() {\r\n\t\tClient newClient1 = new Client(1, \"Bob Jones\", \"Brokerage\");\r\n\t\tclientList.add(newClient1);\r\n\t\t\r\n\t\tClient newClient2 = new Client(2, \"Sarah Davis\", \"Retirement\");\r\n\t\tclientList.add(newClient2);\r\n\t\t\r\n\t\tClient newClient3 = new Client(3, \"Amy Friendly\", \"Brokerage\");\r\n\t\tclientList.add(newClient3);\r\n\t\t\r\n\t\tClient newClient4 = new Client(4, \"Johnny Smith\", \"Brokerage\");\r\n\t\tclientList.add(newClient4);\r\n\t\t\r\n\t\tClient newClient5 = new Client(5, \"Carol Spears\", \"Retirement\");\r\n\t\tclientList.add(newClient5);\r\n\t}",
"@Nonnull\r\n public Set<Feature> getFeatures() {\r\n return features;\r\n }",
"public ArrayList<Client> getClientList() {\n return this.clientList;\n }",
"List<IFeature> getFeatureList();",
"public ArrayList<ClientHandler> getClientList()\n {\n return clientList;\n }",
"Set<String> listCapabilities();",
"com.google.protobuf.ByteString getFeaturesBytes(int index);",
"public List<Client> getAllClient();",
"public Feature[] getFeatures() throws JsonMappingException, IOException {\n \tfinal String uri = \"http://localhost:12300/featureflags\";\n RestTemplate restTemplate = new RestTemplate();\n HttpHeaders headers = new HttpHeaders();\n headers.setAccept(Arrays.asList(MediaType.APPLICATION_JSON));\n HttpEntity<String> entity = new HttpEntity<String>(\"parameters\", headers);\n ResponseEntity<String> result = restTemplate.exchange(uri, HttpMethod.GET, entity, String.class);\n String body = result.getBody();\n ObjectMapper mapper = new ObjectMapper();\n Feature[] features = mapper.readValue(body, Feature[].class);\n return features;\n }",
"@Override\n\t\tpublic List<Client> listeClient() {\n\t\t\treturn null;\n\t\t}",
"java.util.List<org.landxml.schema.landXML11.PlanFeatureDocument.PlanFeature> getPlanFeatureList();",
"private LinkedList<String> getActivatedFeatureArgs(\r\n\t\t\tList<String> myActivatedFeatures) {\r\n\t\tLinkedList<String> args = new LinkedList<String>();\r\n\t\tfor (String feature : myActivatedFeatures) {\r\n\t\t\targs.add(\"-D\" + feature);\r\n\t\t}\r\n\t\treturn args;\r\n\r\n\t}",
"@RequestLine(\"GET /v1/users/{userId}/features/flags/{feature}\")\n @Headers({\n \"Accept: application/json\",\n })\n FeatureFlag getFeatureFlagUsers(@Param(\"userId\") String userId, @Param(\"feature\") String feature);",
"public static String supportedFeatures() {\n\t\tStringBuilder buf = new StringBuilder(\"Filesystem features: \");\n\n\t\tClass<Feature> c = Feature.class;\n\t\tfor (Method m : c.getDeclaredMethods()) {\n\t\t\tint mod = m.getModifiers();\n\t\t\tString name = m.getName();\n\n\t\t\tif (!name.equals(\"supportedFeatures\") && Modifier.isStatic(mod) && Modifier.isPublic(mod)) {\n\t\t\t\ttry {\n\t\t\t\t\tboolean ret = (Boolean)m.invoke(null);\n\t\t\t\t\tif (ret) {\n\t\t\t\t\t\tbuf.append(m.getName());\n\t\t\t\t\t\tbuf.append(\" \");\n\t\t\t\t\t}\n\t\t\t\t} catch (IllegalArgumentException ignored) {\n\t\t\t\t} catch (IllegalAccessException ignored) {\n\t\t\t\t} catch (InvocationTargetException ignored) {\n\t\t\t\t}\n\n\t\t\t}\n\t\t}\n\n\t\tbuf.append(\"\\n\");\n\t\treturn buf.toString();\n\t}",
"public WebServiceFeature[] getFeatures() {\n\t\treturn null;\n\t}",
"@RequestLine(\"GET /v1/users/{userId}/features/enabled\")\n @Headers({\n \"Accept: */*\",\n })\n void listEnabledFeaturesUsers(@Param(\"userId\") String userId);",
"public void printClientList() {\n uiService.underDevelopment();\n }",
"public ArrayList<Client> clientList() {\n\t\tint counter = 1; // 일딴 보류\n\t\tConnection conn = null;\n\t\tPreparedStatement pstmt = null;\n\t\tResultSet rs = null;\n\t\tString query = \"select * from client\";\n\t\tArrayList<Client> client = new ArrayList<Client>();\n\t\tClient object = null;\n\t\ttry {\n\t\t\tconn = getConnection();\n\t\t\tpstmt = conn.prepareStatement(query);\n\t\t\trs = pstmt.executeQuery();\n\t\t\twhile (rs.next()) {\n\t\t\t\tobject = new Client();\n\t\t\t\tString cId = rs.getString(\"cId\");\n\t\t\t\tString cPhone = rs.getString(\"cPhone\");\n\t\t\t\tString cName = rs.getString(\"cName\");\n\t\t\t\tint point = rs.getInt(\"cPoint\");\n\t\t\t\tint totalPoint = rs.getInt(\"totalPoint\");\n\n\t\t\t\tobject.setcId(cId);\n\t\t\t\tobject.setcPhone(cPhone);\n\t\t\t\tobject.setcName(cName);\n\t\t\t\tobject.setcPoint(point);\n\t\t\t\tobject.setTotalPoint(totalPoint);\n\n\t\t\t\tclient.add(object);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tfinally {\n\t\t\ttry {\n\t\t\t\tif (conn != null) {\n\t\t\t\t\tconn.close();\n\t\t\t\t}\n\t\t\t\tif (pstmt != null) {\n\t\t\t\t\tpstmt.close();\n\t\t\t\t}\n\t\t\t\tif (rs != null) {\n\t\t\t\t\trs.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn client;\n\t}",
"@RequestLine(\"GET /v1/courses/{courseId}/features/flags/{feature}\")\n @Headers({\n \"Accept: application/json\",\n })\n FeatureFlag getFeatureFlagCourses(@Param(\"courseId\") String courseId, @Param(\"feature\") String feature);",
"public int getNumberOfFeatures() {\n\t\treturn numberOfFeatures;\n\t}",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n @NoCache\n public List<ClientRepresentation> getClients(@QueryParam(\"clientId\") String clientId,\n @QueryParam(\"viewableOnly\") @DefaultValue(\"false\") boolean viewableOnly,\n @QueryParam(\"search\") @DefaultValue(\"false\") boolean search,\n @QueryParam(\"first\") Integer firstResult,\n @QueryParam(\"max\") Integer maxResults) {\n List<ClientRepresentation> rep = new ArrayList<>();\n\n if (clientId == null || clientId.trim().equals(\"\")) {\n List<ClientModel> clientModels = realm.getClients(firstResult, maxResults);\n for (ClientModel clientModel : clientModels) {\n ClientRepresentation representation = modelToRepresentation.toRepresentation(clientModel);\n rep.add(representation);\n// representation.setAccess(auth.clients().getAccess(clientModel));\n }\n } else {\n List<ClientModel> clientModels = Collections.emptyList();\n if (search) {\n clientModels = realm.searchClientByClientId(clientId, firstResult, maxResults);\n } else {\n ClientModel client = realm.getClientByClientId(clientId);\n if (client != null) {\n clientModels = Collections.singletonList(client);\n }\n }\n if (clientModels != null) {\n for (ClientModel clientModel : clientModels) {\n ClientRepresentation representation = modelToRepresentation.toRepresentation(clientModel);\n// representation.setAccess(auth.clients().getAccess(clientModel));\n rep.add(representation);\n }\n }\n }\n return rep;\n }",
"public ListOfOnixElement<ResourceFileFeatureDescription, String> resourceFileFeatureDescriptions() {\n _initialize();\n return resourceFileFeatureDescriptions;\n }",
"@RequestLine(\"GET /v1/accounts/{accountId}/features\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(@Param(\"accountId\") String accountId);",
"java.lang.String getFeatures(int index);",
"@Retryable(\n\t\t\tmaxAttempts = Application.retry_max_attempt,\n\t\t\tbackoff = @Backoff(delay = 5000))\n\t@ApiOperation(value = \"Liste des factures clients\")\n\t@ApiResponses(value = {\n\t\t @ApiResponse(code = 401, message = \"Vous devez être identifié pour effectuer cette opération\"),\n\t\t @ApiResponse(code = 403, message = \"Vous n'êtes pas autorisé à effectuer cette action (uniquement les admin ou opérateurs ayant droits)\"),\n\t\t @ApiResponse(code = 200, message = \"Liste des actions retournées (au format datatable - contenu dans data, nombre total dans recordsTotal)\", response = MapDatatable.class)\n\t\t})\n\t@ResponseBody\n\t@RequestMapping(\n\t\t\tproduces = \"application/json\", \n\t\t\tvalue = \"/factures/client\",\n\t\t\tmethod = RequestMethod.POST)\n\t@CrossOrigin\n\tpublic ResponseEntity<Object> get_factures_clients(\n\t\t\t@ApiParam(value = \"Critères de recherche (tri, filtre, etc) au format Datatable\", required = true) @RequestBody MultiValueMap postBody,\n\t\t\t@ApiParam(value = \"Jeton JWT pour autentification\", required = true) @RequestHeader(\"Token\") String token) throws JsonProcessingException {\n\n\t\t// vérifie que le jeton est valide et que les droits lui permettent de consulter les admin katmars\n\t\tif (!jwtProvider.isValidJWT(token)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.UNAUTHORIZED, \"Jeton invalide, veuillez vous reconnecter.\");\n\t\t}\n\n\t\tif (!SecurityUtils.adminOrOperateurWithDroit(jwtProvider, token, OperateurListeDeDroits.CONSULTER_FACTURES_CLIENT) && !SecurityUtils.client(jwtProvider, token) && !SecurityUtils.client_personnelWithDroit(jwtProvider, token, ClientPersonnelListeDeDroits.VOIR_FACTURES)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.FORBIDDEN, \"Vous n'avez pas le droit d'effectuer cette opération.\");\t\t\n\t\t}\n\n\t\t// paramètres du datatable\n\t\tString draw \t\t= postBody.getFirst(\"draw\").toString();\n\t\tInteger length \t\t= Integer.valueOf(postBody.getFirst(\"length\").toString());\n\n\t\t// tri, sens et numéro de page\n\t\tString colonneTriDefaut = \"numeroFacture\";\n\t\tList<String> colonnesTriAutorise = Arrays.asList(\"createdOn\", \"montantHT\", \"numeroFacture\", \"montantTTC\", \"dateFacture\");\n\n\t\tString order_column_bdd = DatatableUtils.getOrderColonne(colonneTriDefaut, colonnesTriAutorise, postBody);\n\t\tString sort_bdd = DatatableUtils.getSort(postBody);\n\t\tInteger numero_page = DatatableUtils.getNumeroPage(postBody, length);\n\n\t\t// filtrage\n\t\tList<String> colonnesFiltrageActive = Arrays.asList(\"listeOperations\", \"createdOn\", \"numeroFacture\");\n\t\tParentSpecificationsBuilder builder = new OperationSpecificationsBuilder();\n\t\tSpecification spec_general = DatatableUtils.buildFiltres(colonnesFiltrageActive, postBody, builder, null);\n\t\tif (spec_general == null) {\n\t\t\tspec_general = Specification.where(DatatableUtils.buildFiltres(colonnesFiltrageActive, postBody, builder, null));\n\t\t}\n\n\t\t// filtrage par date de création\n\t\tspec_general = DatatableUtils.fitrageDate(spec_general, postBody, \"createdOn\", \"createdOn\");\n\t\tspec_general = DatatableUtils.fitrageDate(spec_general, postBody, \"dateFacture\", \"dateFacture\");\n\t\tspec_general = DatatableUtils.fitrageEntier(spec_general, postBody, \"montantHT\", \"montantHT\");\n\t\tspec_general = DatatableUtils.fitrageEntier(spec_general, postBody, \"montantTTC\", \"montantTTC\");\n\n\t\t// filtre par expéditeur dans datatable (si admin ou opérateur)\n\t\tMap<Integer, String> indexColumn_nomColonne = DatatableUtils.getMapPositionNomColonnes(postBody);\n\t\tInteger position_colonne = DatatableUtils.getKeyByValue(indexColumn_nomColonne, \"client\");\n\t\tif (position_colonne != null) {\n\t\t\tString filtre_par_expediteur = postBody.getFirst(\"columns[\" + position_colonne + \"][search][value]\").toString();\n\t\t\tif (filtre_par_expediteur != null && !\"\".equals(filtre_par_expediteur.trim())) {\n\t\t\t\tSpecification spec2 = new Specification<Operation>() {\n\t\t\t\t\tpublic Predicate toPredicate(Root<Operation> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\t\t\tClient expediteur = clientService.getByUUID(filtre_par_expediteur, jwtProvider.getCodePays(token));\n\t\t\t\t\t\tif (expediteur != null) {\n\t\t\t\t\t\t\tpredicates.add(builder.equal(root.get(\"client\"), expediteur));\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tspec_general = spec_general.and(spec2);\n\t\t\t}\n\t\t}\n\n\t\t// surcharge du tri\n\t\tif (postBody.containsKey(\"sorting\") && \"desc\".equals(postBody.getFirst(\"sorting\").toString())) {\n\t\t\tsort_bdd = \"desc\";\n\t\t} else if (postBody.containsKey(\"sorting\") && \"asc\".equals(postBody.getFirst(\"sorting\").toString())) {\n\t\t\tsort_bdd = \"asc\";\n\t\t}\n\n\n\t\t// filtrage par es factures si c'ets un client\n\t\tif (SecurityUtils.client(jwtProvider, token)) {\n\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\tSpecification spec2 = new Specification<Operation>() {\n\t\t\t\tpublic Predicate toPredicate(Root<Operation> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\t\tClient client = clientService.getByUUID(jwtProvider.getClaimsValue(\"uuid_client\", token), jwtProvider.getCodePays(token));\n\t\t\t\t\tpredicates.add(builder.equal(root.get(\"client\"), client));\n\t\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t\t}\n\t\t\t};\n\t\t\tspec_general = spec_general.and(spec2);\n\t\t}\n\n\t\t// filtrage par pays kamtar\n\t\tSpecification spec_pays = new Specification<ActionAudit>() {\n\t\t\tpublic Predicate toPredicate(Root<ActionAudit> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\tpredicates.add(builder.equal(root.get(\"codePays\"), jwtProvider.getCodePays(token)));\n\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t}\n\t\t};\n\t\tspec_general = spec_general.and(spec_pays);\n\n\n\t\t// préparation les deux requêtes (résultat et comptage)\n\t\tPage<FactureClient> leads = factureClientService.getAllPagined(order_column_bdd, sort_bdd, numero_page, length, spec_general);\n\t\tLong total = factureClientService.countAll(spec_general);\n\n\t\tactionAuditService.getFacturesClient(token);\n\n\t\t// prépare les résultast\n\t\tJSONArray jsonArrayOffres = new JSONArray();\n\t\tif (leads != null) {\n\t\t\tjsonArrayOffres.addAll(leads.getContent());\n\t\t}\n\t\tMap<String, Object> jsonDataResults = new LinkedHashMap<String, Object>();\n\t\tjsonDataResults.put(\"draw\", draw);\t\n\t\tjsonDataResults.put(\"recordsTotal\", total);\t\t\n\t\tjsonDataResults.put(\"recordsFiltered\", total);\t\n\t\tjsonDataResults.put(\"data\", jsonArrayOffres);\t\t\n\n\t\treturn new ResponseEntity<Object>(mapperJSONService.get(token).writeValueAsString(jsonDataResults), HttpStatus.OK);\n\t}",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesAccounts(URI uri);",
"public int getClients()\r\n\t{\r\n\t\treturn numberOfClients;\r\n\t}",
"@Override\n public Class<? extends Feature> getFeatureClass() {\n\treturn VersionFeatures.class;\n }",
"ArrayList<Feature> getFeatures(String userid, String project)throws Exception;",
"public String LIST(){\n String nameList = \"\";\n Enumeration keys = this.clientData.keys();\n while(keys.hasMoreElements()){\n nameList += keys.nextElement() + \" \";\n }\n return \"OK \" + nameList;\n }",
"public List<Clients> getallClients();",
"public abstract List<QualifiedName> getAffectedFeatureTypes();",
"List<FeatureController<MODEL>> getFeatureControllers() {\n return featureItems.getFeatureControllers();\n }",
"public List<UserModel> getListOfClient() {\n\t\treturn userDao.getListOfClients();\n\t}",
"public static void clientListUpdater() {\r\n\t\tclientList.clear();\r\n\t\tclientList.addAll(serverConnector.getAllClients());\r\n\t}",
"private static List<Feature> getFeatures(List<String> row) {\n\t\tString sex = row.get(0);\n\t\tdouble length = Double.parseDouble(row.get(1));\n double diameter = Double.parseDouble(row.get(2));\n double height = Double.parseDouble(row.get(3));\n// double whole_height = Double.parseDouble(row.get(4));\n// double shucked_height = Double.parseDouble(row.get(5));\n double viscera_weight = Double.parseDouble(row.get(6));\n double shell_weight = Double.parseDouble(row.get(7));\n\t\tList<Feature> features = new ArrayList<Feature>();\n\t\tfeatures.add(new NominalFeature(sex));\n\t\tfeatures.add(new ContinuousFeature(length));\n\t\tfeatures.add(new ContinuousFeature(diameter));\n\t\tfeatures.add(new ContinuousFeature(height));\n//\t\tfeatures.add(new ContinuousFeature(whole_height));\n//\t\tfeatures.add(new ContinuousFeature(shucked_height));\n\t\tfeatures.add(new ContinuousFeature(viscera_weight));\n\t\tfeatures.add(new ContinuousFeature(shell_weight));\n\t\treturn features;\n\t}",
"public FeatureSet getFeatures() {\n\treturn features;\n }",
"private static Map<String, FeatureType> buildAvailableFeatureMap(List<FeatureType> features){\r\n\t\tMap<String, FeatureType> featureMap = new HashMap<String, FeatureType>();\r\n\t\tfor(FeatureType feature : features){\r\n\t\t\tfeatureMap.put(feature.getExternalId(), feature);\r\n\t\t}\r\n\t\treturn featureMap;\r\n\t}",
"public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge> getEdgeList() {\n return edge_;\n }",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesUsers(URI uri);",
"public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return SurfaceImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { SurfaceImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = SurfaceImpl.this.getFeatureArray(i);\r\n SurfaceImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return SurfaceImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }",
"public String getFeature() {\r\n return feature;\r\n }",
"public void setSPARQL11Features(java.util.List<sparqles.avro.analytics.EPViewInteroperabilityData> value) {\n this.SPARQL11Features = value;\n }",
"@Retryable(\n\t\t\tmaxAttempts = Application.retry_max_attempt,\n\t\t\tbackoff = @Backoff(delay = 5000))\n\t@ApiOperation(value = \"Liste des factures clients\")\n\t@ApiResponses(value = {\n\t\t\t@ApiResponse(code = 401, message = \"Vous devez être identifié pour effectuer cette opération\"),\n\t\t\t@ApiResponse(code = 403, message = \"Vous n'êtes pas autorisé à effectuer cette action (uniquement les admin ou opérateurs ayant droits)\"),\n\t\t\t@ApiResponse(code = 200, message = \"Liste des actions retournées (au format datatable - contenu dans data, nombre total dans recordsTotal)\", response = MapDatatable.class)\n\t})\n\t@ResponseBody\n\t@RequestMapping(\n\t\t\tproduces = \"application/json\",\n\t\t\tvalue = \"/factures/client/liste\",\n\t\t\tmethod = RequestMethod.POST)\n\t@CrossOrigin\n\tpublic ResponseEntity<Object> get_liste_facures(\n\t\t\t@ApiParam(value = \"Est ce qu'il faut charger les operations ?\", required = false) @RequestParam(value = \"operations\", required=false) String load_operations,\n\t\t\t@ApiParam(value = \"Jeton JWT pour autentification\", required = true) @RequestHeader(\"Token\") String token) throws JsonProcessingException {\n\n\t\t// vérifie que le jeton est valide et que les droits lui permettent de consulter les admin katmars\n\t\tif (!jwtProvider.isValidJWT(token)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.UNAUTHORIZED, \"Jeton invalide, veuillez vous reconnecter.\");\n\t\t}\n\n\t\tif (!SecurityUtils.adminOrOperateurWithDroit(jwtProvider, token, OperateurListeDeDroits.CONSULTER_FACTURES_CLIENT) && !SecurityUtils.client(jwtProvider, token) && !SecurityUtils.client_personnelWithDroit(jwtProvider, token, ClientPersonnelListeDeDroits.VOIR_FACTURES)) {\n\t\t\tthrow new ResponseStatusException(HttpStatus.FORBIDDEN, \"Vous n'avez pas le droit d'effectuer cette opération.\");\n\t\t}\n\n\t\tString code_pays = jwtProvider.getCodePays(token);\n\n\t\t// tri, sens et numéro de page\n\t\tString order_column_bdd = \"numeroFacture\";\n\t\tString sort_bdd = \"asc\";\n\n\t\t// filtrage\n\t\tParentSpecificationsBuilder builder = new OperationSpecificationsBuilder();\n\t\tSpecification spec_general = DatatableUtils.buildFiltres(null, null, builder, null);\n\t\tif (spec_general == null) {\n\t\t\tspec_general = Specification.where(DatatableUtils.buildFiltres(null, null, builder, null));\n\t\t}\n\n\t\t// filtrage par pays kamtar\n\t\tSpecification spec_pays = new Specification<ActionAudit>() {\n\t\t\tpublic Predicate toPredicate(Root<ActionAudit> root, CriteriaQuery<?> query, CriteriaBuilder builder) {\n\t\t\t\tList<Predicate> predicates = new ArrayList<Predicate>();\n\t\t\t\tpredicates.add(builder.equal(root.get(\"codePays\"), code_pays));\n\t\t\t\treturn builder.and(predicates.toArray(new Predicate[predicates.size()]));\n\t\t\t}\n\t\t};\n\t\tspec_general = spec_general.and(spec_pays);\n\n\n\t\t// préparation les deux requêtes (résultat et comptage)\n\t\tList<FactureClient> leads = factureClientService.getAllPagined(order_column_bdd, sort_bdd, 0, 999999, spec_general).getContent();\n\n\t\tif (load_operations != null && \"1\".equals(load_operations)) {\n\t\t\t// chargement des opérations\n\t\t\tList<FactureClient> leads_operations = new ArrayList<FactureClient>();\n\t\t\tfor (FactureClient facture : leads) {\n\t\t\t\tString[] code_operations = facture.getListeOperations().split(\"@\");\n\t\t\t\tLong[] code_long_operations = new Long[code_operations.length];\n\t\t\t\tint i = 0;\n\t\t\t\tfor (String code_operation: code_operations) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tcode_long_operations[i] = Long.valueOf(code_operation);\n\t\t\t\t\t\ti++;\n\t\t\t\t\t} catch (NumberFormatException e ) {\n\t\t\t\t\t\t// erreur silencieuse\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tList<Operation> operations = operationService.getByCodes(code_long_operations, code_pays);\n\t\t\t\tfacture.setOperations(operations);\n\t\t\t\tleads_operations.add(facture);\n\t\t\t}\n\t\t\tleads = leads_operations;\n\n\t\t}\n\n\t\tactionAuditService.getFacturesClient(token);\n\n\t\treturn new ResponseEntity<Object>(mapperJSONService.get(token).writeValueAsString(leads), HttpStatus.OK);\n\n\t}",
"public java.util.List<org.landxml.schema.landXML11.FeatureDocument.Feature> getFeatureList()\r\n {\r\n final class FeatureList extends java.util.AbstractList<org.landxml.schema.landXML11.FeatureDocument.Feature>\r\n {\r\n public org.landxml.schema.landXML11.FeatureDocument.Feature get(int i)\r\n { return IntersectionImpl.this.getFeatureArray(i); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature set(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.setFeatureArray(i, o);\r\n return old;\r\n }\r\n \r\n public void add(int i, org.landxml.schema.landXML11.FeatureDocument.Feature o)\r\n { IntersectionImpl.this.insertNewFeature(i).set(o); }\r\n \r\n public org.landxml.schema.landXML11.FeatureDocument.Feature remove(int i)\r\n {\r\n org.landxml.schema.landXML11.FeatureDocument.Feature old = IntersectionImpl.this.getFeatureArray(i);\r\n IntersectionImpl.this.removeFeature(i);\r\n return old;\r\n }\r\n \r\n public int size()\r\n { return IntersectionImpl.this.sizeOfFeatureArray(); }\r\n \r\n }\r\n \r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return new FeatureList();\r\n }\r\n }",
"protected void addFeaturesPropertyDescriptor(Object object) {\n itemPropertyDescriptors.add\n (createItemPropertyDescriptor\n (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n getResourceLocator(),\n getString(\"_UI_Reference_features_feature\"),\n getString(\"_UI_PropertyDescriptor_description\", \"_UI_Reference_features_feature\", \"_UI_Reference_type\"),\n NoSQLSchemaPackage.Literals.REFERENCE__FEATURES,\n true,\n false,\n true,\n null,\n null,\n null));\n }",
"public static ArrayList<Client> getClients() {\n return clients;\n }",
"@ApiModelProperty(value = \"The features of the OS that the artifact applys to\")\n public List<String> getOsFeatures() {\n return osFeatures;\n }",
"public int clientsCount(){\n return clientsList.size();\n }",
"private List<WebServiceFeature> getFeatures(AssertionSet alternative) {\n return Collections.emptyList();\n }",
"java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge> \n getEdgeList();",
"public Map<String, Cliente> getClientes() {\n\t\treturn clientes;\n\t}",
"public final native GEFeatureContainer getFeatures() /*-{\r\n\t\treturn this.getFeatures();\r\n\t}-*/;",
"iet.distributed.telemetry.FeatureOrBuilder getFeatureOrBuilder(\n int index);",
"public java.util.List<uk.ac.cam.acr31.features.javac.proto.GraphProtos.FeatureEdge.Builder> \n getEdgeBuilderList() {\n return getEdgeFieldBuilder().getBuilderList();\n }",
"public List<FeatureDataBean> convertFeatureDataBeanToFeatureModel(List<UMFeature> uMFeature) {\n List<FeatureDataBean> result = new ArrayList<>();\n\n for (UMFeature uMFeature1 : uMFeature) {\n FeatureDataBean featureDataBean1 = new FeatureDataBean();\n\n featureDataBean1.setId(uMFeature1.getId());\n featureDataBean1.setName(uMFeature1.getName());\n featureDataBean1.setDescription(uMFeature1.getDescription());\n featureDataBean1.setFeatureURL(uMFeature1.getFeatureUrl());\n featureDataBean1.setWebserviceURL(uMFeature1.getWebserviceUrl());\n featureDataBean1.setActive(uMFeature1.getIsActive());\n featureDataBean1.setCrud(uMFeature1.getIsCrud());\n featureDataBean1.setMenuLable(uMFeature1.getMenuLabel());\n featureDataBean1.setMenuType(uMFeature1.getMenuType());\n\n result.add(featureDataBean1);\n }\n return result;\n }",
"public List<String> allCoreFeatures(Map<String,String> stats) throws OperationNotSupportedException, FMReasoningException {\n\t\tthrow new OperationNotSupportedException(\"Reasoning Operation Not Supported\");\n\t}",
"public int getFeaturesCount();",
"@RequestLine(\"GET /v1/courses/{courseId}/features/enabled\")\n @Headers({\n \"Accept: */*\",\n })\n void listEnabledFeaturesCourses(@Param(\"courseId\") String courseId);",
"@Override\n public Map<String, Integer> getFeatures(List<String> objects) {\n\n HashMap<String, Integer> features = new HashMap<>();\n\n for (String cCategory : objects) {\n //Create feature name by add \n //language + the prefix boolean + the feature name to Lower Case + true/false\n String[] tmpSplit = cCategory.toLowerCase().split(\":\");\n String featureName = tmpSplit[0].trim();\n\n String featureTrue\n = language\n + \".boolean.\"\n + featureName\n + \".true\";\n\n String featureFalse\n = language\n + \".boolean.\"\n + featureName\n + \".false\";\n\n if (Boolean.parseBoolean(tmpSplit[1])) {\n //Add featureTrue ton Map with value 1\n features.put(featureTrue, 1);\n //Add featureFalse ton Map with value 1\n features.put(featureFalse, 0);\n } else {\n //Add featureTrue ton Map with value 1\n features.put(featureTrue, 0);\n //Add featureFalse ton Map with value 1\n features.put(featureFalse, 1);\n }\n }\n\n return features;\n }",
"org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);",
"org.landxml.schema.landXML11.FeatureDocument.Feature getFeatureArray(int i);",
"@RequestLine(\"GET\")\n @Headers({\n \"Accept: application/json\",\n })\n List<Feature> listFeaturesCourses(URI uri);"
] |
[
"0.77140456",
"0.7481413",
"0.73077476",
"0.7232576",
"0.70243657",
"0.69971675",
"0.6792523",
"0.6569749",
"0.6379921",
"0.6206767",
"0.6140706",
"0.6092626",
"0.60399514",
"0.603407",
"0.59872514",
"0.5944946",
"0.590462",
"0.5804063",
"0.57907516",
"0.57708347",
"0.5719567",
"0.5719567",
"0.57195115",
"0.5676645",
"0.56658053",
"0.5642271",
"0.56364167",
"0.5624761",
"0.5566836",
"0.55632734",
"0.5542524",
"0.54659677",
"0.5455292",
"0.54274476",
"0.5375436",
"0.5372356",
"0.5371448",
"0.53172076",
"0.53042793",
"0.52965957",
"0.5284185",
"0.5184537",
"0.5169479",
"0.5160306",
"0.51561666",
"0.5144678",
"0.51442885",
"0.511647",
"0.5092515",
"0.5091218",
"0.5079844",
"0.506717",
"0.5065552",
"0.5062253",
"0.5061341",
"0.5047965",
"0.5018586",
"0.50037616",
"0.500369",
"0.5003552",
"0.49997124",
"0.4990022",
"0.4983666",
"0.49806732",
"0.49794522",
"0.4973426",
"0.49645293",
"0.4963755",
"0.49533114",
"0.49501467",
"0.49393243",
"0.49334547",
"0.4928928",
"0.49259695",
"0.4917931",
"0.48918122",
"0.48869023",
"0.48718217",
"0.4868492",
"0.48646423",
"0.4860489",
"0.48584273",
"0.48545426",
"0.48491466",
"0.48432964",
"0.48385927",
"0.48303977",
"0.48139167",
"0.4811431",
"0.48103893",
"0.4808645",
"0.48048764",
"0.4786259",
"0.47768652",
"0.47727",
"0.4770935",
"0.4767081",
"0.47658476",
"0.47658476",
"0.47643504"
] |
0.6896651
|
6
|
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint. repeated .envoy.config.core.v3.Address listening_addresses = 11 [deprecated = true];
|
@java.lang.Override
@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {
return listeningAddresses_;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(\n int index) {\n return listeningAddresses_.get(index);\n }",
"@java.lang.Override\n @java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> \n getListeningAddressesOrBuilderList() {\n return listeningAddresses_;\n }",
"@java.lang.Override\n @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {\n return listeningAddresses_.get(index);\n }",
"@java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> \n getListeningAddressesOrBuilderList() {\n if (listeningAddressesBuilder_ != null) {\n return listeningAddressesBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(\n int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index); } else {\n return listeningAddressesBuilder_.getMessageOrBuilder(index);\n }\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {\n if (listeningAddressesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n } else {\n return listeningAddressesBuilder_.getMessageList();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index);\n } else {\n return listeningAddressesBuilder_.getMessage(index);\n }\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, value);\n }\n return this;\n }",
"@java.lang.Override\n @java.lang.Deprecated public int getListeningAddressesCount() {\n return listeningAddresses_.size();\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, value);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(value);\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder() {\n return getListeningAddressesFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"public abstract InetSocketAddress listeningAddress();",
"@java.lang.Deprecated public int getListeningAddressesCount() {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.size();\n } else {\n return listeningAddressesBuilder_.getCount();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"@java.lang.Deprecated public Builder addAllListeningAddresses(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Address> values) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, listeningAddresses_);\n onChanged();\n } else {\n listeningAddressesBuilder_.addAllMessages(values);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder getListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().getBuilder(index);\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address.Builder> \n getListeningAddressesBuilderList() {\n return getListeningAddressesFieldBuilder().getBuilderList();\n }",
"@java.lang.Deprecated public Builder clearListeningAddresses() {\n if (listeningAddressesBuilder_ == null) {\n listeningAddresses_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000004);\n onChanged();\n } else {\n listeningAddressesBuilder_.clear();\n }\n return this;\n }",
"public Builder listeningPort(final Optional<Integer> maybeListeningPort) {\n this.listeningPort = maybeListeningPort.filter(port -> port != 0);\n return this;\n }",
"public interface DsViaListenInterface extends DsListenInterface {\n\n /** @return port to be used as the source port of outgoing requests */\n public int getSourcePort();\n\n /** @return the interface to be used as the source port of outgoing requests */\n public InetAddress getSourceAddress();\n}",
"@java.lang.Deprecated public Builder removeListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.remove(index);\n onChanged();\n } else {\n listeningAddressesBuilder_.remove(index);\n }\n return this;\n }",
"public Builder listeningPort(final int listeningPort) {\n return listeningPort(Optional.of(listeningPort));\n }",
"public List<String> listeners();",
"@Deprecated\n public final void startListen() {\n startListening();\n }",
"@Override\n\tpublic Collection<InetSocketAddress> getAvaliableServers() {\n\t\treturn null;\n\t}",
"Integer listeningPort();",
"public interface PeersListener {\n public void onDiscoveringPeersRequest();\n public void onDiscoveringPeersRequestDone();\n public void onConnectToPeer(WifiP2pDevice peer);\n public boolean onIsWifiConnected();\n }",
"List<InboundNatRulePortMapping> inboundNatRulePortMappings();",
"public final int getPortListened() {\n return portListened;\n }",
"public synchronized void initListenInfo(@Nonnull String address, int port) {\n if (listenAddress != null) {\n throw new IllegalStateException(\"Already initialized\");\n }\n this.listenAddress = address;\n this.listenPort = port;\n }",
"List<String> getListenerTypes();",
"public static InetSocketAddress updateListenAddress(OzoneConfiguration conf,\n String addressKey, InetSocketAddress addr, InetSocketAddress listenAddr) {\n InetSocketAddress updatedAddr = new InetSocketAddress(addr.getHostString(),\n listenAddr.getPort());\n conf.set(addressKey,\n addr.getHostString() + \":\" + listenAddr.getPort());\n return updatedAddr;\n }",
"private void startListen() {\n try {\n listeningSocket = new ServerSocket(listeningPort);\n } catch (IOException e) {\n throw new RuntimeException(\"Cannot open listeningPort \" + listeningPort, e);\n }\n }",
"public List<Address> getWatchedAddresses() {\n try {\n List<Address> addresses = new LinkedList<Address>();\n for (Script script : watchedScripts)\n if (script.isSentToAddress())\n addresses.add(script.getToAddress(params));\n return addresses;\n } finally {\n }\n }",
"@Override\n public List<Address> getInterfaceAddresses() {\n List<Address> output = new ArrayList<>();\n\n Enumeration<NetworkInterface> ifaces;\n try {\n ifaces = NetworkInterface.getNetworkInterfaces();\n } catch (SocketException e) {\n // If we could not retrieve the network interface list, we\n // probably can't bind to any interface addresses either.\n return Collections.emptyList();\n }\n\n for (NetworkInterface iface : Collections.list(ifaces)) {\n // List the addresses associated with each interface.\n Enumeration<InetAddress> addresses = iface.getInetAddresses();\n for (InetAddress address : Collections.list(addresses)) {\n try {\n // Make an address object from each interface address, and\n // add it to the output list.\n output.add(Address.make(\"zmq://\" + address.getHostAddress() + \":\" + port));\n } catch (MalformedAddressException ignored) {\n // Should not be reachable.\n }\n }\n }\n\n return output;\n }",
"public void setAjpListener(Builder serverBuilder) {\n if (options.ajp13Port == -1)\n return;\n if (options.ajp13Port < -1 || options.ajp13Port > MAX_PORT) {\n log.warn(\"Unallowed ajp13Port value. AJP listener is disabled!\");\n return;\n }\n\n if (options.ajp13ListenAddress != null)\n serverBuilder.addAjpListener(options.ajp13Port, options.ajp13ListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addAjpListener(options.ajp13Port, hostAllInterfacesString);\n }\n\n log.info(\"AJP listener created\");\n }",
"public List<Integer> getAddrList() {\n\t\treturn this.addrList;\r\n\t}",
"long[] getAllServerSocketIds();",
"@Option int getLocalPortForUdpLinkLayer();",
"public static InetSocketAddress updateRPCListenAddress(\n OzoneConfiguration conf, String rpcAddressKey,\n InetSocketAddress addr, RPC.Server rpcServer) {\n return updateListenAddress(conf, rpcAddressKey, addr,\n rpcServer.getListenerAddress());\n }",
"public interface DiscoverPeersListener {\n\n\t/**\n\t * Called when P2P is discovered to not be enabled.\n\t */\n\tvoid onP2pNotEnabled();\n\n\t/**\n\t * Called when discoverPeers() is successful.\n\t */\n\tvoid onDiscoverPeersSuccess();\n\n\t/**\n\t * Called when discoverPeers() has failed.\n\t * @param reasonCode code for failure reason\n\t */\n\tvoid onDiscoverPeersFailure(final int reasonCode);\n}",
"public interface AddressListener {\n void onAddressReceived();\n}",
"@Override\n public List<String> getDnsServerAddresses()\n {\n final List<String> servers = new ArrayList<>();\n final Network network = getActiveNetwork();\n if (network == null) {\n return null;\n }\n\n LinkProperties linkProperties = connectivityManager.getLinkProperties(network);\n if (linkProperties == null) {\n return null;\n }\n\n int vpnOffset = 0;\n final NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network);\n final boolean isVpn = networkInfo != null && networkInfo.getType() == ConnectivityManager.TYPE_VPN;\n final List<String> v4v6Servers = getIPv4First(linkProperties.getDnsServers());\n // Timber.d(\"hasDefaultRoute: %s activeNetwork: %s || isVpn: %s || IP: %s\",\n // hasDefaultRoute(linkProperties), network, isVpn, toListOfStrings(linkProperties.getDnsServers()));\n\n if (isVpn) {\n servers.addAll(0, v4v6Servers);\n // vpnOffset += v4v6Servers.size();\n }\n // Prioritize the DNS servers of links which have a default route\n else if (hasDefaultRoute(linkProperties)) {\n servers.addAll(vpnOffset, v4v6Servers);\n }\n else {\n servers.addAll(v4v6Servers);\n }\n\n // Timber.d(\"dns Server Addresses (linkProperty): %s\", servers);\n return servers;\n }",
"public List<String> getAddresses() {\n return mIPs;\n }",
"public ArrayList getTaskListeners(){\n initListener();\n return listeners;\n }",
"@Override\n\tpublic boolean IsListening() {\n\t\treturn listening;\n\t}",
"public ONDEXListener[] getONDEXListeners() {\n return listeners.toArray(new ONDEXListener[0]);\n }",
"public PeerBuilder portsExternal(int port) {\n\t\tthis.udpPortForwarding = port;\n\t\tthis.tcpPortForwarding = port;\n\t\treturn this;\n\t}",
"@Override\n public void setListening(boolean listening) {\n if (listening) {\n //begin zhixiong.liu.hz for XR 6107743 2018/3/14\n if (!mContext.getResources().getBoolean(R.bool.def_Settings_typecode_enable)) {\n mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel());\n }\n //begin zhixiong.liu.hz for defect 7442064 20190213\n else if(mContext.getResources().getBoolean(R.bool.def_settings_typecode_system_summary_show)){\n mSummaryLoader.setSummary(this,mContext.getResources().getString(R.string.def_Settings_typecode));\n }\n //end zhixiong.liu.hz for defect 7442064 20190213\n //end zhixiong.liu.hz for XR 6107743 2018/3/14\n }\n }",
"public Builder discoveryPort(final Optional<Integer> maybeDiscoveryPort) {\n this.discoveryPort = maybeDiscoveryPort.filter(port -> port != 0);\n return this;\n }",
"String getBindAddress() {\n return bindAddress;\n }",
"void watchListenerData(int port, ListenerWatcher watcher) {\n }",
"InetSocketAddress peerAddress();",
"public Object[] getNameServerPorts() {\n\t\treturn _nameserverPorts.toArray();\n\t}",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"public int getTCPListeningPortNumber() {\n return (incoming_socketchannel_manager.getTCPListeningPortNumber());\n }",
"public static boolean isArray_addr() {\n return false;\n }",
"public List<PersistRequestBean<?>> listenerNotify() {\n return listenerNotify;\n }",
"public int getLocalPort() {\n return _listenSocket.getLocalPort();\n }",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"private List<Messages.Address> mapModelAddressToWireAddress(List<byte[]> addresses) {\n return addresses.stream().map(address -> Messages.Address.newBuilder()\n .setPort(6565)\n .setIpAddress(ByteString.copyFrom(address))\n .build())\n .collect(Collectors.toList());\n }",
"@Nullable public abstract String portRange();",
"default public int getBroadcastPort() \t\t\t\t\t{ return 2222; }",
"public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(\n int index) {\n return additionalBindings_.get(index);\n }",
"private static Set<InetSocketAddress> getNNAddresses(DistributedFileSystem fs,\n Configuration conf) {\n Set<InetSocketAddress> addresses = new HashSet<>();\n String serviceName = fs.getCanonicalServiceName();\n\n if (serviceName.startsWith(\"ha-hdfs\")) {\n try {\n Map<String, Map<String, InetSocketAddress>> addressMap =\n DFSUtil.getNNServiceRpcAddressesForCluster(conf);\n String nameService = serviceName.substring(serviceName.indexOf(\":\") + 1);\n if (addressMap.containsKey(nameService)) {\n Map<String, InetSocketAddress> nnMap = addressMap.get(nameService);\n for (Map.Entry<String, InetSocketAddress> e2 : nnMap.entrySet()) {\n InetSocketAddress addr = e2.getValue();\n addresses.add(addr);\n }\n }\n } catch (Exception e) {\n LOG.warn(\"DFSUtil.getNNServiceRpcAddresses failed. serviceName=\" + serviceName, e);\n }\n } else {\n URI uri = fs.getUri();\n int port = uri.getPort();\n if (port < 0) {\n int idx = serviceName.indexOf(':');\n port = Integer.parseInt(serviceName.substring(idx + 1));\n }\n InetSocketAddress addr = new InetSocketAddress(uri.getHost(), port);\n addresses.add(addr);\n }\n\n return addresses;\n }",
"public Iterator<Object> listeners() {\n return Arrays.asList(fListeners).iterator();\n }",
"public Vector<NetworkAddress> getHostAddresses(int type) {return addressesChecker.getAllMyAddresses(type); }",
"public abstract void addServiceListener(PhiDiscoverListener listener);",
"void addAnnouncedServers(ArrayList<ServerAddress> servers);",
"public List<Integer> bind(Integer... ports) {\n String boundPorts = sendRequest(\n request()\n .withMethod(\"PUT\")\n .withPath(calculatePath(\"bind\"))\n .withBody(portBindingSerializer.serialize(portBinding(ports)), StandardCharsets.UTF_8),\n true\n ).getBodyAsString();\n return portBindingSerializer.deserialize(boundPorts).getPorts();\n }",
"public List<String> getPorts()\n {\n return Arrays.asList(de.willuhn.jameica.hbci.passports.ddv.DDVConfig.PORTS);\n }",
"@Override\n List<PortDescription> discoverPortDetails();",
"public abstract void listen(ServiceConfig serviceConfig) throws IOException;",
"public String getBindAddress() {\n return agentConfig.getBindAddress();\n }",
"int getUdpServerPort();",
"public FakeDns addresses(List<InetAddress> addresses) {\n this.addresses = new ArrayList<>(addresses);\n return this;\n }",
"public List<String> getAddresses() throws RemoteException {\n\t\tList<String> addresses = new ArrayList<String>();\n\t\tif (this.registry != null) {\n\t\t\tfor (IServer server : this.serverList.getServers()) {\n\t\t\t\taddresses.add(server.getFullAddress());\n\t\t\t}\n\t\t}\n\t\treturn addresses;\n\t}",
"public void setHttpListener(Builder serverBuilder) {\n if (options.httpPort == -1) {\n log.info(\"HTTP listener is disabled.\");\n return;\n }\n if (options.httpPort < -1 || options.httpPort > MAX_PORT) {\n log.warn(\"Unallowed httpPort value. HTTP listener is disabled!\");\n return;\n }\n\n if (options.httpListenAddress != null)\n serverBuilder.addHttpListener(options.httpPort, options.httpListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addHttpListener(options.httpPort, hostAllInterfacesString);\n }\n\n log.info(\"HTTP listener created\");\n }",
"public Bounds bounds(String ipAddrsFile, String subnetsFile) throws IOException {\n\t\tfinal Map<String,NetNode> nodes = parseAddresses(ipAddrsFile);\n\t\tfinal Map<NetNode,Subnet> subnets = parseSubnets(subnetsFile, nodes);\n\n\t\tfinal Universe universe = universe(nodes.keySet());\n\t\tfinal Bounds bounds = new Bounds(universe);\n\t\tfinal TupleFactory factory = universe.factory();\n\n\t\t// bind the integers\n\t\tfor (int i = 0; i < 32; i++) {\n\t\t\tbounds.boundExactly(1 << i, factory.setOf(Integer.valueOf(1 << i)));\n\t\t}\n\n\t\t// bind the port relation exactly to the port names\n\t\tbounds.boundExactly(port, factory.range(factory.tuple(universe.atom(0)),\n\t\t\t\tfactory.tuple(universe.atom(nodes.keySet().size() - 1))));\n\n\t\t// bind the unknown relation exactly to the port names of ports with\n\t\t// unknown addresses or masks\n\t\tfinal TupleSet unknownBound = factory.noneOf(1);\n\t\tfor (NetNode n : nodes.values()) {\n\t\t\tif (!n.known()) {\n\t\t\t\tunknownBound.add(factory.tuple(n.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(unknown, unknownBound);\n\n\t\t// bind the subnet relation exactly, choosing the first element of each\n\t\t// subnet as the representative\n\t\tfinal TupleSet subnetBound = factory.noneOf(2);\n\t\tfor (Map.Entry<NetNode,Subnet> entry : subnets.entrySet()) {\n\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\tfor (NetNode member : entry.getValue().members) {\n\t\t\t\tsubnetBound.add(factory.tuple(rep.port, member.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(subnet, subnetBound);\n\n\t\t// bind the addr relation so that each address is guaranteed to be\n\t\t// between minAddr (121.96.0.0) and maxAddr (121.96.255.255), inclusive\n\t\tfinal TupleSet lAddr = factory.noneOf(2), uAddr = factory.noneOf(2);\n\t\tfor (NetNode node : nodes.values()) {\n\t\t\tif (node.varAddress) { // unknown address\n\t\t\t\tlAddr.addAll(portToBits(factory, node.port, minAddr));\n\t\t\t\tuAddr.addAll(portToBits(factory, node.port, maxAddr));\n\t\t\t} else { // known address\n\t\t\t\tfinal TupleSet portToAddrBits = portToBits(factory, node.port, node.address);\n\t\t\t\tlAddr.addAll(portToAddrBits);\n\t\t\t\tuAddr.addAll(portToAddrBits);\n\t\t\t}\n\t\t}\n\t\tbounds.bound(addr, lAddr, uAddr);\n\n\t\t// bind the group and groupMask relations so that all ports with the\n\t\t// same interface on the same subnet are guaranteed to have the same\n\t\t// mask\n\t\tfinal TupleSet lMask = factory.noneOf(2), uMask = factory.noneOf(2), groupBound = factory.noneOf(2);\n\t\tfor (Subnet sub : subnets.values()) {\n\t\t\tfor (Map.Entry<NetNode,Set<NetNode>> entry : sub.groups.entrySet()) {\n\t\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\t\tfor (NetNode member : entry.getValue()) {\n\t\t\t\t\tgroupBound.add(factory.tuple(member.port, rep.port));\n\t\t\t\t\tnodes.remove(member.port); // remove a grouped member out of\n\t\t\t\t\t\t\t\t\t\t\t\t// the addresses set\n\t\t\t\t}\n\t\t\t\tif (rep.varMask) { // unknown mask for the representative\n\t\t\t\t\tuMask.addAll(portToBits(factory, rep.port, 31));\n\t\t\t\t} else { // known mask for the representative\n\t\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, rep.port, rep.mask);\n\t\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// bind the group and groupMask relations for ports that are not a part\n\t\t// of any subnet\n\t\tfor (NetNode ungrouped : nodes.values()) {\n\t\t\tgroupBound.add(factory.tuple(ungrouped.port, ungrouped.port));\n\t\t\tif (ungrouped.varMask) { // unknown mask for the representative\n\t\t\t\tuMask.addAll(portToBits(factory, ungrouped.port, 31));\n\t\t\t} else { // known mask for the representative\n\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, ungrouped.port, ungrouped.mask);\n\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t}\n\t\t}\n\n\t\tbounds.bound(groupMask, lMask, uMask);\n\t\tbounds.boundExactly(group, groupBound);\n\n\t\t// System.out.println(\"groupMask.size: \" + uMask.size() + \", group.size:\n\t\t// \" + groupBound.size());\n\t\t// System.out.println(\"ports.size: \" + bounds.upperBound(port).size() +\n\t\t// \", unknown.size: \" + unknownBound.size());\n\t\treturn bounds;\n\n\t}",
"public ArrayList<String> getNameServerUrl() {\n\n if (nameListener.isServiceFound()) {\n return nameListener.getServiceURLs();\n }\n return new ArrayList<>();\n }",
"io.envoyproxy.envoy.data.dns.v3.DnsTable.AddressList getAddressList();",
"static public List<com.mongodb.ServerAddress> convertToServerAddressList(String serverAddresses){\n\t\tif (serverAddresses == null)\n\t\t\treturn null;\n\t\tList<com.mongodb.ServerAddress> svrAddrList = new ArrayList<com.mongodb.ServerAddress>();\n\t\tString[] serverAddressStrAry = serverAddresses.split(\";\");\n\t\tfor(int i=0; i<serverAddressStrAry.length; i++){\n\t\t\tString serverAddressStr = serverAddressStrAry[i];\n\t\t\tif (serverAddressStr.length() > 0){\n\t\t\t\tString[] serverAddressParts = serverAddressStr.split(\":\");\n\t\t\t\tif (serverAddressParts.length < 2){\n\t\t\t\t\tDemoBaseException.throwEx2(ErrCode.Dev_Common, \"serverAddressParts.length < 2\", serverAddresses,serverAddressStr);\n\t\t\t\t}\n\t\t\t\tString hostPart = serverAddressParts[0];\n\t\t\t\tString portPart = serverAddressParts[1].trim();\n\t\t\t\tint port = Integer.parseInt(portPart);\n\t\t\t\tcom.mongodb.ServerAddress srvAddress = new com.mongodb.ServerAddress(hostPart, port);\n\t\t\t\tsvrAddrList.add(srvAddress);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(svrAddrList+\"\");\n\t\t\n\t\treturn svrAddrList;\n\t}",
"@Required\n @Updatable\n public Set<Listener> getListener() {\n if (listener == null) {\n listener = new HashSet<>();\n }\n\n return listener;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public synchronized boolean isListening() {\n\t\treturn isListening;\n\t}",
"public org.nhind.config.Address[] getAddress() {\n return address;\n }",
"public abstract List<String> associateAddresses(NodeMetadata node);",
"public void setAddresses(List<String> addresses) {\n this.addresses = addresses;\n }",
"public Map<Range, List<EndPoint>> getRangeToEndpointMap()\n {\n return ssProxy.getRangeToEndPointMap();\n }",
"void addListener( ConfigurationListener listener );",
"public boolean hasReceiverAddress() {\n return fieldSetFlags()[19];\n }",
"@Override\r\n\tpublic boolean hasIpAddressSupport() {\n\t\treturn false;\r\n\t}",
"private ArrayList<ServerAddress> listenForResponses(DatagramSocket socket)\n\t\t\tthrows IOException {\n\t\tlong start = System.currentTimeMillis();\n\t\tbyte[] buf = new byte[10240];\n\t\tArrayList<ServerAddress> servers = new ArrayList<ServerAddress>();\n\n\t\t// Loop and try to receive responses until the timeout elapses. We'll\n\t\t// get\n\t\t// back the packet we just sent out, which isn't terribly helpful, but\n\t\t// we'll\n\t\t// discard it in parseResponse because the cmd is wrong.\n\t\ttry {\n\t\t\twhile (mReceiver != null) {\n\t\t\t\tDatagramPacket packet = new DatagramPacket(buf, buf.length);\n\t\t\t\tLog.d(TAG, \"Waiting for discovery response...\");\n\t\t\t\tsocket.receive(packet);\n\t\t\t\tString s = new String(packet.getData(), packet.getOffset(), packet.getLength());\n\t\t\t\tLog.d(TAG, \"Packet received after \"+ (System.currentTimeMillis() - start) + \" \" + s);\n\t\t\t\tInetAddress sourceAddress = packet.getAddress();\n\t\t\t\tLog.d(TAG, \"Parsing response...\");\n\t\t\t\tServerAddress server = parseResponse(s, sourceAddress\n\t\t\t\t\t\t/*((InetSocketAddress) packet.getSocketAddress())\n\t\t\t\t\t\t\t\t.getAddress()*/);\n\t\t\t\tif (server != null)\n\t\t\t\t\tservers.add(server);\n\t\t\t}\n\t\t} catch (SocketTimeoutException e) {\n\t\t\tLog.w(TAG, \"Receive timed out\");\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tLog.w(TAG, \"Failed to create a Server object from discovery response! Error: \"+e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn servers;\n\t}",
"public interface IFailureDetectionEventListener {\r\n\t/**\r\n\t * Convict the specified endpoint.\r\n\t * \r\n\t * @param ep\r\n\t * endpoint to be convicted\r\n\t */\r\n\tpublic void convict(InetAddress ep);\r\n\r\n}",
"@Test\n public void portConfiguration() throws IOException {\n initJadlerListeningOn(SocketUtils.findAvailableTcpPort());\n \n try {\n onRequest().respond().withStatus(EXPECTED_STATUS);\n assertExpectedStatus();\n }\n finally {\n closeJadler();\n }\n }"
] |
[
"0.7395131",
"0.7277722",
"0.71276444",
"0.6903526",
"0.6826338",
"0.6713869",
"0.66563314",
"0.65887254",
"0.6560918",
"0.6504121",
"0.6461965",
"0.6436128",
"0.6272197",
"0.6184819",
"0.6144155",
"0.6114009",
"0.60620165",
"0.5995614",
"0.5979992",
"0.5962518",
"0.5942519",
"0.5937237",
"0.5699445",
"0.53267246",
"0.5246208",
"0.5086586",
"0.50074285",
"0.49638063",
"0.48963773",
"0.48528293",
"0.48106834",
"0.48069602",
"0.4800829",
"0.4759629",
"0.47515127",
"0.46857798",
"0.4654009",
"0.4634134",
"0.45972246",
"0.4588829",
"0.4582533",
"0.45609134",
"0.45590398",
"0.45486316",
"0.45253113",
"0.45232356",
"0.45175627",
"0.45119178",
"0.45094073",
"0.449329",
"0.44869694",
"0.4478546",
"0.44524828",
"0.44420728",
"0.4441932",
"0.44370887",
"0.4432833",
"0.44201663",
"0.44022894",
"0.43953583",
"0.43928397",
"0.43829423",
"0.43829268",
"0.43676448",
"0.43629587",
"0.43627307",
"0.4357582",
"0.43533063",
"0.4347769",
"0.43441504",
"0.43407977",
"0.43353498",
"0.43337885",
"0.4332486",
"0.43289217",
"0.43254483",
"0.4322326",
"0.43203968",
"0.4315397",
"0.4276354",
"0.42736393",
"0.42716247",
"0.42678097",
"0.42663667",
"0.42655566",
"0.4259316",
"0.4247975",
"0.42439353",
"0.42439353",
"0.4239673",
"0.42393687",
"0.42302075",
"0.42250052",
"0.4223316",
"0.42196125",
"0.42132547",
"0.42059904",
"0.420265",
"0.41877952",
"0.41873944"
] |
0.7067325
|
3
|
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint. repeated .envoy.config.core.v3.Address listening_addresses = 11 [deprecated = true];
|
@java.lang.Override
@java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder>
getListeningAddressesOrBuilderList() {
return listeningAddresses_;
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(\n int index) {\n return listeningAddresses_.get(index);\n }",
"@java.lang.Override\n @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {\n return listeningAddresses_.get(index);\n }",
"@java.lang.Override\n @java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {\n return listeningAddresses_;\n }",
"@java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> \n getListeningAddressesOrBuilderList() {\n if (listeningAddressesBuilder_ != null) {\n return listeningAddressesBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(\n int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index); } else {\n return listeningAddressesBuilder_.getMessageOrBuilder(index);\n }\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {\n if (listeningAddressesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n } else {\n return listeningAddressesBuilder_.getMessageList();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index);\n } else {\n return listeningAddressesBuilder_.getMessage(index);\n }\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, value);\n }\n return this;\n }",
"@java.lang.Override\n @java.lang.Deprecated public int getListeningAddressesCount() {\n return listeningAddresses_.size();\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, value);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(value);\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder() {\n return getListeningAddressesFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"public abstract InetSocketAddress listeningAddress();",
"@java.lang.Deprecated public int getListeningAddressesCount() {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.size();\n } else {\n return listeningAddressesBuilder_.getCount();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"@java.lang.Deprecated public Builder addAllListeningAddresses(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Address> values) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, listeningAddresses_);\n onChanged();\n } else {\n listeningAddressesBuilder_.addAllMessages(values);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder getListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().getBuilder(index);\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address.Builder> \n getListeningAddressesBuilderList() {\n return getListeningAddressesFieldBuilder().getBuilderList();\n }",
"@java.lang.Deprecated public Builder clearListeningAddresses() {\n if (listeningAddressesBuilder_ == null) {\n listeningAddresses_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000004);\n onChanged();\n } else {\n listeningAddressesBuilder_.clear();\n }\n return this;\n }",
"public Builder listeningPort(final Optional<Integer> maybeListeningPort) {\n this.listeningPort = maybeListeningPort.filter(port -> port != 0);\n return this;\n }",
"public interface DsViaListenInterface extends DsListenInterface {\n\n /** @return port to be used as the source port of outgoing requests */\n public int getSourcePort();\n\n /** @return the interface to be used as the source port of outgoing requests */\n public InetAddress getSourceAddress();\n}",
"@java.lang.Deprecated public Builder removeListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.remove(index);\n onChanged();\n } else {\n listeningAddressesBuilder_.remove(index);\n }\n return this;\n }",
"public Builder listeningPort(final int listeningPort) {\n return listeningPort(Optional.of(listeningPort));\n }",
"public List<String> listeners();",
"@Deprecated\n public final void startListen() {\n startListening();\n }",
"@Override\n\tpublic Collection<InetSocketAddress> getAvaliableServers() {\n\t\treturn null;\n\t}",
"Integer listeningPort();",
"public interface PeersListener {\n public void onDiscoveringPeersRequest();\n public void onDiscoveringPeersRequestDone();\n public void onConnectToPeer(WifiP2pDevice peer);\n public boolean onIsWifiConnected();\n }",
"List<InboundNatRulePortMapping> inboundNatRulePortMappings();",
"public final int getPortListened() {\n return portListened;\n }",
"public synchronized void initListenInfo(@Nonnull String address, int port) {\n if (listenAddress != null) {\n throw new IllegalStateException(\"Already initialized\");\n }\n this.listenAddress = address;\n this.listenPort = port;\n }",
"List<String> getListenerTypes();",
"public static InetSocketAddress updateListenAddress(OzoneConfiguration conf,\n String addressKey, InetSocketAddress addr, InetSocketAddress listenAddr) {\n InetSocketAddress updatedAddr = new InetSocketAddress(addr.getHostString(),\n listenAddr.getPort());\n conf.set(addressKey,\n addr.getHostString() + \":\" + listenAddr.getPort());\n return updatedAddr;\n }",
"private void startListen() {\n try {\n listeningSocket = new ServerSocket(listeningPort);\n } catch (IOException e) {\n throw new RuntimeException(\"Cannot open listeningPort \" + listeningPort, e);\n }\n }",
"public List<Address> getWatchedAddresses() {\n try {\n List<Address> addresses = new LinkedList<Address>();\n for (Script script : watchedScripts)\n if (script.isSentToAddress())\n addresses.add(script.getToAddress(params));\n return addresses;\n } finally {\n }\n }",
"@Override\n public List<Address> getInterfaceAddresses() {\n List<Address> output = new ArrayList<>();\n\n Enumeration<NetworkInterface> ifaces;\n try {\n ifaces = NetworkInterface.getNetworkInterfaces();\n } catch (SocketException e) {\n // If we could not retrieve the network interface list, we\n // probably can't bind to any interface addresses either.\n return Collections.emptyList();\n }\n\n for (NetworkInterface iface : Collections.list(ifaces)) {\n // List the addresses associated with each interface.\n Enumeration<InetAddress> addresses = iface.getInetAddresses();\n for (InetAddress address : Collections.list(addresses)) {\n try {\n // Make an address object from each interface address, and\n // add it to the output list.\n output.add(Address.make(\"zmq://\" + address.getHostAddress() + \":\" + port));\n } catch (MalformedAddressException ignored) {\n // Should not be reachable.\n }\n }\n }\n\n return output;\n }",
"public void setAjpListener(Builder serverBuilder) {\n if (options.ajp13Port == -1)\n return;\n if (options.ajp13Port < -1 || options.ajp13Port > MAX_PORT) {\n log.warn(\"Unallowed ajp13Port value. AJP listener is disabled!\");\n return;\n }\n\n if (options.ajp13ListenAddress != null)\n serverBuilder.addAjpListener(options.ajp13Port, options.ajp13ListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addAjpListener(options.ajp13Port, hostAllInterfacesString);\n }\n\n log.info(\"AJP listener created\");\n }",
"public List<Integer> getAddrList() {\n\t\treturn this.addrList;\r\n\t}",
"long[] getAllServerSocketIds();",
"@Option int getLocalPortForUdpLinkLayer();",
"public static InetSocketAddress updateRPCListenAddress(\n OzoneConfiguration conf, String rpcAddressKey,\n InetSocketAddress addr, RPC.Server rpcServer) {\n return updateListenAddress(conf, rpcAddressKey, addr,\n rpcServer.getListenerAddress());\n }",
"public interface DiscoverPeersListener {\n\n\t/**\n\t * Called when P2P is discovered to not be enabled.\n\t */\n\tvoid onP2pNotEnabled();\n\n\t/**\n\t * Called when discoverPeers() is successful.\n\t */\n\tvoid onDiscoverPeersSuccess();\n\n\t/**\n\t * Called when discoverPeers() has failed.\n\t * @param reasonCode code for failure reason\n\t */\n\tvoid onDiscoverPeersFailure(final int reasonCode);\n}",
"public interface AddressListener {\n void onAddressReceived();\n}",
"@Override\n public List<String> getDnsServerAddresses()\n {\n final List<String> servers = new ArrayList<>();\n final Network network = getActiveNetwork();\n if (network == null) {\n return null;\n }\n\n LinkProperties linkProperties = connectivityManager.getLinkProperties(network);\n if (linkProperties == null) {\n return null;\n }\n\n int vpnOffset = 0;\n final NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network);\n final boolean isVpn = networkInfo != null && networkInfo.getType() == ConnectivityManager.TYPE_VPN;\n final List<String> v4v6Servers = getIPv4First(linkProperties.getDnsServers());\n // Timber.d(\"hasDefaultRoute: %s activeNetwork: %s || isVpn: %s || IP: %s\",\n // hasDefaultRoute(linkProperties), network, isVpn, toListOfStrings(linkProperties.getDnsServers()));\n\n if (isVpn) {\n servers.addAll(0, v4v6Servers);\n // vpnOffset += v4v6Servers.size();\n }\n // Prioritize the DNS servers of links which have a default route\n else if (hasDefaultRoute(linkProperties)) {\n servers.addAll(vpnOffset, v4v6Servers);\n }\n else {\n servers.addAll(v4v6Servers);\n }\n\n // Timber.d(\"dns Server Addresses (linkProperty): %s\", servers);\n return servers;\n }",
"public List<String> getAddresses() {\n return mIPs;\n }",
"public ArrayList getTaskListeners(){\n initListener();\n return listeners;\n }",
"@Override\n\tpublic boolean IsListening() {\n\t\treturn listening;\n\t}",
"public ONDEXListener[] getONDEXListeners() {\n return listeners.toArray(new ONDEXListener[0]);\n }",
"public PeerBuilder portsExternal(int port) {\n\t\tthis.udpPortForwarding = port;\n\t\tthis.tcpPortForwarding = port;\n\t\treturn this;\n\t}",
"@Override\n public void setListening(boolean listening) {\n if (listening) {\n //begin zhixiong.liu.hz for XR 6107743 2018/3/14\n if (!mContext.getResources().getBoolean(R.bool.def_Settings_typecode_enable)) {\n mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel());\n }\n //begin zhixiong.liu.hz for defect 7442064 20190213\n else if(mContext.getResources().getBoolean(R.bool.def_settings_typecode_system_summary_show)){\n mSummaryLoader.setSummary(this,mContext.getResources().getString(R.string.def_Settings_typecode));\n }\n //end zhixiong.liu.hz for defect 7442064 20190213\n //end zhixiong.liu.hz for XR 6107743 2018/3/14\n }\n }",
"public Builder discoveryPort(final Optional<Integer> maybeDiscoveryPort) {\n this.discoveryPort = maybeDiscoveryPort.filter(port -> port != 0);\n return this;\n }",
"String getBindAddress() {\n return bindAddress;\n }",
"void watchListenerData(int port, ListenerWatcher watcher) {\n }",
"InetSocketAddress peerAddress();",
"public Object[] getNameServerPorts() {\n\t\treturn _nameserverPorts.toArray();\n\t}",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"public int getTCPListeningPortNumber() {\n return (incoming_socketchannel_manager.getTCPListeningPortNumber());\n }",
"public static boolean isArray_addr() {\n return false;\n }",
"public List<PersistRequestBean<?>> listenerNotify() {\n return listenerNotify;\n }",
"public int getLocalPort() {\n return _listenSocket.getLocalPort();\n }",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"private List<Messages.Address> mapModelAddressToWireAddress(List<byte[]> addresses) {\n return addresses.stream().map(address -> Messages.Address.newBuilder()\n .setPort(6565)\n .setIpAddress(ByteString.copyFrom(address))\n .build())\n .collect(Collectors.toList());\n }",
"@Nullable public abstract String portRange();",
"default public int getBroadcastPort() \t\t\t\t\t{ return 2222; }",
"public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(\n int index) {\n return additionalBindings_.get(index);\n }",
"private static Set<InetSocketAddress> getNNAddresses(DistributedFileSystem fs,\n Configuration conf) {\n Set<InetSocketAddress> addresses = new HashSet<>();\n String serviceName = fs.getCanonicalServiceName();\n\n if (serviceName.startsWith(\"ha-hdfs\")) {\n try {\n Map<String, Map<String, InetSocketAddress>> addressMap =\n DFSUtil.getNNServiceRpcAddressesForCluster(conf);\n String nameService = serviceName.substring(serviceName.indexOf(\":\") + 1);\n if (addressMap.containsKey(nameService)) {\n Map<String, InetSocketAddress> nnMap = addressMap.get(nameService);\n for (Map.Entry<String, InetSocketAddress> e2 : nnMap.entrySet()) {\n InetSocketAddress addr = e2.getValue();\n addresses.add(addr);\n }\n }\n } catch (Exception e) {\n LOG.warn(\"DFSUtil.getNNServiceRpcAddresses failed. serviceName=\" + serviceName, e);\n }\n } else {\n URI uri = fs.getUri();\n int port = uri.getPort();\n if (port < 0) {\n int idx = serviceName.indexOf(':');\n port = Integer.parseInt(serviceName.substring(idx + 1));\n }\n InetSocketAddress addr = new InetSocketAddress(uri.getHost(), port);\n addresses.add(addr);\n }\n\n return addresses;\n }",
"public Iterator<Object> listeners() {\n return Arrays.asList(fListeners).iterator();\n }",
"public Vector<NetworkAddress> getHostAddresses(int type) {return addressesChecker.getAllMyAddresses(type); }",
"public abstract void addServiceListener(PhiDiscoverListener listener);",
"void addAnnouncedServers(ArrayList<ServerAddress> servers);",
"public List<Integer> bind(Integer... ports) {\n String boundPorts = sendRequest(\n request()\n .withMethod(\"PUT\")\n .withPath(calculatePath(\"bind\"))\n .withBody(portBindingSerializer.serialize(portBinding(ports)), StandardCharsets.UTF_8),\n true\n ).getBodyAsString();\n return portBindingSerializer.deserialize(boundPorts).getPorts();\n }",
"public List<String> getPorts()\n {\n return Arrays.asList(de.willuhn.jameica.hbci.passports.ddv.DDVConfig.PORTS);\n }",
"@Override\n List<PortDescription> discoverPortDetails();",
"public abstract void listen(ServiceConfig serviceConfig) throws IOException;",
"public String getBindAddress() {\n return agentConfig.getBindAddress();\n }",
"int getUdpServerPort();",
"public FakeDns addresses(List<InetAddress> addresses) {\n this.addresses = new ArrayList<>(addresses);\n return this;\n }",
"public List<String> getAddresses() throws RemoteException {\n\t\tList<String> addresses = new ArrayList<String>();\n\t\tif (this.registry != null) {\n\t\t\tfor (IServer server : this.serverList.getServers()) {\n\t\t\t\taddresses.add(server.getFullAddress());\n\t\t\t}\n\t\t}\n\t\treturn addresses;\n\t}",
"public void setHttpListener(Builder serverBuilder) {\n if (options.httpPort == -1) {\n log.info(\"HTTP listener is disabled.\");\n return;\n }\n if (options.httpPort < -1 || options.httpPort > MAX_PORT) {\n log.warn(\"Unallowed httpPort value. HTTP listener is disabled!\");\n return;\n }\n\n if (options.httpListenAddress != null)\n serverBuilder.addHttpListener(options.httpPort, options.httpListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addHttpListener(options.httpPort, hostAllInterfacesString);\n }\n\n log.info(\"HTTP listener created\");\n }",
"public Bounds bounds(String ipAddrsFile, String subnetsFile) throws IOException {\n\t\tfinal Map<String,NetNode> nodes = parseAddresses(ipAddrsFile);\n\t\tfinal Map<NetNode,Subnet> subnets = parseSubnets(subnetsFile, nodes);\n\n\t\tfinal Universe universe = universe(nodes.keySet());\n\t\tfinal Bounds bounds = new Bounds(universe);\n\t\tfinal TupleFactory factory = universe.factory();\n\n\t\t// bind the integers\n\t\tfor (int i = 0; i < 32; i++) {\n\t\t\tbounds.boundExactly(1 << i, factory.setOf(Integer.valueOf(1 << i)));\n\t\t}\n\n\t\t// bind the port relation exactly to the port names\n\t\tbounds.boundExactly(port, factory.range(factory.tuple(universe.atom(0)),\n\t\t\t\tfactory.tuple(universe.atom(nodes.keySet().size() - 1))));\n\n\t\t// bind the unknown relation exactly to the port names of ports with\n\t\t// unknown addresses or masks\n\t\tfinal TupleSet unknownBound = factory.noneOf(1);\n\t\tfor (NetNode n : nodes.values()) {\n\t\t\tif (!n.known()) {\n\t\t\t\tunknownBound.add(factory.tuple(n.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(unknown, unknownBound);\n\n\t\t// bind the subnet relation exactly, choosing the first element of each\n\t\t// subnet as the representative\n\t\tfinal TupleSet subnetBound = factory.noneOf(2);\n\t\tfor (Map.Entry<NetNode,Subnet> entry : subnets.entrySet()) {\n\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\tfor (NetNode member : entry.getValue().members) {\n\t\t\t\tsubnetBound.add(factory.tuple(rep.port, member.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(subnet, subnetBound);\n\n\t\t// bind the addr relation so that each address is guaranteed to be\n\t\t// between minAddr (121.96.0.0) and maxAddr (121.96.255.255), inclusive\n\t\tfinal TupleSet lAddr = factory.noneOf(2), uAddr = factory.noneOf(2);\n\t\tfor (NetNode node : nodes.values()) {\n\t\t\tif (node.varAddress) { // unknown address\n\t\t\t\tlAddr.addAll(portToBits(factory, node.port, minAddr));\n\t\t\t\tuAddr.addAll(portToBits(factory, node.port, maxAddr));\n\t\t\t} else { // known address\n\t\t\t\tfinal TupleSet portToAddrBits = portToBits(factory, node.port, node.address);\n\t\t\t\tlAddr.addAll(portToAddrBits);\n\t\t\t\tuAddr.addAll(portToAddrBits);\n\t\t\t}\n\t\t}\n\t\tbounds.bound(addr, lAddr, uAddr);\n\n\t\t// bind the group and groupMask relations so that all ports with the\n\t\t// same interface on the same subnet are guaranteed to have the same\n\t\t// mask\n\t\tfinal TupleSet lMask = factory.noneOf(2), uMask = factory.noneOf(2), groupBound = factory.noneOf(2);\n\t\tfor (Subnet sub : subnets.values()) {\n\t\t\tfor (Map.Entry<NetNode,Set<NetNode>> entry : sub.groups.entrySet()) {\n\t\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\t\tfor (NetNode member : entry.getValue()) {\n\t\t\t\t\tgroupBound.add(factory.tuple(member.port, rep.port));\n\t\t\t\t\tnodes.remove(member.port); // remove a grouped member out of\n\t\t\t\t\t\t\t\t\t\t\t\t// the addresses set\n\t\t\t\t}\n\t\t\t\tif (rep.varMask) { // unknown mask for the representative\n\t\t\t\t\tuMask.addAll(portToBits(factory, rep.port, 31));\n\t\t\t\t} else { // known mask for the representative\n\t\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, rep.port, rep.mask);\n\t\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// bind the group and groupMask relations for ports that are not a part\n\t\t// of any subnet\n\t\tfor (NetNode ungrouped : nodes.values()) {\n\t\t\tgroupBound.add(factory.tuple(ungrouped.port, ungrouped.port));\n\t\t\tif (ungrouped.varMask) { // unknown mask for the representative\n\t\t\t\tuMask.addAll(portToBits(factory, ungrouped.port, 31));\n\t\t\t} else { // known mask for the representative\n\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, ungrouped.port, ungrouped.mask);\n\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t}\n\t\t}\n\n\t\tbounds.bound(groupMask, lMask, uMask);\n\t\tbounds.boundExactly(group, groupBound);\n\n\t\t// System.out.println(\"groupMask.size: \" + uMask.size() + \", group.size:\n\t\t// \" + groupBound.size());\n\t\t// System.out.println(\"ports.size: \" + bounds.upperBound(port).size() +\n\t\t// \", unknown.size: \" + unknownBound.size());\n\t\treturn bounds;\n\n\t}",
"io.envoyproxy.envoy.data.dns.v3.DnsTable.AddressList getAddressList();",
"public ArrayList<String> getNameServerUrl() {\n\n if (nameListener.isServiceFound()) {\n return nameListener.getServiceURLs();\n }\n return new ArrayList<>();\n }",
"static public List<com.mongodb.ServerAddress> convertToServerAddressList(String serverAddresses){\n\t\tif (serverAddresses == null)\n\t\t\treturn null;\n\t\tList<com.mongodb.ServerAddress> svrAddrList = new ArrayList<com.mongodb.ServerAddress>();\n\t\tString[] serverAddressStrAry = serverAddresses.split(\";\");\n\t\tfor(int i=0; i<serverAddressStrAry.length; i++){\n\t\t\tString serverAddressStr = serverAddressStrAry[i];\n\t\t\tif (serverAddressStr.length() > 0){\n\t\t\t\tString[] serverAddressParts = serverAddressStr.split(\":\");\n\t\t\t\tif (serverAddressParts.length < 2){\n\t\t\t\t\tDemoBaseException.throwEx2(ErrCode.Dev_Common, \"serverAddressParts.length < 2\", serverAddresses,serverAddressStr);\n\t\t\t\t}\n\t\t\t\tString hostPart = serverAddressParts[0];\n\t\t\t\tString portPart = serverAddressParts[1].trim();\n\t\t\t\tint port = Integer.parseInt(portPart);\n\t\t\t\tcom.mongodb.ServerAddress srvAddress = new com.mongodb.ServerAddress(hostPart, port);\n\t\t\t\tsvrAddrList.add(srvAddress);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(svrAddrList+\"\");\n\t\t\n\t\treturn svrAddrList;\n\t}",
"@Required\n @Updatable\n public Set<Listener> getListener() {\n if (listener == null) {\n listener = new HashSet<>();\n }\n\n return listener;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public org.nhind.config.Address[] getAddress() {\n return address;\n }",
"public synchronized boolean isListening() {\n\t\treturn isListening;\n\t}",
"public abstract List<String> associateAddresses(NodeMetadata node);",
"public void setAddresses(List<String> addresses) {\n this.addresses = addresses;\n }",
"public Map<Range, List<EndPoint>> getRangeToEndpointMap()\n {\n return ssProxy.getRangeToEndPointMap();\n }",
"void addListener( ConfigurationListener listener );",
"public boolean hasReceiverAddress() {\n return fieldSetFlags()[19];\n }",
"@Override\r\n\tpublic boolean hasIpAddressSupport() {\n\t\treturn false;\r\n\t}",
"private ArrayList<ServerAddress> listenForResponses(DatagramSocket socket)\n\t\t\tthrows IOException {\n\t\tlong start = System.currentTimeMillis();\n\t\tbyte[] buf = new byte[10240];\n\t\tArrayList<ServerAddress> servers = new ArrayList<ServerAddress>();\n\n\t\t// Loop and try to receive responses until the timeout elapses. We'll\n\t\t// get\n\t\t// back the packet we just sent out, which isn't terribly helpful, but\n\t\t// we'll\n\t\t// discard it in parseResponse because the cmd is wrong.\n\t\ttry {\n\t\t\twhile (mReceiver != null) {\n\t\t\t\tDatagramPacket packet = new DatagramPacket(buf, buf.length);\n\t\t\t\tLog.d(TAG, \"Waiting for discovery response...\");\n\t\t\t\tsocket.receive(packet);\n\t\t\t\tString s = new String(packet.getData(), packet.getOffset(), packet.getLength());\n\t\t\t\tLog.d(TAG, \"Packet received after \"+ (System.currentTimeMillis() - start) + \" \" + s);\n\t\t\t\tInetAddress sourceAddress = packet.getAddress();\n\t\t\t\tLog.d(TAG, \"Parsing response...\");\n\t\t\t\tServerAddress server = parseResponse(s, sourceAddress\n\t\t\t\t\t\t/*((InetSocketAddress) packet.getSocketAddress())\n\t\t\t\t\t\t\t\t.getAddress()*/);\n\t\t\t\tif (server != null)\n\t\t\t\t\tservers.add(server);\n\t\t\t}\n\t\t} catch (SocketTimeoutException e) {\n\t\t\tLog.w(TAG, \"Receive timed out\");\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tLog.w(TAG, \"Failed to create a Server object from discovery response! Error: \"+e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn servers;\n\t}",
"public interface IFailureDetectionEventListener {\r\n\t/**\r\n\t * Convict the specified endpoint.\r\n\t * \r\n\t * @param ep\r\n\t * endpoint to be convicted\r\n\t */\r\n\tpublic void convict(InetAddress ep);\r\n\r\n}",
"@Test\n public void portConfiguration() throws IOException {\n initJadlerListeningOn(SocketUtils.findAvailableTcpPort());\n \n try {\n onRequest().respond().withStatus(EXPECTED_STATUS);\n assertExpectedStatus();\n }\n finally {\n closeJadler();\n }\n }"
] |
[
"0.73959684",
"0.71289015",
"0.7068962",
"0.6904901",
"0.6827096",
"0.67153555",
"0.66574967",
"0.65887994",
"0.6562259",
"0.6504933",
"0.6462406",
"0.6436186",
"0.6271347",
"0.61861837",
"0.6144026",
"0.6114995",
"0.6062084",
"0.59963584",
"0.59806526",
"0.5962941",
"0.5944009",
"0.59378785",
"0.5698049",
"0.5325757",
"0.5247557",
"0.50848603",
"0.5008278",
"0.49637008",
"0.48966292",
"0.4852978",
"0.4810838",
"0.48080966",
"0.48011371",
"0.47593004",
"0.47521374",
"0.4684424",
"0.46535823",
"0.46355677",
"0.45981485",
"0.45888916",
"0.45845473",
"0.45626593",
"0.4559353",
"0.45474252",
"0.45265126",
"0.45229697",
"0.45171234",
"0.451292",
"0.45107266",
"0.44939032",
"0.44884577",
"0.4478988",
"0.4451856",
"0.44426325",
"0.44413662",
"0.44382098",
"0.44324818",
"0.44214186",
"0.44035178",
"0.43953785",
"0.43937764",
"0.43839315",
"0.43830127",
"0.43689075",
"0.43641895",
"0.43631613",
"0.43583196",
"0.4353298",
"0.4348967",
"0.43458718",
"0.43411097",
"0.43349218",
"0.4333534",
"0.43328124",
"0.4329953",
"0.43272802",
"0.43220767",
"0.4320315",
"0.43160605",
"0.42777002",
"0.4274659",
"0.42718473",
"0.42669976",
"0.4266475",
"0.4266057",
"0.42601675",
"0.42486933",
"0.42445773",
"0.42445773",
"0.42405778",
"0.42403498",
"0.4230588",
"0.42259738",
"0.42248413",
"0.42188233",
"0.4214543",
"0.4205706",
"0.42030644",
"0.41892007",
"0.41884607"
] |
0.72792095
|
1
|
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint. repeated .envoy.config.core.v3.Address listening_addresses = 11 [deprecated = true];
|
@java.lang.Override
@java.lang.Deprecated public int getListeningAddressesCount() {
return listeningAddresses_.size();
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(\n int index) {\n return listeningAddresses_.get(index);\n }",
"@java.lang.Override\n @java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> \n getListeningAddressesOrBuilderList() {\n return listeningAddresses_;\n }",
"@java.lang.Override\n @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {\n return listeningAddresses_.get(index);\n }",
"@java.lang.Override\n @java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {\n return listeningAddresses_;\n }",
"@java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> \n getListeningAddressesOrBuilderList() {\n if (listeningAddressesBuilder_ != null) {\n return listeningAddressesBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(\n int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index); } else {\n return listeningAddressesBuilder_.getMessageOrBuilder(index);\n }\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {\n if (listeningAddressesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n } else {\n return listeningAddressesBuilder_.getMessageList();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index);\n } else {\n return listeningAddressesBuilder_.getMessage(index);\n }\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, value);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, value);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(value);\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder() {\n return getListeningAddressesFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"public abstract InetSocketAddress listeningAddress();",
"@java.lang.Deprecated public int getListeningAddressesCount() {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.size();\n } else {\n return listeningAddressesBuilder_.getCount();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"@java.lang.Deprecated public Builder addAllListeningAddresses(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Address> values) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, listeningAddresses_);\n onChanged();\n } else {\n listeningAddressesBuilder_.addAllMessages(values);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder getListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().getBuilder(index);\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address.Builder> \n getListeningAddressesBuilderList() {\n return getListeningAddressesFieldBuilder().getBuilderList();\n }",
"@java.lang.Deprecated public Builder clearListeningAddresses() {\n if (listeningAddressesBuilder_ == null) {\n listeningAddresses_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000004);\n onChanged();\n } else {\n listeningAddressesBuilder_.clear();\n }\n return this;\n }",
"public Builder listeningPort(final Optional<Integer> maybeListeningPort) {\n this.listeningPort = maybeListeningPort.filter(port -> port != 0);\n return this;\n }",
"public interface DsViaListenInterface extends DsListenInterface {\n\n /** @return port to be used as the source port of outgoing requests */\n public int getSourcePort();\n\n /** @return the interface to be used as the source port of outgoing requests */\n public InetAddress getSourceAddress();\n}",
"@java.lang.Deprecated public Builder removeListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.remove(index);\n onChanged();\n } else {\n listeningAddressesBuilder_.remove(index);\n }\n return this;\n }",
"public Builder listeningPort(final int listeningPort) {\n return listeningPort(Optional.of(listeningPort));\n }",
"public List<String> listeners();",
"@Deprecated\n public final void startListen() {\n startListening();\n }",
"@Override\n\tpublic Collection<InetSocketAddress> getAvaliableServers() {\n\t\treturn null;\n\t}",
"Integer listeningPort();",
"public interface PeersListener {\n public void onDiscoveringPeersRequest();\n public void onDiscoveringPeersRequestDone();\n public void onConnectToPeer(WifiP2pDevice peer);\n public boolean onIsWifiConnected();\n }",
"List<InboundNatRulePortMapping> inboundNatRulePortMappings();",
"public final int getPortListened() {\n return portListened;\n }",
"public synchronized void initListenInfo(@Nonnull String address, int port) {\n if (listenAddress != null) {\n throw new IllegalStateException(\"Already initialized\");\n }\n this.listenAddress = address;\n this.listenPort = port;\n }",
"List<String> getListenerTypes();",
"public static InetSocketAddress updateListenAddress(OzoneConfiguration conf,\n String addressKey, InetSocketAddress addr, InetSocketAddress listenAddr) {\n InetSocketAddress updatedAddr = new InetSocketAddress(addr.getHostString(),\n listenAddr.getPort());\n conf.set(addressKey,\n addr.getHostString() + \":\" + listenAddr.getPort());\n return updatedAddr;\n }",
"private void startListen() {\n try {\n listeningSocket = new ServerSocket(listeningPort);\n } catch (IOException e) {\n throw new RuntimeException(\"Cannot open listeningPort \" + listeningPort, e);\n }\n }",
"public List<Address> getWatchedAddresses() {\n try {\n List<Address> addresses = new LinkedList<Address>();\n for (Script script : watchedScripts)\n if (script.isSentToAddress())\n addresses.add(script.getToAddress(params));\n return addresses;\n } finally {\n }\n }",
"@Override\n public List<Address> getInterfaceAddresses() {\n List<Address> output = new ArrayList<>();\n\n Enumeration<NetworkInterface> ifaces;\n try {\n ifaces = NetworkInterface.getNetworkInterfaces();\n } catch (SocketException e) {\n // If we could not retrieve the network interface list, we\n // probably can't bind to any interface addresses either.\n return Collections.emptyList();\n }\n\n for (NetworkInterface iface : Collections.list(ifaces)) {\n // List the addresses associated with each interface.\n Enumeration<InetAddress> addresses = iface.getInetAddresses();\n for (InetAddress address : Collections.list(addresses)) {\n try {\n // Make an address object from each interface address, and\n // add it to the output list.\n output.add(Address.make(\"zmq://\" + address.getHostAddress() + \":\" + port));\n } catch (MalformedAddressException ignored) {\n // Should not be reachable.\n }\n }\n }\n\n return output;\n }",
"public void setAjpListener(Builder serverBuilder) {\n if (options.ajp13Port == -1)\n return;\n if (options.ajp13Port < -1 || options.ajp13Port > MAX_PORT) {\n log.warn(\"Unallowed ajp13Port value. AJP listener is disabled!\");\n return;\n }\n\n if (options.ajp13ListenAddress != null)\n serverBuilder.addAjpListener(options.ajp13Port, options.ajp13ListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addAjpListener(options.ajp13Port, hostAllInterfacesString);\n }\n\n log.info(\"AJP listener created\");\n }",
"public List<Integer> getAddrList() {\n\t\treturn this.addrList;\r\n\t}",
"long[] getAllServerSocketIds();",
"@Option int getLocalPortForUdpLinkLayer();",
"public static InetSocketAddress updateRPCListenAddress(\n OzoneConfiguration conf, String rpcAddressKey,\n InetSocketAddress addr, RPC.Server rpcServer) {\n return updateListenAddress(conf, rpcAddressKey, addr,\n rpcServer.getListenerAddress());\n }",
"public interface DiscoverPeersListener {\n\n\t/**\n\t * Called when P2P is discovered to not be enabled.\n\t */\n\tvoid onP2pNotEnabled();\n\n\t/**\n\t * Called when discoverPeers() is successful.\n\t */\n\tvoid onDiscoverPeersSuccess();\n\n\t/**\n\t * Called when discoverPeers() has failed.\n\t * @param reasonCode code for failure reason\n\t */\n\tvoid onDiscoverPeersFailure(final int reasonCode);\n}",
"public interface AddressListener {\n void onAddressReceived();\n}",
"@Override\n public List<String> getDnsServerAddresses()\n {\n final List<String> servers = new ArrayList<>();\n final Network network = getActiveNetwork();\n if (network == null) {\n return null;\n }\n\n LinkProperties linkProperties = connectivityManager.getLinkProperties(network);\n if (linkProperties == null) {\n return null;\n }\n\n int vpnOffset = 0;\n final NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network);\n final boolean isVpn = networkInfo != null && networkInfo.getType() == ConnectivityManager.TYPE_VPN;\n final List<String> v4v6Servers = getIPv4First(linkProperties.getDnsServers());\n // Timber.d(\"hasDefaultRoute: %s activeNetwork: %s || isVpn: %s || IP: %s\",\n // hasDefaultRoute(linkProperties), network, isVpn, toListOfStrings(linkProperties.getDnsServers()));\n\n if (isVpn) {\n servers.addAll(0, v4v6Servers);\n // vpnOffset += v4v6Servers.size();\n }\n // Prioritize the DNS servers of links which have a default route\n else if (hasDefaultRoute(linkProperties)) {\n servers.addAll(vpnOffset, v4v6Servers);\n }\n else {\n servers.addAll(v4v6Servers);\n }\n\n // Timber.d(\"dns Server Addresses (linkProperty): %s\", servers);\n return servers;\n }",
"public List<String> getAddresses() {\n return mIPs;\n }",
"public ArrayList getTaskListeners(){\n initListener();\n return listeners;\n }",
"@Override\n\tpublic boolean IsListening() {\n\t\treturn listening;\n\t}",
"public ONDEXListener[] getONDEXListeners() {\n return listeners.toArray(new ONDEXListener[0]);\n }",
"public PeerBuilder portsExternal(int port) {\n\t\tthis.udpPortForwarding = port;\n\t\tthis.tcpPortForwarding = port;\n\t\treturn this;\n\t}",
"@Override\n public void setListening(boolean listening) {\n if (listening) {\n //begin zhixiong.liu.hz for XR 6107743 2018/3/14\n if (!mContext.getResources().getBoolean(R.bool.def_Settings_typecode_enable)) {\n mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel());\n }\n //begin zhixiong.liu.hz for defect 7442064 20190213\n else if(mContext.getResources().getBoolean(R.bool.def_settings_typecode_system_summary_show)){\n mSummaryLoader.setSummary(this,mContext.getResources().getString(R.string.def_Settings_typecode));\n }\n //end zhixiong.liu.hz for defect 7442064 20190213\n //end zhixiong.liu.hz for XR 6107743 2018/3/14\n }\n }",
"public Builder discoveryPort(final Optional<Integer> maybeDiscoveryPort) {\n this.discoveryPort = maybeDiscoveryPort.filter(port -> port != 0);\n return this;\n }",
"String getBindAddress() {\n return bindAddress;\n }",
"void watchListenerData(int port, ListenerWatcher watcher) {\n }",
"InetSocketAddress peerAddress();",
"public Object[] getNameServerPorts() {\n\t\treturn _nameserverPorts.toArray();\n\t}",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"public int getTCPListeningPortNumber() {\n return (incoming_socketchannel_manager.getTCPListeningPortNumber());\n }",
"public static boolean isArray_addr() {\n return false;\n }",
"public List<PersistRequestBean<?>> listenerNotify() {\n return listenerNotify;\n }",
"public int getLocalPort() {\n return _listenSocket.getLocalPort();\n }",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"private List<Messages.Address> mapModelAddressToWireAddress(List<byte[]> addresses) {\n return addresses.stream().map(address -> Messages.Address.newBuilder()\n .setPort(6565)\n .setIpAddress(ByteString.copyFrom(address))\n .build())\n .collect(Collectors.toList());\n }",
"@Nullable public abstract String portRange();",
"default public int getBroadcastPort() \t\t\t\t\t{ return 2222; }",
"public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(\n int index) {\n return additionalBindings_.get(index);\n }",
"private static Set<InetSocketAddress> getNNAddresses(DistributedFileSystem fs,\n Configuration conf) {\n Set<InetSocketAddress> addresses = new HashSet<>();\n String serviceName = fs.getCanonicalServiceName();\n\n if (serviceName.startsWith(\"ha-hdfs\")) {\n try {\n Map<String, Map<String, InetSocketAddress>> addressMap =\n DFSUtil.getNNServiceRpcAddressesForCluster(conf);\n String nameService = serviceName.substring(serviceName.indexOf(\":\") + 1);\n if (addressMap.containsKey(nameService)) {\n Map<String, InetSocketAddress> nnMap = addressMap.get(nameService);\n for (Map.Entry<String, InetSocketAddress> e2 : nnMap.entrySet()) {\n InetSocketAddress addr = e2.getValue();\n addresses.add(addr);\n }\n }\n } catch (Exception e) {\n LOG.warn(\"DFSUtil.getNNServiceRpcAddresses failed. serviceName=\" + serviceName, e);\n }\n } else {\n URI uri = fs.getUri();\n int port = uri.getPort();\n if (port < 0) {\n int idx = serviceName.indexOf(':');\n port = Integer.parseInt(serviceName.substring(idx + 1));\n }\n InetSocketAddress addr = new InetSocketAddress(uri.getHost(), port);\n addresses.add(addr);\n }\n\n return addresses;\n }",
"public Iterator<Object> listeners() {\n return Arrays.asList(fListeners).iterator();\n }",
"public Vector<NetworkAddress> getHostAddresses(int type) {return addressesChecker.getAllMyAddresses(type); }",
"public abstract void addServiceListener(PhiDiscoverListener listener);",
"void addAnnouncedServers(ArrayList<ServerAddress> servers);",
"public List<Integer> bind(Integer... ports) {\n String boundPorts = sendRequest(\n request()\n .withMethod(\"PUT\")\n .withPath(calculatePath(\"bind\"))\n .withBody(portBindingSerializer.serialize(portBinding(ports)), StandardCharsets.UTF_8),\n true\n ).getBodyAsString();\n return portBindingSerializer.deserialize(boundPorts).getPorts();\n }",
"public List<String> getPorts()\n {\n return Arrays.asList(de.willuhn.jameica.hbci.passports.ddv.DDVConfig.PORTS);\n }",
"@Override\n List<PortDescription> discoverPortDetails();",
"public abstract void listen(ServiceConfig serviceConfig) throws IOException;",
"public String getBindAddress() {\n return agentConfig.getBindAddress();\n }",
"int getUdpServerPort();",
"public FakeDns addresses(List<InetAddress> addresses) {\n this.addresses = new ArrayList<>(addresses);\n return this;\n }",
"public List<String> getAddresses() throws RemoteException {\n\t\tList<String> addresses = new ArrayList<String>();\n\t\tif (this.registry != null) {\n\t\t\tfor (IServer server : this.serverList.getServers()) {\n\t\t\t\taddresses.add(server.getFullAddress());\n\t\t\t}\n\t\t}\n\t\treturn addresses;\n\t}",
"public void setHttpListener(Builder serverBuilder) {\n if (options.httpPort == -1) {\n log.info(\"HTTP listener is disabled.\");\n return;\n }\n if (options.httpPort < -1 || options.httpPort > MAX_PORT) {\n log.warn(\"Unallowed httpPort value. HTTP listener is disabled!\");\n return;\n }\n\n if (options.httpListenAddress != null)\n serverBuilder.addHttpListener(options.httpPort, options.httpListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addHttpListener(options.httpPort, hostAllInterfacesString);\n }\n\n log.info(\"HTTP listener created\");\n }",
"public Bounds bounds(String ipAddrsFile, String subnetsFile) throws IOException {\n\t\tfinal Map<String,NetNode> nodes = parseAddresses(ipAddrsFile);\n\t\tfinal Map<NetNode,Subnet> subnets = parseSubnets(subnetsFile, nodes);\n\n\t\tfinal Universe universe = universe(nodes.keySet());\n\t\tfinal Bounds bounds = new Bounds(universe);\n\t\tfinal TupleFactory factory = universe.factory();\n\n\t\t// bind the integers\n\t\tfor (int i = 0; i < 32; i++) {\n\t\t\tbounds.boundExactly(1 << i, factory.setOf(Integer.valueOf(1 << i)));\n\t\t}\n\n\t\t// bind the port relation exactly to the port names\n\t\tbounds.boundExactly(port, factory.range(factory.tuple(universe.atom(0)),\n\t\t\t\tfactory.tuple(universe.atom(nodes.keySet().size() - 1))));\n\n\t\t// bind the unknown relation exactly to the port names of ports with\n\t\t// unknown addresses or masks\n\t\tfinal TupleSet unknownBound = factory.noneOf(1);\n\t\tfor (NetNode n : nodes.values()) {\n\t\t\tif (!n.known()) {\n\t\t\t\tunknownBound.add(factory.tuple(n.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(unknown, unknownBound);\n\n\t\t// bind the subnet relation exactly, choosing the first element of each\n\t\t// subnet as the representative\n\t\tfinal TupleSet subnetBound = factory.noneOf(2);\n\t\tfor (Map.Entry<NetNode,Subnet> entry : subnets.entrySet()) {\n\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\tfor (NetNode member : entry.getValue().members) {\n\t\t\t\tsubnetBound.add(factory.tuple(rep.port, member.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(subnet, subnetBound);\n\n\t\t// bind the addr relation so that each address is guaranteed to be\n\t\t// between minAddr (121.96.0.0) and maxAddr (121.96.255.255), inclusive\n\t\tfinal TupleSet lAddr = factory.noneOf(2), uAddr = factory.noneOf(2);\n\t\tfor (NetNode node : nodes.values()) {\n\t\t\tif (node.varAddress) { // unknown address\n\t\t\t\tlAddr.addAll(portToBits(factory, node.port, minAddr));\n\t\t\t\tuAddr.addAll(portToBits(factory, node.port, maxAddr));\n\t\t\t} else { // known address\n\t\t\t\tfinal TupleSet portToAddrBits = portToBits(factory, node.port, node.address);\n\t\t\t\tlAddr.addAll(portToAddrBits);\n\t\t\t\tuAddr.addAll(portToAddrBits);\n\t\t\t}\n\t\t}\n\t\tbounds.bound(addr, lAddr, uAddr);\n\n\t\t// bind the group and groupMask relations so that all ports with the\n\t\t// same interface on the same subnet are guaranteed to have the same\n\t\t// mask\n\t\tfinal TupleSet lMask = factory.noneOf(2), uMask = factory.noneOf(2), groupBound = factory.noneOf(2);\n\t\tfor (Subnet sub : subnets.values()) {\n\t\t\tfor (Map.Entry<NetNode,Set<NetNode>> entry : sub.groups.entrySet()) {\n\t\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\t\tfor (NetNode member : entry.getValue()) {\n\t\t\t\t\tgroupBound.add(factory.tuple(member.port, rep.port));\n\t\t\t\t\tnodes.remove(member.port); // remove a grouped member out of\n\t\t\t\t\t\t\t\t\t\t\t\t// the addresses set\n\t\t\t\t}\n\t\t\t\tif (rep.varMask) { // unknown mask for the representative\n\t\t\t\t\tuMask.addAll(portToBits(factory, rep.port, 31));\n\t\t\t\t} else { // known mask for the representative\n\t\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, rep.port, rep.mask);\n\t\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// bind the group and groupMask relations for ports that are not a part\n\t\t// of any subnet\n\t\tfor (NetNode ungrouped : nodes.values()) {\n\t\t\tgroupBound.add(factory.tuple(ungrouped.port, ungrouped.port));\n\t\t\tif (ungrouped.varMask) { // unknown mask for the representative\n\t\t\t\tuMask.addAll(portToBits(factory, ungrouped.port, 31));\n\t\t\t} else { // known mask for the representative\n\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, ungrouped.port, ungrouped.mask);\n\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t}\n\t\t}\n\n\t\tbounds.bound(groupMask, lMask, uMask);\n\t\tbounds.boundExactly(group, groupBound);\n\n\t\t// System.out.println(\"groupMask.size: \" + uMask.size() + \", group.size:\n\t\t// \" + groupBound.size());\n\t\t// System.out.println(\"ports.size: \" + bounds.upperBound(port).size() +\n\t\t// \", unknown.size: \" + unknownBound.size());\n\t\treturn bounds;\n\n\t}",
"public ArrayList<String> getNameServerUrl() {\n\n if (nameListener.isServiceFound()) {\n return nameListener.getServiceURLs();\n }\n return new ArrayList<>();\n }",
"io.envoyproxy.envoy.data.dns.v3.DnsTable.AddressList getAddressList();",
"static public List<com.mongodb.ServerAddress> convertToServerAddressList(String serverAddresses){\n\t\tif (serverAddresses == null)\n\t\t\treturn null;\n\t\tList<com.mongodb.ServerAddress> svrAddrList = new ArrayList<com.mongodb.ServerAddress>();\n\t\tString[] serverAddressStrAry = serverAddresses.split(\";\");\n\t\tfor(int i=0; i<serverAddressStrAry.length; i++){\n\t\t\tString serverAddressStr = serverAddressStrAry[i];\n\t\t\tif (serverAddressStr.length() > 0){\n\t\t\t\tString[] serverAddressParts = serverAddressStr.split(\":\");\n\t\t\t\tif (serverAddressParts.length < 2){\n\t\t\t\t\tDemoBaseException.throwEx2(ErrCode.Dev_Common, \"serverAddressParts.length < 2\", serverAddresses,serverAddressStr);\n\t\t\t\t}\n\t\t\t\tString hostPart = serverAddressParts[0];\n\t\t\t\tString portPart = serverAddressParts[1].trim();\n\t\t\t\tint port = Integer.parseInt(portPart);\n\t\t\t\tcom.mongodb.ServerAddress srvAddress = new com.mongodb.ServerAddress(hostPart, port);\n\t\t\t\tsvrAddrList.add(srvAddress);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(svrAddrList+\"\");\n\t\t\n\t\treturn svrAddrList;\n\t}",
"@Required\n @Updatable\n public Set<Listener> getListener() {\n if (listener == null) {\n listener = new HashSet<>();\n }\n\n return listener;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public synchronized boolean isListening() {\n\t\treturn isListening;\n\t}",
"public org.nhind.config.Address[] getAddress() {\n return address;\n }",
"public abstract List<String> associateAddresses(NodeMetadata node);",
"public void setAddresses(List<String> addresses) {\n this.addresses = addresses;\n }",
"public Map<Range, List<EndPoint>> getRangeToEndpointMap()\n {\n return ssProxy.getRangeToEndPointMap();\n }",
"void addListener( ConfigurationListener listener );",
"public boolean hasReceiverAddress() {\n return fieldSetFlags()[19];\n }",
"@Override\r\n\tpublic boolean hasIpAddressSupport() {\n\t\treturn false;\r\n\t}",
"private ArrayList<ServerAddress> listenForResponses(DatagramSocket socket)\n\t\t\tthrows IOException {\n\t\tlong start = System.currentTimeMillis();\n\t\tbyte[] buf = new byte[10240];\n\t\tArrayList<ServerAddress> servers = new ArrayList<ServerAddress>();\n\n\t\t// Loop and try to receive responses until the timeout elapses. We'll\n\t\t// get\n\t\t// back the packet we just sent out, which isn't terribly helpful, but\n\t\t// we'll\n\t\t// discard it in parseResponse because the cmd is wrong.\n\t\ttry {\n\t\t\twhile (mReceiver != null) {\n\t\t\t\tDatagramPacket packet = new DatagramPacket(buf, buf.length);\n\t\t\t\tLog.d(TAG, \"Waiting for discovery response...\");\n\t\t\t\tsocket.receive(packet);\n\t\t\t\tString s = new String(packet.getData(), packet.getOffset(), packet.getLength());\n\t\t\t\tLog.d(TAG, \"Packet received after \"+ (System.currentTimeMillis() - start) + \" \" + s);\n\t\t\t\tInetAddress sourceAddress = packet.getAddress();\n\t\t\t\tLog.d(TAG, \"Parsing response...\");\n\t\t\t\tServerAddress server = parseResponse(s, sourceAddress\n\t\t\t\t\t\t/*((InetSocketAddress) packet.getSocketAddress())\n\t\t\t\t\t\t\t\t.getAddress()*/);\n\t\t\t\tif (server != null)\n\t\t\t\t\tservers.add(server);\n\t\t\t}\n\t\t} catch (SocketTimeoutException e) {\n\t\t\tLog.w(TAG, \"Receive timed out\");\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tLog.w(TAG, \"Failed to create a Server object from discovery response! Error: \"+e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn servers;\n\t}",
"public interface IFailureDetectionEventListener {\r\n\t/**\r\n\t * Convict the specified endpoint.\r\n\t * \r\n\t * @param ep\r\n\t * endpoint to be convicted\r\n\t */\r\n\tpublic void convict(InetAddress ep);\r\n\r\n}",
"@Test\n public void portConfiguration() throws IOException {\n initJadlerListeningOn(SocketUtils.findAvailableTcpPort());\n \n try {\n onRequest().respond().withStatus(EXPECTED_STATUS);\n assertExpectedStatus();\n }\n finally {\n closeJadler();\n }\n }"
] |
[
"0.7395131",
"0.7277722",
"0.71276444",
"0.7067325",
"0.6903526",
"0.6826338",
"0.6713869",
"0.66563314",
"0.65887254",
"0.6504121",
"0.6461965",
"0.6436128",
"0.6272197",
"0.6184819",
"0.6144155",
"0.6114009",
"0.60620165",
"0.5995614",
"0.5979992",
"0.5962518",
"0.5942519",
"0.5937237",
"0.5699445",
"0.53267246",
"0.5246208",
"0.5086586",
"0.50074285",
"0.49638063",
"0.48963773",
"0.48528293",
"0.48106834",
"0.48069602",
"0.4800829",
"0.4759629",
"0.47515127",
"0.46857798",
"0.4654009",
"0.4634134",
"0.45972246",
"0.4588829",
"0.4582533",
"0.45609134",
"0.45590398",
"0.45486316",
"0.45253113",
"0.45232356",
"0.45175627",
"0.45119178",
"0.45094073",
"0.449329",
"0.44869694",
"0.4478546",
"0.44524828",
"0.44420728",
"0.4441932",
"0.44370887",
"0.4432833",
"0.44201663",
"0.44022894",
"0.43953583",
"0.43928397",
"0.43829423",
"0.43829268",
"0.43676448",
"0.43629587",
"0.43627307",
"0.4357582",
"0.43533063",
"0.4347769",
"0.43441504",
"0.43407977",
"0.43353498",
"0.43337885",
"0.4332486",
"0.43289217",
"0.43254483",
"0.4322326",
"0.43203968",
"0.4315397",
"0.4276354",
"0.42736393",
"0.42716247",
"0.42678097",
"0.42663667",
"0.42655566",
"0.4259316",
"0.4247975",
"0.42439353",
"0.42439353",
"0.4239673",
"0.42393687",
"0.42302075",
"0.42250052",
"0.4223316",
"0.42196125",
"0.42132547",
"0.42059904",
"0.420265",
"0.41877952",
"0.41873944"
] |
0.6560918
|
9
|
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint. repeated .envoy.config.core.v3.Address listening_addresses = 11 [deprecated = true];
|
@java.lang.Override
@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {
return listeningAddresses_.get(index);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(\n int index) {\n return listeningAddresses_.get(index);\n }",
"@java.lang.Override\n @java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> \n getListeningAddressesOrBuilderList() {\n return listeningAddresses_;\n }",
"@java.lang.Override\n @java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {\n return listeningAddresses_;\n }",
"@java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> \n getListeningAddressesOrBuilderList() {\n if (listeningAddressesBuilder_ != null) {\n return listeningAddressesBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(\n int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index); } else {\n return listeningAddressesBuilder_.getMessageOrBuilder(index);\n }\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {\n if (listeningAddressesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n } else {\n return listeningAddressesBuilder_.getMessageList();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index);\n } else {\n return listeningAddressesBuilder_.getMessage(index);\n }\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, value);\n }\n return this;\n }",
"@java.lang.Override\n @java.lang.Deprecated public int getListeningAddressesCount() {\n return listeningAddresses_.size();\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, value);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(value);\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder() {\n return getListeningAddressesFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"public abstract InetSocketAddress listeningAddress();",
"@java.lang.Deprecated public int getListeningAddressesCount() {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.size();\n } else {\n return listeningAddressesBuilder_.getCount();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"@java.lang.Deprecated public Builder addAllListeningAddresses(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Address> values) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, listeningAddresses_);\n onChanged();\n } else {\n listeningAddressesBuilder_.addAllMessages(values);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder getListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().getBuilder(index);\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address.Builder> \n getListeningAddressesBuilderList() {\n return getListeningAddressesFieldBuilder().getBuilderList();\n }",
"@java.lang.Deprecated public Builder clearListeningAddresses() {\n if (listeningAddressesBuilder_ == null) {\n listeningAddresses_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000004);\n onChanged();\n } else {\n listeningAddressesBuilder_.clear();\n }\n return this;\n }",
"public Builder listeningPort(final Optional<Integer> maybeListeningPort) {\n this.listeningPort = maybeListeningPort.filter(port -> port != 0);\n return this;\n }",
"public interface DsViaListenInterface extends DsListenInterface {\n\n /** @return port to be used as the source port of outgoing requests */\n public int getSourcePort();\n\n /** @return the interface to be used as the source port of outgoing requests */\n public InetAddress getSourceAddress();\n}",
"@java.lang.Deprecated public Builder removeListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.remove(index);\n onChanged();\n } else {\n listeningAddressesBuilder_.remove(index);\n }\n return this;\n }",
"public Builder listeningPort(final int listeningPort) {\n return listeningPort(Optional.of(listeningPort));\n }",
"public List<String> listeners();",
"@Deprecated\n public final void startListen() {\n startListening();\n }",
"@Override\n\tpublic Collection<InetSocketAddress> getAvaliableServers() {\n\t\treturn null;\n\t}",
"Integer listeningPort();",
"public interface PeersListener {\n public void onDiscoveringPeersRequest();\n public void onDiscoveringPeersRequestDone();\n public void onConnectToPeer(WifiP2pDevice peer);\n public boolean onIsWifiConnected();\n }",
"List<InboundNatRulePortMapping> inboundNatRulePortMappings();",
"public final int getPortListened() {\n return portListened;\n }",
"public synchronized void initListenInfo(@Nonnull String address, int port) {\n if (listenAddress != null) {\n throw new IllegalStateException(\"Already initialized\");\n }\n this.listenAddress = address;\n this.listenPort = port;\n }",
"List<String> getListenerTypes();",
"public static InetSocketAddress updateListenAddress(OzoneConfiguration conf,\n String addressKey, InetSocketAddress addr, InetSocketAddress listenAddr) {\n InetSocketAddress updatedAddr = new InetSocketAddress(addr.getHostString(),\n listenAddr.getPort());\n conf.set(addressKey,\n addr.getHostString() + \":\" + listenAddr.getPort());\n return updatedAddr;\n }",
"private void startListen() {\n try {\n listeningSocket = new ServerSocket(listeningPort);\n } catch (IOException e) {\n throw new RuntimeException(\"Cannot open listeningPort \" + listeningPort, e);\n }\n }",
"public List<Address> getWatchedAddresses() {\n try {\n List<Address> addresses = new LinkedList<Address>();\n for (Script script : watchedScripts)\n if (script.isSentToAddress())\n addresses.add(script.getToAddress(params));\n return addresses;\n } finally {\n }\n }",
"@Override\n public List<Address> getInterfaceAddresses() {\n List<Address> output = new ArrayList<>();\n\n Enumeration<NetworkInterface> ifaces;\n try {\n ifaces = NetworkInterface.getNetworkInterfaces();\n } catch (SocketException e) {\n // If we could not retrieve the network interface list, we\n // probably can't bind to any interface addresses either.\n return Collections.emptyList();\n }\n\n for (NetworkInterface iface : Collections.list(ifaces)) {\n // List the addresses associated with each interface.\n Enumeration<InetAddress> addresses = iface.getInetAddresses();\n for (InetAddress address : Collections.list(addresses)) {\n try {\n // Make an address object from each interface address, and\n // add it to the output list.\n output.add(Address.make(\"zmq://\" + address.getHostAddress() + \":\" + port));\n } catch (MalformedAddressException ignored) {\n // Should not be reachable.\n }\n }\n }\n\n return output;\n }",
"public void setAjpListener(Builder serverBuilder) {\n if (options.ajp13Port == -1)\n return;\n if (options.ajp13Port < -1 || options.ajp13Port > MAX_PORT) {\n log.warn(\"Unallowed ajp13Port value. AJP listener is disabled!\");\n return;\n }\n\n if (options.ajp13ListenAddress != null)\n serverBuilder.addAjpListener(options.ajp13Port, options.ajp13ListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addAjpListener(options.ajp13Port, hostAllInterfacesString);\n }\n\n log.info(\"AJP listener created\");\n }",
"public List<Integer> getAddrList() {\n\t\treturn this.addrList;\r\n\t}",
"long[] getAllServerSocketIds();",
"@Option int getLocalPortForUdpLinkLayer();",
"public static InetSocketAddress updateRPCListenAddress(\n OzoneConfiguration conf, String rpcAddressKey,\n InetSocketAddress addr, RPC.Server rpcServer) {\n return updateListenAddress(conf, rpcAddressKey, addr,\n rpcServer.getListenerAddress());\n }",
"public interface DiscoverPeersListener {\n\n\t/**\n\t * Called when P2P is discovered to not be enabled.\n\t */\n\tvoid onP2pNotEnabled();\n\n\t/**\n\t * Called when discoverPeers() is successful.\n\t */\n\tvoid onDiscoverPeersSuccess();\n\n\t/**\n\t * Called when discoverPeers() has failed.\n\t * @param reasonCode code for failure reason\n\t */\n\tvoid onDiscoverPeersFailure(final int reasonCode);\n}",
"public interface AddressListener {\n void onAddressReceived();\n}",
"@Override\n public List<String> getDnsServerAddresses()\n {\n final List<String> servers = new ArrayList<>();\n final Network network = getActiveNetwork();\n if (network == null) {\n return null;\n }\n\n LinkProperties linkProperties = connectivityManager.getLinkProperties(network);\n if (linkProperties == null) {\n return null;\n }\n\n int vpnOffset = 0;\n final NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network);\n final boolean isVpn = networkInfo != null && networkInfo.getType() == ConnectivityManager.TYPE_VPN;\n final List<String> v4v6Servers = getIPv4First(linkProperties.getDnsServers());\n // Timber.d(\"hasDefaultRoute: %s activeNetwork: %s || isVpn: %s || IP: %s\",\n // hasDefaultRoute(linkProperties), network, isVpn, toListOfStrings(linkProperties.getDnsServers()));\n\n if (isVpn) {\n servers.addAll(0, v4v6Servers);\n // vpnOffset += v4v6Servers.size();\n }\n // Prioritize the DNS servers of links which have a default route\n else if (hasDefaultRoute(linkProperties)) {\n servers.addAll(vpnOffset, v4v6Servers);\n }\n else {\n servers.addAll(v4v6Servers);\n }\n\n // Timber.d(\"dns Server Addresses (linkProperty): %s\", servers);\n return servers;\n }",
"public List<String> getAddresses() {\n return mIPs;\n }",
"public ArrayList getTaskListeners(){\n initListener();\n return listeners;\n }",
"@Override\n\tpublic boolean IsListening() {\n\t\treturn listening;\n\t}",
"public ONDEXListener[] getONDEXListeners() {\n return listeners.toArray(new ONDEXListener[0]);\n }",
"public PeerBuilder portsExternal(int port) {\n\t\tthis.udpPortForwarding = port;\n\t\tthis.tcpPortForwarding = port;\n\t\treturn this;\n\t}",
"@Override\n public void setListening(boolean listening) {\n if (listening) {\n //begin zhixiong.liu.hz for XR 6107743 2018/3/14\n if (!mContext.getResources().getBoolean(R.bool.def_Settings_typecode_enable)) {\n mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel());\n }\n //begin zhixiong.liu.hz for defect 7442064 20190213\n else if(mContext.getResources().getBoolean(R.bool.def_settings_typecode_system_summary_show)){\n mSummaryLoader.setSummary(this,mContext.getResources().getString(R.string.def_Settings_typecode));\n }\n //end zhixiong.liu.hz for defect 7442064 20190213\n //end zhixiong.liu.hz for XR 6107743 2018/3/14\n }\n }",
"public Builder discoveryPort(final Optional<Integer> maybeDiscoveryPort) {\n this.discoveryPort = maybeDiscoveryPort.filter(port -> port != 0);\n return this;\n }",
"String getBindAddress() {\n return bindAddress;\n }",
"void watchListenerData(int port, ListenerWatcher watcher) {\n }",
"InetSocketAddress peerAddress();",
"public Object[] getNameServerPorts() {\n\t\treturn _nameserverPorts.toArray();\n\t}",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"public int getTCPListeningPortNumber() {\n return (incoming_socketchannel_manager.getTCPListeningPortNumber());\n }",
"public static boolean isArray_addr() {\n return false;\n }",
"public List<PersistRequestBean<?>> listenerNotify() {\n return listenerNotify;\n }",
"public int getLocalPort() {\n return _listenSocket.getLocalPort();\n }",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"private List<Messages.Address> mapModelAddressToWireAddress(List<byte[]> addresses) {\n return addresses.stream().map(address -> Messages.Address.newBuilder()\n .setPort(6565)\n .setIpAddress(ByteString.copyFrom(address))\n .build())\n .collect(Collectors.toList());\n }",
"@Nullable public abstract String portRange();",
"default public int getBroadcastPort() \t\t\t\t\t{ return 2222; }",
"public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(\n int index) {\n return additionalBindings_.get(index);\n }",
"private static Set<InetSocketAddress> getNNAddresses(DistributedFileSystem fs,\n Configuration conf) {\n Set<InetSocketAddress> addresses = new HashSet<>();\n String serviceName = fs.getCanonicalServiceName();\n\n if (serviceName.startsWith(\"ha-hdfs\")) {\n try {\n Map<String, Map<String, InetSocketAddress>> addressMap =\n DFSUtil.getNNServiceRpcAddressesForCluster(conf);\n String nameService = serviceName.substring(serviceName.indexOf(\":\") + 1);\n if (addressMap.containsKey(nameService)) {\n Map<String, InetSocketAddress> nnMap = addressMap.get(nameService);\n for (Map.Entry<String, InetSocketAddress> e2 : nnMap.entrySet()) {\n InetSocketAddress addr = e2.getValue();\n addresses.add(addr);\n }\n }\n } catch (Exception e) {\n LOG.warn(\"DFSUtil.getNNServiceRpcAddresses failed. serviceName=\" + serviceName, e);\n }\n } else {\n URI uri = fs.getUri();\n int port = uri.getPort();\n if (port < 0) {\n int idx = serviceName.indexOf(':');\n port = Integer.parseInt(serviceName.substring(idx + 1));\n }\n InetSocketAddress addr = new InetSocketAddress(uri.getHost(), port);\n addresses.add(addr);\n }\n\n return addresses;\n }",
"public Iterator<Object> listeners() {\n return Arrays.asList(fListeners).iterator();\n }",
"public Vector<NetworkAddress> getHostAddresses(int type) {return addressesChecker.getAllMyAddresses(type); }",
"public abstract void addServiceListener(PhiDiscoverListener listener);",
"void addAnnouncedServers(ArrayList<ServerAddress> servers);",
"public List<Integer> bind(Integer... ports) {\n String boundPorts = sendRequest(\n request()\n .withMethod(\"PUT\")\n .withPath(calculatePath(\"bind\"))\n .withBody(portBindingSerializer.serialize(portBinding(ports)), StandardCharsets.UTF_8),\n true\n ).getBodyAsString();\n return portBindingSerializer.deserialize(boundPorts).getPorts();\n }",
"public List<String> getPorts()\n {\n return Arrays.asList(de.willuhn.jameica.hbci.passports.ddv.DDVConfig.PORTS);\n }",
"@Override\n List<PortDescription> discoverPortDetails();",
"public abstract void listen(ServiceConfig serviceConfig) throws IOException;",
"public String getBindAddress() {\n return agentConfig.getBindAddress();\n }",
"int getUdpServerPort();",
"public FakeDns addresses(List<InetAddress> addresses) {\n this.addresses = new ArrayList<>(addresses);\n return this;\n }",
"public List<String> getAddresses() throws RemoteException {\n\t\tList<String> addresses = new ArrayList<String>();\n\t\tif (this.registry != null) {\n\t\t\tfor (IServer server : this.serverList.getServers()) {\n\t\t\t\taddresses.add(server.getFullAddress());\n\t\t\t}\n\t\t}\n\t\treturn addresses;\n\t}",
"public void setHttpListener(Builder serverBuilder) {\n if (options.httpPort == -1) {\n log.info(\"HTTP listener is disabled.\");\n return;\n }\n if (options.httpPort < -1 || options.httpPort > MAX_PORT) {\n log.warn(\"Unallowed httpPort value. HTTP listener is disabled!\");\n return;\n }\n\n if (options.httpListenAddress != null)\n serverBuilder.addHttpListener(options.httpPort, options.httpListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addHttpListener(options.httpPort, hostAllInterfacesString);\n }\n\n log.info(\"HTTP listener created\");\n }",
"public Bounds bounds(String ipAddrsFile, String subnetsFile) throws IOException {\n\t\tfinal Map<String,NetNode> nodes = parseAddresses(ipAddrsFile);\n\t\tfinal Map<NetNode,Subnet> subnets = parseSubnets(subnetsFile, nodes);\n\n\t\tfinal Universe universe = universe(nodes.keySet());\n\t\tfinal Bounds bounds = new Bounds(universe);\n\t\tfinal TupleFactory factory = universe.factory();\n\n\t\t// bind the integers\n\t\tfor (int i = 0; i < 32; i++) {\n\t\t\tbounds.boundExactly(1 << i, factory.setOf(Integer.valueOf(1 << i)));\n\t\t}\n\n\t\t// bind the port relation exactly to the port names\n\t\tbounds.boundExactly(port, factory.range(factory.tuple(universe.atom(0)),\n\t\t\t\tfactory.tuple(universe.atom(nodes.keySet().size() - 1))));\n\n\t\t// bind the unknown relation exactly to the port names of ports with\n\t\t// unknown addresses or masks\n\t\tfinal TupleSet unknownBound = factory.noneOf(1);\n\t\tfor (NetNode n : nodes.values()) {\n\t\t\tif (!n.known()) {\n\t\t\t\tunknownBound.add(factory.tuple(n.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(unknown, unknownBound);\n\n\t\t// bind the subnet relation exactly, choosing the first element of each\n\t\t// subnet as the representative\n\t\tfinal TupleSet subnetBound = factory.noneOf(2);\n\t\tfor (Map.Entry<NetNode,Subnet> entry : subnets.entrySet()) {\n\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\tfor (NetNode member : entry.getValue().members) {\n\t\t\t\tsubnetBound.add(factory.tuple(rep.port, member.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(subnet, subnetBound);\n\n\t\t// bind the addr relation so that each address is guaranteed to be\n\t\t// between minAddr (121.96.0.0) and maxAddr (121.96.255.255), inclusive\n\t\tfinal TupleSet lAddr = factory.noneOf(2), uAddr = factory.noneOf(2);\n\t\tfor (NetNode node : nodes.values()) {\n\t\t\tif (node.varAddress) { // unknown address\n\t\t\t\tlAddr.addAll(portToBits(factory, node.port, minAddr));\n\t\t\t\tuAddr.addAll(portToBits(factory, node.port, maxAddr));\n\t\t\t} else { // known address\n\t\t\t\tfinal TupleSet portToAddrBits = portToBits(factory, node.port, node.address);\n\t\t\t\tlAddr.addAll(portToAddrBits);\n\t\t\t\tuAddr.addAll(portToAddrBits);\n\t\t\t}\n\t\t}\n\t\tbounds.bound(addr, lAddr, uAddr);\n\n\t\t// bind the group and groupMask relations so that all ports with the\n\t\t// same interface on the same subnet are guaranteed to have the same\n\t\t// mask\n\t\tfinal TupleSet lMask = factory.noneOf(2), uMask = factory.noneOf(2), groupBound = factory.noneOf(2);\n\t\tfor (Subnet sub : subnets.values()) {\n\t\t\tfor (Map.Entry<NetNode,Set<NetNode>> entry : sub.groups.entrySet()) {\n\t\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\t\tfor (NetNode member : entry.getValue()) {\n\t\t\t\t\tgroupBound.add(factory.tuple(member.port, rep.port));\n\t\t\t\t\tnodes.remove(member.port); // remove a grouped member out of\n\t\t\t\t\t\t\t\t\t\t\t\t// the addresses set\n\t\t\t\t}\n\t\t\t\tif (rep.varMask) { // unknown mask for the representative\n\t\t\t\t\tuMask.addAll(portToBits(factory, rep.port, 31));\n\t\t\t\t} else { // known mask for the representative\n\t\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, rep.port, rep.mask);\n\t\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// bind the group and groupMask relations for ports that are not a part\n\t\t// of any subnet\n\t\tfor (NetNode ungrouped : nodes.values()) {\n\t\t\tgroupBound.add(factory.tuple(ungrouped.port, ungrouped.port));\n\t\t\tif (ungrouped.varMask) { // unknown mask for the representative\n\t\t\t\tuMask.addAll(portToBits(factory, ungrouped.port, 31));\n\t\t\t} else { // known mask for the representative\n\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, ungrouped.port, ungrouped.mask);\n\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t}\n\t\t}\n\n\t\tbounds.bound(groupMask, lMask, uMask);\n\t\tbounds.boundExactly(group, groupBound);\n\n\t\t// System.out.println(\"groupMask.size: \" + uMask.size() + \", group.size:\n\t\t// \" + groupBound.size());\n\t\t// System.out.println(\"ports.size: \" + bounds.upperBound(port).size() +\n\t\t// \", unknown.size: \" + unknownBound.size());\n\t\treturn bounds;\n\n\t}",
"public ArrayList<String> getNameServerUrl() {\n\n if (nameListener.isServiceFound()) {\n return nameListener.getServiceURLs();\n }\n return new ArrayList<>();\n }",
"io.envoyproxy.envoy.data.dns.v3.DnsTable.AddressList getAddressList();",
"static public List<com.mongodb.ServerAddress> convertToServerAddressList(String serverAddresses){\n\t\tif (serverAddresses == null)\n\t\t\treturn null;\n\t\tList<com.mongodb.ServerAddress> svrAddrList = new ArrayList<com.mongodb.ServerAddress>();\n\t\tString[] serverAddressStrAry = serverAddresses.split(\";\");\n\t\tfor(int i=0; i<serverAddressStrAry.length; i++){\n\t\t\tString serverAddressStr = serverAddressStrAry[i];\n\t\t\tif (serverAddressStr.length() > 0){\n\t\t\t\tString[] serverAddressParts = serverAddressStr.split(\":\");\n\t\t\t\tif (serverAddressParts.length < 2){\n\t\t\t\t\tDemoBaseException.throwEx2(ErrCode.Dev_Common, \"serverAddressParts.length < 2\", serverAddresses,serverAddressStr);\n\t\t\t\t}\n\t\t\t\tString hostPart = serverAddressParts[0];\n\t\t\t\tString portPart = serverAddressParts[1].trim();\n\t\t\t\tint port = Integer.parseInt(portPart);\n\t\t\t\tcom.mongodb.ServerAddress srvAddress = new com.mongodb.ServerAddress(hostPart, port);\n\t\t\t\tsvrAddrList.add(srvAddress);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(svrAddrList+\"\");\n\t\t\n\t\treturn svrAddrList;\n\t}",
"@Required\n @Updatable\n public Set<Listener> getListener() {\n if (listener == null) {\n listener = new HashSet<>();\n }\n\n return listener;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public synchronized boolean isListening() {\n\t\treturn isListening;\n\t}",
"public org.nhind.config.Address[] getAddress() {\n return address;\n }",
"public abstract List<String> associateAddresses(NodeMetadata node);",
"public void setAddresses(List<String> addresses) {\n this.addresses = addresses;\n }",
"public Map<Range, List<EndPoint>> getRangeToEndpointMap()\n {\n return ssProxy.getRangeToEndPointMap();\n }",
"void addListener( ConfigurationListener listener );",
"public boolean hasReceiverAddress() {\n return fieldSetFlags()[19];\n }",
"@Override\r\n\tpublic boolean hasIpAddressSupport() {\n\t\treturn false;\r\n\t}",
"private ArrayList<ServerAddress> listenForResponses(DatagramSocket socket)\n\t\t\tthrows IOException {\n\t\tlong start = System.currentTimeMillis();\n\t\tbyte[] buf = new byte[10240];\n\t\tArrayList<ServerAddress> servers = new ArrayList<ServerAddress>();\n\n\t\t// Loop and try to receive responses until the timeout elapses. We'll\n\t\t// get\n\t\t// back the packet we just sent out, which isn't terribly helpful, but\n\t\t// we'll\n\t\t// discard it in parseResponse because the cmd is wrong.\n\t\ttry {\n\t\t\twhile (mReceiver != null) {\n\t\t\t\tDatagramPacket packet = new DatagramPacket(buf, buf.length);\n\t\t\t\tLog.d(TAG, \"Waiting for discovery response...\");\n\t\t\t\tsocket.receive(packet);\n\t\t\t\tString s = new String(packet.getData(), packet.getOffset(), packet.getLength());\n\t\t\t\tLog.d(TAG, \"Packet received after \"+ (System.currentTimeMillis() - start) + \" \" + s);\n\t\t\t\tInetAddress sourceAddress = packet.getAddress();\n\t\t\t\tLog.d(TAG, \"Parsing response...\");\n\t\t\t\tServerAddress server = parseResponse(s, sourceAddress\n\t\t\t\t\t\t/*((InetSocketAddress) packet.getSocketAddress())\n\t\t\t\t\t\t\t\t.getAddress()*/);\n\t\t\t\tif (server != null)\n\t\t\t\t\tservers.add(server);\n\t\t\t}\n\t\t} catch (SocketTimeoutException e) {\n\t\t\tLog.w(TAG, \"Receive timed out\");\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tLog.w(TAG, \"Failed to create a Server object from discovery response! Error: \"+e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn servers;\n\t}",
"public interface IFailureDetectionEventListener {\r\n\t/**\r\n\t * Convict the specified endpoint.\r\n\t * \r\n\t * @param ep\r\n\t * endpoint to be convicted\r\n\t */\r\n\tpublic void convict(InetAddress ep);\r\n\r\n}",
"@Test\n public void portConfiguration() throws IOException {\n initJadlerListeningOn(SocketUtils.findAvailableTcpPort());\n \n try {\n onRequest().respond().withStatus(EXPECTED_STATUS);\n assertExpectedStatus();\n }\n finally {\n closeJadler();\n }\n }"
] |
[
"0.7395131",
"0.7277722",
"0.7067325",
"0.6903526",
"0.6826338",
"0.6713869",
"0.66563314",
"0.65887254",
"0.6560918",
"0.6504121",
"0.6461965",
"0.6436128",
"0.6272197",
"0.6184819",
"0.6144155",
"0.6114009",
"0.60620165",
"0.5995614",
"0.5979992",
"0.5962518",
"0.5942519",
"0.5937237",
"0.5699445",
"0.53267246",
"0.5246208",
"0.5086586",
"0.50074285",
"0.49638063",
"0.48963773",
"0.48528293",
"0.48106834",
"0.48069602",
"0.4800829",
"0.4759629",
"0.47515127",
"0.46857798",
"0.4654009",
"0.4634134",
"0.45972246",
"0.4588829",
"0.4582533",
"0.45609134",
"0.45590398",
"0.45486316",
"0.45253113",
"0.45232356",
"0.45175627",
"0.45119178",
"0.45094073",
"0.449329",
"0.44869694",
"0.4478546",
"0.44524828",
"0.44420728",
"0.4441932",
"0.44370887",
"0.4432833",
"0.44201663",
"0.44022894",
"0.43953583",
"0.43928397",
"0.43829423",
"0.43829268",
"0.43676448",
"0.43629587",
"0.43627307",
"0.4357582",
"0.43533063",
"0.4347769",
"0.43441504",
"0.43407977",
"0.43353498",
"0.43337885",
"0.4332486",
"0.43289217",
"0.43254483",
"0.4322326",
"0.43203968",
"0.4315397",
"0.4276354",
"0.42736393",
"0.42716247",
"0.42678097",
"0.42663667",
"0.42655566",
"0.4259316",
"0.4247975",
"0.42439353",
"0.42439353",
"0.4239673",
"0.42393687",
"0.42302075",
"0.42250052",
"0.4223316",
"0.42196125",
"0.42132547",
"0.42059904",
"0.420265",
"0.41877952",
"0.41873944"
] |
0.71276444
|
2
|
Known listening ports on the node as a generic hint to the management server for filtering :ref:`listeners <config_listeners>` to be returned. For example, if there is a listener bound to port 80, the list can optionally contain the SocketAddress `(0.0.0.0,80)`. The field is optional and just a hint. repeated .envoy.config.core.v3.Address listening_addresses = 11 [deprecated = true];
|
@java.lang.Override
@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(
int index) {
return listeningAddresses_.get(index);
}
|
{
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
}
|
[
"@java.lang.Override\n @java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> \n getListeningAddressesOrBuilderList() {\n return listeningAddresses_;\n }",
"@java.lang.Override\n @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {\n return listeningAddresses_.get(index);\n }",
"@java.lang.Override\n @java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {\n return listeningAddresses_;\n }",
"@java.lang.Deprecated public java.util.List<? extends io.envoyproxy.envoy.config.core.v3.AddressOrBuilder> \n getListeningAddressesOrBuilderList() {\n if (listeningAddressesBuilder_ != null) {\n return listeningAddressesBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.AddressOrBuilder getListeningAddressesOrBuilder(\n int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index); } else {\n return listeningAddressesBuilder_.getMessageOrBuilder(index);\n }\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address> getListeningAddressesList() {\n if (listeningAddressesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(listeningAddresses_);\n } else {\n return listeningAddressesBuilder_.getMessageList();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address getListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.get(index);\n } else {\n return listeningAddressesBuilder_.getMessage(index);\n }\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, value);\n }\n return this;\n }",
"@java.lang.Override\n @java.lang.Deprecated public int getListeningAddressesCount() {\n return listeningAddresses_.size();\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, value);\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, value);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(io.envoyproxy.envoy.config.core.v3.Address value) {\n if (listeningAddressesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(value);\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(value);\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder() {\n return getListeningAddressesFieldBuilder().addBuilder(\n io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"public abstract InetSocketAddress listeningAddress();",
"@java.lang.Deprecated public int getListeningAddressesCount() {\n if (listeningAddressesBuilder_ == null) {\n return listeningAddresses_.size();\n } else {\n return listeningAddressesBuilder_.getCount();\n }\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder addListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().addBuilder(\n index, io.envoyproxy.envoy.config.core.v3.Address.getDefaultInstance());\n }",
"@java.lang.Deprecated public Builder addAllListeningAddresses(\n java.lang.Iterable<? extends io.envoyproxy.envoy.config.core.v3.Address> values) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, listeningAddresses_);\n onChanged();\n } else {\n listeningAddressesBuilder_.addAllMessages(values);\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.Address.Builder getListeningAddressesBuilder(\n int index) {\n return getListeningAddressesFieldBuilder().getBuilder(index);\n }",
"@java.lang.Deprecated public Builder setListeningAddresses(\n int index, io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.set(index, builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.setMessage(index, builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public Builder addListeningAddresses(\n io.envoyproxy.envoy.config.core.v3.Address.Builder builderForValue) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.add(builderForValue.build());\n onChanged();\n } else {\n listeningAddressesBuilder_.addMessage(builderForValue.build());\n }\n return this;\n }",
"@java.lang.Deprecated public java.util.List<io.envoyproxy.envoy.config.core.v3.Address.Builder> \n getListeningAddressesBuilderList() {\n return getListeningAddressesFieldBuilder().getBuilderList();\n }",
"@java.lang.Deprecated public Builder clearListeningAddresses() {\n if (listeningAddressesBuilder_ == null) {\n listeningAddresses_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000004);\n onChanged();\n } else {\n listeningAddressesBuilder_.clear();\n }\n return this;\n }",
"public Builder listeningPort(final Optional<Integer> maybeListeningPort) {\n this.listeningPort = maybeListeningPort.filter(port -> port != 0);\n return this;\n }",
"public interface DsViaListenInterface extends DsListenInterface {\n\n /** @return port to be used as the source port of outgoing requests */\n public int getSourcePort();\n\n /** @return the interface to be used as the source port of outgoing requests */\n public InetAddress getSourceAddress();\n}",
"@java.lang.Deprecated public Builder removeListeningAddresses(int index) {\n if (listeningAddressesBuilder_ == null) {\n ensureListeningAddressesIsMutable();\n listeningAddresses_.remove(index);\n onChanged();\n } else {\n listeningAddressesBuilder_.remove(index);\n }\n return this;\n }",
"public Builder listeningPort(final int listeningPort) {\n return listeningPort(Optional.of(listeningPort));\n }",
"public List<String> listeners();",
"@Deprecated\n public final void startListen() {\n startListening();\n }",
"@Override\n\tpublic Collection<InetSocketAddress> getAvaliableServers() {\n\t\treturn null;\n\t}",
"Integer listeningPort();",
"public interface PeersListener {\n public void onDiscoveringPeersRequest();\n public void onDiscoveringPeersRequestDone();\n public void onConnectToPeer(WifiP2pDevice peer);\n public boolean onIsWifiConnected();\n }",
"List<InboundNatRulePortMapping> inboundNatRulePortMappings();",
"public final int getPortListened() {\n return portListened;\n }",
"public synchronized void initListenInfo(@Nonnull String address, int port) {\n if (listenAddress != null) {\n throw new IllegalStateException(\"Already initialized\");\n }\n this.listenAddress = address;\n this.listenPort = port;\n }",
"List<String> getListenerTypes();",
"public static InetSocketAddress updateListenAddress(OzoneConfiguration conf,\n String addressKey, InetSocketAddress addr, InetSocketAddress listenAddr) {\n InetSocketAddress updatedAddr = new InetSocketAddress(addr.getHostString(),\n listenAddr.getPort());\n conf.set(addressKey,\n addr.getHostString() + \":\" + listenAddr.getPort());\n return updatedAddr;\n }",
"private void startListen() {\n try {\n listeningSocket = new ServerSocket(listeningPort);\n } catch (IOException e) {\n throw new RuntimeException(\"Cannot open listeningPort \" + listeningPort, e);\n }\n }",
"public List<Address> getWatchedAddresses() {\n try {\n List<Address> addresses = new LinkedList<Address>();\n for (Script script : watchedScripts)\n if (script.isSentToAddress())\n addresses.add(script.getToAddress(params));\n return addresses;\n } finally {\n }\n }",
"@Override\n public List<Address> getInterfaceAddresses() {\n List<Address> output = new ArrayList<>();\n\n Enumeration<NetworkInterface> ifaces;\n try {\n ifaces = NetworkInterface.getNetworkInterfaces();\n } catch (SocketException e) {\n // If we could not retrieve the network interface list, we\n // probably can't bind to any interface addresses either.\n return Collections.emptyList();\n }\n\n for (NetworkInterface iface : Collections.list(ifaces)) {\n // List the addresses associated with each interface.\n Enumeration<InetAddress> addresses = iface.getInetAddresses();\n for (InetAddress address : Collections.list(addresses)) {\n try {\n // Make an address object from each interface address, and\n // add it to the output list.\n output.add(Address.make(\"zmq://\" + address.getHostAddress() + \":\" + port));\n } catch (MalformedAddressException ignored) {\n // Should not be reachable.\n }\n }\n }\n\n return output;\n }",
"public void setAjpListener(Builder serverBuilder) {\n if (options.ajp13Port == -1)\n return;\n if (options.ajp13Port < -1 || options.ajp13Port > MAX_PORT) {\n log.warn(\"Unallowed ajp13Port value. AJP listener is disabled!\");\n return;\n }\n\n if (options.ajp13ListenAddress != null)\n serverBuilder.addAjpListener(options.ajp13Port, options.ajp13ListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addAjpListener(options.ajp13Port, hostAllInterfacesString);\n }\n\n log.info(\"AJP listener created\");\n }",
"public List<Integer> getAddrList() {\n\t\treturn this.addrList;\r\n\t}",
"long[] getAllServerSocketIds();",
"@Option int getLocalPortForUdpLinkLayer();",
"public static InetSocketAddress updateRPCListenAddress(\n OzoneConfiguration conf, String rpcAddressKey,\n InetSocketAddress addr, RPC.Server rpcServer) {\n return updateListenAddress(conf, rpcAddressKey, addr,\n rpcServer.getListenerAddress());\n }",
"public interface DiscoverPeersListener {\n\n\t/**\n\t * Called when P2P is discovered to not be enabled.\n\t */\n\tvoid onP2pNotEnabled();\n\n\t/**\n\t * Called when discoverPeers() is successful.\n\t */\n\tvoid onDiscoverPeersSuccess();\n\n\t/**\n\t * Called when discoverPeers() has failed.\n\t * @param reasonCode code for failure reason\n\t */\n\tvoid onDiscoverPeersFailure(final int reasonCode);\n}",
"public interface AddressListener {\n void onAddressReceived();\n}",
"@Override\n public List<String> getDnsServerAddresses()\n {\n final List<String> servers = new ArrayList<>();\n final Network network = getActiveNetwork();\n if (network == null) {\n return null;\n }\n\n LinkProperties linkProperties = connectivityManager.getLinkProperties(network);\n if (linkProperties == null) {\n return null;\n }\n\n int vpnOffset = 0;\n final NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network);\n final boolean isVpn = networkInfo != null && networkInfo.getType() == ConnectivityManager.TYPE_VPN;\n final List<String> v4v6Servers = getIPv4First(linkProperties.getDnsServers());\n // Timber.d(\"hasDefaultRoute: %s activeNetwork: %s || isVpn: %s || IP: %s\",\n // hasDefaultRoute(linkProperties), network, isVpn, toListOfStrings(linkProperties.getDnsServers()));\n\n if (isVpn) {\n servers.addAll(0, v4v6Servers);\n // vpnOffset += v4v6Servers.size();\n }\n // Prioritize the DNS servers of links which have a default route\n else if (hasDefaultRoute(linkProperties)) {\n servers.addAll(vpnOffset, v4v6Servers);\n }\n else {\n servers.addAll(v4v6Servers);\n }\n\n // Timber.d(\"dns Server Addresses (linkProperty): %s\", servers);\n return servers;\n }",
"public List<String> getAddresses() {\n return mIPs;\n }",
"public ArrayList getTaskListeners(){\n initListener();\n return listeners;\n }",
"@Override\n\tpublic boolean IsListening() {\n\t\treturn listening;\n\t}",
"public ONDEXListener[] getONDEXListeners() {\n return listeners.toArray(new ONDEXListener[0]);\n }",
"public PeerBuilder portsExternal(int port) {\n\t\tthis.udpPortForwarding = port;\n\t\tthis.tcpPortForwarding = port;\n\t\treturn this;\n\t}",
"@Override\n public void setListening(boolean listening) {\n if (listening) {\n //begin zhixiong.liu.hz for XR 6107743 2018/3/14\n if (!mContext.getResources().getBoolean(R.bool.def_Settings_typecode_enable)) {\n mSummaryLoader.setSummary(this, DeviceModelPreferenceController.getDeviceModel());\n }\n //begin zhixiong.liu.hz for defect 7442064 20190213\n else if(mContext.getResources().getBoolean(R.bool.def_settings_typecode_system_summary_show)){\n mSummaryLoader.setSummary(this,mContext.getResources().getString(R.string.def_Settings_typecode));\n }\n //end zhixiong.liu.hz for defect 7442064 20190213\n //end zhixiong.liu.hz for XR 6107743 2018/3/14\n }\n }",
"public Builder discoveryPort(final Optional<Integer> maybeDiscoveryPort) {\n this.discoveryPort = maybeDiscoveryPort.filter(port -> port != 0);\n return this;\n }",
"String getBindAddress() {\n return bindAddress;\n }",
"void watchListenerData(int port, ListenerWatcher watcher) {\n }",
"InetSocketAddress peerAddress();",
"public Object[] getNameServerPorts() {\n\t\treturn _nameserverPorts.toArray();\n\t}",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"public int getTCPListeningPortNumber() {\n return (incoming_socketchannel_manager.getTCPListeningPortNumber());\n }",
"public static boolean isArray_addr() {\n return false;\n }",
"public List<PersistRequestBean<?>> listenerNotify() {\n return listenerNotify;\n }",
"public int getLocalPort() {\n return _listenSocket.getLocalPort();\n }",
"@java.lang.Override\n public boolean hasAddressList() {\n return endpointConfigCase_ == 1;\n }",
"private List<Messages.Address> mapModelAddressToWireAddress(List<byte[]> addresses) {\n return addresses.stream().map(address -> Messages.Address.newBuilder()\n .setPort(6565)\n .setIpAddress(ByteString.copyFrom(address))\n .build())\n .collect(Collectors.toList());\n }",
"@Nullable public abstract String portRange();",
"default public int getBroadcastPort() \t\t\t\t\t{ return 2222; }",
"public com.google.api.HttpRuleOrBuilder getAdditionalBindingsOrBuilder(\n int index) {\n return additionalBindings_.get(index);\n }",
"private static Set<InetSocketAddress> getNNAddresses(DistributedFileSystem fs,\n Configuration conf) {\n Set<InetSocketAddress> addresses = new HashSet<>();\n String serviceName = fs.getCanonicalServiceName();\n\n if (serviceName.startsWith(\"ha-hdfs\")) {\n try {\n Map<String, Map<String, InetSocketAddress>> addressMap =\n DFSUtil.getNNServiceRpcAddressesForCluster(conf);\n String nameService = serviceName.substring(serviceName.indexOf(\":\") + 1);\n if (addressMap.containsKey(nameService)) {\n Map<String, InetSocketAddress> nnMap = addressMap.get(nameService);\n for (Map.Entry<String, InetSocketAddress> e2 : nnMap.entrySet()) {\n InetSocketAddress addr = e2.getValue();\n addresses.add(addr);\n }\n }\n } catch (Exception e) {\n LOG.warn(\"DFSUtil.getNNServiceRpcAddresses failed. serviceName=\" + serviceName, e);\n }\n } else {\n URI uri = fs.getUri();\n int port = uri.getPort();\n if (port < 0) {\n int idx = serviceName.indexOf(':');\n port = Integer.parseInt(serviceName.substring(idx + 1));\n }\n InetSocketAddress addr = new InetSocketAddress(uri.getHost(), port);\n addresses.add(addr);\n }\n\n return addresses;\n }",
"public Iterator<Object> listeners() {\n return Arrays.asList(fListeners).iterator();\n }",
"public Vector<NetworkAddress> getHostAddresses(int type) {return addressesChecker.getAllMyAddresses(type); }",
"public abstract void addServiceListener(PhiDiscoverListener listener);",
"void addAnnouncedServers(ArrayList<ServerAddress> servers);",
"public List<Integer> bind(Integer... ports) {\n String boundPorts = sendRequest(\n request()\n .withMethod(\"PUT\")\n .withPath(calculatePath(\"bind\"))\n .withBody(portBindingSerializer.serialize(portBinding(ports)), StandardCharsets.UTF_8),\n true\n ).getBodyAsString();\n return portBindingSerializer.deserialize(boundPorts).getPorts();\n }",
"public List<String> getPorts()\n {\n return Arrays.asList(de.willuhn.jameica.hbci.passports.ddv.DDVConfig.PORTS);\n }",
"@Override\n List<PortDescription> discoverPortDetails();",
"public abstract void listen(ServiceConfig serviceConfig) throws IOException;",
"public String getBindAddress() {\n return agentConfig.getBindAddress();\n }",
"int getUdpServerPort();",
"public FakeDns addresses(List<InetAddress> addresses) {\n this.addresses = new ArrayList<>(addresses);\n return this;\n }",
"public List<String> getAddresses() throws RemoteException {\n\t\tList<String> addresses = new ArrayList<String>();\n\t\tif (this.registry != null) {\n\t\t\tfor (IServer server : this.serverList.getServers()) {\n\t\t\t\taddresses.add(server.getFullAddress());\n\t\t\t}\n\t\t}\n\t\treturn addresses;\n\t}",
"public void setHttpListener(Builder serverBuilder) {\n if (options.httpPort == -1) {\n log.info(\"HTTP listener is disabled.\");\n return;\n }\n if (options.httpPort < -1 || options.httpPort > MAX_PORT) {\n log.warn(\"Unallowed httpPort value. HTTP listener is disabled!\");\n return;\n }\n\n if (options.httpListenAddress != null)\n serverBuilder.addHttpListener(options.httpPort, options.httpListenAddress);\n else {\n // Listen on all interfaces\n serverBuilder.addHttpListener(options.httpPort, hostAllInterfacesString);\n }\n\n log.info(\"HTTP listener created\");\n }",
"public Bounds bounds(String ipAddrsFile, String subnetsFile) throws IOException {\n\t\tfinal Map<String,NetNode> nodes = parseAddresses(ipAddrsFile);\n\t\tfinal Map<NetNode,Subnet> subnets = parseSubnets(subnetsFile, nodes);\n\n\t\tfinal Universe universe = universe(nodes.keySet());\n\t\tfinal Bounds bounds = new Bounds(universe);\n\t\tfinal TupleFactory factory = universe.factory();\n\n\t\t// bind the integers\n\t\tfor (int i = 0; i < 32; i++) {\n\t\t\tbounds.boundExactly(1 << i, factory.setOf(Integer.valueOf(1 << i)));\n\t\t}\n\n\t\t// bind the port relation exactly to the port names\n\t\tbounds.boundExactly(port, factory.range(factory.tuple(universe.atom(0)),\n\t\t\t\tfactory.tuple(universe.atom(nodes.keySet().size() - 1))));\n\n\t\t// bind the unknown relation exactly to the port names of ports with\n\t\t// unknown addresses or masks\n\t\tfinal TupleSet unknownBound = factory.noneOf(1);\n\t\tfor (NetNode n : nodes.values()) {\n\t\t\tif (!n.known()) {\n\t\t\t\tunknownBound.add(factory.tuple(n.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(unknown, unknownBound);\n\n\t\t// bind the subnet relation exactly, choosing the first element of each\n\t\t// subnet as the representative\n\t\tfinal TupleSet subnetBound = factory.noneOf(2);\n\t\tfor (Map.Entry<NetNode,Subnet> entry : subnets.entrySet()) {\n\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\tfor (NetNode member : entry.getValue().members) {\n\t\t\t\tsubnetBound.add(factory.tuple(rep.port, member.port));\n\t\t\t}\n\t\t}\n\t\tbounds.boundExactly(subnet, subnetBound);\n\n\t\t// bind the addr relation so that each address is guaranteed to be\n\t\t// between minAddr (121.96.0.0) and maxAddr (121.96.255.255), inclusive\n\t\tfinal TupleSet lAddr = factory.noneOf(2), uAddr = factory.noneOf(2);\n\t\tfor (NetNode node : nodes.values()) {\n\t\t\tif (node.varAddress) { // unknown address\n\t\t\t\tlAddr.addAll(portToBits(factory, node.port, minAddr));\n\t\t\t\tuAddr.addAll(portToBits(factory, node.port, maxAddr));\n\t\t\t} else { // known address\n\t\t\t\tfinal TupleSet portToAddrBits = portToBits(factory, node.port, node.address);\n\t\t\t\tlAddr.addAll(portToAddrBits);\n\t\t\t\tuAddr.addAll(portToAddrBits);\n\t\t\t}\n\t\t}\n\t\tbounds.bound(addr, lAddr, uAddr);\n\n\t\t// bind the group and groupMask relations so that all ports with the\n\t\t// same interface on the same subnet are guaranteed to have the same\n\t\t// mask\n\t\tfinal TupleSet lMask = factory.noneOf(2), uMask = factory.noneOf(2), groupBound = factory.noneOf(2);\n\t\tfor (Subnet sub : subnets.values()) {\n\t\t\tfor (Map.Entry<NetNode,Set<NetNode>> entry : sub.groups.entrySet()) {\n\t\t\t\tfinal NetNode rep = entry.getKey();\n\t\t\t\tfor (NetNode member : entry.getValue()) {\n\t\t\t\t\tgroupBound.add(factory.tuple(member.port, rep.port));\n\t\t\t\t\tnodes.remove(member.port); // remove a grouped member out of\n\t\t\t\t\t\t\t\t\t\t\t\t// the addresses set\n\t\t\t\t}\n\t\t\t\tif (rep.varMask) { // unknown mask for the representative\n\t\t\t\t\tuMask.addAll(portToBits(factory, rep.port, 31));\n\t\t\t\t} else { // known mask for the representative\n\t\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, rep.port, rep.mask);\n\t\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// bind the group and groupMask relations for ports that are not a part\n\t\t// of any subnet\n\t\tfor (NetNode ungrouped : nodes.values()) {\n\t\t\tgroupBound.add(factory.tuple(ungrouped.port, ungrouped.port));\n\t\t\tif (ungrouped.varMask) { // unknown mask for the representative\n\t\t\t\tuMask.addAll(portToBits(factory, ungrouped.port, 31));\n\t\t\t} else { // known mask for the representative\n\t\t\t\tfinal TupleSet portToMaskBits = portToBits(factory, ungrouped.port, ungrouped.mask);\n\t\t\t\tlMask.addAll(portToMaskBits);\n\t\t\t\tuMask.addAll(portToMaskBits);\n\t\t\t}\n\t\t}\n\n\t\tbounds.bound(groupMask, lMask, uMask);\n\t\tbounds.boundExactly(group, groupBound);\n\n\t\t// System.out.println(\"groupMask.size: \" + uMask.size() + \", group.size:\n\t\t// \" + groupBound.size());\n\t\t// System.out.println(\"ports.size: \" + bounds.upperBound(port).size() +\n\t\t// \", unknown.size: \" + unknownBound.size());\n\t\treturn bounds;\n\n\t}",
"public ArrayList<String> getNameServerUrl() {\n\n if (nameListener.isServiceFound()) {\n return nameListener.getServiceURLs();\n }\n return new ArrayList<>();\n }",
"io.envoyproxy.envoy.data.dns.v3.DnsTable.AddressList getAddressList();",
"static public List<com.mongodb.ServerAddress> convertToServerAddressList(String serverAddresses){\n\t\tif (serverAddresses == null)\n\t\t\treturn null;\n\t\tList<com.mongodb.ServerAddress> svrAddrList = new ArrayList<com.mongodb.ServerAddress>();\n\t\tString[] serverAddressStrAry = serverAddresses.split(\";\");\n\t\tfor(int i=0; i<serverAddressStrAry.length; i++){\n\t\t\tString serverAddressStr = serverAddressStrAry[i];\n\t\t\tif (serverAddressStr.length() > 0){\n\t\t\t\tString[] serverAddressParts = serverAddressStr.split(\":\");\n\t\t\t\tif (serverAddressParts.length < 2){\n\t\t\t\t\tDemoBaseException.throwEx2(ErrCode.Dev_Common, \"serverAddressParts.length < 2\", serverAddresses,serverAddressStr);\n\t\t\t\t}\n\t\t\t\tString hostPart = serverAddressParts[0];\n\t\t\t\tString portPart = serverAddressParts[1].trim();\n\t\t\t\tint port = Integer.parseInt(portPart);\n\t\t\t\tcom.mongodb.ServerAddress srvAddress = new com.mongodb.ServerAddress(hostPart, port);\n\t\t\t\tsvrAddrList.add(srvAddress);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(svrAddrList+\"\");\n\t\t\n\t\treturn svrAddrList;\n\t}",
"@Required\n @Updatable\n public Set<Listener> getListener() {\n if (listener == null) {\n listener = new HashSet<>();\n }\n\n return listener;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public boolean isListenerAvailable() {\n return mListener != null;\n }",
"public synchronized boolean isListening() {\n\t\treturn isListening;\n\t}",
"public org.nhind.config.Address[] getAddress() {\n return address;\n }",
"public abstract List<String> associateAddresses(NodeMetadata node);",
"public void setAddresses(List<String> addresses) {\n this.addresses = addresses;\n }",
"public Map<Range, List<EndPoint>> getRangeToEndpointMap()\n {\n return ssProxy.getRangeToEndPointMap();\n }",
"void addListener( ConfigurationListener listener );",
"public boolean hasReceiverAddress() {\n return fieldSetFlags()[19];\n }",
"@Override\r\n\tpublic boolean hasIpAddressSupport() {\n\t\treturn false;\r\n\t}",
"private ArrayList<ServerAddress> listenForResponses(DatagramSocket socket)\n\t\t\tthrows IOException {\n\t\tlong start = System.currentTimeMillis();\n\t\tbyte[] buf = new byte[10240];\n\t\tArrayList<ServerAddress> servers = new ArrayList<ServerAddress>();\n\n\t\t// Loop and try to receive responses until the timeout elapses. We'll\n\t\t// get\n\t\t// back the packet we just sent out, which isn't terribly helpful, but\n\t\t// we'll\n\t\t// discard it in parseResponse because the cmd is wrong.\n\t\ttry {\n\t\t\twhile (mReceiver != null) {\n\t\t\t\tDatagramPacket packet = new DatagramPacket(buf, buf.length);\n\t\t\t\tLog.d(TAG, \"Waiting for discovery response...\");\n\t\t\t\tsocket.receive(packet);\n\t\t\t\tString s = new String(packet.getData(), packet.getOffset(), packet.getLength());\n\t\t\t\tLog.d(TAG, \"Packet received after \"+ (System.currentTimeMillis() - start) + \" \" + s);\n\t\t\t\tInetAddress sourceAddress = packet.getAddress();\n\t\t\t\tLog.d(TAG, \"Parsing response...\");\n\t\t\t\tServerAddress server = parseResponse(s, sourceAddress\n\t\t\t\t\t\t/*((InetSocketAddress) packet.getSocketAddress())\n\t\t\t\t\t\t\t\t.getAddress()*/);\n\t\t\t\tif (server != null)\n\t\t\t\t\tservers.add(server);\n\t\t\t}\n\t\t} catch (SocketTimeoutException e) {\n\t\t\tLog.w(TAG, \"Receive timed out\");\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tLog.w(TAG, \"Failed to create a Server object from discovery response! Error: \"+e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn servers;\n\t}",
"public interface IFailureDetectionEventListener {\r\n\t/**\r\n\t * Convict the specified endpoint.\r\n\t * \r\n\t * @param ep\r\n\t * endpoint to be convicted\r\n\t */\r\n\tpublic void convict(InetAddress ep);\r\n\r\n}",
"@Test\n public void portConfiguration() throws IOException {\n initJadlerListeningOn(SocketUtils.findAvailableTcpPort());\n \n try {\n onRequest().respond().withStatus(EXPECTED_STATUS);\n assertExpectedStatus();\n }\n finally {\n closeJadler();\n }\n }"
] |
[
"0.7277722",
"0.71276444",
"0.7067325",
"0.6903526",
"0.6826338",
"0.6713869",
"0.66563314",
"0.65887254",
"0.6560918",
"0.6504121",
"0.6461965",
"0.6436128",
"0.6272197",
"0.6184819",
"0.6144155",
"0.6114009",
"0.60620165",
"0.5995614",
"0.5979992",
"0.5962518",
"0.5942519",
"0.5937237",
"0.5699445",
"0.53267246",
"0.5246208",
"0.5086586",
"0.50074285",
"0.49638063",
"0.48963773",
"0.48528293",
"0.48106834",
"0.48069602",
"0.4800829",
"0.4759629",
"0.47515127",
"0.46857798",
"0.4654009",
"0.4634134",
"0.45972246",
"0.4588829",
"0.4582533",
"0.45609134",
"0.45590398",
"0.45486316",
"0.45253113",
"0.45232356",
"0.45175627",
"0.45119178",
"0.45094073",
"0.449329",
"0.44869694",
"0.4478546",
"0.44524828",
"0.44420728",
"0.4441932",
"0.44370887",
"0.4432833",
"0.44201663",
"0.44022894",
"0.43953583",
"0.43928397",
"0.43829423",
"0.43829268",
"0.43676448",
"0.43629587",
"0.43627307",
"0.4357582",
"0.43533063",
"0.4347769",
"0.43441504",
"0.43407977",
"0.43353498",
"0.43337885",
"0.4332486",
"0.43289217",
"0.43254483",
"0.4322326",
"0.43203968",
"0.4315397",
"0.4276354",
"0.42736393",
"0.42716247",
"0.42678097",
"0.42663667",
"0.42655566",
"0.4259316",
"0.4247975",
"0.42439353",
"0.42439353",
"0.4239673",
"0.42393687",
"0.42302075",
"0.42250052",
"0.4223316",
"0.42196125",
"0.42132547",
"0.42059904",
"0.420265",
"0.41877952",
"0.41873944"
] |
0.7395131
|
0
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.