query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
4eeb728f28b02a7aee44f43fd657fcb1
Subordinate constructor, when this actor is executed as a part of a bigger FSM. When a master is given, all messages sent by this actor have sender=master.
[ { "docid": "91540097f2b9f2aa0cb037619823be5c", "score": "0.5710932", "text": "public BGWProtocolActor(ProtocolParameters protocolParam, ActorRef master) {\n\t\tthis.protocolParameters = protocolParam;\n\t\tthis.master = master != null ? master : self();\n\t\t\n\t\tstartWith(States.INITILIZATION, BGWData.init());\n\t\t\n\t\twhen(States.INITILIZATION, matchEvent(Participants.class,\n\t\t\t\t(participants,data) -> {\n\t\t\t\t\t\n\t\t\t\t\t// Generates new p, q and all necessary sharings\n\t\t\t\t\tMap<ActorRef,Integer> actors = participants.getParticipants();\n\t\t\t\t\tBGWPrivateParameters bgwPrivateParameters = BGWPrivateParameters.genFor(actors.get(this.master),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tprotocolParameters,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsr);\n\t\t\t\t\tBGWPublicParameters bgwSelfShare = BGWPublicParameters.genFor(actors.get(this.master),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbgwPrivateParameters);\n\t\t\t\t\t\n\t\t\t\t\tBGWData nextStateData = data.withPrivateParameters(bgwPrivateParameters)\n\t\t\t\t\t\t\t\t\t\t.withNewShare(bgwSelfShare, actors.get(this.master))\n\t\t\t\t\t\t\t\t\t\t.withParticipants(actors);\n\t\t\t\t\t\n\t\t\t\t\treturn goTo(States.BGW_COLLECTING_PjQj).using(nextStateData);\n\t\t\t\t}\n\t\t\t\t));\n\t\t\n\t\tonTransition(matchState(States.INITILIZATION,States.BGW_COLLECTING_PjQj, () -> {\n\t\t\t\n\t\t\t// Send each party j its share of pi pij.\n\t\t\tMap<ActorRef, Integer> actors = nextStateData().getParticipants();\n\t\t\tactors.entrySet().stream()\n\t\t\t.filter(e -> !e.getKey().equals(this.master))\n\t\t\t.forEach(e -> e.getKey().tell(BGWPublicParameters.genFor(e.getValue(), nextStateData().bgwPrivateParameters), this.master));\n\t\t}));\n\t\t\n\t\t\n\t\twhen(States.BGW_COLLECTING_PjQj, matchEvent(BGWPublicParameters.class, \n\t\t\t\t(newShare, data) -> {\n\t\t\t\t\t\n\t\t\t\t\t// Collect the pji and qji shares and compute its own Ni share\n\t\t\t\t\tMap<ActorRef,Integer> actors = data.getParticipants();\n\t\t\t\t\tBGWData dataWithNewShare = data.withNewShare(newShare, actors.get(sender()));\n\t\t\t\t\tif(!dataWithNewShare.hasShareOf(actors.values()))\n\t\t\t\t\t\treturn stay().using(dataWithNewShare);\n\t\t\t\t\telse {\n\t\t\t\t\t\t\n\t\t\t\t\t\tStream<Integer> badActors = dataWithNewShare.shares()\n\t\t\t\t\t\t\t\t.filter(e -> !e.getValue().isCorrect(protocolParameters))\n\t\t\t\t\t\t\t\t.map(e -> (Integer) e.getKey()); // Check the shares (not implemented yet)\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (badActors.count() > 0) { \n\t\t\t\t\t\t\tbadActors.forEach(id -> broadCast(new Messages.Complaint(id),actors.keySet()));\n\t\t\t\t\t\t\treturn stop().withStopReason(new Failure(\"A BGW share was invalid.\"));\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tBigInteger sumPj = dataWithNewShare.shares().map(e -> e.getValue().pij).reduce(BigInteger.ZERO, (p1,p2) -> p1.add(p2));\n\t\t\t\t\t\t\tBigInteger sumQj = dataWithNewShare.shares().map(e -> e.getValue().qij).reduce(BigInteger.ZERO, (q1,q2) -> q1.add(q2));\n\t\t\t\t\t\t\tBigInteger sumHj = dataWithNewShare.shares().map(e -> e.getValue().hij).reduce(BigInteger.ZERO, (h1,h2) -> h1.add(h2));\n\t\t\t\t\t\t\tBigInteger Ni = (sumPj.multiply(sumQj)).add(sumHj).mod(protocolParameters.P);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\treturn goTo(States.BGW_COLLECTING_Nj).using(dataWithNewShare.withNewNi(Ni, actors.get(this.master)));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}));\n\t\t\n\t\tonTransition(matchState(States.BGW_COLLECTING_PjQj,States.BGW_COLLECTING_Nj, () -> {\n\t\t\t\n\t\t\t// Publish its share of N\n\t\t\tMap<ActorRef, Integer> actors = nextStateData().getParticipants();\n\t\t\tbroadCast(new BGWNPoint(nextStateData().Ns.get(actors.get(this.master))), actors.keySet());\n\t\t}));\n\t\t\n\t\t\n\t\twhen(States.BGW_COLLECTING_Nj, matchEvent(BGWNPoint.class,\n\t\t\t\t(newNi,data) -> {\n\t\t\t\t\t\n\t\t\t\t\t// Collect the Nj shares and compute N using Lagrangian interpolation\n\t\t\t\t\tMap<ActorRef,Integer> actors = data.getParticipants();\n\t\t\t\t\tBGWData dataWithNewNi = data.withNewNi(newNi.point, actors.get(sender()));\n\t\t\t\t\tif (!dataWithNewNi.hasNiOf(actors.values())){\n\t\t\t\t\t\treturn stay().using(dataWithNewNi);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tList<BigInteger> Nis = dataWithNewNi.nis()\n\t\t\t\t\t\t\t\t.map(e -> e.getValue())\n\t\t\t\t\t\t\t\t.collect(Collectors.toList());\n\t\t\t\t\t\tBigInteger N = IntegersUtils.getIntercept(Nis, protocolParameters.P);\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(this.master != self())\n\t\t\t\t\t\t\tthis.master.tell(new Messages.CandidateN(N, data.bgwPrivateParameters), self());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\treturn goTo(States.INITILIZATION).using(BGWData.init().withParticipants(data.getParticipants()));\n\t\t\t\t}));\n\t\t\n\t\t// A message that cannot be handled goes back to the message queue\n\t\twhenUnhandled(matchAnyEvent((evt,data) -> {\n\t\t\tself().tell(evt, sender());\n\t\t\treturn stay();\n\t\t}));\n\t}", "title": "" } ]
[ { "docid": "8165574ac9c4ac80ae09bd3c2ccc5267", "score": "0.614924", "text": "public Actor(){\n\t}", "title": "" }, { "docid": "94bcea20dd5671401daf26e9a205a5ab", "score": "0.6013508", "text": "@Override\n protected void init(NodeMainExecutor nodeMainExecutor) {\n imagePublisher=new Sender();\n // At this point, the user has already been prompted to either enter the URI\n // of a master to use or to start a master locally.\n // The user can easily use the selected ROS Hostname in the master chooser\n // activity.\n NodeConfiguration nodeConfiguration = NodeConfiguration.newPublic(getRosHostname());\n nodeConfiguration.setMasterUri(getMasterUri());\n nodeMainExecutor.execute(imagePublisher, nodeConfiguration);\n\n }", "title": "" }, { "docid": "c862074593e34972818029c7efb266b1", "score": "0.60066", "text": "private MasterNode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "e2a6023aa33d0c758084dbb6ebdd00a7", "score": "0.5923766", "text": "public Server(HanabiClient parent) {\n this.parent = parent;\n }", "title": "" }, { "docid": "cecb237fd8d843fdc4b9778a762e4449", "score": "0.5862303", "text": "@Override\n public Receive createReceive() {\n\n return receiveBuilder().match(Init.class, init -> {\n\n logger.info(\"Master Actor created : \" + self());\n logger.info(\"Initializing Process\");\n\n executeInitLogic();\n }).match(Result.class, result -> {\n executeResultLogic(result.genotype);\n }).build();\n }", "title": "" }, { "docid": "23fd6414ad4fd5cc65af0ee2c8acfce7", "score": "0.5819767", "text": "MessageMgr (Coordinator theCoord)\n {\n super (theCoord);\n\n myMessageMgrCOR = new MessageMgrCOR (theCoord.getCoordinatorCOR ());\n }", "title": "" }, { "docid": "b600363d8c0d0d350b611baede859f1a", "score": "0.57296765", "text": "public Worker(final String a_displayName, final MasterInfo a_master,\n final MasterListener a_masterListener) {\n m_displayName = a_displayName;\n m_master = a_master;\n m_masterListener = a_masterListener;\n }", "title": "" }, { "docid": "744d5faefd6b49b9ddbb3ddfe75bfb6d", "score": "0.56577563", "text": "public MasterSecuritySource(final SecurityMaster master) {\n super(master);\n }", "title": "" }, { "docid": "17721f6e8c888a20f2ba0e7e8456f04d", "score": "0.5656479", "text": "public SubsystemMaster() {\n tankDriveSubsystem = new TankDriveSubsystem();\n }", "title": "" }, { "docid": "cfb484ec7cb6946ebee0c3711d2556fd", "score": "0.5578171", "text": "public TowerActor() {\n lobby = getContext().actorOf(Props.create(LobbyFloorActor.class, \"lobby\", getSelf()), \"lobby\");\n moneyCollector = getContext().actorOf(Props.create(MoneyCollectorActor.class, 600), \"moneyCollector\");\n //TODO: once money is handled properly, remove nice apartment\n getContext().actorOf(Props.create(ApartmentFloorActor.class, \"Nice apartment\", 0L), \"2\");\n }", "title": "" }, { "docid": "c6406de26975faaaf1226170a5a1ff55", "score": "0.55669814", "text": "public Actor() {\n this(DSL.name(\"ACTOR\"), null);\n }", "title": "" }, { "docid": "b65c174068fa57fd5a86842ce7c99b8c", "score": "0.5557382", "text": "@Override\n public void initDefaultCommand() {\n\n rightMidSlave1.follow(rightMaster1);\n rightBackSlave1.follow(rightMaster1);\n leftMidSlave1.follow(leftMaster1);\n leftBackSlave1.follow(leftMaster1);\n\n }", "title": "" }, { "docid": "ebf1e40410e62eb433305282395e2b6d", "score": "0.55329275", "text": "@Override\n public void construct(Actor actor) {\n if (entityManager == null) {\n entityManager = CoreRegistry.get(EntityManager.class);\n }\n }", "title": "" }, { "docid": "2c173f6ae2fac8bb30e2ad144285fe48", "score": "0.55273086", "text": "private synchronized void handleSetOrganizationMaster(Message message) {\n\t\tmaster = (int) message.getPayload();\n\t\trole = OrgRole.SLAVE;\n\t\tslaves.clear();\n\t\t\n\t\tdebug(\"Our new master is \" + message.getPayload());\n\t\tperformTasksWaitingForNewOrganization();\n\t}", "title": "" }, { "docid": "c93bebadbaff93be0df5f7b55af47d40", "score": "0.55009574", "text": "public AgentMult() {\r\n\t}", "title": "" }, { "docid": "3d16d1e226e0e157a210e0a3afc181a7", "score": "0.5493049", "text": "public ApplicationMaster() throws IOException {\n super(ApplicationMaster.class.getName());\n // Set up the configuration and RPC\n conf = new MPIConfiguration();\n rpc = YarnRPC.create(conf);\n dfs = FileSystem.get(conf);\n }", "title": "" }, { "docid": "74cb9d5b3db184347ffa6b674d7dba45", "score": "0.5478095", "text": "public Agent() { //Constructeur sans argument qui permet d'ajouter l'agent a des positions aleatoires\r\n\t\tthis((int)(Math.random()*(World.X)), (int)(Math.random()*(World.Y)));\r\n\t}", "title": "" }, { "docid": "b535c766013d0544936c83d82a8c4b4c", "score": "0.54749805", "text": "public void initAsMaster() {\n VLSN last = tracker.getRange().getLast();\n if (last.equals(VLSN.NULL_VLSN)) {\n\n /*\n * If the master does the conversion, the started VLSN should start\n * from 2 so that Replica would throw a LogRefreshRequiredException\n * and do a NetworkRestore to copy the master logs.\n */\n nextVLSNCounter = envImpl.needRepConvert() ? new AtomicLong(1) : new AtomicLong(0);\n } else {\n nextVLSNCounter = new AtomicLong(last.getSequence());\n }\n }", "title": "" }, { "docid": "03e46df348e0cb32167bcdea9f3286ad", "score": "0.54596674", "text": "public void runForMaster() throws InterruptedException {\n zk.create(\"/master\",\n serverId.getBytes(),\n ZooDefs.Ids.OPEN_ACL_UNSAFE,\n CreateMode.EPHEMERAL,\n masterCreateCallback,\n null);\n\n }", "title": "" }, { "docid": "fae261b2d3c90e873eaa0e1ee2996c03", "score": "0.545616", "text": "public Agent() {\r\n\t\tthis.agentT = new AgentT();\r\n\t}", "title": "" }, { "docid": "55d091d3b9eb97780afcc10f3ecaab7f", "score": "0.5379774", "text": "public State(int a, int c){\n v = a;\n child = c;\n }", "title": "" }, { "docid": "fcdc6d9a0b61e1735b5aca6823acf8b3", "score": "0.5367597", "text": "public PeerCommunication() {\n initComponents();\n PointerInfo a = MouseInfo.getPointerInfo();\n Point b = a.getLocation();\n int x = (int) b.getX();\n int y = (int) b.getY();\n this.setLocation(x-200, y-200);\n }", "title": "" }, { "docid": "896e466f694dc486264c3465c0165b0f", "score": "0.536061", "text": "@Override\r\n\tpublic void onReceive(Object msg) throws Exception {\r\n\r\n\t\t// This message indicates another actor has requested the creation of a\r\n\t\t// new\r\n\t\t// cons actor with the given head and tail. Create this actor and send\r\n\t\t// it\r\n\t\t// back. Since the reference count for the tail must be incremented, the\r\n\t\t// return of the actor is delegated to the tail.\r\n\r\n\t\tif (msg instanceof ConsActorRequestMessage) {\r\n\t\t\tConsActorRequestMessage payload = (ConsActorRequestMessage) msg;\r\n\t\t\tInteger head = payload.getHead();\r\n\t\t\tActorRef tail = payload.getTail();\r\n\t\t\tConsActor.makeAndDeliver(head, tail, getSender(), context);\r\n\t\t}\r\n\r\n\t\t// This message indicates that a list object should be converted into an\r\n\t\t// actor-based one. The list manager creates a special actor and\r\n\t\t// delegates this\r\n\t\t// task to that actor.\r\n\r\n\t\telse if (msg instanceof ImportListRequestMessage) {\r\n\t\t\tList<Integer> list = ((ImportListRequestMessage) msg).getList();\r\n\t\t\tProps delegateProps = ImportListProcessingActor.props(list, getSelf(), getSender());\r\n\t\t\tActorRef delegate = context.actorOf(delegateProps);\r\n\t\t\tdelegate.tell(new MapProcessingStartMessage(), null); // Start the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// new actor\r\n\t\t}\r\n\r\n\t\t// Requests for map come to the list manager because map requires\r\n\t\t// creation of\r\n\t\t// new cons actors, in general. The list manager creates a special\r\n\t\t// actor to process this request.\r\n\r\n\t\telse if (msg instanceof MapRequestMessage) {\r\n\t\t\tMapRequestMessage payload = (MapRequestMessage) msg;\r\n\t\t\tProps mapProps = MapProcessingActor.props(getSelf(), getSender(), payload);\r\n\t\t\tActorRef delegate = context.actorOf(mapProps);\r\n\t\t\tdelegate.tell(new MapProcessingStartMessage(), null);\r\n\t\t}\r\n\r\n\t\t// This message indicates someone is requesting a new null actor. Create\r\n\t\t// it and send it\r\n\t\t// back.\r\n\r\n\t\telse if (msg instanceof NullActorRequestMessage) {\r\n\t\t\tActorRef nullActor = context.actorOf(NullActor.props);\r\n\t\t\treply(new NullActorResultMessage(nullActor));\r\n\t\t}\r\n\r\n\t\t// Print error message and call unhandled() if any other message is\r\n\t\t// encountered.\r\n\r\n\t\telse {\r\n\t\t\tSystem.out.printf(\"Bad message to ListManagerActor: %s%n\", msg.toString());\r\n\t\t\tunhandled(msg); // Recommended practice\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "513ce800deed65110b23cbfed52a4fc0", "score": "0.53442645", "text": "Actor createActor();", "title": "" }, { "docid": "eedfab33ad97050d2e437bf255a14aa7", "score": "0.5316451", "text": "public Communicator (Client client)\n {\n _client = client;\n }", "title": "" }, { "docid": "042729f0291bedfec74a1b596e4334ec", "score": "0.5313408", "text": "private AssemblyFSMNode() {\n this(null);\n }", "title": "" }, { "docid": "ffda32b6882cbcea5ea8385d8f69b6fc", "score": "0.53021723", "text": "private Master(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "d30f42755fff00ccb09457ff154b1fa8", "score": "0.5299858", "text": "public interface Actor {\n\n /**\n * 获取Actor的命名\n *\n * @return Actor的命名\n */\n String getName();\n\n /**\n * 向Actor发送一条消息\n *\n * @param message 消息\n * @param sender 发送消息的Actor\n */\n void tell(Object message, Actor sender);\n\n /**\n * 处理接收到的消息\n *\n * @param message 消息\n * @param sender 发送消息的Actor\n */\n void onReceived(Object message, Actor sender);\n\n /**\n * 停止Actor\n */\n void stop();\n\n /**\n * 设置剩余消息的处理钩子\n * @param handler 钩子\n */\n void setDeadMessageHandler(DeadMessageHandler handler);\n\n /**\n * 当不存在发送者时,可使用noSender替代\n */\n Actor noSender = new Actor() {\n @Override\n public String getName() {\n return \"Actor.noSender\";\n }\n\n @Override\n public void tell(Object message, Actor sender) {\n CoreLogger.debug(\"actor: message to noSender\");\n }\n\n @Override\n public void onReceived(Object message, Actor sender) {}\n\n @Override\n public void stop() {}\n\n @Override\n public void setDeadMessageHandler(DeadMessageHandler handler) {}\n };\n\n}", "title": "" }, { "docid": "508a0c9b8af45139b717208386da5866", "score": "0.52765566", "text": "private Client() {\n\t\tsender = new Sender();\n\t\treceiver = new Receiver();\n\t}", "title": "" }, { "docid": "f00ba651d50374240ade0e44d1c9b201", "score": "0.52610725", "text": "public Main() {\n try {\n initComponents();\n botones[0][0] = M11;\n botones[0][1] = M12;\n botones[0][2] = M13;\n botones[1][0] = M21;\n botones[1][1] = M22;\n botones[1][2] = M23;\n botones[2][0] = M31;\n botones[2][1] = M32;\n botones[2][2] = M33;\n \n cliente= new Cliente(this);\n Thread hilo = new Thread(cliente);\n hilo.start();\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }", "title": "" }, { "docid": "5e723005d4fe661675f5be4a38dfa0ac", "score": "0.524328", "text": "private synchronized void sendSetMaster() {\n\t\tfor (Integer slave : slaves) {\n\t\t\tdebug(\"Send set master to \" + slave);\n\t\t\ttry {\n\t\t\t\tMessage introduction = messageFactory.createMessage(\n\t\t\t\t\t\tslave,\n\t\t\t\t\t\tTMConstants.ORG_CONTROLLER_BID,\n\t\t\t\t\t\tTMMessage.SET_ORGANIZATION_MASTER\n\t\t\t\t);\n\t\t\t\t\n\t\t\t\tintroduction.setPayload(getMaster());\n\t\t\t\tcommunicator.send(introduction);\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "bd0668f56dc25bcbc37cf1838e71d372", "score": "0.5212445", "text": "static public Props props(String[] geneExprBag , int phenoTypeLength ,\n int populationSize,\n int genoTypeLength ,\n double cutoff,\n Map<String, UserDefinedFunction> geneExprMapping,\n List<City> baseOrder,\n int stopGeneration) {\n return Props.create(MasterActor.class, () -> new MasterActor(phenoTypeLength,\n populationSize, genoTypeLength, cutoff, geneExprMapping,\n baseOrder, geneExprBag, stopGeneration));\n }", "title": "" }, { "docid": "d48d0987e722ec733d50fead8df1c142", "score": "0.51981544", "text": "public CfgParticipant() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "e842b48dba7258e6d58afa6b10237fa6", "score": "0.5184372", "text": "public SubjectProcessing()\r\n\t{\r\n\t}", "title": "" }, { "docid": "19fc34db6736bf4d6f02c995c07d14e2", "score": "0.5183021", "text": "public void start(){\n\t\tcommThread.setMasterModule(this);\n\t\t(new Thread(commThread)).start();\n\t}", "title": "" }, { "docid": "204f1f3121ea8bfe265a35c605ea2dc7", "score": "0.51647377", "text": "public BGWProtocolActor(ProtocolParameters protocolParam) {\n\t\tthis(protocolParam, null);\n\t}", "title": "" }, { "docid": "a1cabbff03260513e3f5b59611ec1171", "score": "0.51644135", "text": "public FlappingMobComponent() {\n }", "title": "" }, { "docid": "e37a1a254e6d030fe0de6a4e67bc1de9", "score": "0.5163003", "text": "public MoveMessage(SimpleCoordinates source, SimpleCoordinates destination, String player) {\n super(player);\n this.source = source;\n this.destination = destination;\n }", "title": "" }, { "docid": "b05fd6e35f80378d4e7007bae50fd082", "score": "0.5152621", "text": "public UnityBL(Guimanager actor){\n\t\t\n\t\tthis.actor = actor;\n\t\tactorName = actor.getName().replace(\"_ctrl\", \"\");\n\t\t\n\t\tconnector = new UnityConnector(6000, actor);\n\t\tconnector.connect();\n\t\tconnector.setupActorSimulatorName();\n\t\t\n//\t\tmqtt = new MqttUtils();\n//\t\ttry\n//\t\t{\n//\t\t\tmqttClientID = mqtt.connect(actor, MQTT_SERVER, topic);\n//\t\t} \n//\t\tcatch (MqttException e)\n//\t\t{\n//\t\t\te.printStackTrace();\n//\t\t}\n//\t\t\n//\t\tconnector.send(\"subscribe(\\\"\"+topic+\"\\\")\");\t\t\n\t\tactor.println(\"connected\");\t\t\n\t}", "title": "" }, { "docid": "f0703c05a461a447d7620a69fedb9173", "score": "0.5151818", "text": "public MoveMessage() {\n super(MOVE_MESSAGE);\n }", "title": "" }, { "docid": "e5f57e0ced2937007c6553b4a9e9c3c9", "score": "0.5150062", "text": "Master(String hostPort) {\n this.hostPort = hostPort;\n }", "title": "" }, { "docid": "257cf1b39979ec229eba6b1f699921ee", "score": "0.514741", "text": "@SuppressWarnings(\"rawtypes\")\n\tpublic ProtocolConnector(){\n //System.out.println(\"Se inicia el protocolo: \"+this.getClass().toString());\n this._execution_context=new Hashtable<String, Object>();\n this._state_lock=new Vector();\n this._current_lock=new Vector();\n //this.current_state=new ProtocolState();\n }", "title": "" }, { "docid": "9e437f851a400ac92176337f379a4587", "score": "0.5139816", "text": "public synchronized void goSlave()\n {\n internalStart();\n }", "title": "" }, { "docid": "dd890e461fcb31a2d8500521bb65d139", "score": "0.51329017", "text": "public MasterNetwork(int verbosityLevel, String name){\r\n super(verbosityLevel);\r\n networkName = name;\r\n boundaryNodesByID = new HashMap<>();\r\n \r\n subNetworks = new HashSet<>();\r\n //physicalLink_subNetODSet = new HashMap<>();\r\n \r\n artificialLinks = new HashSet<>();\r\n }", "title": "" }, { "docid": "070d758c59b3a8ac9137547a2818ffff", "score": "0.51260334", "text": "public Actor(Name alias) {\n this(alias, ACTOR);\n }", "title": "" }, { "docid": "83b23c152f08ccf10311201e52f1d1fe", "score": "0.5118187", "text": "private void executeInitLogic() {\n logger.debug(\"======================================\");\n logger.info(\"Spawning Children for creating Generation 0\");\n logger.debug(\"======================================\");\n IntStream.range(0, this.populationSize)\n .forEach(index -> {\n\n List<City> newBaseOrder = new ArrayList<>();\n baseOrder.stream().forEach(bo -> newBaseOrder.add(bo));\n ActorRef child = getContext().actorOf(WorkerActor.props(),\"Generation-\"+this.currentGeneration+\"-Child-\"+index);\n WorkerActor.CreateGenotype message =\n new WorkerActor.CreateGenotype(index, genoTypeLength,\n geneExprMapping,\n phenoTypeLength,\n geneExprBag,\n newBaseOrder);\n\n child.tell(message, getSelf());\n });\n }", "title": "" }, { "docid": "7a9adcf6329b499cfce33e980191d6f4", "score": "0.51161814", "text": "BFagent(Graph g)\r\n/* */ {\r\n/* 233 */ super(g);\r\n/* */ }", "title": "" }, { "docid": "dd46c12d85d45774e3948ebaa1eaeb27", "score": "0.51088816", "text": "public Bus() {\n }", "title": "" }, { "docid": "2e410e6be3e2983ee04c03b27d6a3721", "score": "0.5105507", "text": "public NPC()\n {\n super(TYPE);\n }", "title": "" }, { "docid": "eabe0776198b85e9581c68e4626b47b1", "score": "0.5104902", "text": "public ModelObjectActorReference(FlexoProcessBuilder builder) {\n\t\t\tsuper(builder.getProject());\n\t\t\tinitializeDeserialization(builder);\n\t\t}", "title": "" }, { "docid": "b3c22015b9362d289522ddaed36a58fe", "score": "0.51042587", "text": "public Mechanism() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "57b4f80e60f005d2d123a3372694be27", "score": "0.50960267", "text": "public Photon(){\n\t\tsuper();\n\t}", "title": "" }, { "docid": "867008b875bc1e4326ce41123c6fcd8c", "score": "0.50947416", "text": "public Messenger() {\r\n\t}", "title": "" }, { "docid": "59c7a57f72c1cd81aa4460b813cf071a", "score": "0.5094432", "text": "public void startMasterZombie()\n {\n for (Zombie zombie : zombies)\n {\n if (zombie.isMasterZombie)\n {\n zombie.masterZombieChasePlayer.set(true);\n }\n }\n }", "title": "" }, { "docid": "7dfdc393dbb6f645bdc769b530fe5c92", "score": "0.5093731", "text": "public EventMsg(Object source) {\n super(source);\n }", "title": "" }, { "docid": "5cd0aae7665ec3e2d4c9b3cd807f2a27", "score": "0.50868404", "text": "public Client() {\r\n guiScreen();\r\n }", "title": "" }, { "docid": "36d445215a925c27b5e9549aa4281ac4", "score": "0.5080333", "text": "public MailboxA() {\n\t\tsuper(\"Mailbox\");\n\t\twaiting_prod = 0;\n\t\twaiting_cons = false;\n\t\tbuffer = new Queue();\n\t\ttid_queue = new TidQueue();\n\t\t\n\t\tsetDaemon(true);\n\t}", "title": "" }, { "docid": "5535bdc036cef2958db170c323e8ed42", "score": "0.5078393", "text": "public Supermercado()\r\n\t{\r\n\r\n\t}", "title": "" }, { "docid": "11a437ee1bf13e2d6517936d665c55fc", "score": "0.5077804", "text": "public Clorus() {\n this(1);\n }", "title": "" }, { "docid": "a528ae6183b455acbb1356de3176d624", "score": "0.50723624", "text": "public AutonTelescopeTarget() {\n }", "title": "" }, { "docid": "0fe84e7ce2985ecd31e44b665115f8f6", "score": "0.5068706", "text": "public Subject() {\n\t\t\n\t}", "title": "" }, { "docid": "e8b925121f6140e36b93d6afaf4b515b", "score": "0.5064296", "text": "public CGroundingManagerAgent(String sAName){\n\t super(sAName);\n\t\t String sAConfiguration = \"\";\n\t String sAType = \"CAgent:CGroundingManagerAgent\";\n\t SetConfiguration(sAConfiguration);\n\t SetType(sAType);\n\t // set the turn grounding signal to false\n\t bTurnGroundingRequest = false;\n\t\n\t // set the lock to false\n\t bLockedGroundingRequests = false; \n }", "title": "" }, { "docid": "9fdd8a19a1b21df8fe26a141d78fec96", "score": "0.5060978", "text": "public NPC(Action firstAction) {\n this(\"\", false, true, null, 0, 0, firstAction);\n }", "title": "" }, { "docid": "67999d3bf7b689589fdaa793b7d08d0a", "score": "0.5053199", "text": "public SubClassStatementActorReference(FlexoProcessBuilder builder) {\n\t\t\tsuper(builder.getProject());\n\t\t\tinitializeDeserialization(builder);\n\t\t}", "title": "" }, { "docid": "6a1a032f9853b9e789b81a8f69deda1a", "score": "0.50530183", "text": "public ChatServer() {\n this(14001);\n }", "title": "" }, { "docid": "d09b697f1cacf8eddb9afcb9ea746cfc", "score": "0.5048729", "text": "public Actor(Stage stage){\r\n\t\tthis.stage = stage;\r\n\t\tspriteCache = stage.getSpriteCache();\r\n\t}", "title": "" }, { "docid": "61155d87ce404d793cdee6782f9c5437", "score": "0.50462514", "text": "public TestAcceptorEventListener() {\n this(null);\n }", "title": "" }, { "docid": "0b5c1bb482bb0be56a0933a858b95fe6", "score": "0.5042159", "text": "public DuelState(Main main, String username, InetAddress address) {\r\n\t\tthis.main = main;\r\n\t\tthis.input = main.input;\r\n\t\tthis.gui = new GUI(main, this);\r\n\t\tthis.level = new RenderableLevel();\r\n\t\tthis.client = new Client(this, address);\r\n\t\t// TODO: Implement a sendUntilACK method to make sure certain messages get sent.\r\n\t\t// Login.\r\n\t\tnew Packet00Login(username).sendData(this.client);\r\n\t\tthis.camera = new EntityCamera(CAMERA_DISTANCE, this.input);\r\n\t\tthis.camera.rotX = CAMERA_ANGLE;\r\n\r\n\t\tMouse.setGrabbed(false);\r\n\t}", "title": "" }, { "docid": "871e5aa74a2ae94a81500ae83da8d6d0", "score": "0.5034393", "text": "public StartCrawlNotificationMulticastorSource(FreeClientPool clientPool, int treeBranchCount, int serverPort, StartCrawlMultiNotificationCreator creator)\n\t{\n\t\tsuper(clientPool, treeBranchCount, serverPort, creator);\n\t}", "title": "" }, { "docid": "fd00aeacff1330d7d3ebd20890dd6884", "score": "0.5031204", "text": "public Clorus() {\n this(1);\n }", "title": "" }, { "docid": "4d1d9f85ad5e0d3848d97b054b06eead", "score": "0.5029856", "text": "public ActionController(final IMasterController masterController) {\r\n\t\tmc = masterController;\r\n\t}", "title": "" }, { "docid": "94da702da8c1406abf32afaf6a6726ad", "score": "0.50289243", "text": "public IActor createActor();", "title": "" }, { "docid": "809a46db98ad19d0c7eb69906469eb9b", "score": "0.50242233", "text": "public SpawnQuestion(Creature aResponder, String aTitle, String aQuestion, long aTarget) {\n/* 54 */ super(aResponder, aTitle, aQuestion, 34, aTarget);\n/* */ }", "title": "" }, { "docid": "2446b91bf04621834da21764d51b5025", "score": "0.5024193", "text": "private ServerMessage(){}", "title": "" }, { "docid": "6abc7b52f49d8a8c088a302c25ed2d76", "score": "0.50201136", "text": "public LOSWorker() {}", "title": "" }, { "docid": "4d9d52f2a4165d813a29f0610414cb47", "score": "0.5017926", "text": "public Message() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "a49372fccf20de15517b6d5c4854b57c", "score": "0.50150734", "text": "private Message(MessageType m, String trainSender, Stack<IMessagable> route, Stack<IMessagable> poppedList, IMessagable recentSender,\n String station, Direction trainHeading)\n {\n TRAIN = trainSender;\n heading = trainHeading;\n routeList = new Stack<>();\n routeList.addAll(route);\n poppedRouteList = new Stack<>();\n poppedRouteList.addAll(poppedList);\n mostRecentSender = recentSender;\n type = m;\n STATION = station;\n }", "title": "" }, { "docid": "b5e38891784a74ff9001779ca5b7c2ff", "score": "0.50085914", "text": "public TMasterOpRequest(TMasterOpRequest other) {\n __isset_bitfield = other.__isset_bitfield;\n if (other.isSetUser()) {\n this.user = other.user;\n }\n if (other.isSetDb()) {\n this.db = other.db;\n }\n if (other.isSetSql()) {\n this.sql = other.sql;\n }\n if (other.isSetResourceInfo()) {\n this.resourceInfo = new com.baidu.palo.thrift.TResourceInfo(other.resourceInfo);\n }\n if (other.isSetCluster()) {\n this.cluster = other.cluster;\n }\n this.execMemLimit = other.execMemLimit;\n this.queryTimeout = other.queryTimeout;\n }", "title": "" }, { "docid": "bafda7f11b4da877e6c45139606ffb8b", "score": "0.5002669", "text": "public Maneuver() {\r\n }", "title": "" }, { "docid": "9614e56bb1f616c1170657102d235604", "score": "0.50020766", "text": "public ScenarioBuilder master() {\r\n try {\r\n git.checkout().setName(\"master\").call();\r\n } catch (Exception ex) {\r\n throw new IllegalStateException(\"cannot checkout master\", ex);\r\n }\r\n return this;\r\n }", "title": "" }, { "docid": "64559d7396a8911a32524858f6b81e6c", "score": "0.4998155", "text": "public ClientProcessor()\r\n\t{\r\n\t\tisRunning = true;\r\n\t}", "title": "" }, { "docid": "cf32f8f5242edbff9f466ab46965a363", "score": "0.49958968", "text": "public final static void setMaster(boolean value)\n {\n master = value;\n }", "title": "" }, { "docid": "5143107d2ade913ff0f330b75f3d8f63", "score": "0.49934745", "text": "public Membermessage() {\n this(\"MemberMessage\", null);\n }", "title": "" }, { "docid": "a85a5fe1ae48965897336c4b355ca2bb", "score": "0.49912342", "text": "@Override\n public void handleClientFsm() {\n\n this.communicateWithTheServer();\n //setto il prossimo stato\n fsmContext.setState(new ClientCreateOrParticipateState(fsmContext));\n }", "title": "" }, { "docid": "3bd6a89828390b06641bdcb7cdd56e1b", "score": "0.4978549", "text": "Agent parent();", "title": "" }, { "docid": "74ba955549268b2ce3d82030c608b8d0", "score": "0.49728686", "text": "public MyActor(Image image, Stage stage) {\n this.image = image;\n this.stageIBelongTo = stage;\n stageIBelongTo.addActor(image);\n stageIBelongTo.addActor(this);\n }", "title": "" }, { "docid": "a4fed64cebbf321423ef57965ac945ca", "score": "0.4962321", "text": "public Cliente() {\r\n }", "title": "" }, { "docid": "68d9158f74c09266cd00bdb1f4ee666a", "score": "0.49617037", "text": "public ServerThread (Socket s, Server p, int id)\r\n\t{\r\n\t\tparent = p;\r\n\t\tsock = s;\r\n\t\tidnum = id;\r\n\t}", "title": "" }, { "docid": "4049fb8db530d48f15f5910abad795f3", "score": "0.49549222", "text": "SocketReplicationThread(SocketReplicationListener master, Socket socket\n ) {\n super(\"ClusterListenThread-\" + count++);\n this.master = master;\n this.socket = socket;\n this.reader = new SocketObjectReader(socket,this);\n }", "title": "" }, { "docid": "fe2c10adc78f2cd962f65301c295a1ca", "score": "0.4953442", "text": "Building(Player player) {\n super(player);\n }", "title": "" }, { "docid": "dcaa1372c8ff3c85fb5b1248698cb1d9", "score": "0.49492154", "text": "public Actor(String alias) {\n this(DSL.name(alias), ACTOR);\n }", "title": "" }, { "docid": "4cd6b60f43383f8bf47a2a223e399c04", "score": "0.49454764", "text": "public CargoMidPosition() {\n // Add Commands here:\n\n // To run multiple commands at the same time,\n // use addParallel()\n addParallel(new MoveElbow(\"ElbowHatch_ML\"));\n addParallel(new MoveWrist(\"WristHatch_ML\"));\n }", "title": "" }, { "docid": "80933328da9a7039acc6d49321290849", "score": "0.49447906", "text": "public ParentNodeConstructor() {}", "title": "" }, { "docid": "bb62422a61ad41a9380b2469af2ddc54", "score": "0.4944546", "text": "public MyActorSystem() {\n es = Executors.newCachedThreadPool();\n }", "title": "" }, { "docid": "a246b60d5c4e83cedc9b56eb46ec87a4", "score": "0.4944036", "text": "public BackGround()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(288, 376, 1);\n \n player = new PlayerActor();\n addObject(player, 0, 0);\n player.setFoot(58,363);\n \n kong = new KongActor();\n addObject(kong,0,0);\n kong.setFoot(215,76);\n \n coin = new CoinActor();\n addObject(coin,0,0);\n coin.setFoot(140,27);\n \n gca = new GuysCounterActor();\n addObject(gca,0,0);\n gca.setFoot(20,20);\n \n //counter = 0;\n gameState = State.NAN;\n \n winlose = new WinLoseActor();\n \n splash = new SplashActor();\n addObject(splash,140,190);\n \n //Set spedd to 40%\n Greenfoot.setSpeed(40);\n //Auto Start the Game\n //Greenfoot.start();\n \n \n }", "title": "" }, { "docid": "f065a85ff68d5fa89ef67f07b56f36ec", "score": "0.49413928", "text": "public GameState(Agent mAgent0, Agent mAgent1) {\n\t\tgBoard = new Board();\n\t\tgBoard.init();\n\t\tgCurrentPlayer = 0;\n\t\tgDrawCounter = 0;\n\t\tgPlayers = new Agent[2];\n\t\tgPlayers[0] = mAgent0;\n\t\tgPlayers[1] = mAgent1;\n\t}", "title": "" }, { "docid": "be939f4b69fa5001db8ed919ea5e33de", "score": "0.49377406", "text": "public Builder setMaster(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName value) {\n if (masterBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n master_ = value;\n onChanged();\n } else {\n masterBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000001;\n return this;\n }", "title": "" }, { "docid": "f9db2fc4ebe636f365f9ee85d760e871", "score": "0.49342299", "text": "public MasterPT() { \n initComponents();\n }", "title": "" }, { "docid": "f66c760e3779fe481311de2d9be0dc69", "score": "0.49329403", "text": "public Builder setActorBytes(\r\n com.google.protobuf.ByteString value) {\r\n if (value == null) {\r\n throw new NullPointerException();\r\n }\r\n checkByteStringIsUtf8(value);\r\n \r\n actor_ = value;\r\n onChanged();\r\n return this;\r\n }", "title": "" }, { "docid": "f6e7f6c2423e237843692c3e4610cca5", "score": "0.49289665", "text": "public PartnerMember() {\n }", "title": "" } ]
79788ba4319760204884290fe11fb778
Sets up demo environment.
[ { "docid": "2637aa418030f02733594824dec2ad20", "score": "0.61553204", "text": "protected void setUp() throws Exception {\n demoController = new DemoController();\n coordinateArea = new CoordinateArea(demoController);\n zoomPanel = new ZoomPanel(coordinateArea);\n }", "title": "" } ]
[ { "docid": "b134d84bacc6824909c241f0ac6b8bf2", "score": "0.67628163", "text": "protected void initializeTestingEnvironment() {\n GUIView jfw = new GUIView();\n MidiView midiView = new MidiView();\n CompositeView compositeView = new CompositeView(jfw, midiView);\n view = compositeView;\n mco = new MusicCreatorModel(1000000);\n mco.addNote(1, 20, 1, Pitch.A, 3, 3);\n start(0);\n }", "title": "" }, { "docid": "696292040f81900d2e35532343f2f339", "score": "0.66119486", "text": "public void setup() \n{\n \n e = new Environment(); \n running=false;\n}", "title": "" }, { "docid": "6247ba8e3770c10533821327dea07ce9", "score": "0.64943737", "text": "public void setUp() {\n\n\t\tConfigReader.setConfigSettings(); // sets the env variables\n\t\tConfigReader.setTestData(); // sets the test env variables\n\t\tBrowserFactory.initDriver(Settings.browserName); // initializes driver\n\t\tBrowserFactory.getWebDriver().get(Settings.URL); // open application url\n\t}", "title": "" }, { "docid": "59b7606d00714cad4de8ad3a02615559", "score": "0.6423628", "text": "@Before\n public void setup() {\n try {\n environmentVariables.set(\"HOST\", \"\");\n environmentVariables.set(\"DBNAME\", \"\");\n environmentVariables.set(\"USER\", \"\");\n environmentVariables.set(\"PASS\", \"\");\n voteRecorder = new VoteRecorder();\n } catch (SQLException e) {\n e.printStackTrace();\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "35edc4e619580e66e3e12651bf729354", "score": "0.6397434", "text": "@Before\n public void setUpEnvironment() {\n UsePerspective def = getAnnotationOnMethod(name.getMethodName(), UsePerspective.class);\n boolean opened = false;\n try {\n if (def != null) {\n def.value().newInstance().open();\n opened = true;\n }\n } catch (InstantiationException ex) {\n LOGGER.error(\"Unable to instantiate perspective\", ex);\n } catch (IllegalAccessException ex) {\n LOGGER.error(\"Unable to instantiate perspective\", ex);\n }\n if (!opened) {\n new JavaPerspective().open();\n }\n \n // then add a default runtime\n if (getAnnotationOnMethod(name.getMethodName(), UseDefaultRuntime.class) != null) {\n DroolsRuntimesPreferencePage pref = new DroolsRuntimesPreferencePage();\n pref.open();\n \n DroolsRuntimeDialog wiz = pref.addDroolsRuntime();\n wiz.setName(DEFAULT_DROOLS_RUNTIME_NAME);\n wiz.setLocation(DEFAULT_DROOLS_RUNTIME_LOCATION);\n wiz.ok();\n pref.setDroolsRuntimeAsDefault(DEFAULT_DROOLS_RUNTIME_NAME);\n \n pref.okCloseWarning();\n }\n \n // then create default project\n if (getAnnotationOnMethod(name.getMethodName(), UseDefaultProject.class) != null) {\n if (!new PackageExplorer().containsProject(DEFAULT_PROJECT_NAME)) {\n NewDroolsProjectWizard wiz = new NewDroolsProjectWizard();\n wiz.createDefaultProjectWithAllSamples(DEFAULT_PROJECT_NAME);\n }\n }\n }", "title": "" }, { "docid": "724c5512d55589214d20fbebb5118f03", "score": "0.6361069", "text": "public void setup() {\n\t\t\n\t}", "title": "" }, { "docid": "582c823a5a6c67fc240efd1c40e7df39", "score": "0.6280196", "text": "protected void setUp() {\n TestEnvironnement.forceFakeDriver();\n testEnv = TestEnvironnement.newEnvironment();\n }", "title": "" }, { "docid": "299cf7efc43dcdca9a5326ae2e6907d7", "score": "0.624675", "text": "@Before\n\tpublic void setup() {\n\t\tSystem.out.println(\"Setting up Test\");\n\t}", "title": "" }, { "docid": "487e4417c8dd992159980d72112e0502", "score": "0.62380266", "text": "@BeforeClass\n public void SetUp() throws IOException\n {\n environment = passBrowser.createBrowser();\n }", "title": "" }, { "docid": "d2d16c4da7c704c20f1df8cfa9b9ba4f", "score": "0.6217848", "text": "@BeforeClass(alwaysRun = true)\n\t@Parameters(\"Environment\")\n\tpublic void startEnvironment(String sEnv) {\n\t\ttry {\n\t\t\tcs = null;\n\t\t\tal = new AppLib(cs);\n\t\t\tal.setEnvironmentInfo(sEnv);\n\t\t\tproxy = al.getHttpProxy();\n\t\t\tapi = new API();\n\t\t\tapi.setProxy(proxy);\n\t\t\tma = new MemberAPIs();\n\t\t\t} catch (Exception e) {\n\t\t\t\tfail(e.toString());\n\t\t\t\t}\n\t}", "title": "" }, { "docid": "5a8b7704811274c3c04780906f9dc5d6", "score": "0.62161756", "text": "public void setup(){\n\n\t}", "title": "" }, { "docid": "a3d1d3f791ae80b26647d877c168ae50", "score": "0.6203237", "text": "@Before\n\tpublic void setup()\n\t{\n\t\tOptionsManager.resetSingleton();\n\t\tOptionsManager.getSingleton().setTestMode(true);\n\t\tLoginPlayerManager.resetSingleton();\n\t}", "title": "" }, { "docid": "1c29fa52e5ca77ca0fd6ef1d01961ed0", "score": "0.6175662", "text": "@Test //(groups = {\"funcTest\"})\n\t@Parameters ({\"environment\"})\n\tpublic void testSetup(String environment) throws Exception {\n\t\tSystem.out.println(\"Setting browser window prefrences. \");\n\t\tselenium.windowMaximize();\n\t\tselenium.windowFocus();\n\t\tselenium.setSpeed(\"1000\");\n\n\t}", "title": "" }, { "docid": "e70b17f33320bbf3c3aa72c990036503", "score": "0.6173491", "text": "@Before\n\tpublic void setupTestEnvironment() {\n\t\tproductTest = new ProductTest();\n\t\tproduct1 = productTest.getProduct();\n\t\tproduct2 = productTest.getOtherProduct();\n\t}", "title": "" }, { "docid": "afc1dfa3e325585b0c548306d49e4ec1", "score": "0.6151654", "text": "public static void setup(){\r\n\t\tloadFiles();\r\n\t\tloadClients();\r\n\t}", "title": "" }, { "docid": "19a9e337f006e08737d4d31aca4a2190", "score": "0.6130398", "text": "@BeforeClass\n public void SetUp() throws IOException\n {\n passBrowser = new CreateEnvironment();\n environment = passBrowser.createBrowser();\n }", "title": "" }, { "docid": "f227daaae82e7b80590634ed1398f247", "score": "0.61145467", "text": "@Before\r\n\tpublic void setup() {\r\n\t\twd = new WatchDog(1);\r\n\t}", "title": "" }, { "docid": "d3d29c4f2fedd4698d7d4dd0949da2f4", "score": "0.6048731", "text": "public void setup() {\n\r\n\t}", "title": "" }, { "docid": "6372c55cb0e42003366de48097a07e2d", "score": "0.6047815", "text": "@Override\n\tprotected void setup() {\n\t\tServiceDescription sd = new ServiceDescription();\n\t\tsd.setType(\"Environnement\");\n\t\tsd.setName(\"Environnement\");\n\t\t\n\t\tDFAgentDescription dfad = new DFAgentDescription();\n\t\tdfad.setName(getAID());\n\t\tdfad.addServices(sd);\n\t\ttry {\n\t\t\tDFService.register(this, dfad);\n\t\t}\n\t\tcatch (FIPAException fe) {\n\t\t\tfe.printStackTrace();\n\t\t}\n\t\t\n\t\t//create and launch interface\n\t\tthis.mainGui = new MainGui();\n\t\tMainGui.setMyAgent(this);\n\t\tnew Thread(mainGui).start();\n\t\t\n\t\tthis.stateSimulation = Constante.STOP;\n\t\tthis.listBoat = new ArrayList<>();\n\t\tthis.listCity = new ArrayList<>();\n\n\t\tthis.addBehaviour(new EnvironnementBehaviour(this));\n\t\t\n\t\tAgentController agMission;\n\t\tmissionAgent = new MissionAgent(this);\n\t\ttry {\n\t\t\tagMission = this.getContainerController().acceptNewAgent(\"Mission\", missionAgent);\n\t\t\tagMission.start();\n\t\t} catch (StaleProxyException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "9396411093e0eeed9a20ccf304c7daa2", "score": "0.6034225", "text": "public void setUp()\n {\n colony = new Colony();\n ant = new WallAnt();\n }", "title": "" }, { "docid": "6334f34e22e0a140d351a2c2df5a2964", "score": "0.6028162", "text": "@Before\n\tpublic void setup() {\n\t\tvm = new VendingMachine(new int[] { 5, 10, 25, 100 }, 3, 10, 10, 10);\n\t\tnew BusinessLogic(vm);\n\n\t\tvm.configure(Arrays.asList(new String[] { \"Coke\", \"water\", \"stuff\" }),\n\t\t\t\tArrays.asList(new Integer[] { 250, 250, 205 }));\n\t\tUtilities.loadCoins(vm, 1, 1, 2, 0);\n\t\tUtilities.loadProducts(vm, 1, 1, 1);\n\t}", "title": "" }, { "docid": "b404930f18e95fb590c04e67eceaf3e3", "score": "0.602716", "text": "protected TestEnvironment createTestEnvironment(TestParameters tParam, PrintWriter log) {\n \n this.cleanup(tParam, log);\n \n XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();\n \n XPropertySet xMSFProp = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xMSF);\n XComponentContext xDefaultContext = null;\n try{\n // Get the default context from the office server.\n Object oDefaultContext = xMSFProp.getPropertyValue(\"DefaultContext\");\n \n // Query for the interface XComponentContext.\n xDefaultContext = (XComponentContext) UnoRuntime.queryInterface(\n XComponentContext.class, oDefaultContext);\n \n } catch (UnknownPropertyException e){\n throw new StatusException(\"could not get DefaultContext from xMSF\", e);\n } catch (WrappedTargetException e){\n throw new StatusException(\"could not get DefaultContext from xMSF\", e);\n } catch (Exception e){\n throw new StatusException(\"could not get DefaultContext from xMSF\", e);\n }\n \n try {\n \n Object[] oHandlerFactories = new Object[1];\n oHandlerFactories[0] = new PropertyHandlerFactroy();\n \n int minHelpTextLines = 200;\n int maxHelpTextLines = 400;\n \n XObjectInspectorModel oInspectorModel = com.sun.star.inspection.ObjectInspectorModel.\n createWithHandlerFactoriesAndHelpSection(xDefaultContext, oHandlerFactories,\n minHelpTextLines, maxHelpTextLines);\n \n log.println(\"ImplementationName '\" + utils.getImplName(oInspectorModel) + \"'\");\n \n TestEnvironment tEnv = new TestEnvironment(oInspectorModel);\n \n // com.sun.star.inspection.XObjectInspectorModel\n tEnv.addObjRelation(\"minHelpTextLines\", new Integer(minHelpTextLines));\n tEnv.addObjRelation(\"maxHelpTextLines\", new Integer(maxHelpTextLines));\n \n return tEnv;\n } catch (com.sun.star.uno.Exception e) {\n e.printStackTrace(log);\n throw new StatusException(\"Unexpected exception\", e);\n }\n \n }", "title": "" }, { "docid": "221a4d7f3b457fd94fc406f352c21a99", "score": "0.59998125", "text": "@Before\n public void setup() {\n ReferenceManager._().addReferenceFactory(new ResourceReferenceFactory());\n\n TestUtils.initializeStaticTestStorage();\n TestAppInstaller.setupPrototypeFactory();\n\n TestAppInstaller appTestInstaller =\n new TestAppInstaller(\"jr://resource/commcare-apps/archive_form_tests/profile.ccpr\",\n \"test\", \"123\");\n appTestInstaller.installAppAndLogin();\n }", "title": "" }, { "docid": "a60b03edf71b24fb43bf51a4276d55eb", "score": "0.59950125", "text": "public void setup(){\r\n\t\tsize(800,600,OPENGL);\r\n\t\tcam =new PeasyCam(this,400);\t\r\n\t\tsetupP5();\r\n\t\t\r\n\t\tcanvas = new Canvas(this.g); //drawing class \r\n\t\t\r\n\t\t//create an environment for agents / voxels\r\n\t\tenvironment = new Environment(this, 2000);\r\n\t\tvoxels = new VoxelGrid(10,10,10,new Vec3D(1,1,1));\r\n\t\t\r\n\t\t//add some agents\r\n\t\tfor(int i=0;i<200;i++){\r\n\t\t\tAgent a = new Agent(Vec3D.randomVector().scale(200),false);\r\n\t\t\tenvironment.addAgent(a);\r\n\t\t}\r\n\r\n\t\t/*----------------------------------------------------------kinect setup\r\n\t\t//kinect = new KinectHandler(this);\r\n\t\ttry {\r\n\t\t\t Thread.sleep(4000); //try to wait for kinect to initialise\r\n\t\t\t} catch (InterruptedException e) {\r\n\r\n\t\t\t}\r\n\t\t//----------------------------------------------------------robot setup\r\n\t\trobotWorkspace = new RobotWorkspace(this);\r\n\t\t//robotWorkspace.loadMesh(sketchPath(\"mesh.stl\"));\r\n\t\t * */\r\n\r\n\t}", "title": "" }, { "docid": "1f27803951a4f5fca2561fa56b92698a", "score": "0.59934217", "text": "protected boolean setup()\n {\n return true;\n }", "title": "" }, { "docid": "9d1fc9b57b46bf669a36c9867ed236c3", "score": "0.59797734", "text": "@Before\n\t public void testsetup()\n\t {\n\t\t// Webconnector wbc = null;\n\t\t System.out.println(\"setting up the env for execution\");\n\t\t //wbc = Webconnector.getInstance(); \n\t\t \n\t\t wbc = new Webconnector();\n\t\t Webconnector wbc = getObject();\n\t\t \n\t }", "title": "" }, { "docid": "4d3694b16ec52c82508f9f527a0d1e03", "score": "0.59693944", "text": "public MusicCreatorControllerTest() {\n initializeTestingEnvironment();\n }", "title": "" }, { "docid": "9f091614a0d28981d3ce4ffbe09cc85e", "score": "0.59609467", "text": "@Before\n\tpublic void setUp() {\n\t\tnew HeadlessLauncher().launch();\n\t\tgrid = new Grid(false);\n\t\thandler = new LocalInputHandler(grid);\n\t}", "title": "" }, { "docid": "ddecda1d8cc03b72a5fe363c3abe6c8c", "score": "0.59541506", "text": "@Before\n\tpublic void setup() {\n\t\t\n\t}", "title": "" }, { "docid": "37d09e96946aecc0dfbeec01366d4874", "score": "0.59536487", "text": "@Before\n\tpublic void setup() {\n\t}", "title": "" }, { "docid": "0a2a4ee60da77ac7890bfc7cf2e40425", "score": "0.59485394", "text": "public void setup() {\n UnderNet.logger.info(\"Setting up {}...\", this.getClass().getSimpleName());\n registerEvents();\n registerHandlers();\n }", "title": "" }, { "docid": "e6b0e2c3215768549cfdf474f3aad70e", "score": "0.59380406", "text": "private Test_environmentPackage() {}", "title": "" }, { "docid": "2ae4226e0db0a2f6c7fb61c23803ba24", "score": "0.59105754", "text": "public void setup() {\n \t\tsounds = new Sounds(this);\r\n \t\tgraphics = new Graphics(this);\r\n \r\n \t\t// initial opengl setup\r\n \t\tgl = ((PGraphicsOpenGL) g).gl;\r\n \t\tgl.glDisable(GL.GL_DEPTH_TEST);\r\n \r\n \t\t// Load common artwork and sound\r\n \t\tgraphics.loadCommonContent();\r\n \t\tsounds.loadCommonContent();\r\n \r\n \t\t// Create resources\r\n \t\txbeeBaseStation = new XBeeBaseStation();\r\n \t\txbeeBaseStation.scan();\r\n \t\txbeeManager = new XBeeManager(this, xbeeBaseStation);\r\n \t\tplayerList = new PlayerList(this);\r\n \t\tlevelSelect = new LevelSelect(this, sounds);\r\n \r\n \t\thud = new Hud(this, sounds, graphics);\r\n \t\tlogger = new Logger(this);\r\n \r\n \t\tui_elements = new UIElement[] { xbeeManager, playerList, levelSelect };\r\n \r\n \t\tchangeGameState(GameState.XBeeInit);\r\n \t}", "title": "" }, { "docid": "609887f14b8c422773cbdeefedfef202", "score": "0.5904258", "text": "@Before\n\tpublic void setup() {\n\t\t }", "title": "" }, { "docid": "106a0a2567b166a7589eb983c3333aef", "score": "0.5893092", "text": "@Before\r\n public void setup() {\r\n // stop bonjour as it clutters the console log\r\n Preferences.setUseBonjour(false);\r\n Shared.waitForAllJobsToFinish();\r\n // TOFIX: this will have to change into a specific version\r\n // or we will have to add the install based on stored data\r\n Arduino.installLatestAVRBoards();\r\n Shared.waitForAllJobsToFinish();\r\n }", "title": "" }, { "docid": "586bd8a22c3f246f2cc3b4874069baae", "score": "0.5889329", "text": "@Before\n public void setup() {\n game = Game.newGame();\n }", "title": "" }, { "docid": "faac293bc40451f2a0fad3d3b16518b5", "score": "0.5883152", "text": "public void init(EnvironnementService env);", "title": "" }, { "docid": "ed4a0b7638a27d6aaf3df403354f5ad5", "score": "0.588204", "text": "@Before\n\tpublic void setUp() {\n\t\th = HowlOnDemandSystem.getInstance();\n\t\th.reset();\n\t}", "title": "" }, { "docid": "09b01412f7280f4df869591185ef59f4", "score": "0.58773714", "text": "@Override\n public void setup() {\n \t\n }", "title": "" }, { "docid": "84397745c955dbcdf0ead1145395df28", "score": "0.58655894", "text": "@Before\n\tpublic void setUp() throws Exception {\n\t\tJavaFXTestHelper.setupApplication();\n\t\tJavaFXTestHelper.waitForPlatform();\n\t}", "title": "" }, { "docid": "f15f2b0de1b23f70df0be3af1a017d7c", "score": "0.58637774", "text": "public void localSetup() { \r\n\t}", "title": "" }, { "docid": "0eb22636798e02edf045bcee9beaadca", "score": "0.5863556", "text": "@BeforeClass\n public static void constructTestEnv() {\n System.out.println(\"Constructing test environment...\");\n // No field variable initialisation required by this test\n }", "title": "" }, { "docid": "54f1dd8b7736c313b3d62bdba34a23be", "score": "0.5858482", "text": "@Override\n\tpublic void setup() throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "89b1b7a80cfcd2cc4c0d9144ab817924", "score": "0.5845212", "text": "public void init(SynapseEnvironment se);", "title": "" }, { "docid": "5e1911a28fcea9b21b6484096463ab40", "score": "0.5837701", "text": "private void setup() throws Exception {\n\t}", "title": "" }, { "docid": "64dbd63502426640dedca33d9b3c7e7a", "score": "0.58226275", "text": "@Override\r\n\tprotected void initialSetup() throws Exception {\n\t\tprojectOne = createXtUMLProject(\"test_project_referencing\");\r\n\t\tprojectTwo = createXtUMLProject(\"test_project_referenced\");\r\n\t}", "title": "" }, { "docid": "56e7ffc4c074540327c9895b0b9a1fc2", "score": "0.5817231", "text": "@Override\n\tpublic void setup() {\n\t\t\n\t}", "title": "" }, { "docid": "56e7ffc4c074540327c9895b0b9a1fc2", "score": "0.5817231", "text": "@Override\n\tpublic void setup() {\n\t\t\n\t}", "title": "" }, { "docid": "6f49c61f371b9171be40886176865298", "score": "0.5816332", "text": "public void setUp()\n {\n\n leatherBoots = new Armor(\"Boots of blinding speed\", \"Boots grant\" +\n \t\t\"more stamina for the character and a decrease in deppreciation\" +\n \t\t\"of stamina.\", 15.0F, new GameWorld());\n }", "title": "" }, { "docid": "09a7d1733fecf264f4fb870cfcb58613", "score": "0.5801491", "text": "public TestEnvironment() {\r\n\r\n\t\tthis.loadedInstances = new HashMap<URI, IModelInstance>();\r\n\t\t\r\n\t\tthis.loadedModels = new HashMap<URI, IModel>();\r\n\r\n\t\tthis.loadedStatements = new LinkedList<Statement>();\r\n\r\n\t}", "title": "" }, { "docid": "588d648079ca65aa54ff71de8e8db734", "score": "0.58011687", "text": "@Before\n public void setup() {\n Cave caveRemote = CommonCaveTests.createTestDoubledConfiguredCave();\n\n Invoker srh = new StandardInvoker(caveRemote);\n ClientRequestHandler properCrh = new LocalMethodCallClientRequestHandler(srh);\n saboteur = new SaboteurCRHDecorator(properCrh);\n\n cave = new CaveProxy(saboteur);\n }", "title": "" }, { "docid": "bcce7627115692f6b58083bfe6adf187", "score": "0.57997304", "text": "@Before\n\tpublic void setup()\n\t{\n\t\tgame1 = factory.makeHantoGame(HantoGameID.BETA_HANTO);\n\t\tgame = factory.makeHantoGame(HantoGameID.BETA_HANTO, BLUE);\n\t}", "title": "" }, { "docid": "6a47f2555f09d734b68fd6c0138ed06d", "score": "0.57941747", "text": "@org.junit.Before\n public void setUp() throws Exception {\n hideout = new UndergroundCaveBuilder(\"Testing\", \"Hero\").getHideout();\n }", "title": "" }, { "docid": "de421ed2e47006f069f9814b1e9c553a", "score": "0.5787069", "text": "@Before\n public void setupEnvironment() {\n srcMl = \"C:\\\\Program Files\\\\srcML 0.9.5\\\\bin\";\n targetCode = \"GCD\";\n dotClassFolderPath = \"C:\\\\Users\\\\admin\\\\git\\\\CS454-Automated_patching_using_GP\\\\out\\\\production\\\\CS454_AutomatedPatching\";\n\n List<Bug> allBugs = new ArrayList<>();\n allBugs.add(new Bug(\"13\", 0.57));\n allBugs.add(new Bug(\"11\", 1.00));\n allBugs.add(new Bug(\"18\", 0.82));\n\n utils = new Utils(srcMl, targetCode + \".java\", dotClassFolderPath, targetCode + \".class\");\n parser = new Parser(utils);\n astHandler = new ASTHandler(utils, parser, allBugs);\n }", "title": "" }, { "docid": "14f7940e013f0378995275a442131676", "score": "0.5780606", "text": "public void setUp() {\n myMaker = new BoardMaker();\n myFinder = new WordOnBoardFinder();\n }", "title": "" }, { "docid": "fdfb469d073935e59beba8a794ef09a3", "score": "0.57792306", "text": "public void setup() throws Exception {\n\t\tsugar().login();\n\t\t\n\t\t// Enable Knowledge Base Module\n\t\tsugar().admin.enableModuleDisplayViaJs(sugar().knowledgeBase);\n\t}", "title": "" }, { "docid": "c5e7dccd928919696bbb05889722f420", "score": "0.57631636", "text": "@Before\n public void setup() {\n DataProviderMock dataMock = new DataProviderMock();\n this.game = new Game(dataMock);\n this.gui = new GuiControl(this.game);\n }", "title": "" }, { "docid": "b7c3b4cff200c0e7519a05fdcc9d1e98", "score": "0.5760508", "text": "@Before()\n\tpublic void setup() {\n\t\tGameManager.getInstance().reset();\n\t}", "title": "" }, { "docid": "60b2a28ae3fa20c8398ac263acdbc50f", "score": "0.5752717", "text": "protected void setup() {\n // register listener for files being written\n synchronized(UiApplication.getEventLock()) {\n UiApplication.getUiApplication().addFileSystemJournalListener(listener);\n }\n \n // launch the native voice notes recorder application\n AudioControl.launchAudioRecorder();\n }", "title": "" }, { "docid": "cae34a9a40421e664dca352952b77e97", "score": "0.5750279", "text": "@Override\n\tprotected void setup() {\n\n\t}", "title": "" }, { "docid": "d5763bf4f98f14275eb6d0e59806e19a", "score": "0.5750141", "text": "@BeforeSuite\n\tpublic void setup() {\n\t\tWebDriverManager.chromedriver().setup();\n\t\tdriver= new ChromeDriver();\n\t}", "title": "" }, { "docid": "6a8cb9c124f4a2cb992001be240a1c07", "score": "0.5744089", "text": "@Before\n\t public void sceneSetup() {\n\t testHQ = new SceneHQ(\"Test HQ\", 0, 0, SCENE_WIDTH, SCENE_HEIGHT, \"img/backgrounds/HQ_bg.jpg\", EnumSceneType.DEFAULT);\n\t testHQTut = new SceneHQ(\"Test HQ\", 0, 0, SCENE_WIDTH, SCENE_HEIGHT, \"img/backgrounds/HQ_bg.jpg\", EnumSceneType.TUTORIAL);\n\t \n\t }", "title": "" }, { "docid": "0e68004f91a00952bd1a81b625119e11", "score": "0.5741759", "text": "@Before\n\tpublic void setup()\n\t{\n\t\t// By default, blue moves first.\n\t\tgame = factory.makeHantoGame(HantoGameID.BETA_HANTO);\n\t}", "title": "" }, { "docid": "f899843b9748dc8fa1f6320fd85e5f85", "score": "0.5735875", "text": "@Before\n public void setUp()\n {\n room = new Room(\"Library\", null);\n exit= new Exit(\"north\", room, false, null);\n exampleKey = new Keys(\"Library key\",\"Open the library\", exit);\n }", "title": "" }, { "docid": "165caff7cf950639a4018fb0002a8627", "score": "0.573283", "text": "@Before\n\tpublic void setUp()\n\t{\n\t\tMazeApplication app = new MazeApplication();\n\t\tcontrol = app.getController();\n\n\t\tmazeFac = new MazeFactory(true); //Makes maze generation deterministic, for purposes of testing.\n\t\tstub = new StubOrder(Builder.DFS, 0, false); //Builder type, skill level, whether perfect or not (i.e no rooms or yes rooms).\n\t\tmazeFac.order(stub);\n\t\tmazeFac.waitTillDelivered();\n\t\tconfig = stub.getMazeConfiguration();\n\t\t\n\t\tcontrol.switchFromGeneratingToPlaying(config);\n\t\t\n\t\trobot = (BasicRobot) control.getRobot();\n\t\twizard = (Wizard) control.getWizard();\n\t\trobot.setMaze(control);\n\t\twizard.setRobot(robot);\n\t}", "title": "" }, { "docid": "c751796694de8d5513bad6bfee7a87b6", "score": "0.5723831", "text": "void setup();", "title": "" }, { "docid": "dbea04b686c6f325ecd213e2a0218f9d", "score": "0.57208216", "text": "@BeforeClass\n public static void setup() throws IOException {\n EmbeddedFileSystem.Builder fsBuilder = new EmbeddedFileSystem.Builder();\n String p = System.getProperty(\"buildDir\");\n File root = new File(p).getParentFile();\n root =new File(root, \"glassfish\");\n //If web container requires docroot to be there may be it should be automatically created by embedded API\n new File(root, \"docroot\").mkdirs();\n\n EmbeddedFileSystem fs = fsBuilder.instanceRoot(root).build();\n Server.Builder builder = new Server.Builder(\"WebAllTest\");\n builder.embeddedFileSystem(fs); \n server = builder.build();\n server.getHabitat().getComponent(NetworkConfig.class);\n http = server.createPort(8080);\n Assert.assertNotNull(\"Failed to create port 8080!\", http);\n }", "title": "" }, { "docid": "8ed21171f5f31e14bd1db8d61ba4cdc6", "score": "0.57167214", "text": "@Before\n public void setup() throws Exception {\n File rootDir = temp.newFolder(\"zk-test\");\n zkport = Net.getFreePort();\n\n log.info(\"EmbeddedZooKeeper rootDir=\" + rootDir.getCanonicalPath() + \", port=\" + zkport);\n\n // Set up and initialize the embedded ZooKeeper\n ezk = new EmbeddedZooKeeper(rootDir, zkport);\n ezk.init();\n\n // Set up a zookeeper client that we can use for inspection\n final CountDownLatch connectedLatch = new CountDownLatch(1);\n\n zk = new ZooKeeper(\"localhost:\" + zkport, 1000, new Watcher() {\n public void process(WatchedEvent event) {\n if (event.getState() == Event.KeeperState.SyncConnected) {\n connectedLatch.countDown();\n }\n }\n });\n connectedLatch.await();\n\n System.out.println(\"ZooKeeper port is \" + zkport);\n }", "title": "" }, { "docid": "b83ec712e3a3536c13088dac7f9280e9", "score": "0.57091796", "text": "private static void oneTimeSetUp() {\r\n }", "title": "" }, { "docid": "cc1763318452f11551487e146e79fa3b", "score": "0.57036626", "text": "public void init() {\n if (SettingsFactory.getSettings().getBoolean(\"isDebug\", false)) {\n logger.info(\"Debug mode enabled\");\n }\n\n Vertx vertx = VertxFactory.getVertx();\n vertx.deployVerticle(ApplicationVerticle.class.getName(), getDeploymentOptions());\n }", "title": "" }, { "docid": "c01e5cfae463fc2e7f732536a3efe1a7", "score": "0.5702004", "text": "public static void init()\n {\n try\n {\n final String value = System.getProperty( \"io.purplejs.runMode\" );\n valueOf( value.toUpperCase() ).set();\n }\n catch ( final Exception e )\n {\n PROD.set();\n }\n }", "title": "" }, { "docid": "4870244dd854a8beaf462cd33d1b3e8b", "score": "0.5698185", "text": "@BeforeClass\n public static void setupHeadless() {\n \tSystem.setProperty(\"testfx.robot\", \"glass\");\n System.setProperty(\"testfx.headless\", \"true\");\n System.setProperty(\"java.awt.headless\", \"true\");\n // JavaFX Rendering options which allow headless testing\n System.setProperty(\"prism.order\", \"sw\");\n System.setProperty(\"prism.text\", \"t2k\");\n }", "title": "" }, { "docid": "f6ff6e11bb2608b4b2b70eac5398cea5", "score": "0.56975085", "text": "public void setup()\n {\n if (this.status != Status.INITIALIZED)\n {\n throw new DeveloperError(new IllegalStateException(\"Core has not been initialized; cannot set up.\"));\n }\n this.logger.log(Level.INFO, \"Starting Program D version \" + VERSION + \" [\" + BUILD + ']');\n this.logger.log(Level.INFO, \"Using Java VM \" + System.getProperty(\"java.vm.version\") + \" from \" + System.getProperty(\"java.vendor\"));\n this.logger.log(Level.INFO, \"On \" + System.getProperty(\"os.name\") + \" version \" + System.getProperty(\"os.version\") + \" (\"\n + System.getProperty(\"os.arch\") + \")\");\n \n this.logger.log(Level.INFO, \"Predicates with no values defined will return: \\\"\" + this.settings.getPredicateEmptyDefault() + \"\\\".\");\n \n try\n {\n this.logger.log(Level.INFO, \"Initializing \" + this.multiplexor.getClass().getSimpleName() + \".\");\n \n // Initialize the Multiplexor.\n this.multiplexor.initialize();\n \n this.logger.log(Level.INFO, \"Starting up the Graphmaster.\");\n \n // Index the start time before loading.\n long time = new Date().getTime();\n \n // Start up the Graphmaster.\n this.graphmaster.startup(this.settings.getStartupFilePath());\n \n // Calculate the time used to load all categories.\n time = new Date().getTime() - time;\n \n this.logger.log(Level.INFO, this.graphmaster.getTotalCategories() + \" categories loaded in \" + time / 1000.00 + \" seconds.\");\n \n // Run AIMLWatcher if configured to do so.\n if (this.settings.useWatcher())\n {\n this.aimlWatcher = new AIMLWatcher(this.graphmaster);\n this.aimlWatcher.start();\n this.logger.log(Level.INFO, \"The AIML Watcher is active.\");\n }\n else\n {\n this.logger.log(Level.INFO, \"The AIML Watcher is not active.\");\n }\n \n // Setup a JavaScript interpreter if supposed to.\n if (this.settings.javascriptAllowed())\n {\n if (this.settings.getJavascriptInterpreterClassname() == null)\n {\n throw new UserError(new UnspecifiedParameterError(\"javascript-interpreter.classname\"));\n }\n \n String javascriptInterpreterClassname = this.settings.getJavascriptInterpreterClassname();\n \n if (javascriptInterpreterClassname.equals(EMPTY_STRING))\n {\n throw new UserError(new UnspecifiedParameterError(\"javascript-interpreter.classname\"));\n }\n \n this.logger.log(Level.INFO, \"Initializing \" + javascriptInterpreterClassname + \".\");\n \n try\n {\n this.interpreter = (Interpreter) Class.forName(javascriptInterpreterClassname).newInstance();\n }\n catch (Exception e)\n {\n throw new DeveloperError(\"Error while creating new instance of JavaScript interpreter.\", e);\n }\n }\n else\n {\n this.logger.log(Level.INFO, \"JavaScript interpreter not started.\");\n }\n \n // Request garbage collection.\n System.gc();\n \n // Start the heart, if enabled.\n if (this.settings.heartEnabled())\n {\n this.heart = new Heart(this.settings.getHeartPulserate());\n // Add a simple IAmAlive Pulse (this should be more\n // configurable).\n this.heart.addPulse(new org.aitools.programd.util.IAmAlivePulse());\n this.heart.start();\n this.logger.log(Level.INFO, \"Heart started.\");\n }\n }\n catch (DeveloperError e)\n {\n fail(\"developer error\", e);\n }\n catch (UserError e)\n {\n fail(\"user error\", e);\n }\n catch (RuntimeException e)\n {\n fail(\"unforeseen runtime exception\", e);\n }\n catch (Throwable e)\n {\n fail(\"unforeseen problem\", e);\n }\n \n // Set the status indicator.\n this.status = Status.SET_UP;\n }", "title": "" }, { "docid": "86909e5c5f60c227e96cb1e6f2891d17", "score": "0.56971097", "text": "public static void main(String[] args) {\n env = Environment.getEnvironment();\n\n initGraphicComponents();\n }", "title": "" }, { "docid": "c958bf60d8feab1f254b0f104ccebc39", "score": "0.5696497", "text": "@Before\n\tpublic void init() {\n\t\ttestEvolver = new TargetFinder(DNA);\n\t}", "title": "" }, { "docid": "d69d6557f2a762001f877ecab2f7a970", "score": "0.5692966", "text": "@BeforeTest\n\tpublic void preSetup()\n\t{\n\t\tthis.driver = invokeBrowser();\n\t\tString baseUrl = configProps.getProperty(\"applicationurl\");\n\t\tdriver.get(baseUrl);\n\t\tthis.driver = windowOperations();\n\t}", "title": "" }, { "docid": "e29905c7b7f7594366416a699a4828a5", "score": "0.5682926", "text": "public void setup() {\n\t\tsendMessage(Message.SETUP_HELP.getPrefixed());\n\t}", "title": "" }, { "docid": "9445ef1de040099467c753320b2e2661", "score": "0.5681145", "text": "protected void setUp() {\n actionMgr = new ActionManager();\n eventMgr = new EventManager(actionMgr);\n }", "title": "" }, { "docid": "bde57929f799bfc687b4227347cd243e", "score": "0.56778395", "text": "@Before\n\tpublic void setup() {\n\t\tSystem.out.println(\"@@@@@@**This is setup which will run before all the tests@@@@@@@\");\n\t}", "title": "" }, { "docid": "ab59a24d6104187268ef88903b53b9eb", "score": "0.56744045", "text": "abstract public void setup();", "title": "" }, { "docid": "ed24c9568352286a5c28163944dd7478", "score": "0.56739426", "text": "public static void initializeOSEnvironment() {\n/* 327 */ if (!booted) {\n/* 328 */ OSEnvironment.initialize();\n/* */ }\n/* */ }", "title": "" }, { "docid": "9974b5441522f3951408f8307601a4d0", "score": "0.56619763", "text": "public void setDemo(String demo) {\n this.demo = demo;\n }", "title": "" }, { "docid": "46f25c564da3ba46613f2b0495537fa7", "score": "0.5660349", "text": "protected void setup() \n\t{\n\t\tObject[] args = getArguments();\n\t\t\n\t\tnumArtificialTweets = (Integer) args[0]; \t\n\t\tcorpusGenFile = (File) args[1];\n\t\tmyGui = (ControllerAgentGui) args[2];\n\t\t\n\t\tlocalDb = new InMemoryDb();\n\n\n\t\tSystem.out.println(getLocalName()+\" numArtificialTweets: \"+numArtificialTweets);\n\t\t\n\t\ttry {\n\t\t\tDFAgentDescription dfd = new DFAgentDescription();\n\t\t\tdfd.setName(getAID());\n\t\t\tServiceDescription sd = new ServiceDescription();\n\t\t\tsd.setName(\"Distributed Recommender System\");\n\t\t\tsd.setType(\"User Generation Simulation Agent\");\n\t\t\tdfd.addServices(sd);\n\t\t\tDFService.register(this, dfd);\n\t\t\tSystem.out.println(getLocalName()+\" REGISTERED WITH THE DF\");\n\t\t} catch (FIPAException e) {\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\n\t\tSystem.out.println(\"Hello! I am \" + getAID().getName()+ \" and is setup properly.\");\n\n\t\tUserGenSimBehaviour userGenSimBehaviour = new UserGenSimBehaviour(this);\n\t\t\n\t\taddBehaviour(userGenSimBehaviour);\n\t\t\n\t\tsetQueueSize(0);\n\t}", "title": "" }, { "docid": "1717e4cec60016bbe7cd1d0d9d9d6315", "score": "0.5659645", "text": "protected void setup() {\t\t\r\n\t\tcapturaNome();\r\n\r\n\t\tinformacoesAgente();\r\n\r\n\t\tsolicitaNivelAgua();\r\n\t\t\r\n\t\ttrataMensagens();\r\n\r\n\r\n\t}", "title": "" }, { "docid": "4a5ada4cc49d76b9bdbedfb2b1f088db", "score": "0.56451297", "text": "default void initialized(Environment environment) {}", "title": "" }, { "docid": "dae7681b4adc7bd0f7b23d660481ee84", "score": "0.56371987", "text": "@BeforeAll\n\tpublic static void setUp() {\n UtilImpl.CONTENT_DIRECTORY = CONTENT_DIRECTORY;\n if (CacheUtil.isUnInitialised()) {\n CacheUtil.init();\n }\n\n // init injection\n weld = new Weld();\n weld.addPackage(true, SkyveCDIProducer.class);\n weld.addPackage(true, WeldMarker.class);\n\n weld.initialize();\n }", "title": "" }, { "docid": "68ec8857b72a3837800bd0569291873e", "score": "0.5622557", "text": "public void setup() {\n surface.setResizable(true);\n this.surface.setTitle(\"THE MIXER\");\n //\n // projector = new ProjectorSketch();\n gui();\n\n\n /* runSketch(new String[]{\n \"--display=1\",\n \"--location=\" + (displayWidth >> 2) + ',' + (displayHeight >> 3),\n \"--sketch-path=\" + sketchPath(\"\"),\n \"\"}\n , projector = new ProjectorSketch());\n */\n\n\n //projector.getSurface().setVisible(false); //set window visible\n\n //\n // mixer= new Mixer();\n // mixer.cp51 = new ControlP5(this);\n\n\n }", "title": "" }, { "docid": "25a7cd31a6e0aca67d251e174271cb84", "score": "0.5618847", "text": "@Before\n public void setup() throws Exception {\n HAL.initialize(500, 0);\n \n // Initialize joystick 1 with no buttons being pressed\n DriverStationDataJNI.setJoystickButtons((byte)Constants.kJoystickId, 0b000000000, 10);\n \n // Call this to initialize the DriverStation instance, which starts\n // a thread for querying joysticks\n DriverStation.getInstance();\n driverStationSim.notifyNewData();\n Thread.sleep(20);\n }", "title": "" }, { "docid": "91a7c780dd501b592e1290dbf3cd1a38", "score": "0.56187326", "text": "public void init() {\n testRunner = new DefaultTestRunner(applicationContext);\n name(this.getClass().getSimpleName());\n packageName(this.getClass().getPackage().getName());\n }", "title": "" }, { "docid": "3f64d6237f03a420a76043e0e7a24af6", "score": "0.56187123", "text": "public static void main(String[] args) {\n initSetup();\n // Your function here\n }", "title": "" }, { "docid": "debe266b18a31ef10b5975ec281b3128", "score": "0.5609507", "text": "protected void initialiseEnvironment() throws IOException {\n Properties env = Environment.getProperties();\n targetENV = env.getProperty(\"environment\");\n System.out.println(\"The ENV value is: \" + targetENV);\n\n /* To pass environment parameter from command prompt OR batch file OR from jenkins*/\n //targetENV = System.getProperty(\"environment\");\n environmentInitialised = true;\n\n }", "title": "" }, { "docid": "d27f17f9970ead283a9a383f4fe3f727", "score": "0.5607803", "text": "@BeforeClass()\n\tpublic void setup() {\n\t\tInitialization();\n\t\tloginPage = new LoginPage();\n\t\taccountSettingsPage = new AccountSettingsPage();\n\t\texcelUtility = new ExcelUtility();\n\t}", "title": "" }, { "docid": "e24a75013b7ef12525a83613ded5f467", "score": "0.56069815", "text": "@BeforeClass\n public static void setup() throws Exception {\n d8Config =\n new D8DebugTestConfig()\n .compileAndAdd(\n temp,\n Collections.singletonList(DEBUGGEE_JAR),\n options -> options.testing.invertConditionals = true);\n }", "title": "" }, { "docid": "12d7ee1769368fd7f6dcd58221213907", "score": "0.56027776", "text": "private void setup() {\n\t\tframe.setSize(b.getWidth(), b.getHeight());\t\t\n\t\tmainController = new MainController(frame);\n\t\tgame = new MiniThree(mainController);\n\t\tstate = game.getState();\n\t\ttimer = new Mini3Timer(game, state);\n\t}", "title": "" }, { "docid": "89be1d7fb0329297b21dea14651e2065", "score": "0.56020486", "text": "@Before\n public void setup()\n {\n _cs = new CitySim9005();\n }", "title": "" }, { "docid": "afb4da2e2d333d62c32e87b1f26dae73", "score": "0.559671", "text": "@BeforeClass\n public static void setupDD()\n {\n DatabaseDescriptor.daemonInitialization();\n }", "title": "" }, { "docid": "afe5d804c5774e0f76f5a9673c3ef711", "score": "0.55861163", "text": "@Before\n public void setup(){\n }", "title": "" }, { "docid": "645b250838326c9d7aa26c36192b7172", "score": "0.55860835", "text": "public void setUp() {\n extend = new ExtendImpl();\n manager = new UMLModelManager();\n addExtendAction = new AddExtendAction(extend, manager);\n }", "title": "" }, { "docid": "eb55b391c9d6a3ca74a7521f2e61c657", "score": "0.5573779", "text": "public void setNewEnvironment();", "title": "" }, { "docid": "e09dcee4c1bfca313cb85897a3bf2871", "score": "0.5568849", "text": "private void setup() {\r\n\t\taddMenuBar();\r\n\t\taddContentHBox();\r\n\t\taddTextArea();\r\n\t}", "title": "" } ]
f97f1bfca314736a8a384fd7492244a6
Gets the taxability of GroceryItem.
[ { "docid": "2cd6cef608fd4019dd452d8c0169a6a1", "score": "0.65540487", "text": "public boolean getTaxable() {\n\t\treturn taxable;\n\t}", "title": "" } ]
[ { "docid": "bfefa35c277b83ee3cdf99bb1d76342d", "score": "0.67813855", "text": "public double getTax( ) {\n\t\tdouble tax = 0;\n\t\tif ( taxCalculator instanceof TurboTax ) {\n\t\t\tTurboTax calc = (TurboTax) taxCalculator;\n\t\t\ttax = calc.getTax( items );\n\t\t}\n\t\telse if ( taxCalculator instanceof LameTax ) {\n\t\t\tLameTax calc = (LameTax) taxCalculator;\n\t\t\t// subtotal does not include tax\n\t\t\ttax = calc.getTax( this.getSubtotal() );\n\t\t}\n\t\telse logger.error(\"Unknown Tax Calculator type \" + taxCalculator);\n\t\treturn tax;\n\t}", "title": "" }, { "docid": "3d383e6fafcbc2cefebf4693a98c755d", "score": "0.67266405", "text": "public BigDecimal getTaxrate() {\n return taxrate;\n }", "title": "" }, { "docid": "acaaa2be4130bcf0929c1d557d370ca7", "score": "0.6696327", "text": "public double getTax() {\n\t\treturn this.tax;\n\t}", "title": "" }, { "docid": "869a0e8866e7412e41b50a5234c473a2", "score": "0.65750456", "text": "@Override\r\n\tpublic double getTaxes() {\n\t\treturn (payRate/52)*.23;\r\n\t}", "title": "" }, { "docid": "fb340bbc06a25174e5237f14d7aaa52b", "score": "0.6524597", "text": "public Double getTaxa() {\n return taxa;\n }", "title": "" }, { "docid": "f960a883ea716535fba6e9a132bbc7f1", "score": "0.64756197", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public gw.pl.currency.MonetaryAmount getTax();", "title": "" }, { "docid": "7332ff3fa09ad89e001df4f7fba28934", "score": "0.64749116", "text": "public java.lang.String getTax() {\n return tax;\n }", "title": "" }, { "docid": "45259d4064febd2d80d853110655b40c", "score": "0.641778", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.math.BigDecimal getTax_amt();", "title": "" }, { "docid": "7d1b3af31d601a44ce4e43b30c60d669", "score": "0.63504463", "text": "public BigDecimal getTaxamt() {\n return taxamt;\n }", "title": "" }, { "docid": "856fe8a7804cb29c35cb4a13f166ad2d", "score": "0.6333543", "text": "public double useTax() {\n \n \n \n \n double tax = 0;\n \n \n if (altFuel) {\n \n tax = value * ALTERNATIVE_FUEL_TAX_RATE;\n \n }\n \n else {\n \n tax = value * TAX_RATE;\n \n }\n \n \n \n if (tons > LARGE_TRUCK_TONS_THRESHOLD) {\n \n tax = tax + (value * LARGE_TRUCK_TAX_RATE);\n \n \n }\n \n else {\n \n tax = tax;\n \n \n }\n \n return tax;\n \n }", "title": "" }, { "docid": "98ce2ed5568f652ad378f7e5152d1fae", "score": "0.6321796", "text": "public Double getTaxAmnt() {\n return taxAmnt;\n }", "title": "" }, { "docid": "fafb09009387cfa289444579d3ff508d", "score": "0.6293834", "text": "public double getTaxableBase(){\r\n\t\tOfferController offerController = (OfferController)AonUtil.getController(OFFER_CONTROLLER_NAME);\r\n\t\treturn getPriceStrategy().getTaxableBase((ICalculableContainer)offerController.getTo());\r\n\t}", "title": "" }, { "docid": "a9c3fa5db9ef0ea977d7b5478f7973e8", "score": "0.6281876", "text": "@Override\n\tdouble getAnnualTaxes() {\n\n\t\tdouble TAX = 0;\n\t\tdouble Bonus = growthRate * population * (growthRate * 0.5);\n\n\t\tTAX = Bonus * population;\n\n\t\treturn Bonus;\n\t}", "title": "" }, { "docid": "db1a2cfaa8615711ff40f86873fb2ce7", "score": "0.6159524", "text": "public double salesTax() {\n\t\tdouble totalTax = 0;\n\t\tfor (int i = 0; i < this.size; i++) {\n\t\t\tif (this.bag[i].isTaxable()) {\n\t\t\t\ttotalTax += this.bag[i].getPrice() * 0.06625;\n\t\t\t}\n\t\t}\n\t\ttotalTax = (double) Math.round(totalTax * 100) / 100; // ensures a maximum of 2 decimal places of precision\n\t\treturn totalTax;\n\t}", "title": "" }, { "docid": "8a91245c075c3de133b7771625300c25", "score": "0.61527836", "text": "public double salesTax() {\n double ans = 0;\n double taxRate = 0.06625;\n for (int i = 0; i<size; i++) {\n if (bag[i].getTaxable())\n ans += bag[i].getPrice() * taxRate;\n }\n return ans;\n }", "title": "" }, { "docid": "e046d9679e929c7c039f0f1294d132a6", "score": "0.6149457", "text": "@Override\n\tpublic double getCustomerTax() {\n\t\treturn getTax() * getSubtotal();\n\t}", "title": "" }, { "docid": "32c421eac98484c67dbb6758f408fd13", "score": "0.6116069", "text": "public BigDecimal getTaxAdditional() {\n return taxAdditional;\n }", "title": "" }, { "docid": "1fe613cafb26eaf359b3d70b14b97dae", "score": "0.6075743", "text": "public List<MiraklOrderTaxAmount> getTaxes() {\n return taxes;\n }", "title": "" }, { "docid": "0cd4d331f1333bf9014a56a11edcad1a", "score": "0.60559523", "text": "public String getTaxvat() {\n return taxvat.getValue();\n }", "title": "" }, { "docid": "fc578113a6be007fa15ab5ac61897b0c", "score": "0.6053904", "text": "public float getMtaTax() {\n return mtaTax_;\n }", "title": "" }, { "docid": "1c2d4487a0182400297e52a1d22a8694", "score": "0.60479045", "text": "public float getMtaTax() {\n return mtaTax_;\n }", "title": "" }, { "docid": "5f33219d40fe453670faaf053e4e0c51", "score": "0.6046297", "text": "public double getTax() {return sTax;}", "title": "" }, { "docid": "789cbdcb73a29a39ae339668acfee7d9", "score": "0.6017385", "text": "public final List<InvItemTaxCategoryLine> getTaxes() {\n return this.taxes;\n }", "title": "" }, { "docid": "72719b27ec67cd9d57093c88192d4f9c", "score": "0.60117644", "text": "public BigDecimal getBUSINESS_TAX() {\n\t\treturn BUSINESS_TAX;\n\t}", "title": "" }, { "docid": "35f02f63b0b20b0aa6f6a7b557c96846", "score": "0.59644616", "text": "public double useTax() {\n \n double totalUseTax = super.useTax() + (value * PER_AXLE_TAX_RATE * axles);\n \n return totalUseTax;\n \n }", "title": "" }, { "docid": "76340ce0b641f42b0a549495d2d92d2a", "score": "0.5950249", "text": "public double getSalesTax() {\n double rate = 0.0;\n double tax = 0.0;\n if (exempt)\n rate = 0.0;\n else\n rate = salesTaxRate;\n if (imported)\n rate += importTaxRate;\n tax = Math.ceil(this.count * rate * price * 20.0) / 20.0;\n return tax;\n }", "title": "" }, { "docid": "a5c7f95757fc82ed99737d46da20458b", "score": "0.5943919", "text": "@Override\n\tpublic double getTotalTax() {\n\t\treturn (1.95 *3) * super.getQuantity() * .06;\n\t}", "title": "" }, { "docid": "22fa4af7f1c433eaceea49397a1546d4", "score": "0.59334713", "text": "public double taxDue(){\n double totalTax = 0;\n for(int i = 0; i<cart.size(); i++){\n totalTax += cart.get(i).tax();\n }\n return totalTax;\n }", "title": "" }, { "docid": "ce64466b57f76f55e0147fbed0cbbed6", "score": "0.59012204", "text": "public double caclculateTax() {\n\t\t//logic to calculate Tax and returns tax\n\t\treturn 101.101;\n\t}", "title": "" }, { "docid": "0370200784d7eb546744fa7473eb296e", "score": "0.58870727", "text": "float getMtaTax();", "title": "" }, { "docid": "c25dbb77ebcdb2d71fc1b3709d8e3466", "score": "0.5883983", "text": "public double getTaxPcnt() {\n return taxPcnt;\n }", "title": "" }, { "docid": "14e028ea698e878ccbb84655ed081d46", "score": "0.5830336", "text": "@GetMapping(\"/taxes\")\n\tpublic Item getProduct( @RequestBody Item item) {\n\t\n\t\tif (item.getQuantity() == null || item.getQuantity() < 1 ) item.setQuantity(1l);\n\t\t\n\t\t// Item \"EEE\" is tax exempt. Everything else is taxed at 10%:\n\t\tif( item.getCode().equalsIgnoreCase(\"EEE\")) {\n\t\t\titem.setTax(new BigDecimal(0)); \n\t\t} else {\n\t\t\titem.setTax( \n\t\t\t\titem.getPrice()\n\t\t\t\t.multiply( new BigDecimal(item.getQuantity()))\n\t\t\t\t.multiply(new BigDecimal(0.1))\n\t\t\t\t.setScale(2, RoundingMode.HALF_UP)\n\t\t\t\t);\n\t\t}\n\t\treturn item;\n\t}", "title": "" }, { "docid": "d0ab8a40769227e52f38e295a3626474", "score": "0.57993525", "text": "public com.commercetools.api.models.cart.TaxCalculationMode getTaxCalculationMode() {\n return this.taxCalculationMode;\n }", "title": "" }, { "docid": "178a90f3abf2f9f359c3e456f822782d", "score": "0.57927805", "text": "public BigDecimal getTaxFees() {\n return taxFees;\n }", "title": "" }, { "docid": "a2ac057a94f8c34a54d9469a8fdb7e83", "score": "0.57766724", "text": "public TaxonType getTaxonType() {\r\n\t\treturn this.taxonType;\r\n\t}", "title": "" }, { "docid": "fbaff022e0c00b011db10b3f80f3da58", "score": "0.5763749", "text": "@Column(name=\"taxable_base\")\r\n\tpublic double getTaxableBase() {\r\n\t\treturn taxableBase;\r\n\t}", "title": "" }, { "docid": "83d8c4a759f2dc279d1f6d0bfb09d662", "score": "0.57027084", "text": "private static double tax(){\n final double tax = .02;\n return tax;\n }", "title": "" }, { "docid": "1695cfee192512af3f148c9ee3012ef1", "score": "0.569086", "text": "@Override\n @Transactional(readOnly = true)\n public Taxonomy getTaxonByGbifkey(long gbifkey) {\n return this.taxonomyDAO.getTaxonByGbifkey(gbifkey);\n }", "title": "" }, { "docid": "379039c73b2500fb4673efcfe3f3be52", "score": "0.5685778", "text": "public NCBITaxon getTaxon();", "title": "" }, { "docid": "3ce634bd383328ada004f1bb7bedb76e", "score": "0.5643387", "text": "public BigDecimal getTAX_EXCLUSIVE_AMT() {\n\t\treturn TAX_EXCLUSIVE_AMT;\n\t}", "title": "" }, { "docid": "00c5af72509bc7b8c4dedda8b981898f", "score": "0.563656", "text": "public java.lang.String getSumTax() {\r\n return sumTax;\r\n }", "title": "" }, { "docid": "f70fad92210455195eb9cbc85b3455af", "score": "0.56256425", "text": "public String getTaxNo() {\r\n\t\treturn taxNo;\r\n\t}", "title": "" }, { "docid": "e20bf8d3b41985d7d77795a1a7711cf1", "score": "0.56231916", "text": "public String getTaxName() {\r\n\t\treturn taxName;\r\n\t}", "title": "" }, { "docid": "61583ff1820653018376ac185f184ae6", "score": "0.56212044", "text": "public List<TaxAmountAndType1> getTaxAmts() {\n\t\treturn m_taxAmtList;\n\t}", "title": "" }, { "docid": "6e7cbb569747d981b488440e2475e929", "score": "0.5603052", "text": "public double getItemCost()\n {\n return this.itemCost;\n }", "title": "" }, { "docid": "770590ac5dacf57d25da23ba6d6720f3", "score": "0.5598622", "text": "public double calculateTax(Product product) {\n if (taxApplicable(product)) {\n double tax = (product.getPrice() * getTaxRate()) / 100;\n tax = Math.ceil(tax / 0.05) * 0.05;\n return tax;\n }\n return 0;\n }", "title": "" }, { "docid": "1c33d94b1e4956665fb2cff4584c219e", "score": "0.5595736", "text": "@Exclude\n public String getFormattedTotalTax(){\n double totalTax = this.getSubtotal() * taxRate;\n return NumberFormat.getCurrencyInstance().format(totalTax);\n }", "title": "" }, { "docid": "f57219edffc353a9b5b9cbe35248e3dd", "score": "0.55759716", "text": "public BigDecimal getActualRatioAfterTax() {\n return actualRatioAfterTax;\n }", "title": "" }, { "docid": "9950da85036390ac0a98ba730a69f4bc", "score": "0.557498", "text": "public BigDecimal getCREDIT_MADE_TAX() {\n\t\treturn CREDIT_MADE_TAX;\n\t}", "title": "" }, { "docid": "0453a80ffa20fe5c5a524852e560532e", "score": "0.55665517", "text": "public String getStringTax() {\r\n\t\treturn this.tax != null ? \"$\" + String.valueOf(this.tax) : null;\r\n\t}", "title": "" }, { "docid": "10b75144ea13ec9a8db5c4e2e2bc4c4b", "score": "0.5552671", "text": "public double getItem()\n\t{\n\t\treturn item_cost;\n\t}", "title": "" }, { "docid": "fa5030f6ebde09885b4f232498a01590", "score": "0.55483466", "text": "public interface Taxable{\n\t\n\tfinal double taxRate = 0.09; // default sale tax rate is 9% on items that are taxable\n\t\n double applyTax();\n\t\n\tvoid printTaxRates();\n\t\n}", "title": "" }, { "docid": "19d8c029e1d134b2293455240b4b58ec", "score": "0.55458426", "text": "public double payTax(){\r\n double incomeTax = 0;\r\n if(this.income <= 30000 && this.income > 0){\r\n incomeTax = this.income * PROVCINCIAL_TAX4;\r\n }\r\n else if(this.income > 30000 && this.income <= 100000){\r\n incomeTax = this.income * PROVCINCIAL_TAX3;\r\n }\r\n else if(this.income > 100000 && this.income <= 500000){\r\n incomeTax = this.income * PROVCINCIAL_TAX2;\r\n }\r\n else if(this.income > 500000){\r\n incomeTax = this.income * PROVCINCIAL_TAX1;\r\n }\r\n return incomeTax; \r\n }", "title": "" }, { "docid": "4b403c48a7119f632e4b77b20441b9d8", "score": "0.55417687", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public typekey.Currency getTax_cur();", "title": "" }, { "docid": "a961976cb3923fc3ff28c011e1471c58", "score": "0.5533108", "text": "public double getAnxiety() {\n return this.anxiety;\n }", "title": "" }, { "docid": "6b090a8d79833e750073faa9d3a0104b", "score": "0.5517245", "text": "public abstract double useTax();", "title": "" }, { "docid": "11bf54620fd699fb8b166464d1da45e3", "score": "0.55071574", "text": "public double getBonus(){\n\t\treturn this.salario * 0.3;\r\n\t\t\r\n\t\t\t\t\r\n\t}", "title": "" }, { "docid": "d392f99f30b6da4cb73c6c20718a9bf2", "score": "0.548407", "text": "Optional<Double> getTax();", "title": "" }, { "docid": "72e73f5145af083d6c34ecd7b7dfd4d1", "score": "0.54637134", "text": "public String getTaxId() {\n return taxId;\n }", "title": "" }, { "docid": "6cd19448f2c3e0af883c31706ddd3691", "score": "0.545595", "text": "public Double getGrossAmnt() {\n return grossAmnt;\n }", "title": "" }, { "docid": "e860caab2afbd0514675b36e7f1d0b84", "score": "0.5452503", "text": "public double basicTaxCalculator(double itemPrice, int amount) {\n\t\treturn (basicRound(itemPrice * this.basic_tax)) * amount;\n\t}", "title": "" }, { "docid": "1010c8194b74e8c9e4d3bc2ca63e99ee", "score": "0.5425118", "text": "public BigDecimal getGross() {\n return gross;\n }", "title": "" }, { "docid": "5ee4553e4e9c4833294e3e571e447a3a", "score": "0.5405332", "text": "public List<TaxDetail> getTaxTotals() {\n return taxTotals;\n }", "title": "" }, { "docid": "fa6e43f89c5033ec5ca95db2407cbb39", "score": "0.53961", "text": "public String getTaxPeriod() {\n return this.taxPeriod;\n }", "title": "" }, { "docid": "b712d2e3177bda3c2effa50820d2bfa8", "score": "0.5348645", "text": "public String toString() {\n\t\t\n\t\tString tax_check;\n\t\tDecimalFormat df = new DecimalFormat(\"0.00\");\n\t\tString rounded_price = df.format(this.price);\n\t\t\n\t\tif (this.taxable == false) {\n\t\t\ttax_check = \"tax free\";\n\t\t}\n\t\telse {\n\t\t\ttax_check = \"is taxable\";\n\t\t}\n\t\t\n\t\tString item_info = this.name + \": $\" + rounded_price + \" : \" + tax_check;\n\t\treturn item_info;\n\t\t\n\t}", "title": "" }, { "docid": "943333bb8a652923775edb455b62f88c", "score": "0.5346249", "text": "public List<MiraklOrderTaxAmount> getShippingTaxes() {\n return shippingTaxes;\n }", "title": "" }, { "docid": "329ed47f89bbd57b4c22f47c7cc82fba", "score": "0.5345387", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getTaxID();", "title": "" }, { "docid": "fb308fbbc11dbb7b602941546a3113d8", "score": "0.5338314", "text": "public String getTaxPeriod() {\r\n return this.taxPeriod;\r\n }", "title": "" }, { "docid": "682e7eb1db356a552966da0dcdf6f158", "score": "0.53339285", "text": "public List<CompanyTaxIdDto> getAvailableTaxList() {\n final FECompany feCompany = findFeCompany();\n final Mono<FinancialEngineResponse<List<CompanyTaxIdDto>>> industriesMono =\n financialEngineHelper.get(\"/company/\" + feCompany.getFeCompanyId() + \"/available/tax-list\");\n final FinancialEngineResponse<List<CompanyTaxIdDto>> response = industriesMono.block();\n if (response != null && response.isSuccess()) {\n return response.getBody();\n }\n return Collections.emptyList();\n }", "title": "" }, { "docid": "a214cc3d65b8133ad540925860d7b235", "score": "0.5329457", "text": "public double calculateCost() {\n return price * (1 + taxRate);\n }", "title": "" }, { "docid": "11063c3d1e74de85ab54405c545c3414", "score": "0.5323874", "text": "public double getGasInTank()\n {\n return this.fuelInTank;\n }", "title": "" }, { "docid": "5f1d6bd3a40aacb85c5545ad888f809e", "score": "0.53112465", "text": "@Test public void taxTest() throws NegativeValueException {\n Truck truck1 = new Truck(\"Williams, Jo\", \"2012 Chevy Silverado\",\n 30000, false, 1.5);\n double test = truck1.useTax();\n Assert.assertEquals(\"Should be 600\", 600, test, 0.000001);\n }", "title": "" }, { "docid": "2a13ab2c716408bfab0f464a2158011c", "score": "0.5304351", "text": "public int getTAXONID() {\n return taxonid;\n }", "title": "" }, { "docid": "89ba89e2d6985a501ee91f0a125e01db", "score": "0.52884734", "text": "public java.lang.String getAnnualTaxDue() {\r\n return annualTaxDue;\r\n }", "title": "" }, { "docid": "b40b52c9c0f3870c0ecdc79104eb77b3", "score": "0.5284581", "text": "public Item getTaxType(String category) {\r\n\r\n\t\tItem item = null;\r\n\t\tif (category.equalsIgnoreCase(\"uncategoried\")) {\r\n\t\t\titem = new TaxableItem(imported_flag, number, item_string, unitprice);\r\n\t\t} else {\r\n\t\t\titem = new TaxExemptItem(imported_flag, number, item_string, unitprice);\r\n\t\t}\r\n\t\treturn item;\r\n\t}", "title": "" }, { "docid": "ffc13ddae70307358b90984f49818746", "score": "0.52837217", "text": "public int getCurrentItemGravity() {\n return mItemGravityMode;\n }", "title": "" }, { "docid": "36050e94274e7c906bd70fa72442fd25", "score": "0.52794665", "text": "public int getTaxonId() {\r\n\t\treturn this.taxonId;\r\n\t}", "title": "" }, { "docid": "be05b1f9e6bfb0e54f6b44051c4f80e4", "score": "0.5270146", "text": "public int getM_Product_Tax_ID() {\n\t\tInteger ii = (Integer) get_Value(\"M_Product_Tax_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}", "title": "" }, { "docid": "c1d12d8a0e93742668063c5c6dd7951a", "score": "0.5259654", "text": "public java.lang.String getTaxPayerNo() {\r\n return taxPayerNo;\r\n }", "title": "" }, { "docid": "8dd3abee6526852becee79d497822292", "score": "0.5253519", "text": "public GroceryItem[] getGroceryItems() {\n\t\treturn this.bag;\n\t}", "title": "" }, { "docid": "f58a453ee142301274ef9c2cb977ecd3", "score": "0.5232373", "text": "@java.lang.Override\n public int getDeltax() {\n return deltax_;\n }", "title": "" }, { "docid": "d1de1b7d1ae83f8c3208661cf39552d2", "score": "0.5220506", "text": "public String getTaxDivision() {\n return taxDivision;\n }", "title": "" }, { "docid": "143b682a9fe754443d0f3d308f884bfc", "score": "0.5211315", "text": "double applyTax();", "title": "" }, { "docid": "9cf1faf80a4f44e0b9880331e0e0f1fd", "score": "0.52037185", "text": "private double getPrixGare(Gare gare) {\n switch (gare) {\n case Paris:\n return 50;\n case Lille:\n return 20;\n case Rennes:\n return 20;\n case Bordeaux:\n return 30;\n case Lyon:\n return 70;\n case Marseille:\n return 15;\n case Nice:\n return 100;\n case Nantes:\n return 20;\n case Strasbourg:\n return 20;\n case Toulouse:\n return 20;\n case Rouen:\n return 40;\n case Orleans:\n return 20;\n default:\n return 0;\n }\n\n\n }", "title": "" }, { "docid": "e84f78580366555f9136a20d6e1cd82d", "score": "0.5191446", "text": "@Override\n protected double itemValue() {\n\treturn this.getBasePrice() + TAX;\n }", "title": "" }, { "docid": "b2695187751a6957c56888d791c36edf", "score": "0.5180859", "text": "@Nonnull\n\tpublic MonetaryAmount getGrossPrice() {\n\t\treturn super.getPrice();\n\t}", "title": "" }, { "docid": "a70e1e16e9901a41f3b305f911c1555c", "score": "0.5169167", "text": "@java.lang.Override\n public int getDeltax() {\n return deltax_;\n }", "title": "" }, { "docid": "7e9da39c75e1352d816575ddcb795ac4", "score": "0.5166393", "text": "BigDecimal getJurisdictionTaxMultiplier();", "title": "" }, { "docid": "fc93e4ea2679d61aeb2d0fbed4af478c", "score": "0.516529", "text": "public double getItemCost(String item) {\r\n\t\tString key = \"#\" + item;\r\n\t\tif (!(keys.contains(key))) {\r\n\t\t\tprintMenu();\r\n\t\t\treturn 0.0;\r\n\t\t}\r\n\t\treturn menu.get(key).getCost();\r\n\r\n\t}", "title": "" }, { "docid": "47959726cce6921d4d79a7c57ecffdf5", "score": "0.51633626", "text": "public <T> double taxeerTotaleWaarde() {\n\t\tdouble totaal = 0;\n\t\tfor (Iterator iterator = taxatieSpullen.iterator(); iterator.hasNext();) {\n\t\t\tT t = (T) iterator.next();\n\t\t\ttotaal += ((Waardevol) t).getWaarde();\n\n\t\t}\n\n\t\treturn totaal;\n\t}", "title": "" }, { "docid": "9b86fc88ad2487545978a16a09b6e6e3", "score": "0.5135456", "text": "public AmountType getSalesTaxAmount() {\n\t return this.salesTaxAmount;\n\t}", "title": "" }, { "docid": "861931910c521b0f003624a49dffe268", "score": "0.51351976", "text": "public com.ccic.gwservice.car.fgcpiprecisequote.AnnualTaxDTO getCurrentTaxDue() {\r\n return currentTaxDue;\r\n }", "title": "" }, { "docid": "b3b5c9e636c13bbb47e963e77bb3b7f2", "score": "0.5129604", "text": "@Generated(hash = 1571026648)\n public TaxType getTaxType() {\n Long __key = this.taxTypeId;\n if (taxType__resolvedKey == null || !taxType__resolvedKey.equals(__key)) {\n final DaoSession daoSession = this.daoSession;\n if (daoSession == null) {\n throw new DaoException(\"Entity is detached from DAO context\");\n }\n TaxTypeDao targetDao = daoSession.getTaxTypeDao();\n TaxType taxTypeNew = targetDao.load(__key);\n synchronized (this) {\n taxType = taxTypeNew;\n taxType__resolvedKey = __key;\n }\n }\n return taxType;\n }", "title": "" }, { "docid": "28a3d4bb733024bb954e5e270856d7d8", "score": "0.5123146", "text": "public Boolean getShippingIncludedInTax() {\n\t return this.shippingIncludedInTax;\n\t}", "title": "" }, { "docid": "4f93a21a1251431806b4f952ce4ca79c", "score": "0.5118659", "text": "public int getC_Tax_ID() {\n\t\tInteger ii = (Integer) get_Value(\"C_Tax_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}", "title": "" }, { "docid": "75779a85ba9ab4bd37eb4b7d3fc7db80", "score": "0.5115215", "text": "public static BigDecimal getIncomeTaxRate() {\r\n // TODO: Make income tax rate configurable (globally and/or per stock).\r\n return INCOME_TAX_RATE;\r\n }", "title": "" }, { "docid": "5b92211829730b6a8ea7679e93471d54", "score": "0.51119065", "text": "public String getGeneralTaxProveStatus() {\r\n\t\treturn generalTaxProveStatus;\r\n\t}", "title": "" }, { "docid": "938ed609e699bc4ce1f78d73b04d972f", "score": "0.5109075", "text": "public java.lang.String getPayTaxWay() {\r\n return payTaxWay;\r\n }", "title": "" }, { "docid": "cef5ab3b885ef50ef4bcdac4d8c692c2", "score": "0.51034164", "text": "public double getCostGross() {return sCostGross;}", "title": "" }, { "docid": "3bc48de25ca894b74101b69a529b5f1a", "score": "0.5103371", "text": "public String getPerCapitaTaxPaymentMethod() {\n return perCapitaTaxPaymentMethod;\n }", "title": "" } ]
56343b78db00fe4fdf6c21720529db6c
Handles the HTTP POST method.
[ { "docid": "1fb9f65716ebe85b10c442a0489dc7b2", "score": "0.0", "text": "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }", "title": "" } ]
[ { "docid": "bd091204fa37a7e91c29f6887e39b9a4", "score": "0.7442579", "text": "public void handlePost( String httpMethodString,\n HttpServletRequest request,\n HttpServletResponse response ) throws ServletException, IOException {\n\n super.doPost(request, response);\n \n }", "title": "" }, { "docid": "fa0a4e6113c48e69e694b8276b2df75d", "score": "0.72732985", "text": "public void post();", "title": "" }, { "docid": "d175503a041b123e3dcb5542eac1f7f8", "score": "0.70811665", "text": "public void doPost() {\n }", "title": "" }, { "docid": "7c53f718c7a2ac1b30995838a5531e53", "score": "0.7016248", "text": "@Override\n public String getMethod() {\n return \"POST\";\n }", "title": "" }, { "docid": "6d629fac84cf04d37b91a696db113a49", "score": "0.683642", "text": "@Override\r\n\tpublic void doPost(HttpServletRequest request, HttpServletResponse response) {\n\t\tsuper.doPost(request, response);\r\n\t}", "title": "" }, { "docid": "cc42f3b845033745ae20873fa406f7b2", "score": "0.6831069", "text": "@Override\n\tprotected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tprocess(request, response, \"post\");\n\t}", "title": "" }, { "docid": "84b606bf10d6dd69502e87095add0783", "score": "0.68186015", "text": "@Override\n public void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {\n handle(req, res);\n }", "title": "" }, { "docid": "a9d962b130ae6938042aa460e5e69c40", "score": "0.6788997", "text": "@Override\n\tpublic void handlePOST(CoapExchange context)\n\t{\n\t\tcontext.accept();\n\n\t\t// TODO: create (or update) the resource with the payload\n\t\tString payload = context.getRequestText();\n\n\n\t\t// TODO: generate a response message: 'msg'\n\t\tString msg = \"Post \" + payload; // fill this in\n\n\t\t// send an appropriate response\n\t\tcontext.respond(ResponseCode.CREATED, msg);\n\t}", "title": "" }, { "docid": "e68c999c583f0f8b639f1850653dedab", "score": "0.67080975", "text": "void post(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException;", "title": "" }, { "docid": "ae33db4b5ea7623b6e344d62ba3d173c", "score": "0.6671461", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n this.requestMethod = \"POST\";\n processRequest(request, response);\n }", "title": "" }, { "docid": "7436072a2281b1c44467b7d99479dd72", "score": "0.66367775", "text": "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\r\n\t}", "title": "" }, { "docid": "2aba1bc38905529e6f156a0151a3c6bf", "score": "0.66247636", "text": "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\t\r\n\t}", "title": "" }, { "docid": "7195c27ade78315090999b4ed6b8ff62", "score": "0.6601895", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n String title,postbody;\n PostService ps = new PostServiceImpl();\n \n title = request.getParameter(\"title\");\n postbody = request.getParameter(\"postbody\");\n \n Post pd = new Post(0,title,postbody);\n \n ps.createPost(pd);\n \n response.sendRedirect(\"/crud/PostController\");\n \n }", "title": "" }, { "docid": "a114eb8ce82bd96abd1fe09d2f96d128", "score": "0.65904456", "text": "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n \r\n }", "title": "" }, { "docid": "f40b6cf0a2e2767a683b14ddf07499f1", "score": "0.6558593", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }", "title": "" }, { "docid": "6563ac4d9c91fb470ad53250b53f0567", "score": "0.652552", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "title": "" }, { "docid": "6563ac4d9c91fb470ad53250b53f0567", "score": "0.652552", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "title": "" }, { "docid": "6563ac4d9c91fb470ad53250b53f0567", "score": "0.652552", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "title": "" }, { "docid": "6563ac4d9c91fb470ad53250b53f0567", "score": "0.652552", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "title": "" }, { "docid": "31e76ba1e94b21bd33aa78bcab9d74d2", "score": "0.65250164", "text": "@Override\r\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }", "title": "" }, { "docid": "478a619c787dc63751558cc69cf5f6e6", "score": "0.6523024", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4531e701d0b4153ce5bb28debb13f94b", "score": "0.6515622", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4531e701d0b4153ce5bb28debb13f94b", "score": "0.6515622", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "6a406f7815dd69cfc3d5db0550aca3fc", "score": "0.6501426", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n \n \n \n \n }", "title": "" }, { "docid": "0d0d9c961ed7fa78fa1c6282d73cff59", "score": "0.64911616", "text": "@Override\n protected void doPost(final HttpServletRequest request, final HttpServletResponse response)\n throws java.io.IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "0e0916d436132e5dc2d0b74bf1e64628", "score": "0.6468511", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "9809a84527eb107aeac3bad20805995b", "score": "0.64614135", "text": "protected void doPost(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "dac34781d6c5dbddce97d08d1d3e7c99", "score": "0.6452577", "text": "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}", "title": "" }, { "docid": "dac34781d6c5dbddce97d08d1d3e7c99", "score": "0.6452577", "text": "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}", "title": "" }, { "docid": "dac34781d6c5dbddce97d08d1d3e7c99", "score": "0.6452577", "text": "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}", "title": "" }, { "docid": "7e483e5ca388f07fcacd5aca685d14e6", "score": "0.6441579", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t}", "title": "" }, { "docid": "cee296d08743936acb94a3ad0cf8cdea", "score": "0.6437522", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }", "title": "" }, { "docid": "c74456693c4ab889a9546e2fbfb4e1df", "score": "0.6430792", "text": "protected void doPost(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "6f16f990b8fdf776c161cb6a73dbf8ca", "score": "0.6429178", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\r\n\t}", "title": "" }, { "docid": "6f16f990b8fdf776c161cb6a73dbf8ca", "score": "0.6429178", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\r\n\t}", "title": "" }, { "docid": "46ed5b49f691b4a4d1ff0aaf7cf9bec7", "score": "0.6420897", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "title": "" }, { "docid": "46ed5b49f691b4a4d1ff0aaf7cf9bec7", "score": "0.6420897", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "title": "" }, { "docid": "46ed5b49f691b4a4d1ff0aaf7cf9bec7", "score": "0.6420897", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}", "title": "" }, { "docid": "15f020f842745d7ed587c80c16479dd3", "score": "0.6411353", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\r\n\t}", "title": "" }, { "docid": "dd22f7e92443148811ce86625a6d9a17", "score": "0.6409593", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "title": "" }, { "docid": "dd22f7e92443148811ce86625a6d9a17", "score": "0.6409593", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "title": "" }, { "docid": "dd22f7e92443148811ce86625a6d9a17", "score": "0.6409593", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "title": "" }, { "docid": "147ace535e763a2b88d3df38a5cfa78b", "score": "0.6405295", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n \n\t}", "title": "" }, { "docid": "405deaf8c58d846dfbb2da810000589c", "score": "0.6393671", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "title": "" }, { "docid": "b95f2eeebb50a21db3039d9fa7ee023c", "score": "0.6386083", "text": "String postData();", "title": "" }, { "docid": "ace90766c5a109d331b816b04c3b7f4d", "score": "0.63770723", "text": "PostHttpRequest() {\r\n }", "title": "" }, { "docid": "fbfa9587b95cdbfee621b80c606ab32c", "score": "0.6371676", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t}", "title": "" }, { "docid": "fbfa9587b95cdbfee621b80c606ab32c", "score": "0.6371676", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t}", "title": "" }, { "docid": "84526bc4c9e199a77591557baa81ffa7", "score": "0.63711905", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t}", "title": "" }, { "docid": "1949d189bbe521e898bd0edf90e8110b", "score": "0.6362142", "text": "@Override\n\tprotected void doPost(SlingHttpServletRequest request, SlingHttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "59ae833d7e7416680c4f6ab432bece51", "score": "0.6354875", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }", "title": "" }, { "docid": "20484e0c2f0573c8b5de8c6a1362d548", "score": "0.6346423", "text": "@Override\n public boolean handlePost(Object form, BindException errors)\n {\n\n return true;\n }", "title": "" }, { "docid": "9270563e1176e437eb0195904119db9f", "score": "0.63391113", "text": "@Override\n public void doPost(String userId, HttpServletRequest request, HttpServletResponse response)\n throws IOException {\n\n }", "title": "" }, { "docid": "e0e0b070badcdbbd1cabeeaeedb1904f", "score": "0.63334197", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n}", "title": "" }, { "docid": "4eeca84dbbdedd0e7602b526a8396413", "score": "0.63239896", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n \n \n\n\n }", "title": "" }, { "docid": "d8353a38e65b38e3451c861c8e01ca8f", "score": "0.63215053", "text": "@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse res)\r\n\t\t\tthrows ServletException, IOException {\n\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "0523a6dc2d078ca897bcdde3b98905d6", "score": "0.63199764", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t}", "title": "" }, { "docid": "c7a04169784606ed53e47a7ae72014a9", "score": "0.6318341", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException\n {\n try\n {\n System.out.println(\"Got a POST\");\n _logger.debugMessage(\"doPost\", null, \"Received a POST\");\n Hashtable<String, String> headers = getRequestHeaders(request);\n byte[] content = getRequestContent(request);\n \n String valMsg = ReceiveDelegate.getInstance().validateHeaders(headers);\n String respMsg;\n int respCode;\n if (valMsg != null)\n {\n respMsg = valMsg;\n respCode = HttpServletResponse.SC_BAD_REQUEST;\n }\n else\n {\n respMsg = ReceiveDelegate.getInstance().receive(headers, content);\n if (respMsg == null)\n {\n respMsg = \"Transaction Accepted\";\n respCode = HttpServletResponse.SC_ACCEPTED;\n }\n else\n {\n respCode = HttpServletResponse.SC_INTERNAL_SERVER_ERROR;\n }\n }\n response.setContentType(\"text/html\");\n response.setStatus(respCode);\n ServletOutputStream os = response.getOutputStream();\n os.println(respMsg);\n os.flush();\n }\n catch (IOException ex)\n {\n _logger.logError(ILogErrorCodes.BACKEND_SERVLET_POST, \"doPost\", null, \"IO Error. Unable to handle request\", ex);\n AlertUtil.getInstance().sendAlert(IAlertKeys.UNEXPECTED_SYSTEM_ERROR,\n ILogTypes.TYPE_HTTPBC_ISHC, \n \"HttpBackendReceiveServlet\",\n \"doPost\",\n \"Error while handling request\", \n ex);\n }\n }", "title": "" }, { "docid": "1ae0d00272bbcbf6990ed295a3f25461", "score": "0.6300827", "text": "public void doPost(HttpServletRequest request,HttpServletResponse response)\n\t throws ServletException, IOException{\n\t doService(request, response); \n\t }", "title": "" }, { "docid": "fa4967a9ac5c795ab6712e3ba4c665a1", "score": "0.6291957", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tSystem.out.println(\"message from do post\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "119430eb111ccfff5400bdb533f1070d", "score": "0.6288832", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "23370c314eb55edd0eb8589748bfb406", "score": "0.62887275", "text": "public void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows IOException {\n\t\tString method = req.getParameter(\"method\");\n\t\tif (\"toStudentListView\".equals(method)){\n\t\t\tstudentList(req,resp);\n\t\t}else if (\"AddStudent\".equals(method)){\n\t\t\taddStudent(req,resp);\n\t\t}else if (\"StudentList\".equals(method)){\n\t\t\tgetStudentList(req,resp);\n\t\t}else if (\"EditStudent\".equals(method)){\n\t\t\teditStudent(req,resp);\n\t\t}else if (\"DeleteStudent\".equals(method)){\n\t\t\tdeleteStudent(req,resp);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "442c2fcd6916a78fed094a249e5bd1da", "score": "0.62883544", "text": "@Override\r\n\tprotected void doPost(HttpServletRequest theRequest, HttpServletResponse theResponse ) throws ServletException, IOException {\r\n\t\tdoCall( theRequest, theResponse, postMethods );\r\n \t}", "title": "" }, { "docid": "bbfe7619ffb6eed4e766dd3e854196b7", "score": "0.62812704", "text": "@Override\n public void doPost(HttpServletRequest request, HttpServletResponse response)\n throws IOException, ServletException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "9ec43439e3461a9308f30f9dac8e25e6", "score": "0.62711537", "text": "@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t}", "title": "" }, { "docid": "9ec43439e3461a9308f30f9dac8e25e6", "score": "0.62711537", "text": "@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t}", "title": "" }, { "docid": "fbf81914207e9b90ad76c649c4ef062e", "score": "0.6269493", "text": "@Override\n\tprotected void doPost(SlingHttpServletRequest request, SlingHttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t}", "title": "" }, { "docid": "0f9f0a5b3748c6c83b6e7f32a7390e0c", "score": "0.62449276", "text": "public void doPost( HttpServletRequest request, HttpServletResponse response ){\n\t\tdoGet( request, response);\n\t}", "title": "" }, { "docid": "05c395c640b386b5128cf3a39f59db21", "score": "0.62308633", "text": "@Override\n\tpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException {\n\t\tthis.doGet(request, response);\n\t}", "title": "" }, { "docid": "5c64354fb132340cb9ca5b49135122d7", "score": "0.6218422", "text": "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\t\r\n\t}", "title": "" }, { "docid": "5c64354fb132340cb9ca5b49135122d7", "score": "0.6218422", "text": "@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\t\r\n\t}", "title": "" }, { "docid": "58c4400419c53bdea2f827b54264ae82", "score": "0.61971045", "text": "@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n String params = getRequestPostStr(request);\r\n processRequest(request, response, params);\r\n }", "title": "" }, { "docid": "618afb3d795cf1b9eba883c12a700e5e", "score": "0.61875224", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n HandleRequest(request, response);\n }", "title": "" }, { "docid": "ab3c942c6dc1e399d5b7db21a69a7159", "score": "0.6173246", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response) throws\n\tServletException, IOException {\n\t\t// call the doPost method\n\t\tdoGet(request, response);\n\t}", "title": "" }, { "docid": "ab3c942c6dc1e399d5b7db21a69a7159", "score": "0.6173246", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response) throws\n\tServletException, IOException {\n\t\t// call the doPost method\n\t\tdoGet(request, response);\n\t}", "title": "" }, { "docid": "72c2dd736e98dceca6061e38fde4dbf3", "score": "0.61713487", "text": "@Override\n protected void processPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n }", "title": "" }, { "docid": "42681343002ed929dfa0df350171f762", "score": "0.6164841", "text": "@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tString reqType = req.getRequestURI();\n\t\tlog.info(\"============DoPost URL : \"+reqType);\n\t\t\n\t\tswitch (reqType) {\n\t\tcase \"/web/createInstance\":createInstance(req, resp);\t\t\t\n\t\t\tbreak;\n\t\tcase \"/web/expense\": createExpense(req, resp);\t\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "6757cc962a14123cd20f6cfff1eaf6e0", "score": "0.61568385", "text": "MakePostResponse makePost(MakePostRequest request);", "title": "" }, { "docid": "2cbed6cadae1f00bc8fbeaedf9252dbc", "score": "0.61465937", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response) {\n\t\tdoGet(request, response);\n\t}", "title": "" }, { "docid": "0a3bf6a906c2d46fe7b8268431f30deb", "score": "0.614548", "text": "public void doPost(HttpServletRequest request, HttpServletResponse response) {\r\n\t\tdoGet(request, response);\r\n\t}", "title": "" }, { "docid": "8bfe3393424bd0da10c319d610ced50f", "score": "0.6137623", "text": "@Override\n protected void doPost(SlingHttpServletRequest request, SlingHttpServletResponse resp) throws ServletException, IOException {\n }", "title": "" }, { "docid": "63db9efdf379a3337acc4cdab7755f28", "score": "0.61346716", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t// TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "0f8df382b204007aaccbf1dbe1f35c61", "score": "0.6133026", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n System.out.println(\"teste dopost\");\n }", "title": "" }, { "docid": "09be5bb6eb877675a10fae2252f3af99", "score": "0.6132337", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\ttry {\n\t\t\tSERVER_IN = request.getInputStream();\n\t\t\tSERVER_OUT = response.getOutputStream();\n\t\t\tRESPONSE = response;\n\t\t\tIOS = new IOSupport(SERVER_IN);\n\t\t\tFROM_CLIENT = IOS.readMsg();\n\t\t\tSystem.out.println(FROM_CLIENT);\n\t\t\tDP = new DataParser(FROM_CLIENT);\n\t\t\tString type = \"\";\n\t\t\tif(DP.getTotalItems() == 0) {\n\t\t\ttype = DP.getValue(\"DATA_TYPE\");\n\t\t\t}else {\n\t\t\t\ttype = DP.getValue(0,\"DATA_TYPE\");\n\t\t\t}\n\t\t\tswitch(type) {\n\t\t\tcase \"PROFILE\":regUser();\n\t\t\t\t\t\t break;\n\t\t\tcase \"REQUESTS\":getRequests();\n\t\t\t\t\t\t break;\n\t\t\tcase \"REQUEST\":postRequest();\n\t\t\t break;\n\t\t\tcase \"REQUEST_S\":postApproved();\n\t\t\t break; \n\t\t\tcase \"ACTIVE\":getActive();\n\t\t\t\t\t break;\n\t\t\tcase \"USERS\":getUsers();\n\t\t\t break;\n\t\t\tcase \"APPROVED\":getApproved();\n\t\t\t break; \n\t\t\tcase \"INITIATE\":postInitiate();\n\t\t\t break;\n\t\t\tcase \"WAITING\":postInitiate();\n\t\t\t break;\n\t\t\tcase \"CONN_IN_NOTICE\":postConnectIn();\n\t\t\t break;\n\t\t\tcase \"CONN_PASS_NOTICE\":postConnectPass();\n\t\t\t break;\n\t\t\tcase \"COMMAND_PICK\":getCommands();\n\t\t\t break;\n\t\t\tcase \"COMMANDS\":postCmd();\n\t\t\t break;\n\t\t\tcase \"FORMATS_IN\":postFormat();\n\t\t\t break;\n\t\t\tcase \"FORMATS_OUT\":getFormat();\n\t\t\t break;\n\t\t\tdefault: System.out.println(\"UNKNOWN POST OPS CODE\"); \n\t\t\t}\n\t\t\t\n\t\t}catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "95485e8d7e79e44f6c11a46789418e2d", "score": "0.6128698", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "95485e8d7e79e44f6c11a46789418e2d", "score": "0.6128698", "text": "@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" }, { "docid": "aecc07f814ebdd426574b8b70e3ee95f", "score": "0.61246467", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\n\t\tSystem.out.println(\"post\");\r\n\t\tdoGet(request, response);\r\n\t}", "title": "" }, { "docid": "b377a2c8a8c96726746a4ae69415600f", "score": "0.61245936", "text": "@Override\n public void doPost(HttpServletRequest req, HttpServletResponse resp) {\n setIpFqdnRequestIDandInvocationIDForEelf(\"doPost\", req);\n eelfLogger.info(EelfMsgs.ENTRY);\n try {\n eelfLogger.info(EelfMsgs.MESSAGE_WITH_BEHALF, req.getHeader(BEHALF_HEADER));\n String message = \"POST not allowed for the feedURL.\";\n EventLogRecord elr = new EventLogRecord(req);\n elr.setMessage(message);\n elr.setResult(HttpServletResponse.SC_METHOD_NOT_ALLOWED);\n eventlogger.error(elr.toString());\n sendResponseError(resp, HttpServletResponse.SC_METHOD_NOT_ALLOWED, message, eventlogger);\n } finally {\n eelfLogger.info(EelfMsgs.EXIT);\n }\n }", "title": "" }, { "docid": "1a7cfcccfd89e9a88e6f03ec97de2d3f", "score": "0.61144245", "text": "protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}", "title": "" }, { "docid": "be94ce9f2730c7da46402ee992ab35b3", "score": "0.61137635", "text": "@Override\n public void postHandle(\n HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView)\n throws Exception {\n }", "title": "" }, { "docid": "4a6b140b734a65f126ba28537ffc7491", "score": "0.61101645", "text": "public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}", "title": "" }, { "docid": "45c0cc8f7f9f6f0f05a33cf307d35b92", "score": "0.60983735", "text": "@Override\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\n\t}", "title": "" } ]
9c7af7c0aaa25b7d9d09e7758874c899
System.out.println( "Hello World!" );
[ { "docid": "56e9da19bf5da5e3de39c8474b0c145d", "score": "0.0", "text": "public static void main( String[] args )\n {\n \tSpringApplication spr=new SpringApplication(App.class);\n \tspr.run();\n }", "title": "" } ]
[ { "docid": "7e40802c82bc8632ca4b180dfbdfa155", "score": "0.8634763", "text": "public static void main (String[] args) {\nSystem.out.println(\"Hello world !\");\n}", "title": "" }, { "docid": "7fca21ca6b15d9faf5a073d7e876741a", "score": "0.8467834", "text": "static void sayHelloWorld() {\r\n\t System.out.println(\"Hello World\");\r\n }", "title": "" }, { "docid": "d27aed8139bc7c6eb0b8aa4615d450bc", "score": "0.82392555", "text": "public static void hello(){\n System.out.println(\"Hello\");\n }", "title": "" }, { "docid": "8af6c242af97757151ef4c0a07c9c4e9", "score": "0.81920826", "text": "public void print() {\r\n\t\tSystem.out.println(\"Hello World!\");\r\n\t}", "title": "" }, { "docid": "3473281de17240a0ae8b15cd83c85740", "score": "0.8169687", "text": "public static void hello() {\r\n\t\tSystem.out.println(\"Hello\");\r\n\t}", "title": "" }, { "docid": "0898adf816b9c92d4afc605963e18d27", "score": "0.8140605", "text": "public static void main(String[] args) {\nSystem.out.println(\"Hello\");\r\n\t}", "title": "" }, { "docid": "c0de494e8ae3521254dedd44ea504bdb", "score": "0.8132918", "text": "public static void main(String []args){\n System.out.println(\"Hello World\");\n \n }", "title": "" }, { "docid": "f14331c6b1b9cf34e69a23d186f6bd9c", "score": "0.811676", "text": "public static void sayHello() {\n\t\tSystem.out.println(\"Hello World\");\n\t}", "title": "" }, { "docid": "95d6f4c1253b95ba3115fd77e7589fd2", "score": "0.7884548", "text": "public static void main(String args[])\n {\n System.out.println(\"hello\");\n \n }", "title": "" }, { "docid": "a591e6894b6849db930c28ab9d465be2", "score": "0.78540987", "text": "public static void main(String[] args)\n {\n System.out.println(\"HelloWorld\");\n\n }", "title": "" }, { "docid": "265fd81d988d5c43b397580ef2d43330", "score": "0.7826407", "text": "public void exampleMethod(){\r\n\t\t\r\n\t\tSystem.out.println(\"Hello World!\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3efd9539488a4ed2e7ba9caea91192d9", "score": "0.776075", "text": "public static void main(String[] args) {\n System.out.println(\"Hello Java\");\n }", "title": "" }, { "docid": "4d7e1e479e05a0ee1dc18707cb87fd23", "score": "0.7756666", "text": "public final String Hello(){\n\t\tSystem.out.println(\"Hi\");\r\n\t}", "title": "" }, { "docid": "9e79279ac938e821fd61ab1f8f3d434d", "score": "0.773712", "text": "public static void main(String args[]) {\n\nSystem.out.println(\"This is our first Java program.\");\nSystem.out.println(\"I hope this works!!!\");\n\n}", "title": "" }, { "docid": "d2c588d14a61d28b8386dfe65b41f1f0", "score": "0.77172357", "text": "public static void main(String[] args) {\n System.out.println(\"Hello\");\n }", "title": "" }, { "docid": "5c0bbec37ef22e48aed9b03708cb6f86", "score": "0.7717039", "text": "public void greet(){\n\t\tSystem.out.println(\"HI!!!!\");\n\t\tSystem.out.print(\"Hello, world!\");\n\t}", "title": "" }, { "docid": "43b58cc0ff988880834b08b0c9cb7f5b", "score": "0.7675196", "text": "public static void main(String[] args){\r\n\r\n System.out.println(\"Hello from tester\");\r\n}", "title": "" }, { "docid": "3d0c5fcbd2131d6f68de8121168f1efe", "score": "0.7674421", "text": "public static void main(String[] args) {\n\t System.out.println(\"Hello\");\n \n }", "title": "" }, { "docid": "a2617e3b0c9ee46ea710c759aa9906b5", "score": "0.7663828", "text": "public ststic void main(String[] args)\r\n{\nsystem.out.println(\"hello all\");\r\n}", "title": "" }, { "docid": "db64e9750163774af6c4658a80c9f60c", "score": "0.76558405", "text": "public void println () {\n System.out.println ();\n }", "title": "" }, { "docid": "a4404768ea17dca7b1697a39aae84adb", "score": "0.76201236", "text": "public static void main(String args[])\n {\n System.out.println(\"Hello Java!\");\n System.out.println(\"We're going to have fun\");\n }", "title": "" }, { "docid": "4d74e34ae6a6ef9def2286ce92223ec0", "score": "0.7573548", "text": "public static void main(String[] args) {\n System.out.println(\"Hello World!\");\n \n }", "title": "" }, { "docid": "5b83f3db04153cdf80dd87437a874017", "score": "0.7567043", "text": "public void println() {\n\tSystem.out.println();\n }", "title": "" }, { "docid": "f4f53054afe0a0ee46880d0ed2a70777", "score": "0.7529527", "text": "public static void main(String args[])\r\n\t{\n\r\n\t\tSystem.out.println(\"---Hello World---\");\r\n\t}", "title": "" }, { "docid": "39688575a26562b7d0b3f87c86af084e", "score": "0.7492076", "text": "public static void main(String[] args) {\n System.out.println(\"Hola\");\r\n }", "title": "" }, { "docid": "60233e44bb953d44f71bfe8c2bf6d302", "score": "0.7488482", "text": "public static void main(String[] args){\n// The code inside this will execute first.\n System.out.println(\"Hello\");\n \n }", "title": "" }, { "docid": "d11737ac0a5a0ee66611ab01bc447bda", "score": "0.7471985", "text": "public void println();", "title": "" }, { "docid": "8c59acb1f5362ff8c9870f48a291c3da", "score": "0.74120426", "text": "public void hello() {\n System.out.println(\"Hello, my name is \" + name + \".\");\n }", "title": "" }, { "docid": "4393b96e06f8f3fccd0a69e7bd018865", "score": "0.74032336", "text": "public static void main(String[] args) {\n System.out.println(\"Hello World!\");\n }", "title": "" }, { "docid": "f8048db508102cb0a4c10aa6a4e99fa5", "score": "0.73699933", "text": "public static void main(String[] args) {\n System.out.println(\"Hello Nidhi Here\");\n\t}", "title": "" }, { "docid": "2f9a1377d2d8acdfcfea256f80d2c3e9", "score": "0.73148686", "text": "public static void main (String args[]){\n\t\tSystem.out.print(\"Hello!\");\n\n\t}", "title": "" }, { "docid": "3098d428ac49b93ec3196db3fbfff3c1", "score": "0.73015636", "text": "public static void main(String[] args) { // this is the main method. Program will start here.\r\n System.out.println(\"Hello World\"); // we're printing one string, Hello World\r\n }", "title": "" }, { "docid": "4e9b8f2acc482557e08d1e253ff88487", "score": "0.729129", "text": "public static String printHello() {\n\t\t//print Hello world! in the console!\n\t\tString c = \"Hello rvabddld!\";\n\t\treturn c;\n\t}", "title": "" }, { "docid": "7890f5466bfae9d15da2e71a20328903", "score": "0.728661", "text": "public static void main(String args[])\n\t{\n\t\tSystem.out.println(\"Hello World!\");\n\t}", "title": "" }, { "docid": "f9f9b31447d503fbf4d0abb9e8f7d1a2", "score": "0.72637314", "text": "public static void Main(String args[])\n{\n\n\tSystem.out.println(\"shruti is here\");\n}", "title": "" }, { "docid": "80a0be63b5dc550c25d6c7592070e577", "score": "0.7262681", "text": "public static void main(String[] args) \r\n\t{\r\n\t\t//For Printing Statement we make use of \"System.out.print();\"\r\n\t\tSystem.out.println(\"Hello World\");\r\n\t}", "title": "" }, { "docid": "0fa37891f3cbf107ffeae945766fd6b7", "score": "0.7259196", "text": "public static void main(String args[]){\n\t\tSystem.out.println(\"Hello World !!\");\r\n\t}", "title": "" }, { "docid": "0f17329dac9815fe0a2fde0514684754", "score": "0.72545534", "text": "public static void main(String[] args) {\n\tSystem.out.println(\"Hello World\");\n\t\n\t}", "title": "" }, { "docid": "2302b846cdafa7bbe1c3537e5105b37b", "score": "0.72468275", "text": "static void sayHelloWorld2(String name) {\r\n\t System.out.println(\"Hello \" + name);\r\n }", "title": "" }, { "docid": "9946db6e7216370958a5e4c224f7b0ca", "score": "0.7244681", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"hello\");\n\t}", "title": "" }, { "docid": "055b8a16626df9efec13dd598efca6fc", "score": "0.72437525", "text": "public void println() {\r\n\t\tSystem.out.println();\r\n\t}", "title": "" }, { "docid": "6c60975f0b4bd0e5638775226ae437cd", "score": "0.71531975", "text": "public static void main(String args[])\r\n {\n System.out.println(\"Hello World!\");\r\n System.out.println(\"plays\");\r\n System.out.println(\"EXIT\");\r\n }", "title": "" }, { "docid": "eb5be08a992ff51eba4fe2a707d59267", "score": "0.71512496", "text": "public static void main(String[] args) {\n\r\n\t\tprintmessage();\r\n\t\t\r\n\t\tSystem.out.println(\"hello UFT\");\r\n\r\n}", "title": "" }, { "docid": "6c575fd8bd8cb0a5f56e86a121fdda2c", "score": "0.714389", "text": "public static void main(String[] args) {\r\n\t\tSystem.out.println(\"Hello World!\");\r\n\t}", "title": "" }, { "docid": "5e806e01a25cafdec7fc9549ada05b84", "score": "0.7124694", "text": "public static void main(String[] args)\n {\n //Message with a println() makes the cursor go to the next line after the line is over.\n System.out.println(\"Hello,\");\n System.out.println(\"World!\");\n \n //Message with just a print() makes the cursor stay right after the next character that is outputted.\n System.out.print(\"Hello, \");\n System.out.print(\"World!\");\n }", "title": "" }, { "docid": "bec729bd2d4d0c7cce9d058fb7a106b1", "score": "0.7108673", "text": "public static void displayGreeting() {\n \tSystem.out.println(\"Hello, and welcome!\"); //just one statement that prints \"Hello, and welcome!\"\n }", "title": "" }, { "docid": "87e96eff9e0c78d67d25ce6bc1757d09", "score": "0.71038854", "text": "public static void main(String[] args) {\nSystem.out.println(\"good luck\");\r\n\t}", "title": "" }, { "docid": "e60f633169541bd775ea21149408bff2", "score": "0.71000385", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"Hello, World!\");\r\n\t}", "title": "" }, { "docid": "4fe6ada1184cee2f9a9ae81c5aa5fc55", "score": "0.70749694", "text": "public static void main(String args[]){\n System.out.println(sayeHello());\n }", "title": "" }, { "docid": "4bf69cc1251e54aef19c02b0cd633604", "score": "0.7065999", "text": "void hello() {\n\tSystem.out.println(\"Hello\");//method body\n}", "title": "" }, { "docid": "7f4b929738bb257ae6a975ff305fa979", "score": "0.7063619", "text": "public static void main(String[] args)\r\n\t{\n\t\tSystem.out.println();\r\n\t}", "title": "" }, { "docid": "3c7cedc5aad9a6291c2b08b71aa6ccea", "score": "0.7056352", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"Hello World!!!\");\n\t}", "title": "" }, { "docid": "a3ede090100cd0cdcc988b056222e4a2", "score": "0.7047611", "text": "public static void main(String[] args) {\nSystem.out.println(\"hii\");\r\n\t}", "title": "" }, { "docid": "8e25b4f74f23605f3b17c7f5f62a7359", "score": "0.7045018", "text": "public static void main(String[] args) {\n System.out.println();\n }", "title": "" }, { "docid": "942df84dfb25e0d8ec673ee4afd41a1a", "score": "0.7034758", "text": "public static void main(String ... args)\r\n\t\r\n\t{\r\n\t\tSystem.out.println(\"Hello funky\");\r\n\r\n\t}", "title": "" }, { "docid": "3022a9980494b74885b84512deb5e25f", "score": "0.7031258", "text": "public static void main(String[] args) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t//System.out.println To Print the Message \r\n\t\tSystem.out.println(\"Hello World\");\r\n\t}", "title": "" }, { "docid": "407e93884906a05e1700bcefe083481b", "score": "0.70296", "text": "public static void main(String[] args) {\n\tSystem.out.print(\"Hello,\");\n System.out.println(\" World!\");\n System.out.println (\"My name is Sidharth Babu!\");\n System.out.println (\"Welcome to CSE20 at UC Merced!\");\n\t}", "title": "" }, { "docid": "10fd10b91b211686cd11c8f38d9ee2ce", "score": "0.70269865", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"Hello World\");\n\n\t}", "title": "" }, { "docid": "8939ea0f3414a218a7af7881e88018ae", "score": "0.70264494", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"Hello, guyzz\");\n\t}", "title": "" }, { "docid": "45909d52c21deed58fba9603b4fee941", "score": "0.70194757", "text": "public static void main (String[] args) {\n\t String msg = \"Hello World!\";\n\t\tSystem.out.println(msg);\n\t}", "title": "" }, { "docid": "e4eba433d6c50596938d2a4d7bc23313", "score": "0.70148146", "text": "@Override\r\n\tvoid show() {\r\n\t\tSystem.out.println(\"Hello world\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "ab06484524ded2605abb6fbb1e6df15c", "score": "0.70145005", "text": "public static void main(String args [])\n {\n System.out.println(\"This is a simple Java Program - My first Hello World !!!\");\n }", "title": "" }, { "docid": "d7ecfd7b367ff9ed9f02b7d3b282ffef", "score": "0.7008436", "text": "void show() {\n System.out.println(\"Hello world, this is a java program\");\n System.out.println(\"\");\n System.out.println(\"\");\n System.out.println(\"Good luck, programmer!\");\n }", "title": "" }, { "docid": "d89adcc2435115d4b70078313e62c204", "score": "0.6979456", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tSystem.out.println(\"Hello World!!\");\r\n\r\n\t}", "title": "" }, { "docid": "5bbc7738ab64faaf3d80be04c8c3b14b", "score": "0.69767195", "text": "public static void main(String[] args) {\r\n System.out.println(\"Hello world!\");\r\n System.out.println(\"How are you?\\n\\tDo you need some \\\"magic\\\" coffee?\");\r\n }", "title": "" }, { "docid": "ff6e8d865537efe4f5a8824f871cdb78", "score": "0.69753027", "text": "public static void main(String[] args) {\n\t\t\n\t\tSystem.out.print(\"hello world\");\n\t}", "title": "" }, { "docid": "e8b1d09538c2b95e0f44eb203daeeba0", "score": "0.6974458", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"Hello World\");\n\t\t}", "title": "" }, { "docid": "5fca49a3b016cdf89fb6f710cea57746", "score": "0.69674253", "text": "public static void main(String[] args) {\n System.out.println(\"Hello, World krishna\");\n }", "title": "" }, { "docid": "d3360274e575f2fbd85c6c628df989bd", "score": "0.69546497", "text": "void println(String s);", "title": "" }, { "docid": "cc54100db126d59696c8014dd4377132", "score": "0.69466335", "text": "@Test\r\n\tprivate void syso() {\n\t\t\r\n\t\tSystem.out.println(\"Hello java\");\r\n\r\n\t}", "title": "" }, { "docid": "c7f03b3fe2d6aac96c3814a421834b6b", "score": "0.6933306", "text": "public static void println(Object message){System.out.println(message);}", "title": "" }, { "docid": "1390c7a428cec6c2168db2e23a6e8ac4", "score": "0.692237", "text": "public static void main(String[] args){\n\t\tSystem.out.println(\"Hola Mundo\");\n\t}", "title": "" }, { "docid": "9ebfacfea8bf5c2d086bbe2da14d7e54", "score": "0.69184995", "text": "public void sayHello() {\n System.out.println(\"Hello \" + getName() + \"!\");\n }", "title": "" }, { "docid": "0bd37df8d553476dc99fee4d20b82338", "score": "0.69117206", "text": "public static void main(String[] args) {\nSystem.out.println(\"Hello TestDemo1\");\n\t}", "title": "" }, { "docid": "f69c61497c9afe18d9fa2d4f96e1377f", "score": "0.691012", "text": "public void SayHello() {\n\t\tSystem.out.println(\"SayHello\"+name+age);\n\t}", "title": "" }, { "docid": "82d06c18321c9f7fa2afd4cc1eaf27d1", "score": "0.69077456", "text": "public static void main(String[] args) {\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "1b622a17ba50b7efe21f1a618bbc6ece", "score": "0.6906161", "text": "public static void main(String[] args) {\nSystem.out.println(\"marry christms\");\n\t}", "title": "" }, { "docid": "ea1c7259f9fe8231473ffb5ff8184f62", "score": "0.6895559", "text": "public void display() {\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Hello\");\r\n\t\t}", "title": "" }, { "docid": "5402b62efb7383422ec116044a2f6c72", "score": "0.68919027", "text": "public static void main(String[] args) {\nSystem.out.println(\"dfg\");\r\n\t}", "title": "" }, { "docid": "832e6c53b2a5bb6f214fbea274d71658", "score": "0.6882825", "text": "public static void main(String[] args) {\nSystem.out.println(\"Hello this is my test project\");\r\n\t}", "title": "" }, { "docid": "ec61c5b2f5d17662552f5c6f11dea6e3", "score": "0.6868207", "text": "public static void main(String []arr){\n \nSystem.out.println(\"hello java \");\n}", "title": "" }, { "docid": "977ccdfe45612be82f87e649fe3e4fd3", "score": "0.68321073", "text": "public void hi(){\n\t\tSystem.out.println(\"hi dawww..!\");\n\t}", "title": "" }, { "docid": "4c5d14d97c0e0a2cac8b6ec44f1f580f", "score": "0.6824499", "text": "public static void main(String[] args) \r\n\t{\n\t\tSystem.out.println(\"My First Hello!\");\r\n\t\tSystem.out.println(\"Hello again!\");\r\n\t\tSystem.out.print(\"Hello Finally!\");\r\n\t\tSystem.out.println(\"Goodbye!\");\r\n\t}", "title": "" }, { "docid": "6d512f086934f5cb56df267630dddc55", "score": "0.6824234", "text": "public static void main(String[] args) {\nSystem.out.println(\"Hallo P4 !! \");\n\t}", "title": "" }, { "docid": "72c170777ea3ef3b2cc6fa5370d20c38", "score": "0.6821552", "text": "public static void main(String[] args) {\n System.out.println (\"Hello \\n Alexandra Abramov!\"); \n \n \n }", "title": "" }, { "docid": "68dc00f373e6c539c1184521b82562bb", "score": "0.6809785", "text": "private static void helloWorld() {\n\t\tSkrivare2.skrivUt(\"Hello world!\");\n\t}", "title": "" }, { "docid": "2738f6e89b0a2b265bb36161a6c7e77c", "score": "0.6804953", "text": "public static void myfirstMethod () \n\t\t{\n\t\tSystem.out.println(\"Hello Tech Camp Kenya\");\n\t\t\n\t\t}", "title": "" }, { "docid": "4333ae57803b81f144b102ded83889c6", "score": "0.67997044", "text": "public static void main(String[] args)\n\t{\n\t\t// Declaring the text to output as a variable of type String\n\t \tString myText = \"Hello World!\";\n\t\t// Prints out \"Hello World!\"\n\t\tSystem.out.println(myText);\n\t}", "title": "" }, { "docid": "228cd56d5b5f7851f8c39d56c23ce422", "score": "0.67987365", "text": "public static void main(String[] args) {\n\t\t\n\t\tSystem.out.println(\"Hello World!!\");\n\n\t}", "title": "" }, { "docid": "00af6eeec0612a04856753aa9cb12894", "score": "0.6797645", "text": "public static void main(String[] args) {\n {\n System.out.println(\"Feathers\");\n }\n }", "title": "" }, { "docid": "3e6b5ee9080f231033b7acbd2c114895", "score": "0.67946434", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"Hello World, this is Nicholas\");\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "7f64de423fd7e35db60f049ff0d79895", "score": "0.6788897", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"Hello Java\\n\");\n\t}", "title": "" }, { "docid": "299ff8f3ff0e267ba4bcc510df4cc8d2", "score": "0.6787801", "text": "public static void main(String[] args) {\n\t\tSystem.out.println();\n\n\t}", "title": "" }, { "docid": "260108f5e50e978019cdbe85a6212e8d", "score": "0.678065", "text": "public static void main(String[] args) {\n\t\t\tSystem.out.println();\n\t\n\t }", "title": "" }, { "docid": "51ab53e99e3908d3e3618381d1b09f54", "score": "0.67728865", "text": "public static void main(String[] args) {\n\t\tSystem.out.print(\"heee\");\n\t}", "title": "" }, { "docid": "7fe683c87ec8767387552a15b51505d2", "score": "0.6771073", "text": "public static void main(String[] args) {\nSystem.out.println(\"zzzzzzzzzzzzzzzzzzz\");\r\n\t}", "title": "" }, { "docid": "eae97428456cf4b3e1193120dfe43e7c", "score": "0.6765359", "text": "public static void output1()\r\n {\r\n System.out.println(\"The world is not flat!\");\r\n }", "title": "" }, { "docid": "053d84b195ae207d40b04c6703c517ed", "score": "0.6765223", "text": "public void output(){\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "61ec6f3acc03369824cc14d98d5cfdbb", "score": "0.67546046", "text": "public static void main(String[] args) { //method body start\n\t\tSystem.out.println(\"hey Lem Lem\");\n\t\n\t\n\t}", "title": "" }, { "docid": "8ef2b58e2c9e87fcc9c238ba6a78d28e", "score": "0.6746359", "text": "public static void myName() {\n System.out.println(\"I am so excited\");\n }", "title": "" }, { "docid": "8a89832b8d6a386f3c100f580320990e", "score": "0.67411405", "text": "public void greet() {\n System.out.println(\"==============\");\n System.out.println(\"Library System\");\n System.out.println(\"==============\");\n System.out.println();\n }", "title": "" } ]
98dd8c9d8b91e6202fdd9210a694fece
This method was generated by MyBatis Generator. This method corresponds to the database table lt_ticket
[ { "docid": "1cf417969f015d010221c103860629b7", "score": "0.47608685", "text": "int insert(Ticket record);", "title": "" } ]
[ { "docid": "a1a36021704482e89069623e922f4035", "score": "0.5658929", "text": "Ticket selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "60d02390fed2e7fc8dc3cf987b29a906", "score": "0.5651524", "text": "List<TicketStatut> getListTicketStatut();", "title": "" }, { "docid": "f0fc23360cf80801c185807478f296c2", "score": "0.5630444", "text": "@Override\r\n// public void save(Ticket ticket) {\r\n// jdbcTemplate.queryForObject (\"INSERT INTO ticket (id,date, description,resolve,idx_apprenant) VALUES ('\" + ticket.getId() + \"','\" + ticket.getDate()+ \"','\" + ticket.getDescription()+ \"','\" + ticket.getResolve() + \"')\", ticketRowMapper);\r\n// }\r\n\r\n\r\n public void save(Ticket ticket) {\r\n System.out.println(ticket.getIdxApprenant());\r\n // A vous de jouer\r\n jdbcTemplate.update(\"INSERT INTO ticket (id, date, description,resolve,idx_apprenant)\" +\r\n \"VALUES (DEFAULT , now(), ?,false,?)\",ticket.getDescription(), ticket.getIdxApprenant() );\r\n\r\n }", "title": "" }, { "docid": "ba343ea0fe8d2c5b388ba3bc1e6b727f", "score": "0.56131613", "text": "de.uniba.rz.backend.Ticket getTicketById();", "title": "" }, { "docid": "24733e15aca2333166018c89d9d3c072", "score": "0.5557624", "text": "public int getTicketId() {\n return ticketId;\n }", "title": "" }, { "docid": "24688caf41e46f164bca92153ca17d3c", "score": "0.5539269", "text": "@GetMapping(value = \"/ticket/list\", produces = \"application/json\")\n\tpublic List<Ticket> allTickets(){\n\t\tmyLogger.info(\"================================================\");\n\t\tmyLogger.info(\"GET MAPPING to get all ticket\");\n\t\treturn service.listAllTickets();\n\t}", "title": "" }, { "docid": "1548a485dbef28ab226c5338b951aa0d", "score": "0.5522922", "text": "public List<Ticket> getTicketsByEmplId(int empId) throws TicketNotFoundException;", "title": "" }, { "docid": "e57b1f2d2cfab488be4eadf08b8de203", "score": "0.55102813", "text": "public Ticket getTicket() { return ticket; }", "title": "" }, { "docid": "48c62b1d5b338fd388668a03332d8cf7", "score": "0.54865277", "text": "public void setTicket(String ticket) {\n this.ticket = ticket;\n }", "title": "" }, { "docid": "f1f039cd5f678cc4d1a44ebfbe469125", "score": "0.5465252", "text": "public String getTicketid() {\r\n return ticketid;\r\n }", "title": "" }, { "docid": "c5a72dea619fd74741a33dbd836d8a94", "score": "0.54529566", "text": "public Ticket getSingleQuery(int ticketId)throws TicketNotFoundException;", "title": "" }, { "docid": "12082d03c19c5b5c5db4ea301289e38d", "score": "0.544119", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"Ticket [ticketId=\" + ticketId + \", firstName=\" + firstName + \", lastName=\" + lastName + \", email=\"\n\t\t\t\t+ email + \", phone=\" + phone + \", flight=\" + flight + \", seatType=\" + seatType + \"]\";\n\t}", "title": "" }, { "docid": "abddee17a47ee4fd6152ff019199905c", "score": "0.5439792", "text": "@Override\r\n\tpublic List<TicketType> ticketlists() {\n\t\treturn listdao.tickettype1();\r\n\t}", "title": "" }, { "docid": "5b1c4db08192275e0481d5036c151d42", "score": "0.5434519", "text": "public void setTicketid(String ticketid) {\r\n this.ticketid = ticketid;\r\n }", "title": "" }, { "docid": "1f6d550181e9a253b1cb11a36bcec01d", "score": "0.5382327", "text": "public String getTicketId() {\n\t\treturn this.ticketId;\n\t}", "title": "" }, { "docid": "17954a6e946d2a381c30a512c9a244e5", "score": "0.537527", "text": "public Ticket getTicket() {\n return ticket;\n }", "title": "" }, { "docid": "fe670c30c90d39977b16ffa3ee52ada3", "score": "0.5370533", "text": "public java.lang.Long getTicketId () {\r\n\t\treturn ticketId;\r\n\t}", "title": "" }, { "docid": "17f5d82119774621a4e7cea9744fec12", "score": "0.5352505", "text": "@RequestMapping(\"/tickets\")\n\tpublic List<ParkingTicket> getTickets(){\n\t\tList<ParkingTicket> lpt=serv6.getTickets();\n\t\treturn lpt;\n\t}", "title": "" }, { "docid": "c1fd138fe6d415c1ee3faac4bd4ad2a6", "score": "0.53507555", "text": "public Ticket getTicket(int ticketId)throws TicketNotFoundException;", "title": "" }, { "docid": "b267549c901d2f0df2566301f03a099c", "score": "0.53471005", "text": "public void setTicketId(Integer ticketId) {\n\t\tthis.ticketId = ticketId;\n\t}", "title": "" }, { "docid": "ef5a44271fa6c7bb4e8257ba93117897", "score": "0.531991", "text": "@SuppressWarnings({ \"all\", \"unchecked\", \"rawtypes\" })\npublic interface ITplTicket extends VertxPojo, Serializable {\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.KEY</code>. 「key」- 增量记录ID\n */\n public ITplTicket setKey(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.KEY</code>. 「key」- 增量记录ID\n */\n public String getKey();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.CODE</code>. 「code」- 编码\n */\n public ITplTicket setCode(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.CODE</code>. 「code」- 编码\n */\n public String getCode();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.NAME</code>. 「name」- 名称\n */\n public ITplTicket setName(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.NAME</code>. 「name」- 名称\n */\n public String getName();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.DESCRIPTION</code>. 「description」-\n * 描述\n */\n public ITplTicket setDescription(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.DESCRIPTION</code>. 「description」-\n * 描述\n */\n public String getDescription();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.TYPE</code>. 「type」- 分类\n */\n public ITplTicket setType(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.TYPE</code>. 「type」- 分类\n */\n public String getType();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.STATUS</code>. 「status」- 状态\n */\n public ITplTicket setStatus(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.STATUS</code>. 「status」- 状态\n */\n public String getStatus();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.SYSTEM</code>. 「system」- 是否属于系统模板\n */\n public ITplTicket setSystem(Boolean value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.SYSTEM</code>. 「system」- 是否属于系统模板\n */\n public Boolean getSystem();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.MODEL_ID</code>. 「modelId」-\n * 关联的模型identifier,用于描述\n */\n public ITplTicket setModelId(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.MODEL_ID</code>. 「modelId」-\n * 关联的模型identifier,用于描述\n */\n public String getModelId();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.MODEL_KEY</code>. 「modelKey」-\n * 关联的模型记录ID,用于描述哪一个Model中的记录\n */\n public ITplTicket setModelKey(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.MODEL_KEY</code>. 「modelKey」-\n * 关联的模型记录ID,用于描述哪一个Model中的记录\n */\n public String getModelKey();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.MODEL_CATEGORY</code>.\n * 「modelCategory」- 模型分类\n */\n public ITplTicket setModelCategory(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.MODEL_CATEGORY</code>.\n * 「modelCategory」- 模型分类\n */\n public String getModelCategory();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.RECORD_JSON</code>. 「recordJson」-\n * 上一次的记录内容(Json格式)\n */\n public ITplTicket setRecordJson(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.RECORD_JSON</code>. 「recordJson」-\n * 上一次的记录内容(Json格式)\n */\n public String getRecordJson();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.RECORD_COMPONENT</code>.\n * 「recordComponent」- 处理记录的组件\n */\n public ITplTicket setRecordComponent(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.RECORD_COMPONENT</code>.\n * 「recordComponent」- 处理记录的组件\n */\n public String getRecordComponent();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.UI_CONFIG</code>. 「uiConfig」-\n * UI的配置(Json格式)\n */\n public ITplTicket setUiConfig(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.UI_CONFIG</code>. 「uiConfig」-\n * UI的配置(Json格式)\n */\n public String getUiConfig();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.UI_COMPONENT</code>.\n * 「uiComponent」- 处理UI的组件\n */\n public ITplTicket setUiComponent(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.UI_COMPONENT</code>.\n * 「uiComponent」- 处理UI的组件\n */\n public String getUiComponent();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.SIGMA</code>. 「sigma」- 统一标识\n */\n public ITplTicket setSigma(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.SIGMA</code>. 「sigma」- 统一标识\n */\n public String getSigma();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.LANGUAGE</code>. 「language」- 使用的语言\n */\n public ITplTicket setLanguage(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.LANGUAGE</code>. 「language」- 使用的语言\n */\n public String getLanguage();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.ACTIVE</code>. 「active」- 是否启用\n */\n public ITplTicket setActive(Boolean value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.ACTIVE</code>. 「active」- 是否启用\n */\n public Boolean getActive();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.METADATA</code>. 「metadata」-\n * 附加配置数据\n */\n public ITplTicket setMetadata(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.METADATA</code>. 「metadata」-\n * 附加配置数据\n */\n public String getMetadata();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.CREATED_AT</code>. 「createdAt」-\n * 创建时间\n */\n public ITplTicket setCreatedAt(LocalDateTime value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.CREATED_AT</code>. 「createdAt」-\n * 创建时间\n */\n public LocalDateTime getCreatedAt();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.CREATED_BY</code>. 「createdBy」-\n * 创建人\n */\n public ITplTicket setCreatedBy(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.CREATED_BY</code>. 「createdBy」-\n * 创建人\n */\n public String getCreatedBy();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.UPDATED_AT</code>. 「updatedAt」-\n * 更新时间\n */\n public ITplTicket setUpdatedAt(LocalDateTime value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.UPDATED_AT</code>. 「updatedAt」-\n * 更新时间\n */\n public LocalDateTime getUpdatedAt();\n\n /**\n * Setter for <code>DB_ETERNAL.TPL_TICKET.UPDATED_BY</code>. 「updatedBy」-\n * 更新人\n */\n public ITplTicket setUpdatedBy(String value);\n\n /**\n * Getter for <code>DB_ETERNAL.TPL_TICKET.UPDATED_BY</code>. 「updatedBy」-\n * 更新人\n */\n public String getUpdatedBy();\n\n // -------------------------------------------------------------------------\n // FROM and INTO\n // -------------------------------------------------------------------------\n\n /**\n * Load data from another generated Record/POJO implementing the common\n * interface ITplTicket\n */\n public void from(ITplTicket from);\n\n /**\n * Copy data into another generated Record/POJO implementing the common\n * interface ITplTicket\n */\n public <E extends ITplTicket> E into(E into);\n\n @Override\n public default ITplTicket fromJson(io.vertx.core.json.JsonObject json) {\n setOrThrow(this::setKey,json::getString,\"KEY\",\"java.lang.String\");\n setOrThrow(this::setCode,json::getString,\"CODE\",\"java.lang.String\");\n setOrThrow(this::setName,json::getString,\"NAME\",\"java.lang.String\");\n setOrThrow(this::setDescription,json::getString,\"DESCRIPTION\",\"java.lang.String\");\n setOrThrow(this::setType,json::getString,\"TYPE\",\"java.lang.String\");\n setOrThrow(this::setStatus,json::getString,\"STATUS\",\"java.lang.String\");\n setOrThrow(this::setSystem,json::getBoolean,\"SYSTEM\",\"java.lang.Boolean\");\n setOrThrow(this::setModelId,json::getString,\"MODEL_ID\",\"java.lang.String\");\n setOrThrow(this::setModelKey,json::getString,\"MODEL_KEY\",\"java.lang.String\");\n setOrThrow(this::setModelCategory,json::getString,\"MODEL_CATEGORY\",\"java.lang.String\");\n setOrThrow(this::setRecordJson,json::getString,\"RECORD_JSON\",\"java.lang.String\");\n setOrThrow(this::setRecordComponent,json::getString,\"RECORD_COMPONENT\",\"java.lang.String\");\n setOrThrow(this::setUiConfig,json::getString,\"UI_CONFIG\",\"java.lang.String\");\n setOrThrow(this::setUiComponent,json::getString,\"UI_COMPONENT\",\"java.lang.String\");\n setOrThrow(this::setSigma,json::getString,\"SIGMA\",\"java.lang.String\");\n setOrThrow(this::setLanguage,json::getString,\"LANGUAGE\",\"java.lang.String\");\n setOrThrow(this::setActive,json::getBoolean,\"ACTIVE\",\"java.lang.Boolean\");\n setOrThrow(this::setMetadata,json::getString,\"METADATA\",\"java.lang.String\");\n setOrThrow(this::setCreatedAt,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},\"CREATED_AT\",\"java.time.LocalDateTime\");\n setOrThrow(this::setCreatedBy,json::getString,\"CREATED_BY\",\"java.lang.String\");\n setOrThrow(this::setUpdatedAt,key -> {String s = json.getString(key); return s==null?null:java.time.LocalDateTime.parse(s);},\"UPDATED_AT\",\"java.time.LocalDateTime\");\n setOrThrow(this::setUpdatedBy,json::getString,\"UPDATED_BY\",\"java.lang.String\");\n return this;\n }\n\n\n @Override\n public default io.vertx.core.json.JsonObject toJson() {\n io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();\n json.put(\"KEY\",getKey());\n json.put(\"CODE\",getCode());\n json.put(\"NAME\",getName());\n json.put(\"DESCRIPTION\",getDescription());\n json.put(\"TYPE\",getType());\n json.put(\"STATUS\",getStatus());\n json.put(\"SYSTEM\",getSystem());\n json.put(\"MODEL_ID\",getModelId());\n json.put(\"MODEL_KEY\",getModelKey());\n json.put(\"MODEL_CATEGORY\",getModelCategory());\n json.put(\"RECORD_JSON\",getRecordJson());\n json.put(\"RECORD_COMPONENT\",getRecordComponent());\n json.put(\"UI_CONFIG\",getUiConfig());\n json.put(\"UI_COMPONENT\",getUiComponent());\n json.put(\"SIGMA\",getSigma());\n json.put(\"LANGUAGE\",getLanguage());\n json.put(\"ACTIVE\",getActive());\n json.put(\"METADATA\",getMetadata());\n json.put(\"CREATED_AT\",getCreatedAt()==null?null:getCreatedAt().toString());\n json.put(\"CREATED_BY\",getCreatedBy());\n json.put(\"UPDATED_AT\",getUpdatedAt()==null?null:getUpdatedAt().toString());\n json.put(\"UPDATED_BY\",getUpdatedBy());\n return json;\n }\n\n}", "title": "" }, { "docid": "09dc4d56d5701a36baced150f82aed75", "score": "0.52975625", "text": "@Override\n\tpublic int valeurTicket() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "e5b85211e68f219e07c0511841b1a00b", "score": "0.5290195", "text": "public void addTicket() {\n Ticket t = new Ticket();\n \n t.setRegistrationId(getRegistrationId());\n t.setAuthid(getAuthid());\n t.setHref(getHref());\n t.setUuid(UUID.randomUUID().toString());\n t.setCreated(new Timestamp(new java.util.Date().getTime()).toString());\n \n addTicket(t);\n }", "title": "" }, { "docid": "29a9c1598c45f34dc093f6bf066cad72", "score": "0.52836627", "text": "@Override\n @Transactional\n public ResponseVO addTicket(TicketForm ticketForm) {\n try {\n List<Ticket> ticketList = new ArrayList<Ticket>();\n List<TicketVO> ticketVOList = new ArrayList<TicketVO>();\n List<SeatForm> seatList = ticketForm.getSeats();\n double eachTicketPrice = 0;\n double total = 0;\n for (int i = 0; i<seatList.size();i++) {\n Ticket ticket = new Ticket();\n ticket.setUserId(ticketForm.getUserId());\n ticket.setScheduleId(ticketForm.getScheduleId());\n ticket.setRowIndex(seatList.get(i).getRowIndex());\n ticket.setColumnIndex(seatList.get(i).getColumnIndex());\n ticket.setState(0);\n ticket.setTime(new Timestamp(System.currentTimeMillis()));\n ticketList.add(ticket);\n ticketMapper.insertTicket(ticket);\n ticketVOList.add((ticketMapper.selectTicketByScheduleIdAndSeat(ticketForm.getScheduleId(),seatList.get(i).getColumnIndex(),seatList.get(i).getRowIndex())).getVO());\n eachTicketPrice = scheduleService.getScheduleItemById(ticket.getScheduleId()).getFare();\n total = total + eachTicketPrice;\n }\n// if (ticketList.size()==1) {\n// ticketMapper.insertTicket(ticketList.get(0));\n// }\n// else {\n// ticketMapper.insertTickets(ticketList);\n// }\n TicketWithCouponVO ticketWithCouponVO = new TicketWithCouponVO();\n ticketWithCouponVO.setTicketVOList(ticketVOList);\n ticketWithCouponVO.setActivities(activityService.selectActivities());\n ticketWithCouponVO.setCoupons(couponService.selectCouponByUser(ticketVOList.get(0).getUserId()));\n ticketWithCouponVO.setTotal(total);\n return ResponseVO.buildSuccess(ticketWithCouponVO);\n } catch (Exception e) {\n e.printStackTrace();\n return ResponseVO.buildFailure(\"失败\");\n }\n }", "title": "" }, { "docid": "d0f1aba1c58ca57248fbd8d7d9eecbec", "score": "0.5281942", "text": "public void setTicketId (java.lang.Long ticketId) {\r\n\t\tthis.ticketId = ticketId;\r\n\t}", "title": "" }, { "docid": "b4bad208331682ed63aec98698f70244", "score": "0.526966", "text": "@Query(value= \" SELECT t.TICKET_ID,t.VENDOR,t.KIOSK_ID,bm.BRANCH_CODE,bm.crcl_name,t.CALL_CATEGORY,t.CALL_SUBCATEGORY,t.cms_cmf_assigned,t.cms_cmf_assigned as username , \"\n\t \t\t+ \" t.CALL_LOG_DATE,t.SEVERITY,t.AGEING,t.STATUS_OF_COMPLAINT, t.ASSIGNED_TO_FE,t.cmf_mobileno,t.CALLSUBSTATUS, t.CALLSTATUS FROM TBL_TICKET_CENTRE t INNER JOIN VIEW_TBL_KIOSK_MASTER a \"\n\t \t\t+ \" on a.kiosk_id=t.kiosk_id inner join tbl_branch_master bm on a.branch_code=bm.branch_code INNER JOIN tbl_CALL_TYPE b on t.CALL_CATEGORY=b.CATEGORY AND \"\n\t \t\t+ \" t.CALL_SUBCATEGORY=b.SUB_CATEGORY \"\n\t \t\t+ \" where b.RISK IN(:type) and t.STATUS_OF_COMPLAINT='Active' AND (a.KIOSK_ID=UPPER(:searchText) OR (a.KIOSK_ID=:searchText OR a.BRANCH_CODE=:searchText) ) ORDER BY t.CALL_LOG_DATE DESC\", nativeQuery = true\n\t \t\t,countQuery = \" SELECT count(t.TICKET_ID) FROM TBL_TICKET_CENTRE t INNER JOIN VIEW_TBL_KIOSK_MASTER a \"\n\t \t \t\t+ \" on a.kiosk_id=t.kiosk_id inner join tbl_branch_master bm on a.branch_code=bm.branch_code INNER JOIN tbl_CALL_TYPE b on t.CALL_CATEGORY=b.CATEGORY AND \"\n\t \t \t\t+ \" t.CALL_SUBCATEGORY=b.SUB_CATEGORY \"\n\t \t \t\t+ \" where b.RISK IN(:type) and t.STATUS_OF_COMPLAINT='Active' AND (a.KIOSK_ID=UPPER(:searchText) OR (a.KIOSK_ID=:searchText OR a.BRANCH_CODE=:searchText) ) ORDER BY t.CALL_LOG_DATE DESC\")\n\t \n\t \n\t Page<TicketCentorEntity> findAllCCU(@Param(\"type\") String type, @Param(\"searchText\") String searchText,Pageable pageable);", "title": "" }, { "docid": "e70ca08091b96f9325135dce34f5ba55", "score": "0.5265963", "text": "@Override\n\tpublic List<Ticket> getAllTickets() {\n\t\treturn ticketList;\n\t}", "title": "" }, { "docid": "9069f5c264b3d09f1e356195189985e4", "score": "0.5216329", "text": "public void setTicket(Ticket tmp) {\n this.ticket = tmp;\n }", "title": "" }, { "docid": "43c910b7783deebc2c02a1b8ff00a104", "score": "0.5212972", "text": "public ListTicket() {\n \n initComponents();\n addDocumentListener();\n table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n }", "title": "" }, { "docid": "b2863b49b9d7bddc2082aafa063d5261", "score": "0.5185349", "text": "@Override\n\tpublic List<TicketReponse> getAllTicket() {\n\t\tList<Ticket> tickets= repos.findAll();\n\t\tList<TicketReponse> res=new ArrayList<>();\n\t\tfor(Ticket ticket:tickets)\n\t\t\tres.add(mapper.map(ticket, TicketReponse.class));\n\t\treturn res;\n\t}", "title": "" }, { "docid": "50ad2e8b984e44361badf0a432f957b6", "score": "0.51806176", "text": "public Integer getTicketId() {\n\t\treturn ticketId;\n\t}", "title": "" }, { "docid": "1e71e2a66f1d119918829601efeec9e0", "score": "0.51544887", "text": "@Override\n protected void defineTable()\n {\n table.addColumn(\"ID\", Types.VARCHAR, 36, true);\n table.addColumn(\"CREATED_DATE\", Types.TIMESTAMP, true);\n table.addColumn(\"UPDATED_DATE\", Types.TIMESTAMP, false);\n table.addColumn(\"EXECUTED_DATE\", Types.TIMESTAMP, false);\n table.addColumn(\"NAME\", Types.VARCHAR, 25, true);\n table.addColumn(\"TYPE\", Types.VARCHAR, 15, true);\n table.addColumn(\"COUNT_QUERY\", Types.VARCHAR, 256, false);\n table.addColumn(\"UPDATE_QUERY\", Types.VARCHAR, 256, true);\n table.addColumn(\"\\\"INTERVAL\\\"\", Types.INTEGER, true);\n table.addColumn(\"INTERVAL_UNIT\", Types.VARCHAR, 15, true);\n table.addColumn(\"STATUS\", Types.VARCHAR, 15, true);\n table.addColumn(\"ITEM_COUNT\", Types.INTEGER, true);\n table.addColumn(\"CREATED_BY\", Types.VARCHAR, 15, true);\n table.setPrimaryKey(\"TABLE_TASKS_PK\", new String[] {\"ID\"});\n table.setInitialised(true);\n }", "title": "" }, { "docid": "14f235195609f7719dcc2ade6347a5f7", "score": "0.5140708", "text": "@Override\n\tpublic Ticket fetchById(BigInteger ticketId) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f13742aefef3b950545d0b551a22ffa2", "score": "0.51379526", "text": "public int getTickets() { return tickets; }", "title": "" }, { "docid": "81a94298ed1f0e682fed0b4cae24e0e1", "score": "0.5130865", "text": "public String getTicket() {\n return ticket;\n }", "title": "" }, { "docid": "3d41515782c2594f062e0af0151e3829", "score": "0.51082915", "text": "public TicketRecord() {\n super(Ticket.TICKET);\n }", "title": "" }, { "docid": "19f0fa3df313c2a453da7987edd5efaa", "score": "0.51025176", "text": "public interface ITrackerTableChangeLog {\r\n\r\n\r\n\r\n /**\r\n * Return the value associated with the column: createDate.\r\n\t * @return A Date object (this.createDate)\r\n\t */\r\n\tDate getCreateDate();\r\n\t\r\n\r\n \r\n /** \r\n * Set the value related to the column: createDate.\r\n\t * @param createDate the createDate value you wish to set\r\n\t */\r\n\tvoid setCreateDate(final Date createDate);\r\n\r\n /**\r\n * Return the value associated with the column: id.\r\n\t * @return A Integer object (this.id)\r\n\t */\r\n\tInteger getId();\r\n\t\r\n\r\n \r\n /** \r\n * Set the value related to the column: id.\r\n\t * @param id the id value you wish to set\r\n\t */\r\n\tvoid setId(final Integer id);\r\n\r\n /**\r\n * Return the value associated with the column: isSent.\r\n\t * @return A Integer object (this.isSent)\r\n\t */\r\n\tInteger getIsSent();\r\n\t\r\n\r\n \r\n /** \r\n * Set the value related to the column: isSent.\r\n\t * @param isSent the isSent value you wish to set\r\n\t */\r\n\tvoid setIsSent(final Integer isSent);\r\n\r\n /**\r\n * Return the value associated with the column: sentDate.\r\n\t * @return A Date object (this.sentDate)\r\n\t */\r\n\tDate getSentDate();\r\n\t\r\n\r\n \r\n /** \r\n * Set the value related to the column: sentDate.\r\n\t * @param sentDate the sentDate value you wish to set\r\n\t */\r\n\tvoid setSentDate(final Date sentDate);\r\n\r\n /**\r\n * Return the value associated with the column: tableName.\r\n\t * @return A String object (this.tableName)\r\n\t */\r\n\tString getTableName();\r\n\t\r\n\r\n \r\n /** \r\n * Set the value related to the column: tableName.\r\n\t * @param tableName the tableName value you wish to set\r\n\t */\r\n\tvoid setTableName(final String tableName);\r\n\r\n /**\r\n * Return the value associated with the column: tableRowId.\r\n\t * @return A Integer object (this.tableRowId)\r\n\t */\r\n\tInteger getTableRowId();\r\n\t\r\n\r\n \r\n /** \r\n * Set the value related to the column: tableRowId.\r\n\t * @param tableRowId the tableRowId value you wish to set\r\n\t */\r\n\tvoid setTableRowId(final Integer tableRowId);\r\n\r\n\t// end of interface\r\n}", "title": "" }, { "docid": "b89290a1a257753e83dc2faf282ad8d0", "score": "0.5097253", "text": "@Override\n\tprotected void updateTicket(Ticket ticket) {\n\t\t\n\t}", "title": "" }, { "docid": "836d74088bb43fab627d1120ed5da00c", "score": "0.50752825", "text": "JTable InfoOfCustemersAndTickets(){\n \n JTable table=new JTable();\n try{\n \n Class.forName(\"com.microsoft.sqlserver.jdbc.SQLServerDriver\");\n Connection con = DriverManager.getConnection(\"jdbc:sqlserver://DESKTOP-QHUMP83:1433;databaseName=ParkingProject\", \"parking\", \"parking\");\n Statement st = con.createStatement();\n String s= \"SELECT t.idticket,t.arrivalTime,t.departureTime,t.dateTicket,t.iDspot,t.MoneyToPay,op.operatorName,c.customerName,c.plateNumber FROM Ticket as t INNER JOIN customers as c on t.idticket=c.IDticket LEFT JOIN operators as op on t.idoperator1=op.idoperator ORDER BY t.idticket\";\n ResultSet rs = st.executeQuery(s);\n table.setModel(DbUtils.resultSetToTableModel(rs));\n \n }catch(Exception e){\n \n System.out.println(e);\n \n }\n return table;\n \n }", "title": "" }, { "docid": "de4e79420275bdf274a5e00930731359", "score": "0.5064775", "text": "JiangsuLottoEntity selectByPrimaryKey(String billno);", "title": "" }, { "docid": "14f4cdecc462f6385d3b2283e67ddfab", "score": "0.50617874", "text": "public interface IssueTicket extends Entity {\n\n //Stores mapping between JIRA issue and UserVoice Ticket\n\n public String getProject();\n\n public void setProject(String projectId);\n\n public Long getIssue();\n\n public void setIssue(Long issue);\n\n public String getTicket();\n\n public void setTicket(String ticket);\n \n\tpublic String getMapping();\n\t\n\tpublic void setMapping(String mapping);\n}", "title": "" }, { "docid": "a29f0d6232792123c2e38747622ec934", "score": "0.5026925", "text": "boolean storeTicketInDatabase(Ticket ticket);", "title": "" }, { "docid": "fc473456d90961bee6ef1b0ef46a4d79", "score": "0.5010763", "text": "public interface TicketCrudService\n{\n\n\tpublic List<Ticket> getAllQueries()throws TicketNotFoundException;\t\t//Using this we get all the Employees raised Queries.\n\t\n\t//public Ticket getSingleQuery(int empId);\t//We get Query of a particular Employee.\n\t\n\tpublic Ticket getSingleQuery(int ticketId)throws TicketNotFoundException;\n\t\n\tpublic Ticket sendResponse(Ticket ticket)throws TicketNotFoundException;\t//It will send the solution to the employee and change the status.\n\t\n\t\n\tpublic Ticket getTicket(int ticketId)throws TicketNotFoundException;\n\t\n\tpublic Employee addEmployee(Employee employee)throws EmployeeNotFoundException; // For Dummy data\n\t\n\tpublic Ticket raiseTicket(Ticket ticket)throws TicketNotFoundException;\n\t\n\t//public Ticket getSingleTicket_Of_Employee(int empId, int ticketId); \n\t\n\t//public String raised(int empId,String query);\n\t\n\tpublic List<Ticket> getTicketsByEmplId(int empId) throws TicketNotFoundException;\n\t\n\t \n\t\n\n}", "title": "" }, { "docid": "fcde572a867cc5bc5362d9f73b5f3522", "score": "0.5007139", "text": "protected void loadTickets() {\n }", "title": "" }, { "docid": "fbdd749fdcea50c58859822ce9b92add", "score": "0.4997888", "text": "@Query(\"SELECT distinct t from Ticket t where t.flight.id = :flightId\")\n List<Ticket> getListOfTickets(int flightId);", "title": "" }, { "docid": "549d0555b5de8c705d2a4c709fbdd558", "score": "0.49876586", "text": "public interface TicketService {\n\n public Long addTicket(Ticket ticket);\n public void removeTicket(Long ticketId);\n public List<Ticket> selectNotTaken();\n public List<Ticket> selectAllTickets();\n public List<Ticket> selectNotTakenBetweenDates(String dateLow, String dateHigh);\n public List<Ticket> selectNotTakenByDateAndTitle(Date date, String title);\n public List<Ticket> selectNotTakenByTitle(String title);\n public List<Customer> getCustomersByDate(Date date);\n public Customer getCustomersByDateAndNumber(Date date, String number);\n public List<Ticket> getTicketsOfCustomer(Long customerId);\n public TotalCustomerCost getTicketsSumOfCustomer(Long customerId);\n public void updateTicket(Ticket ticket);\n public void updateSetTakenTrue(Long ticketId, Long customerId);\n public void updateTicketsWhenCustomerRemoved(Long customerId);\n public Ticket selectTicketById(Long ticketId);\n public Boolean checkTicketExistence(String date, String title, Long location);\n public Long countTicketsOfCustomer(Long customerId);\n}", "title": "" }, { "docid": "75d9246ea9fe5ba7ced92bf775371556", "score": "0.49845803", "text": "@Override\n\tpublic List<TicketVO> findAll() {\n\t\treturn ticketRepo.findAll();\n\t}", "title": "" }, { "docid": "fa308924bafd70b90b37422f90286d01", "score": "0.49483073", "text": "private int createTicketId(){\r\n\r\n try{\r\n String sql = \"SELECT max(T_ticketId) as max \" +\r\n \"FROM Ticket\"; \r\n\r\n PreparedStatement stmt = c.prepareStatement(sql);\r\n ResultSet rs = stmt.executeQuery();\r\n\r\n if(rs.next()){\r\n int sqlId = rs.getInt(\"max\");\r\n stmt.close();\r\n rs.close();\r\n return sqlId + 1;\r\n }else{\r\n stmt.close();\r\n rs.close();\r\n return -1;\r\n }\r\n\r\n }catch (Exception e) {\r\n return -1;\r\n }\r\n }", "title": "" }, { "docid": "89fbce8adcddbe167c76da3658006b3d", "score": "0.49462894", "text": "@Mapper\npublic interface BillDao {\n\n\t\tString TABLE_NAME = \"ppp_bill\";\n\t\t\n\t\tString SELECT_FIELDS = \"billId,billNumber,billType,acceptor,amount,maturity,status,releaseDate,releaserId,billPicsId ,transferable,billReferer,failReason,timeStamp\";\n\t\tString INSERT_FIELDS = \"billId, billNumber, billType,acceptor,amount,maturity,status,releaseDate,releaserId,billPicsId ,transferable,billReferer\";\n\t\t\n\n\t\t\n\n\t/*\t@Select({\"select * from ppp_bill where billNumber = #{billNumber} ORDER BY updateTimeStamp DESC \" })*/\n\n\t\t@Select({\"select * from ppp_bill where billNumber = #{billNumber} ORDER BY updateTimeStamp DESC \" })\n\t\t@ResultMap(value=\"billMap\")\n\t\tpublic ArrayList<BillEntity> selectByBillNumber(@Param(\"billNumber\") String billNumber);\n\t\t\n\t\t@Select({\"select \"+SELECT_FIELDS+\",TIMESTAMPDIFF(day,#{current_date},maturity) as remain_days from ppp_bill where billNumber = #{billNumber} ORDER BY updateTimeStamp DESC\"})\n\t\t@ResultMap(value=\"billMapAll\")\n\t\tpublic List<Map<String, Object>> selectByBillNumberAll(@Param(\"billNumber\") String billNumber,@Param(\"current_date\") String current_date);\n\t\t\n\t\t@Select({\"select * from ppp_bill ORDER BY updateTimeStamp DESC \"})\n\t\t@ResultMap(value=\"billMap\")\n\t\tpublic ArrayList<BillEntity> selectAllBill();\n\t\t\n\t\tpublic List<Map<String, Object>> selectByFilter(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\n\t\t /*List<Map<String, Object>>*/\n\t\t@Insert({\"insert \",TABLE_NAME,\"(\",INSERT_FIELDS,\") values(#{billEntity.billId},#{billEntity.billNumber}, #{billEntity.billType}, #{billEntity.acceptor}, #{billEntity.amount},#{billEntity.maturity},#{billEntity.status}, \"\n\t\t\t\t+ \"#{billEntity.releaseDate}, #{billEntity.releaserId},#{billEntity.billPicsId}, #{billEntity.transferable}, #{billEntity.billReferer})\"})\n\t\tpublic void insertBill( @Param(\"billEntity\") BillEntity billEntity);\n\t\t\n\t\t\n\t\t@Delete({\"delete from \",TABLE_NAME,\"where billNumber = #{billNumber}\"})\n\t\tpublic void deleteBill(@Param(\"billNumber\") String billNumber);\n\t\t\n\t\t\n\t\tpublic void updateBillByBillNumber(@Param(\"billEntity\") BillEntity billEntity);\n\t\t\n\t\t\n\t\t//获取当前用户发布票据的报价情况\n\t\t@Select({\"SELECT * from (SELECT billNumber,billType,acceptor,amount,maturity,TIMESTAMPDIFF(day,#{jsonObject.curr_time},maturity) as remain_days,`status`,releaseDate,releaserId,billReferer,failReason,updateTimeStamp \" +\n\t\t\t\t\"from ppp_bill WHERE releaserId = #{jsonObject.uuid} and status='审核完成' and billReferer=#{jsonObject.billReferer} ) a \"\n\t\t\t\t\t+ \" LEFT JOIN(SELECT billNumber,status,COUNT(*) AS countNum from ppp_quote GROUP BY billNumber,status) b on a.billNumber = b.billNumber where b.status = #{jsonObject.quoteStatus} or b.status is null ORDER BY a.updateTimeStamp DESC\" })\n\t\t@ResultMap(value=\"billAboutQuote\")\n\t\tpublic List<Map<String, Object>> getBillsInquoting(@Param(\"jsonObject\") JSONObject jsonObject );\n\t\t\n\t\t//根据订单号获取当前用户发布票据的已报价的报价情况\n\t\t@Select({\"SELECT a.billNumber,a.billType,a.acceptor,a.amount,a.maturity,a.`status` AS billstatus,a.releaseDate,a.releaserId ,a.billReferer,a.failReason,\"\n\t\t\t\t+ \"TIMESTAMPDIFF(day,#{jsonObject.curr_time},a.maturity) as remain_days,b.quoterId,b.interest,b.xPerLakh,b.`status` as quotesattus,b.quoteReferer,b.real_money, \"\n\t\t\t\t+ \"c.companyName,c.contactsPhone,c.contactsQQ,c.bankAccountName,c.bankAccount,c.bankName,c.picId as companyPicId,c.contactsId ,contactsName \"\n\t\t\t\t+ \"from (SELECT billNumber,billType,acceptor,amount,maturity,`status`,releaseDate,releaserId,billReferer,failReason \"\n\t\t\t\t+ \"from ppp_bill WHERE releaserId = #{jsonObject.uuid} AND billNumber = #{jsonObject.billNumber}) a \"\n\t\t\t\t+ \"LEFT JOIN(SELECT billNumber,quoterId,interest,xPerLakh,`status`,quoteDate,quoteReferer,real_money,updateTimeStamp from ppp_quote where status = #{jsonObject.quoteStatus}) b on a.billNumber = b.billNumber \"\n\t\t\t\t+ \"left JOIN ( select * from pengpengpiao.ppp_company ) c on b.quoterId = c.contactsId ORDER BY b.updateTimeStamp DESC limit #{jsonObject.currentPage},#{jsonObject.pageSize} ;\"})\n\t\t@ResultMap(value=\"billAboutQuote\")\n\t\tpublic List<Map<String, Object>> getBillsReceivedQuote(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\n\t\t//根据订单号获取当前用户发布票据的未报价的报价情况\n\t\t@Select({\"SELECT a.billNumber,a.billType,a.acceptor,a.amount,a.maturity,a.`status` AS billstatus,a.releaseDate,a.releaserId ,a.billReferer,a.failReason,\"\n\t\t\t\t+ \"TIMESTAMPDIFF(day,#{jsonObject.curr_time},a.maturity) as remain_days,b.quoterId,b.interest,b.xPerLakh,b.`status` as quotesattus,b.quoteReferer,b.real_money,\"\n\t\t\t\t+ \"c.companyName,c.contactsPhone,c.contactsQQ,c.bankAccountName,c.bankName,c.picId as companyPicId,c.contactsId \"\n\t\t\t\t+ \"from (SELECT billNumber,billType,acceptor,amount,maturity,`status`,releaseDate,releaserId,billReferer,failReason \"\n\t\t\t\t+ \"from ppp_bill WHERE releaserId = #{jsonObject.uuid} AND billNumber = #{jsonObject.billNumber}) a \"\n\t\t\t\t+ \"LEFT JOIN(SELECT billNumber,quoterId,interest,xPerLakh,`status`,quoteDate,quoteReferer,real_money,updateTimeStamp from ppp_quote ) b on a.billNumber = b.billNumber \"\n\t\t\t\t+ \"left JOIN ( select * from pengpengpiao.ppp_company ) c on b.quoterId = c.contactsId ORDER BY b.updateTimeStamp DESC limit #{jsonObject.currentPage},#{jsonObject.pageSize} ;\"})\n\t\t@ResultMap(value=\"billAboutQuote\")\n\t\tpublic List<Map<String, Object>> getBillsWaitingQuote(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\n\t\t\n\t\t//获取用户发布的正在审核中的票据\n\t\t/*@Select({\"SELECT * from (SELECT billNumber,billType,acceptor,amount,maturity,TIMESTAMPDIFF(day,#{jsonObject.curr_time},maturity) as remain_days,`status`,releaseDate,releaserId,billReferer,failReason,updateTimeStamp from ppp_bill \"\n\t\t\t\t+ \" WHERE releaserId = #{jsonObject.uuid} and status='审核中' and billReferer = '传统渠道' ) a \"\n\t\t\t\t+ \" LEFT JOIN(SELECT billNumber,COUNT(*) AS countNum from ppp_quote GROUP BY billNumber) b on a.billNumber = b.billNumber ORDER BY a.updateTimeStamp DESC \" })*/\n\t\t@Select({\"<script> select *,TIMESTAMPDIFF(day,#{jsonObject.curr_time},maturity) as remain_days ,0 as countNum from ppp_bill where releaserId = #{jsonObject.uuid} and status ='审核中' and billReferer = '传统渠道' <if test='jsonObject.billNumber != null' > and billNumber = #{jsonObject.billNumber}</if></script>\"})\n\t\t@ResultMap(value=\"billAboutQuote\")\n\t\tpublic List<Map<String, Object>> getBillsAuditing(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\n\t\t//获取用户发布的正在审核中的票据\n\t\t@Select({\"SELECT * from (SELECT billNumber,billType,acceptor,amount,maturity,TIMESTAMPDIFF(day,#{jsonObject.curr_time},maturity) as remain_days,`status`,releaseDate,releaserId,billReferer,failReason,updateTimeStamp from ppp_bill \"\n\t\t\t\t+ \" WHERE releaserId = #{jsonObject.uuid} and status='审核中' and billReferer = '资源池渠道' ) a \"\n\t\t\t\t+ \" LEFT JOIN(SELECT billNumber,COUNT(*) AS countNum from ppp_quote GROUP BY billNumber) b on a.billNumber = b.billNumber ORDER BY a.updateTimeStamp DESC \" })\n\t\t@ResultMap(value=\"billAboutQuote\")\n\t\tpublic List<Map<String, Object>> getBillsAuditingPool(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\n\t\t\n\t\t//卖家 获取所有的意向\n\t\t@Select({\"select a.transacId,a.transacType,a.billNumber,a.buyerId,a.sellerId,a.amount,a.transacStatus,a.transacDate,a.intentionStatus,unix_timestamp(a.updateTimeStamp) as updateTimeStamp,b.quoteId,b.quoteAmount,b.quoterId,b.interest,b.xPerLakh,b.real_money,\"\n\t\t\t\t+ \"b.quoteDate,c.billType,c.amount,c.billId,c.acceptor,c.maturity,TIMESTAMPDIFF(day,#{jsonObject.curr_time},c.maturity)as remain_days,c.status,c.releaseDate,c.releaserId,c.billPicsId,c.transferable ,c.billReferer,\"\n\t\t\t\t+ \"d.* \"\n\t\t\t\t+ \"from (select * from pengpengpiao.ppp_transaction where sellerId = #{jsonObject.uuid} ) a \" + \n\t\t\t\t\"left join (select * from pengpengpiao.ppp_quote where quoterId = #{jsonObject.uuid}) b \" +\n\t\t\t\t\"on a.billNumber = b.billNumber \" + \n\t\t\t\t\"left join (select * from pengpengpiao.ppp_bill ) c \" + \n\t\t\t\t\"on a.billNumber = c.billNumber LEFT JOIN(select * from pengpengpiao.ppp_company ) d ON a.buyerId = d.contactsId ORDER BY a.updateTimeStamp DESC limit #{jsonObject.currentPage},#{jsonObject.pageSize};\"})\n\t\t@ResultMap(value=\"QuoteIntention\")\n\t\tpublic List<Map<String, Object>> getSellerALLIntentions(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\n\t\t//买家调用 获取所有的意向\n\t\t\t\t@Select({\"select a.transacId,a.transacType,a.billNumber,a.buyerId,a.sellerId,a.amount,a.transacStatus,a.transacDate,a.intentionStatus,unix_timestamp(a.updateTimeStamp) as updateTimeStamp,b.quoteId,b.quoteAmount,b.quoterId,b.interest,b.xPerLakh,b.real_money,\"\n\t\t\t\t\t\t+ \"b.quoteDate,c.billType,c.amount,c.billId,c.acceptor,c.maturity,TIMESTAMPDIFF(day,#{jsonObject.curr_time},c.maturity)as remain_days,c.status,c.releaseDate,c.releaserId,c.billPicsId,c.transferable ,c.billReferer,\"\n\t\t\t\t\t\t+ \"d.* \"\n\t\t\t\t\t\t+ \"from (select * from pengpengpiao.ppp_transaction where buyerId = #{jsonObject.uuid} ) a \" + \n\t\t\t\t\t\t\"left join (select * from pengpengpiao.ppp_quote where quoterId = #{jsonObject.uuid}) b \" +\n\t\t\t\t\t\t\"on a.billNumber = b.billNumber \" + \n\t\t\t\t\t\t\"left join (select * from pengpengpiao.ppp_bill ) c \" + \n\t\t\t\t\t\t\"on a.billNumber = c.billNumber LEFT JOIN(select * from pengpengpiao.ppp_company ) d ON a.sellerId = d.contactsId ORDER BY a.updateTimeStamp DESC limit #{jsonObject.currentPage},#{jsonObject.pageSize};\"})\n\t\t\t\t@ResultMap(value=\"QuoteIntention\")\n\t\t\t\tpublic List<Map<String, Object>> getBuyerALLIntentions(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\t\t\n\t\t\n\t\t//卖家调用,获取意向信息列表\n\t\t/*@Select({\"select a.transacId,a.transacType,a.billNumber,a.buyerId,a.sellerId,a.amount,a.transacStatus,a.transacDate,a.intentionStatus,unix_timestamp(a.updateTimeStamp) as updateTimeStamp,b.quoteId,b.quoteAmount,b.quoterId,b.interest,b.xPerLakh,b.real_money,\"\n\t\t\t\t+ \"b.quoteDate,c.billType,c.amount,c.billId,c.acceptor,c.maturity,TIMESTAMPDIFF(day,#{jsonObject.curr_time},c.maturity)as remain_days,c.status,c.releaseDate,c.releaserId,c.billPicsId,c.transferable ,c.billReferer,\"\n\t\t\t\t+ \"d.* \"\n\t\t\t\t+ \"from (select * from pengpengpiao.ppp_transaction where sellerId = #{jsonObject.uuid} and intentionStatus= #{jsonObject.filter_str} ) a \" + \n\t\t\t\t\"left join (select * from pengpengpiao.ppp_quote where quoterId = #{jsonObject.uuid} ) b \" +\n\t\t\t\t\"on a.billNumber = b.billNumber \" + \n\t\t\t\t\"left join (select * from pengpengpiao.ppp_bill ) c \" + \n\t\t\t\t\"on a.billNumber = c.billNumber LEFT JOIN(select * from pengpengpiao.ppp_company ) d ON a.buyerId = d.contactsId ORDER BY a.updateTimeStamp DESC limit #{jsonObject.currentPage},#{jsonObject.pageSize};\"})\n\t\t@ResultMap(value=\"QuoteIntention\")*/\n\t\tpublic List<Map<String, Object>> getSellerIntentions(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\n\n\t\tpublic List<Map<String, Object>> getBuyerIntentions(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\n\t\t//卖家调用,获取资源池审核中意向信息列表\n\t\t\t\t@Select({\"select a.transacId,a.transacType,a.billNumber,a.buyerId,a.sellerId,a.amount,a.transacStatus,a.transacDate,a.intentionStatus,unix_timestamp(a.updateTimeStamp) as updateTimeStamp,b.quoteId,b.quoteAmount,b.quoterId,b.interest,b.xPerLakh,b.real_money,\"\n\t\t\t\t\t\t+ \"b.quoteDate,c.billType,c.amount,c.billId,c.acceptor,c.maturity,TIMESTAMPDIFF(day,#{jsonObject.curr_time},c.maturity)as remain_days,c.status,c.releaseDate,c.releaserId,c.billPicsId,c.transferable ,c.billReferer,\"\n\t\t\t\t\t\t+ \"d.contactsId,d.companyName,d.contactsName,d.contactsPhone,contactsQQ \"\n\t\t\t\t\t\t+ \"from (select * from pengpengpiao.ppp_bill where billReferer=#{jsonObject.billReferer} and status='审核中' ) c \"\n\t\t\t\t\t\t+ \"left join (select * from pengpengpiao.ppp_transaction where sellerId = #{jsonObject.uuid} ) a on a.billNumber = c.billNumber \" + \n\t\t\t\t\t\t\"left join (select * from pengpengpiao.ppp_quote ) b \" + \n\t\t\t\t\t\t\"on a.billNumber = b.billNumber \" + \n\t\t\t\t\t\t\" LEFT JOIN(select * from pengpengpiao.ppp_company ) d ON a.buyerId = d.contactsId ORDER BY a.updateTimeStamp DESC limit #{jsonObject.currentPage},#{jsonObject.pageSize};\"})\n\t\t\t\t@ResultMap(value=\"QuoteIntention\")\n\t\t\t\tpublic List<Map<String, Object>> getSellerIntentionsAuditing(@Param(\"jsonObject\") JSONObject jsonObject);\n\t\t\n\t\t/*@Select({\"select distinct a.*, b.pic1 as pic1,b.pic2 as pic2 from ppp_bill a \" + \n\t\t\t\t\"left join ppp_bill_pics b on a.billNumber = b.billNumber\" + \n\t\t\t\t\" where a.billNumber = #{billNumber}\"})*/\n\t\t@Select({\"select * from ppp_bill_pics where billNumber = #{billNumber} ORDER BY updateTimeStamp DESC \"})\n\t\t@ResultMap(value=\"getBillInfo\")\n\t\tpublic List<Map<String, Object>> selectBillInfo(@Param(\"billNumber\")String billNumber);\n\t\t\n\t\t@Select({\"update ppp_bill set status = #{status},failReason = #{failReason} where billNumber = #{billNumber} \"})\n\t\tpublic void updateBillStatus(@Param(\"billNumber\")String billNumber, @Param(\"status\")String status, @Param(\"failReason\")String failReason);\n\t\t\n\t\t@Select(\"select * from ppp_bill ORDER BY timeStamp DESC limit #{currentPage}, #{pageSize}\")\n\t\t@ResultMap(value=\"allBills\")\n\t\tpublic List<Map<String, Object>> selectBills(@Param(\"pageSize\")Integer pageSize, @Param(\"currentPage\")Integer currentPage);\n\t\t\n\t\t//获取资源市场发布票据但未审核的意向\n\t\t@Select({\"select a.billNumber,a.billType,a.acceptor,a.amount,a.`status`,a.billReferer,TIMESTAMPDIFF(day,#{jsonObject.curr_time},a.maturity)as remain_days,a.maturity,b.interest,b.xPerLakh,c.companyName,c.contactsName,c.contactsPhone from \"+\n\t\t\t\t\"(select * from ppp_bill where `status`='审核中' and billReferer='资源池') a \"+\n\t\t\t\"left join (select * from ppp_quote where status='ok') b on a.billNumber = b.billNumber \" +\n\t\t\t\"left join (select * from ppp_company where contactsId=#{jsonObject.uuid}) c on a.releaserId = c.contactsId \" +\n\t\t\t\" ORDER BY a.updateTimeStamp DESC limit #{jsonObject.currentPage},#{jsonObject.pageSize};\"})\n\t\t@ResultMap(value=\"QuoteIntention\")\n\t\tpublic List<Map<String, Object>> getNotAuditIntentions(@Param(\"jsonObject\")JSONObject jsonObject);\n\n\t\t@Select(\"select a.transacId,a.transacType,a.billNumber,a.buyerId,a.sellerId,a.amount,a.transacStatus,a.transacDate,\" +\n\t\t\t\t\"a.intentionStatus,unix_timestamp(a.updateTimeStamp) as updateTimeStamp,b.quoteId,b.quoteAmount,b.quoterId,b.interest,\" +\n\t\t\t\t\"b.xPerLakh,b.real_money,b.quoteDate,c.billType,c.amount,c.billId,c.acceptor,c.maturity,TIMESTAMPDIFF(day,#{jsonObject.curr_time},\" +\n\t\t\t\t\"c.maturity)as remain_days,c.status,c.releaseDate,c.releaserId,c.billPicsId,c.transferable ,c.billReferer,d.* \" +\n\t\t\t\t\"from (select * from pengpengpiao.ppp_transaction where sellerId = #{jsonObject.uuid} and \" +\n\t\t\t\t\"intentionStatus=#{jsonObject.filter_str1} or intentionStatus=#{jsonObject.filter_str2}) a left join \" +\n\t\t\t\t\"(select * from pengpengpiao.ppp_quote where status=#{jsonObject.quoteStatus}) b on a.billNumber = b.billNumber \" +\n\t\t\t\t\"left join (select * from pengpengpiao.ppp_bill ) c on a.billNumber = c.billNumber \" +\n\t\t\t\t\"LEFT JOIN(select * from pengpengpiao.ppp_company ) d ON a.buyerId = d.contactsId where quoteId is not null ORDER BY a.updateTimeStamp DESC \" +\n\t\t\t\t\"limit #{jsonObject.currentPage},#{jsonObject.pageSize}\")\n\t\t@ResultMap(value = \"QuoteIntention\")\n\t\tList<Map<String,Object>> getSellerIntentionsList(@Param(\"jsonObject\")JSONObject jsonObject);\n\t\t\n\t\tpublic Integer selectCount();\n\n\t\tpublic Integer getCount(@Param(\"jsonObject\")JSONObject conditions);\n\t\t//求贴意向 获取是所有意向条数\n\t\tpublic Integer getSellerALLIntentionsCount(@Param(\"jsonObject\")JSONObject jsonObject);\n\t\t//求贴意向 根据条件获取条数\n\t\tpublic Integer getSellerIntentionsCount(@Param(\"jsonObject\")JSONObject jsonObject);\n\t\t//我的接单 获取所有条数\n\t\tpublic Integer getBuyerALLIntentionsCount(@Param(\"jsonObject\")JSONObject jsonObject);\n\t\t//我的接单 根据条件获取条数\n\t\tpublic Integer getBuyerIntentionsCount(@Param(\"jsonObject\")JSONObject jsonObject);\n\t\t//我的报价 已报价总条数\n\t\tpublic Integer getBillsReceivedQuoteCount(@Param(\"jsonObject\")JSONObject jsonObject);\n\t\t//我的报价 未报价总条数\n\t\tpublic Integer getBillsWaitingQuoteCount(@Param(\"jsonObject\")JSONObject jsonObject);\n\t\t//求贴意向 未审核总数\n\t\tpublic Integer getNotAuditIntentionsCount(@Param(\"jsonObject\")JSONObject jsonObject);\n\t\t//求贴意向列表页总条数\n\t\tInteger getSellerIntentionsListCount(@Param(\"jsonObject\")JSONObject jsonObject);\n\t\t\n\t\t\n\t\t\n}", "title": "" }, { "docid": "6efad6df81441ec3ffc48a9fa40c1e02", "score": "0.49409968", "text": "@Select({\n \"select\",\n \"deliver_no, order_no, deliver_type, deliver_type_name, deliver_status, deliver_status_name, \",\n \"pk_status, pk_status_name, deliver_count, guide_receive_count, city_id, deliver_time, \",\n \"pk_time, update_time, create_time\",\n \"from `trade_deliver`\",\n \"where deliver_no = #{deliverNo,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"deliver_no\", property=\"deliverNo\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"order_no\", property=\"orderNo\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"deliver_type\", property=\"deliverType\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deliver_type_name\", property=\"deliverTypeName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"deliver_status\", property=\"deliverStatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deliver_status_name\", property=\"deliverStatusName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pk_status\", property=\"pkStatus\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"pk_status_name\", property=\"pkStatusName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"deliver_count\", property=\"deliverCount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"guide_receive_count\", property=\"guideReceiveCount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"city_id\", property=\"cityId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"deliver_time\", property=\"deliverTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"pk_time\", property=\"pkTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"update_time\", property=\"updateTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"create_time\", property=\"createTime\", jdbcType=JdbcType.TIMESTAMP)\n })\n TradeOrderDeliver selectByPrimaryKey(String deliverNo);", "title": "" }, { "docid": "b82f6ff8d4a49f427f8fcaed323198d8", "score": "0.4929994", "text": "@GetMapping(\"/tickets\")\n public String tickets(\n final Model model) {\n\n model.addAttribute(\"tickets\", this.ticketService.listTickets());\n return \"tickets\";\n }", "title": "" }, { "docid": "8c606762f7abd6b54e90c8541d18c0a2", "score": "0.4925554", "text": "@Override\n\tpublic void addTicket(Ticket ticket) {\n\t\t\n\t}", "title": "" }, { "docid": "e6833e75224702ca4ef1533c2d927fea", "score": "0.49213955", "text": "@ImplementedBy(FlightPlanHibernateDao.class)\npublic interface FlightPlanDao extends GenericDao<FlightPlan, Integer>\n{\n\tpublic List<FlightPlan> findFlightPlan(String customer, String invoiceNo, String flightNo, String flightDate, String takeOffTime);\n\tpublic List<FlightPlan> findAllFlightPlans();\n\tpublic FlightPlan findFlightPlanById(Integer id);\n\t\n}", "title": "" }, { "docid": "37fdeca5af02e84218b7bd8081689cde", "score": "0.49198735", "text": "public void recargarTablaTickets(){\n this.tickets = this.ticketServicio.obtenerTodosLosTicketsPorUnEstado(null, tabSeleccionadoIndex + 1);\n }", "title": "" }, { "docid": "050f23fffbc889affedd0f93928d57df", "score": "0.491624", "text": "public Ticket getTicketById(int ticketId) {\n\treturn ticketList.getTicketById(ticketId);\n}", "title": "" }, { "docid": "b478ce99d0fcdb504b0b37924ba93147", "score": "0.49159753", "text": "@Select({\n \"select\",\n \"INVENTORY_LOSS_ID, INVENTORY_ID, STOREHOUSE_CODE, LOSS_AMOUNT, REASON_CODE, \",\n \"REMARK, CREATE_TIME, CREATE_EMP_ID, CREATE_DEPART_ID\",\n \"from INVENTORY_LOSS\",\n \"where INVENTORY_LOSS_ID = #{inventoryLossId,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"INVENTORY_LOSS_ID\", property=\"inventoryLossId\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"INVENTORY_ID\", property=\"inventoryId\", jdbcType=JdbcType.BIGINT),\n @Result(column=\"STOREHOUSE_CODE\", property=\"storehouseCode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"LOSS_AMOUNT\", property=\"lossAmount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"REASON_CODE\", property=\"reasonCode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"REMARK\", property=\"remark\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CREATE_TIME\", property=\"createTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"CREATE_EMP_ID\", property=\"createEmpId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CREATE_DEPART_ID\", property=\"createDepartId\", jdbcType=JdbcType.VARCHAR)\n })\n InventoryLoss selectByPrimaryKey(Long inventoryLossId);", "title": "" }, { "docid": "7a550dcb71affe78fa97ed31156410ee", "score": "0.4914758", "text": "@Insert({\n \"insert into t_property_household_bill (id, company_id, \",\n \"park_id, household_id, \",\n \"member_id, bill_item_id, \",\n \"bill_item_name, bill_sn, \",\n \"checkout_date, bill_push_date, \",\n \"amout, actual_pay, \",\n \"paid, order_id, pay_type, \",\n \"create_time, push_time, \",\n \"pushed, pay_time)\",\n \"values (#{id,jdbcType=INTEGER}, #{companyId,jdbcType=INTEGER}, \",\n \"#{parkId,jdbcType=INTEGER}, #{householdId,jdbcType=INTEGER}, \",\n \"#{memberId,jdbcType=INTEGER}, #{billItemId,jdbcType=INTEGER}, \",\n \"#{billItemName,jdbcType=VARCHAR}, #{billSn,jdbcType=VARCHAR}, \",\n \"#{checkoutDate,jdbcType=VARCHAR}, #{billPushDate,jdbcType=VARCHAR}, \",\n \"#{amout,jdbcType=DOUBLE}, #{actualPay,jdbcType=DOUBLE}, \",\n \"#{paid,jdbcType=INTEGER}, #{orderId,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, \",\n \"#{createTime,jdbcType=VARCHAR}, #{pushTime,jdbcType=VARCHAR}, \",\n \"#{pushed,jdbcType=INTEGER}, #{payTime,jdbcType=VARCHAR})\"\n })\n int insert(TPropertyHouseholdBill record);", "title": "" }, { "docid": "31ff44beaf05a049d6e807088084bad1", "score": "0.49126363", "text": "public boolean closeTicket(Connection con, Integer service_engineer_id ) {\n\t\t\r\n\t\tString updating_service_engineer_table_query = \"\" +\r\n\t\t\t\t\"UPDATE \" + \r\n\t\t\t\t\" service_engineer \" + \r\n\t\t\t\t\"SET \" + \r\n\t\t\t\t\" total_tickets_worked_on = total_tickets_worked_on + 1, \" + \r\n\t\t\t\t\" current_ticket_start_date = ?, \" + \r\n\t\t\t\t\" current_high_prority_ticket_id = ?, \" + \r\n\t\t\t\t\" priority = ? \" + // <------------------------------------- ADDED - set it as NULL\r\n\t\t\t\t\"WHERE \" + \r\n\t\t\t\t\" service_engineer_id = ? ; \";\r\n\t\t\r\n\t\ttry (\r\n\t\t\t\tPreparedStatement updating_service_engineer_table_ps = con.prepareStatement(updating_service_engineer_table_query);\r\n\t\t ) {\r\n\t\t\t\tupdating_service_engineer_table_ps.setDate(1, null);\r\n\t\t\t\tupdating_service_engineer_table_ps.setInt(2, -1);\r\n\t\t\t\t\r\n\t\t\t\tupdating_service_engineer_table_ps.setString(3, null); // priority\r\n\t\t\t\t\r\n\t\t\t\tupdating_service_engineer_table_ps.setInt(4, service_engineer_id);\r\n\t\t\t\t\r\n\t if(updating_service_engineer_table_ps.executeUpdate() >= 1) {\r\n\t \t/* SUCESSFULLY updated '''service_engineer''' table */\r\n\t \t\r\n\t \t\r\n\t \t/* updating '''ticket''' table */\r\n\t \t\r\n\t \t// 5: ticket.status \t\t= 'closed' \r\n\t \t// 6: ticket.closed_date \t= LocalDate.now()\r\n\t \t\r\n\t \tString updating_ticket_table_query = \"\" +\r\n\t \t\t\t\"UPDATE \" + \r\n\t \t\t\t\" ticket \" + \r\n\t \t\t\t\"SET \" + \r\n\t \t\t\t\" status = 'closed', \" + \r\n\t \t\t\t\" closed_date = ? \" + \r\n\t \t\t\t\"WHERE \" + \r\n\t \t\t\t\" service_engineer_id = ? ; \";\r\n\r\n\t \ttry( \r\n\t \t\t\tPreparedStatement updating_ticket_table_ps = con.prepareStatement(updating_ticket_table_query); \r\n\t \t\t)\r\n\t\t \t{\r\n\t\t \t\tupdating_ticket_table_ps.setDate(1, java.sql.Date.valueOf( LocalDate.now() )); // today\r\n\t\t \t\tupdating_ticket_table_ps.setInt(2, service_engineer_id);\r\n\t\t \t\t\r\n\t\t \t\tif(updating_ticket_table_ps.executeUpdate() >= 1) {\r\n\t\t \t\t\t\r\n\t\t \t\t\t/* SUCESSFULLY updated '''ticket''' table */\r\n\t\t \t\t\t\r\n\t\t \t\t\treturn true;\r\n\t\t \t\t}\r\n\t\t \t}\r\n\t }\r\n\t\t } catch (SQLException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "c9a1abaf58e05f94b321d9ebb82f910a", "score": "0.49091068", "text": "@GetMapping(\"/getTickets\")\n\tpublic List<Ticket>deleteTickets() {\n\t\treturn null;\n\t\n\t}", "title": "" }, { "docid": "aab1eef68b840f00344f7bae1225dec2", "score": "0.48989773", "text": "public ArrayList<Ticket> getTickets() {\r\n return tickets;\r\n }", "title": "" }, { "docid": "035ae9b329e256a04345b846c5f7de93", "score": "0.48670375", "text": "public ArrayList<Ticket> getTickets()\n {\n return tickets;\n }", "title": "" }, { "docid": "41cc27f2cd4ff95899124ae12f684040", "score": "0.48663443", "text": "public Ticket(ArrayList<String> paramaList)\n {\n super(Integer.parseInt(paramaList.get(0)));\n this.movieId = (Integer.parseInt(paramaList.get(1)));\n this.cineplexId = (Integer.parseInt(paramaList.get(2)));\n this.showId = (Integer.parseInt(paramaList.get(3)));\n this.priceId = (Integer.parseInt(paramaList.get(4)));\n this.seats = paramaList.get(5);\n this.custId = (Integer.parseInt(paramaList.get(6)));\n this.tId = paramaList.get(7);\n }", "title": "" }, { "docid": "592f3235d5879dc7920734860232d689", "score": "0.48629296", "text": "public Ticket() {\n\t\t\n\t}", "title": "" }, { "docid": "0a3b774fc6843fc332bb4bffcff6e5bc", "score": "0.4862679", "text": "@Override\n\tpublic void onEcoule(int ticket) {\n\t\t\n\t}", "title": "" }, { "docid": "8c596f82f82ceab7a98b1c9b367acfd1", "score": "0.485951", "text": "@Override\n\tpublic Collection<Ticket> getTickets() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2cd8b6d560e0c729900a124cf9f8fc70", "score": "0.48578897", "text": "private int addTicket(int _custId, int _routeId) {\r\n //System.out.println(\"++++++++++++++++++++++++++++++++++\");\r\n //System.out.println(\"sql 4: Add Ticket\");\r\n\r\n int ticket = -1;\r\n boolean validTicket = true;\r\n try {\r\n \r\n if(!userExists(_custId)){\r\n System.out.println(\"Customer does not exist. Try again.\");\r\n validTicket = false;\r\n ticket = -1;\r\n }else if(!routeExists(_routeId)){\r\n System.out.println(\"Route does not exist. Try again.\");\r\n validTicket = false;\r\n ticket = -1;\r\n }\r\n\r\n if(validTicket){\r\n int ticketId = createTicketId();\r\n int driverId = getDriverId(_routeId);\r\n //System.out.println(\"New ticket id: \" + ticketId);\r\n\r\n if(ticketId != -1 && driverId != -1){\r\n /* Add ticket into Ticket table */\r\n String sql = \"INSERT INTO Ticket(T_ticketId, T_price, T_groupId, T_driverId, T_verified, T_custId) \" +\r\n \"VALUES(?, 0, NULL, ?, ?, ?) \";\r\n\r\n /* STEP: Execute update statement for Ticket table*/\r\n PreparedStatement stmt = c.prepareStatement(sql);\r\n stmt.setInt(1, ticketId);\r\n stmt.setInt(2, driverId);\r\n stmt.setString(3, \"FALSE\");\r\n stmt.setInt(4, _custId);\r\n stmt.executeUpdate();\r\n \r\n /* Add ticket into TicketRoute */\r\n String sql2 = \"INSERT INTO TicketRoute(TR_ticketId, TR_routeID) \" +\r\n \"VALUES(?, ?)\";\r\n \r\n /* STEP: Execute update statement for TicketRoute table */\r\n PreparedStatement stmt2 = c.prepareStatement(sql2);\r\n stmt2.setInt(1, ticketId);\r\n stmt2.setInt(2, _routeId);\r\n stmt2.executeUpdate();\r\n \r\n /* STEP: Commit transaction */\r\n c.commit();\r\n stmt.close();\r\n stmt2.close();\r\n\r\n //System.out.println(\"Ticket \" + ticketId + \" has been added.\");\r\n //System.out.println(\"SUCCESS\");\r\n ticket = ticketId;\r\n }else{\r\n ticket = -1;\r\n }\r\n }\r\n\r\n } catch (Exception e) {\r\n System.err.println(e.getClass().getName() + \": \" + e.getMessage());\r\n ticket = -1;\r\n }\r\n\r\n //System.out.println(\"++++++++++++++++++++++++++++++++++\");\r\n return ticket;\r\n }", "title": "" }, { "docid": "3ba186f8616afa51fa7a10c92262eef9", "score": "0.4850501", "text": "@Select({\n \"select\",\n \"id, company_id, park_id, household_id, member_id, bill_item_id, bill_item_name, \",\n \"bill_sn, checkout_date, bill_push_date, amout, actual_pay, paid, order_id, pay_type, \",\n \"create_time, push_time, pushed, pay_time\",\n \"from t_property_household_bill\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"company_id\", property=\"companyId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"park_id\", property=\"parkId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"household_id\", property=\"householdId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"member_id\", property=\"memberId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"bill_item_id\", property=\"billItemId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"bill_item_name\", property=\"billItemName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"bill_sn\", property=\"billSn\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"checkout_date\", property=\"checkoutDate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"bill_push_date\", property=\"billPushDate\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"amout\", property=\"amout\", jdbcType=JdbcType.DOUBLE),\n @Result(column=\"actual_pay\", property=\"actualPay\", jdbcType=JdbcType.DOUBLE),\n @Result(column=\"paid\", property=\"paid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"order_id\", property=\"orderId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pay_type\", property=\"payType\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"create_time\", property=\"createTime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"push_time\", property=\"pushTime\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pushed\", property=\"pushed\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"pay_time\", property=\"payTime\", jdbcType=JdbcType.VARCHAR)\n })\n TPropertyHouseholdBill selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "891dcac9c9a6abc05e007e1d729d4ec9", "score": "0.4846854", "text": "@Override\n\tpublic List<Ticket> findTicketsByIdEvent(int idEvent) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f9a1fa7e5116d59ae1afe0470fc29749", "score": "0.48454618", "text": "@Override\n\tpublic Ticket getTicket(String ticketId) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2ec05bb94fb53c20b9f33076f02d39c8", "score": "0.48382285", "text": "@Query(value=\" select t.TICKET_ID,t.VENDOR,t.KIOSK_ID,a.BRANCH_CODE,bm.crcl_name,t.CALL_CATEGORY,t.CALL_SUBCATEGORY,t.cms_cmf_assigned,t.ASSIGNED_TO_FE as username,\"\n\t \t\t+ \" t.CALL_LOG_DATE,t.SEVERITY,t.AGEING,t.STATUS_OF_COMPLAINT, t.ASSIGNED_TO_FE,t.cmf_mobileno,t.CALLSUBSTATUS, t.CALLSTATUS \" + \n\t \t\t \" from TBL_TICKET_CENTRE t INNER JOIN tbl_CALL_TYPE b on t.CALL_CATEGORY=b.CATEGORY and t.CALL_SUBCATEGORY=b.SUB_CATEGORY INNER JOIN VIEW_TBL_KIOSK_MASTER a \" + \n\t \t\t \" on a.kiosk_id=t.kiosk_id INNER JOIN tbl_branch_master bm on a.branch_code=bm.branch_code \" + \n\t \t \" where b.RISK IN(:type) and a.circle=:circle and t.STATUS_OF_COMPLAINT='Active' \"\n\t \t \t+ \" And ( a.KIOSK_ID=UPPER(:searchText) OR \"\n\t \t \t+ \" (a.KIOSK_ID=:searchText OR a.BRANCH_CODE=:searchText) ) \"\n\t \t + \" ORDER BY t.CALL_LOG_DATE DESC \", nativeQuery = true,\n\t \t\t\n\t \tcountQuery =\"SELECT count(t.TICKET_ID) \" + \n\t \t\t\t\t \" from TBL_TICKET_CENTRE t INNER JOIN tbl_CALL_TYPE b on t.CALL_CATEGORY=b.CATEGORY and t.CALL_SUBCATEGORY=b.SUB_CATEGORY INNER JOIN VIEW_TBL_KIOSK_MASTER a \" + \n\t \t\t\t\t \" on a.kiosk_id=t.kiosk_id INNER JOIN tbl_branch_master bm on a.branch_code=bm.branch_code \" + \n\t \t\t\t\t \" where b.RISK IN(:type) and a.circle=:circle and t.STATUS_OF_COMPLAINT='Active' \"\n\t \t\t\t\t + \" And ( a.KIOSK_ID=UPPER(:searchText) OR \"\n\t \t\t \t \t+ \" (a.KIOSK_ID=:searchText OR a.BRANCH_CODE=:searchText) ) \"\n\t \t\t\t\t + \" ORDER BY t.CALL_LOG_DATE DESC \"\t)\n\t Page<TicketCentorEntity> findAllByRiskAndCMSUser(@Param(\"type\") String type,@Param(\"circle\") String circle,@Param(\"searchText\") String searchText ,Pageable pageable);", "title": "" }, { "docid": "771b462d0aa4c545ed16e9c1d240d9da", "score": "0.48353", "text": "@Select({\n \"select\",\n \"ROW_ID, GAME_ID, CHANNEL_ID, PRODUCT_ID, NOTE, AUTHOR, RECTIME\",\n \"from TFC_CHANNEL_PRODUCT\",\n \"where ROW_ID = #{rowId,jdbcType=VARCHAR}\"\n })\n @Results({\n @Result(column=\"ROW_ID\", property=\"rowId\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"GAME_ID\", property=\"gameId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CHANNEL_ID\", property=\"channelId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"PRODUCT_ID\", property=\"productId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"NOTE\", property=\"note\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"AUTHOR\", property=\"author\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"RECTIME\", property=\"rectime\", jdbcType=JdbcType.TIMESTAMP)\n })\n TFCChannelProduct selectByPrimaryKey(TFCChannelProductKey key);", "title": "" }, { "docid": "742a026779a7148c5d10726b97d33d19", "score": "0.48259792", "text": "@GetMapping(value = \"/ticket/list/unresolved\", produces = \"application/json\")\n\tpublic List<Ticket> getUnresolvedTickets(){\n\t\tmyLogger.info(\"================================================\");\n\t\tmyLogger.info(\"GET MAPPING to get unresolved ticket\");\n\t\treturn service.listUnresolvedTickets();\n\t}", "title": "" }, { "docid": "41218aeb83589b878e3df0ec3e5735fc", "score": "0.48253757", "text": "private boolean ticketExists(int _ticketId){\r\n boolean ticketExsists = false;\r\n try{\r\n String sql = \"SELECT * \" +\r\n \"FROM Ticket \" +\r\n \"WHERE T_ticketId = ?\";\r\n \r\n PreparedStatement stmt = c.prepareStatement(sql);\r\n stmt.setInt(1, _ticketId);\r\n ResultSet rs = stmt.executeQuery();\r\n \r\n if(rs.next()){ticketExsists = true;}\r\n\r\n rs.close();\r\n stmt.close();\r\n\r\n return ticketExsists;\r\n\r\n } catch (Exception e) {\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "2ba3a6e3b0f00bd8452826dc921c4742", "score": "0.4821064", "text": "public IssueExchangeTicketDetDAO () {}", "title": "" }, { "docid": "75d498496f86bc750e44d926125f63ae", "score": "0.48167062", "text": "@Override\r\n\tpublic int bookTicket(BookingDTO bookingDto) throws AirlineException {\n\t\tList<BookingDTO> rentalList;\r\n\t\tPreparedStatement statement = null;\r\n\t\tResultSet resultSet = null;\r\n\t\tString query = \"select * from flight_information where departure_city=? AND arrival_city=?\";\r\n\t\ttry {\t\t\t\r\n\t\t\tstatement = connection.prepareStatement(query);\r\n\t\t\t\r\n\t\t}\r\n\t\tcatch (Exception e) {\t\t\t\r\n\t\t\tthrow new AirlineException(\"something went wrong while matching login credential...\");\r\n\t\t}\t\r\n\t\t/*finally\r\n\t\t{\r\n\t\t\ttry \r\n\t\t\t{\r\n\t\t\t\tresultSet.close();\r\n\t\t\t\tstatement.close();\r\n\t\t\t\tconnection.close();\r\n\t\t\t} \r\n\t\t\tcatch (SQLException e) \r\n\t\t\t{\r\n\t\t\t\t//e.printStackTrace();\r\n\t\t\t\tthrow new AirlineException(\"SQLException occurred\");\r\n\t\t\t}\r\n\t\t}*/\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "a751713e498da867f144a440f3696ed9", "score": "0.48166564", "text": "public static void inserir(Ticket ticket)\n throws SQLException, Exception {\n //Monta a string de inserção de um produto no BD,\n //utilizando os dados do produto passados como parâmetro\n String sql = \"INSERT INTO TICKETS (Titulo, Descricao, DataAbertura) \"\n + \"VALUES (?, ?, NOW())\";\n\n //Conexão para abertura e fechamento\n Connection connection = null;\n //Statement para obtenção através da conexão, execução de\n //comandos SQL e fechamentos\n PreparedStatement preparedStatement = null;\n try {\n //Abre uma conexão com o banco de dados\n connection = obterConexao();\n //Cria um statement para execução de instruções SQL\n preparedStatement = connection.prepareStatement(sql);\n //Configura os parâmetros do \"PreparedStatement\"\n\n preparedStatement.setString(1, ticket.getTitulo());\n preparedStatement.setString(2, ticket.getDescricao());\n\n //Executa o comando no banco de dados\n preparedStatement.execute();\n } finally {\n //Se o statement ainda estiver aberto, realiza seu fechamento\n if (preparedStatement != null && !preparedStatement.isClosed()) {\n preparedStatement.close();\n }\n //Se a conexão ainda estiver aberta, realiza seu fechamento\n if (connection != null && !connection.isClosed()) {\n connection.close();\n }\n }\n\n }", "title": "" }, { "docid": "ce4f8d0d07a5cadb220e4a451db94966", "score": "0.4816553", "text": "public Ticket(int price){\n this.price = price;\n }", "title": "" }, { "docid": "998f12f171b212384d9d357d31290053", "score": "0.48058385", "text": "public void createNewTicketList() {\n\t\tticketList = new TicketList();\n\t}", "title": "" }, { "docid": "aec35b8fea57086519da8c766d4d937f", "score": "0.48053497", "text": "@Override\r\n\tpublic String getTableName() {\n\t\t\t\r\n\t\t\r\n\t\treturn \"vw_pta_sale_contract\"; // йсм╪\r\n\t}", "title": "" }, { "docid": "e70b3fc6eaf0427503975c3b471d5659", "score": "0.4777538", "text": "public void setTicket(boolean ticket) {\r\n this.ticket = ticket;\r\n }", "title": "" }, { "docid": "7680104e50a406300a98f0727f7e9056", "score": "0.47770295", "text": "@Select({\r\n \"select\",\r\n \"DEAL_DATE, BRANCH_CD, MEMBER_ID, MEMBER_NM, MEMBER_TYPE, CHECK_AMT, CASH_AMT, \",\r\n \"SELF_CUPON, ETC_CUPON, OFFICE_CONFIRM, CENTER_CONFIRM, UPDATE_UID, UPDATE_DATE, \",\r\n \"REMARK, ORG_SEND_YN\",\r\n \"from OP.T_FN_SAP_MASTER\",\r\n \"where DEAL_DATE = #{dealDate,jdbcType=VARCHAR}\",\r\n \"and BRANCH_CD = #{branchCd,jdbcType=VARCHAR}\",\r\n \"and MEMBER_ID = #{memberId,jdbcType=VARCHAR}\"\r\n })\r\n @Results({\r\n @Result(column=\"DEAL_DATE\", property=\"dealDate\", jdbcType=JdbcType.VARCHAR, id=true),\r\n @Result(column=\"BRANCH_CD\", property=\"branchCd\", jdbcType=JdbcType.VARCHAR, id=true),\r\n @Result(column=\"MEMBER_ID\", property=\"memberId\", jdbcType=JdbcType.VARCHAR, id=true),\r\n @Result(column=\"MEMBER_NM\", property=\"memberNm\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"MEMBER_TYPE\", property=\"memberType\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"CHECK_AMT\", property=\"checkAmt\", jdbcType=JdbcType.OTHER),\r\n @Result(column=\"CASH_AMT\", property=\"cashAmt\", jdbcType=JdbcType.OTHER),\r\n @Result(column=\"SELF_CUPON\", property=\"selfCupon\", jdbcType=JdbcType.OTHER),\r\n @Result(column=\"ETC_CUPON\", property=\"etcCupon\", jdbcType=JdbcType.OTHER),\r\n @Result(column=\"OFFICE_CONFIRM\", property=\"officeConfirm\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"CENTER_CONFIRM\", property=\"centerConfirm\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"UPDATE_UID\", property=\"updateUid\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"UPDATE_DATE\", property=\"updateDate\", jdbcType=JdbcType.TIMESTAMP),\r\n @Result(column=\"REMARK\", property=\"remark\", jdbcType=JdbcType.VARCHAR),\r\n @Result(column=\"ORG_SEND_YN\", property=\"orgSendYn\", jdbcType=JdbcType.VARCHAR)\r\n })\r\n TFnSapMaster selectByPrimaryKey(TFnSapMasterKey key);", "title": "" }, { "docid": "b7fa0a725b43a0ad52c49854f7903de6", "score": "0.47756636", "text": "public Ticket()//create a constructor\n\t{\n\t\tSystem.out.println(\"Calling constructor\");\n\t\tserialNumber = ++ticketCount;\n\t}", "title": "" }, { "docid": "d1df504493d04ca652871bfc4e6fab57", "score": "0.47751048", "text": "public TicketRepository showTicket() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f49597db5e12cf16d0af770992231972", "score": "0.47730336", "text": "public void selectTicket(Ticket ticket) {\n ticketManager.selectTicket(ticket);\n\t}", "title": "" }, { "docid": "6fec0133f9c53a53fbb1bbaff68b8efb", "score": "0.47726867", "text": "@Select({\n \"select\",\n \"INVENTORY_LOSS_ID, INVENTORY_ID, STOREHOUSE_CODE, LOSS_AMOUNT, REASON_CODE, \",\n \"REMARK, CREATE_TIME, CREATE_EMP_ID, CREATE_DEPART_ID\",\n \"from INVENTORY_LOSS\"\n })\n @Results({\n @Result(column=\"INVENTORY_LOSS_ID\", property=\"inventoryLossId\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"INVENTORY_ID\", property=\"inventoryId\", jdbcType=JdbcType.BIGINT),\n @Result(column=\"STOREHOUSE_CODE\", property=\"storehouseCode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"LOSS_AMOUNT\", property=\"lossAmount\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"REASON_CODE\", property=\"reasonCode\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"REMARK\", property=\"remark\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CREATE_TIME\", property=\"createTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"CREATE_EMP_ID\", property=\"createEmpId\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"CREATE_DEPART_ID\", property=\"createDepartId\", jdbcType=JdbcType.VARCHAR)\n })\n List<InventoryLoss> selectAll();", "title": "" }, { "docid": "0575cbf1cfbf7a0cc39b6da836809b69", "score": "0.4759462", "text": "public void setTicketPrice(double ticketPrice) {\r\n this.ticketPrice = ticketPrice;\r\n }", "title": "" }, { "docid": "b1c5bd174a836717a50a05615cee8467", "score": "0.4741041", "text": "@Select({\r\n \"select\",\r\n \"MAC_TRX_DATE, ORG_CD, BRANCH_CD, MAC_NO, FILE_NAME, INSERT_DATE, INSERT_UID, \",\r\n \"UPDATE_DATE, UPDATE_UID, FILE_CL, ZIP_FILE_NAME, FILE_PATH\",\r\n \"from AMS.T_JM_FILE\",\r\n \"where MAC_TRX_DATE = #{macTrxDate,jdbcType=VARCHAR}\",\r\n \"and ORG_CD = #{orgCd,jdbcType=VARCHAR}\",\r\n \"and BRANCH_CD = #{branchCd,jdbcType=VARCHAR}\",\r\n \"and MAC_NO = #{macNo,jdbcType=VARCHAR}\",\r\n \"and FILE_NAME = #{fileName,jdbcType=VARCHAR}\" })\r\n @Results({\r\n @Result(column = \"MAC_TRX_DATE\", property = \"macTrxDate\", jdbcType = JdbcType.VARCHAR, id = true),\r\n @Result(column = \"ORG_CD\", property = \"orgCd\", jdbcType = JdbcType.VARCHAR, id = true),\r\n @Result(column = \"BRANCH_CD\", property = \"branchCd\", jdbcType = JdbcType.VARCHAR, id = true),\r\n @Result(column = \"MAC_NO\", property = \"macNo\", jdbcType = JdbcType.VARCHAR, id = true),\r\n @Result(column = \"FILE_NAME\", property = \"fileName\", jdbcType = JdbcType.VARCHAR, id = true),\r\n @Result(column = \"INSERT_DATE\", property = \"insertDate\", jdbcType = JdbcType.TIMESTAMP),\r\n @Result(column = \"INSERT_UID\", property = \"insertUid\", jdbcType = JdbcType.VARCHAR),\r\n @Result(column = \"UPDATE_DATE\", property = \"updateDate\", jdbcType = JdbcType.TIMESTAMP),\r\n @Result(column = \"UPDATE_UID\", property = \"updateUid\", jdbcType = JdbcType.VARCHAR),\r\n @Result(column = \"FILE_CL\", property = \"fileCl\", jdbcType = JdbcType.VARCHAR),\r\n @Result(column = \"ZIP_FILE_NAME\", property = \"zipFileName\", jdbcType = JdbcType.VARCHAR),\r\n @Result(column = \"FILE_PATH\", property = \"filePath\", jdbcType = JdbcType.VARCHAR) })\r\n TJmFile selectByPrimaryKey(TJmFileKey key);", "title": "" }, { "docid": "19987349c9d0e6dc9b519a8e4eef484e", "score": "0.47354168", "text": "DataGridTicket modify(DataGridTicket t) throws DataGridConnectionRefusedException, DataGridTicketException;", "title": "" }, { "docid": "2616799ceb68226bf70e0f2a400bf933", "score": "0.4732416", "text": "public Ticket()\n {\n super( KerberosMessageType.TICKET );\n }", "title": "" }, { "docid": "9a12982d127647f49afa8c19f974b5ce", "score": "0.47255972", "text": "@Override\npublic String findKeyColumnName()\n{\n\treturn \"id\";\n}", "title": "" }, { "docid": "f42ed55dddb5842e68f37c0b0ebde497", "score": "0.47135237", "text": "int updateByPrimaryKey(Ticket record);", "title": "" }, { "docid": "bb8f3830e08dd1979acc3a5c14d1ad3f", "score": "0.4705253", "text": "public void associateTicket(Ticket t) {\n ticket = t;\n }", "title": "" }, { "docid": "c0f0f5f927f88110351f3ed2d146f461", "score": "0.47020158", "text": "public Vector<ObjectRow> fetchTaskTable() {\r\n\t\tResultQuery<Vector<ObjectRow>> q = new ResultQuery<Vector<ObjectRow>>(_connectionModel) {\r\n\t\t\t@Override\r\n\t\t\tpublic void processResult(ResultSet result) {\r\n\t\t\t\tsetResult(ObjectRow.fetchRows(result)); \r\n\t\t\t}\r\n\t\t\t@Override\r\n\t\t\tpublic void handleException(SQLException ex) {\r\n\t\t\t\tsetResult(new Vector<ObjectRow>());\r\n\t\t\t\tex.printStackTrace();\r\n\t\t\t}\r\n\t\t};\r\n\t\tq.queryResult(\"SELECT Task_id, CONCAT(Employee_name, ' ', Employee_surname), Team_description \" +\r\n\t\t\t\t\"Task_status_description, Task_type_description, Task_engineering_hour, Task_date, Task_active FROM ((((\" + \r\n\t\t\t\tDBSchemaModel.TaskTable + \") JOIN \" + DBSchemaModel.EmployeeTable + \") JOIN \" + DBSchemaModel.TeamTable +\r\n\t\t\t\t\") JOIN \" + DBSchemaModel.TaskTypeTable + \") JOIN \" + DBSchemaModel.TaskStatusTable + \" WHERE \" +\r\n\t\t\t\t\"Task.Employee_id = Employee.Employee_id AND Task.Team_id = Team.Team_id AND \" +\r\n\t\t\t\t\"Task.Task_type_id = Task_type.Task_type_id AND Task.Task_status_id = Task_status.Task_status_id\");\r\n\t\treturn q.getResult();\r\n\t}", "title": "" }, { "docid": "09ff7be750120291ca3ab7d41b34d9b1", "score": "0.4696839", "text": "public static void addTicket(String staffID, String ticketTitle,\r\n\t\t\tString ticketDescription, String departmentID, String statusID,\r\n\t\t\tString categoryID, String staffEmail)\r\n\t{\r\n\r\n\t\tString adminID = assignToAdmin();\r\n\t\tConnections.killRset();\r\n\t\tString dateCreated = getDate();\r\n\t\tint ticketPriority = getCategoryPriority(categoryID);\r\n\t\tConnections.killRset();\r\n\t\tboolean random = false;\r\n\t\tString ticketID = null;\r\n\r\n\t\twhile (random == false)\r\n\t\t{\r\n\t\t\tConnections.killRset();\r\n\t\t\tticketID = (\"T\" + String.valueOf(getRandomID()));\r\n\t\t\ttry\r\n\t\t\t{\r\n\r\n\t\t\t\tString select = \"SELECT * FROM Ticket WHERE ticketID = '\"\r\n\t\t\t\t\t\t+ ticketID + \"'\";\r\n\t\t\t\tConnections.pstmt = Connections.conn.prepareStatement(select);\r\n\r\n\t\t\t\tConnections.rset = Connections.pstmt.executeQuery();\r\n\r\n\t\t\t\tif (Connections.rset.next() == false)\r\n\t\t\t\t{\r\n\t\t\t\t\trandom = true;\r\n\t\t\t\t}\r\n\t\t\t\tConnections.killRset();\r\n\t\t\t} catch (SQLException e)\r\n\t\t\t{\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t} finally\r\n\t\t\t{\r\n\t\t\t\tConnections.killRset();\r\n\t\t\t}\r\n\t\t\tConnections.killRset();\r\n\t\t}\r\n\r\n\t\ttry\r\n\t\t{\r\n\r\n\t\t\tString insertString = \"INSERT INTO Ticket(ticketID, adminID, staffID, ticketTitle, ticketDescription, ticketPriority, departmentID, dateCreated, dateClosed, statusID, categoryID) values('\"\r\n\t\t\t\t\t+ ticketID\r\n\t\t\t\t\t+ \"','\"\r\n\t\t\t\t\t+ adminID\r\n\t\t\t\t\t+ \"','\"\r\n\t\t\t\t\t+ staffID\r\n\t\t\t\t\t+ \"','\"\r\n\t\t\t\t\t+ ticketTitle\r\n\t\t\t\t\t+ \"','\"\r\n\t\t\t\t\t+ ticketDescription\r\n\t\t\t\t\t+ \"', \"\r\n\t\t\t\t\t+ ticketPriority\r\n\t\t\t\t\t+ \" , '\"\r\n\t\t\t\t\t+ departmentID\r\n\t\t\t\t\t+ \"','\"\r\n\t\t\t\t\t+ dateCreated.trim()\r\n\t\t\t\t\t+ \"',?,'\"\r\n\t\t\t\t\t+ statusID.trim()\r\n\t\t\t\t\t+ \"','\"\r\n\t\t\t\t\t+ categoryID.trim() + \"')\";\r\n\t\t\tSystem.out.println(insertString);\r\n\t\t\tConnections.pstmt = Connections.conn.prepareStatement(insertString);\r\n\t\t\tConnections.pstmt.setString(1, null);\r\n\t\t\tConnections.pstmt.executeUpdate();\r\n\t\t\tConnections.conn.commit();\r\n\r\n\t\t\taddLog(ticketID, \"New Ticket : \" + ticketTitle.trim()\r\n\t\t\t\t\t+ \", Issued to : \" + getAdminName(adminID).trim(),\r\n\t\t\t\t\tticketTitle, departmentID);\r\n\t\t\tConnections.killRset();\r\n\t\t\tSystem.out.println(\"Ticket Added\");\r\n\t\t} catch (SQLException e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tConnections.killRset();\r\n\t\tDatabase.postNewTicketToAdmin(ticketID);\r\n\t}", "title": "" }, { "docid": "68a3356e5613b27269c3d373aee0659b", "score": "0.46945152", "text": "@Override\n public int compareTo(Ticket o) {\n return getName().compareTo(o.getName());\n }", "title": "" }, { "docid": "26fbb1f92edd7d95b9c75988b1586183", "score": "0.46879327", "text": "@Override\n\tpublic int nbTickets() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "26b0460a56abc20884fcb96ea16a2d1c", "score": "0.46872413", "text": "private static void updateClosedTicketTime(String TicketNumber, String Name) throws Exception\n\t{\n\t\n\t\tConnection conn = Models.Connector.getConnection();\n\t\tString sqlSearch = \"UPDATE DH_ADMIN_TICKETS\" \n\t\t\t\t\t\t\t+ \" SET STATUS = 'Closed'\" +\",\"\n\t\t\t\t\t\t\t+ \"TIME_CLOSED = SYSTIMESTAMP\" +\",\"\n\t\t\t\t\t\t\t+ \"ASSIGNED_TO =\" +\"'\" + Name +\"'\"\n\t\t\t\t\t\t\t+\" WHERE TICKET_NUMBER=\" + TicketNumber ;\n\t\tStatement stmt = conn.prepareStatement(sqlSearch);\n\t\tstmt.executeQuery(sqlSearch);\n\t\t\n\t}", "title": "" }, { "docid": "0e95282c3abf50acba25d65c9450fec1", "score": "0.46862027", "text": "public void from(ITplTicket from);", "title": "" }, { "docid": "9559c66a95f97bf99fcb8cb385822af2", "score": "0.46839455", "text": "@Override\n public List<Emprunt> afficherlesemprunts() {\n String vsql = \"SELECT * FROM public.emprunt \";\n JdbcTemplate vJdbcTemplate = new JdbcTemplate(getDataSource());\n\n // Utilisation d'un RowMAPPER Emprunt\n EmpruntRM empruntRM=new EmpruntRM();\n\n List<Emprunt> afficheliste= vJdbcTemplate.query(vsql,empruntRM);\n return afficheliste;\n }", "title": "" }, { "docid": "876cdbab689b8e652c0731a979f2ba5c", "score": "0.46752384", "text": "@Query(value=\"SELECT DISTINCT t.TICKET_ID,a.VENDOR,a.KIOSK_ID,a.BRANCH_CODE,bm.crcl_name,t.CALL_CATEGORY,t.CALL_SUBCATEGORY,t.cms_cmf_assigned,u.username,t.CALL_LOG_DATE,t.SEVERITY,t.AGEING,t.STATUS_OF_COMPLAINT, \" + \n\t \t\t\" t.ASSIGNED_TO_FE,t.CMF_MOBILENO,t.CALLSUBSTATUS, t.CALLSTATUS \"+ \n\t \t\t\" FROM TBL_TICKET_CENTRE t inner join (select * from tbl_kiosk_master km union select * from arc_tbl_kiosk_master akm) A on A.kiosk_id=t.kiosk_id \" + \n\t \t\t\" inner join tbl_branch_master bm on a.branch_code=bm.branch_code \" + \n\t \t\t\" left join tbl_user_kiosk_mapping ukm on ukm.kiosk_id=a.kiosk_id \" + \n\t \t\t\" left join tbl_user u on ukm.pf_id=u.pf_id \" + \n\t \t\t\" where t.STATUS_OF_COMPLAINT='Active' and ukm.pf_id=:pfId AND \"\n\t \t\t+ \" ( a.KIOSK_ID=UPPER(:searchText) OR (a.KIOSK_ID=:searchText OR a.BRANCH_CODE=:searchText) ) ORDER BY t.call_log_date DESC \", nativeQuery = true,\n\t \t\tcountQuery = \"SELECT count(DISTINCT t.TICKET_ID) \"+\n\t \t\t\t\t\" FROM TBL_TICKET_CENTRE t inner join (select * from tbl_kiosk_master km union select * from arc_tbl_kiosk_master akm) A on A.kiosk_id=t.kiosk_id \" + \n\t \t\t\t\t\" inner join tbl_branch_master bm on a.branch_code=bm.branch_code \" + \n\t \t\t\t\t\" left join tbl_user_kiosk_mapping ukm on ukm.kiosk_id=a.kiosk_id \" + \n\t \t\t\t\t\" left join tbl_user u on ukm.pf_id=u.pf_id \" + \n\t \t\t\t\t\" where t.STATUS_OF_COMPLAINT='Active' and ukm.pf_id=:pfId \"\n\t \t\t\t\t+ \" AND ( a.KIOSK_ID=UPPER(:searchText) OR (a.KIOSK_ID=:searchText OR a.BRANCH_CODE=:searchText) ) ORDER BY t.call_log_date DESC \")\t\n\t \n\t\tPage<TicketCentorEntity> findAllByCMFUser(@Param(\"pfId\") String pfId,@Param(\"searchText\") String searchText, Pageable pageable);", "title": "" } ]
914c51fa055e6f9aab24fd599353b317
Returns true or false if a value is in the Array
[ { "docid": "5243cd93d474536783e3de91972ae992", "score": "0.69912064", "text": "public boolean doesArrayContainThisValue(int searchValue) {\n\t\tboolean isValueInArray = false;\n\t\t\n\t\tfor(int i = 0; i < arraySize; i++) {\n\t\t\tif(theArray[i] == searchValue) {\n\t\t\t\tisValueInArray = true;\n\t\t\t\treturn isValueInArray;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn isValueInArray;\n\t}", "title": "" } ]
[ { "docid": "dd0eb3bf431599f17342c66a6cf324c8", "score": "0.7578555", "text": "private static boolean AContains(int[] array, int value)\n {\n for (int i=0; i<array.length; i++)\n { if (array[i]==value) return true; }\n return false;\n }", "title": "" }, { "docid": "bcbef8e7fa3097eedb32f9b9e7ee35df", "score": "0.7519617", "text": "static private boolean hasValue(int[] a, int value) {\n for (int aVal : a) {\n if (aVal == value) {\n return true;\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "42b45bd057f8917f38638dcc7d4fc933", "score": "0.7505724", "text": "public boolean exists(T value) {\n\t\tfor(int i = 0; i < this.size; i++) {\n\t\t\tif(this.array[i].equals(value))\n\t\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "9aea9596fb681f738c0e30fedb2a7612", "score": "0.73746485", "text": "public boolean isIn(Object ob) {\n\t\tboolean ReturnValue = false;\n\t\tfor(int i =0; i<arry.length;i++){\n\t\t\tif(arry[i]==ob){\n\t\t\t\tReturnValue = true;\n\t\t\t}\n\t\t}\n\t\treturn ReturnValue;\n\t}", "title": "" }, { "docid": "00968ccb6cdfdceb0015d163527c3022", "score": "0.7374066", "text": "public boolean isInArray ( int testValue )\n {\n int index;\n for (index = 0; index < arraySize; index++)\n {\n if ( localArray[ index ] == testValue )\n {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "0dd6a2234aee6f4a98cbface15b7ab5f", "score": "0.73461694", "text": "public boolean contains ( int value){\n\t\tboolean contains = false;\n\t\tfor ( int i=0; i<counter; i++){\n\t\t\tif( array[i]==value){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn contains;\n\t\t\n\t}", "title": "" }, { "docid": "f3251fcedda3de536b4def0529655ea3", "score": "0.71335584", "text": "public boolean containsValue(Object value){\n\t\t\treturn values.contains(value);\n\t\t}", "title": "" }, { "docid": "f7a0b2f0f0cdbca0b64a3de27cd82b82", "score": "0.7108833", "text": "public boolean contains(short[] array, short valueToFind) {\n return indexOf(array, valueToFind) != INDEX_NOT_FOUND;\n }", "title": "" }, { "docid": "cd79a31ad1cba50e1ee3cd380948c503", "score": "0.7104907", "text": "private boolean containsVal(int [] arr, int val, int slotNum)\n {\n for (int i = 0; i < slotNum; i++)\n {\n if (arr[i] == val)\n {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "75f7961171899ad279b76d73957813ef", "score": "0.70691365", "text": "public boolean contains(E e){\n\t\tfor(int i=0;i<size;i++){\n\t\t\tif(Array_list[i]==e){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "0f91100fb84e39a47c0dda6bb7070ce4", "score": "0.70688516", "text": "public boolean contains(final Object value) {\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\tif (elements[i].equals(value)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "91eac8b2d3882ab2595c139984a47fe9", "score": "0.7045722", "text": "private boolean contains(int[] cells, int value){\n for(int i = 0; i < SIZE; i++){\n if (cells[i] == value)\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "969b166dfafea846cb9450fce1abf12a", "score": "0.7022159", "text": "public boolean doesArrayContainThisValue(int searchValue) {\n boolean valueInArray = false;\n for (int i = 0; i < arraySize; i++) {\n if (theArray[i] == searchValue) {\n valueInArray = true;\n }\n }\n return valueInArray;\n }", "title": "" }, { "docid": "5a340078eff8cc27e164f458bb309bdf", "score": "0.6999968", "text": "static boolean isIn( int find, int[] values )\n {\n if( values[0] == -1 )\n {\n return true;\n }\n else\n {\n for( int i=0; i<values.length; i++ )\n {\n if( find == values[i] )\n return true;\n }\n return false;\n }\n }", "title": "" }, { "docid": "55dc2d638e640a0808443ed88232efd6", "score": "0.6943584", "text": "boolean hasArray();", "title": "" }, { "docid": "392f83115294bcf351e5efa51468b523", "score": "0.69249755", "text": "public boolean containsValue(Object value) {\r\n return getValues().contains(value);\r\n }", "title": "" }, { "docid": "a8130178d13e206cf459a3510d07d8f2", "score": "0.6881444", "text": "public boolean contains(T obj) {\r\n boolean result = false;\r\n for (int i = 0; i < size; i++) {\r\n if (array[i] == obj) {\r\n result = true;\r\n break;\r\n }\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "fb7be9b51f63701d4511aae3c43306cd", "score": "0.68648446", "text": "public boolean contains(T anEntry) {\n // Check that the array is not empty\n if (qtyOfItems == 0) {\n return false;\n }\n\n // Check for entry in the array\n for (int i = 0; i < qtyOfItems; i++)\n {\n if (anEntry.equals(workingArray[i]))\n {\n return true;\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "48654b7a53c6ed9a6dde9dd5713a598b", "score": "0.6864234", "text": "public boolean contains(int[] array, int valueToFind) {\n return indexOf(array, valueToFind) != INDEX_NOT_FOUND;\n }", "title": "" }, { "docid": "46ce411787160c3fa523f3ff8720f115", "score": "0.68416905", "text": "@Override\n public boolean contains(Object value) {\n return indexOf(value) != -1;\n }", "title": "" }, { "docid": "4897b3e763836832c29d5763d61ef4da", "score": "0.6834772", "text": "public boolean contains(long[] array, long valueToFind) {\n return indexOf(array, valueToFind) != INDEX_NOT_FOUND;\n }", "title": "" }, { "docid": "a818509eebc8aef064972abcede0039f", "score": "0.67993695", "text": "public boolean contains(int key) {\n return arr[key] == 1;\n }", "title": "" }, { "docid": "324e27e2e1094810d75faadbd8be2a65", "score": "0.6799121", "text": "private static boolean exist(int value, int[] arr,int indMax) {\n\t\tfor(int i=0;i<indMax;i++){\n\t\t\tif(arr[i]==value)\n\t\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "8b88d15274a4bd95c32c60757de673b1", "score": "0.679784", "text": "public boolean contains(E value) {\n return indexOf(value) >= 0;\n }", "title": "" }, { "docid": "8b88d15274a4bd95c32c60757de673b1", "score": "0.679784", "text": "public boolean contains(E value) {\n return indexOf(value) >= 0;\n }", "title": "" }, { "docid": "fd4f0588a9c21c60cfe7970e7a265e74", "score": "0.6780545", "text": "public boolean contains(final List<Integer> array, final int key) {\n\n return array.contains(key);\n\n }", "title": "" }, { "docid": "46b27861b6f8c11cb71069ab385f6771", "score": "0.6769251", "text": "public boolean contains(String searchVal) {\n boolean res = false;\n for (int i=0; i<capacity; i++){\n if (array[i] == null)\n continue;\n if (array[i].equals(searchVal))\n res = true;\n }\n return res;\n }", "title": "" }, { "docid": "0ac6fc26c204de997486d418ef661ab5", "score": "0.67666435", "text": "public static <T> boolean exists(List<T> array , T element){\n for(T currentElement : array){\n if(element.equals(currentElement)) return true;\n }\n return false;\n }", "title": "" }, { "docid": "cb4e4657495c6c4835902e258f5dfcb9", "score": "0.67348516", "text": "public boolean contains(char[] array, char valueToFind) {\n return indexOf(array, valueToFind) != INDEX_NOT_FOUND;\n }", "title": "" }, { "docid": "a5fbad63802fc2bc41b84070fc4aeb74", "score": "0.67187613", "text": "public boolean containsValue(Object value);", "title": "" }, { "docid": "ffb75557f04d631cd0bad2ca4023b1b3", "score": "0.67065454", "text": "public boolean contains(double[] array, double valueToFind) {\n return indexOf(array, valueToFind) != INDEX_NOT_FOUND;\n }", "title": "" }, { "docid": "d2a5aac65e67e283626583c524858996", "score": "0.6702839", "text": "public boolean isIn(String val, String[] list) {\r\n\t\tfor (String e : list) {\r\n\t\t\tif (e.equals(val))\r\n\t\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "5d62aa1b0edfa44bf37d550298e438a3", "score": "0.6677252", "text": "public boolean contains(int key) {\n return arr[key] != false;\n }", "title": "" }, { "docid": "9cdff1bfe822c72d0b10ed8744df79b8", "score": "0.66756225", "text": "public boolean contains(Object elem)\r\n\t{\r\n\t\tboolean contains = false;\r\n\t\tint counter = 0;\r\n\t\twhile(counter < this.size)\r\n\t\t{\r\n\t\t\tif(a[counter].equals(elem))\r\n\t\t\t\tcontains = true;\r\n\t\t\tcounter ++;\r\n\t\t}\r\n\t\treturn contains;\r\n\t}", "title": "" }, { "docid": "a8a214852dc712dc12c11ca3216ee714", "score": "0.66696525", "text": "public boolean isIn(Coord[] array) {\n for (Coord c : array) {\n if (this.compareTo(c) == 0) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "8ee14dbed1a5e9dc303caad4ea000ccc", "score": "0.6668556", "text": "boolean hasValuesInAnyValues();", "title": "" }, { "docid": "9c6c8b40ef3fcc3dd14fb54589f0643f", "score": "0.6668477", "text": "public boolean contains(Object value) {\r\n return containsValue(value);\r\n }", "title": "" }, { "docid": "a0823111e7d9116bdce7053629f6efb5", "score": "0.6636029", "text": "public static boolean contains(int[] array, int x)\n\t{ \n\t\tint i=0;\n\t\twhile(i < array.length){\n\t\t\tif(array[i]==x)\n\t\t\t\treturn true;\n\t\t\ti++;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b8230b3b8b51c026fb8da1245083db68", "score": "0.66238004", "text": "public boolean contains(float[] array, float valueToFind) {\n return indexOf(array, valueToFind) != INDEX_NOT_FOUND;\n }", "title": "" }, { "docid": "1ad10e30316e3718aed9c81ee4d1fd00", "score": "0.66115195", "text": "public boolean contains(int value){\r\n\t\t\t\t\r\n\t\t\t\tboolean yes;\r\n\t\t\t\tif (set.contains(value)) {\r\n\t\t\t\t\tyes = true;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\telse {\r\n\t\t\t\t\tyes = false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tSystem.out.println(yes);\r\n\t\t\t\treturn yes;\r\n\t\t\t}", "title": "" }, { "docid": "a35c16d0e918fef3827e8b24e8fa7e93", "score": "0.66087526", "text": "public boolean contains(int key) {\n return this.arr[key];\n }", "title": "" }, { "docid": "33608e7fd89b9deb1e522b83eed156bb", "score": "0.6602209", "text": "boolean containsBrickArray();", "title": "" }, { "docid": "04d19c9cb460ec38974286f0362507d1", "score": "0.65945286", "text": "public static boolean contiene(final int[] array, final int key) {\n for (final int i : array) {\n if (i == key) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "0fdca78cc6e6f6fefa729fcfc51ec2e8", "score": "0.65873533", "text": "public boolean contains(Object value) {\n return containsValue(value);\n }", "title": "" }, { "docid": "f43f4a19fb12a7324bb2fd235fba5611", "score": "0.6585279", "text": "public static boolean contains(final int[] array, final int key) {\n\n // loop and return true when found\n for (final int i : array) {\n if (i == key) {\n return true;\n }\n }\n\n return false;\n }", "title": "" }, { "docid": "2714f7b78346de160f339a43ad2cb7f5", "score": "0.6584683", "text": "public boolean contains(byte[] array, byte valueToFind) {\n return indexOf(array, valueToFind) != INDEX_NOT_FOUND;\n }", "title": "" }, { "docid": "1797b22d72f74306e0e995d1352f1f77", "score": "0.6582657", "text": "public boolean isIn(double val, double[] list) {\r\n\t\tfor (double e : list) {\r\n\t\t\tif (e == val)\r\n\t\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "18228df9efd7e4146626fbe95e42c3be", "score": "0.65735185", "text": "public static boolean contains(int[] array, final int v) {\n for (int i : array) {\n if (i == v) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "4c748625b9f8e562db2e419f1ea55169", "score": "0.65554154", "text": "public boolean checkExistance(String[] arr, String value){\n\t\tloop:for (int i = 0; i < arr.length; i++){\n\t\t\tif (arr[i] == null){\n\t\t\t\tbreak loop;\n\t\t\t}else{ \n\t\t\t\tif(arr[i].equals(value))\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "299b228090b48c6a908350c2251317f0", "score": "0.6545305", "text": "public static boolean isValueUnique(int[] theArray, int value){\r\n\r\n for (int i = 0; i < theArray.length; i++) {\r\n if(value == theArray[i]){\r\n //for testing purposes, indicates when a value is found to be NOT unique\r\n //System.out.println(\"found duplicate\");\r\n return false;\r\n }\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "d9b5f33f549a9a5e14364270a1185157", "score": "0.6539009", "text": "public boolean containsValue(Object value) {\n return map.containsValue(value);\n }", "title": "" }, { "docid": "b44f1d033b405bc172787af3a507bef3", "score": "0.6528519", "text": "private boolean isInArray(String[] arr, String targ) {\n\t\t String[] arr2 = new String[arr.length];\n\t\t System.arraycopy(arr,0,arr2,0,arr.length);\n\t\t //first, sort arr\n\t\t Arrays.sort(arr2, String.CASE_INSENSITIVE_ORDER);\n\t\t int loc = Arrays.binarySearch(arr2, targ, String.CASE_INSENSITIVE_ORDER);\n\t\t if (loc>=0) return true;\n\t\t else return false;\n\t\t \n\t }", "title": "" }, { "docid": "39bcf806fc9165d2f5aef3029961ee04", "score": "0.652259", "text": "public boolean containsValue(E value);", "title": "" }, { "docid": "84541de653834ce2d22c099227c0bc24", "score": "0.6516879", "text": "@Override\n\tpublic boolean containsKey(Object key) {\n\t\tif (size == 0){\n\t\t\tSystem.out.println(\"false\");\n\t\t\treturn false;\n\t\t}\n\t\tfor (int i = 0; i < size; i++){\n\t\t\tif(KEY_ARRAY[i] == key) {\n\t\t\t\tSystem.out.println(\"true\");\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"false\");\n\t\treturn false;\n\t}", "title": "" }, { "docid": "453851d79137489c50bb40359d7ddf83", "score": "0.65080816", "text": "private boolean isIntInArray(int x, int intArray[]) {\r\n\t\treturn IntStream.of(intArray).anyMatch(i -> i == x);\r\n\t}", "title": "" }, { "docid": "21865fc42537ac407cf6f8432ba8433e", "score": "0.65072316", "text": "@Override\n public boolean contains(Value[] values) {\n if (parent != null) {\n return parent.contains(values);\n }\n if (index == null) {\n createIndex();\n }\n return index.containsKey(ValueArray.get(values));\n }", "title": "" }, { "docid": "98e14e17ef09c5c12b98ef7924964df0", "score": "0.6503649", "text": "boolean hasValues();", "title": "" }, { "docid": "20eab53807c956b9308ee3193dac55f0", "score": "0.6482857", "text": "public static <T> boolean containsT(final T[] array, final T v) {\n for (final T e : array) {\n if (e == v || v != null && v.equals(e)) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "057d18b2215802067d74245c829c7615", "score": "0.64630365", "text": "public boolean containsValue(Object value) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "057d18b2215802067d74245c829c7615", "score": "0.64630365", "text": "public boolean containsValue(Object value) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "f944dbe379d4a998e12c9e09f0d0b99d", "score": "0.6459382", "text": "public boolean contains( Object x )\n {\n return isActive( array, findPos( x ) );\n }", "title": "" }, { "docid": "241e761eebd9ad0c0a175b780bf6e90d", "score": "0.6458179", "text": "private static void check(int[] arr, int toCheckValue) \n { \n // check if the specified element \n // is present in the array or not \n // using Linear Search method \n boolean test = false; \n for (int element : arr) { \n if (element == toCheckValue) { \n test = true; \n break; \n } \n } \n \n // Print the result \n System.out.println(\"Is \" + toCheckValue \n + \" present in the array: \" + test); \n }", "title": "" }, { "docid": "ea66ec04baef1e9566ae238d9ce1f863", "score": "0.64399076", "text": "public boolean containsValue(Object value) {\n return map.containsValue(value);\n }", "title": "" }, { "docid": "486a36e998be4d8f4172e02eddcdd084", "score": "0.64379156", "text": "public boolean containsValue(Object value) {\n return getResults().contains(value);\n }", "title": "" }, { "docid": "6c68c16a18d1cbb84a4ff1d09d97f4be", "score": "0.64255494", "text": "@Override\r\n public boolean contains(double[] pos) {\r\n return contains(pos, null);\r\n }", "title": "" }, { "docid": "c4a900ed4f5b2ea79e76e032bf889b84", "score": "0.6419243", "text": "public static boolean contains(int [] array, int element){\n boolean result = false;\n for(int each:array){\n if(each==element){\n result=true;\n }\n }\n return result;\n }", "title": "" }, { "docid": "10dcbdaf543481ffa06a5cfa098ec6a8", "score": "0.6407548", "text": "public boolean containsValue(Object value)\r\n/* 161: */ {\r\n/* 162:204 */ V v1 = toInternal(value);\r\n/* 163:205 */ for (V v2 : this.values) {\r\n/* 164:207 */ if ((v2 != null) && (v2.equals(v1))) {\r\n/* 165:208 */ return true;\r\n/* 166: */ }\r\n/* 167: */ }\r\n/* 168:211 */ return false;\r\n/* 169: */ }", "title": "" }, { "docid": "9b8ae0c5e8c0c9c5fd152d789a8a0a4c", "score": "0.64019734", "text": "public boolean contains(T elem) {\n\n if (elem == null) {\n for (int i = 0; i < size; i++) {\n if (arrayElement[i] == null) {\n return true;\n }\n }\n } else {\n for (int i = 0; i < size; i++) {\n if (elem.equals(arrayElement[i])) {\n return true;\n }\n }\n }\n\n return false;\n\n }", "title": "" }, { "docid": "056f35c43053cfe00e6b07af0d366651", "score": "0.64005375", "text": "public boolean contains(final Object value)\n {\n return containsValue(value);\n }", "title": "" }, { "docid": "062def05ab8f34c2357868dfca123751", "score": "0.6393025", "text": "public static boolean containsElement(Object[] array, Object element) {\n/* 115 */ if (array == null) {\n/* 116 */ return false;\n/* */ }\n/* 118 */ for (Object arrayEle : array) {\n/* 119 */ if (nullSafeEquals(arrayEle, element)) {\n/* 120 */ return true;\n/* */ }\n/* */ } \n/* 123 */ return false;\n/* */ }", "title": "" }, { "docid": "1c8dc05fb6da5e425f750f4546cd3a27", "score": "0.6387173", "text": "public boolean contains(E e)\n\t{\n\t\tfor(int i=0; i<this.size; i++)\n\t\t\tif(this.arr[i].compareTo(e) == 0)\n\t\t\t\treturn true;\n\t\treturn false;\n\t}", "title": "" }, { "docid": "aef5950fa7ebcd8558bf8eff5b824a59", "score": "0.63626814", "text": "public boolean contains( Student value );", "title": "" }, { "docid": "41be066c1aa51efaafc36c1510f61a2e", "score": "0.6356656", "text": "public boolean contains(boolean[] array, boolean valueToFind) {\n return indexOf(array, valueToFind) != INDEX_NOT_FOUND;\n }", "title": "" }, { "docid": "0d918cb32325d61039bcd0067dd261f9", "score": "0.6355899", "text": "@Override\n public boolean contains(Object t) {\n enforcePrimitive(t);\n JsonArrayDocument current = bucket.get(id, JsonArrayDocument.class);\n for (Object in : current.content()) {\n if (safeEquals(in, t)) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "216d38b92f7850f70256d070bfc3f66c", "score": "0.6353255", "text": "default boolean containsValue(V value) {\n return iterator().map(Tuple2::_2).contains(value);\n }", "title": "" }, { "docid": "f2a0f9ae64ebd5c1eb33f394aafc4759", "score": "0.6351099", "text": "public boolean containsArray(List<int[]> liste, int[] array){\n\t\tboolean resultat = false;\n\t\tfor(int[] item : liste){\n\t\t\tif((item[0] == array[0]) && (item[1] == array[1])) {\n\t\t\t\tresultat = true;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn resultat;\n\t}", "title": "" }, { "docid": "b5ad9da16a013e0cdf61cc354a30e9cc", "score": "0.6350826", "text": "@Override\n\tpublic boolean containsValue(Object value) {\n\t\treturn map.containsValue(value);\n\t}", "title": "" }, { "docid": "654e8f01cbeb8148c2bab570fb9cbc3c", "score": "0.6348195", "text": "public boolean contains(Object[] array, Object objectToFind) {\n return indexOf(array, objectToFind) != INDEX_NOT_FOUND;\n }", "title": "" }, { "docid": "96490eae9a83b7072f5315e518ae7448", "score": "0.63473105", "text": "public abstract boolean hasArray();", "title": "" }, { "docid": "ba0984c352375068199bc71acfb7ec56", "score": "0.6337779", "text": "public static boolean checkElementInArray(int element, int[] intArray)\n {\n\n for(int i = 0; i < intArray.length; i++)\n {\n // if the number we are looking for is in the array\n // return true\n if(intArray[i] == element) { return true; }\n }\n\n // If the program reaches this point\n // the number wasn't found in the array\n return false;\n }", "title": "" }, { "docid": "5b641057b8f6126f50bb6938422299ae", "score": "0.6336113", "text": "public boolean contains(int value){\n return probe(value) != -1;\n }", "title": "" }, { "docid": "cc0d7e8baadb8a75fc2f7c8feaed890c", "score": "0.6319562", "text": "public static <T> boolean contains(@Nonnull T[] ts, @Nonnull T t) {\n for (T i : ts) {\n if (i.equals(t)) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "5b67af9b366d14c8caf4482fea0823b2", "score": "0.63177174", "text": "private static boolean contains(int[] keys, int key)\n {\n for (int k : keys)\n {\n if (k == key)\n {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "a9a50dc4637b9bc818c90093088305ab", "score": "0.63068026", "text": "public boolean contains(Object theElement)\n {\n int i =0;\n\t while(i<size)\n\t {\n\t if(element[i].equals(theElement))\n\t\t{\n\t\t return true;\n\t\t}\n\t i++;\n\t }\n\t return false;\n }", "title": "" }, { "docid": "97157561d1d9d1991b739b0039cb1cbe", "score": "0.62917936", "text": "public final boolean isContains()\r\n {\r\n return myContains;\r\n }", "title": "" }, { "docid": "af60fbeae51fdff1ad0ac033e99eec18", "score": "0.6283715", "text": "@SuppressWarnings(\"unchecked\")\n public boolean hasElement(GenericData testElement)\n {\n // Initialize index for loop\n int index;\n // Loop through array\n for(index = 0; index < arraySize; index++)\n {\n // If the index of the array equals the test element,\n // then it contains the element.\n int checkVal = ((GenericData) genericSetArray[index])\n .compareTo(testElement);\n if(checkVal ==0)\n {\n return true;\n }\n }\n // If the element is not in the array then return false.\n return false;\n }", "title": "" }, { "docid": "e2c85e2bdd47f5d8847641a90d6ec674", "score": "0.62804615", "text": "public boolean containsValue(Object value) {\n return this.memberList.contains(value);\n }", "title": "" }, { "docid": "dd32fd133614eea50b5ba6a547c025fe", "score": "0.62786126", "text": "public boolean hasValues(String allele) {\r\n return values.containsKey(allele);\r\n }", "title": "" }, { "docid": "b12ce492f493a7f9ff78a4631b313aa1", "score": "0.6272596", "text": "boolean hasMatchingValue();", "title": "" }, { "docid": "e7ba0afd85057764675defcc31f91adc", "score": "0.6270138", "text": "public boolean contains(int value) {\n return indexOf(value) >= 0;\n }", "title": "" }, { "docid": "7e21a973bec83445e86774918327b310", "score": "0.6269153", "text": "public static <T> boolean contains(T[] array, T element) {\n if (null == array) {\n throw new IllegalArgumentException(Messages.getString(Message.TARGET_ARRAY_IS_NULL));\n }\n for (T obj : array) {\n if (ObjectUtil.isEqual(obj, element)) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "01b92c930338a4728e3c265f2b465fb3", "score": "0.6265595", "text": "public static boolean contains(double [] array, double element){\n boolean result = false;\n for(double each:array){\n if(each==element){\n result=true;\n }\n }\n return result;\n }", "title": "" }, { "docid": "01b7dde32279893e0aca0262f2b87b52", "score": "0.62459487", "text": "public boolean contains(E value)\n // pre: value is not null\n // post: returns true iff list contains an object equal to value\n {\n return -1 != indexOf(value);\n }", "title": "" }, { "docid": "cfabb529ac8d996eecc1803a27dd527c", "score": "0.6233218", "text": "private boolean isInclude(int[] array, int element) {\n for (int anArray : array) {\n if (anArray == element) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "5e3e6fe71c670875fda80d85cccf47f8", "score": "0.62219936", "text": "public static boolean contains(int[] arr, int n)\n\t{\n\t\t//loop through the array\n\t\tfor(int i =0; i < arr.length; i++)\n\t\t{\n\t\t\t//if the number is already in the array\n\t\t\tif(arr[i] == n)\n\t\t\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "e1c32c07a9042ecc22e445261d121452", "score": "0.6212814", "text": "public static boolean search(int[] numArray, int num){\n\t\tboolean isFound = false;\n\t\tfor(int i = 0; i < numArray.length; i++) {\n\t\t\tif(numArray[i] == num) {\n\t\t\t\tisFound = true;\n\t\t\t}\n\t\t}\n\t\treturn isFound;\n\t}", "title": "" }, { "docid": "f8f7b459bb66ad581386c4d310f1fd34", "score": "0.6196938", "text": "public boolean determineArray(int[] data, int[] values)\n {\n boolean found = false;\n for (int j = 0; j < data.length; j++)\n {\n for (int i = 0; i < values.length; i++)\n {\n if (data[j] == values[i])\n {\n found = true;\n }\n }\n if (found == false)\n {\n return false;\n }\n found = false;\n }\n for (int i = 0; i < values.length; i++)\n {\n for (int j = 0; j < data.length; j++)\n {\n if (values[i] == data[j])\n {\n found = true;\n }\n }\n if (found == false)\n {\n return false;\n }\n found = false;\n }\n\n return true;\n }", "title": "" }, { "docid": "0e08cab5b9e3381e1ef3fa8ef805c7c6", "score": "0.618618", "text": "private boolean existsInArray(ArrayList<Place> stables, int x, int y){\n for(int i=0; i<stables.size(); i++){\n if(x==stables.get(i).getX() && y==stables.get(i).getY()){\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "72a5564af78c1969e53bae55dde7b4bb", "score": "0.6175332", "text": "boolean contains(int val);", "title": "" }, { "docid": "410021a8e28c99dd6d554f929d6c28de", "score": "0.6173789", "text": "@Override\r\n\tpublic boolean containsValue(Object value) {\n\t\treturn false;\r\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "46073ad62f26612646c7ecdefa1ddc3c", "score": "0.0", "text": "@Override\n \tpublic void addBrick() {\n \t\t\n \t\tmap.addBrick(brick);\n \n \t}", "title": "" } ]
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "title": "" }, { "docid": "e3110a393bd4b870b4055aa9ed6efd87", "score": "0.6602715", "text": "@Override\n\tpublic void attaquer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "534c466f09845319b9edaf959a891c09", "score": "0.65467274", "text": "@Override\r\n\tpublic void debriyaj() {\n\t\t\r\n\t}", "title": "" }, { "docid": "21d672149bbdd06ba8646ddf7f7f41d1", "score": "0.65211904", "text": "@Override\n\tprotected void descansar() {\n\t\t\n\t}", "title": "" }, { "docid": "21d672149bbdd06ba8646ddf7f7f41d1", "score": "0.65211904", "text": "@Override\n\tprotected void descansar() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481321", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481321", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "80762458b54fe841d7e4f99e4de13990", "score": "0.6464543", "text": "@Override\n\tprotected void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "80762458b54fe841d7e4f99e4de13990", "score": "0.6464543", "text": "@Override\n\tprotected void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "2dcda7054abb2ac593302e39a2284f12", "score": "0.64569044", "text": "@Override\n\tprotected void getExras() {\n\n\t}", "title": "" }, { "docid": "4541b4eaa2b2871ab4c98fc297f4dede", "score": "0.6389071", "text": "@Override\n\tpublic void descer() {\n\t\t\n\t}", "title": "" }, { "docid": "f37aebdfc461c1965abd4e2afbc83532", "score": "0.6359046", "text": "private void apparence()\r\n\t\t{\r\n\t\t//rien\r\n\t\t}", "title": "" }, { "docid": "0aeb31da8ebac864ecfc84df5be728c9", "score": "0.6342541", "text": "@Override\r\n\tpublic void koleos() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2e8b0d8bb9fd62c1559ca4b277c6505c", "score": "0.6332389", "text": "@Override\n\tpublic void 이체() {\n\t\t\n\t}", "title": "" }, { "docid": "83c17378086426b4324c4ea8c160e29d", "score": "0.626611", "text": "@Override\r\n\tpublic void provjeri() {\n\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "b14cffacd51e1ce2462cbb7320ae9815", "score": "0.6235278", "text": "@Override\n\tprotected void preInilize() {\n\t\t\n\t}", "title": "" }, { "docid": "4a318c00e2da3a27b638b396481252df", "score": "0.621979", "text": "@Override\r\n\tpublic void herbivore() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3e556c0f03a7d2509fe80fc61a60a369", "score": "0.62114227", "text": "@Override\n\t\t\t\tpublic void init() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "c612bcadafd393d086f44fd19558a8be", "score": "0.61539394", "text": "@Override\r\n\tpublic void inicialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3f774182d4215967c63b04db821b349", "score": "0.6145912", "text": "@Override\r\n\tpublic void munul() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.6141126", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "314ae73dd9b4e0fd24e41e58c68718e8", "score": "0.6126155", "text": "@Override\r\n\tpublic void conducir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "50eb8922149b6987def0b49575615f5e", "score": "0.61245364", "text": "@Override\n protected void getExras() {\n }", "title": "" }, { "docid": "03dec34dcb010fb4f8aaffffeb038a5c", "score": "0.6122166", "text": "@Override\r\n public void atacar() {\n \r\n }", "title": "" }, { "docid": "7dc226c2dd73339594b9a5d78d538a9b", "score": "0.6068579", "text": "public void soigner() {\n\t\t\n\t}", "title": "" }, { "docid": "bdc1683df7d1d6b2d988cd3acab4903e", "score": "0.60398114", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "9e3b9f67f6df4ff7587902e76540dbce", "score": "0.60307544", "text": "@Override\n\tpublic void nadar() {\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "7c2f530eef910ca7368316b6425dbb09", "score": "0.60089034", "text": "@Override\n\t\t\tpublic void test12() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a8466bdc481ff3361d07776f72a6ad5a", "score": "0.60056853", "text": "@Override\n\tpublic void fliegen() {\n\t\t\n\t}", "title": "" }, { "docid": "4e2bc6086cff0dc11f4d0ca1a0f610c2", "score": "0.60052466", "text": "@Override\r\n\tpublic void tired() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bcc647eaea257a78c8d339a2668f39eb", "score": "0.59953445", "text": "@Override\r\n\tpublic void thirsty() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8a2f3b349a25374b05205f9955000cb0", "score": "0.59933674", "text": "public void omzet(){\n\t}", "title": "" }, { "docid": "4d0d3ada3b77658f4e45ede4fd37399e", "score": "0.59840435", "text": "@Override\n\t\t\tvoid fazTal() {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t}", "title": "" }, { "docid": "690c3795eb018aa9906a3ed189d8e3a0", "score": "0.5965588", "text": "@Override\n\tpublic void atacar() {\n\n\t}", "title": "" }, { "docid": "5fa8025455ce490980ad8cccfd13eea3", "score": "0.5963883", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "3f2920a75faf042f941c5de3f07f1cbc", "score": "0.59580034", "text": "@Override\n\tpublic void postInilize() {\n\t\t\n\t}", "title": "" }, { "docid": "573e777b1723411d46abc7892cb5caea", "score": "0.5933409", "text": "public void mo5608a() {\n }", "title": "" }, { "docid": "fb7e6b2a89843e694a13571c31377718", "score": "0.59090626", "text": "public void mo19849a() {\n }", "title": "" }, { "docid": "234aa77d9cf02b8617820e857e5304e4", "score": "0.58938795", "text": "public void comer(){\n\t\t\n\t}", "title": "" }, { "docid": "b9700791b625283953260f34cbaa3438", "score": "0.5879405", "text": "@Override\n public void visitEnd() {\n }", "title": "" }, { "docid": "ff2a26de6775216e86ea92e547fb9c42", "score": "0.5869516", "text": "@Override\n\tpublic void manobrar() {\n\t\t\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.5854053", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "4218376ad671a7e613b2d401e5484e2d", "score": "0.58539504", "text": "@Override\n\t\t\tpublic void accept(Visitor visitor) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "2f3e7c4f4d0072a55c8e0187be049a27", "score": "0.58473253", "text": "public void mo9610b() {\n }", "title": "" }, { "docid": "e04f934fbe00df663fa9d5d545a1a729", "score": "0.5845961", "text": "@Override\n public void sporcuPuaniGoster() {\n\n }", "title": "" }, { "docid": "252960e025bfa106bbe3903b4e4cbd3c", "score": "0.58432287", "text": "public void mo35709a() {\n }", "title": "" }, { "docid": "c9fd6fa2969355fe1396f0967662f775", "score": "0.58328706", "text": "@Override\n\t\t\tpublic int defence() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "087d8f1969faa21f6247025aedc8b4be", "score": "0.5826683", "text": "@Override\n\tpublic void faseRondas() {\n\t\t\n\t}", "title": "" }, { "docid": "164451c7abb6fff8ecb189a8f21fcd12", "score": "0.58159095", "text": "@Override\n\tpublic void init() {\n\t\n\n\t}", "title": "" }, { "docid": "b7e98de900f4657495e91d5ff4bd6bd6", "score": "0.58140445", "text": "@Override\r\n\tpublic void init(){\r\n\t}", "title": "" }, { "docid": "655a271d981b875feb8fbc679e1a4f87", "score": "0.5804755", "text": "public void mo9609a() {\n }", "title": "" }, { "docid": "8784a223ae524195b951c7522a3dc7dc", "score": "0.5794505", "text": "@Override\n\tprotected void createObject() {\n\n\t}", "title": "" }, { "docid": "2c61ed93c2e8a4e918b773dc3a2e7966", "score": "0.57887554", "text": "private void traiteCreerRegle() {\n\r\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "c6bc5d71695bfc44366c74f6f0fe2368", "score": "0.5771875", "text": "@Override\n\tvoid retoceder() {\n\t\t\n\t}", "title": "" }, { "docid": "a147e931a0b23fd21b8e6b39e13d9778", "score": "0.57693547", "text": "@Override\n\tprotected void alimentar() {\n\t\t\n\t}", "title": "" }, { "docid": "a147e931a0b23fd21b8e6b39e13d9778", "score": "0.57693547", "text": "@Override\n\tprotected void alimentar() {\n\t\t\n\t}", "title": "" }, { "docid": "6c897821a3b00faa6e582b1c5bd5b3c6", "score": "0.5768425", "text": "@Override\r\n\tpublic void direksiyon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "24508ad049d3837bebf9e0a440e73dd1", "score": "0.5767707", "text": "@Override\n\tpublic void tomar() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "1ed144b4d2aead457255ab8ddb73ac57", "score": "0.57549745", "text": "@Override\r\n\tpublic void limpar() {\n\r\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "2b918d595b2e03dbc4dff690dfae35e2", "score": "0.5750942", "text": "@Override\n\tpublic void getC() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "c6e40448cb261fef3ee1fc3a1f5373f0", "score": "0.5732929", "text": "@Override\n\tpublic void operation() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "8e056894cd061aea767d71a9c1b43d97", "score": "0.5701457", "text": "@Override\n\tpublic void init(){\n\t}", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.56931245", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "01841f81ab35e62f2bd0f7128634a0ab", "score": "0.56905705", "text": "@Override\n\tpublic void laufen() {\n\t\t\n\t}", "title": "" }, { "docid": "79ad318e5d0ad6ee82877d05e89a4257", "score": "0.5686335", "text": "public void mo10094a() {\n }", "title": "" }, { "docid": "804a3cf5821b9c54fd66c69b0953e805", "score": "0.5676017", "text": "@Override\n\tprotected void operateDataRefer() {\n\n\t}", "title": "" }, { "docid": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.567194", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "179a686178b5933a94ef6b9a53f1ed98", "score": "0.5669961", "text": "@Override\n public void visitEnd() {\n super.visitEnd();\n }", "title": "" }, { "docid": "9c40b6fea6b82ca9a9a7d36b6c663636", "score": "0.56666464", "text": "@Override\r\n public void init() {\n\r\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "a549c1e6bc27711b5c76bad3496de875", "score": "0.5647085", "text": "@Override\n\tpublic void faseInicializacion() {\n\t\t\n\t}", "title": "" } ]
c0da19e58c3630975ba6005497089d8f
This method was generated by MyBatis Generator. This method sets the value of the database column bbs_reply.topic_id
[ { "docid": "15f427b4f72a0a32bb034b023737d6d0", "score": "0.61073935", "text": "public void setTopicId(Long topicId) {\r\n this.topicId = topicId;\r\n }", "title": "" } ]
[ { "docid": "ec6fab9f33a4b97094db951b3513f855", "score": "0.66646844", "text": "public void setTopicId(int value) {\n this.topicId = value;\n }", "title": "" }, { "docid": "a46d933b66154a5f348712be4bd8743f", "score": "0.62726164", "text": "public void setTopicid(Integer topicid) {\n this.topicid = topicid;\n }", "title": "" }, { "docid": "8487a26dca2802ccf5d5abb410a7ec27", "score": "0.6200016", "text": "void setTopic(final Integer topic);", "title": "" }, { "docid": "7716137fbc2fb767005685f3df6e1837", "score": "0.6130905", "text": "public void setTopicid(Long topicid) {\r\n\t\tthis.topicid = topicid;\r\n\t}", "title": "" }, { "docid": "c16e4e6250db3633b7123011fe5518c3", "score": "0.60537255", "text": "public int getTopicId() {\n return topicId;\n }", "title": "" }, { "docid": "3438cbec1febe09c1c9e35c7ec0a74b5", "score": "0.60141546", "text": "public void setTopicId(Long topicId) {\n this.topicId = topicId;\n }", "title": "" }, { "docid": "27651c7eb107529f74bc366f74d74fa5", "score": "0.5997293", "text": "public Integer getTopicid() {\n return topicid;\n }", "title": "" }, { "docid": "8027da25216b99489002ef431a09e113", "score": "0.59680015", "text": "public Long getTopicid() {\r\n\t\treturn topicid;\r\n\t}", "title": "" }, { "docid": "b3dedaf183114c0ae34fa513bb78b64d", "score": "0.5963393", "text": "public Long getTopicId() {\r\n return topicId;\r\n }", "title": "" }, { "docid": "46a29205d00cb9d9b5a677bed7fb30da", "score": "0.5924974", "text": "public String getTopicId() {\n return this.TopicId;\n }", "title": "" }, { "docid": "46a29205d00cb9d9b5a677bed7fb30da", "score": "0.5924974", "text": "public String getTopicId() {\n return this.TopicId;\n }", "title": "" }, { "docid": "46a29205d00cb9d9b5a677bed7fb30da", "score": "0.5924974", "text": "public String getTopicId() {\n return this.TopicId;\n }", "title": "" }, { "docid": "ea088a664a87be6770f8c61010a54c54", "score": "0.59133893", "text": "public void setReplyId(Long replyId) {\r\n this.replyId = replyId;\r\n }", "title": "" }, { "docid": "e05c1a6c8dc9259c64f5a03e647dd65f", "score": "0.5904289", "text": "public Long getTopicId() {\n return topicId;\n }", "title": "" }, { "docid": "7d1502cddb9256452a2ae96857a1638f", "score": "0.5675073", "text": "public void setTopicID(int topicID) {\n\t\tthis.topicID = topicID;\n\t}", "title": "" }, { "docid": "26fea2d964d3f8d97ed718d21a5abc75", "score": "0.5658546", "text": "public void setTopicId(String TopicId) {\n this.TopicId = TopicId;\n }", "title": "" }, { "docid": "26fea2d964d3f8d97ed718d21a5abc75", "score": "0.5658546", "text": "public void setTopicId(String TopicId) {\n this.TopicId = TopicId;\n }", "title": "" }, { "docid": "26fea2d964d3f8d97ed718d21a5abc75", "score": "0.5658546", "text": "public void setTopicId(String TopicId) {\n this.TopicId = TopicId;\n }", "title": "" }, { "docid": "95a3d0c8dbb0b2ef99a324363460a415", "score": "0.55545026", "text": "@Override\n public int getID() {\n\t\treturn topicID;\n\t}", "title": "" }, { "docid": "e8949f11f3e847941bdc8a7b30efb37c", "score": "0.5539148", "text": "public Long getReplyId() {\r\n return replyId;\r\n }", "title": "" }, { "docid": "526d21f2954d8fca5930812e2817b818", "score": "0.5489231", "text": "@Override\r\n\tpublic void updateTopic(Topic topic) {\n\t\tSession session = HibernateSessionFactory.getSession();\r\n\t\tTopic t=(Topic)session.load(com.frank.bean.Topic.class, topic.getTopicID());\r\n\t\tt.setContent(topic.getContent());\r\n\t\tt.setSubItemID(topic.getSubItemID());\r\n\t\tt.setTopic(topic.getTopic());\r\n\t\tTransaction transaction = null;\r\n\t\ttry {\r\n\t\t\ttransaction = session.beginTransaction();\r\n\t\t\tsession.update(t);\r\n\t\t\ttransaction.commit();\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t\ttransaction.rollback();\r\n\t\t}\r\n\t\tHibernateSessionFactory.closeSession();\r\n\t}", "title": "" }, { "docid": "9c9d00cea6b6ebbce1db8a663ebfad64", "score": "0.54805255", "text": "public Long getTopiclinkid() {\r\n\t\treturn topiclinkid;\r\n\t}", "title": "" }, { "docid": "fd181cb1534ca500e28afd56637f41b2", "score": "0.5369487", "text": "public void setMessageId(int messageId) { this.messageId = messageId + 1; }", "title": "" }, { "docid": "527325d28230c14541707d2b7b1f750a", "score": "0.53299314", "text": "public void setTopic(String topic) {\r\n this.topic = topic;\r\n }", "title": "" }, { "docid": "46bccee3e72d17284e633c057d6baf34", "score": "0.5323377", "text": "public void setTopiclinkid(Long topiclinkid) {\r\n\t\tthis.topiclinkid = topiclinkid;\r\n\t}", "title": "" }, { "docid": "575d4fc40be54094d0d532130cd8d235", "score": "0.53158295", "text": "public void setMessageId(String messageId);", "title": "" }, { "docid": "3b4f42fd91209b5619d4eda7bbf3e83c", "score": "0.530547", "text": "public void setMessage(int messageId) { \n mMessage.setText(mContext.getResources().getString(messageId)); \n mMessage.setMovementMethod(ScrollingMovementMethod.getInstance()); \n }", "title": "" }, { "docid": "cb4976c0097ebd6ca1c137f4af257abe", "score": "0.5292383", "text": "void setForumId(int forumId);", "title": "" }, { "docid": "8a5aaf2e506ed1e41f7700f5f068d8bc", "score": "0.52829665", "text": "public void setTopic(String topic) {\n this.topic = topic;\n }", "title": "" }, { "docid": "0f1ad71c18817f3d965726682fd43ec6", "score": "0.52464324", "text": "@Override\n public void setMessageId(long messageId) {\n _message.setMessageId(messageId);\n }", "title": "" }, { "docid": "c1ec6693c46816b307f165e7d39f23c9", "score": "0.52297485", "text": "public Integer getTopicID() {\n return ratingKeyPK.getTopicID();\n }", "title": "" }, { "docid": "19063a495f8505e3f9e9f9e88d54ee83", "score": "0.52247566", "text": "public void setTopic(final Topic topic) {\n if (topic == null) {\n topicWho.setText(\"No topic set.\");\n } else {\n topicWho.setText(\"Topic set by \" + topic.getClient()\n + \"<br> on \" + new Date(1000 * topic.getTime()));\n topicText.setText(topic.getTopic());\n }\n }", "title": "" }, { "docid": "3426e4daea415dbd3d1934e3bfe11339", "score": "0.52137893", "text": "public void setReplyToId(java.lang.String replyToId) {\n this.replyToId = replyToId;\n }", "title": "" }, { "docid": "0fc26bfca306676be0aec9ae6ad0937d", "score": "0.51783544", "text": "void setReply(ch.iec.tc57._2011.schema.message.ReplyType reply);", "title": "" }, { "docid": "c7e2aa7aab67f53d6658fa6c0edba707", "score": "0.51330763", "text": "void setLocalTopic(final String string) {\n myTopic = string;\n }", "title": "" }, { "docid": "6093c8bddf3b492fb5ec3bcce7cba064", "score": "0.5112316", "text": "protected void setChangedTopic() {\n final String topic = topicDisplayPane.getTopic();\n if (!channel.getChannelInfo().getTopic().equals(topic)) {\n channel.setTopic(topic);\n }\n }", "title": "" }, { "docid": "8688ded88442d3d52497c873b5c2efc3", "score": "0.506942", "text": "private void initTopicData() {\n final IndexTopicAdapter adp_topic =\n new IndexTopicAdapter(getContext(), mValueEntity);\n rv_topic.setAdapter(adp_topic);\n rv_topic.setLayoutManager(new TopicLayoutManager(getContext(),\n OrientationHelper.VERTICAL,\n false,\n mValueEntity.getContent().size()));\n adp_topic.setOnItemClickLitener(new IndexTopicAdapter.OnItemClickLitener() {\n @Override\n public void onItemClick(View view, int position) {\n //set click position\n adp_topic.setSelection(position);\n }\n });\n }", "title": "" }, { "docid": "03d678f0b554e728b8a2276e280284a0", "score": "0.505457", "text": "@Override\r\n\tpublic Topic findTopicById(int topicID) {\n\t\tSession session = HibernateSessionFactory.getSession();\r\n\t\tObject oj = session.load(com.frank.bean.Topic.class, topicID);\r\n\t\tTopic topic = (Topic) oj;\r\n//\t\tHibernateSessionFactory.closeSession();\r\n\t\treturn topic;\r\n\t}", "title": "" }, { "docid": "211cfb7d441679bfa4571ce92da7f245", "score": "0.5015207", "text": "@Override\r\n\tpublic void updateTopic(Topic topic) {\n\t\ttopicMapper.updateTopic(topic);\r\n\t}", "title": "" }, { "docid": "9a89b377ba38c78f28279412c808c884", "score": "0.5015167", "text": "public String existsTopic(String topicId, String topicSubject, String inreplyto, String messageid)\n {\n String foundTopicId = null;\n String replyId = inreplyto;\n String previous = \"\";\n String previousSubject = topicSubject;\n boolean quit = false;\n \n // Search in existing messages for existing msg id = new reply id, and grab topic id\n // search replies until root message\n while (existingMessages.containsKey(replyId) && existingMessages.get(replyId) != null && !quit) {\n XWikiDocument msgDoc = null;\n try {\n msgDoc = context.getWiki().getDocument(existingMessages.get(replyId).getFullName(), context);\n } catch (XWikiException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n if (msgDoc != null) {\n BaseObject msgObj = msgDoc.getObject(SPACE_CODE + \".MailClass\");\n if (msgObj != null) {\n logger\n .debug(\"existsTopic : message \" + replyId + \" is a reply to \" + existingMessages.get(replyId));\n if (MailArchiveStringUtils.similarSubjects(this, previousSubject,\n msgObj.getStringValue(\"topicsubject\"))) {\n previous = replyId;\n replyId = msgObj.getStringValue(\"inreplyto\");\n previousSubject = msgObj.getStringValue(\"topicSubject\");\n } else {\n logger.debug(\"existsTopic : existing message subject is too different, exiting loop\");\n quit = true;\n }\n } else {\n replyId = null;\n }\n } else {\n replyId = null;\n }\n }\n if (replyId != inreplyto && replyId != null) {\n logger\n .debug(\"existsTopic : found existing message that current message is a reply to, to attach to same topic id\");\n foundTopicId = existingMessages.get(previous).getTopicId();\n logger.debug(\"existsTopic : Found topic id \" + foundTopicId);\n }\n // Search in existing topics with id\n if (foundTopicId == null) {\n if (!StringUtils.isBlank(topicId) && existingTopics.containsKey(topicId)) {\n logger.debug(\"existsTopic : found topic id in loaded topics\");\n if (MailArchiveStringUtils\n .similarSubjects(this, topicSubject, existingTopics.get(topicId).getSubject())) {\n foundTopicId = topicId;\n } else {\n logger.debug(\"... but subjects are too different\");\n }\n }\n }\n // Search with references\n if (foundTopicId == null) {\n String xwql =\n \"select distinct mail.topicid from Document doc, doc.object(\" + SPACE_CODE\n + \".MailClass) as mail where mail.references like '%\" + messageid + \"%'\";\n try {\n List<String> topicIds = queryManager.createQuery(xwql, Query.XWQL).execute();\n // We're not supposed to find several topics related to messages having this id in references ...\n if (topicIds.size() == 1) {\n foundTopicId = topicIds.get(0);\n }\n if (topicIds.size() > 1) {\n logger.warn(\"We should have found only one topicId instead of this list : \" + topicIds\n + \", using the first found\");\n }\n } catch (QueryException e) {\n logger.warn(\"Issue while searching for references\", e);\n }\n }\n // Search in existing topics with exactly same subject\n if (foundTopicId == null) {\n for (String currentTopicId : existingTopics.keySet()) {\n TopicShortItem currentTopic = existingTopics.get(currentTopicId);\n if (currentTopic.getSubject().trim().equalsIgnoreCase(topicSubject.trim())) {\n logger.debug(\"existsTopic : found subject in loaded topics\");\n if (!StringUtils.isBlank(inreplyto)) {\n foundTopicId = currentTopicId;\n } else {\n logger.debug(\"existsTopic : found a topic but it's first message in topic\");\n // Note : desperate tentative to attach this message to an existing topic\n // instead of creating a new one ... Sometimes replyId and refs can be\n // empty even if this is a reply to something already loaded, in this\n // case we just check if topicId was already loaded once, even if not\n // the same topic ...\n if (existingTopics.containsKey(topicId)) {\n logger\n .debug(\"existsTopic : ... but we 'saw' this topicId before, so attach to found topicId \"\n + currentTopicId + \" with same subject\");\n foundTopicId = currentTopicId;\n }\n }\n \n }\n }\n }\n \n return foundTopicId;\n }", "title": "" }, { "docid": "34991fed6facaac73baad49f38afd959", "score": "0.49837166", "text": "@Override\r\n\tpublic Board getBoardLinkTopicByTopicId(int topicId) {\n\t\treturn boardMapper.getBoardLinkTopicByTopicId(topicId);\r\n\t}", "title": "" }, { "docid": "a6c6546b3d2af92c2648a3eefe928ceb", "score": "0.49807563", "text": "public void setTopicSetter(final String newValue) {\n topicSetter = newValue;\n }", "title": "" }, { "docid": "2fee5eb1e879249ae01b70b6abc1ddc5", "score": "0.49784532", "text": "public void setMessageId(Integer messageId) {\n this.messageId = messageId;\n }", "title": "" }, { "docid": "2fee5eb1e879249ae01b70b6abc1ddc5", "score": "0.49784532", "text": "public void setMessageId(Integer messageId) {\n this.messageId = messageId;\n }", "title": "" }, { "docid": "10f7c7e5406468e7656489995d3f3849", "score": "0.49732825", "text": "@Override\r\n\tpublic void deleteTopic(int topicID) {\n\t\r\n\t\tSession session = HibernateSessionFactory.getSession();\r\n\t\tTopic topic = (Topic) session.load(com.frank.bean.Topic.class,topicID);\r\n\t\tTransaction transaction = null;\r\n\t\ttry {\r\n\t\t\ttransaction = session.beginTransaction();\r\n\t\t\tsession.delete(topic);\r\n\t\t\ttransaction.commit();\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t\ttransaction.rollback();\r\n\t\t}\r\n\t\tHibernateSessionFactory.closeSession();\r\n\t}", "title": "" }, { "docid": "3b9b5b2e7dff14e9824f780668a781e9", "score": "0.4970985", "text": "private void changeTopic() {\n\t\t\n\t\tint noOfTopics = this.questionList.size();//size of hash map\n\t\tint attempts = 0;//adding a fail-safe\n\t\tRandom randomGenerator = new Random();\n\t\tSet<String> topicsSet = this.questionList.keySet();//just get topic names\n\t\tString[] topicsArr = topicsSet.toArray(new String[topicsSet.size()]);//integer indexed array of topic names\n\t\tboolean foundTopic = false;//loop condition\n\t\t\n\t\twhile(!foundTopic) {//will loop till we find a safe topic\n\t\t\t\n\t\t\tint index = randomGenerator.nextInt(noOfTopics);//getting random integer for array index\n\t\t\tattempts++;\n\t\t\tString topicChosen = topicsArr[index];\n\t\t\tboolean notOpenerOrCloser = !(topicChosen.equals(INITIAL_TOPIC_NAME_IF_STARTING) || topicChosen.equals(END_TOPIC));\n\t\t\tboolean notVisited = !(this.graphs.get(topicChosen).isVisited());\n\t\t\t\n\t\t\tif(notOpenerOrCloser && notVisited) { //if both evaluate to true we have found our new topic\n\t\t\t\tfoundTopic = true;\n\t\t\t\tthis.currentTopic = topicChosen;//set current topic\n\t\t\t\tthis.currentNode = this.graphs.get(topicChosen);//set current node\n\t\t\t}\n\t\t\t\n\t\t\tif(!foundTopic && attempts == noOfTopics) {//if we're all out of topics, end the conversation\n\t\t\t\tfoundTopic = true;\n\t\t\t\tthis.currentTopic = END_TOPIC;\n\t\t\t\tthis.currentNode = this.graphs.get(this.currentTopic);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "2362e836d135a1428f167eda485c1f12", "score": "0.49706736", "text": "public void setMessageId(Long messageId) {\n this.messageId = messageId;\n }", "title": "" }, { "docid": "7c38d976b717432bc55f3bc71ef5361e", "score": "0.49625552", "text": "public void setNoteTopic(String noteTopic) {\n this.noteTopic = noteTopic;\n }", "title": "" }, { "docid": "747d73d198b6109f2681febd65918b73", "score": "0.49613938", "text": "public void postReply(String topicId, String value) throws IOException\n\t{\n\t\tensureLogin();\n\t\t\n\t\tlog(\"Posting reply...\");\n\t\tURL url = new URL(\"http://digibutter.nerr.biz/comments/submit\");\n\t\tHttpURLConnection connection = (HttpURLConnection)url.openConnection();\n\t\tString content = \"value=\" + value + \"&topicid=\" + topicId;\n\t\tlog(content);\n\t\t//content = content.replace(' ', '+');\n\t\t\n\t\tconnection.setRequestMethod(\"POST\");\n\t\tconnection.setRequestProperty(\"Content-Type\", \"application/x-www-form-urlencoded; charset=UTF-8\");\n\t\tconnection.setRequestProperty(\"Cookie\", cookieString());\n\t\tconnection.setRequestProperty(\"Content-Length\", Integer.toString(content.getBytes().length));\n\t\tconnection.setRequestProperty(\"X-Requested-With\", \"XMLHttpRequest\");\n\t\tconnection.setDoOutput(true);\n\t\t\n\t\tDataOutputStream stream = new DataOutputStream(connection.getOutputStream());\n\t\tstream.writeBytes(content);\n\t\tstream.close();\n\t\t\n\t\tupdateCookies(connection);\n\t\tconnection.disconnect();\n\t\t\n\t\tlog(\"Done.\");\n\t}", "title": "" }, { "docid": "ad0a92123bfcb765440d6e64a77162e5", "score": "0.4953437", "text": "public void setR6TopicId(java.lang.String r6TopicId) {\n this.r6TopicId = r6TopicId;\n }", "title": "" }, { "docid": "acbad3994a987036fd62ba8b7346c39c", "score": "0.495304", "text": "public void setMember(org.semanticwb.model.Topic value)\r\n {\r\n if(value!=null)\r\n {\r\n getSemanticObject().setObjectProperty(swb_assMember, value.getSemanticObject());\r\n }else\r\n {\r\n removeMember();\r\n }\r\n }", "title": "" }, { "docid": "2f3236fc23bcd0b3a9575b6e6fbc1618", "score": "0.49497634", "text": "private void setDeleteMsgID() {\r\n\t\tif (myReceiver != null && myReceiver.getUserName() != null && mySender != null && mySender.getUserName() != null &&\r\n\t\t\t\tmySendDateTime != null&& myContent != null && myContent.toString() != null){\r\n\t\t\tmyMsgID = myReceiver.getUserName().concat(mySender.getUserName()).concat(GCMMessageType.EditMessages.name()).concat(mySendDateTime).concat(\r\n\t\t\t\t\tmyContent.toString());\r\n\t\t}\t\t\t\r\n\t}", "title": "" }, { "docid": "c7c36b4c6781265db800d76851f43dd8", "score": "0.49390036", "text": "public void setMessage(Message id, String message);", "title": "" }, { "docid": "a7bfd555bdc1485e1c41807f8c187269", "score": "0.49308512", "text": "public void setSubscription(User user, Topic topic) {\n\n\t\tUserTopicSubscription subscriptionTemplate = new UserTopicSubscription(user.username, topic.index);\n\t\tapi.write(subscriptionTemplate);\n\n\t\tComment commentTemplate = new Comment();\n\t\tcommentTemplate.topicIndex = topic.index;\n\t}", "title": "" }, { "docid": "bf1e1635159eb5a523069b54a333334a", "score": "0.49241984", "text": "@RequestMapping(value = \"/{siteId}/{pageId}/reply/{topicId}/{commentId}.htm\", method = RequestMethod.GET)\n public void forwardReply(@PathVariable String siteId,\n @PathVariable String pageId,\n @PathVariable String topicId,\n @PathVariable String commentId,\n HttpServletRequest request, HttpServletResponse response) throws Exception {\n AuthRequest ar = AuthRequest.getOrCreate(request, response);\n\n int hyphenPos = topicId.indexOf(\"-\");\n String meetId = null;\n String agendaId = null;\n if (hyphenPos>0) {\n meetId = topicId.substring(0,hyphenPos);\n agendaId = topicId.substring(hyphenPos+1);\n topicId = null;\n }\n String responseUrl = \"../../Reply.htm?commentId=\" +URLEncoder.encode(commentId, \"UTF-8\");\n if (topicId!=null) {\n responseUrl += \"&topicId=\"+URLEncoder.encode(topicId, \"UTF-8\");\n }\n if (meetId!=null) {\n responseUrl += \"&meetId=\"+URLEncoder.encode(meetId, \"UTF-8\");\n }\n if (agendaId!=null) {\n responseUrl += \"&agendaId=\"+URLEncoder.encode(agendaId, \"UTF-8\");\n }\n String emailId = ar.defParam(\"emailId\", null);\n if (emailId!=null) {\n responseUrl += \"&emailId=\"+URLEncoder.encode(emailId, \"UTF-8\");\n }\n String mnnote = ar.defParam(\"mnnote\", null);\n if (mnnote!=null) {\n responseUrl += \"&mnnote=\"+URLEncoder.encode(mnnote, \"UTF-8\");\n }\n String mnm = ar.defParam(\"mnm\", null);\n if (mnm!=null) {\n responseUrl += \"&mnm=\"+URLEncoder.encode(mnm, \"UTF-8\");\n }\n\n ar.resp.sendRedirect(responseUrl);\n }", "title": "" }, { "docid": "16c2476450053acece5ec5b7618f1c3f", "score": "0.4923991", "text": "@Override\n\tpublic void update(Topic topic) {\n\t\tSession session = null;\n\t\tTransaction transaction = null;\n\t\t\n\t\ttry {\n\t\t\tsession = getSessionFactory().openSession();\n\t\t\ttransaction = session.beginTransaction();\n\t\t\tsession.update(topic);\n\t\t\ttransaction.commit();\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t\ttransaction.rollback();\n\t\t}finally{\n\t\t\tsession.close();\n\t\t}\n\t}", "title": "" }, { "docid": "9bc992e5c016f408b2d902420e2e94e7", "score": "0.4895627", "text": "public java.lang.String getReplyToId() {\n return replyToId;\n }", "title": "" }, { "docid": "807211abe9a6fa74343e1782d8e91137", "score": "0.489083", "text": "public void setMsgId(String msgId) {\r\n this.msgId = msgId;\r\n }", "title": "" }, { "docid": "688e1f9d5f6e689c8537910e51100199", "score": "0.48799643", "text": "@Override\n\tpublic Topic findTopicById(String topicId) {\n\t\treturn communityDao.findTopicById(topicId);\n\t}", "title": "" }, { "docid": "d892d8ce2731c5b34b807c10a1ad2e85", "score": "0.48776194", "text": "public void setVproCommentReplyId(Integer vproCommentReplyId) {\n this.vproCommentReplyId = vproCommentReplyId;\n }", "title": "" }, { "docid": "7c1b42370b12a9db8d91905c635a49ff", "score": "0.48701984", "text": "public void setId_message(Long id_message) {\n this.id_message = id_message;\n }", "title": "" }, { "docid": "95b0c5326b7dc2f0e3a049d6662fc843", "score": "0.4869136", "text": "@Override\r\n\tpublic void execute() {\n\t\t((TwitterDataSubject) this.subjectRef).setTopic(this.getText());\r\n\t\tfetchTweets.execute();\r\n\t\tSystem.out.println(\"trend btn pressed topic set to : \"+ ((TwitterDataSubject) this.subjectRef).getTopic());\r\n\t}", "title": "" }, { "docid": "3515d26fa2b96864e01f8f76b1e1f95f", "score": "0.48502845", "text": "Integer getTopic();", "title": "" }, { "docid": "5c718b93637d8a1254872e69e082a0fa", "score": "0.48468268", "text": "@Override\n\tpublic void setId(long id) {\n\t\t_faqAnswer.setId(id);\n\t}", "title": "" }, { "docid": "8a6323c6195798e88fadb8b7d6c9ed88", "score": "0.48417664", "text": "@JsonSetter(\"msg_id\")\n public void setMessageId(String messageId) {\n this.messageId = messageId;\n }", "title": "" }, { "docid": "99ead7f1cc27645a5289303139f3a425", "score": "0.48403415", "text": "public void setMsgId(String msgId) {\n this.msgId = msgId == null ? null : msgId.trim();\n }", "title": "" }, { "docid": "8813e6c3f9f5b03ebb07ea30e6c10bf7", "score": "0.48379886", "text": "public void setBrokerTopic(String brokerTopic) {\n\t\tthis.brokerTopic = brokerTopic;\n\t}", "title": "" }, { "docid": "9527736925b61ae0a767c0ff8c8b6d26", "score": "0.4825474", "text": "@Override\r\n\tpublic void removeTopic(int topicId) {\n\t\tTopic topic = new Topic();\r\n\t\ttopic.setTopicId(topicId);\r\n\t\ttopicMapper.deleteTopic(topic);\r\n\t}", "title": "" }, { "docid": "d11719f23692f017639d526de092d9fc", "score": "0.48141977", "text": "int getForumId();", "title": "" }, { "docid": "fb76c9496030ceabef4b31efc2210ec1", "score": "0.48129824", "text": "public String getTopic() {\n return topic;\n }", "title": "" }, { "docid": "4679c43df57e408613a7409fbeccc3db", "score": "0.4806635", "text": "public void subscribeUser(final int forumId, final int userId);", "title": "" }, { "docid": "c79993c3c7e9fd386ec74dc04b7ffc65", "score": "0.47954762", "text": "public void setReplyEmail(String replyEmail) {\n this.replyEmail = replyEmail;\n }", "title": "" }, { "docid": "68d31bcb27505ec9653050e845ae76fd", "score": "0.47946927", "text": "public void setMessageId(String messageId) {\n msgId = messageId;\n }", "title": "" }, { "docid": "260efa53be96246665fad0937c92de51", "score": "0.47847018", "text": "public void setMessageId(String messageId)\n {\n this.messageId = messageId;\n }", "title": "" }, { "docid": "cce9eb518f1a6f96db801bfff54c28a9", "score": "0.47807774", "text": "@Transactional(propagation=Propagation.SUPPORTS)\n\tpublic List<ForumInfo> getpostTopic(int id) {\n\t\treturn forumDao.getpostTopic(id);\n\t}", "title": "" }, { "docid": "f90ac1d8d17c7da7a18cebc32655a0fa", "score": "0.4776522", "text": "@Override\n\tpublic void setUserId(long userId) {\n\t\t_faqAnswer.setUserId(userId);\n\t}", "title": "" }, { "docid": "f3a1a53fac7019b6539c85fbcb99aa74", "score": "0.47631547", "text": "java.lang.String getTopic();", "title": "" }, { "docid": "674f0c4b4fb7238b219776c90a41cdc5", "score": "0.476074", "text": "public String getTopic() {\r\n return topic;\r\n }", "title": "" }, { "docid": "749fbdb8ecf79c2bdc3ecd8152b30e63", "score": "0.47550675", "text": "public void setMsgId(BigDecimal msgId) {\n this.msgId = msgId;\n }", "title": "" }, { "docid": "3f67b6c0e5ae5b558e8ba90a5f595204", "score": "0.47544125", "text": "public AnswerEntity getAnswerReplyByID(long answerId);", "title": "" }, { "docid": "42a865cd2bcfe9c789e87577db8d0525", "score": "0.47504437", "text": "void setMsgId(String data) {\n\t\tm_msgId = data;\n\t}", "title": "" }, { "docid": "38c92f6e93b2f11223d93c8ccbd42205", "score": "0.47143918", "text": "public String getTopicMapId() {\r\n\t\treturn topicMapId;\r\n\t}", "title": "" }, { "docid": "eaa0704b99ab5d1316524f971c88c5fd", "score": "0.47142792", "text": "public int updateReaded(String tid) {\n\t\treturn topicDao.updateReadedByPrimaryKey(tid);\r\n\t}", "title": "" }, { "docid": "f76d2deac22051c65192609baed6f980", "score": "0.471388", "text": "public Long newTopic(Topic topic);", "title": "" }, { "docid": "25d7fa1a4a1aab557875cda802861612", "score": "0.4713579", "text": "TopicUserForbid selectByPrimaryKey(Long id);", "title": "" }, { "docid": "35c511f7d5c008531ce6ed4638dba848", "score": "0.4711828", "text": "public Result<TopicView> getTopic(int topicId);", "title": "" }, { "docid": "ce74fc3e3dd1addf904d127a4fc7cbe7", "score": "0.47098336", "text": "public void setMessageId(String messageId) {\n this.messageId = messageId;\n messageIdBytes = null;\n }", "title": "" }, { "docid": "8098c9f5ed0e762f6d097cbe3044e148", "score": "0.47065708", "text": "@Override\n\tpublic void setQuestionid(long questionid) {\n\t\t_faqAnswer.setQuestionid(questionid);\n\t}", "title": "" }, { "docid": "ed869b93d44feb5deeeba40fbaa6205c", "score": "0.4692913", "text": "int updateByPrimaryKey(TopicUserForbid record);", "title": "" }, { "docid": "77b39c18aab89daa1dc6b17ec83f24bf", "score": "0.4689234", "text": "@Override\n public void removeTopic(final int topicID) {\n\n topicDao.removeTopic(topicID);\n }", "title": "" }, { "docid": "5dc89c0c633535b419de9f8751ada38c", "score": "0.46863875", "text": "public Topic update(Topic topic) throws DataAccessException {\n if (topic == null) {\n throw new IllegalArgumentException(\"Can't update by a null data object.\");\n }\n getSqlMapClientTemplate().update(\"update.Topic.trade\", topic);\n return topic;\n }", "title": "" }, { "docid": "e007ee949d90a7240a1f52ef45a79a13", "score": "0.46863297", "text": "public long AddTopic(Topic topic){\n\n long id;\n ContentValues values = new ContentValues();\n values.put(NewConferenceDB.TableTopic.TOPIC_NAME, topic.getNameTopic());\n values.put(NewConferenceDB.TableTopic.TOPIC_DATE, topic.getDate());\n values.put(NewConferenceDB.TableTopic.TOPIC_START_TIME, topic.getStartTime());\n values.put(NewConferenceDB.TableTopic.TOPIC_END_TIME, topic.getEndTime());\n values.put(NewConferenceDB.TableTopic.TOPIC_ID_SPEAKER, topic.getIdSpeaker());\n values.put(NewConferenceDB.TableTopic.TOPIC_ID_ROOM, topic.getIdRoom());\n\n id = this.db.insert(NewConferenceDB.TableTopic.TABLE_NAME_TOPIC, null, values);\n return id;\n }", "title": "" }, { "docid": "b0793eb94f9860e5de8f47399429872e", "score": "0.46818438", "text": "public void setDiscussion_topic(String discussion_topic) {\n this.discussion_topic = discussion_topic;\n }", "title": "" }, { "docid": "8c5030ee2b39ffd4e43f7cd156556874", "score": "0.46729216", "text": "public void ReplyToDiscussion(int index,String replytext)\n\t{\n WebDriver driver=Driver.getWebDriver();\n\t\ttry\n\t\t{\n\t\t\tList<WebElement> allreply=driver.findElements(By.id(\"al-user-discussion-question-replay\"));\n\t\t\tallreply.get(index).click();\n\t\t\tThread.sleep(1000);\n\t\t\tdriver.findElement(By.className(\"al-discussion-reply-text-section\")).click();\n\t\t\tdriver.findElement(By.className(\"al-discussion-reply-text-section\")).sendKeys(replytext+Keys.ENTER);\n\t\t\tThread.sleep(2000);\n\t\t\t\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tnew Screenshot().captureScreenshotFromAppHelper();\n\t\t\tAssert.fail(\"Exception in app helper ReplyToDiscussion in class AddDiscussionInQuestions\",e);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "f00978544f6776d7d31846768871245a", "score": "0.4670496", "text": "public void setMessageAsDeleted(Long messageId) {\n\n// Message selectedMessage = entityManager.find(Message.class,messageId);\n// selectedMessage.setFlaggedAsDeleted(true);\n//\n// Message returnMessage = new Message(selectedMessage);\n// entityManager.merge(selectedMessage);\n }", "title": "" }, { "docid": "d196f20d2579ea5fad3a3978a5a0c5e2", "score": "0.46684834", "text": "public java.lang.String getR6TopicId() {\n return r6TopicId;\n }", "title": "" }, { "docid": "f46c9cd2c64abe30552946f8b3a613fc", "score": "0.46605268", "text": "public void setPerformedEmoteID(int id) {\n\t\temoteID = id;\n\t}", "title": "" }, { "docid": "0bb75b9b851887243590b7417618f6bb", "score": "0.46525484", "text": "public Result createTopic(int forumId, String username, String title, String text);", "title": "" }, { "docid": "5951e22158a21a0b9b5b56fc92d9c33d", "score": "0.46508017", "text": "@Override\n\tpublic List<News_Content> selectByTopicID(int id) {\n\t\treturn contentDao.selectByTopicID(id);\n\t}", "title": "" }, { "docid": "86ab5dafd8e99fa789dc3db793e32e9a", "score": "0.46465185", "text": "public final void setMessage_id(java.lang.String message_id)\n\t{\n\t\tsetMessage_id(getContext(), message_id);\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4cc17ab0e198d85844bae9f04348e0d3", "score": "0.0", "text": "@Override\n\t\t\t\t\tpublic int compare(Integer o1, Integer o2) {\n\t\t\t\t\t\treturn o2 - o1;\n\t\t\t\t\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6676429", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "ffd8193c9cf73515d0f9301b9a7d8817", "score": "0.6485175", "text": "@Override\n\tpublic void morrer() {\n\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.622455", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.61936283", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "0d3bf6f2ee77f787007ba6b4021b5721", "score": "0.6164056", "text": "protected void olha()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e3a701d0fdb1fef5e0afd9dc7c345fcb", "score": "0.61634105", "text": "@Override\n\tprotected void generateData() {\n\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "4e49f5db36ca664153e54380025b85d4", "score": "0.6095768", "text": "protected boolean method_21825() {\n }", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.6074471", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "a613dcce17453a8e1eed3b984b6b35b1", "score": "0.6028443", "text": "@Override\n\tpublic void composant() {\n\t}", "title": "" }, { "docid": "6f653341cfc7d30c8418e4b72116f7e2", "score": "0.60278815", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.6027122", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "f2fe8a59406298fe7e97b543f2bf8186", "score": "0.60087883", "text": "@Override\r\n \tpublic void init() {\r\n \t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5988416", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "0ecc2b05fa1b3fe069983a07eba7914d", "score": "0.5978686", "text": "private void inicialitzarTaulell() {\r\n\t\t//PENDENT IMPLEMENTAR\r\n\t}", "title": "" }, { "docid": "9fe3f6ccb967a8bcee9106fbbd56b684", "score": "0.5974211", "text": "@Override\r\n\tpublic void properties() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.59513867", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "fcfbf321ff3e4c56b4e383ce15e49dbb", "score": "0.59429646", "text": "@Override\r\n\tpublic void obtersaida()\r\n\t{\n\t}", "title": "" }, { "docid": "482b1825ec60700f97ed42e420d69d99", "score": "0.59383935", "text": "@Override\n\tpublic void valide() {\n\t}", "title": "" }, { "docid": "b2775812be4cd009dca27a30c5ce78fa", "score": "0.59383595", "text": "@Override\n\tprotected void fouseChange() {\n\n\t}", "title": "" }, { "docid": "4b7e3f693781babf82ed11447db2a554", "score": "0.5929242", "text": "@Override\n\tpublic void concentrarse() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "41e50fb9a0b417818374927eb02c67f1", "score": "0.59280443", "text": "protected void mo5608a() {\n }", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "9a0f5a503f38cb7c40d13ecc89073bd8", "score": "0.58973867", "text": "@Override\r\n\tpublic void getDuriation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.58739185", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.58739185", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "32d0d506f2de2532fe4789f006c84da0", "score": "0.5863205", "text": "@Override\n\tpublic void bicar() {\n\t\t\n\t}", "title": "" }, { "docid": "02699a98134693036160a045239bddba", "score": "0.58500654", "text": "@Override\r\n\tpublic void zwroc() {\n\r\n\t}", "title": "" }, { "docid": "46569800c9d73cd59bcbec066cdb5304", "score": "0.58491904", "text": "private void lidoInf() {\n\n\n }", "title": "" }, { "docid": "b8d886581a76c72e11ab317e6cb6e2a8", "score": "0.58308905", "text": "@Override\r\n public void rechercher() {\n }", "title": "" }, { "docid": "80b5722cdc9efe11a305e92ea813ac0f", "score": "0.5827698", "text": "@Override\r\n\tpublic void inter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "947b4ee184fe32ab14b8c244b9461c7d", "score": "0.5807026", "text": "@Override\n\tpublic void vida() {\n\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.58069414", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c86f446a8bd6af19f88cc011fdf2ffd4", "score": "0.5802792", "text": "public void asustar() {\n // TODO implement here\n \n }", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.58025044", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "c8f75a8f93bc20d4e8695ba99b470e1d", "score": "0.580217", "text": "public void mo1684e() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "19b30f4f881d8f7b600c7c12f1c30963", "score": "0.57979786", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "bb30a482e2236eb664f8d8fc23724b59", "score": "0.57915", "text": "@Override\n\tprotected void initActb() {\n\t\t\n\t}", "title": "" }, { "docid": "7846476d210d55d45e5540a9c92b1ce3", "score": "0.57903147", "text": "@Override\n\tpublic void chocar() {\n\t\t\n\t}", "title": "" }, { "docid": "7846476d210d55d45e5540a9c92b1ce3", "score": "0.57903147", "text": "@Override\n\tpublic void chocar() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "0cc40600dd2e7cb9f56bd77995e01fc3", "score": "0.5780891", "text": "@Override\n\tpublic void Miow() {\n\t\t\n\t}", "title": "" }, { "docid": "a5600ed00582d8ca8d293829dcfd6c38", "score": "0.57797045", "text": "private void Syso() {\n\r\n\t}", "title": "" }, { "docid": "0a14b2c4ac9647e6bc7077e1e653d540", "score": "0.57781726", "text": "@Override\n \tprotected int getSize() {\n \t\treturn 0;\n \t}", "title": "" }, { "docid": "7d110d5ea1b4795727b052c3f897a146", "score": "0.5776224", "text": "public void ligar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "e022c47f335a39c6bdb94a0f49a4e940", "score": "0.5767807", "text": "@Override\r\n\tpublic void parar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "900d30c04323cde584c73c5ffa48d9cf", "score": "0.5757801", "text": "@Override\n\t\tpublic void visitEnd() {\n\n\t\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "0adb5f1f1c75684eab047201533dcfe7", "score": "0.57495934", "text": "protected void mo5609b() {\n }", "title": "" }, { "docid": "c16c8d1ea4a8c8572e4aa91460503742", "score": "0.57494617", "text": "private void Initalization() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "734b1972ec29b58535c294e3962d017d", "score": "0.5732932", "text": "@Override\n\tpublic void generar() {\n\t\t\n\t}", "title": "" }, { "docid": "4da4d5cf96c032296a894fc6e8d76283", "score": "0.5718805", "text": "@Override\n\tpublic void beCagey() {\n\t\t\n\t}", "title": "" }, { "docid": "a8f4d3149e0f7a43b23b53ce69363fd6", "score": "0.57184815", "text": "public void mo5202b() {\n }", "title": "" }, { "docid": "c2a6308317d4e5fc230ea7d2fb55fc1b", "score": "0.5715011", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5bf2af4f4b249e64b94d626fd2336d3c", "score": "0.0", "text": "@Override\r\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tif (v == mBtn_back) {\r\n\t\t\t\t\t\t\tPicActivity.this.finish();\r\n\t\t\t\t\t\t}else if( v == mBtn_next )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif( mViewPager.getCurrentItem() + 1 < array.length())\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tmViewPager.setCurrentItem(mViewPager.getCurrentItem() + 1);\r\n\t\t\t\t\t\t\t}else\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tToast.makeText(PicActivity.this, \"the last one\", Toast.LENGTH_SHORT).show();\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}else if( v == mBtn_prev )\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif( mViewPager.getCurrentItem() - 1 >= 0 )\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tmViewPager.setCurrentItem(mViewPager.getCurrentItem() - 1);\r\n\t\t\t\t\t\t\t}else {\r\n\t\t\t\t\t\t\t\tToast.makeText(PicActivity.this, \"the first one\", Toast.LENGTH_SHORT).show();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6676429", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "ffd8193c9cf73515d0f9301b9a7d8817", "score": "0.6485175", "text": "@Override\n\tpublic void morrer() {\n\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.622455", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.61936283", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "0d3bf6f2ee77f787007ba6b4021b5721", "score": "0.6164056", "text": "protected void olha()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e3a701d0fdb1fef5e0afd9dc7c345fcb", "score": "0.61634105", "text": "@Override\n\tprotected void generateData() {\n\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "4e49f5db36ca664153e54380025b85d4", "score": "0.6095768", "text": "protected boolean method_21825() {\n }", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.6074471", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "a613dcce17453a8e1eed3b984b6b35b1", "score": "0.6028443", "text": "@Override\n\tpublic void composant() {\n\t}", "title": "" }, { "docid": "6f653341cfc7d30c8418e4b72116f7e2", "score": "0.60278815", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.6027122", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "f2fe8a59406298fe7e97b543f2bf8186", "score": "0.60087883", "text": "@Override\r\n \tpublic void init() {\r\n \t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5988416", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "0ecc2b05fa1b3fe069983a07eba7914d", "score": "0.5978686", "text": "private void inicialitzarTaulell() {\r\n\t\t//PENDENT IMPLEMENTAR\r\n\t}", "title": "" }, { "docid": "9fe3f6ccb967a8bcee9106fbbd56b684", "score": "0.5974211", "text": "@Override\r\n\tpublic void properties() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.59513867", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "fcfbf321ff3e4c56b4e383ce15e49dbb", "score": "0.59429646", "text": "@Override\r\n\tpublic void obtersaida()\r\n\t{\n\t}", "title": "" }, { "docid": "482b1825ec60700f97ed42e420d69d99", "score": "0.59383935", "text": "@Override\n\tpublic void valide() {\n\t}", "title": "" }, { "docid": "b2775812be4cd009dca27a30c5ce78fa", "score": "0.59383595", "text": "@Override\n\tprotected void fouseChange() {\n\n\t}", "title": "" }, { "docid": "4b7e3f693781babf82ed11447db2a554", "score": "0.5929242", "text": "@Override\n\tpublic void concentrarse() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "41e50fb9a0b417818374927eb02c67f1", "score": "0.59280443", "text": "protected void mo5608a() {\n }", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "9a0f5a503f38cb7c40d13ecc89073bd8", "score": "0.58973867", "text": "@Override\r\n\tpublic void getDuriation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.58739185", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.58739185", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "32d0d506f2de2532fe4789f006c84da0", "score": "0.5863205", "text": "@Override\n\tpublic void bicar() {\n\t\t\n\t}", "title": "" }, { "docid": "02699a98134693036160a045239bddba", "score": "0.58500654", "text": "@Override\r\n\tpublic void zwroc() {\n\r\n\t}", "title": "" }, { "docid": "46569800c9d73cd59bcbec066cdb5304", "score": "0.58491904", "text": "private void lidoInf() {\n\n\n }", "title": "" }, { "docid": "b8d886581a76c72e11ab317e6cb6e2a8", "score": "0.58308905", "text": "@Override\r\n public void rechercher() {\n }", "title": "" }, { "docid": "80b5722cdc9efe11a305e92ea813ac0f", "score": "0.5827698", "text": "@Override\r\n\tpublic void inter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "947b4ee184fe32ab14b8c244b9461c7d", "score": "0.5807026", "text": "@Override\n\tpublic void vida() {\n\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.58069414", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c86f446a8bd6af19f88cc011fdf2ffd4", "score": "0.5802792", "text": "public void asustar() {\n // TODO implement here\n \n }", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.58025044", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "c8f75a8f93bc20d4e8695ba99b470e1d", "score": "0.580217", "text": "public void mo1684e() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "19b30f4f881d8f7b600c7c12f1c30963", "score": "0.57979786", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "bb30a482e2236eb664f8d8fc23724b59", "score": "0.57915", "text": "@Override\n\tprotected void initActb() {\n\t\t\n\t}", "title": "" }, { "docid": "7846476d210d55d45e5540a9c92b1ce3", "score": "0.57903147", "text": "@Override\n\tpublic void chocar() {\n\t\t\n\t}", "title": "" }, { "docid": "7846476d210d55d45e5540a9c92b1ce3", "score": "0.57903147", "text": "@Override\n\tpublic void chocar() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "0cc40600dd2e7cb9f56bd77995e01fc3", "score": "0.5780891", "text": "@Override\n\tpublic void Miow() {\n\t\t\n\t}", "title": "" }, { "docid": "a5600ed00582d8ca8d293829dcfd6c38", "score": "0.57797045", "text": "private void Syso() {\n\r\n\t}", "title": "" }, { "docid": "0a14b2c4ac9647e6bc7077e1e653d540", "score": "0.57781726", "text": "@Override\n \tprotected int getSize() {\n \t\treturn 0;\n \t}", "title": "" }, { "docid": "7d110d5ea1b4795727b052c3f897a146", "score": "0.5776224", "text": "public void ligar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "e022c47f335a39c6bdb94a0f49a4e940", "score": "0.5767807", "text": "@Override\r\n\tpublic void parar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "900d30c04323cde584c73c5ffa48d9cf", "score": "0.5757801", "text": "@Override\n\t\tpublic void visitEnd() {\n\n\t\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "0adb5f1f1c75684eab047201533dcfe7", "score": "0.57495934", "text": "protected void mo5609b() {\n }", "title": "" }, { "docid": "c16c8d1ea4a8c8572e4aa91460503742", "score": "0.57494617", "text": "private void Initalization() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "734b1972ec29b58535c294e3962d017d", "score": "0.5732932", "text": "@Override\n\tpublic void generar() {\n\t\t\n\t}", "title": "" }, { "docid": "4da4d5cf96c032296a894fc6e8d76283", "score": "0.5718805", "text": "@Override\n\tpublic void beCagey() {\n\t\t\n\t}", "title": "" }, { "docid": "a8f4d3149e0f7a43b23b53ce69363fd6", "score": "0.57184815", "text": "public void mo5202b() {\n }", "title": "" }, { "docid": "c2a6308317d4e5fc230ea7d2fb55fc1b", "score": "0.5715011", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" } ]
f54c148caed9b0b56b7b13d72ec865f8
Checks whether the circular deque is full or not.
[ { "docid": "202c9fd5a75d7f19246a99fa73574e70", "score": "0.78571343", "text": "public boolean isFull() {\n return size == queue.length;\n }", "title": "" } ]
[ { "docid": "9e16db48bafd4de80f7ddd6bd407ec1c", "score": "0.87094593", "text": "public boolean isFull() {\n return deque.size() >= size;\n }", "title": "" }, { "docid": "6068d2de9c98438bc1f868031ba98633", "score": "0.86177194", "text": "@Override\n\tpublic boolean isFull() {\n\t\treturn (count == circularQueue.length);\n\t}", "title": "" }, { "docid": "f263eaeeceb1be9bdc070c20ba85a1bf", "score": "0.8144941", "text": "public boolean isFull()\n {\n //% size operation is needed to implement circular queue\n return (head == (tail + 1) % size); \n }", "title": "" }, { "docid": "56444715d1163d232bb024e709fa4079", "score": "0.8002754", "text": "public boolean isQueueFull() {\n return ((rear - front) + 1) % capacity == 0;\n }", "title": "" }, { "docid": "40557b1ebac4d7b3c2992f59d8b9ca0c", "score": "0.78009415", "text": "@Override\n public boolean isEmpty() {\n return deque.isEmpty();\n }", "title": "" }, { "docid": "33ce5abff553bf6ee9137353a27fdfa6", "score": "0.7773979", "text": "public boolean isFull() {\n return (rear + 1) % capacity == front;\n }", "title": "" }, { "docid": "91c5203ab8ab18b86371b054d4c70524", "score": "0.77581716", "text": "public boolean isFull() {\n\t\treturn ((tailIndex + 1) % circularArr.length) == headIndex;\n\t}", "title": "" }, { "docid": "b1fa93c9d5b0d07058da85f14853be71", "score": "0.7705828", "text": "public boolean isFull() {\n // 尾在头前面的前面,注意这里是capacity + 1\n return (rear + 2) % (capacity + 1) == front;\n }", "title": "" }, { "docid": "7c35fb62159403add73acdb0cc34acd6", "score": "0.7637229", "text": "private boolean isFull() {\n\t\tif (front == (rear + 1) % maxSize) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "b4ce1c3d1ab851ccd17388cf2fa7e3c3", "score": "0.76252115", "text": "public boolean isFull() {\n return (tailPos + 1) % capacity == headPos;\n }", "title": "" }, { "docid": "e3cf78c2b9acfdb072fbb48575d73888", "score": "0.7620532", "text": "public Boolean isFull() {\n return top == capacity - 1;\n }", "title": "" }, { "docid": "ee3e244d2161a180f9c0db63b9a4ec29", "score": "0.7586117", "text": "public boolean IsFull () {\n if (front == SIZE - 1)\n return true;\n else\n return false;\n }", "title": "" }, { "docid": "8d9cd1ba528dbbfb1dae429032a1bc67", "score": "0.75657386", "text": "public boolean isEmpty() {\n return deque.isEmpty();\n }", "title": "" }, { "docid": "2422ab98ca753dab73106078cca5a1c3", "score": "0.75476724", "text": "public boolean isFull()\n\t{\n\t\treturn (size() >= capacity);\n\t}", "title": "" }, { "docid": "6b1cba174c2f4352d5fde84c2bfb8338", "score": "0.7505963", "text": "boolean isFull() {\n return (top == capacity - 1 ? true : false);\n }", "title": "" }, { "docid": "974cf89cca99b20db7c26f3c537f499b", "score": "0.750091", "text": "public boolean isFull() {\n\t\treturn size() == capacity;\n\t}", "title": "" }, { "docid": "f83031d57115dfc806ceaae756b13be1", "score": "0.74825436", "text": "public boolean isFull()\r\n {\r\n return(size() == capacity);\r\n }", "title": "" }, { "docid": "8c6501025b0524ffe2fdca169f6cbd3f", "score": "0.74810994", "text": "public boolean isFull()\n {\n return this.size() >= this.getCapacity();\n }", "title": "" }, { "docid": "8ece951b4fb626c93b31f7a3585bc5a7", "score": "0.74632114", "text": "@Override\n public boolean isFull() {\n if (this.front == 0 && this.rear == CAPACITY - 1) {\n return true;\n }\n\n return this.front == this.rear + 1;\n }", "title": "" }, { "docid": "876a13757dfee7d06aa10d71a7259bc8", "score": "0.7453957", "text": "private boolean isFull() {\n\t\treturn (front == 0 && rear == arr.length - 1) || ((rear + 1) % arr.length == front);\n\t}", "title": "" }, { "docid": "80e866a95ec5e77e3ac7609c8fa0925f", "score": "0.7448061", "text": "public boolean isFull () {\n return (front==0 && back == SIZE-1);\n }", "title": "" }, { "docid": "a99527fe7cadeec8238c202b09271cf4", "score": "0.74398786", "text": "boolean isFull() {\n return numElements == capacity;\n }", "title": "" }, { "docid": "70b9cb2f7f27a3d15df91f1539368fde", "score": "0.74044263", "text": "public boolean isFull() {\n return this.container.size() == this.bufferSize;\n }", "title": "" }, { "docid": "8abc257ab65bba7962e4eea349952853", "score": "0.7400537", "text": "public boolean isFull() {\n\t\tif (this.size() == this.capacity)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "bb26429abdac7aececb67f87780fde55", "score": "0.7372487", "text": "public boolean isFull()\n\t{\n\t\tif (elementCount >= capacity())\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "b72cd81f72b58f687714dc8ba3c741e1", "score": "0.7312807", "text": "private boolean isFull() {\n if (top == capacity) { // note: compares if top has reached capacity limit\n System.out.println(\"Error. Stack is full.\");\n return true;\n } \n return false; // note: defaults to false\n }", "title": "" }, { "docid": "4eb8f7167c5ef1a94e27de784ce1d5d6", "score": "0.7307265", "text": "private boolean isFull() {\r\n return size == elements.length;\r\n }", "title": "" }, { "docid": "26ec0d71264ad48186ad21fec3c8a886", "score": "0.7301145", "text": "public boolean isFull() {\n\t\tif(rear == maxSize-1)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "2e2085b396a4cd089e9758f0f8b26b53", "score": "0.72838813", "text": "public boolean isFull() {\n return count == length;\n }", "title": "" }, { "docid": "7f1a1e1d102ebae931e020cd3d83139a", "score": "0.7267212", "text": "public boolean isEmpty() {\n // 尾在头前面,注意这里是capacity + 1\n return (rear + 1) % (capacity + 1) == front;\n }", "title": "" }, { "docid": "2050d95ac3f24e43bff34313ac09bf98", "score": "0.7262224", "text": "public boolean couldFill() {\n return (isDraining() && (!hasRemaining() || (getBytes().limit() < getBytes()\n .capacity())));\n }", "title": "" }, { "docid": "4fdc700a363f06c4da23981c832aeb68", "score": "0.7254759", "text": "public boolean empty() {\n return deque.isEmpty();\n }", "title": "" }, { "docid": "4804432f70f88f1da99fee77dda4baeb", "score": "0.7251624", "text": "public boolean isFull() {\r\n return (this.capacity==this.count);\r\n }", "title": "" }, { "docid": "bb9de1e4b3674e8cb8a598aba45b5d8e", "score": "0.7236381", "text": "public boolean isFull() {\n if((rear+1)%this.elem.length==front){\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "ad0ca1e6f21d22fdab0e10d9d29de0b5", "score": "0.72283125", "text": "public boolean isFull() {\n\t\treturn this.size() == this.data.length;\n\t}", "title": "" }, { "docid": "0e8463b3f851e1ceddf150a650821400", "score": "0.71891624", "text": "public boolean isFull() {\n\t\treturn size == data.length;\n\t}", "title": "" }, { "docid": "aab30cb08975cb55475db6b3cc8c9e8c", "score": "0.7176488", "text": "public <T> boolean isFull()\n\t{\n\treturn (top == maxSize - 1);\n}", "title": "" }, { "docid": "b0409a1c6a25ca79cb055a5fb42c34e2", "score": "0.71482605", "text": "private Boolean isFull(){\n return getOccupied() >= capacity;\n }", "title": "" }, { "docid": "45b87986f27ba8c796ca4895931a2364", "score": "0.7146362", "text": "public boolean isEmpty() {\n return isFilling() ? (capacity() == remaining()) : !hasRemaining();\n }", "title": "" }, { "docid": "a4bb1773c8750c9db5084a8c5e897d98", "score": "0.71410257", "text": "public synchronized boolean isFull() {\n\t\treturn ringBuffer.isFull();\n\t}", "title": "" }, { "docid": "0ddeab8b21fea77f4405639d17a5e4ef", "score": "0.71356267", "text": "public boolean isFull() {\n\t\t\treturn (count == k);\n\t\t}", "title": "" }, { "docid": "fa1fc7b82447c609999b4688b1e01711", "score": "0.71350193", "text": "public boolean isFull()\n {\n return (numOfItemsStored == capacity);\n }", "title": "" }, { "docid": "17e3ed6409551c589dafdc19e6688845", "score": "0.7101881", "text": "public boolean isFull() {\n return size == array.length;\n }", "title": "" }, { "docid": "86fe85b83a23ab12ddc6f9c894c84692", "score": "0.7092559", "text": "public boolean isFull() {\n return size == maxSize - 1;\n }", "title": "" }, { "docid": "420563973ea08aade6528f3aab3bb920", "score": "0.7088453", "text": "@Override\n public boolean isFull() {\n return top == maxSize - 1;\n }", "title": "" }, { "docid": "2e373baa823fed86ab93f272fb80e9af", "score": "0.7080956", "text": "public boolean isFull() {\n\t\treturn free == -1;\n\t}", "title": "" }, { "docid": "7741c65fe255a76c91e868ab15cf7ed5", "score": "0.70743525", "text": "public boolean isFull() {\n return count == limit;\n }", "title": "" }, { "docid": "3164cd9f51175f4981285a416c88d922", "score": "0.70655125", "text": "public boolean isFull(){\r\n if(CAPACITY<numberofItems)\r\n return false; \r\n else\r\n return true; \r\n }", "title": "" }, { "docid": "f6b074fdc0352d60689cdd6f7e8d111c", "score": "0.70616525", "text": "private boolean isFull() {\n return availableIndex().size() == 0;\n }", "title": "" }, { "docid": "61c299d5f9f0c8985caa934113ee77e3", "score": "0.7051793", "text": "public boolean isFull() {\n boolean isFull = false;\n if (size() == rb.length) {\n isFull = true;\n }\n return isFull;\n }", "title": "" }, { "docid": "d7fab59335e32b20c2b9a3251fd89911", "score": "0.70354533", "text": "public boolean isFull() {\n if (top < MAX) return false;\n else return true;\n }", "title": "" }, { "docid": "cd6c9c819d258237c34b4ca3d583007f", "score": "0.7034404", "text": "@Override\n public boolean isFull() {\n return (numberOfElements >= list.length);\n }", "title": "" }, { "docid": "e85b47d398f1e7189b15057918726469", "score": "0.6998015", "text": "public boolean isFull() \r\n\t {\r\n\t return top==0 && bottom == size -1 ;\r\n\t }", "title": "" }, { "docid": "e8a785d82ce9a38755e08ba9e1369b17", "score": "0.6987312", "text": "public boolean isFull() {\n return current == maxSize;\n }", "title": "" }, { "docid": "23b8ab1980e9ae2849ab512196358a49", "score": "0.69786036", "text": "public boolean isFull() {\n\t\treturn size == MAXSIZE;\n\t}", "title": "" }, { "docid": "100dca57d4253840558328869ec00abb", "score": "0.69748783", "text": "public final boolean IsFull()\n\t{\n\t\treturn last_lit >= BUFSIZE;\n\t}", "title": "" }, { "docid": "e601c49e299e1f8c221baa09a56c2700", "score": "0.697145", "text": "public boolean isFull() {\n return size >= maxSize;\n }", "title": "" }, { "docid": "4de8ae14c79a49b62f4aa2eae47e709e", "score": "0.6969707", "text": "@Override\n public boolean isFull() {\n return top == arr.length-1;\n }", "title": "" }, { "docid": "afd0f1f54cd1475a8f1cdd60376fb9a5", "score": "0.6951792", "text": "boolean isFull() {\n return (used) == CONSTANT_CAPACITY;\n }", "title": "" }, { "docid": "36a79e474453e3cb0e638f9cd09bc444", "score": "0.6939469", "text": "boolean isFull() {return pointer==size;}", "title": "" }, { "docid": "d1af2b2410bdc1ea69d5fcd58a502c7e", "score": "0.693674", "text": "public boolean isEmpty()\n {\n return this.remaining.isEmpty();\n }", "title": "" }, { "docid": "7a95a9a0dc84cc12406980d5c6d1c3ef", "score": "0.68971103", "text": "public boolean isFull (){\r\n if ( top == Stack.length - 1 ) \r\n return true ;\r\n else \r\n return false ;\r\n }", "title": "" }, { "docid": "5c6785ffbdbee61ee065e73414980d27", "score": "0.6890618", "text": "public boolean IsEmpty () {\n if (front == -1)\n return true;\n else\n return false;\n }", "title": "" }, { "docid": "11a301e70932bc087edf818c8f37d400", "score": "0.6882517", "text": "boolean isFull(){\n\t\treturn maxsize==rear;\n\t}", "title": "" }, { "docid": "86e4ef82aaf8d54bb2052f8b8657c62d", "score": "0.6873228", "text": "@Override\n public boolean isEmpty() {\n return this.front == -1;\n }", "title": "" }, { "docid": "17ae812cdb3b47692556b778b0348afc", "score": "0.68625295", "text": "public boolean isEmpty(){\n\t\tboolean empty = false;\n\t\tif (numberOfItems == 0 || front == null){ // if the number of elements in the queue = 0 or the front points to null, the queueu is empty\n\t\t\tempty = true;\n\t\t}\n\t\treturn empty;\n\t}", "title": "" }, { "docid": "5a2f51c9e74fefb9c528c443194a19df", "score": "0.6850642", "text": "public boolean isEmpty(){\n\t\treturn ( rear +1 == front || (front +SIZE-1 == rear));\n\t}", "title": "" }, { "docid": "413db81e5516d17251042f5ae28e57ce", "score": "0.68463796", "text": "public boolean isFull() {\n return currentSize == maxSize;\n }", "title": "" }, { "docid": "3e5edc445aa23631307a3f0b30192496", "score": "0.68447304", "text": "public boolean isFull()\n\t{\n\t\tfor(int i=0;i<items.length;i++)\n\t\t{\n\t\t\tif(items[i]==null)\n\t\t\t\treturn(false);\n\t\t}\n\t\treturn(true);\n\t}", "title": "" }, { "docid": "f8ef6f2f33f02f7e5fa00f2540c5b7e1", "score": "0.6836557", "text": "public boolean isFull() {\n return CAPACITY <= current;\n }", "title": "" }, { "docid": "71e12fae1cc409ca9a84f84f2f179ae5", "score": "0.683026", "text": "@Override\n public boolean isFull() {\n return top == (array.length - 1);\n }", "title": "" }, { "docid": "2d258d8ebc35f2f44c8b0b0dd014cfcf", "score": "0.68161815", "text": "public boolean isFull()\n/* */ {\n/* 351 */ return this.len == this.buffer.length;\n/* */ }", "title": "" }, { "docid": "4c65b5ae47443660fc7f4b28da50702a", "score": "0.6804729", "text": "public boolean empty() {\n\t\treturn front == null;\n\t}", "title": "" }, { "docid": "bd333ea09cc6cd6c419ee76e68d5681a", "score": "0.6801689", "text": "public boolean isFull() {\n return size == k ? true : false;\n }", "title": "" }, { "docid": "0ef9cd351da2311334c959af136fa352", "score": "0.6799825", "text": "public boolean isFull(){\n return rear == backstore.length;\n }", "title": "" }, { "docid": "7deb88d38935cc9b858aea6c2736979b", "score": "0.6795263", "text": "public boolean isEmpty() {\n\t\tif (front > rear)\n\t\t\treturn true;\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "72ece2905e57786dbe4e5be17fb45200", "score": "0.6769441", "text": "@Override\n public boolean isEmpty() { return this.current_size == 0; }", "title": "" }, { "docid": "026b928458854c40f533fcd3651c3492", "score": "0.67648435", "text": "public boolean isFull() {\n\t\treturn N == a.length;\n\t}", "title": "" }, { "docid": "a9b0bc37926aa06b57ee547305ea702f", "score": "0.67480564", "text": "public synchronized boolean checkEmpty() {\n if(q.isEmpty())\n return true;\n return false;\n }", "title": "" }, { "docid": "3c8fbb5de5dd9500154b1250a206471b", "score": "0.6739498", "text": "@Override\n public boolean isEmpty() {\n return front == tail;\n }", "title": "" }, { "docid": "2e9270ce90ac889cb07ea7b5df3ce1c5", "score": "0.6734069", "text": "@Override\n public boolean isEmpty() {\n cleanQueue();\n return queue.isEmpty();\n }", "title": "" }, { "docid": "8aa6301e1d5e0d35952d52570f9a6fdf", "score": "0.6728038", "text": "public boolean isFull() {\n return false; // always will never be full\n }", "title": "" }, { "docid": "3f1ae5eca564b6465868a4624a7ad4db", "score": "0.6706751", "text": "public boolean isNodeFull() {\n return (itemsInArray != 4);\n }", "title": "" }, { "docid": "0063e70689bb1297a295fb6fa3e617ce", "score": "0.6704619", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn this.chunks.isEmpty() || this.chunks.getFront().isEmpty();\n\t}", "title": "" }, { "docid": "1066a895961a463dc3e905d2fde594d4", "score": "0.67012143", "text": "public boolean isEmpty() {\n return this.tail == null;\n }", "title": "" }, { "docid": "89186d4ca5b2295c52cd23ea1cf4558e", "score": "0.66861594", "text": "public boolean isFull(){\n\t\tif(currentSize == maxSize) return true;\n\t\treturn false;\n\t}", "title": "" }, { "docid": "1229bef8c8571b1c28804ec60428be0b", "score": "0.667638", "text": "public boolean isFull() {\n\t\treturn top>=values.length;\n\t}", "title": "" }, { "docid": "ac5f1e0d925b137175d628d6827e9603", "score": "0.6665785", "text": "@Override\n public boolean isEmpty() {\n return this.queue.isEmpty();\n }", "title": "" }, { "docid": "11357d6d202ad275fe022f80ecebd459", "score": "0.6665091", "text": "public boolean isEmpty()\n {\n return currentSize == 0;\n }", "title": "" }, { "docid": "0103d0d65e7dd9d09ed484e8d57d93ff", "score": "0.6658358", "text": "public boolean isEmpty() {\r\n\t\treturn this.top < 0;\r\n\t}", "title": "" }, { "docid": "8658da0128bfe442fb38fb63364934bf", "score": "0.6651819", "text": "@Override\n public boolean isFull(int train) {\n\n // Getting the count of populated elements in the Queue.\n int count = getQueueLength(train);\n\n // Return true if the count is 42 (the length of the array) else return false.\n return count == 42;\n }", "title": "" }, { "docid": "0aed740ae80ce5403bf2a516bcb5aa7f", "score": "0.6648188", "text": "public synchronized boolean isEmpty() {\n\t\treturn ringBuffer.isEmpty();\n\t}", "title": "" }, { "docid": "978170296f3d84f1772e5be3753f9b49", "score": "0.66363806", "text": "public boolean isEmpty() {\n return currentSize == 0;\n }", "title": "" }, { "docid": "11074a73782839eca752ef1c63b7b20d", "score": "0.6632664", "text": "@Override\n\tpublic boolean isEmpty() {\n\t\treturn queueLinkedList.isEmpty(); // check to see if the queue is empty\n\t}", "title": "" }, { "docid": "496ef247e8ccd6bc2a4a56b7404837a2", "score": "0.66302747", "text": "boolean isEmpty() {\n\t\treturn topIndex == 0; // the bottom element does not count\n\t}", "title": "" }, { "docid": "bf07ede19eff43b807012f965c52fc6c", "score": "0.6624116", "text": "public boolean isEmpty() {\n return (front == -1 && back == -1);\n }", "title": "" }, { "docid": "52d89ab497dfa702ad7b00dc1a23ee6c", "score": "0.66196173", "text": "public boolean isFull();", "title": "" }, { "docid": "52d89ab497dfa702ad7b00dc1a23ee6c", "score": "0.66196173", "text": "public boolean isFull();", "title": "" }, { "docid": "52d89ab497dfa702ad7b00dc1a23ee6c", "score": "0.66196173", "text": "public boolean isFull();", "title": "" }, { "docid": "52d89ab497dfa702ad7b00dc1a23ee6c", "score": "0.66196173", "text": "public boolean isFull();", "title": "" } ]
e98664d2baf753adb81f8736d8cbe853
Initializes a vector from a float array
[ { "docid": "08685de4f82a0de3384958497d66821f", "score": "0.6076472", "text": "public static Vector4 fromArray(Vector4 vec, float[] arr, int pos)\r\n\t{\r\n\t\tif (arr.length >= (pos + 4))\r\n\t\t{\t\t\r\n\t\t\tvec.X = arr[pos + 0];\r\n\t\t\tvec.Y = arr[pos + 1];\r\n\t\t\tvec.Z = arr[pos + 2];\r\n\t\t\tvec.S = arr[pos + 3];\r\n\t\t}\r\n\t\treturn vec;\r\n\t}", "title": "" } ]
[ { "docid": "eb8fd8d3a25c2b7719d566ac723a5170", "score": "0.7616231", "text": "public Vector(final float[] v) {\n\t\tthis(v[0], v[1]);\n\t}", "title": "" }, { "docid": "634ed17e37d8aaac09b0c016c7a0ed82", "score": "0.7511532", "text": "public Vector4f(float v[])\n {\n super(v);\n }", "title": "" }, { "docid": "a56173c011d0ca7db7ae75f61cb5aa15", "score": "0.64313424", "text": "public Vector(String key, float[] values) {\n this.values = values;\n this.key = key;\n }", "title": "" }, { "docid": "f054a91232455eb58a72a7bec2c90744", "score": "0.6269842", "text": "public Matrix3f(float[] v) {\n m00 = v[0];\n m01 = v[1];\n m02 = v[2];\n m10 = v[3];\n m11 = v[4];\n m12 = v[5];\n m20 = v[6];\n m21 = v[7];\n m22 = v[8];\n }", "title": "" }, { "docid": "a39f08fd9a61c35845aaaef784814299", "score": "0.62671906", "text": "public Vector4f() {}", "title": "" }, { "docid": "59a12b70cfb22166e5e2788542399b9e", "score": "0.623021", "text": "public float[] asFloat();", "title": "" }, { "docid": "76dd98fffa79b0eacc377a916f45c54c", "score": "0.6204166", "text": "public FloatPoint(float[] point){\r\n\t\tthis.point = point;\r\n\t}", "title": "" }, { "docid": "ca3e0e1b22883c8e2ae86c695fb8fc01", "score": "0.6184041", "text": "public Vector(double[] x) {\n\t\tassign(x);\n\t}", "title": "" }, { "docid": "5d51a3f088f32602633d380b8568d4d8", "score": "0.61755437", "text": "static Tensor<TFloat32> vectorOf(float... values) {\n return Tensor.allocate(DTYPE, Shape.make(values.length), data -> data.write(values));\n }", "title": "" }, { "docid": "eed9d3d946ee713d5eeffec1aed819e7", "score": "0.61703885", "text": "void setData(float[] data);", "title": "" }, { "docid": "6099a46017b7b5c91b9e4b1cb46d0327", "score": "0.61387336", "text": "public Vector(double[] d) {\n N = d.length;\n \n // defensive copy so that client can't alter our copy of data[]\n data = new double[N];\n for (int i = 0; i < N; i++)\n data[i] = d[i];\n }", "title": "" }, { "docid": "507b6eacb3ba7babb11f63ae6c1aa81d", "score": "0.6085798", "text": "public void setArray(float[] array){\r\n this.array = array;\r\n this.privateLength = array.length;\r\n }", "title": "" }, { "docid": "71e0ec7d07013344a3ec5fbb968d7265", "score": "0.6079868", "text": "public float[] convert(float value);", "title": "" }, { "docid": "73f5c998c78f98ee9545026ece41ae64", "score": "0.6074316", "text": "public abstract float[] getVData();", "title": "" }, { "docid": "4a10fd12319f2c69508ce4746c2b8cb1", "score": "0.60542417", "text": "public Vector toVector0() {\n\t\tVector v0 = new Vector(array0.size(), 0);\n\t\tfor (int i = 0; i < v0.dim(); i++) {\n\t\t\ttry {\n\t\t\t\tRealMetricValue value = (RealMetricValue) array0.get(i);\n\t\t\t\tv0.set(i, MetricValue.extractRealValue(value));\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tLogUtil.trace(e);\n\t\t\t}\n\t\t}\n\t\treturn v0;\n\t}", "title": "" }, { "docid": "2c40efc59ecd5d8933d7e029ab35a306", "score": "0.60408056", "text": "public VectorBase(MatrixEntry[] array) {\n super(VectorBase.vectorToMatrix(array));\n }", "title": "" }, { "docid": "ba312d3cdd0afd77141097ea5e5a0394", "score": "0.6031627", "text": "public VectorBuffer(double[] values) {\r\n\t\tthis.values = values;\r\n\t}", "title": "" }, { "docid": "e1b6818c8ed4e0c5308946d863152f70", "score": "0.60170156", "text": "public abstract void setPrepackedVData(float[] data);", "title": "" }, { "docid": "671783f5527c983a428676822f2715ea", "score": "0.6015273", "text": "public Float3() { set(0, 0, 0); }", "title": "" }, { "docid": "facb0382bc86fa7eda045805cb9b4912", "score": "0.5998421", "text": "public static float[] toFloatArray(Vector list) {\n\tfloat[] a = new float[list.size()];\n\tfor (int i=list.size(); i-->0;) {\n\t\ta[i] = ((Float) list.elementAt(i)).floatValue();\n\t}\n\treturn a;\n}", "title": "" }, { "docid": "355fede8babb7ec35c8f10a177e818e3", "score": "0.5994685", "text": "public Vec()\r\n {\r\n this.x = 0.0D;\r\n this.y = 0.0D;\r\n this.z = 0.0D;\r\n }", "title": "" }, { "docid": "76c9c8669b4f49e375b35164793fbeaa", "score": "0.5991824", "text": "float addData(float [] values);", "title": "" }, { "docid": "c478beca9e4e802c60da5956fd3f7443", "score": "0.59862316", "text": "public Vector(double...args)\n\t{\n\t\tdata = args;\n\t\tsize = args.length;\n\t}", "title": "" }, { "docid": "8a9157eb3a1f8cdd56697c4ef62fcc3d", "score": "0.5984171", "text": "public FloatPoint(int dim){\r\n\t\tthis(new float[dim]);\r\n\t}", "title": "" }, { "docid": "3525f04a13af75183a5dd858f96ab074", "score": "0.59592724", "text": "public PhysicsVector(double [] x)\r\n\t{\r\n\t\tif (x.length == vectorSize){\r\n\t\t\tfor (int i=0; i<vectorComponents.length; i++)\r\n\t\t\t\t{vectorComponents[i] = x[i];}\r\n\t\t}\r\n\t\telse if (x.length == vectorSize-1 ) {\r\n\t\t\tfor (int i=0; i<x.length; i++)\r\n\t\t\t\t{vectorComponents[i] = x[i];}\r\n\t\t\tvectorComponents[vectorComponents.length-1] = 0.;\r\n\t\t}\r\n\t\telse {this.setVector(new PhysicsVector());\r\n\t\t\tSystem.out.println(\r\n\t\t\t\t\"WARNING: PhysicsVector(double [] x) \" +\r\n\t\t\t\t\"requires an array of length \" + vectorSize);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7dee45d33e4d402ce98cc7d3f5b1d5ca", "score": "0.5944202", "text": "public Vector(int dimensions) {\n this(null, new float[dimensions]);\n }", "title": "" }, { "docid": "3997449bcffbe5b6f03ece6d8fb329e7", "score": "0.5866932", "text": "public Vector(Double...args)\n\t{\n\t\tdata = new double[args.length];\n\t\tfor(int i = 0; i < args.length; i++)\n\t\t\tdata[i] = args[i];\n\t\tsize = args.length;\n\t}", "title": "" }, { "docid": "022a03cad63b3e43e0bd1e7d0c430bbf", "score": "0.5859056", "text": "public Vector(int length)\n\t{\n\t\tdata = new double[length];\n\t\tsize = length;\n\t}", "title": "" }, { "docid": "b1ebc518ab7821cee5b5f436dc748b05", "score": "0.583962", "text": "public ArrayFieldVector(Field<T> field, int size) {\n this.field = field;\n this.data = MathArrays.buildArray(field, size);\n }", "title": "" }, { "docid": "0505bec5bb4b235ef5027bf85900ba0b", "score": "0.58357143", "text": "private double[] initInputVector() {\n\t\tdouble[] vector = new double[dictionary.size()];\n\t\tfor (int i = 0; i < vector.length; i++) {\n\t\t\tvector[i] = 0;\n\t\t}\n\t\treturn vector;\n\t}", "title": "" }, { "docid": "e4a51e082672810b6c01ef7f7c85d459", "score": "0.5783071", "text": "public Matrix3f(float[][] v) {\n m00 = v[0][0];\n m01 = v[0][1];\n m02 = v[0][2];\n m10 = v[1][0];\n m11 = v[1][1];\n m12 = v[1][2];\n m20 = v[2][0];\n m21 = v[2][1];\n m22 = v[2][2];\n }", "title": "" }, { "docid": "7f39adc986455bbd054d18b5a0f01340", "score": "0.57692564", "text": "float[] getFloatsAt(int offset, int length);", "title": "" }, { "docid": "f2b5e2b2f22fbaf49a3616cd5e94b744", "score": "0.57652044", "text": "public Vec3(double[] array) {\n super(array);\n Util.verifyMinimumDimension(array, 3);\n }", "title": "" }, { "docid": "b0edefec60fec36e946b75b9e69bb9ab", "score": "0.57592165", "text": "static Vector from(double... elements) {\n return new GenericVector(elements);\n }", "title": "" }, { "docid": "3ee4c54d2af3ef7e40fb1c233164eca2", "score": "0.5741349", "text": "public Vector(int...args)\n\t{\n\t\tsize = args.length;\n\t\tdata = new double[size];\n\t\tfor(int i = 0; i < size; i++)\n\t\t\tdata[i] = args[i];\n\t}", "title": "" }, { "docid": "8a4ea4892efa6ecf66c23c4a1da6d9d7", "score": "0.5713589", "text": "public static void fastFillFloat(float[] array, float value) {\n\t\tint len = array.length;\n\n\t\tif (len > 0) {\n\t\t\tarray[0] = value;\n\t\t}\n\n\t\tfor (int i = 1; i < len; i += i) {\n\t\t\tSystem.arraycopy(array, 0, array, i, ((len - i) < i) ? (len - i) : i);\n\t\t}\n\t}", "title": "" }, { "docid": "d4000bbf42c491f8ef1e0f86c74ad174", "score": "0.5697829", "text": "public T set(float[] m) {\n m00 = m[0];\n m01 = m[1];\n m02 = m[2];\n m10 = m[3];\n m11 = m[4];\n m12 = m[5];\n m20 = m[6];\n m21 = m[7];\n m22 = m[8];\n return (T) this;\n }", "title": "" }, { "docid": "bdda45743b78d5941cfad10c3613cf98", "score": "0.56958014", "text": "public PhysicsVector()\r\n\t{\r\n\t\tfor (int i=0; i<vectorComponents.length; i++)\r\n\t\t{\r\n\t\t\tvectorComponents[i] =0.;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "216c3b45c8dbe21d2dfafc80fe4b063f", "score": "0.5676652", "text": "public Vectorf4(FloatBuffer newBuffer)\r\n {\r\n buffer = newBuffer;\r\n }", "title": "" }, { "docid": "aad977453c4f2797aca1ce72c71975cf", "score": "0.56744444", "text": "private smile.data.vector.BaseVector readFloatField(FieldVector fieldVector) {\n int count = fieldVector.getValueCount();\n Float4Vector vector = (Float4Vector) fieldVector;\n\n if (!fieldVector.getField().isNullable()) {\n float[] a = new float[count];\n for (int i = 0; i < count; i++) {\n a[i] = vector.get(i);\n }\n\n return smile.data.vector.FloatVector.of(fieldVector.getField().getName(), a);\n } else {\n Float[] a = new Float[count];\n for (int i = 0; i < count; i++) {\n if (vector.isNull(i))\n a[i] = null;\n else\n a[i] = vector.get(i);\n }\n\n return smile.data.vector.Vector.of(fieldVector.getField().getName(), Float.class, a);\n }\n }", "title": "" }, { "docid": "3e76d738a8ff62192491b5357a0520e8", "score": "0.5668644", "text": "public Vector4f(Tuple4f t1)\n {\n super(t1);\n }", "title": "" }, { "docid": "db0a1a37db71bb4d7dbf72051ef31397", "score": "0.5659441", "text": "public void setValues( int index_start, int index_end, \n float[] values );", "title": "" }, { "docid": "2811a78ade674dbae079519564944107", "score": "0.5652111", "text": "LLVMExpressionNode createZeroVectorInitializer(int nrElements, LLVMExpressionNode target, LLVMBaseType llvmType);", "title": "" }, { "docid": "6cbb08d6cec920857f46b7c470970ee0", "score": "0.56482387", "text": "private void initArray(double[] arr)\n\t{\n\t\tint length = arr.length;\n\t\tfor (int i = 0; i < length; i++)\n\t\t{\n\t\t\tarr[i] = Double.POSITIVE_INFINITY;\n\t\t}\n\t}", "title": "" }, { "docid": "bb3fef8d1eea061988a46fe1d9e5acc7", "score": "0.5637916", "text": "public Vector(final double comp[]) {\n final int n = comp.length;\n if (n <= 0) {\n throw new IllegalArgumentException(\"Empty Vector not allowed\");\n }\n components = new double[n];\n arraycopy(comp, 0, components, 0, n);\n }", "title": "" }, { "docid": "79d1218b106ef943865849d787add9be", "score": "0.5621389", "text": "float[] getFloatsAt(int offset, int inc, int length);", "title": "" }, { "docid": "298fec51c9746648086dcca7c499ff4d", "score": "0.5619007", "text": "public Vector(float x, float y)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "title": "" }, { "docid": "8e2ab037496e6c96788e5070f277d80a", "score": "0.5616042", "text": "public MutableFloat() {\n }", "title": "" }, { "docid": "6edd6dccbd8dc9fe73b6984940233870", "score": "0.56021386", "text": "public Mat3F(){\r\n \r\n mat = new float[9];\r\n }", "title": "" }, { "docid": "9ba41628c107b260bac6750f32252152", "score": "0.5591795", "text": "public Vector(int n) {\n N = n;\n data = new double[N];\n }", "title": "" }, { "docid": "2ed3213f0f91633888ea3229f010a89b", "score": "0.559049", "text": "public Vector3(float value)\n\t{\n\t\tthis.X = this.Y = this.Z = value;\n\t}", "title": "" }, { "docid": "1f6c661995ac88400494f4186dc10b18", "score": "0.5587183", "text": "public Vectorf4(float v0, float v1, float v2, float v3)\r\n {\r\n buffer = createFloatBuffer(4);\r\n\r\n buffer.put(v0);\r\n buffer.put(v1);\r\n buffer.put(v2);\r\n buffer.put(v3);\r\n\r\n buffer.flip();\r\n }", "title": "" }, { "docid": "fb6c48e2f7ef80cfcc33b9641a1dd264", "score": "0.5568868", "text": "private void zeroVector(double[] v) {\n\t\tfor (int i = 0; i < v.length; i++) {\n\t\t\tv[i] = 0d;\n\t\t}\n\t}", "title": "" }, { "docid": "4ac2f1255317cf578407f9589e3c0303", "score": "0.5567446", "text": "public void initializeBuffer()\n {\n ByteBuffer tcb = ByteBuffer.allocateDirect(Float.SIZE * texCoords.length);\n tcb.order(ByteOrder.nativeOrder());\n texCoordBuf = tcb.asFloatBuffer();\n }", "title": "" }, { "docid": "b83ea3bed168ea6af2044ba364f4e1e5", "score": "0.55669564", "text": "private float[] getNormalData(){\n\t\treturn new float[0];\r\n\t}", "title": "" }, { "docid": "2fe0c49ba272df260cfef496c16b7a40", "score": "0.556088", "text": "protected void fillvector() {\n\t\ttry {\n\t\t\tScanner scanIn = new Scanner((new FileReader(this.file)));\n\t\t\tString InputLine = scanIn.nextLine();\n\t\t\tString[] InArray = InputLine.split(\",\");\n\t\t\tthis.NumberOfFeatures = InArray.length;\n\t\t\tthis.Names = InArray.clone();\n\t\t\taux = new int[this.NumberOfFeatures];\n\t\t\t\n\t\t\ttrain_graph = new DataGraph(NumberOfFeatures,Names);\n\n\t\t\tscanIn.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t\tSystem.exit(1);\n\t\t}\n\t}", "title": "" }, { "docid": "226dac8034f1115374047a68193865fe", "score": "0.5550821", "text": "protected void setValues(float values[][]) {\n super.setValues(values);\n nRows = nCols = Math.min(nRows, nCols);\n }", "title": "" }, { "docid": "8c26a229540a0a69d4623323de4b6874", "score": "0.55494034", "text": "public abstract FloatBuffer asBuffer(float[] data);", "title": "" }, { "docid": "6a6e4172bc13f6709f1abfb22afd0d57", "score": "0.5541413", "text": "public ThreeDVector(){\n\t\tsuper();\n\t\tz = 0;\n\t}", "title": "" }, { "docid": "a5869729f7fc425a8dc7af08161b7a80", "score": "0.55401635", "text": "public float[] floatData() {\n float[] floatData = new float[values.length];\n for (int i = 0; i < values.length; i++) {\n floatData[i] = (float) values[i];\n }\n return floatData;\n }", "title": "" }, { "docid": "2aa10447fac33c4a1cfb6795818ad007", "score": "0.5499377", "text": "public void setArray(float[] arr, long idx) {\n dict.setFeature(Float.class, (int) idx);\n arrays.set((int) idx, arr);\n }", "title": "" }, { "docid": "ddde9f9abaf9d594565b821c089130cf", "score": "0.54939014", "text": "void produceInput(float[] array, int offset, int length);", "title": "" }, { "docid": "b76aff86eec70fdeb609f16656e0373a", "score": "0.5489973", "text": "public void setData(float[] data) {\r\n\t\tthis.data = data;\r\n\t}", "title": "" }, { "docid": "4b70dd776c2921657dfaab0ad3315bb5", "score": "0.54810697", "text": "public Vector toVector1() {\n\t\tVector v1 = new Vector(array1.size(), 0);\n\t\tfor (int i = 0; i < v1.dim(); i++) {\n\t\t\ttry {\n\t\t\t\tRealMetricValue value = (RealMetricValue) array1.get(i);\n\t\t\t\tv1.set(i, MetricValue.extractRealValue(value));\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tLogUtil.trace(e);\n\t\t\t}\n\t\t}\n\t\treturn v1;\n\t}", "title": "" }, { "docid": "5cfb0f83907fbf3e3c6a98283eff643c", "score": "0.54774415", "text": "public void fill(final float[] array) {\n for (int i = 0; i < array.length; i++) {\n array[i] = nextFloat();\n }\n }", "title": "" }, { "docid": "a9e114635ec2e8afe4c21b662d289de1", "score": "0.54692435", "text": "public VectorBuffer(int dimension) {\r\n\t\tvalues = new double[dimension];\r\n\t}", "title": "" }, { "docid": "f6ddeda1dfb7916f6455bfd396cebda8", "score": "0.54613507", "text": "public Vector(Double x, Double y) {\n this.vector = new Double[2];\n this.vector[0] = x;\n this.vector[1] = y;\n }", "title": "" }, { "docid": "f5169b3b12b3f166263556fe360f7e99", "score": "0.54536396", "text": "private void initialize(ArrayList<Vector> points){\n vertices = points;\n textureCoordinates = new ArrayList<Vector>();\n for( Vector v : vertices ){\n textureCoordinates.add( new Vector(v) );\n }\n findNormal();\n }", "title": "" }, { "docid": "b4ee5a7c5d1663ae8a85e0f2f6b33e6e", "score": "0.5453046", "text": "public float[] getValues( );", "title": "" }, { "docid": "94261fab9ed71d99ade0f8f4ca08f037", "score": "0.54480267", "text": "public float[] asArray() {\n float[] v = { r, g, b, a };\n return v;\n }", "title": "" }, { "docid": "6923a2b15fbbfff21f362192069a9ffc", "score": "0.5445073", "text": "native public void getFloatTimeDomainData(Float32Array array);", "title": "" }, { "docid": "31f93d594f0f4ffe0d28d463f3bc9f02", "score": "0.54401755", "text": "Floats(final CompressionChannel input, final int samplesPerPixel, final int width) {\n super(input, samplesPerPixel, width, Float.BYTES);\n savedValues = new float[samplesPerPixel];\n }", "title": "" }, { "docid": "6409c1bb0a78fc90b78bffb6cd2a2995", "score": "0.5439443", "text": "public Vector() {\n\t\tX=0.0;Y=0.0;Z=0.0;\n\t}", "title": "" }, { "docid": "12689b89b8a5ba97db2b666a7e180638", "score": "0.53789467", "text": "public Vec(Vec v)\r\n {\r\n this.x = v.x;\r\n this.y = v.y;\r\n this.z = v.z;\r\n }", "title": "" }, { "docid": "7744a144e47533df137d1b8e5f641063", "score": "0.5371083", "text": "public ThreeVector(){}", "title": "" }, { "docid": "072d12fd0de94838f6b39b8a9b58cca5", "score": "0.5369421", "text": "@Override\n public void setVertexBuffer(float[] coords){\n ByteBuffer bb = ByteBuffer.allocateDirect(\n // (number of coordinate values * 4 bytes per float)\n coords.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(coords);\n // set the buffer to read the first coordinate\n vertexBuffer.position(0);\n }", "title": "" }, { "docid": "717cbc1b71db251899266f7a660a2fac", "score": "0.5365414", "text": "public Vector(int n) {\n\t\tmem = new double[n];\n\t}", "title": "" }, { "docid": "4287fda242546f34eb351a680cd40ee0", "score": "0.5364987", "text": "public static FloatBuffer makeFloatBuffer(float[] arr){\n\t ByteBuffer bb = ByteBuffer.allocateDirect(arr.length * 4);\n\t bb.order(ByteOrder.nativeOrder());\n\t FloatBuffer fb = bb.asFloatBuffer();\n\t fb.put(arr);\n\t fb.position(0);\n\t return fb;\n\t}", "title": "" }, { "docid": "ccab15decf377cccbd07dd101f137d2b", "score": "0.5363888", "text": "private Vector ArrayToVector(String[] array, int index) {\r\n\t\treturn new Vector(Double.parseDouble(array[index]), Double.parseDouble(array[index + 1]),\r\n\t\t\t\tDouble.parseDouble(array[index + 2]));\r\n\t}", "title": "" }, { "docid": "5814ae583194f1ccc4c6191ee216551a", "score": "0.5356434", "text": "public ArrayFieldVector(int size, T preset) {\n this(preset.getField(), size);\n Arrays.fill(data, preset);\n }", "title": "" }, { "docid": "0f768f971ccd78ac8cedb18f80581923", "score": "0.53487825", "text": "private Buffer fillBuffer(float[] array)\n {\n ByteBuffer bb = ByteBuffer.allocateDirect(4 * array.length);\n bb.order(ByteOrder.LITTLE_ENDIAN);\n for (float d : array)\n bb.putFloat(d);\n bb.rewind();\n\n return bb;\n\n }", "title": "" }, { "docid": "67226d26c98b057c49988ba7253d09b3", "score": "0.53258723", "text": "public Vector(final float x, final float y) {\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "title": "" }, { "docid": "f43c03f8d40c5899c7633977044f5db8", "score": "0.5317266", "text": "public PrimitiveValue(float value) {\n this.value = value;\n type = PrimitiveType.FLOAT;\n }", "title": "" }, { "docid": "0dbd54bf119a281cda6cd59d3dd44e0f", "score": "0.53127503", "text": "public Vector(){\r\n\t\tx = 0;\r\n\t\ty = 0;\r\n\t\tz = 0;\r\n\t}", "title": "" }, { "docid": "56825c2a6257f04c1b69964e72a80bfe", "score": "0.53062516", "text": "public Vector(Vector v, double factor){\n this(v.magnitude * factor, v.XZ, v.Y);\n }", "title": "" }, { "docid": "1a7a6aaec0c51e561f49a1747a6d1834", "score": "0.5297307", "text": "public Vector() {\n this(0, 0);\n }", "title": "" }, { "docid": "4a3c8501105454a1b7b18177ce655ea0", "score": "0.52959895", "text": "native public void getFloatFrequencyData(Float32Array array);", "title": "" }, { "docid": "ef08391e6be2e45b9e43fa96c4f4d1ba", "score": "0.5289074", "text": "public Vector4f(Tuple3f t1)\n {\n super(t1.x, t1.y, t1.z, 0);\n }", "title": "" }, { "docid": "332aadf405786d75d08b712887ed2d80", "score": "0.5287307", "text": "public T setColumn(int column, float v[]) {\n switch (column) {\n case 0:\n m00 = v[0];\n m10 = v[1];\n m20 = v[2];\n break;\n case 1:\n m01 = v[0];\n m11 = v[1];\n m21 = v[2];\n break;\n case 2:\n m02 = v[0];\n m12 = v[1];\n m22 = v[2];\n break;\n default:\n throw new ArrayIndexOutOfBoundsException();\n }\n return (T) this;\n }", "title": "" }, { "docid": "d67043710962dbb8f95a95936b2c7875", "score": "0.5284433", "text": "public Vec(double x, double y, double z)\r\n {\r\n this.x = x;\r\n this.y = y;\r\n this.z = z;\r\n }", "title": "" }, { "docid": "f60b2d73e5f3fe7b7b450fd56cdc925d", "score": "0.52726096", "text": "public float[] nextFloats(final int length) {\n if (length <= 0) {\n throw new IllegalArgumentException();\n }\n final float[] array = new float[length];\n fill(array);\n return array;\n }", "title": "" }, { "docid": "946d7ffb42a3e58dd6b775ae53a9f5e1", "score": "0.5264832", "text": "public Vector3()\n {\n this(0.0, 0.0, 0.0);\n }", "title": "" }, { "docid": "7327387997f75e9dc0810babd38e6035", "score": "0.52645403", "text": "public void setVector(int [] v){\n Vector = v;\n }", "title": "" }, { "docid": "305da4b18fbc15902cca38ee4ce4b3a6", "score": "0.52558047", "text": "public Vec( Key key, long espc[]) { this(key, espc, null); }", "title": "" }, { "docid": "2b6ae4750ed2c32dae0fd332c78e78bc", "score": "0.52487874", "text": "public VelocityVector() {\n super();\n }", "title": "" }, { "docid": "278f61d237e450f401959ddb6937eb29", "score": "0.5245728", "text": "public Vectorf4()\r\n {\r\n buffer = createFloatBuffer(4);\r\n\r\n buffer.put(0.0f);\r\n buffer.put(0.0f);\r\n buffer.put(0.0f);\r\n buffer.put(1.0f);\r\n\r\n buffer.flip();\r\n }", "title": "" }, { "docid": "3a7a57307adf7926a7b7f40e1aff8b2e", "score": "0.5243451", "text": "public T setRow(int row, float v[]) {\n switch (row) {\n case 0:\n m00 = v[0];\n m01 = v[1];\n m02 = v[2];\n break;\n case 1:\n m10 = v[0];\n m11 = v[1];\n m12 = v[2];\n break;\n case 2:\n m20 = v[0];\n m21 = v[1];\n m22 = v[2];\n break;\n default:\n throw new ArrayIndexOutOfBoundsException();\n }\n return (T) this;\n }", "title": "" }, { "docid": "68e0fa45e977e07366bde3a1d4c09ab2", "score": "0.52417964", "text": "public void set( int index_start, int index_end, \n Vector3D[] points, float[] values );", "title": "" }, { "docid": "5c2ac8c67f82b73dd0f8ef0c5bc91149", "score": "0.52413476", "text": "public DirectionalLight()\n {\n super(DIRECTIONAL_TYPE);\n\n direction = new float[4];\n }", "title": "" }, { "docid": "3727d58990a5c505faae774b87c1f452", "score": "0.5239357", "text": "public static void loadingVector(int[] vector) {\n\t\t\n\t\tfor(int i = 0; i < ARRAYA_SIZE; i++) {\n\t\t\t\n\t\t\tif((i==0) || (i==ARRAYA_SIZE - 1)) {\n\t\t\t\tvector[i] = 0;\n\t\t\t}else {\n\t\t\t\tvector[i] = (int) Math.floor(Math.random() * 5);\n\t\t\t}\n\t\t}\n\t}", "title": "" } ]
cca4a5620705391de1159b839c359704
Returns the name of the main component registered from JavaScript. This is used to schedule rendering of the component.
[ { "docid": "921fb0aeddf565543598cda82cefe14c", "score": "0.0", "text": "@Override\n protected String getMainComponentName() {\n return \"jessenative\";\n }", "title": "" } ]
[ { "docid": "616169fd31d7487bf2d438d9f614cb33", "score": "0.7161306", "text": "String getComponentName();", "title": "" }, { "docid": "616169fd31d7487bf2d438d9f614cb33", "score": "0.7161306", "text": "String getComponentName();", "title": "" }, { "docid": "3927d5e88742e66f4d1af5ac3eef5e97", "score": "0.68055516", "text": "private String getComponentName() {\n Class<?> c = getClass();\n String name = c.getName();\n int dot = name.lastIndexOf('.');\n\n return name.substring(dot + 1).toLowerCase();\n }", "title": "" }, { "docid": "8c9277b0c71c74f15fde9cca780158e6", "score": "0.67633957", "text": "protected abstract String getComponentName();", "title": "" }, { "docid": "fb740176dd41a99436dee593cca88d29", "score": "0.65273994", "text": "java.lang.String getMainComponentInd();", "title": "" }, { "docid": "48589102bc254c72252297c8b0e93411", "score": "0.6371718", "text": "public String getComponentName(){\n return componentName;\n }", "title": "" }, { "docid": "34763d40b8f763b3da32f76d4eda6ff0", "score": "0.6355206", "text": "String getComponent();", "title": "" }, { "docid": "765860200400985d0e1effd656b92099", "score": "0.6352067", "text": "java.lang.String getComponent();", "title": "" }, { "docid": "ef388f7b6685d5949017113c3453100e", "score": "0.62917596", "text": "public String getComponentName() {\n return componentName;\n }", "title": "" }, { "docid": "53d8df588974e2805fbfe27a1b13fa37", "score": "0.62898505", "text": "java.lang.String getComponentID();", "title": "" }, { "docid": "0d4bc458a4160bd4b1759bd6d2b1e2db", "score": "0.624496", "text": "public String getName() {\n\t\treturn this.js.exec(\".getName()\").get(String.class);\n\t}", "title": "" }, { "docid": "49ee2e2893e2aaaf7843a95285b06e62", "score": "0.6242431", "text": "public String componentName() {\n return this.componentName;\n }", "title": "" }, { "docid": "a61c5cd6daa2e32b084700b4b5beebd8", "score": "0.6184084", "text": "public String getComponentName() {\r\n return componentName;\r\n }", "title": "" }, { "docid": "141ead93fbd8916d89621c52c1e22e29", "score": "0.60557985", "text": "public String getComponentName() {\n\t\treturn componentName;\n\t}", "title": "" }, { "docid": "ef4f5b6a4aef51b03e69e848019617ba", "score": "0.60363984", "text": "public String getComponentTypeName() {\n return this.componentTypeName;\n }", "title": "" }, { "docid": "07a98ab27db3ebfa375eebb9656c6517", "score": "0.6028387", "text": "public String getComponentName() {\r\n String componentName = null;\r\n if (this.mComponentContext != null) {\r\n componentName = this.mComponentContext.getComponentName();\r\n }\r\n return componentName;\r\n }", "title": "" }, { "docid": "c7bbb74939b455c7d50fddc1c2725f7f", "score": "0.6021674", "text": "@Override\n public String getName() {\n return SCRIPT_NAME;\n }", "title": "" }, { "docid": "8543dbd95f2d43a7b4f371fafe718588", "score": "0.58941054", "text": "public JPanel getNamePanel() {\n return pnlReact;\n }", "title": "" }, { "docid": "a47d5ca6cae0edbb4ed74300129e23e2", "score": "0.5732304", "text": "Component getComponent();", "title": "" }, { "docid": "6454fa2ca33326648448a2d1997bffad", "score": "0.5703999", "text": "public java.lang.String displayComponentName(){\n return null; //TODO codavaj!!\n }", "title": "" }, { "docid": "757e5ba9fa70f5f1becf3f3571aef576", "score": "0.567776", "text": "Object getComponent();", "title": "" }, { "docid": "1d585bd8bf9a5318de3d62f2e7c39269", "score": "0.5653216", "text": "public int getComponentID();", "title": "" }, { "docid": "52594e2b80a09fb4d9e2980b184f6044", "score": "0.564189", "text": "public String component() {\n return this.component;\n }", "title": "" }, { "docid": "494c79c7c99fee1253544b6b4d44f06b", "score": "0.5605381", "text": "public abstract TypeName componentManager();", "title": "" }, { "docid": "752256f731a1e9b0288464d544a079f5", "score": "0.560029", "text": "String constructComponentName() {\n synchronized (CheckboxMenuItem.class) {\n return base + nameCounter++;\n }\n }", "title": "" }, { "docid": "c3639ac8847305215ed62e85638d9a33", "score": "0.55955327", "text": "public String getFragmentJS() {\n\t\tif (fragmentFacade == null) {\n\t\t\treturn \"\";\n\t\t}\n\t\telse {\n\t\t\treturn fragmentFacade.getKiwiIdentifier();\n\t\t}\n\t}", "title": "" }, { "docid": "a530cbaa269529d07ac48c14608e5bfb", "score": "0.5591554", "text": "public String getComponentIDAsString();", "title": "" }, { "docid": "9e3f32868ac22682d8f842d2d36e9b8e", "score": "0.5581502", "text": "int getComponentId();", "title": "" }, { "docid": "c086a82fd64e3fdac08b0a212e19684f", "score": "0.5572817", "text": "public Component getComponent();", "title": "" }, { "docid": "23124c3e1952164334e23883330d2152", "score": "0.55675185", "text": "String getElementName();", "title": "" }, { "docid": "23124c3e1952164334e23883330d2152", "score": "0.55675185", "text": "String getElementName();", "title": "" }, { "docid": "23124c3e1952164334e23883330d2152", "score": "0.55675185", "text": "String getElementName();", "title": "" }, { "docid": "1d84690f507f0d1fc069dedf4b58c539", "score": "0.55547786", "text": "public String getComponentId() {\n return componentId;\n }", "title": "" }, { "docid": "09c295c8124d172bf5d6d48382ee8e75", "score": "0.5526788", "text": "@Override\n public String getName() {\n return REACT_CLASS;\n }", "title": "" }, { "docid": "cb73b1f33db9db901a8689d0394c257d", "score": "0.5499723", "text": "public String getComponentName() {\n return \"DJIVersionLB2Component\";\n }", "title": "" }, { "docid": "95c7022ab2b2ed1ac6ceb4575ff285bc", "score": "0.5488842", "text": "@JSProperty\n String getName();", "title": "" }, { "docid": "23514357730aac86a3ea1622874eaae4", "score": "0.5478138", "text": "public String getUIClassID() {\n return component.getUIClassID();\n }", "title": "" }, { "docid": "4be4f6c83ba3e4015dd9bdfe9ec6213d", "score": "0.54702663", "text": "public static String getJQueryIdComponent(FacesContext facesContext, UIComponent component){\n\t\treturn \"jQuery.escapeJSFClientId('\"+component.getClientId(facesContext)+\"')\";\r\n\t}", "title": "" }, { "docid": "d377e4f38b0e7d6f46869622040c5b12", "score": "0.5434982", "text": "Component getEngineeringComponent();", "title": "" }, { "docid": "7042779cc566eb0cdaa44aea16b85fcc", "score": "0.5428549", "text": "private static Component Component() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ce0227fed619d608aeeb82abac280e85", "score": "0.54162407", "text": "@ApiModelProperty(value = \"Name of the component instance that this container instance belongs to. Component instance name is named as $COMPONENT_NAME-i, where i is a monotonically increasing integer. E.g. A componet called nginx can have multiple component instances named as nginx-0, nginx-1 etc. Each component instance is backed by a container instance.\")\n public String getComponentInstanceName() {\n return componentInstanceName;\n }", "title": "" }, { "docid": "80c9118eaec83777246ffc684255daa2", "score": "0.54104835", "text": "void setMainComponentInd(java.lang.String mainComponentInd);", "title": "" }, { "docid": "6beca28ffa6434938299c12b409bae5b", "score": "0.5399293", "text": "private JComboBox getJComboBoxClassName() {\n\t\tif (jComboBoxClassName == null) {\n\t\t\tjComboBoxClassName = new JComboBox();\n\t\t\tjComboBoxClassName.setEditable(true);\n\t\t\tjComboBoxClassName.setPreferredSize(new Dimension(350, 27));\n\t\t\tString script=\"Script\";\n\t\t\tint k=0;\n\t\t\tString classname=null;\n\t\t\t//TODO this is not complete and it is not working yet!!!!!!!!!\n\t\t\tdo{\n\t\t\t\tclassname=System.getProperty(script+k);\n\t\t\t\tSystem.out.println(\"ScriptLoaderJPanel loading \"+script+k+\": \"+classname);\n\t\t\t\tk++;\n\t\t\t\tif(classname!=null)\n\t\t\t\t{\n\t\t\t\t\tjComboBoxClassName.addItem(classname);\n\t\t\t\t}\n\t\t\t}while(classname!=null);\n\t\t\tjComboBoxClassName.addItem(MobiSys2007.class.getCanonicalName());\n\t\t\tjComboBoxClassName.addItem(Demo26March2007.class.getCanonicalName());\n\t\t\tjComboBoxClassName.addItem(TimeScript.class.getCanonicalName());\n\t\t\tjComboBoxClassName.addItem(AddFakeRoots.class.getCanonicalName());\n\t\t\tjComboBoxClassName.addItem(TestingAdaptiveReminder.class.getCanonicalName());\n\t\t}\n\t\treturn jComboBoxClassName;\n\t}", "title": "" }, { "docid": "49a398edea7e4cf6b549982c6192b08b", "score": "0.53962845", "text": "public ComponentNameSupplier getComponentNameSupplier() {\n return this.componentNameSupplier;\n }", "title": "" }, { "docid": "00cc0fd8288ade62230dd02c46c41324", "score": "0.53957933", "text": "public String getJSName()\n {\n // If already set, just return\n if (_jsName != null) return _jsName;\n\n // Create name\n String jsName = \"\";\n if (isBold())\n jsName += \"Bold \";\n if (isItalic())\n jsName += \"Italic \";\n jsName += \"1000px \";\n jsName += getFamily();\n\n // Set/return\n return _jsName = jsName;\n }", "title": "" }, { "docid": "48d2c0275218b31161e021d61bbee3cf", "score": "0.5368311", "text": "Component getBase_Component();", "title": "" }, { "docid": "44c995a2dd77fd0ef03c91288fa05dc9", "score": "0.53303635", "text": "String constructComponentName() {\n synchronized (FileDialog.class) {\n return base + nameCounter++;\n }\n }", "title": "" }, { "docid": "2350cf7872093e7bd2ec53ed9ffe3245", "score": "0.5304434", "text": "Component getComponentRef();", "title": "" }, { "docid": "30bee938637dbe30fb888b6f1c117c8c", "score": "0.5302974", "text": "public void setComponentName(String componentName) {\n this.componentName = componentName;\n }", "title": "" }, { "docid": "e5517c2d1aabd8f0bb5c882d5b80d590", "score": "0.52583563", "text": "java.lang.String getInstanceName();", "title": "" }, { "docid": "73f5990901d4bc7cbfefc7d75b639c9d", "score": "0.52546775", "text": "public UMOComponent getComponent();", "title": "" }, { "docid": "d90b6fb7caaff8c0308d7094f8f5c8f7", "score": "0.5249662", "text": "public Component getComponent(SymbolicName name) {\n return stylesheetPackage.getComponentIndex().get(name);\n }", "title": "" }, { "docid": "e794fbc14530065b58647ff4a6ab2728", "score": "0.52442753", "text": "String getComponentName() {\n return (serviceComponentName);\n }", "title": "" }, { "docid": "053133731a9847c17549411a85dfe898", "score": "0.5223666", "text": "public String getCompname() {\n return compname;\n }", "title": "" }, { "docid": "7bc04dc564176697b5fe56c7c7e35bbb", "score": "0.52220404", "text": "java.lang.String getClassname();", "title": "" }, { "docid": "b25964b1fbffd94a7703c85d86aeb97e", "score": "0.5222036", "text": "public String getPhoneComponentFactoryName(){\n return componentFactory.getFactoryName();\n }", "title": "" }, { "docid": "c7f4f02701ffa244c10a11b92793692e", "score": "0.52133274", "text": "@JSProperty(\"className\")\n @Nullable\n String getClassName();", "title": "" }, { "docid": "8c43217b8e7d163389a952fcfc695c60", "score": "0.521142", "text": "public void setComponentName(String name) {\n\t\tcomponentName = name;\n\t}", "title": "" }, { "docid": "fc3fef2c52da8402a8fa82695f5a2b7e", "score": "0.52076095", "text": "private static String getScriptMethodName(String combinedName) {\n int pos = combinedName.lastIndexOf('#');\n if (pos == -1) {\n return null;\n }\n return combinedName.substring(pos + 1);\n }", "title": "" }, { "docid": "4d92f75e63214e8e4cbdc813555ba4ae", "score": "0.5206718", "text": "default String getName(){\n return getClass().getName();\n }", "title": "" }, { "docid": "ec56ea9d628442941223eefe7d35c932", "score": "0.5198009", "text": "public String getName() { return _frontEndName; }", "title": "" }, { "docid": "636a3d1811a6b7c2d6fae74ae94ea202", "score": "0.5189626", "text": "private static String mergeComponentName(Class<?> clazz, String uniqueId) {\n String ret = clazz.getName();\n if (uniqueId != null && uniqueId.length() > 0) {\n ret += \":\" + uniqueId;\n }\n return ret;\n }", "title": "" }, { "docid": "fb71a34225603b17d011f3e13dfc94c9", "score": "0.5164383", "text": "String getPluginName( );", "title": "" }, { "docid": "ad4407bdf1a0f12181e0ffb6767d4816", "score": "0.51584435", "text": "public static ComponentName createComponentName(ComponentType type, Class<?> clazz,\n String uniqueId) {\n return new ComponentName(type, mergeComponentName(clazz, uniqueId));\n }", "title": "" }, { "docid": "747a0aa5f62516985b48a65e44f240c5", "score": "0.5148997", "text": "public String getName() {\n return getClass().getSimpleName().replace(BUNDLE_SUFFIX, \"\");\n }", "title": "" }, { "docid": "846e4aa383d5d830c8e2f72b35aff3a2", "score": "0.5137548", "text": "private Component getNestedComponent() {\n/* 22 */ if (this.nameResolver == null) {\n/* 23 */ this.nameResolver = keyResolver.apply(this.name);\n/* */ }\n/* */ \n/* 26 */ return this.nameResolver.get();\n/* */ }", "title": "" }, { "docid": "229ff6b4afe57f3368ed6b5ad16229fb", "score": "0.5133213", "text": "public String getName(){\n\t\treturn getElement().getName();\n\t}", "title": "" }, { "docid": "539fed3f88b47dd8866806ea9119c910", "score": "0.51284486", "text": "public String getName() {\n // name\n int nameIndex = constantNameAndTypeInfo.getNameIndex();\n String name = this.getJvmClass().getJvmConstantPool().getUtf8String(nameIndex);\n return name;\n }", "title": "" }, { "docid": "060c960290d374c136032876c76479ec", "score": "0.51271623", "text": "public String getName() {\n\t\treturn getClass().getName();\n\t}", "title": "" }, { "docid": "7e5f1838188a10603aa89fb139b2f22e", "score": "0.51073015", "text": "public String getElementName() {\n return callMethod(\"locator.nodeName\");\n }", "title": "" }, { "docid": "f133c9eb3b1a72aa4994e768c2cb8de7", "score": "0.51068616", "text": "private static String getProductInstallerMainClass(BuildSpec buildSpec) {\n String productName = buildSpec.productDir.getName();\n String initial = productName.substring(0, 1).toUpperCase();\n productName = initial + productName.substring(1);\n return \"$installer$.org.aspectj.\" + productName + \"Installer\"; // XXXNameLiteral\n }", "title": "" }, { "docid": "58a85f0baa80ccca7631f45a55442882", "score": "0.50961363", "text": "public String getComponentType()\n {\n final String fullname = getType();\n if( isArray() )\n {\n final int end = fullname.length() - ARRAY_POSTFIX.length();\n return fullname.substring( 0, end );\n }\n else if( isMap() )\n {\n final int end = fullname.length() - MAP_POSTFIX.length();\n return fullname.substring( 0, end );\n }\n else\n {\n return fullname;\n }\n }", "title": "" }, { "docid": "bbb010b1aa976ae7850eb871cf4508e2", "score": "0.5095483", "text": "protected String getFXMLResourceName() {\n String className = getClass().getSimpleName();\n if (className.endsWith(\"Main\")) {\n className = className.substring(0, className.length() - 4);\n }\n return className + \".fxml\";\n }", "title": "" }, { "docid": "305d65a4929d53939b07e0cec206db23", "score": "0.508321", "text": "public String getName(){\n return ((FeatureWidget)sourceCompartment).getText();\n \n \n }", "title": "" }, { "docid": "12d167df8040597d50e96b96cdcadebc", "score": "0.5082202", "text": "public Node getMainComponent() {\n\t\treturn layout;\n\t\t//return verticalBox;\n\t\t//return listView;\n\t}", "title": "" }, { "docid": "f5759bc61beaefe6934c5306f5998e28", "score": "0.5080392", "text": "public String getName() { return getDisplayedName(); }", "title": "" }, { "docid": "a6e5b89d4549a8aa5308b7ee6d3ac8c8", "score": "0.50789493", "text": "@Override\n public String getMainScript() {\n return nombreProyecto+\".tc\";\n }", "title": "" }, { "docid": "38371a49e43dd1eedc31cff99aca2e9d", "score": "0.5078571", "text": "default String getName() {\n\t\treturn getClass().getCanonicalName();\n\t}", "title": "" }, { "docid": "ed4be1dfe995ca2c2d368106cef46ce7", "score": "0.5062783", "text": "public Object getComponent() {\r\n return component;\r\n }", "title": "" }, { "docid": "513dbba5c171b76f7f02e30a71ceb4ac", "score": "0.5061066", "text": "void componentNameChanged (TopComponent component) {\n if (!topComps.contains(component))\n return; // not added yet\n long now = System.currentTimeMillis();\n if ((nameChangeTime < 0) ||\n ((now - nameChangeTime) > NAME_CHANGE_DELTA)) {\n SwingUtilities.invokeLater(new NameChanger(this, component));\n } else {\n // run the request for the change of the name of tab\n if ((nameTask == null) || (nameChanger.component != component)) {\n nameTask = RequestProcessor.createRequest(\n nameChanger = new NameChanger(this, component));\n }\n nameTask.schedule(1500);\n }\n nameChangeTime = now;\n }", "title": "" }, { "docid": "b3843a5a19267bc5d73908778ef74575", "score": "0.5060215", "text": "public String getComponentType() {\n \n return (TYPE);\n \n }", "title": "" }, { "docid": "d2e4d37f332cea776ca360ed9346c215", "score": "0.5053225", "text": "public String getName()\n {\n return this.hasCustomName() ? this.customName : \"container.dispenser\";\n }", "title": "" }, { "docid": "f0268e44fecdcf92c3880c1dfbdb97d4", "score": "0.5052827", "text": "@Override\n public ITextComponent getDisplayName() {\n return worldNameable.getDisplayName();\n }", "title": "" }, { "docid": "3459a2e70e6cbd8ffdcd652638c1cee7", "score": "0.50466055", "text": "public ITextComponent getDisplayName()\n {\n return (ITextComponent)(this.hasCustomName() ? new TextComponentString(this.getName()) : new TextComponentTranslation(this.getName(), new Object[0]));\n }", "title": "" }, { "docid": "6d36226a9b517de949e2111e8102fd47", "score": "0.5029318", "text": "public String getClassName() {\r\n\treturn(RUNTIME_NODE_CLASS);\r\n }", "title": "" }, { "docid": "badaec193940178778e0151c3ef844fd", "score": "0.50266", "text": "@Override\n protected String getMainComponentName() {\n return \"aiwatch\";\n }", "title": "" }, { "docid": "055a9248954da16488aa7815c7f0219b", "score": "0.5020936", "text": "public abstract String getPanelName();", "title": "" }, { "docid": "e6b302ca0428b17947d3ad41741cda3d", "score": "0.50201416", "text": "public java.lang.String getAuraComponent() {\r\n return auraComponent;\r\n }", "title": "" }, { "docid": "eb19875a5559b6d4d34110bf02ae415f", "score": "0.5019928", "text": "public byte getComponentCode() {\n\t\treturn fComponentCode;\n\t}", "title": "" }, { "docid": "d36e2180e00abe5024017fecd5d35b1e", "score": "0.5011837", "text": "String getInstanceName();", "title": "" }, { "docid": "0ffc8fd489f4a7e4106c69f398e80344", "score": "0.5009841", "text": "public String getUIClassID() {\n/* 289 */ return \"LabelUI\";\n/* */ }", "title": "" }, { "docid": "61f37c54dc8b9a584692be2d94dda00b", "score": "0.5005014", "text": "public Uid getComponentId()\n\t{\n\t\treturn componentId;\n\t}", "title": "" }, { "docid": "3dd25d0e12473f486ca37cd1b02d9971", "score": "0.5002302", "text": "public String getEventName() {\n if (name == null) {\n name = getClass().getSimpleName();\n }\n return name;\n }", "title": "" }, { "docid": "b7e56552cc69155ff8c74614b00f79e2", "score": "0.49937505", "text": "@Override\r\n\tpublic String getName() {\n\t\treturn this.formname;\r\n\t}", "title": "" }, { "docid": "965b1230b64bea6a1e0c1a6cc1e6ffc9", "score": "0.49910486", "text": "public static String getNameFromScript(String scriptName) {\n return getClassNameForLowerCaseHyphenSeparatedName(scriptName);\n }", "title": "" }, { "docid": "630fb58e23a7f5cc69b06fc332eeb195", "score": "0.49821275", "text": "@JsonProperty(\"component-id\")\n default String getComponentId() {\n return getServiceType();\n }", "title": "" }, { "docid": "51f46e50ecf9ccbeaeaeb6b463be4fdb", "score": "0.4977457", "text": "@Override\n protected String getMainComponentName() {\n return \"Main\";\n }", "title": "" }, { "docid": "e0cd0c41eb0570302e001c8179f90f83", "score": "0.49769765", "text": "public static String getName()\n {\n String className = Thread.currentThread().getStackTrace()[2].getClassName(); \n return className;\n }", "title": "" }, { "docid": "fe23697c4c94864d54c9a35db36637e5", "score": "0.49753305", "text": "amdocs.iam.pd.general.common.Long xgetComponentID();", "title": "" }, { "docid": "98546bdc34b2209ea5e149d0534b0d33", "score": "0.49739078", "text": "public String getComponentTypeId() {\n return this.componentTypeId;\n }", "title": "" }, { "docid": "d9cd7a8dddb00d64836c23477b78331f", "score": "0.497118", "text": "public String\n getLayoutBuildNodeName()\n {\n return new Path(pLayPrepare, pNamePrefix + \"layout\").toString();\n }", "title": "" } ]
af37c1ca548c647645e7cf94c719b8e9
Check whether the value stored in the parameter matches the value from the GUI entry widget, WITHOUT changing either value. Classes implementing this method must be careful to implement it in a way that does not alter the value stored in the parameter, or the value stored in the GUI entry widget, if it exists. If the entry widget does not exist, this method will just return false. This method will also set the valid flag to false, if it returns true.
[ { "docid": "76be11729a891a0d7b3928fb092d9139", "score": "0.6274155", "text": "public boolean hasChanged()\n {\n if ( !hasGUI() ) // GUI can't change if it's\n return false; // not there!\n\n try\n {\n Vector gui_value = getWidgetValue();\n \n if ( gui_value == vec_value ) // no change in value\n return false;\n\n setValidFlag(false); // GUI val doesn't match old val\n return true;\n }\n catch ( Exception exception )\n {\n setValidFlag( false ); // illegal value entered by user\n return true; // is considered a change\n }\n }", "title": "" } ]
[ { "docid": "ddf3bd72c8b1cb7917b8648ac5d70955", "score": "0.6135332", "text": "private static boolean match(final String requestedValue, final String entryValue) {\n return requestedValue == null || requestedValue.equals(entryValue);\n }", "title": "" }, { "docid": "c8b6edc1a6774c3a9d79b0c5add01d0f", "score": "0.5681096", "text": "private boolean validate() {\n boolean success = true;\n if (!SWTUtils.testWidgetValue(fSiteCombo, 0)) {\n success = false;\n }\n \n return success;\n }", "title": "" }, { "docid": "f5c078b4d18f908e778e1f20a8930227", "score": "0.56355244", "text": "private boolean valueCheck(String parameter) {\n\t\tif(parameter == null || parameter.trim().equals(\"\")) return false;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "eb62ad90df0aeaef30526a3206ab816a", "score": "0.544855", "text": "private void checkInput(MyTextField f, int prevValue) {\n\t\t// Aktuellen Wert des Eingabefeldes ermitteln\n\t\tint a=f.getValue();\n\t\t// Falls Eingabe falsch oder bereits vorhanden\n\t\t// Eingabefeld loeschen\n\t\tif (a == 0 || !isValueAvailable(a))\n\t\t\tf.setText(\"\");\n\t\t// Aenderung des Inhalts eines Eingabefeldes an die\n\t\t// Beobachter melden\n\t\tnotifyObservers(this.id,f.getCol(),f.getRow(),f.getValue(),prevValue);\n\t}", "title": "" }, { "docid": "b4ca46a99f3d42c8613d557d3fc96a8f", "score": "0.52172214", "text": "public boolean equalWithNull() {\n\t\tif (getSelectedValue() == originalValue) {\n\t\t\treturn true;\n\t\t} else if (getSelectedValue() == null) {\n\t\t\treturn false;\n\t\t} else if (getSelectedValue() instanceof ModelData && originalValue instanceof ModelData && this.getStore() != null && this.getStore().getKeyProvider() != null) {\n\t \tif (originalValue == null)\n\t \t\treturn true;\n\t \tString key1 = this.getStore().getKeyProvider().getKey(getSelectedValue());\n\t \tString key2 = this.getStore().getKeyProvider().getKey(originalValue);\n\t \treturn (key1.equals(key2));\n\t } else {\n\t \treturn getSelectedValue().equals(originalValue);\n\t }\n\t}", "title": "" }, { "docid": "5454ef5602d1d234ce1669672779804b", "score": "0.5215389", "text": "public boolean isValidInput(EditableResultEntry entry, String text) {\n\t\treturn util.isNumber(text);\n\t}", "title": "" }, { "docid": "623540c40b7831880ec0b6a75bbbd05b", "score": "0.51915735", "text": "@Override\r\n\tpublic boolean verify(JComponent arg0) {\n\t\tJFormattedTextField field = (JFormattedTextField)arg0;\r\n\t\treturn field.isEditValid();\r\n\t}", "title": "" }, { "docid": "4af488c73bfc54e25c04403f623aa5fc", "score": "0.5189782", "text": "boolean updateValue(T arg) {\n boolean result;\n if (!isValueFinal) {\n value = arg;\n isTentative = true;\n result = true;\n } else {\n result = Objects.equals(value, arg);\n }\n return result;\n }", "title": "" }, { "docid": "3cff505343bd9cd77fdf8dd018bba8f7", "score": "0.5111353", "text": "public boolean checkParam(final String param, final Value rawValue) {\n final String type = getDrbdParam(param).type();\n boolean correctValue = true;\n\n if (rawValue == null || rawValue.isNothingSelected()) {\n correctValue = !isRequired(param);\n } else if (\"boolean\".equals(type)) {\n if (!rawValue.equals(CONFIG_YES)\n && !rawValue.equals(CONFIG_NO)) {\n correctValue = false;\n }\n } else if (\"numeric\".equals(type)) {\n final Pattern p = Pattern.compile(\"(-?\\\\d+)|\\\\d*\");\n final Matcher m = p.matcher(rawValue.getValueForConfig());\n if (!m.matches()) {\n correctValue = false;\n } else if (rawValue.getUnit() == null || !\"s\".equalsIgnoreCase(rawValue.getUnit().getShortName())) {\n //TODO: skipping check for sectors, the size of sector\n // must be determined first.\n final BigInteger value = convertToUnit(param, rawValue);\n\n final BigInteger min = getDrbdParam(param).min();\n final BigInteger max = getDrbdParam(param).max();\n\n if (min != null && value.compareTo(min) < 0) {\n correctValue = false;\n }\n\n if (max != null && value.compareTo(max) > 0) {\n correctValue = false;\n }\n }\n } else {\n correctValue = true;\n }\n paramCorrectValueMap.put(param, correctValue);\n return correctValue;\n }", "title": "" }, { "docid": "22eb48927c30b1c4b342635f98ad43fe", "score": "0.5102087", "text": "protected boolean hasValue( List<String> cmdLineArgs, Resource confRoot ) {\n return getValue( cmdLineArgs, confRoot ) != null;\n }", "title": "" }, { "docid": "c0fb681f8954f6a21682c024736670bd", "score": "0.5099344", "text": "public boolean isValidValue(Object aValue, int rowIndex, int columnIndex) {\n if (!isValidDataSetState()) {\n return false;\n }\n try {\n checkValue(aValue, rowIndex, columnIndex);\n } catch (Exception e) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "e1843d0dc48570a463e90bb920ccd5b1", "score": "0.5088967", "text": "private boolean verifyEntry() {\r\n \tString name = nameTxt.getText();\r\n \tString phone = phoneTxt.getText();\r\n \tString state = stateTxt.getText();\r\n \tboolean verify = true;\r\n \tif(!name.matches(\"([A-Z][a-zA-Z]{2,})\")) {\r\n \t\tAlert alert = new Alert(AlertType.ERROR);\r\n \t\talert.setTitle(\"Invalid Value\");\r\n \t\talert.setHeaderText(\"Invalid Name\");\r\n \t\talert.setContentText(\"Name should start with an uppercase letter followed by at least two characters\");\r\n \t\talert.showAndWait();\r\n \t\tverify = false;\r\n \t}\r\n \telse if(!state.matches(\"[A-Z][a-zA-Z]{2,}|[A-Z][a-zA-Z]{2,} [A-Z][a-zA-Z]{2,}\")) {\r\n \t\tAlert alert = new Alert(AlertType.ERROR);\r\n \t\talert.setTitle(\"Invalid State\");\r\n \t\talert.setHeaderText(\"Invalid State\");\r\n \t\talert.setContentText(\"State should consist of one or two words\");\r\n \t\talert.showAndWait();\r\n \t\tverify = false;\r\n \t}\r\n \telse if(!phone.matches(\"[(][1-9][0-9]{2}[)] [1-9][0-9]{2} [-] [0-9]{4}\")) {\r\n \t\tAlert alert = new Alert(AlertType.ERROR);\r\n \t\talert.setTitle(\"Invalid Value\");\r\n \t\talert.setHeaderText(\"Invalid Phone Number\");\r\n \t\talert.setContentText(\"Ex (212) 555 - 1234\");\r\n \t\talert.showAndWait();\r\n \t\tverify = false;\r\n \t}\r\n \treturn verify;\r\n }", "title": "" }, { "docid": "40e998facf0ec69959e0b9040e65c131", "score": "0.50723106", "text": "private CustomPair isValidInput()\r\n\t{\r\n\t\tCustomPair p = new CustomPair();\r\n\t\tp.setBooleanKey(true);\r\n\t\tString accountNumber = accountNumbertxt.getText();\r\n\t\tif (Helper.isEmpty(accountNumber))\r\n\t\t{\r\n\t\t\taccountNumbertxt.setText(String.valueOf(customer.getAccountNumber()));\r\n\t\t\tp.setBooleanKey(false);\r\n\t\t\tp.setValue(\"Account number cannot be empty\");\r\n\t\t\treturn p;\r\n\t\t}\r\n\t\tif (!Helper.isDigit(accountNumber.trim()))\r\n\t\t{\r\n\t\t\taccountNumbertxt.setText(String.valueOf(customer.getAccountNumber()));\r\n\t\t\tp.setBooleanKey(false);\r\n\t\t\tp.setValue(\"Account number can contain only numbers-digits\");\r\n\t\t\treturn p;\r\n\t\t}\r\n\r\n\t\tString name = customerNametxt.getText();\r\n\t\tif (Helper.isEmpty(name))\r\n\t\t{\r\n\t\t\tcustomerNametxt.setText(customer.getCustomerName());\r\n\t\t\tp.setBooleanKey(false);\r\n\t\t\tp.setValue(\"Customer Name cannot be empty\");\r\n\t\t\treturn p;\r\n\t\t}\r\n\t\tif (Helper.isDigit(name))\r\n\t\t{\r\n\t\t\tcustomerNametxt.setText(customer.getCustomerName());\r\n\t\t\tp.setBooleanKey(false);\r\n\t\t\tp.setValue(\"Customer Name cannot be a number\");\r\n\t\t\treturn p;\r\n\t\t}\r\n\r\n\t\tString address = addresstxt.getText();\r\n\t\tif (Helper.isEmpty(address))\r\n\t\t{\r\n\t\t\taddresstxt.setText(customer.getCustomerAddress());\r\n\t\t\tp.setBooleanKey(false);\r\n\t\t\tp.setValue(\"Please provide the address\");\r\n\t\t\treturn p;\r\n\t\t}\r\n\r\n\t\treturn p;\r\n\t}", "title": "" }, { "docid": "3fcf186b81b8a1b42f03f1dec72dbaf4", "score": "0.5011189", "text": "public boolean validateEntry(String currentPasswd) {\n String orgPasswd = this.getOrgPasswd();\n\n // Checks an original password is empty or not.\n if (orgPasswd.equals(\"\")) {\n JOptionPane.showMessageDialog(\n this,\n ToolKit.getString(\"MSG_NOPASSWD_ENTRY\"),\n ToolKit.getString(\"WARNING\"),\n JOptionPane.WARNING_MESSAGE);\n\n this.clearOrgPasswd();\n\n return false;\n }\n\n // Checks an original password is correct or not.\n if (!currentPasswd.equals(orgPasswd)) {\n JOptionPane.showMessageDialog(\n this,\n ToolKit.getString(\"MSG_WRONG_PASSWD\"),\n ToolKit.getString(\"WARNING\"),\n JOptionPane.WARNING_MESSAGE);\n\n this.clearOrgPasswd();\n\n return false;\n }\n\n String newPasswd = this.getNewPasswd();\n String rePasswd = this.getRePasswd();\n\n // Checks an new password is empty or not.\n if (newPasswd.equals(\"\")) {\n JOptionPane.showMessageDialog(\n this,\n ToolKit.getString(\"MSG_NONEWPASSWD_ENTRY\"),\n ToolKit.getString(\"WARNING\"),\n JOptionPane.WARNING_MESSAGE);\n\n this.clearNewPasswd();\n\n return false;\n }\n\n // Checks an re-entered password is empty or not.\n if (rePasswd.equals(\"\")) {\n JOptionPane.showMessageDialog(\n this,\n ToolKit.getString(\"MSG_NOREPASSWD_ENTRY\"),\n ToolKit.getString(\"WARNING\"),\n JOptionPane.WARNING_MESSAGE);\n\n this.clearNewPasswd();\n\n return false;\n }\n\n // Checks a new password matches the re-entered password.\n if (!newPasswd.equals(rePasswd)) {\n JOptionPane.showMessageDialog(\n this,\n ToolKit.getString(\"MSG_PASSWD_UNMATCH\"),\n ToolKit.getString(\"WARNING\"),\n JOptionPane.WARNING_MESSAGE);\n\n this.clearNewPasswd();\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "0d7bead7d73c8aa1d0078893cc186e41", "score": "0.50042915", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "35ce904d8f625208e341ad7dbdbe785a", "score": "0.4997107", "text": "private boolean checkIfValueSet(EditText box, String text, String description) {\n if (TextUtils.isEmpty(text)) {\n box.setError(\"Missing product \" + description);\n return false;\n } else {\n box.setError(null);\n return true;\n }\n }", "title": "" }, { "docid": "27999c113363bfde6110e4bba2b66940", "score": "0.49867907", "text": "public boolean checkValue(int row, int column, int value) {\n return (inRow(row, column, value) || inColumn(row, column, value) || inGroup(row, column, value));\n }", "title": "" }, { "docid": "f3e5f9c7750664824777f760f20af560", "score": "0.49852383", "text": "private static boolean validateInput(GridPane dataHolder, String kategori)\n {\n Validator v = new Validator();\n String name = getString((TextField) dataHolder.lookup(\"#name\"));\n String price = getString((TextField) dataHolder.lookup(\"#price\"));\n\n if(name.isEmpty())\n {\n Feilmelding(\"Navn kan ikke være tomt\");\n return false;\n }\n else if(!v.doubleValue(price))\n {\n Feilmelding(\"Ugyldige tegn i pris\");\n return false;\n }\n\n switch(kategori)\n {\n case(\"Prosessor\"):\n {\n String freq = getString((TextField) dataHolder.lookup(\"#freq\"));\n String core = getString((TextField) dataHolder.lookup(\"#core\"));\n\n if(!v.doubleValue(freq))\n {\n Feilmelding(\"Ugyldige tegn i frekvens\");\n return false;\n }\n else if(!v.intValue(core))\n {\n Feilmelding(\"Ugyldige tegn i antall kjerner\");\n return false;\n }\n else\n {\n return true;\n }\n }\n case(\"Minne\"):\n case(\"Lagring\"):\n {\n String type = getType((ComboBox) dataHolder.lookup(\"#type\"));\n String size = getString((TextField) dataHolder.lookup(\"#size\"));\n\n if(type.isEmpty())\n {\n Feilmelding(\"Velg en type\");\n return false;\n }\n else if(!v.intValue(size))\n {\n Feilmelding(\"Ugyldige tegn i størrelse\");\n return false;\n }\n else\n {\n return true;\n }\n }\n case(\"Grafikk\"):\n {\n String size = getString((TextField) dataHolder.lookup(\"#size\"));\n if(!v.intValue(size))\n {\n Feilmelding(\"Ugyldige tegn i størrelse\");\n return false;\n }\n else\n {\n return true;\n }\n }\n case(\"Strømforsyning\"):\n {\n String voltage = getString((TextField) dataHolder.lookup(\"#voltage\"));\n String watt = getString((TextField) dataHolder.lookup(\"#watt\"));\n\n if(!v.intValue(voltage))\n {\n Feilmelding(\"Ugyldige tegn i volt\");\n }\n else if(!v.intValue(watt))\n {\n Feilmelding(\"Ugyldige tegn i watt\");\n }\n else\n {\n return true;\n }\n }\n case(\"Operativsystem\"):\n {\n String type = getType((ComboBox) dataHolder.lookup(\"#type\"));\n if(type.isEmpty())\n {\n Feilmelding(\"Velg en type\");\n return false;\n }\n else\n {\n return true;\n }\n }\n case(\"Hovedkort\"):\n {\n String ports = getString((TextField) dataHolder.lookup(\"#ports\"));\n if(!v.intValue(ports))\n {\n Feilmelding(\"Ugyldige tegn i antall porter\");\n return false;\n }\n else\n {\n return true;\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "a1f3769f286bcca5d8479250f8d34a40", "score": "0.49705482", "text": "public boolean isValid() {\n // build validator\n if (!mBuilt) {\n buildValidator();\n }\n String value = mEditText.getText();\n // if already invalid and no value set\n if (mEditText.getHintColor().equals(Color.RED) && (value == null || value.length() == 0)) {\n return false;\n }\n\n // test requirement\n if (!mRequiredValidator.isValid(value)) {\n if (mShowError) {\n mEditText.setHint(mRequiredValidator.getErrorMessage());\n mEditText.setHintColor(Color.RED);\n mEditText.setText(\"\");\n }\n return false;\n }\n\n // test validity\n if (value != null && !value.isEmpty() && !mValidator.isValid(value)) {\n if (mShowError) {\n mEditText.setHint(mValidator.getErrorMessage());\n mEditText.setHintColor(Color.RED);\n mEditText.setText(\"\");\n if (mValidator instanceof IdenticalValidator) {\n mOtherEditText.setHint(mValidator.getErrorMessage());\n mOtherEditText.setHintColor(Color.RED);\n mOtherEditText.setText(\"\");\n }\n }\n return false;\n }\n // reset error\n mEditText.setHintColor(Color.GRAY);\n mEditText.setHint(defaultHint);\n return true;\n }", "title": "" }, { "docid": "1e40c06bc06e74df5c7dc9d8b43e2967", "score": "0.49670386", "text": "private boolean validateInput() {\n try {\n double test = new Double(rtWindow.getText().trim());\n } catch (Exception e) {\n JOptionPane.showMessageDialog(this, \"Please verify the input for the RT minimal window.\", \"Wrong input\", JOptionPane.ERROR_MESSAGE);\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "cb8128386d0c0508b33f0a664abf4b25", "score": "0.49600375", "text": "public void checkValues() {\n StatusInfo status = new StatusInfo();\n if (fQualifiedTypeNameText.getText().trim().length() == 0) {\n status.setError(DebugUIMessages.EditLogicalStructureDialog_16);\n } else if (fDescriptionText.getText().trim().length() == 0) {\n status.setError(DebugUIMessages.EditLogicalStructureDialog_17);\n } else if (fValueButton.getSelection() && fSnippetDocument.get().length() == 0) {\n status.setError(DebugUIMessages.EditLogicalStructureDialog_18);\n } else if (fVariablesButton.getSelection()) {\n Object[] elements = fAttributesContentProvider.getElements(null);\n boolean oneElementSelected = fCurrentAttributeSelection.size() == 1;\n if (elements.length == 0) {\n status.setError(DebugUIMessages.EditLogicalStructureDialog_19);\n } else if (oneElementSelected && fAttributeNameText.getText().trim().length() == 0) {\n status.setError(DebugUIMessages.EditLogicalStructureDialog_20);\n } else if (oneElementSelected && fSnippetDocument.get().trim().length() == 0) {\n status.setError(DebugUIMessages.EditLogicalStructureDialog_21);\n } else {\n for (int i = 0; i < elements.length; i++) {\n String[] variable = (String[]) elements[i];\n if (variable[0].trim().length() == 0) {\n status.setError(DebugUIMessages.EditLogicalStructureDialog_22);\n break;\n }\n if (variable[1].trim().length() == 0) {\n if (!oneElementSelected || fCurrentAttributeSelection.getFirstElement() != variable) {\n status.setError(NLS.bind(DebugUIMessages.EditLogicalStructureDialog_23, new String[] { variable[0] }));\n break;\n }\n }\n }\n }\n }\n if (!status.isError()) {\n if (fType == null && fTypeSearched) {\n status.setWarning(DebugUIMessages.EditLogicalStructureDialog_24);\n }\n }\n updateStatus(status);\n }", "title": "" }, { "docid": "358a9339b7734b644043fd9df01859ad", "score": "0.49446738", "text": "private boolean validEntry(String UserInput) {\n //Length Validation\n if (UserInput.length() <= 1) {\n return false;\n //Checking for harmful characters \n } else if (UserInput.contains(\"'\") || UserInput.contains(\"?\")\n || UserInput.contains(\"=\")) {\n return false;\n }\n //Safe Input\n return true;\n }", "title": "" }, { "docid": "ae01a2f556c86d4e5f624660763ac090", "score": "0.4939077", "text": "public boolean containsEntry(T anEntry){\n boolean containsItem = false;\n Node selected = getReferenceTo(anEntry);\n if(selected != null){\n containsItem = true;\n }\n return containsItem;\n }", "title": "" }, { "docid": "4e5e938c6c446c304a8334aa2afa506f", "score": "0.49307758", "text": "private boolean checkInfo() {\n if (settings_EDT_age.getEditText().getText().toString().isEmpty() ||\n settings_EDT_weight.getEditText().getText().toString().isEmpty() ||\n settings_EDT_height.getEditText().getText().toString().isEmpty() ||\n settings_EDT_name.getEditText().getText().toString().isEmpty()) {\n MyHelper.getInstance().toast(\"Some Variables seem to be missing\");\n return false;\n }\n try {\n if (Integer.parseInt(settings_EDT_age.getEditText().getText().toString()) > 0 &&\n Integer.parseInt(settings_EDT_weight.getEditText().getText().toString()) > 0\n && Integer.parseInt(settings_EDT_height.getEditText().getText().toString()) > 0\n && Integer.parseInt(settings_EDT_dailyScore.getEditText().getText().toString()) > 0)\n return true;\n MyHelper.getInstance().toast(\"Some Variables seem to be wrong\");\n return false;\n } catch (Exception e) {\n MyHelper.getInstance().toast(\"Age, weight, height and score should all be numbers\");\n return false;\n }\n }", "title": "" }, { "docid": "2059312f837c792b24906d5d7ddd99bd", "score": "0.49255562", "text": "private boolean isValidated(String spectrumKey) {\n PSParameter psParameter = new PSParameter();\n if (peptideShakerGUI.getIdentification().matchExists(spectrumKey)) {\n psParameter = (PSParameter) peptideShakerGUI.getIdentification().getMatchParameter(spectrumKey, psParameter);\n } else {\n return false;\n }\n switch (spectrumValidationCmb.getSelectedIndex()) {\n case 0:\n return psParameter.isValidated();\n case 1:\n if (!psParameter.isValidated()) {\n return false;\n }\n try {\n SpectrumMatch spectrumMatch = peptideShakerGUI.getIdentification().getSpectrumMatch(spectrumKey);\n psParameter = (PSParameter) peptideShakerGUI.getIdentification().getMatchParameter(spectrumMatch.getBestAssumption().getPeptide().getKey(), psParameter);\n return psParameter.isValidated();\n } catch (Exception e) {\n peptideShakerGUI.catchException(e);\n }\n return false;\n case 2:\n if (!psParameter.isValidated()) {\n return false;\n }\n try {\n SpectrumMatch spectrumMatch = peptideShakerGUI.getIdentification().getSpectrumMatch(spectrumKey);\n for (String protein : spectrumMatch.getBestAssumption().getPeptide().getParentProteins()) {\n for (String proteinMatch : peptideShakerGUI.getIdentification().getProteinMap().get(protein)) {\n psParameter = (PSParameter) peptideShakerGUI.getIdentification().getMatchParameter(proteinMatch, psParameter);\n if (psParameter.isValidated()) {\n return true;\n }\n }\n }\n } catch (Exception e) {\n peptideShakerGUI.catchException(e);\n }\n return false;\n default:\n return false;\n }\n }", "title": "" }, { "docid": "7ae5cac55e490acd19360af834988c0e", "score": "0.4907149", "text": "public static void performDataReEntryTest(CallArgument arg, CallArgumentList args)\n throws RSuiteException {\n if (arg != null && args != null) {\n String val2 = args.getFirstString(new StringBuilder(arg.getName()).append(\n PARAM_NAME_SUFFIX_VERIFY).toString());\n if (StringUtils.isNotBlank(val2)) {\n String val1 = arg.getValue().trim();\n val2 = val2.trim();\n if (!val2.equalsIgnoreCase(val1)) {\n /*\n * TODO: would be more user friendly to not make the user start over. Could be a\n * client-side test; or, could re-display form with values provided by user plus an error\n * message.\n */\n throw new RSuiteException(RSuiteException.ERROR_PARAM_INVALID, new StringBuilder(\"\\\"\")\n .append(arg.getName()).append(\"\\\" values do not match: \").append(val1).append(\", \")\n .append(val2).toString());\n }\n }\n }\n }", "title": "" }, { "docid": "a947c9189e40f111cd632b52c59c8ae0", "score": "0.49031755", "text": "public boolean isValid(){\n try{\n int num = new Integer (getText().trim()).intValue();\n return true;\n }catch(NumberFormatException e){\n return false;\n }\n }", "title": "" }, { "docid": "81759a9880c5c73cdded829277798549", "score": "0.49021664", "text": "public boolean validate(GKInstance instance,\n String attName,\n Object value,\n Component parentComp) {\n if (value == null || instance == null)\n return true; // Don't care\n if (attName.equals(ReactomeJavaConstants.name)) {\n // Make sure no fancy symbols are used\n if (value.toString().contains(\"[\") ||\n value.toString().contains(\"]\")) {\n String message = \"The name attribute cannot contain \\\"[\\\" or \\\"]\\\". Use \\\"(\\\" or \\\")\\\" instead.\";\n JOptionPane.showMessageDialog(parentComp,\n message,\n \"Error in Name\",\n JOptionPane.ERROR_MESSAGE);\n return false;\n }\n }\n SchemaClass cls = instance.getSchemClass();\n // Make sure the accession number is in the correct GO id format\n if (cls.isa(ReactomeJavaConstants.GO_BiologicalProcess) ||\n cls.isa(ReactomeJavaConstants.GO_CellularComponent) ||\n cls.isa(ReactomeJavaConstants.GO_MolecularFunction)) {\n if (attName.equals(ReactomeJavaConstants.accession)) {\n String tmpValue = value.toString();\n if (tmpValue.matches(\"(\\\\d){7}\"))\n return true;\n String message = \"Accession number for a GO related instance should be seven digits.\\n\" +\n \"Please don't prefix GO to an accession number.\";\n JOptionPane.showMessageDialog(parentComp,\n message,\n \"Error in GO Accession\", \n JOptionPane.ERROR_MESSAGE);\n return false;\n }\n }\n // To avoid self-containing relationship\n if (attName.equals(ReactomeJavaConstants.hasEvent) ||\n attName.equals(ReactomeJavaConstants.hasComponent) ||\n attName.equals(ReactomeJavaConstants.hasMember) ||\n attName.equals(ReactomeJavaConstants.hasCandidate)) { \n if (value instanceof GKInstance) {\n GKInstance newValue = (GKInstance) value;\n if (instance == newValue ||\n InstanceUtilities.isDescendentOf(instance, newValue)) {\n JOptionPane.showMessageDialog(parentComp,\n \"A higher level instance or an instance itself cannot be used in attribute \\\"\" + \n attName + \"\\\":\\n\" + \n newValue.toString(),\n \"Error in Attribute Editing\",\n JOptionPane.ERROR_MESSAGE);\n return false;\n }\n }\n }\n // Make sure one Pathway instance should have one PathwayDiagram\n if (attName.equals(ReactomeJavaConstants.representedPathway) &&\n cls.isa(ReactomeJavaConstants.PathwayDiagram)) {\n if (value instanceof GKInstance) {\n GKInstance pathway = (GKInstance) value;\n try {\n // Check if there is any PathwayDiagram associated with it\n Collection<?> referred = pathway.getReferers(ReactomeJavaConstants.representedPathway);\n if (referred != null && referred.size() > 0) {\n JOptionPane.showMessageDialog(parentComp, \n \"\\\"\" + pathway.getDisplayName() + \"\\\" has a diagram already. A Pathway can have one diagram only.\\n\" + \n \"To assign a pathway to a PathwayDiagram instance, you have to delete the origial PathwayDiagram\\n \" +\n \"or remove this pathway from its attribute list first.\", \n \"Error in Attribute Editing\", \n JOptionPane.ERROR_MESSAGE);\n return false;\n }\n }\n catch(Exception e) {\n e.printStackTrace();\n JOptionPane.showMessageDialog(parentComp, \n \"Error during attribute validating: \" + e, \n \"Error in Attribute Validating\", \n JOptionPane.ERROR_MESSAGE);\n return false;\n }\n }\n }\n // Make sure AAes used in the alteredAminoAcids should be valid AAs\n if (attName.equals(ReactomeJavaConstants.alteredAminoAcidFragment)) {\n String text = value.toString();\n char[] chars = text.toCharArray();\n String allowed = AttributeEditConfig.getConfig().getAllowableAminoAcids();\n String[] tokens = allowed.split(\",\");\n List<String> list = Arrays.asList(tokens);\n for (int i = 0; i < chars.length; i++) {\n if (!list.contains(chars[i] + \"\")) {\n String message = \"Values in the \" + ReactomeJavaConstants.alteredAminoAcidFragment + \" attribute should contain\\n\" + \n \"amino acids in single letters only in the format like \\\"ADEF\\\". These\\n\" +\n \"amino acids are allowed: \" + allowed + \".\";\n ;\n JOptionPane.showMessageDialog(parentComp,\n message,\n \"Error in Attribute \" + ReactomeJavaConstants.alteredAminoAcidFragment,\n JOptionPane.ERROR_MESSAGE);\n return false;\n }\n }\n }\n return true;\n }", "title": "" }, { "docid": "72a02b6e7aca8a4cf985c44011140ddd", "score": "0.48963556", "text": "boolean isSetVal();", "title": "" }, { "docid": "20f3c06a1563d1de067956278df4c195", "score": "0.4887888", "text": "public boolean valid()\n\t{\n\t\tif(value == null)\n\t\t\treturn false;\n\t\tif(!validated) {\n\t\t\tvalid = true;\n\t\t\t\n\t\t\t//do the check here\n\t\t\t\n\t\t\tvalidated = true;\n\t\t}\n\t\treturn valid;\n }", "title": "" }, { "docid": "81ce1ddd2e4b629e6356462ed8bb4873", "score": "0.48868987", "text": "void check(Integer value, String name, long min, long max, boolean nullAllowed){\r\n\t\tif (nullAllowed && value == null){\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tif (value < min || value > max){\r\n\t\t\tthrow new IllegalArgumentException(\"DisplayImpl:: check(): \"+name+\" value=\"+value+\"<\"+min+\" or >\"+max);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "862fc7006eb5c3be7f56aa179ae095a4", "score": "0.48859105", "text": "private Boolean checkEntryFields() {\n return !(custNameTF.getText().equals(\"\") | custAddressTF.getText().equals(\"\") | custPostalTF.getText().equals(\"\") |\n custCountryCB.getItems().isEmpty() | custFldCB.getItems().isEmpty());\n }", "title": "" }, { "docid": "a5c2c8f3ba77ff9048f15b045117680a", "score": "0.48782808", "text": "public boolean isValidValues() {\n try {\n getValue();\n } catch (NumberFormatException e) {\n statusLabel.setText(\"Invalid value, should be a number between 1 and 12 inclusive\");\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "78fcf75363cf78ce945d9430321e0bfe", "score": "0.4868279", "text": "private static boolean checkIfTheValueMustBeUpdated(String name, String value, Map<String, CompactValue> oldValues){\n \n CompactValue val = oldValues.get(name);\n// if(val != null){\n \n if(StringUtils.isBlank(value) || StringUtils.equals(value, ERASE_VALUE) || (val!=null && value.equals(val.getContent()))){\n \n return false;\n }\n// }\n \n return true;\n }", "title": "" }, { "docid": "d3b4c9be0a323ec48aeb0673242c9ea6", "score": "0.486587", "text": "public native Boolean validate() /*-{\r\n var self = this.@com.smartgwt.client.widgets.BaseWidget::getOrCreateJsObj()();\r\n var retVal =self.validate();\r\n if(retVal == null || retVal === undefined) {\r\n return null;\r\n } else {\r\n return @com.smartgwt.client.util.JSOHelper::toBoolean(Z)(retVal);\r\n }\r\n }-*/;", "title": "" }, { "docid": "ad6c43d3d028b1e11bd825d69efc72b0", "score": "0.48473713", "text": "protected abstract boolean isValidValue(E value);", "title": "" }, { "docid": "c0836bb362d5aa3473d79d053775d08d", "score": "0.48400992", "text": "public void validateLabelAfterInputBox() {\n\t\ttry {\n\t\t\twaitForElementdisplayed(lbl_DemoForPracticeHeading);\n\t\t\tint sizeofLabels = list_LabelsAfterValues.size();\n\t\t\tlog.info(\"@@@Size of input values@@@ \" + sizeofLabels);\n\t\t\tfor (int i = 0; i < sizeofLabels; i++) {\n\t\t\t\tString value = list_LabelsAfterValues.get(i).getText().trim();\n\t\t\t\tlog.info(\"@@@ values from UI@@@ \" + value);\n\t\t\t\ti++;\n\t\t\t\tString exvalue = \"txt_val_\" + \"\" + i + \"\";\n\t\t\t\tif (value.equals(exvalue.trim())) {\n\t\t\t\t\tlog.info(\"@@@values are matchings@@@ \" + exvalue);\n\t\t\t\t\ti--;\n\t\t\t\t} else {\n\t\t\t\t\tlog.info(\"@@@values are not matchings@@@ \" + exvalue);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\n\t\t\tlog.info(\"values are not matchings\");\n\t\t\tthrow new TestException(\"labels not displayed correctly \");\n\t\t}\n\n\t}", "title": "" }, { "docid": "b364673152262b526c8db681eed9e2f7", "score": "0.4832643", "text": "public boolean isValorSeguroEditable(){\r\n\t\t\r\n\t\tMyPair tipo = this.dto.getTipo();\r\n\t\tMyPair tipoCIF = utilDto.getTipoImportacionCIF();\r\n\t\t\r\n\t\tif (this.isDeshabilitado() == true) {\r\n\t\t\treturn false;\r\n\t\t} else {\r\n\t\t\treturn tipo.compareTo(tipoCIF) != 0;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c6778720db659f437e6a4b1f43e0fbfb", "score": "0.48294517", "text": "private boolean isValid() {\n if (idField.getText() == null || idField.getText().length() == 0)\n return false;\n return true;\n }", "title": "" }, { "docid": "724d7d0cf271404de17cc25206082ed9", "score": "0.48148018", "text": "public abstract boolean isValid(Object value);", "title": "" }, { "docid": "718a0e7800b0287610a7282f6493bac8", "score": "0.48086745", "text": "public boolean isSetVal() {\n return this.val != null;\n }", "title": "" }, { "docid": "5309c250faf7c839540a5d524fcfc9bf", "score": "0.4806747", "text": "public boolean validateItem(Item it) throws ItemNotFoundException {\n\n System.out.println(\"In validate() method\");\n\n controlItem = checkItem(it);\n\n if (!controlItem.equals(it)) {\n return true;\n } else {\n throw new ItemNotFoundException(\"Item not FOUND Exception\");\n\n }\n }", "title": "" }, { "docid": "ec0fa2198ef418cdf9fc67984d516121", "score": "0.48018718", "text": "public static boolean check_value( int n) {\r\n boolean pass_flag = true;\r\n\r\n // Validation for parameter 1\r\n String par1 = par1_text.getText();\r\n double p1;\r\n try {\r\n p1 = Double.parseDouble(par1);\r\n // Check if the input is out of range\r\n if (p1 <= 0 ) {\r\n p1_err.setText(\"Error: Negative value\");\r\n pass_flag = false;\r\n }\r\n } catch (Exception error) {\r\n // Case for empty input or invalid number\r\n if (par1.length() == 0) {\r\n p1_err.setText(\"Empty input!\");\r\n } else {\r\n p1_err.setText(\"Error: Invalid Input!\");\r\n }\r\n pass_flag = false;\r\n }\r\n\r\n if (n == 2) {\r\n // Validation for parameter 2\r\n String par2 = par2_text.getText();\r\n double p2;\r\n try {\r\n p2 = Double.parseDouble(par2);\r\n //check if the input is out of range\r\n if (p2 <= 0 ) {\r\n p2_err.setText(\"Error: Negative value\");\r\n pass_flag = false;\r\n }\r\n } catch (Exception error) {\r\n // Case for empty input or invalid number\r\n if (par2.length() == 0) {\r\n p2_err.setText(\"Empty input!\");\r\n } else {\r\n p2_err.setText(\"Error: Invalid Input!\");\r\n }\r\n pass_flag = false;\r\n }\r\n }\r\n return pass_flag;\r\n }", "title": "" }, { "docid": "e6be095a1bf5acc41363d59738fbb1b8", "score": "0.4801368", "text": "public boolean validate() {\r\n\t\tboolean validated = true;\r\n\t\tfor (ValidationTuple tuple : widgetValidators) {\r\n\t\t\tif (!validate(tuple))\r\n\t\t\t\tvalidated = false;\r\n\t\t}\r\n\t\treturn validated;\r\n\t}", "title": "" }, { "docid": "66be25e6975945d4dfa0f7ff3f744a04", "score": "0.47846293", "text": "@Override\n\tpublic boolean verifyInput() throws Exception {\n\t\tif(((Textbox)getFellow(\"name\")).isValid() == false){\n\t\t\t((Textbox)getFellow(\"name\")).setFocus(true);\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "034ce0655a345285dd4a96e421da8bed", "score": "0.478317", "text": "public boolean checkValues(){\n return true;\n }", "title": "" }, { "docid": "19a1afab90b5896a57230265449d22d1", "score": "0.47792485", "text": "public boolean isSelected (Entry entry)\n {\n return getSelectionIndex(entry) != -1;\n }", "title": "" }, { "docid": "2f32e2e55253c96a9758dcb75b0f877f", "score": "0.47768414", "text": "public boolean checkSpawnsValidity(){\n \tif (entry != null && exit != null)\n \t\treturn true;\n \telse\n \t\treturn false;\n\t}", "title": "" }, { "docid": "4f199aedcebb704bcc9088cb84f9e74d", "score": "0.47714692", "text": "boolean valid(Setting<DrawOptions> setting);", "title": "" }, { "docid": "7c866b977d1e9f69a77675d685d2d2f5", "score": "0.4770852", "text": "private boolean isPresent(JTextField textField, String name){\n if(textField.getText().equals(\"\")){\n JOptionPane.showMessageDialog(this.rootPane, name+\n \" is a required field, please enter a valid number\", \"Input Error\", JOptionPane.ERROR_MESSAGE);\n textField.requestFocus();\n\n return false;\n }else {\n\n return true;\n }\n\n\n }", "title": "" }, { "docid": "1255d5500f82d8ea13a9108fbe34f193", "score": "0.47704613", "text": "private boolean check() {\n\t\tif (!TYPE.isValid(_type)) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (_data == null || _data.length < 1) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (_type == TYPE.GET.getValue()) {\n\t\t\tif (!TYPE.GET.isValid(_option)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tif (_type == TYPE.SET.getValue()) {\n\t\t\tif (!TYPE.SET.isValid(_option)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tif (_type == TYPE.EXECUTE.getValue()) {\n\t\t\tif (!TYPE.EXECUTE.isValid(_option)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}", "title": "" }, { "docid": "18cb19d5fc2cc5d7b2646f5a837914a2", "score": "0.47635213", "text": "boolean isSetValue();", "title": "" }, { "docid": "1d9d15fde1a7bd504cb2828530a0957a", "score": "0.47412303", "text": "@Override\n\tpublic boolean isValid(Object value, ConstraintValidatorContext context) {\n\n\t\tObject fieldValue = new BeanWrapperImpl(value).getPropertyValue(this.field);\n\t\tObject fieldValueMatch = new BeanWrapperImpl(value).getPropertyValue(this.fieldMatch);\n\n\t\tif (fieldValue.equals(fieldValueMatch)) {\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ff298cc3190b7eb45f644eb9b60720b3", "score": "0.47408354", "text": "protected boolean hasValue( OPT option ) {\n return getOpt( option ).hasValue( m_cmdLineArgs, m_root );\n }", "title": "" }, { "docid": "c4981dcaf7bcfa687b60ef0c930e2851", "score": "0.4737596", "text": "@Override\r\n\tdefault boolean isValidState() {\n\t\treturn getWebElement().findElement(By.cssSelector(\"input#\" + getId() + \" input:valid\")) == null;\r\n\t}", "title": "" }, { "docid": "4536d52f559d3eb9e1a7cc86e2d67c03", "score": "0.47269064", "text": "public void validateLabelBeforeInputBox() {\n\t\ttry {\n\t\t\twaitForElementdisplayed(lbl_DemoForPracticeHeading);\n\t\t\tint sizeofLabels = list_LabelsBeforeValues.size();\n\t\t\tlog.info(\"@@@Size of input values@@@ \" + sizeofLabels);\n\t\t\tfor (int i = 0; i < sizeofLabels; i++) {\n\t\t\t\tString value = list_LabelsBeforeValues.get(i).getText().trim();\n\t\t\t\tlog.info(\"@@@ values from UI@@@ \" + value);\n\t\t\t\ti++;\n\t\t\t\tString exvalue = \"lbl_val_\" + \"\" + i + \"\";\n\t\t\t\tif (value.equals(exvalue.trim())) {\n\t\t\t\t\tlog.info(\"@@@values are matchings@@@ \" + exvalue);\n\t\t\t\t\ti--;\n\t\t\t\t} else {\n\t\t\t\t\tlog.info(\"@@@values are not matchings@@@ \" + exvalue);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\n\t\t\tlog.info(\"values are not matchings\");\n\t\t\tthrow new TestException(\"labels not displayed correctly \");\n\t\t}\n\n\t}", "title": "" }, { "docid": "3af9c59af0a0c02d3bd42edb85813d4d", "score": "0.47249362", "text": "@SuppressWarnings(\"unchecked\")\r\n public boolean isValid() {\r\n if (StringUtils.isEmpty(name)){\r\n return false;\r\n }\r\n if (StringUtils.isEmpty(defValue)){\r\n return true;\r\n }\r\n if (Number.class.isAssignableFrom(type)){\r\n try {\r\n NeoUtils.getNumberValue(type, defValue);\r\n } catch (Exception e) {\r\n return false;\r\n }\r\n \r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "09987083cc9480f3246417794ad076f3", "score": "0.47172028", "text": "private boolean doDiffCheck(Object oldVal, Object newVal) {\n\t\treturn ((oldVal == null) && (newVal == null || newVal.equals(\"\"))) ||\n\t\t\t\tnewVal.equals(oldVal);\n\t}", "title": "" }, { "docid": "6b1509a59e022e9ae957343e831235ec", "score": "0.47166255", "text": "private boolean valid() {\n \tif (description.getText().isEmpty()) return false;\n if (vehicleTypes.getValue().toString().isEmpty()) return false;\n if (fuelTypes.getValue().toString().isEmpty()) return false;\n \treturn true;\n }", "title": "" }, { "docid": "512fa9ac5023f87a0bc6ceeecf42d346", "score": "0.47162357", "text": "public boolean valid() {\n\t\treturn this.timeStamp != null && this.latitude != null && Math.abs(this.latitude) < 90D \r\n\t\t\t\t&& this.longitude != null && Math.abs(this.longitude) < 180D && this.value != null;\r\n\t}", "title": "" }, { "docid": "7f29857a6db5997c1e2f22bac2a96748", "score": "0.4707153", "text": "boolean isSetActValue();", "title": "" }, { "docid": "cbcdf9f0da76ecb0b1daad7ace237519", "score": "0.46907854", "text": "public static boolean matches(String arg) {\r\n \r\n if (valueOf(arg) != null)\r\n return true;\r\n \r\n return false;\r\n \r\n }", "title": "" }, { "docid": "ebfb460f74ef02412db32ae8d62e3a4e", "score": "0.4685812", "text": "public boolean checkValidez() {\n\t\t\n\t\tif(usuarioValido && libroValido) {\n\t\t\t\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "5adda713be4f3b8fd3bc4d6be1364158", "score": "0.4682065", "text": "private boolean isEntryValid(final File entry) {\n return isEntryValid(entry, true, logger);\n }", "title": "" }, { "docid": "720ade1198b40cb812c9d2eb1305da16", "score": "0.46818954", "text": "public boolean checkValidation() {\n etTags.requestFocusFromTouch();\n etPrice.requestFocusFromTouch();\n btnSetLocation.requestFocusFromTouch();\n btnSubmit.requestFocusFromTouch();\n\n if (validViews.containsValue(false)) {\n Log.d(\"Validation\", \"Invalid\");\n return false;\n } else {\n Log.d(\"Validation\", \"Valid\");\n return true;\n }\n }", "title": "" }, { "docid": "c1c3db7546599a48f4816d3f19e59716", "score": "0.46805423", "text": "private void checkInput() {\n //region check inputs\n if (startSura != null && endSura != null) {\n try {\n start = Integer.parseInt(edStartSuraAyah.getText().toString());\n if (start > startSura.getNumOfAyahs()) {\n edStartSuraAyah.setError(getString(R.string.outofrange, startSura.getNumOfAyahs()));\n return;\n }\n end = Integer.parseInt(edEndSuraAyah.getText().toString());\n if (end > endSura.getNumOfAyahs()) {\n edEndSuraAyah.setError(getString(R.string.outofrange, endSura.getNumOfAyahs()));\n return;\n }\n // compute actual start , -1 because first ayah is 0 not 1 as user enter\n actualStart = repository.getAyahByInSurahIndex(startSura.getIndex(), start).getAyahIndex() - 1;\n // compute actual end\n actualEnd = repository.getAyahByInSurahIndex(endSura.getIndex(), end).getAyahIndex() - 1;\n\n\n // check actualstart & actualEnd\n if (actualEnd < actualStart) {\n makeRangeError();\n return;\n }\n Log.d(TAG, \"onViewClicked: actual \" + actualStart + \" \" + actualEnd);\n // get ayas from db\n ayahsToTest = repository.getAyahSInRange(actualStart + 1, actualEnd + 1);\n isInputValid = true;\n // place data in UI\n tvTestRange.setText(getString(R.string.rangeoftest, startSura.getName(), start, endSura.getName(), end));\n // close keyboard\n closeKeyboard();\n\n } catch (NumberFormatException e) {\n makeRangeError();\n isInputValid = false;\n }\n\n } else {\n showMessage(getString(R.string.sura_select_error));\n }\n //endregion\n }", "title": "" }, { "docid": "6bb5d5cc5eeb51166712dba71ebb9344", "score": "0.4673903", "text": "public boolean validate() {\n //Skapar en kopia av number för att inte åverka på användarens inmatade nummer\n tempNumb = number;\n\n //Validerar de olika kriterierna\n if(checkFormat())\n if(checkNumerical())\n if(validDate())\n checkControlNumber();\n\n return this.isValidDate && isNumerical && this.isValidControlNumber;\n }", "title": "" }, { "docid": "0c2c7ac6ba202f2bfc5807813bf39fc2", "score": "0.46716008", "text": "private boolean valueSearchNonNull(Entry n, Object value) {\n if (value.equals(n.value))\n return true;\n\n // Check left and right subtrees for value\n return (n.left != null && valueSearchNonNull(n.left, value)) ||\n (n.right != null && valueSearchNonNull(n.right, value));\n }", "title": "" }, { "docid": "1cdb1533f8e30a8c59df70a111dffff7", "score": "0.4671552", "text": "private boolean checkData(){\n // validate the student Id field\n try {\n Integer.parseInt(studentidTF.getText());\n } catch (NumberFormatException nfe) {\n JOptionPane.showMessageDialog(null,\n \"Please use integers only for the Id field\");\n return false;\n }\n // If we get here it means all checks passed\n return true;\n }", "title": "" }, { "docid": "32dd7e8322beda73873b4f6986382b27", "score": "0.4671049", "text": "public boolean isValid() {\n boolean valid = true;\n\n if (key == null || key.trim().isEmpty()) {\n valid = false;\n } else if (value == null || value.trim().isEmpty()) {\n valid = false;\n }\n\n return valid;\n }", "title": "" }, { "docid": "e896f8b0f7ea54cbbdfc8d658b94b1a5", "score": "0.46706533", "text": "public boolean Valorado() {\n\t\tString val = JOptionPane.showInputDialog(\"Valorado? S/N\");\n\t\tif (val.equalsIgnoreCase(\"S\")) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "91c0ced721327e2a8b305498762284b8", "score": "0.46674815", "text": "public boolean isSetValue();", "title": "" }, { "docid": "c9a5663227ec05c5bbe3da3a389cab60", "score": "0.46647158", "text": "@java.lang.Override\n public boolean hasValue() {\n return value_ != null;\n }", "title": "" }, { "docid": "2bd3d30c8d4731f29d0e1bffcb70f748", "score": "0.46634454", "text": "private boolean valueSearchNonNull(Entry<K, V> n, Object value) {\n if (value.equals(n.value))\n return true;\n\n // Check left and right subtrees for value\n return (n.left != null && valueSearchNonNull(n.left, value))\n || (n.right != null && valueSearchNonNull(n.right, value));\n }", "title": "" }, { "docid": "95c735fc55d43e493b6f658f2842c0a4", "score": "0.46559498", "text": "boolean hasModifyValue();", "title": "" }, { "docid": "d22a4684a953ba78956373c79aa94967", "score": "0.46535692", "text": "private void checkValueAndStore() {\n if (!validation.validateEmail(login_EDT_email) | !validation.validatePassword(login_EDT_password)) {\n return;\n } else {\n isUserExist();\n }\n }", "title": "" }, { "docid": "0cd038e2e9087ea126ebb231b5726c54", "score": "0.46534827", "text": "public boolean checkValid() {\n if(txtFName.getText().isEmpty() || txtSName.getText().isEmpty() ||\n txtPNum.getText().isEmpty() || txtEmail.getText().isEmpty() || date.getValue() == null) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "e8389b7a2c93295126bee81847ac0190", "score": "0.46465066", "text": "public int checkValid() {\n int retVal = NO_ERROR;\n String type = (String) typeCombo.getSelectedItem();\n String name = nameText.getText();\n String channel = (String) channelCombo.getSelectedItem();\n String scale = (String) scaleCombo.getSelectedItem();\n String dType = (String) dTypeCombo.getSelectedItem();\n int confidence = (int) confIndText.getValue();\n if (type.equals(\"<Must Choose>\") || name.equals(\"\") || channel.equals(\"<Must Choose>\") || scale.equals(\"<Must Choose>\") || dType.equals(\"<Must Choose>\")) {\n retVal = INCOMPLETE_FIELD;\n } else if ((type.equals(\"PValue\") || type.equals(\"Error\") || type.equals(\"ExpectedValue\")) && ((confidence < 0) || (confidence > maxId) || (confidence == fieldId))) {\n retVal = INVALID_CONF_IND;\n }\n return retVal;\n }", "title": "" }, { "docid": "e0f304d0ee4ff9403c2b647ae6f5a912", "score": "0.46346888", "text": "public boolean validate(GKInstance displayed, \n String attName,\n List<?> newValues,\n Component parentComp) {\n if (displayed == null || newValues == null || newValues.size() == 0)\n return true; // Don't care\n // Passed into another method\n for (Object value : newValues) {\n if (!validate(displayed, \n attName, \n value,\n parentComp))\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "69c6fa37c26053993db545aa84ccc068", "score": "0.46299863", "text": "private boolean isValidate(){\n \n if (txtplayername.getText().equals(\"\")) \n {\n JOptionPane.showMessageDialog(rootPane, \"Player Name is a requied field\"); //help message\n txtplayername.requestFocusInWindow();\n return false;\n }\n if (txtteamid.getText().equals(\"\")) //flag=false;\n {\n JOptionPane.showMessageDialog(rootPane, \"Team ID is a requied field\"); \n txtteamid.requestFocusInWindow();\n return false;\n }\n if (txtteamname.getText().equals(\"\")) //flag=false;\n {\n JOptionPane.showMessageDialog(rootPane, \"Team Name is a requied field\"); \n txtteamname.requestFocusInWindow();\n return false;\n }\n if (txtnationality.getText().equals(\"\")) \n {\n JOptionPane.showMessageDialog(rootPane, \"Nationality is a requied field\"); //help message\n txtnationality.requestFocusInWindow();\n return false;\n }\n if (txttotmatch.getText().equals(\"\")) //flag=false;\n {\n JOptionPane.showMessageDialog(rootPane, \"Total Matchs is a requied field\"); \n txttotmatch.requestFocusInWindow();\n return false;\n }\n if (txtbecon.getText().equals(\"\")) //flag=false;\n {\n JOptionPane.showMessageDialog(rootPane, \"Bowling Economy is a requied field\"); \n txtbecon.requestFocusInWindow();\n return false;\n }\n if (txtbaverg.getText().equals(\"\")) //flag=false;\n {\n JOptionPane.showMessageDialog(rootPane, \"Bowling Average is a requied field\"); \n txtbaverg.requestFocusInWindow();\n return false;\n }\n \n return true;\n }", "title": "" }, { "docid": "8ebbb30a2ee7ceccba168fb0af96e59b", "score": "0.46265873", "text": "private boolean validateValue(String field, String value) {\n\n\n\n throw new Error(\"Uninmplemented method!\");\n }", "title": "" }, { "docid": "7bd632bff3013a7bd7b1c93dbdd3a9b5", "score": "0.4622247", "text": "private boolean isValid()\n {\n// if (getStartOriginalRecurrence() == null)\n// {\n// System.out.println(\"startOriginalRecurrence must not be null\");\n// return false;\n// }\n if (getDialogCallback() == null)\n {\n System.out.println(\"dialogCallback must not be null\");\n return false;\n }\n return true; \n }", "title": "" }, { "docid": "491cf56f7603ca85008f0d5928294a7f", "score": "0.4608298", "text": "private boolean checkInput() {\n boolean flag = false;\n\n //CONTROLLO INSERIMENTO USERNAME\n if (username.getText() == null || username.getText().length() == 0) {\n username.setError(\"Inserisci l'username!\");\n flag = true;\n } else {\n username.setError(null);\n }\n\n //CONTROLLO INSERIMENTO PASSWORD\n if (password.getText() == null || password.getText().length() == 0) {\n password.setError(\"Inserrisci la password!\");\n flag = true;\n } else {\n password.setError(null);\n }\n\n //CONTROLLO INSERIMENTO CONFERMA PASSWORD\n if ((confermaPass.getText() == null) || (confermaPass.getText().length()) == 0 || !(confermaPass.getText().toString().equals(password.getText().toString()))) {\n confermaPass.setError(\"Le password non coincidono!\");\n flag = true;\n } else {\n confermaPass.setError(null);\n }\n\n //CONTROLLO INSERIMENTO CITTA' DI PROVENIENZA\n if ((cittaProvenienza.getText() == null) || (cittaProvenienza.getText().length()) == 0) {\n cittaProvenienza.setError(\"Inserisci la citta' di provenienza!\");\n flag = true;\n } else {\n cittaProvenienza.setError(null);\n }\n\n //CONTROLLO INSERIMENTO DATA DI NASCITA\n if ((dataNascita.getText() == null) || (dataNascita.getText().length()) == 0) {\n dataNascita.setError(\"Inserisci la data di nascita!\");\n flag = true;\n } else {\n Date data = new Date(); //Data di oggi\n SimpleDateFormat sdf = new SimpleDateFormat(\"dd-MM-yyyy\"); //Formato di visualizzazione\n String dataAttuale = (String) sdf.format(data);\n\n if(dataNascita.getText().toString().compareTo(dataAttuale) < 0){\n dataNascita.setError(null);\n }else{\n dataNascita.setError(\"Inserisci una data di nascita valida!\");\n flag = true;\n }\n }\n\n return flag;\n }", "title": "" }, { "docid": "af0a4eefc93e4d7ba090a851876dd5e9", "score": "0.4600611", "text": "public boolean isInfoValid() {\n\t\t\n\t\tString name = fieldName.getText();\n\t\tString pass = fieldPass.getText();\n\t\tString gt = (String)dropDownGT.getSelectedItem();\n\n\t\tif(name == null || pass == null || pass.contains(\" \") || name.contains(\" \")){\n\t\t\tupdateMessage(\"Enter a username and password with no spaces\");\n\t\t\treturn false;\n\t\t}else if(gt.contains(\"AI\")) {\n\t\t\tupdateMessage(\"This Game Type is not yet Implemented\");\n\t\t\treturn false;\n\t\t}else if(gt.contains(\"Select\")) {\n\t\t\tupdateMessage(\"Please Select a Game Type\");\n\t\t\treturn false;\n\t\t}\n\t\telse {\n\t\t\treturn true;\n\t\t}\n\n\t}", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.45993716", "text": "boolean hasValue();", "title": "" } ]
dca415e5bbac4bdc063533edcc248934
Checks whether the Task contains the following search substring, subject to special rules and behaviours based on capitalization and whitespace.
[ { "docid": "54c55dd5a078c11105e90fb19578a23c", "score": "0.58292276", "text": "public boolean containsSearch(String search) {\n String targetString = description;\n boolean isCaseInsensitive = search.toLowerCase().contains(search);\n if (isCaseInsensitive) {\n targetString = targetString.toLowerCase();\n }\n if (search.contains(\" \")) { //Literal multi word matching\n return targetString.contains(search);\n } else { //Smart per word start matching\n String[] words = targetString.split(\" \");\n for (String word: words) {\n if (word.length() < search.length()) {\n continue;\n }\n String subWord = word.substring(0, search.length());\n if (subWord.equals(search)) {\n return true;\n }\n }\n return false;\n }\n }", "title": "" } ]
[ { "docid": "10f208ca1ccd12e4860d5bbc5d321c16", "score": "0.65100574", "text": "public ArrayList<Task> search(String substring) {\n ArrayList<Task> have_substring = new ArrayList<>();\n for (Task t : this.getList_of_tasks()) {\n if (t.getName().contains(substring)) {\n have_substring.add(t);\n }\n }\n return have_substring;\n }", "title": "" }, { "docid": "3abdb95c857b11baf68cd5bc6c7c9ee0", "score": "0.6338765", "text": "private boolean matchTask(String[] data, String input) {\n\t\tif(matchName(input)){\n\t\t\treturn data[1].toLowerCase().contains(input.toLowerCase())\n\t\t\t\t\t|| data[2].toLowerCase().contains(input.toLowerCase());\n\t\t}\n\t\tif(matchAnyNumberType(input)){\n\t\t\treturn data[0].contains(input)\n\t\t\t\t\t|| data[3].contains(input)\n\t\t\t\t\t|| data[4].contains(input);\n\t\t}\n\t\tif(matchNumber(input)){\n\t\t\treturn data[0].contains(input)\n\t\t\t\t\t|| data[3].contains(input)\n\t\t\t\t\t|| data[4].contains(input);\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c8acd387b766e78ad9e389a48f21363c", "score": "0.60056114", "text": "@Test\n\tpublic void whenDoContainsThenFindSubstring() {\n\t\tassertThat(this.someObj.contains(this.biglString, this.subString), is(true));\n\t}", "title": "" }, { "docid": "75c5d9cfbd8e59ab93b8bdd1964da02c", "score": "0.59716177", "text": "private String findKeyword(String input) {\n try {\n String lowerCase = input.toLowerCase();\n assert lowerCase.length() > 0 : \"The input should not be empty!\";\n String keyword = lowerCase.substring(5).trim();\n ArrayList<Task> results = new ArrayList<>();\n for (int i = 0; i < taskList.length(); i++) {\n if (taskList.get(i).getDescription().toLowerCase().contains(keyword)) {\n results.add(taskList.get(i));\n }\n }\n return ui.showFind(results);\n } catch (StringIndexOutOfBoundsException e) {\n throw new DukeException(\"OOPS!!! Keyword cannot be empty.\");\n }\n }", "title": "" }, { "docid": "77e6780a56e43924352932f064f639f4", "score": "0.5970167", "text": "public ArrayList<Task> searchMatch(String stringToSearch) {\n\t\tif (stringToSearch.contains(\",\")) {\n\t\t\tstringToSearch = stringToSearch.substring(0, stringToSearch.indexOf(\",\"));\n\t\t}\n\n\t\tif (!stringToSearch.trim().contains(\" \")) {\n\t\t\tstringToSearch = \"\";\t\n\t\t\tsearchHistory.clear();\n\t\t searchHistory.push(taskList);\n\t\t\tprevSearch = \"\";\n\n\t\t\treturn taskList;\n\t\t} else {\n\t\t\tstringToSearch = stringToSearch.substring(stringToSearch.indexOf(\" \") + 1);\n\t\t}\n\n\t\tArrayList<Task> currList;\n\t\t\n\t\tif (stringToSearch.length() < prevSearch.length()) {\n\t\t\tsearchHistory.pop();\n\t\t\tprevSearch = stringToSearch;\n\t\t\t\n\t\t\treturn searchHistory.peek();\n\t\t}\n\t\telse {\n\t\t\tcurrList = searchHistory.peek();\n\t\t\tArrayList<Task> searchResult = new ArrayList<Task>();\t\n\t\t\tString[] parts = stringToSearch.toLowerCase().split(\" \");\n\t\t\tsearchResult.clear();\n\n\t\t\tfor (Task task : currList) {\n\t\t\t\tboolean match = true;\n\t\t\t\tString taskMatch = task.getTask();\n\t\t\t\t\t\tfor (String part : parts) {\n\t\t\t\t\t\t\tif (!taskMatch.toLowerCase().contains(part)) {\n\t\t\t\t\t\t\t\tmatch = false;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\t\t\t\n\t\t\t\t\t\tif (match) {\n\t\t\t\t\t\t\tsearchResult.add(task);\n\t\t\t\t\t\t}\n\t\t\t}\n\t\t\tprevSearch = stringToSearch;\n\t\t\tsearchHistory.push(searchResult);\n\n\t\t\treturn searchResult;\n\t\t}\n\t}", "title": "" }, { "docid": "cfcf892af903164a4750faf87ca8e614", "score": "0.5964163", "text": "public String searchRelatedText(String cmd) {\n assert tasksList != null : \"TaskList is null.\";\n ArrayList<Task> temporaryList = new ArrayList<>();\n for (Task task : tasksList) {\n if (task.getTaskDescription().contains(cmd)) {\n temporaryList.add(task);\n }\n }\n if (temporaryList.size() == 0) {\n return \"There are no matching keywords to your search.\";\n }\n String result = \"Here are the matching tasks in your list: \\n\";\n if (temporaryList.size() == 0) {\n result = \"There is no matching tasks found.\";\n return result;\n }\n for (int j = 0; j < temporaryList.size(); j++) {\n result = result + String.valueOf(j + 1) + \". \" + temporaryList.get(j).toString() + \"\\n\";\n }\n return result;\n }", "title": "" }, { "docid": "a639e4d00ad4c1b121f96adb12532521", "score": "0.5835837", "text": "public static ArrayList<Task> findInList(String searchStr){\n findTaskInList= new ArrayList<Task>();\n for (Task task:taskList){\n if(task.getDescription().toLowerCase().contains(searchStr)){\n findTaskInList.add(task);\n }\n }\n return findTaskInList;\n }", "title": "" }, { "docid": "2bce114cf3e82c1ab26a267d934e3b94", "score": "0.5792101", "text": "public static boolean containsThe(String str) {\n // REPLACE WITH YOUR CODE\n return str.toUpperCase().contains(\"THE\");\n }", "title": "" }, { "docid": "c04f2d8ce34587b5900ad4017aa0756f", "score": "0.5786235", "text": "public void findTasks(String toFind) {\n int currentIndex = 1;\n System.out.println(\"Oohhh look at me! Here are the matching tasks in your list:\");\n\n // takes note of which tasks were printed\n boolean[] hasBeenPrinted = new boolean[this.taskList.size()];\n String[] keywords = toFind.split(\" \");\n\n for (String word : keywords) {\n for (int i = 0; i < this.taskList.size(); i++) {\n if (hasBeenPrinted[i]) {\n continue;\n }\n Task task = this.taskList.get(i);\n if (task.getDescription().contains(word) || task.searchTag(word)) {\n System.out.println(currentIndex + \".\" + task.toString());\n hasBeenPrinted[i] = true;\n currentIndex++;\n }\n }\n }\n if (currentIndex == 1) {\n System.out.println(\"Looks like you have none!\");\n }\n }", "title": "" }, { "docid": "46235956f5a76fa54fd90e4513251e2a", "score": "0.57770044", "text": "@Override\n public abstract boolean contains(String searchVal);", "title": "" }, { "docid": "7282161b3edaa7661a70723420f3785c", "score": "0.5767628", "text": "@Test\n public void whenStringContainsSubStringThenTrue() {\n String data1 = \"The best java course ever!\";\n String data2 = \"java\";\n boolean result = Test001.contains(data1, data2);\n boolean expected = true;\n assertThat(result, is(expected));\n }", "title": "" }, { "docid": "5be92bc313ec0459e25a871adf3d0392", "score": "0.5752804", "text": "static void searchAndShowTask(String filename, String remainingCommandString) throws IOException {\n\n\t\tArrayList<Task> floatingTasksList = new ArrayList<Task>();\n\t\tArrayList<Task> recurringTasksList = new ArrayList<Task>();\n\t\tArrayList<Task> deadlineOrEventTasksList = new ArrayList<Task>();\n\n\t\tint whitespaceIndex1 = remainingCommandString.indexOf(\" \");\n\n\t\tif (whitespaceIndex1 < 0) {\n\t\t\tFlexWindow.getFeedback().appendText(INVALID_INPUT_MESSAGE + \"\\n\");\n\t\t\tFlexWindow.getFeedback().appendText(\"\\n\");\n\n\t\t\tSystem.out.println();\n\t\t\tlogger.finest(INVALID_INPUT_MESSAGE);\n\t\t\tSystem.out.println(INVALID_INPUT_MESSAGE);\n\t\t\tSystem.out.println();\n\n\t\t\treturn;\n\t\t}\n\n\t\tString searchVariableType = new String(\"\");\n\t\tsearchVariableType = remainingCommandString.substring(0, whitespaceIndex1).trim();\n\n\t\tString searchTerm = new String(\"\");\n\t\tsearchTerm = remainingCommandString.substring(whitespaceIndex1 + 1).trim();\n\n\t\t// reads in the file, line by line\n\t\tBufferedReader reader = null;\n\n\t\treader = new BufferedReader(new FileReader(filename));\n\t\tString currentLine = null;\n\t\tArrayList<Task> allTasksList = new ArrayList<Task>();\n\n\t\tdo {\n\t\t\tcurrentLine = reader.readLine();\n\t\t\tif (currentLine != null) {\n\n\t\t\t\tallTasksList.add(new Task(currentLine));\n\t\t\t}\n\t\t} while (currentLine != null);\n\n\t\tif (reader != null) {\n\t\t\treader.close();\n\t\t}\n\n\t\t// CASE 1: searching for tasks using a matching string for the task name\n\t\t// floating, event, deadline and recurring tasks all have a task name\n\t\tif (searchVariableType.equalsIgnoreCase(\"task\") || searchVariableType.equalsIgnoreCase(\"taskname\")) {\n\t\t\tfor (int i = 0; i < allTasksList.size(); i++) {\n\t\t\t\t// a floating task (done or not done), a deadline task (done or\n\t\t\t\t// not done) or an event task has a task\n\t\t\t\t// name (done or not done)\n\n\t\t\t\t// a deadline task or an event task, will have a taskname\n\t\t\t\tif (Checker.isEventTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isDoneEventTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getTaskName().indexOf(searchTerm) >= 0) {\n\t\t\t\t\t\tdeadlineOrEventTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// a floating task will also have a task name\n\t\t\t\tif (Checker.isFloatingTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isDoneFloatingTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getTaskName().indexOf(searchTerm) >= 0) {\n\t\t\t\t\t\tfloatingTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// a recurring task will also have a task name\n\t\t\t\tif (Checker.isRecurringTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getTaskName().indexOf(searchTerm) >= 0) {\n\t\t\t\t\t\trecurringTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (searchVariableType.equalsIgnoreCase(\"date\")) {\n\n\t\t\t// CASE 2: searching for tasks using an exact date\n\t\t\t// deadline tasks and event tasks have dates\n\t\t\tString tempDate = searchTerm;\n\n\t\t\t// check if the date used for searching, is valid\n\t\t\tif (!Checker.isValidDate(tempDate)) {\n\n\t\t\t\tassert (!Checker.isValidDate(tempDate));\n\n\t\t\t\tFlexWindow.getFeedback().appendText(INVALID_INPUT_MESSAGE + \"\\n\");\n\t\t\t\tFlexWindow.getFeedback().appendText(\"\\n\");\n\n\t\t\t\tlogger.finest(INVALID_INPUT_MESSAGE);\n\t\t\t\tSystem.out.println(INVALID_INPUT_MESSAGE);\n\t\t\t\tSystem.out.println();\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < allTasksList.size(); i++) {\n\t\t\t\t// only a deadline task (done or not done) or an event task\n\t\t\t\t// (done or not done) will have a date\n\t\t\t\tif (Checker.isDeadlineTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isEventTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isDoneDeadlineTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isDoneEventTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getDate().equalsIgnoreCase(searchTerm)) {\n\t\t\t\t\t\tdeadlineOrEventTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (searchVariableType.equalsIgnoreCase(\"day\")) {\n\n\t\t\t// CASE 3: searching for tasks using an exact day using an exact day\n\t\t\t// (name)\n\t\t\t// e.g. sunday\n\t\t\t// recurring tasks have days\n\t\t\tString tempDay = searchTerm;\n\n\t\t\t// check if the date used for searching, is valid\n\t\t\tif (!Checker.isValidDay(tempDay)) {\n\n\t\t\t\tassert (!Checker.isValidDay(tempDay));\n\n\t\t\t\tFlexWindow.getTextArea().appendText(INVALID_INPUT_MESSAGE + \"\\n\");\n\t\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\n\t\t\t\tlogger.finest(INVALID_INPUT_MESSAGE);\n\t\t\t\tSystem.out.println(INVALID_INPUT_MESSAGE);\n\t\t\t\tSystem.out.println();\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < allTasksList.size(); i++) {\n\t\t\t\t// only a recurring task\n\t\t\t\t// will have a day e.g. monday\n\t\t\t\tif (Checker.isRecurringTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getDay().equalsIgnoreCase(searchTerm)) {\n\t\t\t\t\t\trecurringTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (searchVariableType.equalsIgnoreCase(\"start\")) {\n\t\t\t// CASE 4: searching for tasks using an exact starting time\n\t\t\t// event tasks and recurring tasks have starting times\n\t\t\tString tempStartTime = searchTerm;\n\n\t\t\t// check if the starting time used for searching, is valid\n\t\t\tif (!Checker.isValidTime(tempStartTime)) {\n\n\t\t\t\tassert (!Checker.isValidTime(tempStartTime));\n\n\t\t\t\tFlexWindow.getFeedback().appendText(INVALID_INPUT_MESSAGE + \"\\n\");\n\t\t\t\tFlexWindow.getFeedback().appendText(\"\\n\");\n\n\t\t\t\tlogger.finest(INVALID_INPUT_MESSAGE);\n\t\t\t\tSystem.out.println(INVALID_INPUT_MESSAGE);\n\t\t\t\tSystem.out.println();\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < allTasksList.size(); i++) {\n\t\t\t\t// an event task will have a starting time\n\t\t\t\tif (Checker.isEventTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isDoneEventTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getStart().equalsIgnoreCase(searchTerm)) {\n\t\t\t\t\t\tdeadlineOrEventTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// a recurring task will also have a starting time\n\t\t\t\tif (Checker.isRecurringTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getStart().equalsIgnoreCase(searchTerm)) {\n\t\t\t\t\t\trecurringTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (searchVariableType.equalsIgnoreCase(\"end\")) {\n\t\t\t// CASE 5: searching for tasks using an exact ending time\n\t\t\t// deadline tasks, event tasks and recurring tasks have ending times\n\t\t\tString tempEndTime = searchTerm;\n\n\t\t\tif (!Checker.isValidTime(tempEndTime)) {\n\n\t\t\t\tassert (!Checker.isValidTime(tempEndTime));\n\n\t\t\t\tFlexWindow.getFeedback().appendText(INVALID_INPUT_MESSAGE + \"\\n\");\n\t\t\t\tFlexWindow.getFeedback().appendText(\"\\n\");\n\n\t\t\t\tlogger.finest(INVALID_INPUT_MESSAGE);\n\t\t\t\tSystem.out.println(INVALID_INPUT_MESSAGE);\n\t\t\t\tSystem.out.println();\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < allTasksList.size(); i++) {\n\t\t\t\t// deadline tasks and event tasks have an ending time\n\t\t\t\tif (Checker.isDeadlineTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isEventTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isDoneDeadlineTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isDoneEventTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getEnd().equalsIgnoreCase(searchTerm)) {\n\t\t\t\t\t\tdeadlineOrEventTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// recurring tasks also have an ending time\n\t\t\t\tif (Checker.isRecurringTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getEnd().equalsIgnoreCase(searchTerm)) {\n\t\t\t\t\t\trecurringTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (searchVariableType.equalsIgnoreCase(\"priority\")) {\n\t\t\t// CASE 6: search for tasks using a matching String in the priority\n\t\t\t// (level)\n\t\t\t// Only event tasks have a priority (level)\n\n\t\t\tfor (int i = 0; i < allTasksList.size(); i++) {\n\n\t\t\t\t// event or deadline tasks have a priority (level)\n\t\t\t\tif (Checker.isEventTaskInput(allTasksList.get(i).getScheduleString())\n\t\t\t\t\t\t|| Checker.isDoneEventTaskInput(allTasksList.get(i).getScheduleString())) {\n\t\t\t\t\tif (allTasksList.get(i).getPriority().toLowerCase().indexOf(searchTerm.toLowerCase()) >= 0) {\n\t\t\t\t\t\tdeadlineOrEventTasksList.add(allTasksList.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t} else {\n\t\t\t// invalid input case\n\t\t\tFlexWindow.getFeedback().appendText(INVALID_INPUT_MESSAGE + \"\\n\");\n\t\t\tFlexWindow.getFeedback().appendText(\"\\n\");\n\n\t\t\tlogger.finest(INVALID_INPUT_MESSAGE);\n\t\t\tSystem.out.println(INVALID_INPUT_MESSAGE);\n\t\t\tSystem.out.println();\n\n\t\t\treturn;\n\t\t}\n\n\t\tString tempDate = new String(\"\");\n\n\t\tif (!deadlineOrEventTasksList.isEmpty()) {\n\t\t\tFlexWindow.getTextArea().appendText(\n\t\t\t\t\t\"---------------------------------------------------------------------------------------------------------------------------\"\n\t\t\t\t\t\t\t+ \"\\n\");\n\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\t\t\ttempDate = deadlineOrEventTasksList.get(0).getDate();\n\t\t\tFlexWindow.getTextArea().appendText(\"Date: \" + tempDate + \"\\n\");\n\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\t\t}\n\n\t\tint deadlineOrEventTasksListCount = 0;\n\n\t\tfor (int j = 0; j < deadlineOrEventTasksList.size(); j++) {\n\t\t\tdeadlineOrEventTasksListCount += 1;\n\t\t\tif (deadlineOrEventTasksList.get(j).getDate().equalsIgnoreCase(tempDate)) {\n\t\t\t\tFlexWindow.getTextArea().appendText(deadlineOrEventTasksListCount + \". \"\n\t\t\t\t\t\t+ deadlineOrEventTasksList.get(j).getDisplayString() + \"\\n\");\n\t\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\t\t\t} else {\n\t\t\t\tdeadlineOrEventTasksListCount = 1;\n\t\t\t\tFlexWindow.getTextArea().appendText(\n\t\t\t\t\t\t\"---------------------------------------------------------------------------------------------------------------------------\"\n\t\t\t\t\t\t\t\t+ \"\\n\");\n\t\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\n\t\t\t\ttempDate = deadlineOrEventTasksList.get(j).getDate();\n\n\t\t\t\tFlexWindow.getTextArea().appendText(\"Date: \" + tempDate + \"\\n\");\n\t\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\n\t\t\t\tFlexWindow.getTextArea().appendText(deadlineOrEventTasksListCount + \". \"\n\t\t\t\t\t\t+ deadlineOrEventTasksList.get(j).getDisplayString() + \"\\n\");\n\t\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tif (!floatingTasksList.isEmpty()) {\n\t\t\tFlexWindow.getTextArea().appendText(\n\t\t\t\t\t\"---------------------------------------------------------------------------------------------------------------------------\"\n\t\t\t\t\t\t\t+ \"\\n\");\n\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\n\t\t\tFlexWindow.getTextArea().appendText(\n\t\t\t\t\t\"---------------------------------------------------------------------------------------------------------------------------\"\n\t\t\t\t\t\t\t+ \"\\n\");\n\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\n\t\t\t// floating header \"Floating\"\n\t\t\tFlexWindow.getTextArea().appendText(\"Floating\" + \"\\n\");\n\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\n\t\t\tint floatingTasksListCount = 0;\n\t\t\tfor (int k = 0; k < floatingTasksList.size(); k++) {\n\t\t\t\tfloatingTasksListCount += 1;\n\t\t\t\tFlexWindow.getTextArea()\n\t\t\t\t\t\t.appendText(floatingTasksListCount + \". \" + floatingTasksList.get(k).getDisplayString() + \"\\n\");\n\t\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\t\t\t}\n\t\t}\n\n\t\tif (!recurringTasksList.isEmpty()) {\n\t\t\tFlexWindow.getTextArea().appendText(\n\t\t\t\t\t\"---------------------------------------------------------------------------------------------------------------------------\"\n\t\t\t\t\t\t\t+ \"\\n\");\n\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\n\t\t\tFlexWindow.getTextArea().appendText(\n\t\t\t\t\t\"---------------------------------------------------------------------------------------------------------------------------\"\n\t\t\t\t\t\t\t+ \"\\n\");\n\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\n\t\t\t// recurring task header \"Recurring\"\n\n\t\t\tFlexWindow.getTextArea().appendText(\"Recurring\" + \"\\n\");\n\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\n\t\t\tint recurringTasksListCount = 0;\n\n\t\t\tfor (int l = 0; l < recurringTasksList.size(); l++) {\n\t\t\t\trecurringTasksListCount += 1;\n\t\t\t\tFlexWindow.getTextArea().appendText(\n\t\t\t\t\t\trecurringTasksListCount + \". \" + recurringTasksList.get(l).getDisplayString() + \"\\n\");\n\t\t\t\tFlexWindow.getTextArea().appendText(\"\\n\");\n\t\t\t}\n\t\t}\n\n\t}", "title": "" }, { "docid": "cbd61ee33ad01e1306a4332001f6a23b", "score": "0.5751431", "text": "public abstract boolean matchesTask(TaskDetails taskDetails);", "title": "" }, { "docid": "2a8432e7ce4b998cefaa37289f84f755", "score": "0.5704837", "text": "private boolean matchesAllKeywords(Task task, String[] keywords) {\n boolean containsKeyword = true;\n for (String keyword : keywords) {\n if (!task.toString().contains(keyword)) {\n containsKeyword = false;\n break;\n }\n }\n return containsKeyword;\n }", "title": "" }, { "docid": "14f86bcac089c32fae525b7d3658410e", "score": "0.569404", "text": "@Override\r\n public void afterTextChanged(Editable s) {\n String search = this.mainActivity.getSearchInput().getText().toString();\r\n search.trim();\r\n ArrayList<Task> tasksFound = new ArrayList<Task>();\r\n boolean found = false;\r\n\r\n // Get all tasks matching with the research\r\n for (int i = 0; i < Controller.getInstance(this.mainActivity).getTasksList().size(); i++) {\r\n\r\n // If anything has been found (searching in : title, description, context, duration and date)\r\n if (Controller.getInstance(this.mainActivity).getTasksList().get(i).getTitle().toLowerCase().contains(search.toLowerCase()) ||\r\n Controller.getInstance(this.mainActivity).getTasksList().get(i).getDescription().toLowerCase().contains(search.toLowerCase()) ||\r\n Controller.getInstance(this.mainActivity).getTasksList().get(i).getContext().toLowerCase().contains(search.toLowerCase()) ||\r\n Controller.getInstance(this.mainActivity).getTasksList().get(i).getDuration().toLowerCase().contains(search.toLowerCase()) ||\r\n Controller.getInstance(this.mainActivity).getTasksList().get(i).getDate().toLowerCase().contains(search.toLowerCase())) {\r\n tasksFound.add(Controller.getInstance(this.mainActivity).getTasksList().get(i));\r\n found = true;\r\n }\r\n }\r\n\r\n // If nothing was found, display it\r\n if (!found) {\r\n Toast.makeText(this.mainActivity, \"Aucune tâche trouvée.\", Toast.LENGTH_SHORT).show();\r\n }\r\n\r\n // Refresh the list view\r\n this.mainActivity.setAdapter(new AdapterTask(this.mainActivity, tasksFound));\r\n this.mainActivity.getList().setAdapter(this.mainActivity.getAdapter());\r\n this.mainActivity.updateTasksList();\r\n }", "title": "" }, { "docid": "9ee9594714824b322996517048636f9d", "score": "0.5675436", "text": "public abstract boolean contains(String paramString);", "title": "" }, { "docid": "42ced030f29f8814c533555ffe5ba03e", "score": "0.5629063", "text": "public void findAllMatches() {\n ArrayList<Task> allTasks = tasks.getAllTasks();\n for (Task task : allTasks) {\n String taskDescription = task.getDescription();\n String[] splitWords = taskDescription.split(\" \");\n for (String word : splitWords) {\n if (word.trim().equals(keyword)) {\n matchedTasks.add(task);\n break;\n }\n }\n }\n }", "title": "" }, { "docid": "2c9387b58e21adb8bff88dbef545fae0", "score": "0.56285876", "text": "@Override\n void execute(TaskList tasks, Ui ui, Storage storage) {\n ArrayList<Task> matchingTasks = new ArrayList<>();\n for (Task t : tasks.getTaskList()) {\n if (t.description.contains(keywordToFind)) {\n matchingTasks.add(t);\n }\n }\n ui.printMatches(matchingTasks);\n }", "title": "" }, { "docid": "8c6fdfe95a84baaeeac208a96d6414f6", "score": "0.5583592", "text": "private static BooleanNode doesStringContain(JsonNode subject, JsonNode search) {\n if (subject.asText().contains(search.asText())) {\n return BooleanNode.TRUE;\n }\n return BooleanNode.FALSE;\n }", "title": "" }, { "docid": "5f59e88d8d5f16b0053f355c4c13ff3e", "score": "0.5579386", "text": "public void stringContains() \n {\n \tSystem.out.println(\"===>> stringContains() Method\");\n \t\n \t String str = \"Hello JAvatpoint readers\"; \n boolean isContains = str.contains(\"JAvatpoint\"); \n System.out.println(isContains); \n // Case Sensitive \n System.out.println(str.contains(\"javatpoint\")); // false \n }", "title": "" }, { "docid": "42edc8ccf311d3f3c944bab76f51c5c2", "score": "0.54465353", "text": "public boolean find(String s);", "title": "" }, { "docid": "74ea40eb8fe6572b7b50365e81887c76", "score": "0.541014", "text": "@Override\n public String execute(String input, TaskList tasks, Ui ui, Storage storage) throws DukeException {\n TaskList filteredTasks = new TaskList();\n int count = 0;\n try {\n if (input.length() < 6 || input.isEmpty()) {\n throw new DukeException(\"OOPS!!! The description of a find cannot be empty.\\n\");\n }\n for (Task task : tasks.list) {\n String description = task.getDescription().toLowerCase();\n if (description.contains(keyWord)) {\n filteredTasks.list.add(task);\n count += 1;\n }\n }\n if (count == 0) {\n throw new DukeException(\"OOPS!!! There is no matching task in the list\");\n } else {\n StringBuilder toPrint = new StringBuilder(ui.indentPrint(\"Here are the matching tasks in your list:\"));\n for (int i = 0; i < filteredTasks.list.size(); i++) {\n toPrint.append(ui.indentPrint((i + 1) + \".\" + filteredTasks.list.get(i)));\n }\n return toPrint.toString();\n }\n } catch (IndexOutOfBoundsException e) {\n return (\"Current task is empty in your list.\");\n }\n }", "title": "" }, { "docid": "48c26c91350f092f6f97ed5d2207dc23", "score": "0.5394322", "text": "@Override\n public boolean matches(String s) {\n return s.contains(needle);\n }", "title": "" }, { "docid": "efe528039678370d978ecb4912b77eee", "score": "0.53566736", "text": "private boolean startsWith(String partialString, String completeString) {\n if (partialString.equalsIgnoreCase(completeString)) {\n return true;\n }\n char[] partialStringCharArray = partialString.toCharArray();\n char[] completeStringCharArray = completeString.toCharArray();\n if (partialStringCharArray.length > completeStringCharArray.length) {\n return false;\n }\n for (int i = 0; i < partialStringCharArray.length; i++) {\n char currentChar = partialString.charAt(i);\n String currentCharString = (currentChar + \"\");\n char parallelChar = completeString.charAt(i);\n String parallelCharString = (parallelChar + \"\");\n if (!parallelCharString.equalsIgnoreCase(currentCharString)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "0dfb5fe2db0addf3ee3a9ce660b55ea7", "score": "0.5348912", "text": "boolean contains(String token);", "title": "" }, { "docid": "5a70ee4e949b86010446a6a087c05df8", "score": "0.5341366", "text": "public boolean findWord(String inputLine, String toSearch) {\n\n String[] wordList = inputLine.split(\" \");\n int index = 0;\n\n for (int i = 0; i < wordList.length; i++) {\n if (wordList[i].toLowerCase().replace(\" \", \"\").contains(toSearch.toLowerCase())) {\n index = i + 1;\n }\n }\n\n return index != 0;\n }", "title": "" }, { "docid": "60855214a4459ae442d22b815d892a6b", "score": "0.53390944", "text": "private StringBuilder findTask(StringBuilder sb, String description) {\n TaskList tempList = new TaskList();\n for (int i = 0; i < taskList.getSize(); i++) {\n Task tempTask = taskList.retrieveTask(i);\n String[] keywords = tempTask.description.split(\" \");\n for (String s:keywords) {\n if (s.equals(description)) {\n tempList.addTask(tempTask);\n break;\n }\n }\n }\n return appendTasks(sb, tempList);\n }", "title": "" }, { "docid": "454c67e8398e0ea0af937da58a42405a", "score": "0.53350794", "text": "public boolean search(String word) {\n node runner = root;\n for(int i = 0;i<word.length();i++){\n if(runner.myhash.containsKey(word.charAt(i))){\n runner = runner.myhash.get(word.charAt(i));\n }else{\n return false;\n }\n }\n \n if(!runner.iscompleted)\n return false;\n \n return true;\n \n }", "title": "" }, { "docid": "4e64fcd870ba9e1eddc39f499a7ef0de", "score": "0.53288037", "text": "public boolean search( String word) {\n\t TrieNode node = searchHelper(word);\n\t if(node==null) return false;\n\t return node.isComplete;\n\t}", "title": "" }, { "docid": "d5321f3412981a6bcb97640afb55a9e1", "score": "0.53272784", "text": "public boolean search(String toFind)\n {\n boolean found;\n\n found = false;\n\n if(name.equals(toFind))\n {\n found = true;\n }\n\n return found;\n }", "title": "" }, { "docid": "3ea174f1cbc915df34e0996bdca297ca", "score": "0.5324428", "text": "public boolean contains(String word);", "title": "" }, { "docid": "d102b567f6be0a2c8a48412ed6ad5664", "score": "0.5324048", "text": "public void mainTask(String searchQuery) {\n\t\t\r\n\t}", "title": "" }, { "docid": "9ac9b7a629ad52c2b550bfd2e57d7872", "score": "0.53213125", "text": "@Override\n protected boolean checkFindApp(String line) {\n return line.contains(taskAppId);\n }", "title": "" }, { "docid": "3d1b39b3616d0b1ef36dc60d32b4a71f", "score": "0.52916265", "text": "@Test\n public void testShanghaiDisneyland(){\n String result = substitutions.getSubstitution(\"Shanghai Disneyland\");\n assertTrue(\"Doesn't contain Shanghai Disneyland\",substitutions.contains(\"Shanghai Disneyland\"));\n assertTrue(\"Shanghai Disneyland didn't map to Shanghai (\"+result+\")\",result.equalsIgnoreCase(\"Shanghai\"));\n }", "title": "" }, { "docid": "f910e0827e761c148d387104513c3afa", "score": "0.5289614", "text": "@Override\n\tpublic boolean containsWord(String word) {\n\t\tlock.lockReadOnly();\n\t\ttry {\n\t\t\treturn super.containsWord(word);\n\t\t} finally {\n\t\t\tlock.unlockReadOnly();\n\t\t}\n\t}", "title": "" }, { "docid": "102ecbcb71667f824a5aebe79111dd5e", "score": "0.5279017", "text": "boolean contains(String term);", "title": "" }, { "docid": "81702f18fe8d14e5d43b5ee6f1d575d8", "score": "0.526124", "text": "@Test\n public void containsWordIgnoreCase_validInputs_correctResult() {\n\n // Empty sentence\n assertFalse(StringUtil.containsWordIgnoreCase(\"\", \"abc\")); // Boundary case\n assertFalse(StringUtil.containsWordIgnoreCase(\" \", \"123\"));\n\n // Matches a partial word only\n assertFalse(StringUtil.containsWordIgnoreCase(\"aaa bbb ccc\", \"bb\")); // Sentence word bigger than query word\n assertFalse(StringUtil.containsWordIgnoreCase(\"aaa bbb ccc\", \"bbbb\")); // Query word bigger than sentence word\n\n // Matches word in the sentence, different upper/lower case letters\n assertTrue(StringUtil.containsWordIgnoreCase(\"aaa bBb ccc\", \"Bbb\")); // First word (boundary case)\n assertTrue(StringUtil.containsWordIgnoreCase(\"aaa bBb ccc@1\", \"CCc@1\")); // Last word (boundary case)\n assertTrue(StringUtil.containsWordIgnoreCase(\" AAA bBb ccc \", \"aaa\")); // Sentence has extra spaces\n assertTrue(StringUtil.containsWordIgnoreCase(\"Aaa\", \"aaa\")); // Only one word in sentence (boundary case)\n assertTrue(StringUtil.containsWordIgnoreCase(\"aaa bbb ccc\", \" ccc \")); // Leading/trailing spaces\n\n // Matches multiple words in sentence\n assertTrue(StringUtil.containsWordIgnoreCase(\"AAA bBb ccc bbb\", \"bbB\"));\n }", "title": "" }, { "docid": "ff62095eeed4d3c13483082848d4e9fb", "score": "0.5258464", "text": "public TaskList findTasks(String findStr) {\n ArrayList<Task> newTasks = this.tasks.stream()\n .filter(task -> task.getName().contains(findStr))\n .collect(Collectors.toCollection(ArrayList::new));\n return new TaskList(newTasks);\n }", "title": "" }, { "docid": "5a3f02ff31b7e7c6a70c198993b2a599", "score": "0.5252689", "text": "public void printTitlesContaining (String substring, boolean caseSensetive) throws NullPointerException, IllegalArgumentException\r\n\t{\r\n\t\t//if substring is null throw a null pointer exception saying null not allowed\r\n\t\tif(substring == null)\r\n\t\t{\r\n\t\t\t throw new NullPointerException(\"null not allowed\");\r\n\t\t}\r\n\t\t \r\n\t\t//if substring parameter is blank throw IllegalArgumentException saying bad string\r\n\t\tif(substring.equals(\"\"))\r\n\t\t{\r\n\t\t\tthrow new IllegalArgumentException(\"bad string\");\r\n\t\t}\r\n\t\t \r\n\t\t\r\n\t\t//otherwise continue through looping of novel objects\r\n\t\tfor (Novel novel:novels)\r\n\t\t{\r\n\t\t\tif(novel != null && novel.getTitle() !=null && novel.getTitle().trim().length() > 0)\r\n\t\t\t{\r\n\t\t\t\tif(caseSensetive)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(novel.getTitle().contains(substring))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.println(novel.getTitle());\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t//if not case sensetive\r\n\t\t\t\telse \r\n\t\t\t\t{\r\n\t\t\t\t\tif(novel.getTitle().toLowerCase().contains(substring.toLowerCase()))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.println(novel.getTitle());\r\n\t\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t\t}\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "03cf15839719ab09497c12c9521056f1", "score": "0.52506965", "text": "boolean contains(CharSequence s);", "title": "" }, { "docid": "53c15e1f1abd59e0ee87fe0b3e7f6698", "score": "0.52502936", "text": "public String[] findInTasks(String searchTerm) {\n List<String> res = new ArrayList<>();\n res.add(\"Here are the matching tasks in your list:\");\n for (Task t : list) {\n if (t.toString().contains(searchTerm)) {\n res.add(t.toString());\n }\n }\n String[] result = new String[res.size()];\n result = res.toArray(result);\n return result;\n }", "title": "" }, { "docid": "9fb49033c0293a286f03327f27f0bbf3", "score": "0.5247461", "text": "public List<Task> findMatchingTasks(String query) {\n return tasks.stream().filter(task -> task.getDescription().contains(query)).collect(Collectors.toList());\n }", "title": "" }, { "docid": "bfd8a10b7d42ad2a2a88994dac08de1b", "score": "0.5231036", "text": "public boolean contains(CharSequence name)\r\n/* 699: */ {\r\n/* 700:1450 */ return contains(name.toString());\r\n/* 701: */ }", "title": "" }, { "docid": "8ebf7549e22f5468f9ce6806ec7a0c77", "score": "0.5220732", "text": "private boolean listContainsSubstring(Collection<String> list, String checkStr) {\n for (String s : list) {\n logger.trace(\"CHECKING This URL [{}] for {}\", checkStr, s);\n if (checkStr.contains(s)) {\n logger.trace(\"This URL [{}] matches because of {}, so we're returning true.\", checkStr, s);\n return true;\n }\n }\n logger.trace(\"This URL [{}] did NOT match anything., checked against collection of size: {}\", checkStr, list.size());\n return false;\n }", "title": "" }, { "docid": "4ca09e0167863a8d8757b1f25d1513b4", "score": "0.52186257", "text": "@Test\n public void whenStringDoesNotContainsSubStringThenTrue() {\n String data1 = \"In god we trust!\";\n String data2 = \"hell\";\n boolean result = Test001.contains(data1, data2);\n boolean expected = false;\n assertThat(result, is(expected));\n }", "title": "" }, { "docid": "f2ff596771c90c63a471273a047a95cf", "score": "0.5213258", "text": "public static void assertContains(String expectedSubstring, String actualString) {\n assertContains(null, expectedSubstring, actualString);\n }", "title": "" }, { "docid": "c7515871cc342cb909bf840db50b5c57", "score": "0.5208702", "text": "@Override\n public String execute(TaskList tasks, Ui ui, Storage storage) {\n ArrayList<Task> res = new ArrayList<Task>();\n tasks\n .getAllTasks()\n .stream()\n .forEach((task -> {\n if (task.toString().contains(keyword)) {\n res.add(task);\n }\n }));\n\n return ui.matchingTasks() + ui.list(res);\n }", "title": "" }, { "docid": "c9f5790a50e681d1737ca1c4461fbc5f", "score": "0.5182668", "text": "public boolean contains(String s);", "title": "" }, { "docid": "44a9429496ee35bb52245e74810a7509", "score": "0.5178696", "text": "@Override\n public String execute(TaskList tasks, UI ui, Storage storage) throws DukeException {\n ArrayList<Task> temp = new ArrayList<>();\n ArrayList<Task> fullList = tasks.getTaskList();\n for (Task task: fullList) {\n if (task.toString().contains(toFind)) {\n temp.add(task);\n }\n }\n if (temp.size() == 0) {\n throw new DukeException(\"OOPS!!! I could not find any tasks with these words :-(\");\n }\n TaskList temp1 = new TaskList(temp);\n\n return ui.showFound(temp1);\n }", "title": "" }, { "docid": "7908d7ffaf5515f87edc01241dbc6209", "score": "0.51722866", "text": "@Test\n public void testPartiallyMatchingStrings() {\n System.out.println(\"Non-matching strings\");\n \n boolean expResult = true;\n String s1 = \"abcd\";\n String s2 = \"zbcd\";\n int minLength = 2;\n CommonSubstringFinder csf = new CommonSubstringFinder(s1,s2,minLength);\n assertEquals(expResult, csf.hasCommonSubstrings());\n \n expResult = true;\n minLength = 3;\n csf = new CommonSubstringFinder(s1,s2,minLength);\n assertEquals(expResult, csf.hasCommonSubstrings());\n \n expResult = false;\n minLength = 4;\n csf = new CommonSubstringFinder(s1,s2,minLength);\n assertEquals(expResult, csf.hasCommonSubstrings());\n }", "title": "" }, { "docid": "cbcbfabf20aac3cc8d306f85839e76c4", "score": "0.5171208", "text": "public static boolean containsThe(String str) {\n String str1 = str.toLowerCase();\n for (int i = 0; i < str.length()-2; i++){\n if (i < str1.length()-2 && str1.charAt(i)=='t' && str1.charAt(i+1)=='h' && str1.charAt(i+2)=='e')\n return true; \n }\n return false;\n }", "title": "" }, { "docid": "8baa266538b8a21fd0a0e488689b3fca", "score": "0.5153338", "text": "@Test\r\n public void testGetClassString() {\r\n assertTrue(\"The required text is not found\",mainClass.getClassString().contains(\"hello\") || mainClass.getClassString().contains(\"Hello\"));\r\n }", "title": "" }, { "docid": "492f5cfa29aca3a4ef1ed960cfa265d9", "score": "0.5151423", "text": "public static void main(String[] args) {\n\t\t\n\t\tString sentence=\"It was raining\";\n\t\tString sen=\"raining\";\n\t\tSystem.out.println(sentence.contains(sen)); // TRUE can look for sequence of characters\n\t\tSystem.err.println(sen.contains(sentence)); // FALSE\n\t\t\n\t\tSystem.out.println(sentence.contains(\"w\")); //TRUE\n\t System.out.println(sentence.contains(\"Was\")); //FALSE can give one or sequence of characters\n\t\t\n\t\t\n\t //TEST IF STRING STARTS WITH SPECIFIED PREFIX\n\t \n\t String str=\"It is very hot in the class today\"; \n\t System.out.println(str.startsWith(\"It\")); //TRUE\n\t \n\t //TEST IF STRING ENDS WITH SPECIFIED PREFIX\n\t \n\t System.out.println(str.endsWith(\"today\")); //TRUE\n\t\tSystem.out.println(str.endsWith(\"class\")); //FALSE\n\t\t\n\tSystem.out.println(\"CHECKS IF STRING IS EMPTY OR NOT\");\n\t\t\n\t\tString str1=\"\";\n\t\tString str2=\"Hello\";\n\t\tSystem.out.println(str1.isEmpty()); //TRUE\n\t\tSystem.out.println(str2.isEmpty()); //FALSE\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "1f6c715da86c580ee74e6fa469cb4040", "score": "0.51477236", "text": "public boolean findInOutput(String[] output, String start, String end)\n {\n for (String s : output)\n {\n if (s.startsWith(start) && s.endsWith(end))\n {\n return true;\n }\n } \n return false; \n }", "title": "" }, { "docid": "bf4f5de725cc6506b1ad2d9b237f497d", "score": "0.5140021", "text": "public boolean isGoodWord(String word, String base) {\n if (!wordSet.contains(word)) {\n Log.d(\"isGoodWord\", \"word not in set\");\n return false;\n }\n // Check that the word does not contain the substring\n else if (word.contains(base)) {\n Log.d(\"isGoodWord\", \"word contains base\");\n return false;\n } else return true;\n }", "title": "" }, { "docid": "8f651b5ccacd3c1cd83b120018e6ce93", "score": "0.51144606", "text": "public ArrayList<Task> findTask(String findKeywords) throws DukeException {\n ArrayList<Task> foundList = new ArrayList<>();\n for (Task t : taskList) {\n if(t.getTask().toLowerCase().contains(findKeywords.toLowerCase())) {\n foundList.add(t);\n }\n }\n if (foundList.isEmpty()) {\n throw new DukeException(KEYWORD_NOT_FOUND);\n }\n return foundList;\n }", "title": "" }, { "docid": "371a730ff1b170067bb3007ea4c53294", "score": "0.5110225", "text": "private CommandAction searchKeyword() {\n\t\tList<Task> taskList = getTaskList(_keyword);\n\t\tString outputMsg = getOutputMsg(taskList);\n\t\treturn new CommandAction(outputMsg, false, taskList);\n\t}", "title": "" }, { "docid": "79faa83c1c7974cde63a6d338e2379ec", "score": "0.5107799", "text": "private Predicate<String[]> taskDataPredicate(String input){\n\t\treturn (String[] data) -> {\n\t\t\tif(input == null || input.trim().isEmpty()){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\telse{\n\t\t\t\treturn matchTask(data, input);\n\t\t\t}\n\t\t};\n\t}", "title": "" }, { "docid": "a4c3b120a02bcb84a4759f3b3125c237", "score": "0.5106522", "text": "@Override\n public boolean onQueryTextSubmit(String query) {\n Log.d(TAG, \"Search query submit = \" + query);\n //Check if the characters are all ASCII characters\n if(query.matches(\"^\\\\p{ASCII}*$\")){\n filteredNowShowingList = filterNowShowing(nowShowingMovieList,query);\n searchTask = new Task();\n searchTask.execute(\"search\",query);\n }\n else{\n Toast.makeText(getActivity(),\"Please use English alphabets to search.\",Toast.LENGTH_SHORT).show();\n }\n return false;\n }", "title": "" }, { "docid": "59dc14366e160ef12cdbf8cc9d3e062a", "score": "0.50838894", "text": "public boolean searchMessage(String str, boolean z) {\n return searchMessage(str, z, false);\n }", "title": "" }, { "docid": "5d1e091a227ad8aff88a27a75719537a", "score": "0.5083768", "text": "public static void main ( String[] args ) {\n\n\t\t\t System.out.println ( \"\\nisLeap tests:\" );\n\t\t\t\tSystem.out.println ( isLeap(2017) );\n\n\t\t\t\tSystem.out.println ( \"\\nisValid tests:\" );\n\t\t\t\tSystem.out.println ( isValid(1, 31, 2016));\n\t\t\t\tSystem.out.println ( isValid(2, 29, 2016));\n\t\t\t\tSystem.out.println ( isValid(2, 29, 2017));\n/*\n System.out.println ( \"\\nisEmptyString tests:\" );\n System.out.println ( ! isEmptyString( \"bcdef\") );\n System.out.println ( ! isEmptyString( \"3\") );\n System.out.println ( isEmptyString( \"\") );\n*/\n\t\t\t/*\tSystem.out.println (\"\\neveryotherCharOf tests:\" );\n\t\t\t\tSystem.out.println ( everyOtherCharOf( \"hheelloo!!\" ) );\n\t\t\t\tSystem.out.println ( everyOtherCharOf( \"ddoogg\" ) );\n System.out.println ( everyOtherCharOf( \"ccaatt\" ) );\n\n\t\t\t\tSystem.out.println (\"\\nalphabetize tests:\" );\n\t\t\t\tSystem.out.println ( alphabeticalize( \"DcBa\" ));\n\t\t\t\tSystem.out.println ( alphabeticalize( \"aPPles\" ));\n\t\t\t\tSystem.out.println ( alphabeticalize( \"Gin\" ));\n\n\t\t\t\tSystem.out.println (\"\\ncontainsSubstring tests:\");\n\t\t\t\tSystem.out.println (containsSubstring( \"Horse\", \"or\" ));\n\t\t\t\tSystem.out.println (containsSubstring( \"Snoop Dogg\", \"og\" ));\n\t\t\t\tSystem.out.println ( ! containsSubstring( \"qrfqf\", \"banana\" ));\n\t\t\t\tSystem.out.println (containsSubstring( \"or\", \"horse\" ));\n\n\t\t\t\tSystem.out.println ( \"\\ncontainsSubstring tests (8):\" );\n\t\t\t\tSystem.out.println ( containsSubstring( \"bcdef\",\"cde\") );\n\t\t\t\tSystem.out.println ( containsSubstring( \"bcdef\",\"def\") );\n\t\t\t\tSystem.out.println ( containsSubstring( \"bcdef\",\"bc\") );\n\t\t\t\tSystem.out.println ( containsSubstring( \"bcdef\",\"b\") );\n\t\t\t\tSystem.out.println ( containsSubstring( \"bcdef\",\"f\") );\n\t\t\t\tSystem.out.println ( ! containsSubstring( \"bcdef\",\"bcc\") );\n\t\t\t\tSystem.out.println ( ! containsSubstring( \"bcdef\",\"cf\") );\n\n\t\t\t\tSystem.out.println ( \"\\neveryOtherCharOf tests (7):\" );\n\t\t\t\tSystem.out.println ( \"yohn\".equals (everyOtherCharOf( \"Xylophone\") ) );\n\t\t\t\tSystem.out.println ( \"yohns\".equals (everyOtherCharOf( \"Xylophones\") ) );\n\t\t\t\tSystem.out.println ( \"b\".equals (everyOtherCharOf( \"ab\") ) );\n\t\t\t\tSystem.out.println ( \"b\".equals (everyOtherCharOf( \"aba\") ) );\n\t\t\t\tSystem.out.println ( \"bx\".equals (everyOtherCharOf( \"abax\") ) );\n\t\t\t\tSystem.out.println ( \"\".equals (everyOtherCharOf( \"a\") ) );\n\t\t\t\tSystem.out.println ( \"\".equals (everyOtherCharOf( \"\") ) );\n\n\t\t\t\tSystem.out.println ( \"\\n alphabeticalize tests (5):\" );\n\t\t\t\tSystem.out.println ( \"ehlnoopsxy\".equals (alphabeticalize( \"xylophones\") ) );\n\t\t\t\tSystem.out.println ( \"ab\".equals (alphabeticalize( \"ba\") ) );\n\t\t\t\tSystem.out.println ( \"ab\".equals (alphabeticalize( \"ab\") ) );\n\t\t\t\tSystem.out.println ( \"a\".equals (alphabeticalize( \"a\") ) );\n\t\t\t\tSystem.out.println ( \"\".equals (alphabeticalize( \"\") ) );\n\n\t\t\t\tSystem.out.println (\"\\n radomize tests:\" );\n\t\t\t\tSystem.out.println ( randomize( \"alphabet\" ));\n\t\t\t\tSystem.out.println ( randomize( \"GegwerT\" ));\n\t\t\t\tSystem.out.println ( randomize( \"radomness\" ));\n\n\t\t\t\tSystem.out.println (\"\\n areAnagrams:\");\n\t\t\t\tSystem.out.println ( areAnagrams( \"tree\", \"reet\" ));\n\t\t\t\tSystem.out.println ( areAnagrams( \"beach\", \"cheab\" ));\n\t\t\t\tSystem.out.println ( areAnagrams( \"anagram\", \"nagaram\"));\n\n\t\t\t\tSystem.out.println ( \"\\ncontainsSubstring tests (8):\" );\n try { System.out.println ( StringMethods.containsSubstring( \"bcdef\",\"cde\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( StringMethods.containsSubstring( \"bcdef\",\"def\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( StringMethods.containsSubstring( \"bcdef\",\"bc\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( StringMethods.containsSubstring( \"bcdef\",\"b\") ); } catch ( Exception e ) { System.out.println (false); }\n \ttry { System.out.println ( StringMethods.containsSubstring( \"bcdef\",\"f\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( StringMethods.containsSubstring( \"bcdef\",\"\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( ! StringMethods.containsSubstring( \"bcdef\",\"bcc\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( ! StringMethods.containsSubstring( \"bcdef\",\"cf\") ); } catch ( Exception e ) { System.out.println (false); }\n\n System.out.println ( \"\\neveryOtherCharOf tests (7):\" );\n try { System.out.println ( \"yohn\".equals (StringMethods.everyOtherCharOf( \"Xylophone\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"yohns\".equals (StringMethods.everyOtherCharOf( \"Xylophones\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"b\".equals (StringMethods.everyOtherCharOf( \"ab\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"b\".equals (StringMethods.everyOtherCharOf( \"aba\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"bx\".equals (StringMethods.everyOtherCharOf( \"abax\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"\".equals (StringMethods.everyOtherCharOf( \"a\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"\".equals (StringMethods.everyOtherCharOf( \"\") ) ); } catch ( Exception e ) { System.out.println (false); }\n\n System.out.println ( \"\\nalphabeticalize tests (5):\" );\n try { System.out.println ( \"ehlnoopsxy\".equals (StringMethods.alphabeticalize( \"xylophones\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"ab\".equals (StringMethods.alphabeticalize( \"ba\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"ab\".equals (StringMethods.alphabeticalize( \"ab\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"a\".equals (StringMethods.alphabeticalize( \"a\") ) ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( \"\".equals (StringMethods.alphabeticalize( \"\") ) ); } catch ( Exception e ) { System.out.println (false); }\n\n System.out.println ( \"\\nareAnagrams tests (7):\" );\n try { System.out.println ( StringMethods.areAnagrams( \"bcdef\",\"cbdfe\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( StringMethods.areAnagrams( \"bcdef\",\"fedcb\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( StringMethods.areAnagrams( \"\",\"\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( StringMethods.areAnagrams( \"a\",\"a\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( ! StringMethods.areAnagrams( \"abb\",\"aba\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( ! StringMethods.areAnagrams( \"aa\",\"aaa\") ); } catch ( Exception e ) { System.out.println (false); }\n try { System.out.println ( ! StringMethods.areAnagrams( \"a\",\"b\") ); } catch ( Exception e ) { System.out.println (false); } */\n\n\n /* System.out.println ( \"\\ncontainsVowel tests:\" );\n System.out.println ( containsVowel(\"bcdaf\") );\n System.out.println ( containsVowel(\"bcde\") );\n System.out.println ( containsVowel(\"ibcd\") );\n System.out.println ( containsVowel(\"iobcd\") );\n System.out.println ( containsVowel(\"bucud\") );\n System.out.println ( containsVowel(\"bcdAf\") );\n System.out.println ( containsVowel(\"bcdE\") );\n System.out.println ( containsVowel(\"Ibcd\") );\n System.out.println ( containsVowel(\"IObcd\") );\n System.out.println ( containsVowel(\"bUcUd\") );\n System.out.println ( ! containsVowel(\"bcdFGh\") );\n System.out.println ( ! containsVowel(\"\") );\n\n System.out.println ( \"\\nisPalindrome tests:\" );\n System.out.println ( isPalindrome(\"\") );\n System.out.println ( isPalindrome(\"a\") );\n System.out.println ( isPalindrome(\"bb\") );\n System.out.println ( isPalindrome(\"bcb\") );\n System.out.println ( isPalindrome(\"otto\") );\n System.out.println ( isPalindrome(\"madamimadam\") );\n System.out.println ( ! isPalindrome(\"bc\") );\n System.out.println ( ! isPalindrome(\"bcc\") );\n System.out.println ( ! isPalindrome(\"bcdb\") );\n System.out.println ( ! isPalindrome(\"madaminadam\") );\n\n System.out.println ( \"\\nisPalindrome2 tests:\" );\n System.out.println ( isPalindrome2(\"\") );\n System.out.println ( isPalindrome2(\"a\") );\n System.out.println ( isPalindrome2(\"bb\") );\n System.out.println ( isPalindrome2(\"bcb\") );\n System.out.println ( isPalindrome2(\"otto\") );\n System.out.println ( isPalindrome2(\"madamimadam\") );\n System.out.println ( ! isPalindrome2(\"bc\") );\n System.out.println ( ! isPalindrome2(\"bcc\") );\n System.out.println ( ! isPalindrome2(\"bcdb\") );\n System.out.println ( ! isPalindrome2(\"madaminadam\") );\t\t*/\n\n }", "title": "" }, { "docid": "075911006388462beb879ebedbebb3a5", "score": "0.5083387", "text": "public static boolean hasMessage(Throwable t, String substring) {\n while (t != null) {\n String message = t.getMessage();\n if (message != null && message.contains(substring)) {\n return true;\n }\n t = t.getCause();\n }\n return false;\n }", "title": "" }, { "docid": "7d3c87dbcac00894d83530b42f2349a4", "score": "0.50766945", "text": "public boolean contains(String name)\r\n/* 49: */ {\r\n/* 50: 73 */ return false;\r\n/* 51: */ }", "title": "" }, { "docid": "8a33fa2a7b57e2f2ce78181f04e46451", "score": "0.5063954", "text": "private boolean isItWorkerAction(String input) {\n if (input.contains(ACTION) && input.contains(SPECIAL_CHAR1) && input.contains(SPECIAL_CHAR2)) {\n if (input.substring(FIRST_INDEX, SECOND_INDEX).equals(ACTION) && input.indexOf(ACTION) < input.indexOf(SPECIAL_CHAR1) && input.indexOf(ACTION) < input.indexOf(SPECIAL_CHAR2)) {\n return input.indexOf(SPECIAL_CHAR1) < input.indexOf(SPECIAL_CHAR2) - MINIMUM_LENGTH_INT && input.indexOf(SPECIAL_CHAR2) < input.length() - MINIMUM_LENGTH_INT;\n }\n }\n return false;\n }", "title": "" }, { "docid": "fd8b9c1e250fc874476c253ae333d195", "score": "0.5063738", "text": "public static boolean stringCanBeSegmentedHelper(String s, List<String> words, Map<String, Boolean> cache) {\n if(cache.containsKey(s)) {\n return cache.get(s);\n }\n\n boolean result = false;\n if(s.length() == 0) {\n return true;\n }\n\n for(String word : words) {\n if(s.startsWith(word)) {\n\n //if s = abcdefgh, word = abc, then we need to check \"defgh\" with same function\n //subStringToCheck = \"defgh\"\n String subStringToCheck = s.substring(word.length());\n result = stringCanBeSegmentedHelper(subStringToCheck, words, cache);\n // if result == false, then check for another word.\n if(result == true) {\n //return true;\n break;\n }\n }\n }\n cache.put(s, result);\n return result;\n }", "title": "" }, { "docid": "1bca011b9535fe060c6ee597ebdf29e8", "score": "0.505927", "text": "private String[] processRequired(String in){\n\t\tString save = in;\n\n\t\tin = removeUnapplicableStart(in);\n\t\tin = removeUnapplicableStart(in);\n\n\t\tboolean flag = false;\n\n\t\tfor (int i = 0; i < tokens.length; i++){\n\t\t\tif (in.contains(tokens[i])){\n\t\t\t\tflag = true;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif (flag){ return new String[]{save};\n\t\t} else { return new String[]{null,save};}\n\t}", "title": "" }, { "docid": "0f9a0afaa257d54de45924bbb182574d", "score": "0.50574875", "text": "public static boolean contains(String txt, String pat) {\r\n\t\tif (txt.isEmpty() || pat.isEmpty())\r\n\t\t\treturn false;\r\n\t\telse if (pat.length() > txt.length())\r\n\t\t\treturn false;\r\n\t\telse\r\n\t\t\treturn (KMPSearch.searchFirst(txt, pat) != -1);\r\n\t}", "title": "" }, { "docid": "022645de1612cff02ab5ae9eb573bf42", "score": "0.505341", "text": "public abstract boolean matches(String s);", "title": "" }, { "docid": "dcbe182e3fc0e3db44d752274ecfdc94", "score": "0.5044974", "text": "private boolean rangeIs(int start, int end, String str) {\r\n if (str == null || end - start != str.length())\r\n return false;\r\n String sub = sql.subSequence(start, end).toString();\r\n return str.equalsIgnoreCase(sub);\r\n }", "title": "" }, { "docid": "e11af57d171d414d268ffcf76d7fe6d7", "score": "0.50390023", "text": "public boolean contains(String word){\n //split the word and call helper method\n String[] wordString = word.split(\"\");\n return containsHelper(wordString, root, 0);\n }", "title": "" }, { "docid": "c111e86a6364882966cb4b8ae1416f8d", "score": "0.5037067", "text": "private boolean search(TSTNode node, char[] word, int index) {\n\t\tif (node == null)\n\t\t\treturn false;\n\n\t\tif (word[index] < node.val)\n\t\t\treturn search(node.left, word, index);\n\t\telse if (word[index] > node.val)\n\t\t\treturn search(node.right, word, index);\n\t\telse {\n\t\t\tif (node.isEnd && index == word.length - 1)\n\t\t\t\treturn true;\n\t\t\telse if (index == word.length - 1) {\n\t\t\t\t// partial word found\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\treturn search(node.middle, word, index + 1);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "12d06b0966745f24de34cc5a095ded66", "score": "0.5030384", "text": "private boolean containsIgnoreCase(Collection<String> list, String partialName){\n partialName = partialName.trim().toLowerCase();\n for (String fullName : list) {\n fullName = fullName.trim().toLowerCase();\n if(fullName.contains(partialName) || partialName.contains(fullName))\n return true;\n } \n return false;\n }", "title": "" }, { "docid": "7444082eacf7027095b745d82bcdd105", "score": "0.50181174", "text": "public static ArrayList<Task> search(Scanner reader, String searchCond) {\n\t\tArrayList<Task> result = new ArrayList<Task>();\r\n\t\twhile (reader.hasNextLine()) {\r\n\t\t\tString temp = reader.nextLine();\r\n\t\t\tString[] array = temp.split(\";\");\r\n\t\t\tString temptaskname = array[1];\r\n\t\t\tif (temptaskname.contains(searchCond)) {\r\n\t\t\t\tresult.add(makeItTask(array));\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "d39ec81de9373975fa7c78f715d7f4cc", "score": "0.50125587", "text": "@Test\n public void testPartiallyMatchingStrings2() {\n System.out.println(\"Non-matching strings\");\n \n boolean expResult = true;\n String s1 = \"bcde\";\n String s2 = \"zbcdef\";\n int minLength = 2;\n CommonSubstringFinder csf = new CommonSubstringFinder(s1,s2,minLength);\n assertEquals(expResult, csf.hasCommonSubstrings());\n \n expResult = true;\n minLength = 3;\n csf = new CommonSubstringFinder(s1,s2,minLength);\n assertEquals(expResult, csf.hasCommonSubstrings());\n \n expResult = true;\n minLength = 4;\n csf = new CommonSubstringFinder(s1,s2,minLength);\n assertEquals(expResult, csf.hasCommonSubstrings());\n expResult = false;\n \n minLength = 5;\n csf = new CommonSubstringFinder(s1,s2,minLength);\n assertEquals(expResult, csf.hasCommonSubstrings());\n }", "title": "" }, { "docid": "aa06037979e44873a86ec3392a8cdd1b", "score": "0.5007318", "text": "public static void main(String[] args) {\n\t\t\n\t\tString str = \"John Doe\";\n//\t\tSystem.out.println(str.contains(\"Doe\"));\n\t\tSystem.out.println(str.startsWith(\"J\"));\n\t\tSystem.out.println(str.endsWith(\"Doe\"));\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "a6746612fade8c3b7a70b836f5757bbd", "score": "0.500628", "text": "public boolean contains(String str)\n\t{\n\t\t// base case\n\t\tif(next == null)\n\t\t{\n\t\t\treturn word.equals(str);\n\t\t}\n\t\t// recursive case\n\t\telse\n\t\t{\n\t\t\treturn word.equals(str)? true : next.contains(str);\n\t\t}\n\t}", "title": "" }, { "docid": "13b37cdc5b0dab13132d2e20446ec82f", "score": "0.5004245", "text": "public boolean startsWith( Substring needle )\n {\n return containsAt( needle, 0, Case.SENSITIVE );\n }", "title": "" }, { "docid": "2514e527823afb76ef23a7bd5521de71", "score": "0.49979332", "text": "protected boolean contains(String s){\r\n\t\treturn containsCheck(root.next,s.toCharArray());\r\n\t}", "title": "" }, { "docid": "68d8c5d0dfcb5a2cc7530a991a4eff1e", "score": "0.49942884", "text": "public boolean contains(String str) {\r\n \t\ttry {\r\n \t\t\tbyte[] parsed = componentParseURI(str);\r\n \t\t\tif (null == parsed) {\r\n \t\t\t\treturn false;\r\n \t\t\t} else {\r\n \t\t\t\treturn contains(parsed);\r\n \t\t\t}\r\n \t\t} catch (DotDotComponent c) {\r\n \t\t\treturn false;\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "8568d6a3517248b97793b687d2fc9e37", "score": "0.49913955", "text": "public static void assertContains(String message, String expectedSubstring, String actualString) {\n if (!actualString.contains(expectedSubstring)) {\n String header = JUnitMoreUtil.formatHeader(message);\n Assert.fail(formatAssertContainsMessage(header, expectedSubstring, actualString));\n }\n }", "title": "" }, { "docid": "8b1f48b24bf5f706c4ab28a8b237e581", "score": "0.49837247", "text": "public boolean contains(String tag, String s);", "title": "" }, { "docid": "c68f20cfd3df9751c36dab558bfa0f65", "score": "0.4982642", "text": "@Test\r\n\tpublic void testCustomString() {\r\n\t\tString s = \"This art thou a test\";\r\n\t\tBoolean works = true;\r\n\t\tSpecialString rs = new JumbledString(\"This art thou a test\");\r\n\t\tSystem.out.println(rs);\r\n\t\tfor(int i = 0;i<20;i++) {\r\n\t\t\tif(rs.toString().contains(s.substring(i,i+1))) {\r\n\t\t\t\t\r\n\t\t\t}else {\r\n\t\t\t\tworks = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tassertEquals(works, true);\r\n\t}", "title": "" }, { "docid": "9343f5b78cb70c3367a20ffd6ed8d664", "score": "0.49764043", "text": "private Boolean checkWithRegEx(String word, String str){\n Boolean answer = false;\n String[] strings = str.split(\" \");\n Pattern p = Pattern.compile(word);\n Matcher m;\n\n for (String s:strings) {\n m = p.matcher(s);\n if (m.find()){\n answer = true;\n }\n m.reset();\n }\n return answer;\n }", "title": "" }, { "docid": "d51d0900a07d9e053e039781bae1da84", "score": "0.49742493", "text": "public boolean match(String source);", "title": "" }, { "docid": "b86c09cd0dbbd69c3f50ea13bd607a8e", "score": "0.49726254", "text": "public boolean isSearchSuccessful(){\n\n try {\n WebDriverWait wait = new WebDriverWait(driver, 10);\n wait.until(isTrue -> driver.getTitle().toLowerCase().contains(searchString.toLowerCase()));\n return true;\n }\n catch (TimeoutException e) {\n System.out.println(\"Search failed.\");\n return false;\n }\n }", "title": "" }, { "docid": "e42ae5433934f0933967aac7f8a0244d", "score": "0.4971201", "text": "public ArrayList<Task> match(String description) {\r\n ArrayList<Task> foundTasks = new ArrayList<>();\r\n for (Task task : tasks) {\r\n if (task.getDescription().contains(description)) {\r\n foundTasks.add(task);\r\n }\r\n }\r\n return foundTasks;\r\n }", "title": "" }, { "docid": "35cf55d70724047fd9dcd846e0f36284", "score": "0.4969119", "text": "public boolean search(String word) {\n\n return helper(word, 0, node);\n }", "title": "" }, { "docid": "1ee450f353ca0d62987b817e5bfa80c8", "score": "0.49626535", "text": "private boolean containsIgnoreCase(String prefix, String current){\n\t\t\n\t\tprefix = prefix.toUpperCase();\n\t\tcurrent = current.toUpperCase();\n\t\t\n\t\treturn current.startsWith(prefix);\n\t}", "title": "" }, { "docid": "bdd5e3aa3fc69b246ee77d784f472c6f", "score": "0.49607262", "text": "@Override\n public boolean contains(String word) {\n return get(word) != 0;\n }", "title": "" }, { "docid": "4962f6120384e14e297c274cec3494c1", "score": "0.49566934", "text": "@Test\n\tpublic void validateResult () {\n\t\t\n\t\t WebElement data=driver.findElement(By.className(\"st\"));\n\t \n\t\t result=data.getText().toLowerCase();\n\t \n\t\t data=driver.findElement(By.className(\"LC20lb\"));\n\t \n\t\t result+=data.getText().toLowerCase();\n\t \n\t Assert.assertEquals(result.contains(query.toLowerCase()), true);\n\t \n\t}", "title": "" }, { "docid": "33d70b80ccc9be5ccb42971a7f2160e9", "score": "0.49491313", "text": "public static boolean isSubsequence(String s, String t) {\n if(s== null || t== null){return false;}\n int slen = s.length();\n int tlen = t.length();\n if(slen == 0 && (tlen != 0|| tlen==0)){return true;}\n if(slen > tlen){return false;}\n int count = 0;\n for(int i = 0; i < t.length(); i++){\n if(s.charAt(count) == t.charAt(i)){\n count++;\n if(count == slen){return true;}\n }\n }\n return false;\n }", "title": "" }, { "docid": "9d540d93fd157d2b09a0ff9e46747ce5", "score": "0.4946884", "text": "public boolean search(String word) {\n return helper(word, root, 0);\n }", "title": "" }, { "docid": "30c86a19db1f6291ce3a51e65260f5e7", "score": "0.4941676", "text": "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n System.out.println(\"please write a sentence\");\n String sentence = scan.nextLine();\n String word = scan.nextLine();\n\n\n if(!sentence.contains(\"word\")){\n System.out.println(false);\n }else{\n System.out.println(true);\n }\n\n\n\n\n\n\n\n }", "title": "" }, { "docid": "19ace3f6557198e5b3a7ff298935fb1f", "score": "0.4940614", "text": "public abstract int SP_IPOD_ABC123Search(String wsSearchStr,\n boolean bNeedInMatching);", "title": "" }, { "docid": "bb99c5c7ced574e5c73d5a591fc5ebdb", "score": "0.49377984", "text": "public static boolean containsSubsequence(String Target, String Source)\n\t{\n\t\t// return true if the source has no length\n\t\tif (Target.length() == 0) {\n\t\t\treturn true;\n\t\t}\n\t\t\n\t\tint index = 0;\n\t\tfor (int i=0; i<Source.length(); i++)\n\t\t{\n\t\t\t// found the letter at Source[index] at Target[i]\n\t\t\tif (Source.charAt(i) == Target.charAt(index)) {\n\t\t\t\tindex++;\n\t\t\t}\n\t\t\t\n\t\t\t// all the letters were found in sequential order\n\t\t\tif (index == Target.length()) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "cc95f1647fab65346914e4d9c73285d4", "score": "0.49355522", "text": "public boolean contains(String place){\n if (places.contains(place)){\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "1aa5d6353365d7de93690cd5e0e76d61", "score": "0.49349397", "text": "private void contains(boolean own) {\n tq.consume(own ? \":containsOwn\" : \":contains\");\n String searchText = TokenQueue.unescape(tq.chompBalanced('(',')'));\n Validate.notEmpty(searchText, \":contains(text) query must not be empty\");\n if(own)\n \ts.add(new Evaluator.ContainsOwnText(searchText));\n else\n \ts.add(new Evaluator.ContainsText(searchText));\n }", "title": "" }, { "docid": "d9a598535620771f67453c3636e4e40e", "score": "0.49339515", "text": "public boolean search(String s) {\n\t\t\n\t\tString searchStr = this.isCaseSensitive() ? this.getSearchString() : this.getSearchString().toLowerCase();\n\t\tString source = this.isCaseSensitive() ? s : s.toLowerCase();\n\n\t\tif (this.isWholeWord())\n\t\t{\n\t\t\tif( searchStr.trim().isEmpty())\n\t\t\t\treturn false;\n\t\t\treturn source.matches(\"[\\\\s\\\\S]*?\\\\b\" + searchStr + \"\\\\b[\\\\s\\\\S]*?\");\n\t\t}\n\t\t\n\t\treturn source.contains(searchStr);\n\n\n\t}", "title": "" }, { "docid": "061654f547c966b705d4667d4eee8746", "score": "0.49328563", "text": "public static boolean find(String text, String str) {\n\t\tif(text.length() < str.length()) {\n\t\t\treturn false;\n\t\t}\n\t\telse if(text.substring(0, str.length()).equalsIgnoreCase(str)) {\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn find(text.substring(1), str);\n\t\t}\n\t}", "title": "" }, { "docid": "eba9e1d878359b2a70ce56c49052fef8", "score": "0.49322397", "text": "public boolean search(String word) {\n Trie node = searchPrefix(word);\n return node != null && node.isEnd;\n }", "title": "" } ]
2a773e299f5060ea63355399341f1cb4
required string version = 2;
[ { "docid": "26e0f1496d055a5f18dda408ea37e7cf", "score": "0.0", "text": "public boolean hasVersion() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" } ]
[ { "docid": "600afda0b1941345b8529de80b5370eb", "score": "0.7152119", "text": "public void setVersion(String version);", "title": "" }, { "docid": "5e0347f7c3bb1809c265f39b94c0feef", "score": "0.7007416", "text": "void setVersion(String version);", "title": "" }, { "docid": "5e0347f7c3bb1809c265f39b94c0feef", "score": "0.7007416", "text": "void setVersion(String version);", "title": "" }, { "docid": "b8748721b04bc989af158e38396fec20", "score": "0.7000567", "text": "void setVersion(String aVersion);", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6928745", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6928745", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6928745", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6928745", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6928745", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6928745", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6928745", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6928745", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "3f863029d34b1fd8f3deb4ffc5d0e557", "score": "0.6928745", "text": "java.lang.String getVersion();", "title": "" }, { "docid": "5bb0824ecdd099c934ac121f71b08109", "score": "0.68461555", "text": "public int getVersion()\n {\n return 1;\n }", "title": "" }, { "docid": "2dd3abc0068c09809c5cb22a56c168c3", "score": "0.6837657", "text": "public void setVersionNo (String VersionNo);", "title": "" }, { "docid": "c553f92ca1bb09095e139b9614266013", "score": "0.6814848", "text": "public void setVersion(String value) { m_version = value; }", "title": "" }, { "docid": "862ff15b12d9f07dadfdd22cb29dec7f", "score": "0.68005824", "text": "public abstract String getVersion();", "title": "" }, { "docid": "ebbaf2072e6ff7c10e2318c17e31bd1c", "score": "0.67998374", "text": "public int getVersion()\n {\n return 2;\n }", "title": "" }, { "docid": "dea86a2ecd4309883527ae4563faef4c", "score": "0.6757827", "text": "@NotNull\n Version version();", "title": "" }, { "docid": "e1ec3b6d547c80973c693240aa543ec2", "score": "0.6739871", "text": "public String getVersion() {\n\treturn \"0.1\";\n}", "title": "" }, { "docid": "e2c3c674c094ab3790a70257f1328a99", "score": "0.6738158", "text": "@Test\n public void validVersion03()\n {\n new Version( \".RC1.\" );\n }", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "aacc001b9ef542466c2d655450c72b8f", "score": "0.6736179", "text": "String getVersion();", "title": "" }, { "docid": "681d1c63defe8ee8d5eec420801dc9fb", "score": "0.6720914", "text": "void setVersion(java.lang.String version);", "title": "" }, { "docid": "ffdb7fa78b92f2f86dd0e64bfb0ab847", "score": "0.671909", "text": "public void setVersion(java.lang.String param){\n \n this.localVersion=param;\n \n\n }", "title": "" }, { "docid": "db309b9d7d74ef716b966c712c7fff54", "score": "0.6662454", "text": "Object getVERSIONNUMBER();", "title": "" }, { "docid": "8cdc240f24540a1a616f6df8fdc7d37b", "score": "0.66536564", "text": "public void setVersion(String version) {\n\t\t\r\n\t}", "title": "" }, { "docid": "e8cb8e31f7f45ce803a6d5109f6038a0", "score": "0.6646807", "text": "public void setVersion(double aVersion) { _version = aVersion; }", "title": "" }, { "docid": "b80915ff7d4f15b2a3886f4686bfe07d", "score": "0.663064", "text": "public void setVersion(String version)\r\n {\r\n this.version = version;\r\n }", "title": "" }, { "docid": "6170e0728b98f3ebbbef95f62c1e38f6", "score": "0.66244644", "text": "public void setVersion(String value) {\n this.version = value;\n }", "title": "" }, { "docid": "62a326d8cb1cb200c1305c46653e16c7", "score": "0.65629965", "text": "private Version() {}", "title": "" }, { "docid": "244678d113a1024bec46f10d4c1ca660", "score": "0.65499985", "text": "@Override\n public int getVersion() {\n return 2;\n }", "title": "" }, { "docid": "22b139c32fa54562bff58571a1408098", "score": "0.6540821", "text": "public void setVersion(String version)\n {\n this.version = version;\n }", "title": "" }, { "docid": "6b41d2519319ae4bbf32561d2cd12541", "score": "0.6528529", "text": "public void setVersion(String version) {\n this.version = version;\n }", "title": "" }, { "docid": "3e69c4865854ea27a1823e851d42a9f8", "score": "0.6522026", "text": "@Nullable\n public abstract String version();", "title": "" }, { "docid": "7f4c78d9ae69e1db57c829a49a299748", "score": "0.65202576", "text": "public void setVersion(final String value) {\n this.version = value;\n }", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6518522", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6518522", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6518522", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6518522", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6518522", "text": "int getVersion();", "title": "" }, { "docid": "a9fda6ace809f9b604c13cd4f16bee63", "score": "0.6518522", "text": "int getVersion();", "title": "" }, { "docid": "4547652877c83c665ed9ab10b6a20076", "score": "0.65132636", "text": "public static int getVersion()\n\t{\n\treturn 100;\n\t}", "title": "" }, { "docid": "f99094b839075bf529be3a0745bf51bb", "score": "0.6476656", "text": "public interface Version {\r\n\t\r\n\t/**\r\n\t * The full qualified OJB release string.\r\n\t * consists of OJB_VERSION_MAJOR . OJB_VERSION_MINOR . OJB_VERSION_BUILD \r\n\t */\r\n\tpublic static final String OJB_VERSION_FULLQUALIFIED = \"1.0.4\";\r\n\r\n\t/**\r\n\t * The OJB major version number\r\n\t */\r\n\tpublic static final String OJB_VERSION_MAJOR = \"1\";\r\n\r\n\t/**\r\n\t * The OJB minor version number\r\n\t */\r\n\tpublic static final String OJB_VERSION_MINOR = \"0\";\r\n\t\r\n\t/**\r\n\t * The OJB build number\r\n\t */\r\n\tpublic static final String OJB_VERSION_BUILD = \"4\";\r\n\r\n\t/**\r\n\t * The timestamp of the current release\r\n\t */\r\n\tpublic static final String OJB_VERSION_DATE = \"2005-12-30\";\r\n}", "title": "" }, { "docid": "1a7751f64d34b3f4d4f4b86cbaeacf66", "score": "0.6450378", "text": "public String getVersion();", "title": "" }, { "docid": "1a7751f64d34b3f4d4f4b86cbaeacf66", "score": "0.6450378", "text": "public String getVersion();", "title": "" }, { "docid": "69067a053489f477c5cd38c3f8959422", "score": "0.64393723", "text": "String version();", "title": "" }, { "docid": "69067a053489f477c5cd38c3f8959422", "score": "0.64393723", "text": "String version();", "title": "" }, { "docid": "9dca3b93991fbd183eb8c7679772b6af", "score": "0.6435573", "text": "public void setVersion(\n String version\n ) {\n this.version = version;\n }", "title": "" }, { "docid": "5ac9e16d857be5a6f8edf272cdc07666", "score": "0.64334196", "text": "public void setVersion(String version) {\r\n this.version = version;\r\n }", "title": "" }, { "docid": "fc0d8bf3c6f2323f282733f8ece9bd7f", "score": "0.6409413", "text": "public int getVersion();", "title": "" }, { "docid": "9d740dfe45e3a49f7e455a8da795dde5", "score": "0.64086646", "text": "public void setVersion(String value_)\n {\n version.setValue(value_);\n }", "title": "" }, { "docid": "c6b7df1556fa5ba4505ab9649961fa93", "score": "0.63886714", "text": "@Override\npublic String getVersion() {\n\t return \"More Bakeables and Makeables 2.0\";\n}", "title": "" }, { "docid": "fc5cf8ff7628007657283bf382b36c01", "score": "0.63597697", "text": "public void setVersion(String version) {\n\t\tthis.version = \"1.\" + version;\n\t}", "title": "" }, { "docid": "425eb8e40efd73ca41c03176e68c920d", "score": "0.6344491", "text": "@Override\n\tpublic String getVersion() {\n\t\treturn \"1.0\";\n\t}", "title": "" }, { "docid": "ea9c73a66ec7b3eca21fee793d61a5a7", "score": "0.63434696", "text": "public void setVersion(String version) {\n this.version = version.toLowerCase(Locale.ENGLISH);\n }", "title": "" }, { "docid": "0fa5528969a007d9564eea15698be5c2", "score": "0.6333281", "text": "default Version version() { return Version.emptyVersion; }", "title": "" }, { "docid": "4bb61874fb9712e57eef20f297a17685", "score": "0.6329413", "text": "public void setVersion(String version) {\n this.version = version;\n }", "title": "" }, { "docid": "4bb61874fb9712e57eef20f297a17685", "score": "0.6329413", "text": "public void setVersion(String version) {\n this.version = version;\n }", "title": "" }, { "docid": "4bb61874fb9712e57eef20f297a17685", "score": "0.6329413", "text": "public void setVersion(String version) {\n this.version = version;\n }", "title": "" }, { "docid": "4bb61874fb9712e57eef20f297a17685", "score": "0.6329413", "text": "public void setVersion(String version) {\n this.version = version;\n }", "title": "" }, { "docid": "3f2a38dc5ade681dde1f4904ca4ad824", "score": "0.63210315", "text": "public String getVersion(){\n return version;\n }", "title": "" }, { "docid": "f566a19d7b33bce292e0b355c68bcfc5", "score": "0.63176996", "text": "@Override\n public String getVersion()\n {\n return version;\n }", "title": "" }, { "docid": "d20133667ec8d10b5346514483a1cfba", "score": "0.6302565", "text": "public int getMinimumVersion() { return 1109; }", "title": "" }, { "docid": "b3d03107aae99e478c99a30b179f4b53", "score": "0.630194", "text": "public void setVersion(String version) {\n/* 1321 */ throw new DTMDOMException((short)9);\n/* */ }", "title": "" }, { "docid": "03044a6b7ca9c4f7ec1c48b8e8cbf5d9", "score": "0.62968653", "text": "int getVersionNumber();", "title": "" }, { "docid": "43cf54757ed68ebfa651fd5d9548d379", "score": "0.6292465", "text": "String getVersionMinor();", "title": "" }, { "docid": "f4012ef47256a91c1f02a5b3244b6b06", "score": "0.6272103", "text": "com.google.protobuf.ByteString getVersionBytes();", "title": "" }, { "docid": "8e112466e48b05febd2246753d84b697", "score": "0.6269427", "text": "public String getVersion() {\n return \"2.0\";\n }", "title": "" }, { "docid": "c26b8aead6ddfff3791f758834a856f3", "score": "0.6265399", "text": "long getVersion();", "title": "" }, { "docid": "c26b8aead6ddfff3791f758834a856f3", "score": "0.6265399", "text": "long getVersion();", "title": "" }, { "docid": "c26b8aead6ddfff3791f758834a856f3", "score": "0.6265399", "text": "long getVersion();", "title": "" }, { "docid": "c26b8aead6ddfff3791f758834a856f3", "score": "0.6265399", "text": "long getVersion();", "title": "" }, { "docid": "c26b8aead6ddfff3791f758834a856f3", "score": "0.6265399", "text": "long getVersion();", "title": "" }, { "docid": "87c4ac3469a907ddfd0172e69afca249", "score": "0.62590843", "text": "public String getVersionNo();", "title": "" }, { "docid": "99a1d23fbb26b27fd55f25cd9b0e5388", "score": "0.62539744", "text": "boolean hasVersionString();", "title": "" }, { "docid": "4b56fb4b3d42b959e37790496ffa3a37", "score": "0.6253691", "text": "public void setVersionName(String versionName)\n/* */ {\n/* 252 */ this.versionName = versionName;\n/* */ }", "title": "" }, { "docid": "d9f4d2a7994ec664450b323fa1ecc44d", "score": "0.62503743", "text": "@Override\r\n\tpublic String getVersion() {\r\n\t\treturn \"1.0.6\";\r\n\t}", "title": "" }, { "docid": "306b3da7f181271c25c9ad387c24a69c", "score": "0.624883", "text": "@Test\n public void validVersion02()\n {\n new Version( \"..\" );\n }", "title": "" }, { "docid": "1c30e6c358c58919b62053faddc06a78", "score": "0.62432975", "text": "public void setVersion(String version)\r\n\t{\r\n\t\tthis.m_version = version;\r\n\t}", "title": "" }, { "docid": "1e1d28b1c4a038513c69f44fbba514e4", "score": "0.62324035", "text": "public void setVersion(String version) {\n\t\tthis.version = version;\n\t}", "title": "" }, { "docid": "1e1d28b1c4a038513c69f44fbba514e4", "score": "0.62324035", "text": "public void setVersion(String version) {\n\t\tthis.version = version;\n\t}", "title": "" }, { "docid": "b128ddf9c9cecf36c90adc30a54e7203", "score": "0.6211379", "text": "@Test\n public void validVersion01()\n {\n new Version( \".\" );\n }", "title": "" }, { "docid": "25c4d338f37ade7cfc977ce02c56591e", "score": "0.6207725", "text": "public void setVersion(int version) {\r\n this.version = version;\r\n }", "title": "" }, { "docid": "1662c5c9417b1593a040019144335c2f", "score": "0.62027", "text": "static int getMinorVersionInternal() {\n/* 147 */ return safeIntParse(\"1\");\n/* */ }", "title": "" }, { "docid": "c7936d22bf3a4d8fe58798f21b9b705f", "score": "0.61775374", "text": "public String getVersion() { return _version; }", "title": "" }, { "docid": "59f5a3e9685d38fa59cebfe317579ada", "score": "0.61698025", "text": "int getVersion() {\n return version;\n }", "title": "" }, { "docid": "7f6a47685c3425513fae080a3842a46a", "score": "0.61426836", "text": "VersionResponse version();", "title": "" }, { "docid": "eac3c73116a076280493995c5c60540c", "score": "0.61344254", "text": "public Builder setVersion(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n version_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a7e0c15f1c4f7c35c42078351505a83e", "score": "0.6122157", "text": "public abstract String getGameVersion();", "title": "" } ]
80331fddef66051a07519e2070a665da
Checks if the node or its descendants can reach the goal
[ { "docid": "0ea8c6bb3fcefa8ac15af4e111ce84bd", "score": "0.5454518", "text": "public boolean search(int maxDepth)\n {\n visitedSpaces[location[0]][location[1]] = true; // Set the current tile as visited, as we are now visiting it\n boolean isGoal = false; // Assume the tile is not the goal\n // Check if the current location actually is a goal location\n for(int[] goalTile : goalTiles)\n {\n if(location[0] == goalTile[0] && location[1] == goalTile[1])\n {\n isGoal = true;\n break;\n }\n }\n // If the current location is a goal, mark that the path has been found, increment the value on the final map, and allow for other paths to visit the current location\n // by setting the visited space to unvisited. Finally, return true since the goal was reached\n if(isGoal)\n {\n if(!pathFound)\n {\n total = 1;\n pathFound = true;\n } else\n {\n total++;\n }\n finalMap[location[0]][location[1]]++;\n visitedSpaces[location[0]][location[1]] = false;\n return true;\n } else if(maxDepth > depth) // If the maximum depth hasn't yet been reached, search any allowable locations next to the current location\n {\n // Initially assume no descendants will reach the goal, no directions can be explored and (hence) none will be fruitful\n boolean enRouteToGoal = false;\n double nDirectionsExplored = 0;\n double nFruitfulDirections = 0;\n // For each direction, check if the thing modeled can move in that direction, and that it won't leave the allowed spaces\n if((moveCapabilities[0] == MoveType2D.BOTH || moveCapabilities[0] == MoveType2D.FORWARD)\n && location[0] < (visitedSpaces.length - 1) && !visitedSpaces[location[0] + 1][location[1]])\n {\n nDirectionsExplored++;\n int[] newLocation = new int[N_DIMENSIONS];\n newLocation[0] = location[0] + 1;\n newLocation[1] = location[1];\n boolean enRoute = new Node(newLocation, depth + 1).search(maxDepth);\n if(enRoute)\n {\n enRouteToGoal = true;\n nFruitfulDirections++;\n }\n }\n if((moveCapabilities[0] == MoveType2D.BOTH || moveCapabilities[0] == MoveType2D.BACKWARD)\n && location[0] > 0 && !visitedSpaces[location[0] - 1][location[1]])\n {\n nDirectionsExplored++;\n int[] newLocation = new int[N_DIMENSIONS];\n newLocation[0] = location[0] - 1;\n newLocation[1] = location[1];\n boolean enRoute = new Node(newLocation, depth + 1).search(maxDepth);\n if(enRoute)\n {\n enRouteToGoal = true;\n nFruitfulDirections++;\n }\n }\n if((moveCapabilities[1] == MoveType2D.BOTH || moveCapabilities[1] == MoveType2D.FORWARD)\n && location[1] < (visitedSpaces[0].length - 1) && !visitedSpaces[location[0]][location[1] + 1])\n {\n nDirectionsExplored++;\n int[] newLocation = new int[N_DIMENSIONS];\n newLocation[0] = location[0];\n newLocation[1] = location[1] + 1;\n boolean enRoute = new Node(newLocation, depth + 1).search(maxDepth);\n if(enRoute)\n {\n enRouteToGoal = true;\n nFruitfulDirections++;\n }\n }\n if((moveCapabilities[1] == MoveType2D.BOTH || moveCapabilities[1] == MoveType2D.BACKWARD)\n && location[1] > 0 && !visitedSpaces[location[0]][location[1] - 1])\n {\n nDirectionsExplored++;\n int[] newLocation = new int[N_DIMENSIONS];\n newLocation[0] = location[0];\n newLocation[1] = location[1] - 1;\n boolean enRoute = new Node(newLocation, depth + 1).search(maxDepth);\n if(enRoute)\n {\n enRouteToGoal = true;\n nFruitfulDirections++;\n }\n }\n // If the node has descendants that reach the goal, calculate a score to add to the final map\n // Otherwise, if the path hasn't been found, add the inverse of the distance to the nearest goal\n if(enRouteToGoal)\n {\n double amountToAdd = nFruitfulDirections * Math.pow(maxDepth - depth + 1, EN_ROUTE_WEIGHT);\n finalMap[location[0]][location[1]] += amountToAdd;\n total += amountToAdd;\n } else if(!pathFound)\n {\n double xDist = Math.abs(location[0] - goalTiles.get(0)[0]);\n double yDist = Math.abs(location[1] - goalTiles.get(0)[1]);\n if(goalTiles.size() > 1)\n {\n xDist = Math.min(xDist, Math.abs(location[0] - goalTiles.get(1)[0]));\n yDist = Math.min(yDist, Math.abs(location[1] - goalTiles.get(1)[1]));\n }\n double inverseDistance = 1 / (xDist + yDist);\n workingMap[location[0]][location[1]] += inverseDistance;\n total += Math.pow(inverseDistance, UNFOUND_WEIGHT);\n }\n visitedSpaces[location[0]][location[1]] = false;\n return enRouteToGoal;\n } else if(!pathFound) // If a path has yet to be found which reaches the goal, and the farthest depth has been reached, add to the working map\n {\n double xDist = Math.abs(location[0] - goalTiles.get(0)[0]);\n double yDist = Math.abs(location[1] - goalTiles.get(0)[1]);\n if(goalTiles.size() > 1)\n {\n xDist = Math.min(xDist, Math.abs(location[0] - goalTiles.get(1)[0]));\n yDist = Math.min(yDist, Math.abs(location[1] - goalTiles.get(1)[1]));\n }\n double inverseDistance = 1 / (xDist + yDist);\n workingMap[location[0]][location[1]] += inverseDistance;\n total += Math.pow(inverseDistance, UNFOUND_WEIGHT);\n visitedSpaces[location[0]][location[1]] = false;\n return false;\n } else // If a path has been found, but the current node can't go deeper and isn't the goal it should allow revisiting the spaces and return false\n {\n visitedSpaces[location[0]][location[1]] = false;\n return false;\n }\n }", "title": "" } ]
[ { "docid": "ee6f17433e198618073f0c4e3b91ff9e", "score": "0.6823614", "text": "public boolean goalReached() {\n\t\treturn contains(_graph.getGoalNode());\n\t}", "title": "" }, { "docid": "fbbfeed149a1639868d4c1895389f0ab", "score": "0.64787716", "text": "public boolean canTraverseOutsideSubtree() {\n/* 128 */ return super.canTraverseOutsideSubtree() ? true : this.m_arg1\n/* 129 */ .canTraverseOutsideSubtree();\n/* */ }", "title": "" }, { "docid": "75f3a1b78ba9e1edd4debb9b6cc67b30", "score": "0.6302511", "text": "public boolean isReachable(int from, int to) {\n clear();\n explore(from);\n return postVisit[to] != 0;\n }", "title": "" }, { "docid": "bb739a85b4b8cc1a7313c1fbf81e8a2a", "score": "0.6212369", "text": "public boolean isGoal(LogicalNetNode node) {\n if (node.getId() % 2 == 0)\n return true;\n else\n return false;\n }", "title": "" }, { "docid": "cbe01c06623fff13eabe86a95e810021", "score": "0.61698097", "text": "private NodeCheck isValidLevelCrossingNode(final Node node)\n {\n final Atlas atlas = node.getAtlas();\n\n // check for any ways at this node to ignore.\n if (Iterables.asList(atlas.itemsContaining(node.getLocation())).stream()\n .anyMatch(this::ignoreWay))\n {\n return NodeCheck.NODE_IGNORE;\n }\n // Get railway connections to this node\n final List<AtlasItem> connectedRailways = Iterables\n .asList(atlas.itemsContaining(node.getLocation())).stream()\n .filter(this.railwayFilter::test).collect(Collectors.toList());\n if (connectedRailways.isEmpty())\n {\n // Node has no railways through it\n return NodeCheck.NODE_NO_RAILWAY;\n }\n // Get pedestrian navigable connections to this node\n final List<AtlasItem> connectedPedHighways = Iterables\n .asList(atlas.itemsContaining(node.getLocation())).stream()\n .filter(object -> HighwayTag.isPedestrianNavigableHighway(object)\n || FootTag.isPedestrianAccessible(object))\n .collect(Collectors.toList());\n // Get cycleway connections to this node\n final List<AtlasItem> cyclewayHighways = Iterables\n .asList(atlas.itemsContaining(node.getLocation())).stream()\n .filter(object -> Validators.isOfType(object, HighwayTag.class,\n HighwayTag.CYCLEWAY))\n .collect(Collectors.toList());\n\n // Get car navigable connections to this node\n final List<AtlasItem> connectedHighways = Iterables\n .asList(atlas.itemsContaining(node.getLocation())).stream()\n .filter(HighwayTag::isCarNavigableHighway).collect(Collectors.toList());\n if (connectedPedHighways.isEmpty() && connectedHighways.isEmpty()\n && !cyclewayHighways.isEmpty())\n {\n // Node has only cycleways through it\n return NodeCheck.NODE_CYCLE_ONLY_HIGHWAY;\n }\n if (connectedPedHighways.isEmpty() && connectedHighways.isEmpty())\n {\n // Node has no highways through it\n return NodeCheck.NODE_NO_HIGHWAY;\n }\n if (connectedHighways.isEmpty())\n {\n // Node has no car highways through it, only pedestrian\n return NodeCheck.NODE_PED_ONLY_HIGHWAY;\n }\n\n // For each railway, check that there is a highway on the same layer that\n // is not the same way as the railway.\n for (final AtlasObject railway : connectedRailways)\n {\n final Long railwayLayer = LayerTag.getTaggedOrImpliedValue(railway, this.layerDefault);\n\n this.setRailwayTagKeyValue(railway);\n\n for (final AtlasObject highway : connectedHighways)\n {\n final Long highwayLayer = LayerTag.getTaggedOrImpliedValue(highway,\n this.layerDefault);\n if (railwayLayer.equals(highwayLayer)\n && railway.getOsmIdentifier() != highway.getOsmIdentifier())\n {\n return NodeCheck.NODE_VALID;\n }\n }\n\n }\n return NodeCheck.NODE_NO_LAYERS;\n }", "title": "" }, { "docid": "28ea845347e7c20554404d64b67f6aa2", "score": "0.61379105", "text": "@java.lang.Override\n public boolean hasGoal() {\n return goal_ != null;\n }", "title": "" }, { "docid": "af7a8e8ff62472c3d0865936bcf73397", "score": "0.6115833", "text": "@Override\n public boolean isGoal() {\n return isValid() && isFull();\n }", "title": "" }, { "docid": "b12756216d7c546b2ec69de900f4ca7a", "score": "0.60916734", "text": "public void check() {\r\n\tif (left != null) {\r\n\t assert left.distance >= distance: \"checking left value of node\";\r\n\t left.check();\r\n\t}\r\n\tif (right != null) {\r\n\t assert right.distance >= distance: \"checking right value of node\";\r\n\t right.check();\r\n\t}\r\n }", "title": "" }, { "docid": "05bd8458f91159a2bc11bd6f83579b10", "score": "0.6042887", "text": "public boolean checkExactly(Node n) {\n if (n.checkPass[0]) {\n return true;\n }\n Map<String, Node> map = directChildrenOf(n);\n Log.d(map.size() + \" \" + children.size());\n if (map.size() != children.size()) {\n return false;\n }\n for (FlowNode c : children) {\n Node child = map.get(c.className);\n if (child == null || !c.checkExactly(child)) {\n return false;\n }\n }\n n.checkPass[0] = true;\n return true;\n }", "title": "" }, { "docid": "540c7b4c00db4a5417d41382345e6a5e", "score": "0.60291755", "text": "public boolean canGo(MapLocation start, MapLocation goal) {\n while(!start.equals(goal)) {\n start = start.add(start.directionTo(goal));\n if(!canMove(start.getX(), start.getY())) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "8f881eddc57ce5b4f1f137c2a7a79a41", "score": "0.5996363", "text": "public static boolean isViable(Node from, Node to) {\n return from.used != 0 // From node isn't empty\n && !(from.equals(to)) // Not the same node\n && from.used <= to.available; // Space for the transfer to complete\n }", "title": "" }, { "docid": "f14cc0aec1d531ce99b49cc23f6d9e9c", "score": "0.5957917", "text": "public boolean isGoal() {\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < N; j++) {\n if (blocks[i][j] != getGoalElement(i, j)) return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "b2e90ca791aea0a8a966ada28a09907b", "score": "0.59439325", "text": "public boolean continueExecuting()\n {\n \tdouble d0 = this.targetEntity.getDistanceToEntity(this.theEntity);\n return this.targetEntity.isEntityAlive() && d0 >= this.distance / 2.0F && d0 <= this.distance * 1.5F && !this.theEntity.isInWater() && this.canNavigate;\n }", "title": "" }, { "docid": "d9a5e4d42d5bc0047ab8b554ee75f28c", "score": "0.59263486", "text": "public boolean doneTraveling()\n\t{\n\t\tfor (Edge e : destinations)\n\t\t{\n\t\t\tif (!e.getVertex().beenVisited)\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "baf6e273cfb9cf50b13782d23b36fc38", "score": "0.5895792", "text": "public boolean isGoal() {\n\t\tfor (int i = 0; i < n * n; i++) {\n\t\t\tif (goal(i, n * n) != blocks[i])\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "64af885fb5a5f88e039d69a51d5f84e3", "score": "0.5895127", "text": "public boolean canTraverse(Entity entityToMove) {\n MotionType entityMotion = entityToMove.getMotionType();\n \n \n if(!correctMotionType(entityMotion, ))\n\n\n\n return false;\n }", "title": "" }, { "docid": "e2b7ab7c73c31a7787a776a58fa5ace1", "score": "0.58647275", "text": "public boolean isDirected();", "title": "" }, { "docid": "e2b7ab7c73c31a7787a776a58fa5ace1", "score": "0.58647275", "text": "public boolean isDirected();", "title": "" }, { "docid": "e2b7ab7c73c31a7787a776a58fa5ace1", "score": "0.58647275", "text": "public boolean isDirected();", "title": "" }, { "docid": "9df71d0964f132f4013d6cc7363bc1b8", "score": "0.586075", "text": "boolean isWalkable();", "title": "" }, { "docid": "4a5c5e64dd4b06b4f502f94b51e71322", "score": "0.582057", "text": "public boolean hasGoal() {\n return goalBuilder_ != null || goal_ != null;\n }", "title": "" }, { "docid": "d95e2d80813eb779fd6a04555ceff2d9", "score": "0.5805086", "text": "@Override\r\n\tpublic boolean checkSatisfactionByTestCase(TestCase in_oTestCase) \r\n\t{\n\t\tif(getElement() instanceof TCGNode)\r\n\t\t{\r\n\t\t\t// since this test goal includes a subsequent execution of a transition\r\n\t\t\t// it is sufficient to check only the source states of all transitions\r\n\t\t\tfor(TransitionInstance oTransitionInstance : in_oTestCase.getTransitionInstances())\r\n\t\t\t{\r\n\t\t\t\tTCGNode oNode = oTransitionInstance.getSourceNode(); \r\n\t\t\t\t// oNode (source node of transition) has to be included in \r\n\t\t\t\t// getElement() (source node of the test goal) or be equal\r\n\t\t\t\t// alternative: the state of the test goal is contained in the \r\n\t\t\t\t// source node of the transition -> search for the last visited node\r\n\t\t\t\t// and compare!\r\n\t\t\t\tif(TCGNodeHelperClass.firstNodeIsSubStateOfOrEqualToSecondNode(oNode, (TCGNode)getElement()) ||\r\n\t\t\t\t\t\tgetElement().equals(oTransitionInstance.findLastVisitedNodeContainedOrEqualToCurrentNode()))\r\n\t\t\t\t{\r\n\t\t\t\t\tif(getNecessaryTransitionToTraverse() != null) {\r\n\t\t\t\t\t\tif(checkSatisfactionOfNecessaryTransition(oTransitionInstance))\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(checkSatisfactionOfEventCall(oTransitionInstance) && \r\n\t\t\t\t\t\t\tcheckSatisfactionOfCondition(oTransitionInstance))\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "17f248609fbcadd9b652881a4d05c9e2", "score": "0.5785287", "text": "@Override\r\n\tpublic boolean isConnected() {\r\n\t\tif (algo == null)\r\n\t\t\treturn false;\r\n\t\tif(algo.nodeSize() == 0 ||algo.nodeSize()==1)\r\n\t\t\treturn true;\r\n\r\n\t\talgo.getV().forEach(node->{\r\n\t\t\tnode.setInfo(NOT_VISITED);\r\n\t\t\tnode.setTag(Integer.MAX_VALUE);\t\t\r\n\t\t});\r\n\r\n\t\tNodeData n=(NodeData) algo.getV().iterator().next();\r\n\t\tisConnected(n.getKey());\r\n\t\tfor(node_data node:algo.getV()) {\r\n\t\t\tif(node.getTag()==Integer.MAX_VALUE||node.getInfo()!=FINISH)\r\n\t\t\t\treturn false;\t\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "35a4b5553e5a3ff9f53dbe5567f56105", "score": "0.5784709", "text": "@Override\n\tpublic boolean hasNextChild() {\n\t\treturn !bounded && !isSolution() && numChosen + exploredChildren.size() < problem.getNumCities();\n\t}", "title": "" }, { "docid": "91c3049eb43a94b4d3a3f0fd42f4dad3", "score": "0.576713", "text": "boolean hasDestination();", "title": "" }, { "docid": "f0543e12217c5e8e6eb850b200fa6555", "score": "0.5765353", "text": "@Override\n\tpublic boolean isComplete() {\n\t\treturn (this.node != null) && super.isComplete();\n\t}", "title": "" }, { "docid": "9b099e3b94ab6891ab386195c565694a", "score": "0.5755302", "text": "public boolean hasNeighbor();", "title": "" }, { "docid": "13546bd4e4811f84b2e61202fae9305e", "score": "0.57519597", "text": "public abstract boolean isSatisfied(AStarNode node);", "title": "" }, { "docid": "b9f499bcc35f7ec3f172658477228067", "score": "0.5748479", "text": "@Override\n public void checkNode(NodeAdaptor node) {\n if (!node.isAllowedInChoreography()) {\n validator.addMessage(\"forbiddenNodeInChoreography\", node);\n } else if (node.isEvent()) {\n checkPosition((EventAdaptor)node);\n }\n }", "title": "" }, { "docid": "7984e0ef3d124c75b9574d77e7544c89", "score": "0.5719456", "text": "@Override\n protected boolean checkGraphRequirements() {\n if (mInstance.getGraph() == null)\n return false;\n else {\n UndirectedGraph mGraph = mInstance.getGraph();\n if (!CommonAlgorithms.isConnected(mGraph))\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "60cf4b7ee96770f6b41e8ec07689b2b3", "score": "0.5707127", "text": "public boolean isReachingSafeDistance(){\n\t\tif (targetBot==null) return false;\n\t\treturn agent.getCenterPosition().distance(targetBot.getCenterPosition())<=100;\n\t}", "title": "" }, { "docid": "37d3f780a3ceacf96f3f0042b3c8e96a", "score": "0.5702047", "text": "@Override\r\n\tpublic boolean checkSatisfactionByTransitionInstance(\r\n\t\t\tTransitionInstance in_oTransitionInstance) {\n\t\tif(getElement() instanceof TCGNode) {\r\n\t\t\tTCGNode oNode = in_oTransitionInstance.getSourceNode(); \r\n\t\t\t// oNode (source node of transition) has to be included in \r\n\t\t\t// getElement() (source node of the test goal) or be equal\r\n\t\t\t// alternative: the state of the test goal is contained in the \r\n\t\t\t// source node of the transition -> search for the last visited node\r\n\t\t\t// and compare!\r\n\t\t\tif(TCGNodeHelperClass.firstNodeIsSubStateOfOrEqualToSecondNode(oNode, (TCGNode)getElement()) ||\r\n\t\t\t\t\tgetElement().equals(in_oTransitionInstance.findLastVisitedNodeContainedOrEqualToCurrentNode()))\r\n\t\t\t{\r\n\t\t\t\tif(getNecessaryTransitionToTraverse() != null) {\r\n\t\t\t\t\tif(checkSatisfactionOfNecessaryTransition(in_oTransitionInstance))\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t\telse if(checkSatisfactionOfEventCall(in_oTransitionInstance) && \r\n\t\t\t\t\t\tcheckSatisfactionOfCondition(in_oTransitionInstance))\r\n\t\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "6b14c821b3d0688570abfe804ee7f5ba", "score": "0.56877446", "text": "private boolean checkIfHitTarget() {\r\n return this.checkDistance() < target.getRadius();\r\n }", "title": "" }, { "docid": "05ee590a99dde643538b4684bad66a01", "score": "0.56743383", "text": "boolean hasChildren();", "title": "" }, { "docid": "0ea24352fa150d2c3b9b90daa54bfea0", "score": "0.56741345", "text": "@objid (\"779babaf-b95e-442f-9c0d-af9c01f610c7\")\n @Override\n public boolean isNavigable() {\n return getTarget() != null;\n }", "title": "" }, { "docid": "3dd5611eec98361013500ca3d8f2330e", "score": "0.5671989", "text": "public boolean isGoal(SearchNode<ActionT,StateT> testNode){\n\t\tif(gtest.isGoal(testNode.getActionStatePair().getState())){\n\t\t\treturn true;\n\t\t}\n\t\t\telse return false;\n\t}", "title": "" }, { "docid": "90b3a8d33a6be9f5b2b9c3bd27b1559d", "score": "0.5659749", "text": "private boolean isChecked(GaiaPathPoint n)\n\t{\n\t\treturn checkedNodes.contains(n);\n\t}", "title": "" }, { "docid": "84cd0ad2f03b7dcf909a3c56ee3d257d", "score": "0.56569034", "text": "public boolean isGoal();", "title": "" }, { "docid": "8d4243b58f7d8350ac76c218ff37ecc2", "score": "0.56524456", "text": "public abstract boolean isDescendantOf(ISite site);", "title": "" }, { "docid": "70186fd6e89a72f89de28f385d1225f2", "score": "0.5652269", "text": "private boolean hasPathBFS(Node source, Node destination){\n LinkedList<Node> nextToVisit = new LinkedList<>();\n HashSet<Integer> visited = new HashSet<>();\n nextToVisit.add(source);\n while(!nextToVisit.isEmpty()){\n Node node = nextToVisit.remove();\n \n if(node == destination) return true; //found the node that you are looking for\n \n if(visited.contains(source.id)) continue; \n \n visited.add(node.id);\n \n for(Node child: node.adjacent){\n nextToVisit.add(child);\n }\n \n return false; //if you get to the end and still haven't found your source, return false\n }\n }", "title": "" }, { "docid": "9d9c4026733bf0a3dcc25904608e8e52", "score": "0.56449264", "text": "public boolean canExecute() {\n\t\treturn elements != null && parent != null && elements.size() != 0;\n\t}", "title": "" }, { "docid": "4965a4470c446fd34c6aed11e0e69605", "score": "0.5634533", "text": "public abstract boolean hasChildren();", "title": "" }, { "docid": "29b64391ac14a03b985eb692ca4f144e", "score": "0.561658", "text": "@Override\n\tpublic boolean solveStepCondition() {\n\t\treturn !destinations.contains(currentStep) && getVisitSize() > 0;\n\t}", "title": "" }, { "docid": "ea3b8915617e453a7e6894825b185e20", "score": "0.56119114", "text": "public abstract boolean canMoveTo(int x, int y);", "title": "" }, { "docid": "2b63fd5be2403b552adea19a54aac094", "score": "0.56078374", "text": "public boolean canMove()\n {\n if (atWorldEdge() || tailAhead())\n return false; \n else\n return true;\n }", "title": "" }, { "docid": "5d05865d4a04702edb62d0d292442e13", "score": "0.55962276", "text": "public boolean run(WeightedNode start, WeightedNode end) {\n\n _visited.add(start);\n\n if (this._currentPath == null) {\n this._currentPath = new NodeCountingPath(start);\n } else {\n this._currentPath = _currentPath.extend(start);\n }\n\n PriorityQueue<WeightedNode> pq = new PriorityQueue<WeightedNode>(11, Collections.reverseOrder());\n HashSet<WeightedNode> startChildren = this._graph.getChildren(start);\n if (startChildren != null) {\n for (WeightedNode child : startChildren) {\n pq.add(child);\n }\n }\n\n start.setColor(\"Grey\");\n\n if (start.equals(end)) {\n return true;\n }\n\n WeightedNode child = pq.poll();\n while (child != null) {\n if (!(this._visited.contains(child))) {\n if (run(child, end) == true) {\n return true;\n }\n } else {\n start.setBackEdges(start.getBackEdges() + 1);\n }\n child = pq.poll();\n }\n\n start.setColor(\"Black\");\n\n return false;\n\n }", "title": "" }, { "docid": "8832a0ac243509b07c82640a25c4c154", "score": "0.5588998", "text": "boolean containsEdge(CyNode from, CyNode to);", "title": "" }, { "docid": "cb7562630efb2d0ea0de76174cc9800e", "score": "0.5580723", "text": "boolean hasAcceptedNodeID();", "title": "" }, { "docid": "d7487bd45a95c0b448090835098b1350", "score": "0.5573277", "text": "public boolean isReachable(int from, int to) \n { \n return (reachable[from][to/32] & (1<<(to%32))) != 0;\n }", "title": "" }, { "docid": "2ce3542817d3ab1b91c04edcd72ee7f7", "score": "0.55570406", "text": "private boolean validOrigin(Vertex q) {\n Vertex parent = q.parent();\n while (parent != null) {\n if (parent == source || parent == target) {\n return true;\n }\n parent = parent.parent();\n }\n return false;\n }", "title": "" }, { "docid": "aef7c4b725cb546fd7a172522ce21c1f", "score": "0.55553794", "text": "public boolean isGoal() {\n for (int i = 0; i < dimension; i++) {\n for (int j = 0; j < dimension; j++) {\n int val = i * dimension + j + 1;\n if (blocks[i][j] != val && val < dimension * dimension) {\n return false;\n }\n }\n }\n return true;\n }", "title": "" }, { "docid": "4f44d70d5cd836804433b48ed293f6b1", "score": "0.55510306", "text": "public boolean isGoal()\r\n\t{\r\n\t\treturn canLeft == 0 && missLeft == 0;\r\n\t}", "title": "" }, { "docid": "3e29041e6b42801cde9b0b8fa5992265", "score": "0.5539313", "text": "@Override\n public boolean isConnected() {\n for (node_info source : graph.getV()) {\n BFS(source.getKey()); //This function marks all the vertices in the graph passed by them\n break;\n }\n\n for (node_info i : graph.getV()) { //\n if (i.getInfo() == null)\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "03779538581fd13d16c3f90f3907aee9", "score": "0.55380195", "text": "public boolean isWalkable() {\n\t\t//See if any object is not walkable, if so return it\n\t\tfor(GridObject o : objects) if(!o.walkable) return false;\n\t\t//See if any to be added objects are not walkable\n\t\tfor(GridObject o : toAdd) if(!o.walkable) return false;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e70a6b91a8cdf7b707f78248349b53fd", "score": "0.5518909", "text": "public boolean isLegal(LinkedList<Loop> nest, int src, int target)\n {\n int i, j, next;\n DDGraph ddg;\n String str;\n ArrayList<DependenceVector> dpv;\n DependenceVector dd;\n ddg = program.getDDGraph();\n dpv = ddg.getDirectionMatrix(nest);\n \n if(src == target) return true;\n if(src > target) {\n i = src;\n src = target;\n target = i;\n }\n\n // System.out.println(\"DDVector :\");\n // System.out.println(dpv);\n\n for(i = 0; i < dpv.size(); i++)\n {\n dd = dpv.get(i);\n str = dd.VectorToString();\n for(j = 0; j < str.length(); j++)\n {\n if(j == src) next = target;\n else if(j == target) next = src;\n else next = j;\n \n if(next < str.length()) {\n if(str.charAt(next) == '>') return false;\n if(str.charAt(next) == '<') break;\n }\n }\n }\n \n return true;\n }", "title": "" }, { "docid": "8695e971dca6774bf0b8de2d3d355a75", "score": "0.5518083", "text": "boolean isGoal();", "title": "" }, { "docid": "6f49428d0193eaa32374d70bb3efa96a", "score": "0.551213", "text": "protected abstract boolean nodeSupported(Node node);", "title": "" }, { "docid": "b8d667a38fe4fb573ba37db9b859744b", "score": "0.5504548", "text": "public static boolean testConnection()\r\n\t{\r\n\t\tboolean[] visited = new boolean[graph.V()];\r\n\t\ttestConnectionDFS(visited, 0);\r\n\t\tfor(int i = 0; i < visited.length; i++)\r\n\t\t{\r\n\t\t\tif(visited[i] == false)\r\n\t\t\t{\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "2d5f79ac0d7150de49f6008189343dd9", "score": "0.55006796", "text": "@Override\n public Boolean step() throws Exception {\n BBNode node = activeList.pop();\n\n //steps 2, 3, 4: prune by bound, infeasibility\n if (node.value() >= upper) {//TODO: use '>' may give a different solution\n return true;\n }\n\n if (node.isCandidate()) {\n incumbent = node;\n\n //step 2: update uppper bound\n if (node.value() < upper) {\n upper = node.value();\n }\n\n return true;//step 5: pruned by optimality\n }\n\n //not a candidate; e.g., not satisfying some constraints\n List<? extends BBNode> branches = node.branching();\n for (BBNode branch : branches) {\n activeList.add(branch);\n }\n\n return true;\n }", "title": "" }, { "docid": "cd35faa5441ee6a79192dca3f1a4e377", "score": "0.54988337", "text": "public boolean isVisited();", "title": "" }, { "docid": "ef513e80d49d2493f22fabb0d38f4f43", "score": "0.54932135", "text": "public boolean isWalkable(int x, int y) {\n\t return this.contains(x, y) && this.nodes[x][y].isWalkable();\n\t}", "title": "" }, { "docid": "98668b1fb59a3dcb4ddacb118bc3b08a", "score": "0.5483458", "text": "public boolean isGoal() {\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < n; j++) {\n if (this.board[i][j] != 0 && this.board[i][j] != valueAtBlock(i, j)) {\n return false;\n }\n }\n }\n return true;\n }", "title": "" }, { "docid": "304c93d2530df67d86a510fad5668380", "score": "0.5482639", "text": "public boolean checkChildren() {\n\treturn false;\n}", "title": "" }, { "docid": "e1fd6ff691861e76ed973969ab8d6911", "score": "0.54800034", "text": "public abstract boolean canGo();", "title": "" }, { "docid": "119e132c195149d4bad887a14d765889", "score": "0.5473636", "text": "public void reachedGoal() {\r\n\r\n goalReached = true;\r\n }", "title": "" }, { "docid": "4ad94bf1993d400ab5babfeac7e98891", "score": "0.5465823", "text": "public boolean connected() {\r\n for (double var : distTo) {\r\n if (var == Double.POSITIVE_INFINITY) return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "52a3cdc52f5de28149e492b0d2387f21", "score": "0.5464794", "text": "private boolean isBounded(){\n\t\t\n\t\tIterator<BiologicalNodeAbstract> it = this.nodes.iterator();\n\t\tPlace p;\n\t\tBiologicalNodeAbstract bna;\n\t\twhile(it.hasNext()){\n\t\t\tbna = it.next();\n\t\t\tif(bna instanceof Place){\n\t\t\t\tp = (Place) bna;\n\t\t\t\t//System.out.println(p.getName());\n\t\t\t\tif(p.getTokenMax() <= 0.0){\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t\t\n\t}", "title": "" }, { "docid": "4b8ea469224426622324032c09886772", "score": "0.54625463", "text": "boolean hasNodeState();", "title": "" }, { "docid": "a2b746f95ca8f6495f9b40e54315899e", "score": "0.5460189", "text": "public boolean isGoal() {\n \n }", "title": "" }, { "docid": "6cec85e5e892278025b1648bffc831a9", "score": "0.5452059", "text": "boolean dfs(TreeNode n, Integer from, Integer to){\n if(n == null) return true;\n \n // compute result for current level and early termination\n if((from != null && n.val <= from) || (to != null && n.val >= to)) return false;\n \n // aggregate result for child level and early termination\n if(!dfs(n.left, from, n.val)) return false;\n if(!dfs(n.right, n.val, to)) return false;\n \n // return result\n return true;\n }", "title": "" }, { "docid": "dfdab3ea6b2499669e50bc0f9d4ff34c", "score": "0.54294103", "text": "@Test\n public void testFalseJoinAbility() {\n assertFalse(node2.getIncomingBehaviour().joinable(token, node2), \"It should return false,\"\n + \" because a token is missing.\");\n \n }", "title": "" }, { "docid": "0f1694353579a25d1aa32da2f8ce4c47", "score": "0.5428128", "text": "boolean hasFullHierarchy();", "title": "" }, { "docid": "34b26ec33acaa448eef3411735a8cf95", "score": "0.5420703", "text": "boolean hasChild();", "title": "" }, { "docid": "a7b7ff79d1f613c7506f2be9db570cd2", "score": "0.54089886", "text": "private boolean hasChildWithDestination(MenuItem item, String destination) {\n\t\tif (item.getChildren() != null && !item.getChildren().isEmpty()) {\n\t\t\tboolean found = false;\n\t\t\tfor (MenuItem child : item.getChildren()) {\n\t\t\t\tboolean t = hasChildWithDestination(child, destination);\n\t\t\t\tfound |= t;\n\t\t\t}\n\n\t\t\treturn found;\n\t\t} else if (item.getCommand() instanceof NavigateCommand) {\n\t\t\tNavigateCommand command = (NavigateCommand) item.getCommand();\n\t\t\tif (command.getDestination().equals(destination)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "04a983492a24ceb16ec0e5574d51d6ee", "score": "0.54000074", "text": "private static int reach(ArrayList<Integer>[] adj, int x, int y) {\n //write your code here\n // can do a DFS\n // start at x's neighbors and move towards y\n // if one of them can get to y, then x can get to y\n boolean[] visited = new boolean[adj.length];\n return dfs(adj, x, y, visited);\n }", "title": "" }, { "docid": "5d975802d5c24b139d910298327244d2", "score": "0.53914165", "text": "public boolean shouldExecute()\n {\n Village village = this.entity.getVillage();\n\n if (village == null)\n {\n return false;\n }\n else\n {\n this.villageAgressorTarget = village.findNearestVillageAggressor(this.entity);\n\n if (this.villageAgressorTarget instanceof EntityCreeper)\n {\n return false;\n }\n else if (this.isSuitableTarget(this.villageAgressorTarget, false))\n {\n return true;\n }\n else if (this.taskOwner.getRNG().nextInt(20) == 0)\n {\n this.villageAgressorTarget = village.getNearestTargetPlayer(this.entity);\n return this.isSuitableTarget(this.villageAgressorTarget, false);\n }\n else\n {\n return false;\n }\n }\n }", "title": "" }, { "docid": "83d149a7a71faa9d919f48bfe7b8edf5", "score": "0.5388857", "text": "boolean hasPreAcceptNodeID();", "title": "" }, { "docid": "973a524a4aa0c274e7419fe0082229ab", "score": "0.53836936", "text": "protected boolean tryWithAnotherGoal() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "2ff2351e47e5f61a444b3063cd4a5971", "score": "0.5375463", "text": "@Override\n\tpublic synchronized void checkPath() {\n\t\tif(this.player == null){\n\t\t\tisChecked = true;\n\t\t\tfor(IBackgroundRectangle rectangle : this.neighbors){\n\t\t\t\tif(!rectangle.isChecked()){\n\t\t\t\t\trectangle.checkPath();\t\n\t\t\t\t}\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "a389c9d991af577318ab04fd726829f2", "score": "0.5375303", "text": "public boolean isSolvable() {\n return goal != null;\n }", "title": "" }, { "docid": "327bc6a481791eb568c2c5cae152efab", "score": "0.53745997", "text": "public boolean isGoal() {\n int lastCol = n - indexOffset;\n int lastRow = n - indexOffset;\n for (int row = 0; row < n; row++) {\n for (int col = 0; col < n; col++) {\n if (row == lastRow && col == lastCol) continue; // expected empty\n if (!correctPosition(row, col)) return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "625626eb0ecd4c67eac848c66e8c65e4", "score": "0.5370822", "text": "public boolean avoirTraverse() {\r\n if ((this.x == 0) && (this.y == 0)) {\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "e4a1b9b2ef23a7e54f10615f70517afb", "score": "0.53680074", "text": "private boolean checkRealizeable() {\n\t\tArrayList<Task> start_tasks = findTaskWithIndegreeZero();\n\t\tfor (Task task : start_tasks) {\n\t\t\tif (!iterateTask(task)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "01bd645b30d91c4eebee20529ee5797d", "score": "0.5366753", "text": "boolean checkValidMinSpanningTree() {\r\n return this.mazeHeight() * this.mazeWidth() - 1 == this.edges.size()\r\n && this.edges.size() == this.checkNumConnectedEdges();\r\n }", "title": "" }, { "docid": "75b1a9f9b769a7e133f5e633e788f084", "score": "0.536577", "text": "protected boolean isOperable(WorldLocation target)\n \t{\n \t\tdouble height = -target.getDepth();\n \t\treturn height > MIN_HEIGHT;\n \t}", "title": "" }, { "docid": "fe0de43932dcb855e0198a85692d7b08", "score": "0.5346839", "text": "public boolean isNavigable() {\n // your code here\n return false;\n }", "title": "" }, { "docid": "cc5eea62cde37eb4a2dd91e35d292311", "score": "0.53460604", "text": "boolean hasParentRelayCount();", "title": "" }, { "docid": "2d9aca98d547f36cf0bafcbe6ea3843d", "score": "0.5336783", "text": "public boolean canBuildRoad()\n\t{\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e5911fe778762f17333582b1da8a471b", "score": "0.53290474", "text": "@Override\n public boolean isConnected() {\n resetTag();\n int visited = 1;\n if (weighted_graph.getV().size() == 1) return true;\n\n Queue<node_info> queue = new LinkedList<>();\n node_info arbitraryNode = getArbitraryNode();\n if (arbitraryNode == null) return true;\n queue.add(arbitraryNode);\n arbitraryNode.setTag(visited);\n\n if (weighted_graph.getV(arbitraryNode.getKey()).size() == 0) return false;\n while (!queue.isEmpty()) {\n node_info curr = queue.poll();\n\n for (node_info node : weighted_graph.getV(curr.getKey())) {\n if (node.getTag() != visited) {\n node.setTag(visited);\n queue.add(node);\n }\n }\n\n }\n for (node_info n : weighted_graph.getV()) {\n if (n.getTag() != visited) return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "fc66b780f798672ebe2f8898bb806e94", "score": "0.5327706", "text": "public boolean shouldExecute()\n {\n \tif (--delay > 0)\n {\n \treturn false;\n }\n \t\n this.targetEntity = this.theEntity.getAttackTarget();\n\n if (this.targetEntity == null)\n {\n return false;\n }\n else\n {\n \tdouble d0 = this.theEntity.getDistanceToEntity(this.targetEntity);\n \treturn d0 >= this.distance / 2.0F && (this.theEntity.inventory.getProjectile() == null ? d0 <= this.distance : true);\n }\n }", "title": "" }, { "docid": "65552fd6f7f6ff9b3d4c53cf4428221e", "score": "0.5320846", "text": "@Override\n protected void recheckNeighbour(IBlockAccess world, BlockPos pos, BlockPos neighbor)\n {\n }", "title": "" }, { "docid": "a3cb1be644aaea2742a1408d04456f2c", "score": "0.5316192", "text": "public boolean isReachable() {\n Hop lasthop = routes.get(routes.size() - 1);\n for (Router r : lasthop.routers) {\n if (r.reachable) {\n if (r.ip.equals(targetIP)) {\n return true;\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "5e7c764c8159bf5d3299c955f859f570", "score": "0.53136396", "text": "public boolean isConnected() {\r\n\r\n\t\tif(this.ga.nodeSize()>0){\r\n\t\t\tboolean flag = true;\r\n\t\t\tCollection<node_data> vertex_collect = this.ga.getV();\r\n\t\t\tnode_data[] Nodes_arr = vertex_collect.toArray(new node_data[vertex_collect.size()]);\r\n\t\t\tQueue<node_data> Nq = new LinkedList<node_data>();\r\n\t\t\tint visitCounter = 0;\r\n\r\n\t\t\tfor (int i=0;i<Nodes_arr.length && flag ;i++) {\r\n\r\n\t\t\t\tClearTags();\r\n\t\t\t\tnode_data current = Nodes_arr[i];\r\n\t\t\t\tcurrent.setTag(1);\r\n\t\t\t\tNq.add(current);\r\n\t\t\t\tvisitCounter = 0;\r\n\r\n\t\t\t\twhile(!Nq.isEmpty()) {\r\n\r\n\t\t\t\t\tnode_data head = Nq.peek();\r\n\t\t\t\t\tCollection<edge_data> edges_collect = this.ga.getE(head.getKey());\r\n\r\n\t\t\t\t\tfor (edge_data myEdge: edges_collect) {\r\n\r\n\t\t\t\t\t\tif(ga.getNode(myEdge.getDest()).getTag() != 2)\r\n\t\t\t\t\t\t\tga.getNode(myEdge.getDest()).setTag(1);\r\n\r\n\t\t\t\t\t\tif(ga.getNode(myEdge.getDest()).getTag() != 2 && !Nq.contains(ga.getNode(myEdge.getDest()))){\r\n\t\t\t\t\t\t\tNq.add(ga.getNode(myEdge.getDest()));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\thead.setTag(2);\r\n\t\t\t\t\tif(Nq.peek().getTag() == 2){\r\n\t\t\t\t\t\tNq.poll();\r\n\t\t\t\t\t\tvisitCounter++;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(visitCounter != Nodes_arr.length){\r\n\r\n\t\t\t\t\tflag = false;\r\n\t\t\t\t}\r\n\t\t\t}\t\r\n\t\t\treturn flag;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "a90abd1be0e92c81cbe789c6232de11b", "score": "0.5311113", "text": "boolean covers(Node node,Node p){\n\t\tif(node == null) return false;\n\t\tif(node == p) return true;\n\t\t\n\t\treturn covers(node.left,p) || covers(node.right,p);\n\t}", "title": "" }, { "docid": "58493ab79e51665161403777c9131901", "score": "0.53098947", "text": "public boolean hasChildren(IRNode node);", "title": "" }, { "docid": "9ba9ed4cd659308cae9bcc64ac609a3b", "score": "0.5309624", "text": "@Override\n\tpublic boolean isDone() {\n\t\tif ((thisWorker.getAgent().getLocation().getExtent().equals(liveTarget.getExtent()))&&\n\t\t\t(thisWorker.getAgent().getLocation().getPosition().distanceSquared(liveTarget.getPosition()) <= 1.0+thisWorker.getAgentRadius()))\n\t\t\tatTarget = true;\n\t\tboolean done = (atTarget) &&\n\t\t\t\t(System.currentTimeMillis()>=targetTime) ;\n\t\treturn done;\n\t}", "title": "" }, { "docid": "3271ebab4f3cad3bdbda35cbb7adb7fa", "score": "0.53030324", "text": "@Override\n public boolean isObstacle()\n {\n return isObstacleLeftSide() || isObstacleRightSide();\n }", "title": "" }, { "docid": "4250e7b64a81c52618eb184aa4ce6d63", "score": "0.5295509", "text": "public boolean shouldExecute() {\n if (!this.parentEntity.flags.containsKey(\"targetPlayer\") && getNearbyPlayers().size() != 0) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "a2373fb8bf01e68d589d9df1dd308245", "score": "0.5294491", "text": "boolean hasWanting();", "title": "" }, { "docid": "a2373fb8bf01e68d589d9df1dd308245", "score": "0.5294491", "text": "boolean hasWanting();", "title": "" } ]
77cffea1fff5995540da460992b53ad7
Sends a client message to the server with the given ID.
[ { "docid": "2eebb3c636f3bc512be89d65137b602e", "score": "0.55351216", "text": "public NetworkStatus sendToServer(String serverId, ClientMessage cm) {\n\t\ttry {\n\n\t\t\tserversOut.get(serverId).writeInt32NoTag(cm.getSerializedSize());\n\t\t\tcm.writeTo(serversOut.get(serverId));\n\t\t\tserversOut.get(serverId).flush();\n\t\t\t//cm.writeDelimitedTo(serversOut.get(serverId));\n\t\t\tframeworkLOGGER.finer(MessageFormat.format(\"Sent to server with id= {0} \\n{1}\", serverId, cm.toString()));\n\t\t\treturn NetworkStatus.SUCCESS;\n\t\t} catch (Exception e) {\n\t\t\tframeworkLOGGER.warning(Utils.exceptionLogMessge(MessageFormat.format(\"Problem in sending to server with Id= {0}\" , serverId), e));\n\t\t\treturn NetworkStatus.FAILURE;\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "c7c122281b60c8aa967d9e1f2c485499", "score": "0.6909139", "text": "public void turn(int id) throws IOException {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n DataOutputStream out = new DataOutputStream (baos);\n out.writeByte('T');\n out.writeByte(id);\n out.close();\n byte[] message = baos.toByteArray();\n mailbox.send(new DatagramPacket(message, message.length, clientAddress));\n }", "title": "" }, { "docid": "a6a23c3259f610f40d25b046dfcecfe5", "score": "0.6902758", "text": "public void print_message(short id) {\n System.out.println(\"Received a message from client \"+id); \n }", "title": "" }, { "docid": "1897854cda484d4fa20d31a04b237452", "score": "0.6898208", "text": "public void id(int id) throws IOException {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n DataOutputStream out = new DataOutputStream (baos);\n out.writeByte('I');\n out.writeByte(id);\n out.close();\n byte[] message = baos.toByteArray();\n mailbox.send(new DatagramPacket(message, message.length, clientAddress));\n }", "title": "" }, { "docid": "e433cc6ac41d362f1429f32c9162be48", "score": "0.6620166", "text": "private void send(int id, Message message) {\n outboundMessagesCount.getAndIncrement();\n conn.send(id, message);\n }", "title": "" }, { "docid": "032d6586ef7b03acfc95af273c1a545f", "score": "0.64216906", "text": "public void setClientIdentity(int id) {\n this.clientSocket.setClientId(id);\n }", "title": "" }, { "docid": "52efd4df0c5c632bc498d98598b64c2d", "score": "0.64016557", "text": "public void win(int id) throws IOException {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n DataOutputStream out = new DataOutputStream (baos);\n out.writeByte('W');\n out.writeByte(id);\n out.close();\n byte[] message = baos.toByteArray();\n mailbox.send(new DatagramPacket(message, message.length, clientAddress));\n }", "title": "" }, { "docid": "afe19473f59508516e78d6eef2d05dcd", "score": "0.6199308", "text": "@Override\n\tpublic void run() {\n\n\t\tint seconds = random.nextInt(5) + 1;\n\t\ttry {\n\t\t\tThread.sleep(seconds * 1000);\n\t\t\tInputStream input = clientSocket.getInputStream();\n\t\t\tshort message_id = 0;\n\n\t\t\tBufferedInputStream br = new BufferedInputStream(input);\n\t\t\t// we are sure that message length is less than 12\n\t\t\tbyte[] request = new byte[12];\n\n\t\t\tint total = br.read(request);\n\t\t\tif (total < 6) {\n\t\t\t\tUtil.error(\n\t\t\t\t\t\t\"[-Server-] Impossible to get the right message from client\",\n\t\t\t\t\t\tnull);\n\t\t\t}\n\n\t\t\t// bytes fifth and sixth give the id\n\t\t\tbyte[] bytes_id = new byte[] { request[4], request[5] };\n\t\t\tShortBuffer sb = ByteBuffer.wrap(bytes_id)\n\t\t\t\t\t.order(ByteOrder.BIG_ENDIAN).asShortBuffer();\n\t\t\tmessage_id = sb.get();\n\n\t\t\tOutputStream output = clientSocket.getOutputStream();\n\t\t\toutput.write(this.getMessageBytes(seconds, message_id));\n\n\t\t\toutput.close();\n\t\t\tinput.close();\n\n\t\t} catch (IOException | InterruptedException e) {\n\t\t\tUtil.error(\"[-] Error tring to get and/or put client data\", e);\n\t\t}\n\t}", "title": "" }, { "docid": "b09760f28f350be3c95aebe1eca08626", "score": "0.61945516", "text": "public void messenger(byte[] b, int id) {\r\n\t\tbyte[] b2 = new byte[10000];\r\n\t\tSystem.arraycopy(b, 0, b2, 0, b.length);\r\n\r\n\t\tfor (int i = 0; i < clientList.size(); i++) {\r\n\t\t\tif (!clientList.get(i).checkId(id))// If the id matches the client, it skips sending the message back to\r\n\t\t\t\t\t\t\t\t\t\t\t\t// that client.\r\n\t\t\t\tclientList.get(i).sendString(b2);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6a3c66f3a3b207566a3d33701599a2a4", "score": "0.6187819", "text": "public void send(String message) {\n Log.trace(GameClient.class.toString(), \"Sending message: \" + message);\n this.client.sendTCP(message);\n }", "title": "" }, { "docid": "3e2abff1d070095e99efd9e80bfe1d5f", "score": "0.61484927", "text": "public void send(Message message) {\r\n\t\tclients.forEach(client -> client.send(message));\r\n\t}", "title": "" }, { "docid": "cf591d2a99e605ff0f1388d7f8ccd0ce", "score": "0.60987437", "text": "@Override\n public void sendMessage(Message msg) {\n try {\n clientSocket.sendMessage(msg);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "e8041ad1d5947c7809a8f8edd01661cf", "score": "0.6089237", "text": "public void send(Session client, String message) {\r\n exec.submit(new BundledMessage(client, message));\r\n }", "title": "" }, { "docid": "06687bcc32c28ebe0a02745095bc3ee6", "score": "0.60784215", "text": "synchronized public boolean sendToClient(int recipientID, GameMessage message) {\n if (message == null)\n throw new IllegalArgumentException(\"Null cannot be sent as a message.\");\n if ( ! (message instanceof Serializable) )\n throw new IllegalArgumentException(\"Messages must implement the Serializable interface.\");\n ConnectedClient pc = playerConnections.get(recipientID);\n if (pc == null)\n return false;\n else {\n pc.send(message);\n return true;\n }\n }", "title": "" }, { "docid": "c1156abebc24093c42fe1bf036bce842", "score": "0.60460943", "text": "public void sendMessage() {\n try {\n while (true) {\n for (int i = 0; i < numClients; ++i) {\n DataInputStream input = clients.get(i).getIn();\n\n if (input.available() > 0) {\n byte[] message = new byte[1024];\n\n if (input.read(message) > 0) {\n String msg = new String(message);\n\n if (!listenUTF(msg, i)) {\n for (int j = 0; j < numClients; ++j) {\n final int index = j;\n new Thread(() -> {\n try {\n clients.get(index).getOut().write(message, 0, 1024);\n clients.get(index).getOut().flush();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }).start();\n }\n }\n }\n }\n }\n }\n } catch (IOException | NullPointerException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "d0975a66e7a6717d88fe6df1a937b15b", "score": "0.6022598", "text": "private void sendMessage(String message){\n\t\ttry{\n\t\t\toutput.writeObject(encrypt(\"Client - \" + message));\n\t\t\toutput.flush();\n\t\t\tshowMessage(\"\\nClient - \" + message); \n//\t\t\t}\n\t\t}catch(IOException ioException){\n\t\t\tchatWindow.append(\"\\n Oops! Something went wrong!\");\n\t\t}\n\t}", "title": "" }, { "docid": "e8a15d8548883f919d638d8be4ffa38e", "score": "0.5940461", "text": "void sendMessageToServer(String message) {\n try {\n try {\n System.out.println(\"sent to server: \" + message);\n clientSocket.getOutputStream().write(message.getBytes());\n clientSocket.getOutputStream().flush();\n } catch (NullPointerException e) {\n System.out.println(\"socket does not exist\");\n }\n } catch (IOException e) {\n System.out.println(\"message failed to write\");\n }\n }", "title": "" }, { "docid": "879062a607fdcac8df1ab791d7a090d9", "score": "0.5935215", "text": "void sendPrivateMessage(int clientId, String message);", "title": "" }, { "docid": "2b349cf926e43b2badfc53a188b4fc44", "score": "0.59141594", "text": "public void writeToClient(String message){\r\n\t\twriter.println(message + \"\\n\");\r\n\t\tcontroller.writeToGUI(\"To [\" + nickName + \"]: \" + message);\r\n\t}", "title": "" }, { "docid": "cd988bb89c977682971b1b69c0cbcf65", "score": "0.58444834", "text": "public void sendMessage(Message msg){\r\n if (!started){\r\n System.out.println(\"Client not started!\");\r\n return;\r\n }\r\n netSender.sendMessage(msg);\r\n }", "title": "" }, { "docid": "0b1e3f3cc4f33722bc0f82d0795d8816", "score": "0.58330077", "text": "GameModelResponse sendChat(SendChatParam param, int id);", "title": "" }, { "docid": "c39526804724bf249d2338d847bc59fb", "score": "0.58252114", "text": "public void sendStringToClient(String text)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tdout.writeUTF(text);\r\n\t\t\tdout.flush();\r\n\t\t} catch(IOException e)\r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4d90fb815458f4b43af35e07e0ee528a", "score": "0.5823691", "text": "public void sendMessage(String message) throws IOException, ClassNotFoundException {\n oosClient.writeObject(message);\n\n // Print message that the server sent\n oisClient = new ObjectInputStream(socketClient.getInputStream());\n String responseServer = (String) oisClient.readObject();\n System.out.println(\"Host : \" + responseServer);\n }", "title": "" }, { "docid": "51bcaee36f6a7f231bcb763c74675160", "score": "0.5805327", "text": "public void sendMessage(String message) {\n\t\ttry {\n\t\t\toutputLock.lock();\n\t\t\toutput.write((message+\"\\n\").getBytes());\n\t\t}\n\t\tcatch(IOException e) {\n\t\t\tSystem.err.println(\"Unable to send message [\"+message+\"] to client\");\n\t\t\tSystem.err.println(e.getStackTrace());\n\t\t}\n\t\tfinally {\n\t\t\toutputLock.unlock();\n\t\t}\n\t}", "title": "" }, { "docid": "1c8bb547a01deaf0acd171fd550a3dea", "score": "0.58018035", "text": "public void sendMessage(String message) {\n try {\n if (clientOutputStream != null)\n clientOutputStream.writeUTF(message);\n } catch (IOException e) {\n clientController.statusLabel.setText(\"Please connect first.\");\n clientController.searchButton.setDisable(false);\n }\n }", "title": "" }, { "docid": "84cc0ccc18e62e0a40fadca2754fb5f7", "score": "0.5786877", "text": "public void name(int id, String name) throws IOException {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n DataOutputStream out = new DataOutputStream (baos);\n out.writeByte('N');\n out.writeByte(id);\n out.writeUTF(name);\n out.close();\n byte[] message = baos.toByteArray();\n mailbox.send(new DatagramPacket(message, message.length, clientAddress));\n }", "title": "" }, { "docid": "bf4ac82ea7c6bf079c2554cdc2dbcd20", "score": "0.57850987", "text": "public Client(int id) {\n this.idClient = id;\n this.distanceToFirm = ThreadLocalRandom.current().nextInt(\n SimulationSettings.minClientDistance, SimulationSettings.maxClientDistance + 1\n );\n this.serviceCalled = false;\n this.myDevice = new Device(this.idClient, true);\n }", "title": "" }, { "docid": "f5e089fb40bfb1b91020e318ae03d6ad", "score": "0.5763071", "text": "public boolean send_message(Object message, String clientName){\n\t\tif (client_exist(clientName)){\n\t\t\treturn clients.get(clientName).send_message(message);\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ad32297ff2bfd657775e43cc2d1b2e93", "score": "0.5737846", "text": "public void sendData( String message )\n\t{\n\t\ttry\n\t\t{\n\t\t\toutput.writeObject( \"CLIENT>>>\"+message );\n\t\t\toutput.flush();\n\t\t\tSystem.out.println( \"\\nCLIENT>>> \"+message );\n\t\t}\n\t\tcatch( IOException e )\n\t\t{\n\t\t\tSystem.out.println( \"\\nError writing object\" );\n\t\t}//end catch\n\t}", "title": "" }, { "docid": "e79f736b691c8f926a5ba7a29afb2273", "score": "0.5736563", "text": "void broadcastMsg(long id, String msg) throws RemoteException;", "title": "" }, { "docid": "b2175cb22e932c6ae5da83f373a6aa48", "score": "0.5733202", "text": "private static void SendClient(String message, String toUser) {\n\t\tbyte[] sendBuffer = new byte[1024];\n\t\ttry {\n\t\t\tDatagramSocket sendSocket = new DatagramSocket();\n\t\t\tsendBuffer = message.getBytes();\n\t\t\tDatagramPacket requestPacket = new DatagramPacket(sendBuffer, sendBuffer.length, \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tInetAddress.getByName(userMap.get(toUser).getAddr()), \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tuserMap.get(toUser).getPort());\n\t\t\tsendSocket.send(requestPacket);\n\t\t\tsendSocket.close();\n\t\t} catch (SocketException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "b38e0700a71ad7863f97a112fa75735d", "score": "0.56860024", "text": "void sendMessage(String msg) {\n\t\twriter.println(msg);\n\t\twriter.flush();\n\t\tSystem.out.println(\"[SENDING TO CLIENT]: \" + msg);\n\t}", "title": "" }, { "docid": "f7d6015182a9cfd46b69b57d69257f6d", "score": "0.56763095", "text": "@Override\n\tpublic void send(String clientName, String data) throws IOException {\n\t\tPrintWriter sender = getSender(ClientsInfo.getClientSocket(clientName));\n\t\t\n\t\tsender.println(data);\n\t}", "title": "" }, { "docid": "2618163b3cd25e3a821552a5ba1a9093", "score": "0.5667215", "text": "public void sendMessageToMQTTservice(int message){\n\t\ttry {\r\n\t Message msg = Message.obtain(null,\r\n\t \t\tmessage);\r\n\t msg.replyTo = clientMessenger;\r\n\t mService.send(msg);\r\n\t\r\n\t } catch (RemoteException e) {\r\n\t \tLog.e(TAG, \"exception sending message to service - \" + e);\r\n\t }\r\n\t}", "title": "" }, { "docid": "e3f9911acf9a0f36eb238b41d7a9e5fb", "score": "0.56639564", "text": "public void welcome(int id)\r\n {\n // if first client wait for a second to coonect\r\n if(clientCount == 1 && noOfItems > 0)\r\n {\r\n clients[findClient(id)].send(\"\\nWelcome to my auction. You are the first bidder, waiting for another before we can start!\");\r\n System.out.println(\"in welcome if client==1\");\r\n }\r\n //auction can start\r\n else if (clientCount == 2 && noOfItems > 0)\r\n {\r\n clients[findClient(id)].send(\"\\n********** Welcome to the auction. Auction is starting now. **********\");\r\n\r\n for (int i = 0; i < clientCount; i++)\r\n {\n clients[i].send(\"\\n\\t\\t\\t********** Auction started!!! **********\");\r\n clients[i].send(\"\\nItem on sale is \" + biddingItem.getName() + \" and starting price is \" + biddingItem.getStartPrice() + \"£\");\r\n }\n startAuction(id);\r\n }\n else if (clientCount > 2 && noOfItems > 0)\n {\n clients[findClient(id)].send(\"\\n********** Welcome to the auction. Bidding is running now. **********\");\n clients[findClient(id)].send(\"\\nItem on sale is \" + biddingItem.getName() + \" and the price is \" + biddingItem.getStartPrice() + \"£\");\n }\n \n else {\n clients[findClient(id)].send(\"\\n Auction is over. Come back tommorrow for a new round\");\n //remove(id);\n System.exit(0); //Server will be stopped if no items left so the client wont be able to join \n }\r\n }", "title": "" }, { "docid": "82f7b49218b8fc7753430c4016d9c9b4", "score": "0.5659012", "text": "public void deliver(Id id, Message message) { }", "title": "" }, { "docid": "d832592156e0842ba41081504e1aa2c9", "score": "0.5647651", "text": "protected Object sendCommand(String id, Command command, Object... params) {\n\t\tString url = createUrlString(id, command);\n\t\tObject val = null;\n\t\ttry {\n\t\t\tval = transportLayer.execute(url, command.getMethodName(), params);\n\t\t}\n\t\tcatch (MalformedURLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn val;\n\t}", "title": "" }, { "docid": "9862245ef6c7200610164d728e11224c", "score": "0.5628971", "text": "public void sendStringToClient(String text){\n\t\t\n\t\ttry{\n\t\t\tdout.writeUTF(text);\n\t\t\tdout.flush();\t\t\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\t\t\t\t\n\t\t}\n \n }", "title": "" }, { "docid": "244b0f5a9c55cdaaee66a6b46e56e0e5", "score": "0.56174046", "text": "public void writeToClient(String message) {\r\n PrintWriter writer = new PrintWriter(this.outputStream);\r\n writer.println(message);\r\n writer.flush();\r\n\r\n boolean isIncomingMessage = false;\r\n logMessage(isIncomingMessage, message);\r\n }", "title": "" }, { "docid": "dd2445a7c59d2bf05a9ac833cad08b57", "score": "0.5615753", "text": "public static void sendMessage(String message)\n {\n try\n {\n if (GamePlayController.playerIsHost)\n {\n server.sendMessage(message);\n }else\n {\n client.sendMessage(message);\n }\n } catch (Exception e)\n {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "258e38bd5ffa8ac029e8e2804d1d50b9", "score": "0.56113124", "text": "public void sendMsg(Client client, String msg) {\n for (ClientThread ct1 : getClientList()) {\n ct1.out.println(client.getUsername() + \" : \" + msg);\n }\n }", "title": "" }, { "docid": "387fc82397d9391029180513a662771f", "score": "0.56073993", "text": "public void send(Message message);", "title": "" }, { "docid": "0285c15f2486b00c52839f18e085b3b6", "score": "0.5606891", "text": "public void sendMessage(String message){\n writer.println(message);\n writer.flush();\n }", "title": "" }, { "docid": "60cd68a9121819d70bc1c9e3c8b6c892", "score": "0.56067026", "text": "public void notifyWin(int id) {\r\n\t\tsendToAll(\"w \"+id);\r\n\t\tconsole.println(clients[id].playerName+\" (P\"+(id+1)+\") has won.\");\r\n\t\tconsole.println(\"Waiting for clients to disconnect.\");\r\n\t}", "title": "" }, { "docid": "9d33e8b4a72ab96e861e0d1ba54429b9", "score": "0.5575389", "text": "public void send_message_to_server(final String message) { ////When a message is sent through the client it will travel through this thread after the msg is delivered\n new Thread(new Runnable() {\n @Override\n public void run() { ////When a message is sent through the client it will travel through this thread after the msg is delivered\n try {\n if (socket != null) {\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())),true);\n out.println(message);\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }).start();\n }", "title": "" }, { "docid": "edf4965f6344675e793239411acf3c5e", "score": "0.55708146", "text": "public static void broadcast(String message) throws IOException {\n for (Session client : clients) {\n client.getBasicRemote().sendText(message);\n }\n }", "title": "" }, { "docid": "ef855a4cfd03073ac51216bd7bdb8fbd", "score": "0.5570502", "text": "@PutMapping(\"/{id}\")\n public ResponseEntity<Void> send(@PathVariable int id) throws ResourceNotFoundException {\n orderService.send(id);\n return ResponseEntity.noContent().build();\n }", "title": "" }, { "docid": "fdac87c5bf6dd63c6ef85b278e9b7676", "score": "0.55691683", "text": "public void send(String message) {\n\n output.println(message);\n }", "title": "" }, { "docid": "4800ba3c67635a9317a2921baa5e3725", "score": "0.5567341", "text": "private void sendMessage(Message msg) {\n\t\ttry {\n\t\t\tclientOutStream.writeObject(msg);\n\t\t\tclientOutStream.flush();\n\t\t} catch (IOException e) {\n\t\t\tSystem.err.println(\"could not send message\");\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(5);\n\t\t}\n\t}", "title": "" }, { "docid": "a4a95143e31da59d0b1fcc65f70cafeb", "score": "0.5541247", "text": "private void sendToServer(String message) {\n out.println(message);\n out.flush();\n }", "title": "" }, { "docid": "fa246256664591c8387b523ab5147c02", "score": "0.554044", "text": "protected void sendMessage(ServerThread sender, String message) {\n\t\tlog.log(Level.INFO, getName() + \": Sending message to \" + clients.size() + \" clients\");\n\t\tString resp = processCommands(message, sender);\n\t\tif (resp == null) {\n\n\t\t\t// it was a command, don't broadcast\n\t\t\treturn;\n\t\t}\n\t\tmessage = resp;\n\t\tIterator<ServerThread> iter = clients.iterator();\n\t\twhile (iter.hasNext()) {\n\t\t\tServerThread client = iter.next();\n\t\t\tif (!client.isMuted(sender.getClientName())) {\n\t\t\t\tboolean messageSent = client.send(sender.getClientName(), message);\n\t\t\t\tif (!messageSent) {\n\t\t\t\t\titer.remove();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "79b268aa9cd57eb0497275dc7d5134c0", "score": "0.5531292", "text": "public synchronized void broadcast(String message) throws IOException\r\n\t{\r\n\t\tfor(Client c : clientList)\r\n\t\t{\r\n\t\t\tc.sendMsg(message);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1f927a978dffcb0d7cbff843a8d807c2", "score": "0.5523815", "text": "void sendMessage(ChatMessage message) {\r\n try {\r\n sOutput.writeObject(message);\r\n System.out.println(\"client sent mes \" + message.getType() + \" : \" + message.getMessage());\r\n } catch (IOException e) {\r\n displayMessage(\"(e) Exception writing to server\");\r\n }\r\n }", "title": "" }, { "docid": "16b2fa6c9f8e0757fa99770fcc437a73", "score": "0.5523414", "text": "public Client(int id) {\n\t\tthis(id, 1);\n\t}", "title": "" }, { "docid": "4031167fd9978a6f1d682e992691c82e", "score": "0.5520662", "text": "public void sendClientAnswer() throws IOException {\n oosServer = new ObjectOutputStream(socketServer.getOutputStream());\n oosServer.writeObject(\"Got your message\");\n }", "title": "" }, { "docid": "7530eb04b1d8af15969a782131462d83", "score": "0.5507238", "text": "public void score(int id, int score) throws IOException {\n ByteArrayOutputStream baos = new ByteArrayOutputStream();\n DataOutputStream out = new DataOutputStream (baos);\n out.writeByte('S');\n out.writeByte(id);\n out.writeByte(score);\n out.close();\n byte[] message = baos.toByteArray();\n mailbox.send(new DatagramPacket(message, message.length, clientAddress));\n }", "title": "" }, { "docid": "592398c89405e3ec7f2522ec14488839", "score": "0.5495006", "text": "public void sendMessage(TirgusMessage message)\n {\n writer.println(message);\n }", "title": "" }, { "docid": "fe5d17ed9923bc00a2436b02d589ee1f", "score": "0.54930604", "text": "void sendClientMessage(ClientMessageType parameter);", "title": "" }, { "docid": "4f01fe6b1cd2d1581f727fcd24e1195f", "score": "0.5492914", "text": "public void showMessage(Object message){\n connection.send(message);\n }", "title": "" }, { "docid": "e3e689c8642d6e64050fbfd997b06af7", "score": "0.54873544", "text": "public void UpdateClientPosition(Vector2 position, String id) {\n socket.emit(\"updateClientPosition\", id + \",\" + position.x + \",\" + position.y);\n }", "title": "" }, { "docid": "8c7137236d0725682cbe055e2710bd02", "score": "0.54798603", "text": "Message(String id, String Node_id) {\r\n\t\tthis.id= id;\r\n\t\tthis.Node_id= Node_id;\r\n\t\t//Log.v(\"adil sender\", Node_id);\r\n\t}", "title": "" }, { "docid": "4f607848607a9fa647712b951d1368b5", "score": "0.5464469", "text": "public void sendMessage(String message);", "title": "" }, { "docid": "4f607848607a9fa647712b951d1368b5", "score": "0.5464469", "text": "public void sendMessage(String message);", "title": "" }, { "docid": "6a1ca978ea37f52abc7d034e1c2102a7", "score": "0.5463758", "text": "void sendOrder(int id) throws ShopException;", "title": "" }, { "docid": "03aa0103afe63ad1d182f7085b708c3f", "score": "0.54570925", "text": "public void send(String msg) {\r\n\t\ttry {\r\n\t\t\tSocketChannel client = (SocketChannel) clientKey.channel();\r\n\t\t\tclient.write(encoder.encode(CharBuffer.wrap(msg)));\r\n\t\t} catch (Exception e) {\r\n\t\t\tlogger(\"Message not successful\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "03aa0103afe63ad1d182f7085b708c3f", "score": "0.54570925", "text": "public void send(String msg) {\r\n\t\ttry {\r\n\t\t\tSocketChannel client = (SocketChannel) clientKey.channel();\r\n\t\t\tclient.write(encoder.encode(CharBuffer.wrap(msg)));\r\n\t\t} catch (Exception e) {\r\n\t\t\tlogger(\"Message not successful\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "fe2fba692217bb2d3f4a403873201cec", "score": "0.5454034", "text": "public synchronized void send(String msg) {\n\t\tfor(UserThreads UserThreads : connectedClients) {\n\t\t\tUserThreads.write(msg);\n\t\t}\n\t}", "title": "" }, { "docid": "544d70f992e724a2773f21efd6849d84", "score": "0.5445957", "text": "public void sendMessage(String message) throws IOException{\r\n if (session.isOpen()){\r\n session.getBasicRemote().sendText(message);\r\n }\r\n }", "title": "" }, { "docid": "c6bf71e64bae3f9e53f121defb73fa87", "score": "0.54451", "text": "private void sendMessage(String message){\r\n\t\ttry{\r\n\t\t\t//TO ADD, CENSORING WORDS\r\n\t\t\tmessage = censoreWords(message);\r\n\t\t\toutput.writeObject(\"SERVER - \" + message);\r\n\t\t\toutput.flush();\r\n\t\t\tshowMessage(\"\\nSERVER - \" + message);\r\n\t\t}catch(IOException ioException){\r\n\t\t\tchatWindow.append(\"\\nERROR: I cant send it\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c390e69ba3059d978f69ca1094b98904", "score": "0.54443306", "text": "@Override\n\tprotected void sendMessageToServer(String msg) {\n\t\tPrintWriter out = null;\n\t\ttry {\n\t\t\tout = new PrintWriter(this.socket.getOutputStream(), true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tout.println(msg);\n\t\tout.flush();\n\t\tSystem.out.println(\"Client send: \" + msg);\n\t}", "title": "" }, { "docid": "f96715f38988377097cf9991905fa1d1", "score": "0.5441542", "text": "public Client getClientById(long id) throws ClientException;", "title": "" }, { "docid": "e86fa4276e570ca815ccce8acb79816a", "score": "0.5440399", "text": "public void onClientDC(int id) {\r\n\t\tconsole.println(clients[id].playerName+\" (P\"+(id+1)+\") has disconnected.\");\r\n\t\tclients[id].destruct();\r\n\t\tclients[id] = null;\r\n\t\t\r\n\t\t/* Inform all other clients of client disconnecting. */\r\n\t\tString nameList = \"\";\r\n\t\tfor (int j = 0; j < clients.length; j++)\r\n\t\t\tif(clients[j] != null)\r\n\t\t\t\tnameList += \" \"+clients[j].playerName;\r\n\t\t\telse if (j<playerNum)\r\n\t\t\t\tnameList += \" ...\";\r\n\t\tsendToAll(\"l\"+nameList);\r\n\t\t\r\n\t\t/* Check if any other clients are still there after the game has begun and if not, notify console. */\r\n\t\tif (currentPlayerID==-2) //currentPlayerID is *only* -2 before the game starts.\r\n\t\t\treturn;\r\n\t\tfor (ClientHandler client : clients)\r\n\t\t\tif (client != null)\r\n\t\t\t\treturn;\r\n\t\tconsole.println(\"All players have disconnected. It is safe to quit.\");\r\n\t}", "title": "" }, { "docid": "e1038649fc63dd95d6cc44f47843ec4f", "score": "0.5438416", "text": "synchronized void msgThisClient(Object obj) {\n try {\n String msg = obj.toString();\n if (out != null) {\n try {\n threads.get(clientID).out.write(msg + \"\\n\");\n String msgToString = \" \" + clientID + \" > \" + msg;\n threads.get(clientID).out.flush();\n Register.getViewStartServerController().appendConsoleOutputToTextArea(msgToString);\n LOGGER.info(msgToString);\n } catch (IOException e) {\n disconnect(); // TODO is this good?\n LOGGER.catching(Level.ERROR, e);\n }\n out.flush();\n }\n } catch (IOException ioe) {\n LOGGER.catching(Level.ERROR, ioe);\n }\n }", "title": "" }, { "docid": "42b26a451579ef0bc1ccc837320c514b", "score": "0.5436907", "text": "@Override\n public void sendDeleteMessage(int id) {\n\n }", "title": "" }, { "docid": "90923045d876355c062103bbf561e33d", "score": "0.5426883", "text": "Client showClientInfo(long id);", "title": "" }, { "docid": "4fb1c26918642ec1cc6be832b8acebe9", "score": "0.54256827", "text": "void sendToChatBox(String message) {\n sendToServer(username + \": \" + message);\n }", "title": "" }, { "docid": "d9e8cbaad958132d86203c9157c1c537", "score": "0.5424053", "text": "public void sendMessage(String message) {\n if (isConnected())\n threadPool.submit(() -> writer.println(message));\n }", "title": "" }, { "docid": "abd61e157c22c9d18d4c806c95fdd57a", "score": "0.5402607", "text": "public void sendMessage(int code, int id) {\n sendMessage(Const.SERVICE_ACTION_TASK_DONE, code, null, id);\n }", "title": "" }, { "docid": "f4a390ae786878a2f822575e50b4e8f4", "score": "0.53926355", "text": "public void sendAllClients(Message message) {\n\t\tfor (ClientConnection client : clientArray)\n\t\t\tclient.print(message);\n\t}", "title": "" }, { "docid": "ef9fb3cb9c40b5ff4da579072ebdf5e6", "score": "0.53909737", "text": "void send(String message);", "title": "" }, { "docid": "ef9fb3cb9c40b5ff4da579072ebdf5e6", "score": "0.53909737", "text": "void send(String message);", "title": "" }, { "docid": "fd40d8a6eda074de73148876985ccbd9", "score": "0.53891087", "text": "private void message(String message) {\n\t\tmyServer.message(username + \": \" + message);\n\t}", "title": "" }, { "docid": "4bc1ae35c7637f0ae9e720ebeedaedcb", "score": "0.5388308", "text": "void sendChat(String username, String gameId, String message);", "title": "" }, { "docid": "1002be175dc90c0cf14186bbfd52d62c", "score": "0.5387831", "text": "public void sendMessage(String message) {\n\t\tout.println(message);\n\t}", "title": "" }, { "docid": "75a5d6fcd598bc299917ca7f4702e300", "score": "0.536973", "text": "private void sendMessage(String message) throws IOException {\n\t\tthis.session.getBasicRemote().sendText(message);\n\t}", "title": "" }, { "docid": "8001f367c00edae16b6ff7834fe8ae4a", "score": "0.5363219", "text": "private void sendHelloMessage(int destProcId, SocketChannel sc) {\n ByteBuffer buffer = helloSendByteBuffers.remove(0);\n buffer.clear();\n buffer.putInt(thisInfo.getProcId());\n\n Client client = clients.get(destProcId);\n client.send(sc, buffer, 4, -1);\n }", "title": "" }, { "docid": "e1095c4aa10c0476cea364b5dde07de3", "score": "0.53522974", "text": "public void sendMessage() {\n try {\n if(!chatTF.getText().equals(\"\") && !chatTF.getText().equals(\" \")) {\n client.sendMessage(\"[OP_MESSAGE]\"+\"\\n(\" + client.name + \") \"+chatTF.getText());\n System.out.println(\"message has been sent with client : \" + client.name);\n \n chatTF.setText(\"\");\n }\n }catch(Exception er) {\n er.printStackTrace();\n }\n }", "title": "" }, { "docid": "1bb25e0de42d0f514d3f2647b9d5fdc4", "score": "0.5352082", "text": "public void SendMessage(String message) {\n if (out != null && !out.checkError()) {\n out.print(message);\n out.flush();\n Log.d(\"SmartHome\", \"TCPClient - Send: \" + message);\n }\n }", "title": "" }, { "docid": "c3b7d80d223b645a618cf4b7f938f921", "score": "0.5339847", "text": "void poke(int clientId, String message);", "title": "" }, { "docid": "78e1b7b7cea55a80da5d047902225aa9", "score": "0.5332698", "text": "public synchronized void yellToClient(byte message) throws IOException {\n out.write(message);\n out.flush();\n }", "title": "" }, { "docid": "06b3117210467e0e0975c9be91f9cdec", "score": "0.53312993", "text": "public void sendMessage(String message) {\n this.player.sendMessage(message);\n }", "title": "" }, { "docid": "20d92bf8fd92cc19aa0c2c36577e3836", "score": "0.532502", "text": "public void contactInfo (String type, String id)\n {\n if (!UserName.equals(\"\") && ClientSocket == null)\n new waitToSendThread(\"CONTACT_INFO\" + type + \":\" + id).start();\n else\n sendMessage(\"CONTACT_INFO\" + type + \":\" + id);\n }", "title": "" }, { "docid": "2614696bdcdce690c6361004196fb8be", "score": "0.5319647", "text": "public void send(String message) {\r\n if (isConnected()) {\r\n Message msg = new Message(Settings.mTo, Message.Type.chat);\r\n msg.setBody(message);\r\n mConnection.sendPacket(msg);\r\n }\r\n }", "title": "" }, { "docid": "217300c47aab9a0fd51f712cd3277db4", "score": "0.53161776", "text": "@Override\r\n\tpublic void deleteClient(String id) {\n\t\tclientDAO.deleteClient(id);\r\n\t}", "title": "" }, { "docid": "857b7c8656b242a55bdddff7c83a225c", "score": "0.5313754", "text": "public void send(MessageBody body, String action, String destinationId, String customId) throws IOException {\n\t\tMessage message = buildMessage(action, body, destinationId, customId);\n\t\tUDPUnicastClient client = new UDPUnicastClient(message);\n\n\t\tclient.start();\n\t}", "title": "" }, { "docid": "fd087bb4fba5a28badbf24e0fab27203", "score": "0.53094923", "text": "public synchronized void yellToClient(byte[] message) throws IOException {\n out.write(message);\n out.flush();\n }", "title": "" }, { "docid": "7b83cb99fb96a33a2c5b5bda475f278c", "score": "0.53080523", "text": "public void sendTurn(TurnMessage message) {\n Log.d(\"Client: \", \"Ein Zug wurde an den Server geschickt\");\n\n //Message gets initialized\n TurnMessage msg = new TurnMessage(playerID, message.getToField(), 0, message.getCard(), message.isCheat());\n Log.d(\"Client\", \"playerID \" + playerID + \" tofield \" + message.getToField() + \" Card;\" + msg.getCard());\n //Message is sent to the Server\n client.sendMessage(msg);\n }", "title": "" }, { "docid": "d93c9600374707bde1f2d2484f2f2916", "score": "0.5304972", "text": "@Override\n\tpublic Client FindClientByid(int id) {\n\t\treturn em.find(Client.class, id);\n\t}", "title": "" }, { "docid": "17dcc28da4a172983aa6eef9b775afce", "score": "0.5303979", "text": "public void rollDice(int id) {\r\n\t\t/* Check if this client is allowed to roll (in case they hacked the client-side roll button). */\r\n\t\tif(id != currentPlayerID)\r\n\t\t\treturn;\r\n\t\t\r\n\t\t/* Disable all client roll buttons. */\r\n\t\tcurrentPlayerID = -1;\r\n\t\tsendToAll(\"p \"+currentPlayerID);\r\n\t\t\r\n\t\t/* Play turn. */\r\n\t\ttry {\r\n\t\t\t/* Roll the dice and notify clients of result. */\r\n\t\t\tint dice = rand.nextInt(6)+1;\r\n\t\t\tsendToAll(\"d \"+id+\" \"+dice);\r\n\t\t\t\r\n\t\t\t/* If move goes over 100, don't move. */\r\n\t\t\tif((clients[id].playerPos+dice) <= 100) {\r\n\t\t\t\t/* Move to the target square step by step. */\r\n\t\t\t\tfor(int movesLeft = dice; movesLeft>0; movesLeft--) {\r\n\t\t\t\t\tsendToAll(\"m \"+id+\" \"+(clients[id].playerPos++));\r\n\t\t\t\t\tThread.sleep(200);\r\n\t\t\t\t}\r\n\t\t\t\tsendToAll(\"m \"+id+\" \"+clients[id].playerPos);\r\n\t\t\t\t\r\n\t\t\t\t/* Update position based on potential snake or ladder link. */\r\n\t\t\t\tint newPos = linkMap[clients[id].playerPos];\r\n\t\t\t\tif(clients[id].playerPos != newPos) {\r\n\t\t\t\t\tThread.sleep(200);\r\n\t\t\t\t\tsendToAll(\"m \"+id+\" \"+(clients[id].playerPos=newPos));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t/* Check for win. */\r\n\t\t\t\tif(clients[id].playerPos==100) {\r\n\t\t\t\t\tnotifyWin(id);\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t} else\r\n\t\t\t\tThread.sleep(1000);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\t/* Increment current player ID, mod to the total player count,\r\n\t\t * and repeat if new current player disconnected earlier for some reason. */\r\n\t\tdo {\r\n\t\t\tcurrentPlayerID = ((id+1)%playerNum);\r\n\t\t} while(clients[currentPlayerID]==null);\r\n\t\t\r\n\t\tsendToAll(\"p \"+currentPlayerID);\r\n\t}", "title": "" }, { "docid": "49ffae4fc54abe2cef223ab1464cd32d", "score": "0.5301188", "text": "private void msgToClient(String msg) {\n controlOut.println(msg);\n }", "title": "" }, { "docid": "de06e3790a4352f70922055bc970ae4e", "score": "0.52998406", "text": "public void send(I_Message message) {\n\t\ttry {\n\t\t\tthis.outputStream.writeObject(message);\n\t\t\tthis.outputStream.flush();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" } ]
5107edfcc41343107ea31f7922b18d98
Handles the HTTP GET method.
[ { "docid": "c94c06dacd08865842f733627ecd98a1", "score": "0.0", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }", "title": "" } ]
[ { "docid": "e9bd982f76fa4b0eeeff6706a5123708", "score": "0.7584874", "text": "public Get() {\n\t\tsuper(\"GET\");\n\t}", "title": "" }, { "docid": "2818b6614a1529c29dd40924211b1c74", "score": "0.7451921", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tapplyRoute(RouteType.GET, req, resp);\n\t}", "title": "" }, { "docid": "6af40819b323c2bcd629d870f641703c", "score": "0.73139226", "text": "@Override\r\n\tpublic void doGet(Request req, Response rep) throws Exception {\n\t\t\r\n\t}", "title": "" }, { "docid": "9dc4bc3752a3da67d725462cee5585ff", "score": "0.7225147", "text": "@Override\n public void doGet(HttpServletRequest req, HttpServletResponse resp) {\n _logger.info(\"Beginning to execute a get command through servlet.\");\n\n /* Initiate variables. */\n String typeMethod = req.getMethod(),\n path = req.getRequestURI(),\n parameters = req.getQueryString();\n\n /* To the given a command validate, performs it and show the result. */\n runCommand(req, resp, typeMethod, path, Utils.organizeParameters(parameters));\n _logger.info(\"Finishing the execution of the get command.\");\n }", "title": "" }, { "docid": "53445f13922f76fdcc15d1090ba129ee", "score": "0.7215821", "text": "protected void doGet() throws ServletException, IOException { }", "title": "" }, { "docid": "e66c7bfa527ad9431fe21ee81f101c99", "score": "0.70479596", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\r\n\t}", "title": "" }, { "docid": "7d4f14bfe496dbb6a3bbc05d8f13621a", "score": "0.70301414", "text": "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }", "title": "" }, { "docid": "6817bfc7fbab2961cd2ffb344a45d1d0", "score": "0.6999938", "text": "public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException {\n // TODO: implement\n }", "title": "" }, { "docid": "4e8eded3851bd6d65d0a36c5e81af9f0", "score": "0.6997991", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "4e8eded3851bd6d65d0a36c5e81af9f0", "score": "0.6997991", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "6f70510e690f7dd5a927094fd1b55f6d", "score": "0.6974638", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "4b44e650405ad4a5edc4e9394f4bd254", "score": "0.6962249", "text": "@Override\n public void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }", "title": "" }, { "docid": "83bb6ae5d9bb5a8562f789f6cbf92efd", "score": "0.69343233", "text": "@Override\n\tpublic void get(String arg, AsyncHttpResponseHandler handler) {\n\t}", "title": "" }, { "docid": "9b6f8257a31dd478a0bd6ffb8d2aa07f", "score": "0.6863733", "text": "@Override\t//CoapResource\r\n\t public void handleGET(CoapExchange exchange) {\n\t exchange.respond( ResponseCode.CONTENT, getValue(), MediaTypeRegistry.TEXT_PLAIN) ;\r\n\t }", "title": "" }, { "docid": "738416c0b2c630b139bb947f55c8a5e5", "score": "0.6849474", "text": "@Override\n\tprotected void doGet(\n\t\t\tHttpServletRequest request, HttpServletResponse response)\n\t\t\t\t\tthrows ServletException, IOException {\n\t}", "title": "" }, { "docid": "161197ae67c575228c79460954893a51", "score": "0.6843197", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }", "title": "" }, { "docid": "96b4d265b72c980b627ec6c1abe97906", "score": "0.6842322", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n\n }", "title": "" }, { "docid": "32059e3e009a8552038af44c392a5423", "score": "0.68378025", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }", "title": "" }, { "docid": "4ce979249ad4c35affdb87b8d36809b9", "score": "0.6784754", "text": "private void handleGet(HttpExchange exchange) {\n\t\tSystem.out.println(\"Get request received\");\n\t\tString[] path = exchange.getRequestURI().getPath().split(\"/\");\n\t\t\n\t\tif (path.length == 0) {\n\t\t\tSystem.err.println(\"Get request with empty URL path\");\n\t\t\tsendResponse(exchange, 404, null);\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tif (path[1].equalsIgnoreCase(\"chatroom\")) {\n\t\t\tString query = exchange.getRequestURI().getQuery();\n\t\t\t\n\t\t\tif (query == null) {\n\t\t\t\t// Must be accessing all chatrooms API if no query string provided here.\n\t\t\t\tgetChatrooms(exchange);\n\t\t\t} else {\n\t\t\t\t// Must be getting messages for a particular chatroom\n\t\t\t\tString[] queryParams = query.split(\"&\");\n\t\t\t\t\n\t\t\t\tString[] chatIdField = queryParams[0].split(\"=\");\n\t\t\t\tint chatId = Integer.parseInt(chatIdField[1]);\n\t\t\t\t\n\t\t\t\tTimestamp timeSince;\n\t\t\t\t\n\t\t\t\tif (queryParams.length > 1) {\n\t\t\t\t\t// If the user specified a timeSince field, then we respect it\n\t\t\t\t\tString[] timeSinceField = queryParams[1].split(\"=\");\n\t\t\t\t\ttimeSince = new Timestamp(Long.parseLong(timeSinceField[1]) - 10800000);\n\t\t\t\t} else { \n\t\t\t\t\t// Otherwise we get all messages (since the beginning of \"time\")\n\t\t\t\t\ttimeSince = null;\n\t\t\t\t}\n\t\t\t\tgetMessages(exchange, chatId, timeSince);\n\t\t\t}\n\t\t} else {\n\t\t\t// Invalid URL access\n\t\t\tsendResponse(exchange, 404, null);\n\t\t}\n\t}", "title": "" }, { "docid": "92346ab9d9b824a45863e5763efc63c1", "score": "0.67630106", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n\r\n }", "title": "" }, { "docid": "92346ab9d9b824a45863e5763efc63c1", "score": "0.67630106", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n\r\n }", "title": "" }, { "docid": "ae16dfcf6a5855c1f1fdaa36d14f724d", "score": "0.6757769", "text": "@Override\n public void doGet(HttpServletRequest request, HttpServletResponse response) {\n System.out.println(\"[Servlet] GET request \" + request.getRequestURI());\n\n response.setContentType(EventServiceDriver.APP_TYPE);\n response.setStatus(HttpURLConnection.HTTP_BAD_REQUEST);\n\n try {\n int eventId = Integer.parseInt(request.getRequestURI().replaceFirst(\"/\", \"\"));\n Event event = EventServiceDriver.eventList.get(eventId);\n\n if (event != null) {\n PrintWriter pw = response.getWriter();\n JsonObject responseBody = event.toJsonObject();\n\n response.setStatus(HttpURLConnection.HTTP_OK);\n pw.println(responseBody.toString());\n }\n }\n catch (Exception ignored) {}\n }", "title": "" }, { "docid": "171a90ab7d140048e8bd1344ac52140b", "score": "0.67525667", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}", "title": "" }, { "docid": "f22dd110cbd90cfb36a043874622dc39", "score": "0.67471737", "text": "@Override\r\n\tprotected void doGet(SlingHttpServletRequest req, SlingHttpServletResponse resp)\r\n\t\t\t\t\t\t\t\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}", "title": "" }, { "docid": "ab85139b6aa5b61fa634c819b97b9482", "score": "0.673312", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n }", "title": "" }, { "docid": "ab85139b6aa5b61fa634c819b97b9482", "score": "0.673312", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n }", "title": "" }, { "docid": "fe9300ca7d5e3b3851494a295ba762c2", "score": "0.67130136", "text": "public void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows IOException {\r\n\t\tint hour = new Date().getHours();\r\n\t\tresp.getWriter()\r\n\t\t\t\t.println(\r\n\t\t\t\t\t\t\"<!DOCTYPE html><html><head><meta name='txtweb-appkey' content='fa0d179a-9e40-4d3f-a0f6-cba551dfd3a8'> </head><body>\");\r\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"dd/MM/yyyy\");\r\n\t\tCalendar cal = Calendar.getInstance();\r\n\t\tString todayDate = dateFormat.format(cal.getTime());\r\n\t\t\tcal.add(Calendar.DATE, -1);\r\n\t\tString yestDate = dateFormat.format(cal.getTime());\r\n\t\tif (hour > 7)\r\n\t\t{\r\n\t\t\tyestDate =\"\";\r\n\t\t}\r\n\t\tString url = String.format(gamesUri, yestDate, todayDate, \"-1\");\r\n\r\n\t\t// String url=\"http://sms.cricbuzz.com/chrome/alert.json\";\r\n\t\tresp.setContentType(\"text/html\");\r\n\t\tgames = getGames(url);\r\n\r\n\t\tif(games==null)\r\n\t\t\tresp.getWriter().println(\"No active matches!\");\r\n\t\telse\r\n\t\t{\r\n\t\t\tif (req.getParameter(\"id\") == null)\r\n\t\t\t\tgetAllGames(resp);\r\n\t\t\telse\r\n\t\t\t\tgetDetails(resp, req.getParameter(\"id\"));\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "1c74261cb30906e7decc8a39e285bd2a", "score": "0.6693963", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n\n \n\n }", "title": "" }, { "docid": "54689c1ff794de56a7bf128a1eb7cf7c", "score": "0.66874176", "text": "@Override\n public int getHttpType() {\n return Request.Method.GET;\n }", "title": "" }, { "docid": "96b81332c6a50ff4a37e13be256d7560", "score": "0.66755605", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "title": "" }, { "docid": "96b81332c6a50ff4a37e13be256d7560", "score": "0.66755605", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "title": "" }, { "docid": "96b81332c6a50ff4a37e13be256d7560", "score": "0.66755605", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "title": "" }, { "docid": "96b81332c6a50ff4a37e13be256d7560", "score": "0.66755605", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }", "title": "" }, { "docid": "d029320a50b9ffde17cf7cf7a1bd1257", "score": "0.66719174", "text": "@Override\r\n\tprotected void checkedDoGet(HttpServletRequest req, HttpServletResponse resp) {\n\r\n\t}", "title": "" }, { "docid": "fde3d7956807dd27b7e9c547eb829784", "score": "0.66667616", "text": "public void doGet (HttpServletRequest _request, HttpServletResponse _response)\r\n\tthrows ServletException, IOException {\r\n\r\n\t}", "title": "" }, { "docid": "72952312a0e4fb2f03928fb591af4313", "score": "0.66617703", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "title": "" }, { "docid": "72952312a0e4fb2f03928fb591af4313", "score": "0.66617703", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "title": "" }, { "docid": "72952312a0e4fb2f03928fb591af4313", "score": "0.66617703", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "title": "" }, { "docid": "72952312a0e4fb2f03928fb591af4313", "score": "0.66617703", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "title": "" }, { "docid": "72952312a0e4fb2f03928fb591af4313", "score": "0.66617703", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}", "title": "" }, { "docid": "4a11e8ff8cf6021065ee7519a0454acd", "score": "0.6656681", "text": "public abstract void doGet(PageParameters params);", "title": "" }, { "docid": "2a6551d516d31f1f38fe2a4627be4c0e", "score": "0.66239023", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n //EMPTY ABSTRACT METHOD\r\n }", "title": "" }, { "docid": "2f5cd5b7eda12ce374aab1b546dbaa51", "score": "0.65940356", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }", "title": "" }, { "docid": "bc57bda20ab7151fc59db91cf12fa992", "score": "0.65498775", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t}", "title": "" }, { "docid": "109c475457825134568a0dce92867599", "score": "0.65385056", "text": "private static String doGet(String url){\n\n\t\tHttpClient httpclient = new DefaultHttpClient();\n\t\tHttpUriRequest req = new HttpGet(url);\n\n\t\treturn getResponse(httpclient, req);\n\t}", "title": "" }, { "docid": "7b99ba4fa74cb31f510303b6d24aa3af", "score": "0.6537661", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\r\n\t}", "title": "" }, { "docid": "620154d6cd34576ee53ce249dac3e73e", "score": "0.6486771", "text": "private static void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\t\n\t}", "title": "" }, { "docid": "c03dd9c1f50777daaea22300cd0e1fc4", "score": "0.64803207", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n String accion = request.getParameter(\"accion\");\n if (accion == null) {\n accion = \"index\";\n }\n switch (accion) {\n case \"index\":\n index_get(request, response);\n\n break;\n case \"ver\":\n ver_get(request, response);\n\n break;\n\n case \"agregar\":\n agregar_get(request, response);\n\n break;\n case \"modificar\":\n modificar_get(request, response);\n\n break;\n case \"eliminar\":\n eliminar_get(request, response);\n\n break;\n }\n\n }", "title": "" }, { "docid": "ab646a2f05e6da427017305151a8842f", "score": "0.6470237", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\t}", "title": "" }, { "docid": "48347a9fc1e834408cd986e1a9b7e7f4", "score": "0.644287", "text": "@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tlog.info(\"Action - doGet\");\n\t\t\n\t\thandleRequest(request, response);\n\t}", "title": "" }, { "docid": "c4bcb6562ec49f92cd0e41e184b2ec25", "score": "0.64398575", "text": "@Override\n\tpublic void get(String arg, RequestParams params, AsyncHttpResponseHandler handler) {\n\t\ttestRequestParams(params);\n\t}", "title": "" }, { "docid": "71f09ea2789bd1fb99b14f1768b2e0c0", "score": "0.64372426", "text": "protected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\n\n\t}", "title": "" }, { "docid": "c9bde3316da5dedec9353d801ccc714a", "score": "0.64328545", "text": "private ZeeslagResponse executeQueryGet(String queryGet) {\n final String query = url + queryGet;\n System.out.println(\"[Query Get] : \" + query);\n\n // Execute the HTTP GET request\n HttpGet httpGet = new HttpGet(query);\n return executeHttpUriRequest(httpGet);\n }", "title": "" }, { "docid": "82513dc761d9d29f32c868f6a7a5f1ad", "score": "0.642347", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws IOException, ServletException {\r\n execute(request, response);\r\n }", "title": "" }, { "docid": "c0379631800f5338e5a313f6563d9bc4", "score": "0.64097536", "text": "public abstract Result get(Get arg0) throws Exception;", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.64093167", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.64093167", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.64093167", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.64093167", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.64093167", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.64093167", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.64093167", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.64093167", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "c172ae36dd4e5c686f633ff90255b2e6", "score": "0.64093167", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "084399045cd9c4096f16b46a6f6fbce8", "score": "0.6403141", "text": "public void GET(final String uri) throws IOException {\n \tif (currentRequest != null) throw new IOException(\"Client is in use!\");\n \tfinal HttpGet httpGet = new HttpGet(uri);\n \tcurrentRequest = httpGet;\n \texecute(httpGet);\n }", "title": "" }, { "docid": "fb9b9e5e8b5c254a9a6ec3e670a3392c", "score": "0.63997626", "text": "public void get(String url, RequestParams params, AsyncHttpResponseHandler responseHandler) {\n\n // Join the URL together to get the correct endpoint.\n String uri = getCompleteURL(url);\n\n System.out.println(\"Rest Get URL: \" + uri);\n\n // Do a get request to the server.\n client.get(uri, params, responseHandler);\n }", "title": "" }, { "docid": "d16194da35a4e206d9c68155d9c6ec82", "score": "0.63841224", "text": "public void doGet(\n HttpServletRequest request, HttpServletResponse response, Credential googleCredential)\n throws IOException, ServletException {\n response.sendError(400, \"GET is not supported\");\n }", "title": "" }, { "docid": "e567a7e94d4037121a14bbe4b6be728d", "score": "0.63836926", "text": "@GET\n @Path(\"/hello\")\n public String get() {\n System.out.println(\"GET invoked\");\n return \"Hello from WSO2 MSF4J\";\n }", "title": "" }, { "docid": "0fc520f9dd3e840d632fdd634a6b6582", "score": "0.63813776", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, \r\n\t\t\tHttpServletResponse resp) \r\n\t\t\t\t\tthrows ServletException, IOException {\n\t\tdoProcess(req, resp);\r\n\t}", "title": "" }, { "docid": "f86f4b3150a749562da6d25e8c67ae26", "score": "0.63782495", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\n\r\n\t}", "title": "" }, { "docid": "0746db0a443e246101d938c57e55d82c", "score": "0.63779354", "text": "protected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t}", "title": "" }, { "docid": "69b8f0097a3390728a66ccf035cef799", "score": "0.63743657", "text": "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tproRequest(req, resp);\n\t}", "title": "" }, { "docid": "ca094121e2a066654e01a1f6c844926c", "score": "0.6372961", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\t}", "title": "" }, { "docid": "a2829628222c93c13050a43d83ce732a", "score": "0.63607705", "text": "protected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}", "title": "" }, { "docid": "5c1eee81864293b9551956244b8f576d", "score": "0.63600695", "text": "@Override\r\n public HttpResponse httpGet(URI uri) {\r\n try {\r\n HttpGet request = new HttpGet(uri);\r\n consumer.sign(request);\r\n return httpClient.execute(request);\r\n } catch (OAuthException | IOException e) {\r\n throw new RuntimeException(\"get method did not execute successfully\", e);\r\n }\r\n }", "title": "" }, { "docid": "2b226320a48dc6c1938edb9bcefbdd1e", "score": "0.634835", "text": "@Override\n\tpublic void handleGet(HttpServletRequest request, HttpServletResponse response) {\n\t\tswitch (getAction(request)) {\n\t\tcase \"/course\":\n\t\t\tshowView(request, response);\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "712e400687299f6dfd987ca2d673bdb1", "score": "0.6342933", "text": "@Override\r\n public void doGet(String path, HttpServletRequest request, HttpServletResponse response)\r\n throws Exception {\r\n // throw new UnsupportedOperationException();\r\n System.out.println(\"Inside the get\");\r\n response.setContentType(\"text/xml\");\r\n response.setCharacterEncoding(\"utf-8\");\r\n final Writer w = response.getWriter();\r\n w.write(\"inside the get\");\r\n w.close();\r\n }", "title": "" }, { "docid": "d9e298b3ab3783cb00f3957808dc1e5a", "score": "0.63248026", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n log( \"GET\" );\n fillTableData(request, response);\n }", "title": "" }, { "docid": "0e61160400f9e6d840304fa0674a5f28", "score": "0.63214433", "text": "@When(\"^Perform GET request$\")\n\tpublic void perform_GET_request() throws Throwable {\n\t\tSystem.out.println(\"hello\");\n\t}", "title": "" }, { "docid": "2bfe0e85d357cc0ac646045176c4a11d", "score": "0.63118434", "text": "public HttpServiceResult executeGet(HttpRequest request, HttpResponse response) throws HttpException, IOException {\n\t\tthrow new HttpException(HttpStatus.METHOD_NOT_ALLOWED, \"GET method not allowed\");\n\t}", "title": "" }, { "docid": "57f623135826297b6570f986e1fc329a", "score": "0.63117135", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n // processRequest(request, response);\r\n }", "title": "" }, { "docid": "e286d6fef5d3a1dfa677d57111d0e48c", "score": "0.6310177", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\r\n\t}", "title": "" }, { "docid": "2c8b300cedbbde7c65ef3a44cc228b30", "score": "0.630628", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t}", "title": "" }, { "docid": "67a4d8a9ded3a306194fb1d8d51a905a", "score": "0.63061804", "text": "public void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n throws ServletException, IOException {\r\n doPost(req, resp);\r\n }", "title": "" }, { "docid": "67a4d8a9ded3a306194fb1d8d51a905a", "score": "0.63061804", "text": "public void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n throws ServletException, IOException {\r\n doPost(req, resp);\r\n }", "title": "" }, { "docid": "55d81f4b468138c1306f7555e8960d23", "score": "0.63061464", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n service(request, response);\n }", "title": "" }, { "docid": "56cbf9fa9fe6d8fc0014d1b3aa2d063f", "score": "0.630202", "text": "public void doGet(String path, String options, OutputStream out) throws ServletException, ShutdownException\n {\n\n }", "title": "" }, { "docid": "39439240afb056e2830dcbe1d0456213", "score": "0.6270818", "text": "public void doGet(HttpServletRequest request,\r\n HttpServletResponse response) throws ServletException, IOException {\r\n //todo: module 2 home work\r\n }", "title": "" }, { "docid": "b803c119bc4a0c61f8271885a034b835", "score": "0.62688965", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n //processRequest(request, response);\r\n }", "title": "" }, { "docid": "fd3fef34bc2e5090cfa31b83ded19c74", "score": "0.62604177", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n \n }", "title": "" }, { "docid": "ea861e3f33f1769fe6dd5b0f1bd80faa", "score": "0.62562037", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n //processRequest(request, response);\r\n\r\n }", "title": "" }, { "docid": "c25c4f15e85ea4aadec64cca6327c2c0", "score": "0.62557304", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t throws ServletException, IOException {\n\t processRequest(request, response);\n }", "title": "" }, { "docid": "69f0fe880bbd7a3d3e68b078fcb08068", "score": "0.6240191", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t}", "title": "" }, { "docid": "95c8c672a4e03c124bffdfaae2c1120e", "score": "0.6231981", "text": "public void get(String url) {\n\n\t}", "title": "" }, { "docid": "68f22269f2256cabfd9965bfbfb85cf9", "score": "0.6228678", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n // processRequest(request, response);\n }", "title": "" }, { "docid": "8db68fc8013ba4bf479b9265d94588ca", "score": "0.622661", "text": "@Override\r\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n doGet(req, resp);\r\n }", "title": "" }, { "docid": "8db68fc8013ba4bf479b9265d94588ca", "score": "0.622661", "text": "@Override\r\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n doGet(req, resp);\r\n }", "title": "" }, { "docid": "f55c0c2f94aee39617b2ddf88eaa25a7", "score": "0.62146825", "text": "@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n \r\n }", "title": "" }, { "docid": "f38ab8313dbad9377a5ed8c117ae34d3", "score": "0.6212717", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse \n response)\n throws ServletException, IOException {\n \n processRequest(request, response);\n }", "title": "" }, { "docid": "af8546bb01d1bfbefc51827826a03988", "score": "0.6211598", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n //processRequest(request, response);\n }", "title": "" }, { "docid": "af8546bb01d1bfbefc51827826a03988", "score": "0.6211598", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n //processRequest(request, response);\n }", "title": "" } ]
4fa3d4823dbf21f3968c37080fc92fae
Use FrameHDReConnect.newBuilder() to construct.
[ { "docid": "5d5da0ad518bddb72e7a3a37262d4b72", "score": "0.7160721", "text": "private FrameHDReConnect(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" } ]
[ { "docid": "2d1aa7fe33a7eba7ce02f9bed2d23c5d", "score": "0.69155127", "text": "private FrameSYNHDReConnect(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "e030155d9172b8ac5194ce671cf6ea75", "score": "0.57666075", "text": "private FrameAPPReConnect(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "731cb7988b775ac92b4c1955f38594b0", "score": "0.5453424", "text": "private FrameHDBanding(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "d7bfb97e67496aaa71979c2750bbd4a4", "score": "0.53816366", "text": "private Frame(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "6a5dfcdf51c97d64ed27d0b183c882ad", "score": "0.53453606", "text": "public Frame(byte[] rawFrame)\n\t{\n\t\tByteBuffer bb = ByteBuffer.wrap(rawFrame);\n\t\tbb.position(0);\n\t\tthis.sourceAdr = bb.getShort();\n\t\tthis.destAdr = bb.getShort();\n\t\tthis.sequNr = bb.getShort();\n\t\tthis.flags = bb.getShort();\n\t\tthis.checksum = bb.getShort();\n\t\tthis.payloadLength = bb.getShort();\n\n\t\t// restliche Positionen im ByteBuffer sind der Payload\n\t\tthis.payload = new byte[bb.remaining()];\n\n\t\tfor (int i = 0; i < payloadLength && i + 12 < rawFrame.length; i++)\n\t\t{\n\t\t\tpayload[i] = bb.get(12 + i);\n\t\t}\n\n\t\tthis.rawFrame = createFrame();\n\t}", "title": "" }, { "docid": "741d40b3496588520951a51d43480df1", "score": "0.5030818", "text": "public Cd11ConnectionRequestFrame createCd11ConnectionRequestFrame()\n throws IllegalArgumentException, IOException {\n\n // Create the frame body.\n Cd11ConnectionRequestFrame newFrame = new Cd11ConnectionRequestFrame(\n config.protocolMajorVersion, config.protocolMinorVersion,\n config.stationOrResponderName, config.stationOrResponderType, config.serviceType,\n (socket == null) ? \"0.0.0.0\" : getLocalIpAddressAsString(),\n (socket == null) ? 0 : socket.getLocalPort(),\n null, null); // TODO: Support secondary IP and Port???\n\n // Generate the frame body byte array.\n byte[] frameBodyBytes = newFrame.getFrameBodyBytes();\n\n // Use the frame body byte array to generate the frame header.\n Cd11FrameHeader frameHeader = new Cd11FrameHeader(\n FrameType.CONNECTION_REQUEST,\n Cd11FrameHeader.FRAME_LENGTH + Cd11ConnectionRequestFrame.FRAME_LENGTH,\n config.frameCreator,\n config.frameDestination,\n 0);\n\n // Generate the frame header and body byte arrays.\n ByteBuffer frameHeaderAndBodyByteBuffer = ByteBuffer.allocate(\n Cd11FrameHeader.FRAME_LENGTH + frameBodyBytes.length);\n frameHeaderAndBodyByteBuffer.put(frameHeader.toBytes());\n frameHeaderAndBodyByteBuffer.put(frameBodyBytes);\n\n // Generate the frame trailer.\n Cd11FrameTrailer frameTrailer = new Cd11FrameTrailer(\n config.authenticationKeyIdentifier, frameHeaderAndBodyByteBuffer.array());\n\n // Add the frame header and trailer.\n newFrame.setFrameHeader(frameHeader);\n newFrame.setFrameTrailer(frameTrailer);\n\n return newFrame;\n }", "title": "" }, { "docid": "45705ef2247b3e3d4048d8e384cb9019", "score": "0.50045824", "text": "rfbProto(String h, int p, vncviewer v1) throws IOException {\n v = v1;\n host = h;\n port = p;\n sock = new Socket(host, port);\n is = new DataInputStream(new BufferedInputStream(sock.getInputStream(),\n \t\t\t\t\t\t 16384));\n os = sock.getOutputStream();\n }", "title": "" }, { "docid": "dbcdd2b545f6f7523a0227ee0f3f3083", "score": "0.4992301", "text": "private FrameRate(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "d4db38e8b157abf8be5d464dc882bcbb", "score": "0.4906677", "text": "public CommenceReceiveHd() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "d55c00a71e0cb9b57faf27ca7576c5fe", "score": "0.48946583", "text": "private OpenConnection(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "2d5d97cdb575a7a102f6013288c25d86", "score": "0.489395", "text": "public Cd11Frame read(BooleanSupplier haltReadOperation)\n throws InterruptedException, Exception {\n\n Cd11ByteFrame cd11ByteFrame;\n\n synchronized (READ_LOCK) {\n // Check that the socket is ready to use.\n if (!this.isConnected()) {\n throw new IllegalStateException(\"Socket connection is not open.\");\n }\n\n // Parse the CD 1.1 frame.\n cd11ByteFrame = new Cd11ByteFrame(this.socketIn, haltReadOperation);\n }\n\n // Update the \"last contact\" time stamp.\n lastContactTimeNs.set(System.nanoTime());\n\n // Construct the appropriate CD 1.1 frame.\n switch (cd11ByteFrame.getFrameType()) {\n case ACKNACK:\n //Set the Frame Creator from the first frame we receive on the data consumer (always option request)\n Cd11AcknackFrame cd11AcknackFrame = new Cd11AcknackFrame(cd11ByteFrame);\n this.framesetAcked = cd11AcknackFrame.framesetAcked;\n return new Cd11AcknackFrame(cd11ByteFrame);\n case ALERT:\n return new Cd11AlertFrame(cd11ByteFrame);\n case CD_ONE_ENCAPSULATION:\n throw new IllegalStateException(\"Not yet implemented\");\n case COMMAND_REQUEST:\n throw new IllegalStateException(\"Not yet implemented\");\n case COMMAND_RESPONSE:\n throw new IllegalStateException(\"Not yet implemented\");\n case CONNECTION_REQUEST:\n return new Cd11ConnectionRequestFrame(cd11ByteFrame);\n case CONNECTION_RESPONSE:\n return new Cd11ConnectionResponseFrame(cd11ByteFrame);\n case DATA:\n return new Cd11DataFrame(cd11ByteFrame);\n case OPTION_REQUEST:\n return new Cd11OptionRequestFrame(cd11ByteFrame);\n case OPTION_RESPONSE:\n throw new IllegalStateException(\"Not yet implemented\");\n default:\n throw new IllegalArgumentException(\"Frame type does not exist.\");\n }\n }", "title": "" }, { "docid": "85f82ca9af9bdb8191e0899c0afa6b62", "score": "0.48851755", "text": "private void d() {\n /*\n r6 = this;\n r0 = 0\n r6.g = r0\n com.xiaomi.slim.b r1 = r6.c()\n java.lang.String r2 = \"CONN\"\n java.lang.String r3 = r1.a()\n boolean r2 = r2.equals(r3)\n if (r2 == 0) goto L_0x0063\n byte[] r1 = r1.k()\n com.xiaomi.push.protobuf.b$f r1 = com.xiaomi.push.protobuf.b.f.b(r1)\n boolean r2 = r1.e()\n if (r2 == 0) goto L_0x002b\n com.xiaomi.slim.f r0 = r6.f\n java.lang.String r2 = r1.d()\n r0.a(r2)\n r0 = 1\n L_0x002b:\n boolean r2 = r1.h()\n if (r2 == 0) goto L_0x004e\n com.xiaomi.push.protobuf.b$b r2 = r1.i()\n com.xiaomi.slim.b r3 = new com.xiaomi.slim.b\n r3.<init>()\n java.lang.String r4 = \"SYNC\"\n java.lang.String r5 = \"CONF\"\n r3.a(r4, r5)\n byte[] r2 = r2.c()\n r4 = 0\n r3.a(r2, r4)\n com.xiaomi.slim.f r2 = r6.f\n r2.a(r3)\n L_0x004e:\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n java.lang.String r3 = \"[Slim] CONN: host = \"\n r2.<init>(r3)\n java.lang.String r1 = r1.f()\n r2.append(r1)\n java.lang.String r1 = r2.toString()\n com.xiaomi.channel.commonutils.logger.b.a(r1)\n L_0x0063:\n if (r0 != 0) goto L_0x0072\n java.lang.String r0 = \"[Slim] Invalid CONN\"\n com.xiaomi.channel.commonutils.logger.b.a(r0)\n java.io.IOException r0 = new java.io.IOException\n java.lang.String r1 = \"Invalid Connection\"\n r0.<init>(r1)\n throw r0\n L_0x0072:\n com.xiaomi.slim.f r0 = r6.f\n byte[] r0 = r0.a()\n r6.h = r0\n L_0x007a:\n boolean r0 = r6.g\n if (r0 != 0) goto L_0x0129\n com.xiaomi.slim.b r0 = r6.c()\n com.xiaomi.slim.f r1 = r6.f\n r1.o()\n short r1 = r0.m()\n switch(r1) {\n case 1: goto L_0x0122;\n case 2: goto L_0x00d6;\n case 3: goto L_0x00a4;\n default: goto L_0x008e;\n }\n L_0x008e:\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n java.lang.String r2 = \"[Slim] unknow blob type \"\n r1.<init>(r2)\n short r0 = r0.m()\n r1.append(r0)\n java.lang.String r0 = r1.toString()\n L_0x00a0:\n com.xiaomi.channel.commonutils.logger.b.a(r0)\n goto L_0x007a\n L_0x00a4:\n com.xiaomi.slim.e r1 = r6.d // Catch:{ Exception -> 0x00b6 }\n byte[] r2 = r0.k() // Catch:{ Exception -> 0x00b6 }\n com.xiaomi.slim.f r3 = r6.f // Catch:{ Exception -> 0x00b6 }\n com.xiaomi.smack.packet.d r1 = r1.a(r2, r3) // Catch:{ Exception -> 0x00b6 }\n com.xiaomi.slim.f r2 = r6.f // Catch:{ Exception -> 0x00b6 }\n r2.b(r1) // Catch:{ Exception -> 0x00b6 }\n goto L_0x007a\n L_0x00b6:\n r1 = move-exception\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n java.lang.String r3 = \"[Slim] Parse packet from Blob \"\n r2.<init>(r3)\n L_0x00be:\n java.lang.String r0 = r0.toString()\n r2.append(r0)\n java.lang.String r0 = \" failure:\"\n r2.append(r0)\n java.lang.String r0 = r1.getMessage()\n r2.append(r0)\n java.lang.String r0 = r2.toString()\n goto L_0x00a0\n L_0x00d6:\n java.lang.String r1 = \"SECMSG\"\n java.lang.String r2 = r0.a()\n boolean r1 = r1.equals(r2)\n if (r1 == 0) goto L_0x0122\n java.lang.String r1 = r0.b()\n boolean r1 = android.text.TextUtils.isEmpty(r1)\n if (r1 == 0) goto L_0x0122\n int r1 = r0.c() // Catch:{ Exception -> 0x0119 }\n java.lang.Integer r1 = java.lang.Integer.valueOf(r1) // Catch:{ Exception -> 0x0119 }\n java.lang.String r1 = r1.toString() // Catch:{ Exception -> 0x0119 }\n java.lang.String r2 = r0.j() // Catch:{ Exception -> 0x0119 }\n com.xiaomi.push.service.aq r3 = com.xiaomi.push.service.aq.a() // Catch:{ Exception -> 0x0119 }\n com.xiaomi.push.service.aq$b r1 = r3.b(r1, r2) // Catch:{ Exception -> 0x0119 }\n com.xiaomi.slim.e r2 = r6.d // Catch:{ Exception -> 0x0119 }\n java.lang.String r1 = r1.i // Catch:{ Exception -> 0x0119 }\n byte[] r1 = r0.d(r1) // Catch:{ Exception -> 0x0119 }\n com.xiaomi.slim.f r3 = r6.f // Catch:{ Exception -> 0x0119 }\n com.xiaomi.smack.packet.d r1 = r2.a(r1, r3) // Catch:{ Exception -> 0x0119 }\n com.xiaomi.slim.f r2 = r6.f // Catch:{ Exception -> 0x0119 }\n r2.b(r1) // Catch:{ Exception -> 0x0119 }\n goto L_0x007a\n L_0x0119:\n r1 = move-exception\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n java.lang.String r3 = \"[Slim] Parse packet from Blob \"\n r2.<init>(r3)\n goto L_0x00be\n L_0x0122:\n com.xiaomi.slim.f r1 = r6.f\n r1.a(r0)\n goto L_0x007a\n L_0x0129:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.xiaomi.slim.c.d():void\");\n }", "title": "" }, { "docid": "c1dd5dbe9234f714b710859013b37086", "score": "0.4872729", "text": "private RefreshCards(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "73f76db61f6f11fc2ac6536614ba145f", "score": "0.4843139", "text": "public byte[] createFrame()\n\t{\n\t\tbyte[] frame = add(shortToBytes(sourceAdr), shortToBytes(destAdr));\n\t\tframe = add(frame, shortToBytes(sequNr));\n\t\tframe = add(frame, shortToBytes(flags));\n\t\tframe = add(frame, shortToBytes(checksum));\n\t\tframe = add(frame, shortToBytes(payloadLength));\n\t\tif (payload != null)\n\t\t\tframe = add(frame, payload);\n\t\treturn frame;\n\t}", "title": "" }, { "docid": "dd4e5f8c1843bf662ce420b0330e0e1f", "score": "0.48260465", "text": "public ManageRecordingsFrame() {\n\t}", "title": "" }, { "docid": "0ecc07c9af6ad429236d0fb87ffada63", "score": "0.48038918", "text": "private S2C_RebirthCard(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "925b8632604cfe2fde3b29f9147f53f9", "score": "0.47862515", "text": "private C2S_RebirthCard(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "e193c2f66afd0ced5cba4f08651d2efe", "score": "0.4744283", "text": "public Frame transmitFrame();", "title": "" }, { "docid": "bafaa6183eb89acc58c6cacc8ade262d", "score": "0.47150147", "text": "private MouthCard(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "4b5fec2397c519b5a5644dfad66fcce2", "score": "0.4706989", "text": "public FramedVehicleJourneyRef() {\n }", "title": "" }, { "docid": "887c80284304c930909da1568f7ef8c6", "score": "0.4691092", "text": "public FrameDemo() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "title": "" }, { "docid": "a102533de72766fd9872029bd6b83f6d", "score": "0.46905655", "text": "void prepareFrame();", "title": "" }, { "docid": "fe2e65b485555d9932deadda6f0fcc12", "score": "0.46748066", "text": "private RedPoint(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "2a7fdd471d2af25a268a450ae6e18e4d", "score": "0.4634509", "text": "public HipFrame(HipController baseController)\n\t{\n\t\tthis.baseController = baseController;\n\t\tbasePanel = new HipPanel(baseController);\n\n\t\tsetupFrame();\n\t}", "title": "" }, { "docid": "f380ec1ed7d3e6febe6c001fb99f5ae4", "score": "0.4630959", "text": "void sendFrame(Framedata framedata);", "title": "" }, { "docid": "fbdc79a1566582d5f73fc54d30fa6173", "score": "0.46114048", "text": "private DeviceConnectionStatus(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "30cd139e58da528bfd4d4c2666c08951", "score": "0.46059933", "text": "private FrameJoinRoomRepose(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "6865328a6a7ea8b62707d94d7f5b44b7", "score": "0.4601365", "text": "public Frame(short sourceadr, short destadr, short sequNr, byte[] payload)\n\t{\n\t\tthis.sourceAdr = sourceadr;\n\t\tthis.destAdr = destadr;\n\t\tthis.sequNr = sequNr;\n\t\tthis.flags = 0;\n\n\t\tthis.payloadLength = (short) payload.length;\n\t\tthis.payload = payload;\n\t\t// immer zuletzt, da greift auf Datenfelder der Klasse zurueck\n\t\tthis.checksum = createChecksum();\n\t\tthis.rawFrame = createFrame();\n\t}", "title": "" }, { "docid": "408ad97f802872be5212dd0226ad1d60", "score": "0.45987475", "text": "private Card(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "9d0d923abcf5503e25f20b852f360393", "score": "0.4591814", "text": "public void init(Frame paramFrame) {\n/* 183 */ this.target = paramFrame;\n/* 184 */ this.framePeer = (XFramePeer)paramFrame.getPeer();\n/* 185 */ XCreateWindowParams xCreateWindowParams = getDelayedParams();\n/* 186 */ xCreateWindowParams.remove(\"delayed\");\n/* 187 */ xCreateWindowParams.add(\"parent window\", this.framePeer.getShell());\n/* 188 */ xCreateWindowParams.add(\"target\", paramFrame);\n/* 189 */ init(xCreateWindowParams);\n/* */ }", "title": "" }, { "docid": "7a634db55f41177a1f9dccd65b5ec9dd", "score": "0.45468765", "text": "private Builder() {\n super(secram.avro.SecramRecordAvro.SCHEMA$);\n }", "title": "" }, { "docid": "17c432a113f18edcf83e7337e8024ed7", "score": "0.4544774", "text": "public InsertDrFrame() {\n\t\tinitComponents();\n\t}", "title": "" }, { "docid": "19c879d60b33e089ecdf3289dd6b8c37", "score": "0.45201007", "text": "private FrameGet2DCodeReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "087163e2019e795ae96051517d5673a9", "score": "0.4513768", "text": "public WlanDataAbstr(byte[] frame, boolean toDS, boolean fromDS) {\n\t\tif (frame.length >= 22) {\n\t\t\tdurationId = new byte[] { frame[1], frame[0] };\n\t\t\tif (!toDS && !fromDS) {\n\t\t\t\tdestinationAddr = new byte[] { frame[2], frame[3], frame[4],\n\t\t\t\t\t\tframe[5], frame[6], frame[7] };\n\t\t\t\tsourceAddr = new byte[] { frame[8], frame[9], frame[10],\n\t\t\t\t\t\tframe[11], frame[12], frame[13] };\n\t\t\t\tbssid = new byte[] { frame[14], frame[15], frame[16],\n\t\t\t\t\t\tframe[17], frame[18], frame[19] };\n\t\t\t\tsequenceControl = new byte[] { frame[20], frame[21] };\n\t\t\t\tif (frame.length == 22) {\n\t\t\t\t\tframeBody = new byte[] {};\n\t\t\t\t} else {\n\t\t\t\t\tframeBody = new byte[frame.length - 22];\n\t\t\t\t\tfor (int i = 22; i < frame.length; i++) {\n\t\t\t\t\t\tframeBody[i - 22] = frame[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (!toDS && fromDS) {\n\t\t\t\tdestinationAddr = new byte[] { frame[2], frame[3], frame[4],\n\t\t\t\t\t\tframe[5], frame[6], frame[7] };\n\t\t\t\tbssid = new byte[] { frame[8], frame[9], frame[10], frame[11],\n\t\t\t\t\t\tframe[12], frame[13] };\n\t\t\t\tsourceAddr = new byte[] { frame[14], frame[15], frame[16],\n\t\t\t\t\t\tframe[17], frame[18], frame[19] };\n\t\t\t\tsequenceControl = new byte[] { frame[20], frame[21] };\n\t\t\t\tif (frame.length == 22) {\n\t\t\t\t\tframeBody = new byte[] {};\n\t\t\t\t} else {\n\t\t\t\t\tframeBody = new byte[frame.length - 22];\n\t\t\t\t\tfor (int i = 22; i < frame.length; i++) {\n\t\t\t\t\t\tframeBody[i - 22] = frame[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (toDS && !fromDS) {\n\t\t\t\tbssid = new byte[] { frame[2], frame[3], frame[4], frame[5],\n\t\t\t\t\t\tframe[6], frame[7] };\n\t\t\t\tsourceAddr = new byte[] { frame[8], frame[9], frame[10],\n\t\t\t\t\t\tframe[11], frame[12], frame[13] };\n\t\t\t\tdestinationAddr = new byte[] { frame[14], frame[15], frame[16],\n\t\t\t\t\t\tframe[17], frame[18], frame[19] };\n\t\t\t\tsequenceControl = new byte[] { frame[20], frame[21] };\n\t\t\t\tif (frame.length == 22) {\n\t\t\t\t\tframeBody = new byte[] {};\n\t\t\t\t} else {\n\t\t\t\t\tframeBody = new byte[frame.length - 22];\n\t\t\t\t\tfor (int i = 22; i < frame.length; i++) {\n\t\t\t\t\t\tframeBody[i - 22] = frame[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\treceiverAddr = new byte[] { frame[2], frame[3], frame[4],\n\t\t\t\t\t\tframe[5], frame[6], frame[7] };\n\t\t\t\ttransmitterAddr = new byte[] { frame[8], frame[9], frame[10],\n\t\t\t\t\t\tframe[11], frame[12], frame[13] };\n\t\t\t\tdestinationAddr = new byte[] { frame[14], frame[15], frame[16],\n\t\t\t\t\t\tframe[17], frame[18], frame[19] };\n\t\t\t\tsequenceControl = new byte[] { frame[20], frame[21] };\n\n\t\t\t\tsourceAddr = new byte[] { frame[22], frame[23], frame[24],\n\t\t\t\t\t\tframe[25], frame[26], frame[27] };\n\n\t\t\t\tif (frame.length == 28) {\n\t\t\t\t\tframeBody = new byte[] {};\n\t\t\t\t} else {\n\t\t\t\t\tframeBody = new byte[frame.length - 28];\n\t\t\t\t\tfor (int i = 28; i < frame.length; i++) {\n\t\t\t\t\t\tframeBody[i - 28] = frame[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\t\t\tSystem.err.println(\"error treating Data frame\");\n\t\t}\n\t}", "title": "" }, { "docid": "b892193d6e524b451ebc7a9892590b1f", "score": "0.4508322", "text": "private Connectivity(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "341bf9bb0bb1064c49a74b4b60c4e8f6", "score": "0.45073643", "text": "public DeviceDetailInternalFrame() {\n initComponents();\n }", "title": "" }, { "docid": "ace1486e499e383b43392291d29d19a8", "score": "0.44878724", "text": "private HDRecordMode() {}", "title": "" }, { "docid": "8da0d2204cc1f9753123794db075d67e", "score": "0.44824305", "text": "RfConnection connect(S settings);", "title": "" }, { "docid": "508263dff7dc31877b44ad505b53f53f", "score": "0.44820496", "text": "private FrameGet2DCodeResp(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "e16e88166fe4de232838737df506838f", "score": "0.44611394", "text": "int avcodec_send_frame(AVCodecContext avctx, AVFrame frame);", "title": "" }, { "docid": "ecd75e3e3a9c08c1b561fdb7f96edffe", "score": "0.44483262", "text": "public BDDPacket() {\n this(defaultFactory(JFactory::init));\n }", "title": "" }, { "docid": "5ed5c2442ae56f0c3eb9226239c0cae3", "score": "0.44474107", "text": "private void connectToServer() {\n\t\tc=new FrameClient();\r\n\t\tc.connect();\r\n\t}", "title": "" }, { "docid": "a4a83f6364be77ab1507dfd6746246d0", "score": "0.44378293", "text": "private Frame(String stack, int ignoreFrames, boolean partial)\n {\n _stack = stack;\n internalInit(ignoreFrames, partial);\n }", "title": "" }, { "docid": "55d929e2489ba22ec17f3741e886faaf", "score": "0.443399", "text": "private Builder() {\n super(com.ivyft.katta.protocol.Message.SCHEMA$);\n }", "title": "" }, { "docid": "9d5c30318dd8edfcbc9c0fff021cc344", "score": "0.44162735", "text": "public Frame(short sourceadr, short destadr, short sequNr, short flags)\n\t{\n\t\tthis.sourceAdr = sourceadr;\n\t\tthis.destAdr = destadr;\n\t\tthis.sequNr = sequNr;\n\t\tthis.flags = flags;\n\t\tthis.payloadLength = 0;\n\t\tthis.payload = null;\n\t\tthis.checksum = createChecksum();\n\t\tthis.rawFrame = createFrame();\n\t}", "title": "" }, { "docid": "30e5a25577a757f2aeec8a49be5161b0", "score": "0.44154695", "text": "private DependencyEdge(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "f0018e30474c04121ad41a10f632d7e0", "score": "0.44145155", "text": "private S2C_ResolveCardPreview(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "256d912d78156471cb16c6831ccf7e47", "score": "0.44102472", "text": "private VcCardRecharReq(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "2675a0837f565a3c4e9e124ca4e02883", "score": "0.44070193", "text": "public DefaultRxFrameFactory() {\n factories = new HashMap<>();\n //\n // add basic rx frame factories\n addRxFrameFactoryForApiId(AtCommandResponse.FRAME_TYPE, new AtCommandResponseFactory());\n addRxFrameFactoryForApiId(RemoteAtCommandResponse.FRAME_TYPE, new RemoteAtCommandResponseFactory());\n addRxFrameFactoryForApiId(ModemStatus.FRAME_TYPE, new ModemStatusFactory());\n addRxFrameFactoryForApiId(TxStatus.FRAME_TYPE, new TxStatusFactory());\n addRxFrameFactoryForApiId(ReceivePacket64.FRAME_TYPE, new ReceivePacket64Factory());\n addRxFrameFactoryForApiId(ReceivePacket64IO.FRAME_TYPE, new ReceivePacket64IOFactory());\n addRxFrameFactoryForApiId(ReceivePacket16.FRAME_TYPE, new ReceivePacket16Factory());\n addRxFrameFactoryForApiId(ReceivePacket16IO.FRAME_TYPE, new ReceivePacket16IOFactory());\n addRxFrameFactoryForApiId(NodeIdentificationIndicator.FRAME_TYPE, new NodeIdentificationIndicatorFactory());\n addRxFrameFactoryForApiId(ZigBeeTransmitStatus.FRAME_TYPE, new ZigBeeTransmitStatusFactory());\n addRxFrameFactoryForApiId(ZigBeeReceivePacket.FRAME_TYPE, new ZigBeeReceivePacketFactory());\n }", "title": "" }, { "docid": "090e106079daae5e9eb90e4361b60a20", "score": "0.4406335", "text": "public z.rethink.Ql2.Frame.Builder addFramesBuilder() {\n return getFramesFieldBuilder().addBuilder(\n z.rethink.Ql2.Frame.getDefaultInstance());\n }", "title": "" }, { "docid": "ddc76b8d1f4fa5ba0d8b5656df4deb5a", "score": "0.43949255", "text": "public void sendCd11ConnectionRequestFrame()\n throws IllegalArgumentException, IOException, Exception {\n // Create and send the object.\n this.write(this.createCd11ConnectionRequestFrame());\n }", "title": "" }, { "docid": "029a04da3e97e8d5d5cc2f5fbddc6c32", "score": "0.43920147", "text": "private C2S_ResolveCardPreview(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "e4348e78904b4069727160036f9a4aaa", "score": "0.43899158", "text": "private S2C_CardSyn(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "df7456d19d9e7d888ff5e81f9d433378", "score": "0.43736044", "text": "void init(int frameSize, int frameSizeNyquist, int hopSizeAnalysis, float strechFactor, int sampleRate, TransientDetectionType transientDetectionType, PhaseResetType phaseResetType);", "title": "" }, { "docid": "e44522dd6ae97aaa26238d8d5a12205a", "score": "0.43727252", "text": "private VideoType_DSRF(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "522911f274f642b8948130960f04a3bd", "score": "0.4371899", "text": "private Builder() {\n super(sparqles.avro.analytics.EPViewDiscoverability.SCHEMA$);\n }", "title": "" }, { "docid": "d83346492f1c73e8dea0bee4ea27bfcc", "score": "0.43713564", "text": "private NNGameOperHandCardSyn(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "c885caf291f55e9af6bba706c844f918", "score": "0.43581727", "text": "private C2S_CardSyn(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "258d97cedcfbccd50a8645acec078c28", "score": "0.4344281", "text": "void makeFreshFrame();", "title": "" }, { "docid": "6e30cacc1768d1c12601dabf6e658026", "score": "0.43023878", "text": "public ClientThread(ClientFrame clientFrame) {\r\n\t\tthis.clientFrame = clientFrame;\r\n\t}", "title": "" }, { "docid": "2821e07e1df57f0a6eb385f1fecb6f8b", "score": "0.42981067", "text": "private MsgRefuseDTagTransferRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "dc9b49cbe006d5e529b9af3be47583b4", "score": "0.42955986", "text": "private ClientUCMAddScreenshotProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "71b14d3a11277c06263f21cdee93f09a", "score": "0.4292362", "text": "public static maestro.components.WildCard.Builder newBuilder() {\n return new maestro.components.WildCard.Builder();\n }", "title": "" }, { "docid": "a739e2fb9b5b43729a29ebe587bd8541", "score": "0.42861584", "text": "void frameHeader(int r1, int r2, byte r3, byte r4) throws java.io.IOException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.okhttp.internal.framed.Http2.Writer.frameHeader(int, int, byte, byte):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.okhttp.internal.framed.Http2.Writer.frameHeader(int, int, byte, byte):void\");\n }", "title": "" }, { "docid": "97e5f5579d4dbed6ff3debef388b4f57", "score": "0.42829233", "text": "private HeartBeatRes(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "bdaf0500b995a9652dee748dba8ac106", "score": "0.42759782", "text": "<T> T addFramedEdge(String label, VertexFrame inVertex, ClassInitializer<T> initializer);", "title": "" }, { "docid": "d39b80fa54574696cd0c2ef374fe50a2", "score": "0.42746902", "text": "protected abstract S initFrameShape();", "title": "" }, { "docid": "67acb2fa08d735942dfaeda12387d668", "score": "0.42727327", "text": "public RC4() {\n super();\n }", "title": "" }, { "docid": "eeea5fe25bc3fbb4db1ee59591e84167", "score": "0.42613092", "text": "@Override\r\n\tprotected EdgePLAY constructEdge(NodePLAY source, NodePLAY target,\r\n\t\t\tEdgePayloadPLAY label) {\n\t\tWholeGraphPLAY wg = (WholeGraphPLAY) this;\r\n\t\treturn new EdgePLAY(source, target, label, wg);\r\n\t}", "title": "" }, { "docid": "30f545f0c4497e61c6756c8f352c97e9", "score": "0.4251957", "text": "private void initialize() {\r\n this.setLayout(new CardLayout());\r\n this.setName(\"Connection\");\r\n this.add(getPanelProxyChain(), getPanelProxyChain().getName());\r\n\r\n\r\n\t}", "title": "" }, { "docid": "9bc49fc21cf98c8c7d3935a373340d7c", "score": "0.4244993", "text": "public ProtocolHeader() {\n }", "title": "" }, { "docid": "927e831ab955fa61071164b9e34a4cea", "score": "0.42422268", "text": "public Reversi()\n {\n // initialise instance variables\n makeFrame();\n \n }", "title": "" }, { "docid": "fb3b0eb5091b541f0797b1bf0c7ba2ea", "score": "0.42421812", "text": "ConnectionSpec createConnectionSpec();", "title": "" }, { "docid": "f1da7f637027d84bb7cc5d031e6e4672", "score": "0.42407772", "text": "void dataFrame(int r1, byte r2, com.android.okhttp.okio.Buffer r3, int r4) throws java.io.IOException {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.android.okhttp.internal.framed.Http2.Writer.dataFrame(int, byte, com.android.okhttp.okio.Buffer, int):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.android.okhttp.internal.framed.Http2.Writer.dataFrame(int, byte, com.android.okhttp.okio.Buffer, int):void\");\n }", "title": "" }, { "docid": "8485071958281e8e815b38b2e475e918", "score": "0.42407155", "text": "private PBFaceDirResp(Builder builder) {\n super(builder);\n }", "title": "" }, { "docid": "c42279e97528c75a36739a74d1af7f28", "score": "0.42394596", "text": "public DFrame(String tittle) {\n super(tittle);\n this.WIDTH = 450;\n this.HEIGHT = 660;\n this.init();\n }", "title": "" }, { "docid": "3f70493afd35c05049ca6dac645a74dd", "score": "0.42367285", "text": "public static ScopedBindingBuilder bindFrameCodecFactory(Binder binder, String key, Class<? extends ThriftFrameCodecFactory> frameCodecFactoryClass)\n {\n return newMapBinder(binder, String.class, ThriftFrameCodecFactory.class).addBinding(key).to(frameCodecFactoryClass);\n }", "title": "" }, { "docid": "b8ef2636234fb7848d2a8a36d2710e35", "score": "0.42333785", "text": "public FrameDAO() {\n\t\tthis.connection = ConnectionFactory.getConnection();\n\t}", "title": "" }, { "docid": "852251a5c092e580566f362d537001ec", "score": "0.4233058", "text": "public LinkConnectionCompute() {}", "title": "" }, { "docid": "b301dbe605ffde0f74af73aa7da4feca", "score": "0.42318422", "text": "public void openReplaySpecification( final ReplaySpecification replaySpec ) {\r\n\t\tcreateNewInternalFrame( newRepAnalNode, null, replaySpec );\r\n\t}", "title": "" }, { "docid": "82b45eee5ab0c32800480250559ddea4", "score": "0.42296082", "text": "private MsgRequestDTagTransferResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "ea3c37facfe35ea702b117918cb22dc5", "score": "0.4225148", "text": "private MsgRefuseDTagTransferRequestResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "ced6db391201298a7041372c8f45180d", "score": "0.42180675", "text": "public com.godaddy.asherah.grpc.AppEncryptionProtos.DataRowRecord.Builder getDataRowRecordBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getDataRowRecordFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "ced6db391201298a7041372c8f45180d", "score": "0.42180675", "text": "public com.godaddy.asherah.grpc.AppEncryptionProtos.DataRowRecord.Builder getDataRowRecordBuilder() {\n bitField0_ |= 0x00000001;\n onChanged();\n return getDataRowRecordFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "fe3ae7c2c18770ed4e21cdc051c8802a", "score": "0.421782", "text": "private Builder() {\n super(com.linkedin.camus.example.records.DummyLog2.SCHEMA$);\n }", "title": "" }, { "docid": "406961e180bb5bf0d56ff4849833f31d", "score": "0.42139012", "text": "private MsgRequestDTagTransfer(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "fa2f4d3d0fdbeefaf9a7a7f80e89f9e7", "score": "0.4204349", "text": "private VcCardRecharReqBody(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "a16c811be675d87b1a0db40123a0f79a", "score": "0.4193126", "text": "private CloseConnection(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "18c48aa6490197fd640027a5e3d0241c", "score": "0.41929993", "text": "private Builder() {\n super(org.openrtb.common.api.BlocklistObj.SCHEMA$);\n }", "title": "" }, { "docid": "b7351218fe4d759ae4b8cf6c9075477a", "score": "0.41917297", "text": "private ClientUCMAddScreenshotProtoTag(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "58215e7ab475e5e914f714310820af81", "score": "0.41899365", "text": "private VcCardRechargeRes(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "b0dc3234ca1735a35397fc36fe791d8a", "score": "0.4189762", "text": "private ResolveCardInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "89fca5b2d7516bfd2af32952ad24d505", "score": "0.41895175", "text": "private DlmsConnection createConnection() throws IOException, TechnicalException {\n\n\t\tfinal DecryptedKeys decrKeys = decryptedKeys(dlmsDevice);\n\n\t\t final SecuritySuite securitySuite = SecuritySuite.builder().setAuthenticationKey(decrKeys.authentication)\n\t\t .setAuthenticationMechanism(AuthenticationMechanism.HLS5_GMAC)\n\t\t .setGlobalUnicastEncryptionKey(decrKeys.encryption)\n\t\t .setEncryptionMechanism(EncryptionMechanism.AES_GMC_128).build();\n\t\t \n\t\t// Setup connection to device\n\t\tfinal TcpConnectionBuilder tcpConnectionBuilder = new TcpConnectionBuilder(\n\t\t\t\tInetAddress.getByName(this.dlmsDevice.getNetworkAddress()))\n\t\t\t\t.setSecuritySuite(securitySuite)\n\t\t\t\t.setResponseTimeout(this.responseTimeout).setLogicalDeviceId(1).setClientId(1);\n\n\t\tthis.setOptionalValues(tcpConnectionBuilder);\n\n\t\treturn tcpConnectionBuilder.build();\n\t}", "title": "" }, { "docid": "cf36788ae5d5e20885efa838173c0dbe", "score": "0.4187238", "text": "public final Builder frame(MavFrame entry) {\n return frame(EnumValue.of(entry));\n }", "title": "" }, { "docid": "0eb00d238a78c1cc386a7a30a311f047", "score": "0.41850075", "text": "private SCRoomHeart(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "4155bac75209e72785f24a7d3bb13c35", "score": "0.4175649", "text": "public final Builder frame(Enum... flags) {\n return frame(EnumValue.create(flags));\n }", "title": "" }, { "docid": "82bcd225766016ad6b36299b7aa84a42", "score": "0.417354", "text": "public ResponseBuilder connect(Connect connect) {\n content.add(connect);\n return this;\n }", "title": "" }, { "docid": "e0775dff1613eaad9169b3a0e0dd839b", "score": "0.41735172", "text": "private Builder() {\n super(com.raiyi.model.RoamingFlow.SCHEMA$);\n }", "title": "" }, { "docid": "c9510a4751254fa4f3c09e731c8a71b2", "score": "0.41699797", "text": "int SendSFrame(String hint) {\n SendLength = 6;\n SendBuf[0] = 0x68;\n SendBuf[1] = 4;\n SendBuf[2] = 1;\n SendBuf[3] = 0;\n int tmp = 0;\n tmp = RcvNo << 1;\n SendBuf[4] = (byte) ((tmp & 0xFF));\n SendBuf[5] = (byte) ((tmp & 0xFF00) >> 8);\n return Send(hint);\n }", "title": "" }, { "docid": "4c270d186ef0b6912ff7bc42041b523f", "score": "0.4167652", "text": "public CommId3Frame(String content) {\n\t\tsuper(\"COMM\", content);\n\n\t\tthis.shortDesc = \"\";\n\t\t// this.lang = \"eng\";\n\t\tthis.lang = Locale.getDefault().getISO3Language();\n\t}", "title": "" } ]
433b9bbe783d4997905d6953139eaa13
return an array of all output buses
[ { "docid": "f8919003670705c5b275eeb97bda6e33", "score": "0.6991277", "text": "public Bus[] getDataOutputBlock()\n\t\t{\n\t\t\tArrayList<Bus> databus=new ArrayList<Bus>();\n\t\t\tfor (Bus b:module.buses)\n\t\t\t{\n\t\t\t\tif (b.input==number)\n\t\t\t\t{\n\t\t\t\t\tdatabus.add(b);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn databus.toArray(new Bus[0]);\n\t\t}", "title": "" } ]
[ { "docid": "d2ba6bf4d1de973f0a9f33c865c8a6ce", "score": "0.67873675", "text": "@Override\n\tpublic Wire[] getOutputWires() {\n\t\treturn output;\n\t}", "title": "" }, { "docid": "905d023825c8d93dd9a37df2708e6fe3", "score": "0.66489005", "text": "List<Output> getOutputs();", "title": "" }, { "docid": "7c25c1a6ff573a3a20fd26937ce717f6", "score": "0.6433721", "text": "public ArrayList<BitcoinLikeOutput> getOutputs() {\n return outputs;\n }", "title": "" }, { "docid": "3a21018eb94df861beb380e4a5f88c6a", "score": "0.64310926", "text": "public ArrayList<Connector> getOutputs() {\n return this.outputs;\n }", "title": "" }, { "docid": "e7cc5463e247f7b15d000eafb98a41ce", "score": "0.62537956", "text": "public char[] getOutputs(){\n\t\t\n\t\treturn outputs;\n\t\t\n\t}", "title": "" }, { "docid": "69c3173482c665d67de96da0a62685b1", "score": "0.6196543", "text": "public Element[] getOutputs(){\n return outputs;\n }", "title": "" }, { "docid": "b547d871bbd8d0a5bbd29e2a21683d2d", "score": "0.6121068", "text": "public registerClient.OutputType[] getOutputList() {\n return outputList;\n }", "title": "" }, { "docid": "3772fc8add67fc314de16a96a31886a9", "score": "0.6109562", "text": "public double[] getOutput() \r\n\t{\r\n\r\n\t\tdouble[] outputs = new double[outputLayer.size()];\r\n\r\n\t\tfor (int i = 0; i < outputLayer.size(); i++)\r\n\t\t\toutputs[i] = outputLayer.get(i).getOutput();\r\n\t\treturn outputs;\r\n\t}", "title": "" }, { "docid": "6537bfa37731db991fd8fb45a923a126", "score": "0.6077865", "text": "public Bus[] getDataInputBlock()\n\t\t{\n\t\t\tArrayList<Bus> databus=new ArrayList<Bus>();\n\t\t\tfor (Bus b:module.buses)\n\t\t\t{\n\t\t\t\tif (b.output==number && !b.isHorizontal)\n\t\t\t\t{\n\t\t\t\t\tdatabus.add(b);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn databus.toArray(new Bus[0]);\n\t\t}", "title": "" }, { "docid": "ad70bd8eaa93e408725fb953a83695d5", "score": "0.60682005", "text": "@Nonnull\n\tList<Output> getOutputs();", "title": "" }, { "docid": "e2f2b40a0ad3e0bb15da6994fec20639", "score": "0.6055027", "text": "public Part[] getInputBlocks()\n\t\t{\n\t\t\tArrayList<Part> blist=new ArrayList<Part>();\n\t\t\tfor (Bus b:module.buses)\n\t\t\t\tif (b.output==number && b.ycoor2==ycoor)\n\t\t\t\t\tblist.add(b);\n\t\t\treturn blist.toArray(new Part[0]);\n\t\t}", "title": "" }, { "docid": "772e4eb20994300e115dfcbfe22dc2ce", "score": "0.60213083", "text": "public List<Double> getOutputs() {\r\n\t\tList<Double> res = new ArrayList<Double>();\r\n\t\tfor (AbstractNeuron n : outputLayer) {\r\n\t\t\tres.add(n.getOutput());\r\n\t\t}\r\n\t\treturn res;\r\n\t}", "title": "" }, { "docid": "92c6075f816d399061050b01a44d96dd", "score": "0.5919963", "text": "public ArrayList<OutputType> getOutputs() {\n return outputs_;\n }", "title": "" }, { "docid": "5b2f81dd2aa60eb060def366855e0a17", "score": "0.59141815", "text": "public Map<CLDevice, byte[]> getBinaries() {\n \n if(!isExecutable()) {\n return Collections.emptyMap();\n }\n \n CLDevice[] devices = getCLDevices();\n \n PointerBuffer sizes = PointerBuffer.allocateDirect(devices.length);\n int ret = cl.clGetProgramInfo(ID, CL_PROGRAM_BINARY_SIZES, sizes.capacity()*PointerBuffer.elementSize(), sizes.getBuffer(), null);\n if(ret != CL_SUCCESS) {\n throw newException(ret, \"on clGetProgramInfo(CL_PROGRAM_BINARY_SIZES) of \"+this);\n }\n \n int binariesSize = 0;\n while(sizes.remaining() != 0) {\n int size = (int) sizes.get();\n binariesSize += size;\n }\n ByteBuffer binaries = newDirectByteBuffer(binariesSize);\n \n \n long address = InternalBufferUtil.getDirectBufferAddress(binaries);\n PointerBuffer addresses = PointerBuffer.allocateDirect(sizes.capacity());\n sizes.rewind();\n while(sizes.remaining() != 0) {\n addresses.put(address);\n address += sizes.get();\n }\n \n ret = cl.clGetProgramInfo(ID, CL_PROGRAM_BINARIES, addresses.capacity()*PointerBuffer.elementSize(), addresses.getBuffer(), null);\n if(ret != CL_SUCCESS) {\n throw newException(ret, \"on clGetProgramInfo(CL_PROGRAM_BINARIES) of \"+this);\n }\n \n Map<CLDevice, byte[]> map = new LinkedHashMap<CLDevice, byte[]>();\n sizes.rewind();\n for (int i = 0; i < devices.length; i++) {\n byte[] bytes = new byte[(int)sizes.get()];\n binaries.get(bytes);\n map.put(devices[i], bytes);\n }\n \n return map;\n }", "title": "" }, { "docid": "7684a0af7bf620427aa6f815f524e53c", "score": "0.58207256", "text": "List<IAccessor> getOutputs ();", "title": "" }, { "docid": "dc58389bf4566d82b33c2f1075b09ab0", "score": "0.5802303", "text": "@Override\n public List<BusEto> getAllBuses() {\n try {\n List<BusEntity> buses = this.busDao.findAll();\n return getBeanMapper().mapList(buses, BusEto.class);\n } catch (Exception e) {\n System.out.println(\"Error: \" + e.getMessage());\n e.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "1d5f0caf3d1eb5b9cd3bacf53a0e41d0", "score": "0.57515055", "text": "public List<Bus> viewAllBuses() {\n\t\treturn busDao.viewAllBuses();\n\t}", "title": "" }, { "docid": "73de999c56c9d1b604b3771e797802db", "score": "0.5729849", "text": "@Unmodifiable\n\tList<ItemStack> getOutputs();", "title": "" }, { "docid": "6e7f1a0153d3b5e63da0c829240a2fc0", "score": "0.571511", "text": "public List<Circle> getOutput() {\r\n return outputs;\r\n }", "title": "" }, { "docid": "f3f8c35e06eb8d9926a54c13e9714397", "score": "0.5701089", "text": "public Collection<? extends Output> getAllOutputInstances() {\n\t\treturn delegate.getWrappedIndividuals(Vocabulary.CLASS_OUTPUT, DefaultOutput.class);\n }", "title": "" }, { "docid": "714da48ca8c042171da5115662a986a9", "score": "0.5694617", "text": "private double[] getNetworkOutput() {\n\t\tint len = out.length;\n\t\tdouble[] temp = new double[len - 1];\n\t\tfor (int i = 1; i != len; i++)\n\t\t\ttemp[i - 1] = out[i];\n\t\treturn temp;\n\t}", "title": "" }, { "docid": "a1a8f9c578ababb5f409feb32ef0d485", "score": "0.56722933", "text": "public Bus[] getAddressInputBlock()\n\t\t{\n\t\t\tArrayList<Bus> addressbus=new ArrayList<Bus>();\n\t\t\tfor (Bus b:module.buses)\n\t\t\t{\n\t\t\t\tif (b.output==number && b.isHorizontal)\n\t\t\t\t{\n\t\t\t\t\taddressbus.add(b);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn addressbus.toArray(new Bus[0]);\n\t\t}", "title": "" }, { "docid": "22b62b4d0ccd562b8145f3afd7bbce0f", "score": "0.56720597", "text": "public Matrix getOutputs() {\n\t\treturn outputs;\n\t}", "title": "" }, { "docid": "4ce6ace7384c80630ecf24bf4182cc41", "score": "0.567162", "text": "@Override\r\n\tpublic short get_IO_output_all(int SA) {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "ac2b138fdfa597fb37bcfcb411ca3754", "score": "0.56119484", "text": "public static TxOut[] getOutputs() {\n\n\t\tint numberOfOutputs = 2;\n\t\tTxOut[] outputs = new TxOut[numberOfOutputs];\n\n\t\t// TEST CASE 1 already spent\n\t\t// BigInteger sats1= new BigInteger(\"2200\");\n\t\t// BigInteger sats2= new BigInteger(\"97570\");\n\t\t// TxOut txout1= new TxOut(\"1FTF9bQhmpohLxoxMSmKS6unHuCYcEXhFs\", sats1);\n\t\t// TxOut txout2 = new TxOut(\"1DrwN9uB6kM3pGgGGAcfT6vsPY36PUoeZk\",sats2 );\n\n\t\t// TEST CASE 2\n\t\tBigInteger sats1 = new BigInteger(\"98000\");\n\t\tBigInteger sats2 = new BigInteger(\"1000\");\n\t\tTxOut txout1 = new TxOut(\"1AAxA3cp8NSrXSCMHcwVMdXD1juqVSqjG3\", sats1);\n\n\t\tTxOut txout2 = new TxOut(\"1ECiyNygHMUCxGNn38jcP3AU4KrCPtaRNt\", sats2);\n\n\t\toutputs[1] = txout1;\n\t\toutputs[0] = txout2;\n\n\t\treturn outputs;\n\n\t}", "title": "" }, { "docid": "13c05c2d599cbc7649f100a9e0aad012", "score": "0.5608082", "text": "public String[] getOutputNames()\n\t{\n\t\treturn _outputNames;\n\t}", "title": "" }, { "docid": "e10b915edba64a2933b80676ba53a735", "score": "0.5605287", "text": "public static AudioDeviceList getAudioOutputDeviceList() {\r\n if (outputDeviceList != null) {\r\n return outputDeviceList;\r\n }\r\n Mixer.Info[] info = AudioSystem.getMixerInfo();\r\n ArrayList<AudioDeviceDescriptor> descriptors = new ArrayList<AudioDeviceDescriptor>();\r\n // add devices that exist in the system\r\n Line.Info dataLineInfo = new Line.Info( SourceDataLine.class );\r\n for (int i = 0; i < info.length; i++) {\r\n Mixer dev = AudioSystem.getMixer( info[i] );\r\n if (dev != null && dev.getMaxLines( dataLineInfo ) != 0) {\r\n descriptors.add( new AudioDeviceDescriptor( info[i], null ) );\r\n }\r\n }\r\n // add devices that do not exist in the system, but in the device list\r\n // given by the application properties\r\n AudioDeviceList list = SgEngine.getInstance().getProperties().getAudioOutputDeviceList();\r\n for (int i = 0; i < list.getCount(); i++) {\r\n AudioDeviceDescriptor desc = list.getAudioDeviceDescriptor( i );\r\n if (desc.getDeviceInfo() == null) {\r\n descriptors.add( desc );\r\n }\r\n }\r\n \r\n AudioDeviceDescriptor[] array = new AudioDeviceDescriptor[descriptors.size()];\r\n descriptors.toArray( array );\r\n outputDeviceList = new AudioDeviceList( array );\r\n return outputDeviceList;\r\n }", "title": "" }, { "docid": "481d35bfde8d36e42010cf96807801a1", "score": "0.55972", "text": "@Implementation\n protected ByteBuffer[] getBuffers(boolean input) {\n return input ? inputBuffers : outputBuffers;\n }", "title": "" }, { "docid": "82e92c968f4e6eaccadeb203db77e114", "score": "0.5579377", "text": "public double[] incomingOutput() {\n return new double[] { amplitude2 * (random.nextDouble() - 0.5) };\n }", "title": "" }, { "docid": "e1475b3e6c6568dbfb82616ba5047ad3", "score": "0.55672926", "text": "public java.util.List<String> getTargetBands() {\n return targetBands;\n }", "title": "" }, { "docid": "579c083f4b95b7a29fcd525e483dbc98", "score": "0.5564173", "text": "public com.johnny.monitor.business.webservice.sms.OutputItem[] getOutputCollection() {\n return outputCollection;\n }", "title": "" }, { "docid": "127bb99d103f85c3b74ab6d31fdcd379", "score": "0.55429566", "text": "public TypeName[] getOutputs()\n\t{\n\t\tdefaultOutputNames = new TypeName[3];\n\t\tdefaultOutputNames[0] = new TypeName(VALUE, \"Number Live\");\n\t\tdefaultOutputNames[1] = new TypeName(VALUE, \"Number Dead\");\n\t\tdefaultOutputNames[2] = new TypeName(VALUE, \"More Info\");\n\t\t\n\t\tif(outputNames == null)\n\t\t\treturn defaultOutputNames;\n\t\treturn outputNames;\n\t}", "title": "" }, { "docid": "bea599e3023625d7f5ff6decb568897b", "score": "0.54980576", "text": "public Output[] outputs(final String collectionID) throws ClientException {\n\t\tOutputInternal[] outputs = get(\"/collections/\" + collectionID + \"/outputs\", OutputInternal.OutputList.class).outputs();\n\t\treturn Stream.of(outputs).map(o -> o.toOutput()).toArray(Output[]::new);\n\t}", "title": "" }, { "docid": "ea954caafa4551b01bb5d56d8ddfea60", "score": "0.54944605", "text": "public Set getSinks() {\n return computeZeroEdgeVertices(fOut);\n }", "title": "" }, { "docid": "d045a6868d0d4d09b9ca3e7ae65d8d56", "score": "0.5450639", "text": "public boolean[] getOutput() {\n return this.output;\n }", "title": "" }, { "docid": "d962528233130170468f415392a3116c", "score": "0.54497844", "text": "public Collection<? extends DataOutput> getAllDataOutputInstances() {\n\t\treturn delegate.getWrappedIndividuals(Vocabulary.CLASS_DATAOUTPUT, DefaultDataOutput.class);\n }", "title": "" }, { "docid": "325b7c61840d1b7bd93671d1772f3008", "score": "0.54383576", "text": "public int[] getRenderBands();", "title": "" }, { "docid": "fdae053c42b51ef37b02375973876590", "score": "0.54291034", "text": "public List<String> readOutput(int channel);", "title": "" }, { "docid": "f52728da58dbc06fdc227f94084a004b", "score": "0.5416383", "text": "public Map<String, String> getOutputs() {\n\t\treturn outputs;\n\t}", "title": "" }, { "docid": "1b822ae1c2a83b0be59b5879a1191ab9", "score": "0.5387614", "text": "public List<OutputDatum> getOutputData() {\n return Collections.emptyList();\n }", "title": "" }, { "docid": "dc5e94497e045dbd3027bc70e1c26678", "score": "0.53837466", "text": "public int getNumOutputsQueued()\n {\n return 0;\n }", "title": "" }, { "docid": "e225263c9c25c2b7e83796d54c707eb4", "score": "0.53755915", "text": "private List<Double> getOutput() {\n\t\tList<Double> output = new ArrayList<Double>();\n\n Iterator<Neuron> outputNeuronLayerIterator = getOutputNeuronLayerIterator();\n\n while (outputNeuronLayerIterator.hasNext()) {\n output.add(outputNeuronLayerIterator.next().getOutput());\n }\n\n\t\treturn output;\n\t}", "title": "" }, { "docid": "2dc50f3f349ff8c18ca20e2ee07012ef", "score": "0.53436375", "text": "public List<String> getOutputNames() throws CallError, InterruptedException {\n return (List<String>) service.call(\"getOutputNames\").get();\n }", "title": "" }, { "docid": "40da6d2cd47f41ffe167eaca86238f0d", "score": "0.53364813", "text": "public List<String> getOutputNames() throws CallError, InterruptedException {\n return (List<String>)service.call(\"getOutputNames\").get();\n }", "title": "" }, { "docid": "b48aa1ed806e762943285e71edb797a1", "score": "0.5320623", "text": "@Override\n\tpublic TypeName[] getOutputs()\n\t{\n\t\tdefaultOutputNames = new TypeName[7];\n\t\tdefaultOutputNames[0] = new TypeName(VALUE, \"uL seeded\");\n\t\tdefaultOutputNames[1] = new TypeName(VALUE, \"uL for mRNA\");\n\t\tdefaultOutputNames[2] = new TypeName(VALUE, \"uL for EPISpot\");\n\t\tdefaultOutputNames[3] = new TypeName(VALUE, \"mL whole blood to start\");\n\t\tdefaultOutputNames[4] = new TypeName(VALUE, \"mL equivalent seeded\");\n\t\t\n\t\tif(outputNames == null)\n\t\t\treturn defaultOutputNames;\n\t\treturn outputNames;\n\t}", "title": "" }, { "docid": "016a6bdd3bfdba7b38be734a58882e55", "score": "0.5309513", "text": "public int getNumChannels() {\n return this.output.length;\n }", "title": "" }, { "docid": "3abf313a9d2352b08436340942f32b2e", "score": "0.5309241", "text": "public Collection<? extends DigitalOutput> getAllDigitalOutputInstances() {\n\t\treturn delegate.getWrappedIndividuals(Vocabulary.CLASS_DIGITALOUTPUT, DefaultDigitalOutput.class);\n }", "title": "" }, { "docid": "4cf993741207087a02786c46aaa122a8", "score": "0.52916825", "text": "int getOutputChannel();", "title": "" }, { "docid": "12f94a25711bde4ae13f9ad7a233bec5", "score": "0.5286203", "text": "public Collection<? extends AnalogOutput> getAllAnalogOutputInstances() {\n\t\treturn delegate.getWrappedIndividuals(Vocabulary.CLASS_ANALOGOUTPUT, DefaultAnalogOutput.class);\n }", "title": "" }, { "docid": "5c1ec899619e769948f5115da6cc3c9d", "score": "0.52521217", "text": "private NeuronLayer getOutputNeurons() {\n return getNeuronLayers().get(getNeuronLayers().size() - 1);\n }", "title": "" }, { "docid": "e125f92b84d605c49e081491942f4bc8", "score": "0.5243789", "text": "public int[] getPorts() {\n/* 249 */ return null;\n/* */ }", "title": "" }, { "docid": "4bab4213dc0e972e5e9517071817fff5", "score": "0.52314067", "text": "public SystemID[] getDevices() {\r\n\t\treturn registry.getDevices();\r\n\t}", "title": "" }, { "docid": "55be86df8656bdf67fc464cdb195666b", "score": "0.52241844", "text": "public double[] countOutput() {\n\t\tdouble[] result;\n\t\tif (numberOfFirstLayer!=0) {\n\t\t\tresult = countFirstLayerOutput();\n\t\t\tresult = countOuputLayerOutput(result);\n\t\t}\n\t\telse {\n\t\t\tresult = countOuputLayerOutput(input);\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "fbc87babf83566397bf6c8eaac77ffff", "score": "0.5223635", "text": "public List<Vertex> getOutputVertices() {\n\t\tfinal Set<Vertex> set = new HashSet<Vertex>();\n\t\tfor (final Connector<B> c : connectors)\n\t\t\tset.addAll(c.getOutputVertices());\n\n\t\tfor (final Connector<B> c : connectors)\n\t\t\tset.removeAll(c.getInputVertices());\n\n\t\tfinal List<Vertex> list = new ArrayList<Vertex>(set);\n\t\tCollections.sort(list);\n\t\treturn list;\n\t}", "title": "" }, { "docid": "979ca3792fa76222ef18898da45f7015", "score": "0.5220896", "text": "public void part2gate(){\r\n ArrayList<Wire[]> inAndOuts = new ArrayList<Wire[]>();\r\n for(int i=0;i<currModule.parts.size();i++){\r\n for(int j=0;j<currModule.parts.get(i).ports.size();j++){\r\n int size=0;\r\n for(Wire wire : currModule.wires){\r\n for(Port port : wire.ports){\r\n if(port.part!=null){\r\n if(port.name.equals(currModule.parts.get(i).ports.get(j).name)&&port.part.name.equals(currModule.parts.get(i).name))\r\n size++;\r\n }\r\n }\r\n }\r\n inAndOuts.add(new Wire[size]);\r\n int k=0;\r\n for(Wire wire : currModule.wires){\r\n for(Port port : wire.ports){\r\n if(port.part!=null){\r\n if(port.name.equals(currModule.parts.get(i).ports.get(j).name)&&port.part.name.equals(currModule.parts.get(i).name)){\r\n inAndOuts.get(j)[k]=wire;\r\n k++;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n if(currModule.parts.get(i).name.contains(\"ADD\")){\r\n adderBD(currModule.parts.get(i),inAndOuts);\r\n removePorts(currModule.parts.get(i),inAndOuts);\r\n inAndOuts.clear();\r\n currModule.parts.remove(i);\r\n i--;\r\n }\r\n else if(currModule.parts.get(i).name.contains(\"SUB\")){\r\n subtractorBD(currModule.parts.get(i),inAndOuts);\r\n removePorts(currModule.parts.get(i),inAndOuts);\r\n inAndOuts.clear();\r\n currModule.parts.remove(i);\r\n i--;\r\n }\r\n else if(currModule.parts.get(i).name.contains(\"MULT\")){\r\n multiplierBD(currModule.parts.get(i),inAndOuts);\r\n removePorts(currModule.parts.get(i),inAndOuts);\r\n inAndOuts.clear();\r\n currModule.parts.remove(i);\r\n i--;\r\n }\r\n else if(currModule.parts.get(i).name.contains(\"MUX\")){\r\n muxBD(currModule.parts.get(i),inAndOuts);\r\n removePorts(currModule.parts.get(i),inAndOuts);\r\n inAndOuts.clear();\r\n currModule.parts.remove(i);\r\n i--;\r\n }\r\n else if(currModule.parts.get(i).name.contains(\"COMP\")){\r\n comparatorBD(currModule.parts.get(i),inAndOuts);\r\n removePorts(currModule.parts.get(i),inAndOuts);\r\n inAndOuts.clear();\r\n currModule.parts.remove(i);\r\n i--;\r\n }\r\n else if(currModule.parts.get(i).name.contains(\"AND\")&&\r\n !currModule.parts.get(i).name.contains(\"NAND\")&&\r\n (inAndOuts.get(0).length>1||inAndOuts.get(1).length>1)){\r\n andBD(currModule.parts.get(i),inAndOuts);\r\n removePorts(currModule.parts.get(i),inAndOuts);\r\n inAndOuts.clear();\r\n currModule.parts.remove(i);\r\n i--;\r\n }\r\n else if(currModule.parts.get(i).name.contains(\"OR\")&&\r\n !currModule.parts.get(i).name.contains(\"NOR\")&&\r\n (inAndOuts.get(0).length>1||inAndOuts.get(1).length>1)){\r\n orBD(currModule.parts.get(i),inAndOuts);\r\n removePorts(currModule.parts.get(i),inAndOuts);\r\n inAndOuts.clear();\r\n currModule.parts.remove(i);\r\n i--;\r\n }\r\n else if(currModule.parts.get(i).name.contains(\"INV\")&&\r\n inAndOuts.get(0).length>1){\r\n invBD(currModule.parts.get(i),inAndOuts);\r\n removePorts(currModule.parts.get(i),inAndOuts);\r\n inAndOuts.clear();\r\n currModule.parts.remove(i);\r\n i--;\r\n }\r\n else{\r\n inAndOuts.clear();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "e5c3ecb867d1c39f405b66df516150eb", "score": "0.5212418", "text": "IBasicBlock[] getOutgoingNodes();", "title": "" }, { "docid": "6ead109b7f3f5a7b398c0fe6d74e0419", "score": "0.5206676", "text": "public String[] channels();", "title": "" }, { "docid": "dac013a92889d204e3cb69a106cf336b", "score": "0.52057153", "text": "public ArrayStr getProbeOutputLabels() {\n return new ArrayStr(opensimSimulationJNI.JointInternalPowerProbe_getProbeOutputLabels(swigCPtr, this), true);\n }", "title": "" }, { "docid": "393a6f016e62ea09ed4dbca2b7dc1704", "score": "0.51732606", "text": "public String[] getDevices() {\n String[] split = executeAdbCommand(\" devices\").split(\"\\n\");\n return Arrays.stream(split)\n .map((i) -> i.split(\"\\t\")[0])\n .skip(1)\n .toArray(String[]::new);\n }", "title": "" }, { "docid": "64390621d51be62d02273c04548b2a22", "score": "0.5157566", "text": "public synchronized ImageSample[] currentlyRenderingSamples()\n\t{\n\t\tArrayList<ImageSample> samples = new ArrayList<ImageSample>();\n\t\t\n\t\tfor (int i = 0; i < threadPool.length; i++) {\n\t\t\tif (!threadPool[i].done) {\n\t\t\t\tsamples.add(threadPool[i].getSample());\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn samples.toArray(new ImageSample[samples.size()]);\n\t}", "title": "" }, { "docid": "361138745d83fc4eec346b597fd96ca0", "score": "0.5111063", "text": "byte[] onOutput();", "title": "" }, { "docid": "762f55957fc5e8fe9d43f54270ccec51", "score": "0.51087415", "text": "@Override\n public BluetoothDevice[] getBondedDevices() {\n AdapterService service = getService();\n if (service == null) {\n return new BluetoothDevice[0];\n }\n return service.getBondedDevices();\n }", "title": "" }, { "docid": "34b4962d4242b27c35825e7ce673d039", "score": "0.50966275", "text": "public Device[] getAllDevices() {\n\t\tLOG.info(\" ====test==== \");\n//\t\tdevices.forEach((key,value) -> LOG.info(\" ====test==== \"+key + \" = \" + value));\n devices.forEach((key,value) -> {\n LOG.info(\" ====test==== \"+key + \" = \" + value);\n Device d = (Device)value;\n LOG.info(\" ====test cels==== device name=\" +d.getName());\n });\n LOG.info(\" ====test cels==== devices.values()=\" +devices.values());\n\t\treturn devices.values().toArray(new Device[devices.size()]);\n\t}", "title": "" }, { "docid": "5e977df96bbeadefd10be1fc2a433a07", "score": "0.5066823", "text": "private PixelSink< A > volatileArraySink()\n\t{\n\t\tfinal SetDataSubVolume slice = SetDataSubVolume.forDataSet( dataset, datasetType );\n\n\t\t// creates output arrays (to be send to Imaris)\n\t\t// Object is byte[], short[], float[], depending on datasetType\n\t\tfinal IntFunction< Object > arrayFactory;\n\n\t\t// creates a GetLabel to read from ArrayDataAccess.getCurrentStorageArray() of primitiveType\n\t\t// Object is byte[], short[], int[], long[] (we only support IntegerType)\n\t\tfinal Function< Object, GetLabel > getLabelFactory;\n\n\t\t// creates a SetLabel to write to output array (created by arrayFactory)\n\t\tfinal Function< Object[], SetLabel > setLabelFactory;\n\n\t\tswitch ( datasetType )\n\t\t{\n\t\tcase eTypeUInt8:\n\t\t\tarrayFactory = byte[]::new;\n\t\t\tsetLabelFactory = SetChannelLabelByte::new;\n\t\t\tbreak;\n\t\tcase eTypeUInt16:\n\t\t\tarrayFactory = short[]::new;\n\t\t\tsetLabelFactory = SetChannelLabelShort::new;\n\t\t\tbreak;\n\t\tcase eTypeFloat:\n\t\t\tarrayFactory = float[]::new;\n\t\t\tsetLabelFactory = SetChannelLabelFloat::new;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\tswitch ( primitiveType )\n\t\t{\n\t\tcase BYTE:\n\t\t\tgetLabelFactory = GetCompositeLabelByte::new;\n\t\t\tbreak;\n\t\tcase SHORT:\n\t\t\tgetLabelFactory = GetCompositeLabelShort::new;\n\t\t\tbreak;\n\t\tcase INT:\n\t\t\tgetLabelFactory = GetCompositeLabelInt::new;\n\t\t\tbreak;\n\t\tcase LONG:\n\t\t\tgetLabelFactory = GetCompositeLabelLong::new;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\n\t\tfinal SelectIntervalDimension x = selectIntervalDimension( mapDimensions[ 0 ] );\n\t\tfinal SelectIntervalDimension y = selectIntervalDimension( mapDimensions[ 1 ] );\n\t\tfinal SelectIntervalDimension z = selectIntervalDimension( mapDimensions[ 2 ] );\n\t\tfinal SelectIntervalDimension t = selectIntervalDimension( mapDimensions[ 4 ] );\n\n\t\tfinal int oc = 0;\n\t\tfinal int sc = numChannels;\n\n\t\treturn ( access, min, size ) ->\n\t\t{\n\t\t\tfinal Object data = ( ( ArrayDataAccess ) access ).getCurrentStorageArray();\n\t\t\tfinal GetLabel input = getLabelFactory.apply( data );\n\n\t\t\tfinal int ox = x.min( min );\n\t\t\tfinal int oy = y.min( min );\n\t\t\tfinal int oz = z.min( min );\n\t\t\tfinal int ot = t.min( min );\n\n\t\t\tfinal int sx = x.size( size );\n\t\t\tfinal int sy = y.size( size );\n\t\t\tfinal int sz = z.size( size );\n\t\t\tfinal int st = t.size( size );\n\n\t\t\tfinal int slicelength = sx * sy * sz;\n\t\t\tfinal Object[] slicedata = new Object[ sc ];\n\t\t\tfor ( int dc = 0; dc < sc; ++dc )\n\t\t\t\tslicedata[ dc ] = arrayFactory.apply( slicelength );\n\t\t\tfinal SetLabel output = setLabelFactory.apply( slicedata );\n\n\t\t\tif ( st == 1 )\n\t\t\t{\n\t\t\t\tfor ( int i = 0; i < slicelength; ++i )\n\t\t\t\t\toutput.set( i, input.get( i ) );\n\t\t\t\tfor ( int dc = 0; dc < sc; ++dc )\n\t\t\t\t\tslice.set( slicedata[ dc ], ox, oy, oz, oc + dc, ot, sx, sy, sz );\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tfor ( int dt = 0; dt < st; ++dt )\n\t\t\t\t{\n\t\t\t\t\tfinal int srcpos = dt * slicelength;\n\t\t\t\t\tfor ( int i = 0; i < slicelength; ++i )\n\t\t\t\t\t\toutput.set( i, input.get( i + srcpos ) );\n\t\t\t\t\tfor ( int dc = 0; dc < sc; ++dc )\n\t\t\t\t\t\tslice.set( slicedata[ dc ], ox, oy, oz, oc + dc, ot + dt, sx, sy, sz );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}", "title": "" }, { "docid": "fcd504ab8172423c15a4dd871514c0e9", "score": "0.50657237", "text": "public SbOutput getOutput() {\r\n return output;\r\n }", "title": "" }, { "docid": "9a944f76162bb96d59810793187a7cbe", "score": "0.50626445", "text": "public final int getNumPhysicalOutputs() {\n return numPhysicalOutputs;\n }", "title": "" }, { "docid": "1e243cdea400fa12f133779255f0353f", "score": "0.5049736", "text": "public Set<Instance> getWireDests();", "title": "" }, { "docid": "c84df2f003a98c924fa5201334af14df", "score": "0.5042393", "text": "List<HbConnectionInfo> getAllHbConnections() {\n final List<HbConnectionInfo> allConnections =\n new ArrayList<HbConnectionInfo>();\n mHbConnectionReadLock.lock();\n for (final HbConnectionInfo hbci : hbconnectionToEdgeMap.keySet()) {\n allConnections.add(hbci);\n }\n mHbConnectionReadLock.unlock();\n return allConnections;\n }", "title": "" }, { "docid": "02d924ba613761c154d3581b23fef2e6", "score": "0.50364983", "text": "@Override\n\tpublic void getBuffs() {\n\t\t\n\t}", "title": "" }, { "docid": "bb4820555d4582f00e8ee140eaf7bfbb", "score": "0.5026163", "text": "public List<String> getOutputList() {\r\n\t\treturn outputList;\r\n\t}", "title": "" }, { "docid": "60d2073d65c6a860ec51f64934f339d4", "score": "0.50147665", "text": "public List<OutputSelectorType> getOutputSelector() {\n\t return this.outputSelector;\n\t}", "title": "" }, { "docid": "e20ee6d44cd4c377ca0bc48d4bcdc1aa", "score": "0.5005257", "text": "@Override\n\tpublic List<N> getSinkNodes()\n\t{\n\t\treturn sinkNodes == null ? null : new ArrayList<N>(sinkNodes);\n\t}", "title": "" }, { "docid": "a84154714ed09d30067c46b42de67a7b", "score": "0.5000708", "text": "public BusObject[] getBusObjects() {\n// return (BusObject[]) this.array.toArray(new BusObject[0]);\n BusObject[] boRet = new BusObject[this.array.size()];\n int iCpt = 0;\n for (Enumeration eEnum = this.array.elements(); eEnum.hasMoreElements(); iCpt++) {\n boRet[iCpt] = (BusObject)eEnum.nextElement();\n }\n return boRet;\n\t}", "title": "" }, { "docid": "07c7bd3462f002e05d3532d122fb2f6b", "score": "0.49796328", "text": "public int[] getBufferObjects() {\n\t\treturn bufferObjects;\n\t}", "title": "" }, { "docid": "7ba96aae406f3d730dff2aa8256a8623", "score": "0.49767578", "text": "public List<String> getJBossBinaries() {\r\n\r\n\t\tList<String> binaries = Stream.of(\"eap6.4.0\", \"eap6.4.4\", \"eap6.4.5\").collect(Collectors.toList());\r\n\r\n\t\tlogger.info(\"List of all available JBoss binaries from GIT\");\r\n\r\n\t\treturn binaries;\r\n\r\n\t}", "title": "" }, { "docid": "780ae9e7d5a85822a2f829f57807ae0e", "score": "0.49746442", "text": "abstract public double getOutput(List<Connection> inputConnections);", "title": "" }, { "docid": "3265a8dcf65a31e0d81c99d8314301bf", "score": "0.49599078", "text": "@SuppressWarnings(\"unchecked\")\r\n public List<CLSubBuffer<B>> getSubBuffers() {\r\n if(childs == null) {\r\n return Collections.EMPTY_LIST;\r\n }else{\r\n return Collections.unmodifiableList(childs);\r\n }\r\n }", "title": "" }, { "docid": "823e802f0a4b18fce9856207b25af645", "score": "0.4956193", "text": "public Map<String, String> getActualOutputs() {\n\t\treturn actualOutputs;\n\t}", "title": "" }, { "docid": "7ff49411daa35bd1ea1804f29eaeacfa", "score": "0.49546635", "text": "public String[] getDevices()\t\t//returns a string array of all the device names \r\n\t{\r\n\t\t\r\n\t\tCollection<Device> aCollection = containerFileName.values();\r\n\t\tString[] devices = new String[ aCollection.size()];\r\n\t\t\r\n\t\tint i =0;\r\n\t\tIterator<Device> it = aCollection.iterator();\r\n\t\twhile( it.hasNext())\r\n\t\t{\r\n\t\t\tdevices[i] = it.next().getDeviceName();\r\n\t\t\ti++;\r\n\t\t}\r\n\t\t\r\n\t\treturn devices;\r\n\t}", "title": "" }, { "docid": "15af688d8487561282a15e9fe64e5e63", "score": "0.49544376", "text": "public Map<String, Set<NifiVisitableProcessor>> getOutputPortProcessors() {\n return outputPortProcessors;\n }", "title": "" }, { "docid": "c12e27766ac39640f2a5481f77709dab", "score": "0.49472463", "text": "public List<Grabbable> globalGrabberList() {\n\t\tList<Grabbable> msGrabberPool = new ArrayList<Grabbable>();\n\t\tfor (Agent device : agents.values())\n\t\t\tfor (Grabbable grabber : device.pool())\n\t\t\t\tif (!msGrabberPool.contains(grabber))\n\t\t\t\t\tmsGrabberPool.add(grabber);\n\n\t\treturn msGrabberPool;\n\t}", "title": "" }, { "docid": "77a4ccd080c4801a7eaf7eee7a78ea59", "score": "0.49432254", "text": "int getSbmPort();", "title": "" }, { "docid": "6d8d7f88b196961e05afbc4421df7b30", "score": "0.494092", "text": "@Override\n public List<ConnectionInterface> getAllConnectedDevices() {\n\n HashMap<String, UsbDevice> usbDevList = usbManager.getDeviceList();\n\n List<ConnectionInterface> deviceList = new ArrayList<ConnectionInterface>();\n\n LOGGER.log(Level.FINE, \"Listing connected devices...\");\n for (Map.Entry<String, UsbDevice> entry : usbDevList.entrySet()) {\n UsbDevice device = entry.getValue();\n LOGGER.log(Level.FINE, \"key: \" + entry.getKey());\n LOGGER.log(Level.FINE, \"value: \" + device);\n\n AndroidUsbDevice board = new AndroidUsbDevice();\n board.device = device;\n board.vendorId = device.getVendorId();\n board.productId = device.getProductId();\n board.deviceName = device.getDeviceName();\n board.productName = device.getProductName();\n board.manufacturerName = device.getManufacturerName();\n board.serialNumber = device.getSerialNumber();\n\n // Add this board to the list of devices.\n deviceList.add(board);\n LOGGER.log(Level.FINE, \"Vendor ID: \" + board.vendorId +\n \"\\nProduct ID: \" + board.productId +\n \"\\nDevice Name: \" + board.deviceName +\n \"\\nProduct Name: \" + board.productName +\n \"\\nManufacturer Name: \" + board.manufacturerName +\n \"\\nSerial Number: \" + board.serialNumber);\n }\n\n return deviceList;\n }", "title": "" }, { "docid": "d442e44401b65a7e79ef4a67843a38c7", "score": "0.49357456", "text": "public Object[] componentSets() {\r\n Object[] results = {};\r\n return results;\r\n }", "title": "" }, { "docid": "cbe2f7dfe086337ec4b25d7b5013764d", "score": "0.49316284", "text": "public Set<Wire> getWires();", "title": "" }, { "docid": "19b7b7e0ea65e2184d645be5ba02056d", "score": "0.49243194", "text": "float[] getSpectralOutputWavelengths();", "title": "" }, { "docid": "5eaf2fe09117bb0f5e51da3c6753463e", "score": "0.49238646", "text": "@Override\n\tpublic void setAvailableOutputPower() {\n\t\tif (outPins == null) {\n\t\t\treturn;\n\t\t}\n\t\tIterator<OutputPin> outPinIt = outPins.iterator();\n\t\t\n\t\twhile(outPinIt.hasNext()) {\n\t\t\tOutputPin curOutPin = outPinIt.next();\n\t\t\tIterator<PowerGroup> outPowIt = curOutPin.getAvailablePower()\n\t\t\t\t\t.iterator();\n\t\t\t\n\t\t\twhile(outPowIt.hasNext()) {\n\t\t\t\tPowerGroup curPowGr = outPowIt.next();\n\t\t\t\tif(!availableOutputPower.contains(curPowGr)) {\n\t\t\t\t this.getAvailableOutputPower().add(curPowGr);\n\t\t\t }\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "32513a656d3236e65a807c8482a23375", "score": "0.49216914", "text": "public double[] countOuputLayerOutput(double[] inputLayer) {\n\t\tdouble[] result = new double[numberOfOutputLayer];\n\t\tfor (int i =0; i < numberOfOutputLayer; i++) {\n\t\t\tresult[i] = outputLayer[i].countOutput(inputLayer);\n \t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "34dd5536730a10a3cce26615236346d9", "score": "0.49206537", "text": "public abstract Target[] getTargets ();", "title": "" }, { "docid": "27a8428d53aab2a0164009768cea2d44", "score": "0.49161458", "text": "public Object[] emitAll(String key)\n {\n if (!getSendMIDI()) return new Object[0]; // MIDI turned off, don't bother\n if (key.equals(\"bank\")) return new Object[0]; // this is not emittable\n if (key.equals(\"number\")) return new Object[0]; // this is not emittable\n byte DEV = (byte)(getID());\n if (key.equals(\"osc1octave\") || key.equals(\"osc2octave\") || key.equals(\"osc3octave\"))\n {\n int index = ((Integer)(allParametersToIndex.get(key))).intValue();\n byte HH = (byte)((index >>> 7) & 127);\n byte PP = (byte)(index & 127);\n byte XX = (byte)(16 + model.get(key) * 12);\n byte[] data = new byte[] { (byte)0xF0, 0x3E, 0x13, DEV, 0x20, 0x00, HH, PP, XX, (byte)0xF7 };\n return new Object[] { data };\n }\n else if (key.equals(\"oscallocation\") || key.equals(\"unisono\"))\n {\n int index = 58;\n byte HH = (byte)((index >>> 7) & 127);\n byte PP = (byte)(index & 127);\n byte XX = (byte)((model.get(\"unisono\") << 4) | (model.get(\"oscallocation\")));\n byte[] data = new byte[] { (byte)0xF0, 0x3E, 0x13, DEV, 0x20, 0x00, HH, PP, XX, (byte)0xF7 };\n return new Object[] { data };\n }\n else if (key.equals(\"envelope1mode\") || key.equals(\"envelope1trigger\") ||\n key.equals(\"envelope2mode\") || key.equals(\"envelope2trigger\") ||\n key.equals(\"envelope3mode\") || key.equals(\"envelope3trigger\") ||\n key.equals(\"envelope4mode\") || key.equals(\"envelope4trigger\"))\n {\n int i;\n try { i = Integer.parseInt(key.substring(8, 9)); }\n catch (Exception e) { Synth.handleException(e); return new Object[0]; }\n int index = 196 + (i - 1) * 12;\n byte HH = (byte)((index >>> 7) & 127);\n byte PP = (byte)(index & 127);\n byte XX = (byte)((model.get(\"envelope\" + i + \"trigger\") << 5) | (model.get(\"envelope\" + i + \"mode\")));\n byte[] data = new byte[] { (byte)0xF0, 0x3E, 0x13, DEV, 0x20, 0x00, HH, PP, XX, (byte)0xF7 };\n return new Object[] { data };\n }\n else if (key.startsWith(\"arp\") && !key.startsWith(\"arpegg\"))\n {\n int i;\n try { i = Integer.parseInt(key.substring(3, 5)); }\n catch (Exception e) { Synth.handleException(e); return new Object[0]; }\n if (key.endsWith(\"length\") || key.endsWith(\"timing\"))\n {\n int index = i + 342;\n byte HH = (byte)((index >>> 7) & 127);\n byte PP = (byte)(index & 127);\n byte XX = (byte)((model.get(\"arp\" + (i < 10 ? \"0\" : \"\") + i + \"length\") << 4) | \n (model.get(\"arp\" + (i < 10 ? \"0\" : \"\") + i + \"timing\")));\n byte[] data = new byte[] { (byte)0xF0, 0x3E, 0x13, DEV, 0x20, 0x00, HH, PP, XX, (byte)0xF7 };\n return new Object[] { data };\n }\n else\n {\n int index = i + 326;\n byte HH = (byte)((index >>> 7) & 127);\n byte PP = (byte)(index & 127);\n byte XX = (byte)((model.get(\"arp\" + (i < 10 ? \"0\" : \"\") + i + \"step\") << 4) |\n (model.get(\"arp\" + (i < 10 ? \"0\" : \"\") + i + \"glide\") << 3) |\n (model.get(\"arp\" + (i < 10 ? \"0\" : \"\") + i + \"accent\")));\n byte[] data = new byte[] { (byte)0xF0, 0x3E, 0x13, DEV, 0x20, 0x00, HH, PP, XX, (byte)0xF7 };\n return new Object[] { data };\n }\n }\n else if (key.equals(\"name\"))\n {\n Object[] data = new Object[16];\n String name = model.get(key, \"Init\") + \" \"; \n for(int i = 0; i < 16; i++)\n {\n int index = i + 363;\n byte HH = (byte)((index >>> 7) & 127);\n byte PP = (byte)(index & 127);\n byte XX = (byte)(name.charAt(i));\n byte[] b = new byte[] { (byte)0xF0, 0x3E, 0x13, DEV, 0x20, 0x00, HH, PP, XX, (byte)0xF7 };\n data[i] = b;\n }\n return data;\n }\n else\n {\n int index = ((Integer)(allParametersToIndex.get(key))).intValue();\n byte HH = (byte)((index >>> 7) & 127);\n byte PP = (byte)(index & 127);\n byte XX = (byte)model.get(key);\n byte[] data = new byte[] { (byte)0xF0, 0x3E, 0x13, DEV, 0x20, 0x00, HH, PP, XX, (byte)0xF7 };\n return new Object[] { data };\n }\n }", "title": "" }, { "docid": "f94350bd51f72b3204c6b68883e58bb1", "score": "0.4913276", "text": "private static List<WorkerQueue> gpuQueues() {\n\n List<WorkerQueue> queues = new ArrayList<WorkerQueue>();\n queues.add(gpuQueue());\n return queues;\n }", "title": "" }, { "docid": "7457840877fdbd80a8b947c029157fc9", "score": "0.4901616", "text": "public synchronized BookDriver[] getWritableDrivers()\n {\n int i = 0;\n for (Iterator it = drivers.iterator(); it.hasNext();)\n {\n BookDriver driver = (BookDriver) it.next();\n if (driver.isWritable())\n {\n i++;\n }\n }\n \n BookDriver[] reply = new BookDriver[i];\n \n i = 0;\n for (Iterator it = drivers.iterator(); it.hasNext();)\n {\n BookDriver driver = (BookDriver) it.next();\n if (driver.isWritable())\n {\n reply[i++] = driver;\n }\n }\n \n return reply;\n }", "title": "" }, { "docid": "d1b57d87a962a8732ab1a6ea91b386c5", "score": "0.48978713", "text": "public synchronized SourceStream[] getStreams()\n {\n if (outputDataSource instanceof PushBufferDataSource)\n return ((PushBufferDataSource) outputDataSource).getStreams();\n if (outputDataSource instanceof PullBufferDataSource)\n return ((PullBufferDataSource) outputDataSource).getStreams();\n if (outputDataSource instanceof PushDataSource)\n return ((PushDataSource) outputDataSource).getStreams();\n if (outputDataSource instanceof PullDataSource)\n return ((PullDataSource) outputDataSource).getStreams();\n return new SourceStream[0];\n }", "title": "" }, { "docid": "e0714a5bf1f8d66ce6e70b0f48658870", "score": "0.4878777", "text": "@Override\n public List<BlendingVsnTo> getAll() throws AbstractClientRuntimeException, AbstractRequestException {\n try {\n OmcpClient omcpClient = this.connection.getConnection();\n String uri = this.virtualSensorNetModuleConfig.getBlendingsUri();\n Response response = omcpClient.doGet(uri);\n this.connection.closeConnection(omcpClient);\n if(response.getStatusCode().equals(StatusCode.NOT_FOUND)) {\n return new ArrayList<>();\n }\n OmcpUtil.handleOmcpResponse(response);\n BlendingVsnTo[] blendingVsnToArray = response.getContent(BlendingVsnTo[].class);\n List<BlendingVsnTo> blendingVsnToList = Arrays.asList(blendingVsnToArray);\n this.sortById(blendingVsnToList);\n return blendingVsnToList;\n } catch (AbstractClientRuntimeException e) {\n throw e;\n }\n }", "title": "" }, { "docid": "0311bcd28f744d13a399c5999c9026af", "score": "0.4878042", "text": "public List<ElectrolysisRecipeOutput> getOutputDefinition() {\n return Collections.singletonList(new ElectrolysisRecipeOutput(leftGasOutput, rightGasOutput));\n }", "title": "" }, { "docid": "943637e0a7a09f9fc7c3676befda8d36", "score": "0.48741758", "text": "public Bando[] getBandi() throws ApplicationException {\n try {\n Object[] bandi = getDataManager().getAll(Bando.class);\n return Arrays.copyOf(bandi, bandi.length, Bando[].class);\n } catch (DataAccessException e) {\n throw new ApplicationException(\"Errore di accesso al database\");\n }\n }", "title": "" }, { "docid": "2b176809e3c6bab32624571499c122b7", "score": "0.48724616", "text": "public List<Map<String, String>> getOutputsMetadata() {\n return outputsMetadata;\n }", "title": "" }, { "docid": "7acbc078d1e3155167270549e64aca32", "score": "0.48692212", "text": "public long getMemBufferInstances();", "title": "" }, { "docid": "59be61c06e8afa59edeaf5502d80fca5", "score": "0.4864503", "text": "public IDBuilderType[] getBuilders()\r\n {\r\n if(null == builders)\r\n loadBuilders();\r\n \r\n return builders.toArray(new IDBuilderType[builders.size()]);\r\n }", "title": "" }, { "docid": "02d4adc76dc8608cefe94c85020c4ae3", "score": "0.48601747", "text": "public interface MultiOutputSource {\n\n String OUTPUT0 = \"output0\";\n\n String OUTPUT1 = \"output1\";\n\n @Output(MultiOutputSource.OUTPUT0)\n MessageChannel output0();\n\n @Output(MultiOutputSource.OUTPUT1)\n MessageChannel output1();\n }", "title": "" } ]
57898e23ef2c0495c7f9af1523db8c98
Get local file of current image not valid if downloading is in progress.
[ { "docid": "bdc3c5e41d6232ab4bbc771ae4ae2d92", "score": "0.69458735", "text": "protected File getCurrentImageFile() {\r\n File srcFile;\r\n URL srcUrl = parseUrl(items.get(position));\r\n\r\n if (srcUrl.getProtocol().equals(\"file\")) {\r\n srcFile = new File(srcUrl.getFile());\r\n } else {\r\n srcFile = new File(UrlTouchImageView.getCachePath(this, srcUrl));\r\n }\r\n return srcFile;\r\n }", "title": "" } ]
[ { "docid": "8a2d0ac160cc5252ff28b70b8ef4f9b3", "score": "0.63212216", "text": "public Bitmap getLocalImage() {\n File image = new File(Constants.ROOT_DIR_EXTERNAL_STORAGE, title + \".jpg\");\n if (image.exists()) {\n return BitmapFactory.decodeFile(Constants.ROOT_DIR_EXTERNAL_STORAGE + title + \".jpg\");\n }\n\n new HttpDownloader().downloadImageFromUrl(remoteImage, title);\n\n return null;\n }", "title": "" }, { "docid": "d2b35a8bf38fefbea6c643f1c15bea5f", "score": "0.61732405", "text": "IFile getLocal();", "title": "" }, { "docid": "eb4807ebd06170837b5374738233115b", "score": "0.6171635", "text": "@Override\n public boolean isLocal() {\n if(this.file == null) {\n this.file = new File(UnderNet.fileManager.getContentFolder() + \"/\" + this.fileInfo.fileName);\n }\n if(this.file != null && this.file.exists()) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "0e8fcdb383e0e71cca9df89361849464", "score": "0.609025", "text": "public final String getLocalFile() {\n String s = null;\n m_csFile.lock();\n try {\n if (!m_vContext.isEmpty()) {\n s = m_vContext.getFirst().LocalFile;\n }\n } finally {\n m_csFile.unlock();\n }\n return s;\n }", "title": "" }, { "docid": "29365186a452d96816ad1feaf1dbf6f9", "score": "0.60191065", "text": "public File getFile() {\n return new File(imageFile.toString());\n }", "title": "" }, { "docid": "4babdb15bb545a7c27c0962eb8625c8c", "score": "0.60078096", "text": "public File getCurrentFile() {\n\t\treturn new File(prevFile.getPath());\n\t}", "title": "" }, { "docid": "11d1ada643417d370e2a120b766bf41a", "score": "0.5994012", "text": "private static File discoveryLocalFileUnique(String localFileName, boolean isTmpFile) {\r\n File file = null;\r\n //get a new file if the file already exists (unlikely)\r\n for (int i=0;i<100;i++) {\r\n file = discoveryLocalFileUniqueHelper(localFileName, isTmpFile);\r\n if (!file.exists()) {\r\n break;\r\n }\r\n }\r\n if (file.exists()) {\r\n throw new RuntimeException(\"Why does the file exist?\");\r\n }\r\n return file;\r\n }", "title": "" }, { "docid": "39157ea94d01821c5ac4ca5b26c002a2", "score": "0.59552544", "text": "public final String getRemoteFile() {\n String s = null;\n m_csFile.lock();\n try {\n if (!m_vContext.isEmpty()) {\n s = m_vContext.getFirst().FilePath;\n }\n } finally {\n m_csFile.unlock();\n }\n return s;\n }", "title": "" }, { "docid": "190728640d15cfce76053c3910aed7b4", "score": "0.58904946", "text": "public File getLocalFile(URI remoteUri)\n\t{\n\t\tif (baseURL != null)\n\t\t{\n\t\t\tString remote = remoteUri.toString();\n\t\t\t\n\t\t\tif (!remote.startsWith(baseURL))\n\t\t\t{\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t String host = remoteUri.getHost();\n\t String query = remoteUri.getQuery();\n\t String path = remoteUri.getPath();\n\t String fragment = remoteUri.getFragment();\n\t \n\t\tif (host != null)\n\t\t{\n\t\t\tsb.append(host);\n\t\t}\n\t\tif (path != null)\n\t\t{\n\t\t\tsb.append(path);\n\t\t}\n\t\tif (query != null)\n\t\t{\n\t\t\tsb.append('?');\n\t\t\tsb.append(query);\n\t\t}\n\t\tif (fragment != null)\n\t\t{\n\t\t\tsb.append('#');\n\t\t\tsb.append(fragment);\n\t\t}\n\n\t\tString name;\n\t\t\n\t\tfinal int maxLen = 250;\n\t\t\n\t\tif (sb.length() < maxLen)\n\t\t{\n\t\t\tname = sb.toString();\n\t\t}\n\t\telse\n\t\t{\n\t\t\tname = sb.substring(0, maxLen);\n\t\t}\n\t\t\n\t\tname = name.replace('?', '$');\n\t\tname = name.replace('*', '$');\n\t\tname = name.replace(':', '$');\n\t\tname = name.replace('<', '$');\n\t\tname = name.replace('>', '$');\n\t\tname = name.replace('\"', '$');\n\t\t\n\t\tFile f = new File(cacheDir, name);\n\t\t\n\t\treturn f;\n\t}", "title": "" }, { "docid": "6b69515f7e10d754e38e35398dcb77eb", "score": "0.58749264", "text": "String getLocalFile( String key, String eTag ) {\n\n String filename = LOCAL_ROOT_DIR + eTag;\n boolean isExist = true;\n try {\n File f = new File( filename );\n if(!f.exists()) {\n isExist = false;\n }\n }\n catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n\n if ( isExist ) return filename;\n\n GetObjectRequest getObjectRequest = new GetObjectRequest( COS_BUCKET, key, LOCAL_ROOT_DIR, eTag );\n try {\n cosXmlService.getObject(getObjectRequest);\n } catch (CosXmlClientException e) {\n e.printStackTrace();\n return null;\n } catch (CosXmlServiceException e) {\n e.printStackTrace();\n return null;\n }\n\n return filename;\n }", "title": "" }, { "docid": "7b15127bc3202ae6cd484b7add53a202", "score": "0.57468593", "text": "public File fetch(URL url, File dir) throws IOException\n {\n File target = new File(dir + \".notactivated\");\n\n log.debug(getClass(), \"Fetching\", url.toExternalForm(), \"to be stored in\", dir.getAbsolutePath());\n\n if (target.exists())\n if (!target.delete())\n throw new IOException(\"Could not delete \" + target.getAbsolutePath());\n\n if (!target.getParentFile().exists())\n if (!target.getParentFile().mkdirs())\n throw new IOException(\"Could not create \" + target.getParentFile().getAbsolutePath());\n\n FileOutputStream out = null;\n InputStream in = null;\n try\n {\n in = url.openStream();\n out = new FileOutputStream(target);\n byte[] b = new byte[65536];\n int read = 0;\n read = in.read(b);\n while (read > -1)\n {\n out.write(b, 0, read);\n read = in.read(b);\n }\n return target;\n }\n finally\n {\n try\n {\n if (in != null)\n in.close();\n }\n finally\n {\n if (out != null)\n out.close();\n }\n }\n }", "title": "" }, { "docid": "3377901f027ee10d8ede8a4de6f67eec", "score": "0.57259315", "text": "String getImageFile();", "title": "" }, { "docid": "2a7331dd858568176ac3acd597f23fbb", "score": "0.5710598", "text": "public java.lang.String getFilePath(){\n return localFilePath;\n }", "title": "" }, { "docid": "2a7331dd858568176ac3acd597f23fbb", "score": "0.5710598", "text": "public java.lang.String getFilePath(){\n return localFilePath;\n }", "title": "" }, { "docid": "57e6c337a53ab3dc58ddbd1907b2eeeb", "score": "0.564674", "text": "private File getSmilFile() {\n\t\tFile currentSmilFile = new File(outputDirectory, getCurrentSmilFilename());\n\t\treturn currentSmilFile;\n\t}", "title": "" }, { "docid": "464e15aa7d1c7091b36b0c4ec64f40b9", "score": "0.564114", "text": "public File loadImageFile() {\n return ((this.mImageFile == null) ? null : this.mImageFile);\n }", "title": "" }, { "docid": "f51df39db98bb680bb8b911c44279e17", "score": "0.5638681", "text": "public File getFilePath(String url) {\n String filename = String.valueOf(url.hashCode());\r\n\r\n File file = new File(cacheDir, filename);\r\n return file;\r\n }", "title": "" }, { "docid": "3caae5c28c5ca0da6656a4964baeef23", "score": "0.56371063", "text": "public String getImageFile()\n\t{\n\t\treturn client.getProperties().getProperty(getViewerName() + \".imageFile\", defImageFile);\n\t}", "title": "" }, { "docid": "af83305c0af1fd4826398bfbaff0c072", "score": "0.56108063", "text": "public static File getImageCacheFile(Context context) {\n if (getImageCacheDir(context) != null) {\n return new File(getImageCacheDir(context) + \"/\" + System.currentTimeMillis() + (int) (Math.random() * 100));\n }\n return null;\n }", "title": "" }, { "docid": "d3b8803ec55ded4541170b8f2990485f", "score": "0.56083333", "text": "public File getFile()\n {\n if (_file != null)\n return _file;\n \n if (com.caucho.util.Alarm.isTest())\n _file = new File(getFullPath());\n else\n _file = new File(getNativePath());\n \n return _file;\n }", "title": "" }, { "docid": "0056791dea9eb4d17de64405c06864a1", "score": "0.55996984", "text": "synchronized private String getSpotFile(boolean sync)\n\t{\n\t\tString file = getImageFile();\n\t\t\t\n\t\tif (sync) {\t\n\t\ttry {\t\n\t\t\n\t\tif (!file.equals(currentImageFile))\n\t\t\tsetImageFile(file);\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tWebiceLogger.error(\"Failed in getSpotFile: currently loaded image = \" \n\t\t\t\t\t+ currentImageFile + \" new image = \" + file\n\t\t\t\t\t+ \" because \" + e.getMessage());\n\t\t}\n\t\t\n\t\t}\n\n\n\t\t// Spot image file is in spot dir\n\t\tint pos = file.lastIndexOf('/');\n\t\t// Find file extension\n\t\tString ret = getSpotDir() + \"/\";\n\t\tString f = \"\";\n\t\tif (pos < 0) {\n\t\t\tf = file;\n\t\t} else {\n\t\t\tf = file.substring(pos+1);\n\t\t}\n\n\t\tint pos2 = f.lastIndexOf('.');\n\t\tif (pos2 < 0) {\n\t\t\tret += f + \".spt\";\n\t\t} else {\n\t\t\t// spot file always has .spt.img extension\n\t\t\tret += f.substring(0, pos2)\n\t\t\t\t\t+ \".spt.img\";\n\t\t}\n\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "135e2b150231af029f3d5139a3f09088", "score": "0.5596783", "text": "private boolean _fetchLocalFile(GranuleFile i_granuleFile,\n\t\t String i_granuleDir) {\n\n // The path in local file system looks something like this:\n //\n // file:///data/dev/users/podaacdev/data/archive/store/modis/open/L3/terra/11um/9km/annual/2012\n //\n // The name in local file system looks something like this\n //\n // T2012198204500.L2_LAC_SST.bz2 \n //\n // The i_granuleDir looks something like this:\n //\n // /home/qchau/sandbox/distribute/distribute-subscriber/target/distribute-subscriber-4.1.0/subscriber/data/MODIS_TERRA_L3_SST_THERMAL_ANNUAL_9KM_NIGHTTIME/T2012198204500.L2_LAC_SST\n //\n // We can combine the path and name together to form the complete name and then it can be copied to i_granuleDir directory.\n\n boolean o_localFetchStatus = false; // Set to true if can copy the file from local disk.\n\n String granulePath = i_granuleFile.getPath();\n String granuleName = i_granuleFile.getName();\n String fullPathInputName = \"\";\n String fullPathOutputName = \"\";\n\n if (granulePath.startsWith(\"file\")) {\n // Get the name, ignoring \"file://\" token.\n fullPathInputName = granulePath.substring(7) + File.separator + granuleName;\n } else {\n fullPathInputName = granulePath + File.separator + granuleName;\n }\n\n // If the file does not exist, we simply return false.\n\n File a_file = new File(fullPathInputName);\n if (a_file.exists() == false) return (o_localFetchStatus);\n \n//System.out.println(\"BasicDataRetriever::_fetchLocalFile:granulePath [\" + granulePath + \"]\");\n//System.out.println(\"BasicDataRetriever::_fetchLocalFile:granuleName [\" + granuleName + \"]\");\n\n // We know the file is there, attempt to copy it.\n\n try {\n fullPathOutputName = i_granuleDir + File.separator + granuleName;\n InputStream inStream = new FileInputStream(new File(fullPathInputName));\n OutputStream outStream = new FileOutputStream(new File(fullPathOutputName));\n byte[] buf = new byte[1024];\n int len;\n while ((len = inStream.read(buf)) > 0){\n outStream.write(buf, 0, len);\n }\n inStream.close();\n outStream.close();\n\n// System.out.println(\"Successfully written to \" + fullPathOutputName);\n _logger.info(\"Successfully written to \" + fullPathOutputName);\n\n // We have copied the file successfully.\n o_localFetchStatus = true;\n\n } catch(FileNotFoundException ex){\n System.out.println(ex.getMessage() + \" in the specified directory.\");\n _logger.error(ex.getMessage() + \" in the specified directory.\");\n// System.exit(0);\n } catch(IOException e){\n System.out.println(e.getMessage()); \n _logger.error(e.getMessage());\n// System.exit(0);\n }\n return (o_localFetchStatus);\n }", "title": "" }, { "docid": "7449b7984280c03ea91b11a39e87dd07", "score": "0.55771846", "text": "public static File getCachedImageOnDisk(Uri loadUri) {\n File localFile = null;\n if (loadUri != null) {\n CacheKey cacheKey = DefaultCacheKeyFactory.getInstance().getEncodedCacheKey(ImageRequest.fromUri(loadUri));\n if (ImagePipelineFactory.getInstance().getMainDiskStorageCache().hasKey(cacheKey)) {\n BinaryResource resource = ImagePipelineFactory.getInstance().getMainDiskStorageCache().getResource(cacheKey);\n localFile = ((FileBinaryResource) resource).getFile();\n } else if (ImagePipelineFactory.getInstance().getSmallImageDiskStorageCache().hasKey(cacheKey)) {\n BinaryResource resource = ImagePipelineFactory.getInstance().getSmallImageDiskStorageCache().getResource(cacheKey);\n localFile = ((FileBinaryResource) resource).getFile();\n }\n }\n return localFile;\n }", "title": "" }, { "docid": "54b823071d64b67878c4a5ca5a98f664", "score": "0.55654913", "text": "public String getFileOrUrl() {\n return fileOrUrl;\n }", "title": "" }, { "docid": "e6e4cc7e0f4e9935baea8d8d2608f0a8", "score": "0.5557064", "text": "private File getFileLocally(FilePath workingDir, String strFile,\n File tempDir) throws IOException, InterruptedException {\n if (strFile.startsWith(workingDir.getRemote())) {\n strFile = strFile.substring(workingDir.getRemote().length() + 1);\n }\n\n if (workingDir.isRemote()) {\n FilePath remoteFile = new FilePath(workingDir, strFile);\n File file = new File(tempDir, remoteFile.getName());\n if (file.createNewFile()) {\n try (FileOutputStream fos = new FileOutputStream(file)) {\n remoteFile.copyTo(fos);\n }\n return file;\n }\n }\n\n return new File(workingDir.getRemote(), strFile);\n }", "title": "" }, { "docid": "a678cb5413c7e0cefef2516530341a11", "score": "0.5546046", "text": "public java.lang.String getImagePath(){\n return localImagePath;\n }", "title": "" }, { "docid": "a678cb5413c7e0cefef2516530341a11", "score": "0.5546046", "text": "public java.lang.String getImagePath(){\n return localImagePath;\n }", "title": "" }, { "docid": "a678cb5413c7e0cefef2516530341a11", "score": "0.5546046", "text": "public java.lang.String getImagePath(){\n return localImagePath;\n }", "title": "" }, { "docid": "da2ecab6754cc2bd1d0e5572380edac1", "score": "0.55359966", "text": "File getValidArchiveFile() {\n return new File(\"test_files\", \"somezip.zip\");\n }", "title": "" }, { "docid": "c8f31467b8501d84c9950993ffe78d59", "score": "0.55304766", "text": "public String getFilePath(String url) {\n assert mNativeCachedImageFetcherBridge != 0;\n return nativeGetFilePath(mNativeCachedImageFetcherBridge, url);\n }", "title": "" }, { "docid": "12a8b441234ea5a9e454a2d9b0f8cf48", "score": "0.55198157", "text": "public File getTemporaryFilePathToCache(String url) {\n String filename = String.valueOf(url.hashCode());\r\n\r\n File file = new File(cacheDirTemp, filename);\r\n return file;\r\n }", "title": "" }, { "docid": "c15a43a9400ce76c069cde95218fa4d3", "score": "0.5505582", "text": "String getImageFilePath();", "title": "" }, { "docid": "ed4b6fd8cea9977c376ae5811e7492ed", "score": "0.5481788", "text": "public File getAsFile() {\n return new File(fileURI);\n }", "title": "" }, { "docid": "9bc9d25138818ef7b4d78707515cf7d4", "score": "0.5481117", "text": "private static File discoveryLocalFileUniqueHelper(String localFileName, boolean isTmpFile) {\r\n\r\n String directoryName = GrouperClientUtils.cacheDirectoryName();\r\n\r\n if (localFileName.contains(\"/\")) {\r\n throw new RuntimeException(\"Local file cannot contain / : \" + localFileName);\r\n }\r\n\r\n if (localFileName.contains(\"\\\\\")) {\r\n throw new RuntimeException(\"Local file cannot contain \\\\ : \" + localFileName);\r\n }\r\n \r\n //lets change the local file name\r\n int dotIndex = localFileName.lastIndexOf('.');\r\n\r\n if (dotIndex == -1) {\r\n throw new RuntimeException(\"Local filename must have a dot in it! \" + localFileName);\r\n }\r\n\r\n String fileNamePrefix = localFileName.substring(0, dotIndex);\r\n String fileNameSuffix = localFileName.substring(dotIndex, localFileName.length());\r\n\r\n DateFormat dateFormat = new SimpleDateFormat(TEMP_FILE_DATE_FORMAT);\r\n \r\n //file.ext would become\r\n //file_20120102_132414_123_sd43sdf.ext\r\n \r\n String pathname = directoryName + File.separator + fileNamePrefix + \"_\" + dateFormat.format(new Date()) + \"_\" + GrouperClientUtils.uniqueId() + fileNameSuffix;\r\n \r\n if (isTmpFile) {\r\n //file.ext would become\r\n //file_20120102_132414_123_sd43sdf.ext.discoverytmp\r\n pathname += DISCOVERYTMP;\r\n }\r\n return new File(pathname);\r\n\r\n }", "title": "" }, { "docid": "ca59a9de32cb2376c637520ad38540f2", "score": "0.54382455", "text": "public String getFile() {\n if (path != null)\n return path.last();\n\n return null;\n }", "title": "" }, { "docid": "8d0516e7624b65eb135496fa9dcc865c", "score": "0.5415777", "text": "private File getPDFFile() throws IOException {\n final var resource = resourceTool.loadResourceFile(InternalResource.resourceByNameAndType(fileName, PDF));\n return resource.getFile();\n }", "title": "" }, { "docid": "bba8db906be5f12f5334ba084797d5c2", "score": "0.5387255", "text": "HttpFile getFile(Url url) {\n String[] path = url.getPath();\n if (path == null || path[0].equals(\"\")) {\n return url.isFolder() ? files.get(generic) : files.get(url.getFile());\n }\n\n return getFile(url, path, 0);\n }", "title": "" }, { "docid": "0a206319752bdab4addd09520debf3b4", "score": "0.5380621", "text": "private File getTempFile2()\n {\n return new File(Environment.getExternalStorageDirectory(), \"image.tmp\");\n }", "title": "" }, { "docid": "ab4d850f535a32a02a25c0dbd57f693e", "score": "0.538051", "text": "private String getFileUrl() {\n return isOverwrite() ? getArgumentList().get(2) : getArgumentList().get(1);\n }", "title": "" }, { "docid": "0aabd2949a8bd2fca8c90d725e3c28a0", "score": "0.53720254", "text": "public java.lang.String getUniqueFileName(){\n return localUniqueFileName;\n }", "title": "" }, { "docid": "0992b7b6fffa1e4d375ba4159dbc29a7", "score": "0.5371513", "text": "public java.lang.String getFileName(){\n return localFileName;\n }", "title": "" }, { "docid": "31b5c31d088b2020ae5bcdaa02d012fd", "score": "0.5370202", "text": "public File newOriginImageFile(){\n return newOriginImageFile(System.nanoTime()+\".jpg\");\n }", "title": "" }, { "docid": "52d51b86b36dadb88c6196152b071346", "score": "0.5360942", "text": "public File getFile() {\n if (fileNameField.getText().length() == 0) {\n return null;\n }\n return new File(fileNameField.getText());\n }", "title": "" }, { "docid": "1cb16090bbdb041910cd0bc4210e007b", "score": "0.53461725", "text": "public String imageFile() {\n String[] projection = { MediaStore.Images.Media.DATA };\n Cursor cursor = managedQuery(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, projection, null, null, null);\n int column_index_data = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);\n cursor.moveToLast();\n String path = cursor.getString(column_index_data);\n\n return path;\n }", "title": "" }, { "docid": "7b8392503a075c5b3eedb5196e455327", "score": "0.53331006", "text": "@Override\n\tpublic String getCurrentFilePath() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2a7be832ccb77444abd796140436d953", "score": "0.5332413", "text": "private File _resolveLocalFile(String name)\n {\n // Try the local styles directory\n File file = new File(_localStylesDir, name);\n if (file.exists())\n return file;\n\n return null;\n }", "title": "" }, { "docid": "32b546fa53b575c914428a8bcf0b9834", "score": "0.5331474", "text": "private long sendAlreadyDownloadedBytes() {\r\n long bytesRead;\r\n try {\r\n final RandomAccessFile destinationFile = new RandomAccessFile(currentDownloadItem.getCurrentStepDestinationPath(), \"r\");\r\n bytesRead = destinationFile.length();\r\n if (bytesRead > 0) {\r\n SKLogging.writeLog(TAG, \"There are some bytes at this path ; number of downloaded bytes for current resource is \" + currentDownloadItem.getNoDownloadedBytes()\r\n + \" ; download step = \" + currentDownloadItem.getCurrentStepIndex() + \" ; current path = \" + currentDownloadItem.getCurrentStepDestinationPath(),\r\n SKLogging.LOG_DEBUG);\r\n if (currentDownloadItem.getNoDownloadedBytes() == 0) {\r\n SKLogging.writeLog(TAG, \"There remained some resources with the same name at the same path ! Try to delete the file \" + currentDownloadItem\r\n .getCurrentStepDestinationPath(), SKLogging.LOG_DEBUG);\r\n String deleteCmd = \"rm -r \" + currentDownloadItem.getCurrentStepDestinationPath();\r\n Runtime runtime = Runtime.getRuntime();\r\n try {\r\n runtime.exec(deleteCmd);\r\n SKLogging.writeLog(TAG, \"The file was deleted from its current installation folder\", SKLogging.LOG_DEBUG);\r\n } catch (IOException e) {\r\n SKLogging.writeLog(TAG, \"The file couldn't be deleted !!!\", SKLogging.LOG_DEBUG);\r\n }\r\n bytesRead = 0;\r\n } else {\r\n SKLogging.writeLog(TAG, \"Current resource is only partially downloaded, so its download will continue = \", SKLogging.LOG_DEBUG);\r\n httpRequest.addHeader(HTTP_PROP_RANGE, \"bytes=\" + bytesRead + \"-\");\r\n }\r\n }\r\n destinationFile.close();\r\n } catch (final FileNotFoundException e) {\r\n bytesRead = 0;\r\n } catch (final IOException e) {\r\n bytesRead = 0;\r\n }\r\n\r\n return bytesRead;\r\n }", "title": "" }, { "docid": "6c46a4c083462a40d22ba623bd99bd1a", "score": "0.53252053", "text": "private String getSingleFilePath() {\n\t\tlogger.debug(\"-> getSingleFilePath()\");\n\n\t\tString path = null;\n\n\t\t// This is for internal testing, so for firmware is use for the single\n\t\t// file name;\n\t\tpath = uploadInputData.getSingleFileRootPath() + uploadInputData.getFirmwareName();\n\t\tFile filePath = new File(path);\n\t\tif (!filePath.exists()) {\n\t\t\tlogger.error(\"FILE NOT FOUND in \" + path);\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\treturn path;\n\t}", "title": "" }, { "docid": "0a6dd2e322e0b68892d3f811084e4b26", "score": "0.5323796", "text": "public Uri getDownloadedFileUri() {\n return mDownloadedFile;\n }", "title": "" }, { "docid": "350573f0e88f4ac4e7478c9bd7da1aa4", "score": "0.5323215", "text": "public File getFile() {\n\t\treturn current.getFile();\n\t}", "title": "" }, { "docid": "4774048e909ff4169cc34ce0594bf9e9", "score": "0.53216594", "text": "public String getFilePath(String url) {\n assert mNativeImageFetcherBridge != 0;\n return nativeGetFilePath(mNativeImageFetcherBridge, url);\n }", "title": "" }, { "docid": "2eaf863843034e053207744728095b6d", "score": "0.53211665", "text": "protected byte[] getFile(HttpClient httpClient, String remoteFileName, String localFileName, MessageDigest digest)\r\n\t\t\tthrows ClientProtocolException, IOException {\r\n\r\n\t\tHttpGet getRequest = new HttpGet(remoteFileName);\r\n\t\tgetRequest.addHeader(\"accept\", \"application/octet-stream\");\r\n\t\tgetRequest.addHeader(\"Cookie\", logonCookie);\r\n\r\n\t\tHttpResponse response = httpClient.execute(getRequest);\r\n\r\n\t\tif (response.getStatusLine().getStatusCode() != 200) {\r\n\t\t\tthrow new RuntimeException(\"Failed : HTTP error code : \" + response.getStatusLine().getStatusCode());\r\n\t\t}\r\n\r\n\t\tOutputStream os = null;\r\n\t\tif (localFileName != null && localFileName.length() > 0) {\r\n\t\t\tFile outFile = new File(localFileName);\r\n\t\t\tif (outFile.exists()) {\r\n\t\t\t\toutFile.delete();\r\n\t\t\t}\r\n\t\t\tos = new FileOutputStream(localFileName);\r\n\t\t}\r\n\r\n\t\tDigestInputStream dis = new DigestInputStream(response.getEntity().getContent(), digest);\r\n\t\tbyte[] tmp = new byte[1024];\r\n\t\tint len = dis.read(tmp);\r\n\t\twhile (len > 0) {\r\n\t\t\tif (os != null) {\r\n\t\t\t\tos.write(tmp, 0, len);\r\n\t\t\t}\r\n\t\t\tlen = dis.read(tmp);\r\n\t\t}\r\n\t\tif (os != null) {\r\n\t\t\tos.close();\r\n\t\t}\r\n\r\n\t\tbyte[] finalDigest = digest.digest();\r\n\t\tSystem.out.println(\"getFile() done, digest=\" + StringUtilities.toHexString(finalDigest));\r\n\t\treturn finalDigest;\r\n\t}", "title": "" }, { "docid": "b02749c17c4132e90978b1dbe4365f6b", "score": "0.5320943", "text": "public synchronized File getFile() {\n if (file == null) {\n String name = getFilename();\n if (name == null) name = getIdentifier();\n ResourceReference rr = getParent();\n ResourceReference rrtemp = null;\n Resource p = this;\nwhile (true) { \n{\n try {\n if (rr == null) throw new InvalidParentException(p.getIdentifier() + \" can't find his parent, \" + \"context : \" + p.unsafeGetContext());\n p = rr.lock();\n if (p instanceof DirectoryResource) {\n DirectoryResource dr = (DirectoryResource) p;\n file = new File(dr.unsafeGetDirectory(), name);\n return file;\n }\n rrtemp = p.getParent();\n } catch (InvalidResourceException ex) {\n ex.printStackTrace();\n return null;\n } finally {\n if (rr != null) rr.unlock();\n }\n rr = rrtemp;\n }} \n\n }\n return file;\n }", "title": "" }, { "docid": "df054c72ba1a8380b0f242d4f01b9282", "score": "0.53118813", "text": "public URI getUrl() {\n return fileData.url;\n }", "title": "" }, { "docid": "276ab75be6259d68b367fcc42f70d46a", "score": "0.5305272", "text": "public File getFile() {\n // some code goes here\n return this.rawFile;\n }", "title": "" }, { "docid": "1e689044aebafd177460c132a8333a0b", "score": "0.530308", "text": "@Override\n\tpublic URL url()\n\t{\n\t\tURL url = null;\n\t\ttry\n\t\t{\n\t\t\turl = file.toURI().toURL();\n\t\t}\n\t\tcatch (MalformedURLException e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn url;\n\t}", "title": "" }, { "docid": "244b3fa0a6a7eac78ac29cebd155a8b3", "score": "0.5293822", "text": "private String getCurrentFile() {\n return this.currentFileName;\n }", "title": "" }, { "docid": "b57794143f55484919f7c307290eae66", "score": "0.52756023", "text": "public abstract @NotNull Optional<URL> getDownloadURL();", "title": "" }, { "docid": "ee92906204a0f7ba989d30a9e267e842", "score": "0.52742857", "text": "private File getOldCommitedFile(String fn, UUID commitID) {\n\n\t\t// Check if we have file\n\t\tFile f = new File(path + oldCommitsFolderName + fn + commitID.toString());\n\n\t\tif (!f.exists()) {\n\n\t\t\t// Request from server\n\t\t\ttry {\n\t\t\t\tf = requestFile(fn, commitID).getA();\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.err.println(\"Could not get old file: \" + e.getMessage());\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t}\n\t\treturn f;\n\n\t}", "title": "" }, { "docid": "62941cf77afb03b54a3a65dbfb0d6a0f", "score": "0.5267886", "text": "File getFile();", "title": "" }, { "docid": "62941cf77afb03b54a3a65dbfb0d6a0f", "score": "0.5267886", "text": "File getFile();", "title": "" }, { "docid": "4db33276f15c65db87856b034d6c4471", "score": "0.52667445", "text": "@Override\n public InputStream getInputStream() throws IOException {\n InputStream stream = null;\n\n if (protocolUtils.doesAssetExist(getURI()) && GET_METHOD.equals(method) && !protocolUtils.\n checkFreshness()) {\n stream = protocolUtils.retrieveAsset(getURI());\n } else {\n\n if (!connected) {\n connect();\n }\n\n int resp = getResponseCode();\n if (resp == HTTP_NOT_MODIFIED) {\n if (protocolUtils.doesAssetExist(getURI())) {\n stream = protocolUtils.retrieveAsset(getURI());\n } else {\n throw new IOException(\"Resource Not Modified \" + getURI() + \"\\n\" +\n \"But local copy not found in cache!\");\n }\n } else if (resp != HTTP_OK) {\n throw new IOException(\"File not found. \" + getURI() + \"\\n\" +\n \"Response code: \" + resp);\n } else {\n\n try {\n stream = response.getInputStream();\n // If this is a cachable url, store the url in the cache\n // and return the inputstream from there\n if (protocolUtils.isCachableURI(getURI())) {\n protocolUtils.storeAsset(getURI(), stream);\n stream.close();\n stream = protocolUtils.retrieveAsset(getURI());\n }\n String enc = getContentEncoding();\n if ((enc != null) && enc.equals(\"x-gzip\")) {\n stream = new GZIPInputStream(stream);\n }\n } catch (ModuleException e) {\n throw new IOException(e.toString());\n }\n if (stream == null) {\n throw new IOException(\"Unable to get inpustream from connection!\");\n }\n }\n }\n return stream;\n }", "title": "" }, { "docid": "e5d8ba1027acf2d472d95d2ef488ce37", "score": "0.526496", "text": "@Override\n\tpublic String getImage() throws RemoteException {\n\t\tString absolutePath = \"\";\n\t\tString imageFile = \"/image/\" + getName().toLowerCase() + \".gif\";\n\t\tString path = WorkflowPrefManager\n\t\t\t\t.getSysProperty(WorkflowPrefManager.sys_tomcat_path, WorkflowPrefManager.defaultTomcat);\n\t\tList<String> files = listFilesRecursively(path);\n\t\tfor (String file : files) {\n\t\t\tif (file.contains(imageFile)) {\n\t\t\t\tabsolutePath = file;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tString ans = \"\";\n\t\tif (absolutePath.contains(path)) {\n\t\t\tans = absolutePath.substring(path.length());\n\t\t}\n\t\tlogger.debug(\"Source image abs Path : \" + absolutePath);\n\t\tlogger.debug(\"Source image Path : \" + path);\n\t\tlogger.debug(\"Source image ans : \" + ans);\n\n\t\treturn absolutePath;\n\t}", "title": "" }, { "docid": "c3ae0cd3721aa1a46f4f0a5e39dcc77d", "score": "0.52591544", "text": "public Path getStandartDownloadDir() {\r\n return downloadDir;\r\n }", "title": "" }, { "docid": "977fb1219ff9eaefc3a282eae935193c", "score": "0.5257786", "text": "@Override\n public InputStream getInputStream() throws IOException {\n File file = getCanonicalFileFromFileUrl(url);\n final FileInputStream fis = new FileInputStream(file);\n return fis;\n }", "title": "" }, { "docid": "9e035ec796fee6bdf833b70dc9525f7c", "score": "0.52472186", "text": "public File getFile(String fileName) {return new File(this.getSharedDirectoryPath(fileName));}", "title": "" }, { "docid": "48043fa392046554c9e1a521f3dd4a9c", "score": "0.52395976", "text": "public File getFilePathToCache(String url) {\n String filename = String.valueOf(url.hashCode());\r\n\r\n File file = new File(cacheDir, filename);\r\n return file;\r\n }", "title": "" }, { "docid": "4d8d1c39884641cc656b97aa08412ad2", "score": "0.52383935", "text": "public File getExternalFile() {\n\t\treturn externalFile;\n\t}", "title": "" }, { "docid": "c795c62ba39bd5498465f5fc37d36d6c", "score": "0.52352065", "text": "public File getFile() {\n File file = new File( new File( core.getUploadPath(), getPath() ), getFilename() );\n return file;\n }", "title": "" }, { "docid": "7125675ea1ebff9d172b81d4b5188347", "score": "0.523262", "text": "@Override\n\tpublic File getFile() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "a80dad4bc47fe087b6aa6cbff06b8346", "score": "0.52277166", "text": "public T fileGet(String url, File file, AjaxStatus status) {\n byte[] data = null;\n try {\n if (isStreamingContent()) {\n status.file(file);\n } else {\n data = AQUtility.toBytes(new FileInputStream(file));\n }\n return transform(url, data, status);\n } catch (Exception e) {\n AQUtility.debug(e);\n return null;\n }\n }", "title": "" }, { "docid": "4f195f6273c1d1f6bd75f77468510edf", "score": "0.5215242", "text": "public String getCurrentFilename() {\r\n return currentFilename;\r\n }", "title": "" }, { "docid": "da6e6d339bbf7f01bfc444072073c0aa", "score": "0.5201665", "text": "File sourceImageFile(Identifier identifier) throws CacheException {\n final String cacheRoot = StringUtils.stripEnd(\n rootSourceImagePathname(), File.separator);\n final String subfolderPath = StringUtils.stripEnd(\n getHashedStringBasedSubdirectory(identifier.toString()),\n File.separator);\n final String baseName = cacheRoot + subfolderPath + File.separator +\n identifier.toFilename();\n return new File(baseName);\n }", "title": "" }, { "docid": "a7e737b90a8934750d933a38472da417", "score": "0.5181381", "text": "private File createImageFile() throws IOException{\n\n //Create file path to Download folder to check if it exists and later generate a URI\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n //Create the storageDir folder if it does not exist\n if(!storageDir.exists()) {\n storageDir.mkdir();\n }\n\n // Create an image file name\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp + \"_\";\n\n // Prepares the final path for the output photo file\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n\n // Save a file: path for use with ACTION_VIEW intents\n currentPhotoPath = image.getAbsolutePath();\n return image;\n }", "title": "" }, { "docid": "b95091339ff45a5331f47d8a145548b2", "score": "0.5180174", "text": "public File getFile() {\n // some code goes here\n return f;\n }", "title": "" }, { "docid": "9dfdafde21e92baa2f05b1a6f7dacbf7", "score": "0.5171565", "text": "public File getFile()\n {\n return reader.getFile();\n }", "title": "" }, { "docid": "992c6d914d593b374772217eb5575bf0", "score": "0.51654315", "text": "public String getCurrentFileName() {\n\t\treturn stream.getCurrentFileName();\n\t}", "title": "" }, { "docid": "b1b22691e112934ad33edc79c7dd287d", "score": "0.51486", "text": "public java.lang.String getOriginalFileName(){\n return localOriginalFileName;\n }", "title": "" }, { "docid": "9c6ebba4b349ed605f630b25ef698c4c", "score": "0.5144514", "text": "public File getFile() {\n return chooseFile();\n }", "title": "" }, { "docid": "5f27917c0e80b4c0bff539f86c08b7f4", "score": "0.5128127", "text": "public static File retrieveFile(String fileName, boolean throwExceptionIfNotFound) {\r\n\r\n Map<String, Object> logMap = log.isDebugEnabled() ? new LinkedHashMap<String, Object>() : null;\r\n\r\n if (logMap != null) {\r\n logMap.put(\"method\", \"DiscoveryClient.retrieveFile\");\r\n }\r\n\r\n File file = null;\r\n try {\r\n\r\n //see if not doing discovery\r\n if (!hasDiscovery()) {\r\n if (logMap != null) {\r\n logMap.put(\"configuredToUseDiscovery\", false);\r\n }\r\n return null;\r\n }\r\n String localFileName = convertFileNameToLocalFileName(fileName);\r\n \r\n \r\n //check discovery cache\r\n file = discoveryFileCache().get(localFileName);\r\n\r\n //if we got it from cache, dont put it back into cache\r\n boolean retrievedFromCache = file != null;\r\n \r\n if (logMap != null) {\r\n logMap.put(\"existsInDiscoveryFilecache\", file != null);\r\n }\r\n\r\n if (file == null) {\r\n //lets see what the most recent file is on the file system\r\n File discoveryLocalFile = mostRecentFileFromFileSystem(localFileName);\r\n if (discoveryLocalFile != null && discoveryLocalFile.exists()) {\r\n \r\n //file.ext would become\r\n //file_20120102_132414_123_sd43sdf.ext\r\n Matcher matcher = localCacheDatePattern.matcher(discoveryLocalFile.getName());\r\n\r\n if (!matcher.matches()) {\r\n throw new RuntimeException(\"Why does matcher not match???? \" + discoveryLocalFile.getAbsolutePath());\r\n }\r\n\r\n String datePart = matcher.group(2);\r\n\r\n DateFormat dateFormat = new SimpleDateFormat(TEMP_FILE_DATE_FORMAT);\r\n Date date = null;\r\n\r\n try {\r\n date = dateFormat.parse(datePart);\r\n } catch (ParseException pe) {\r\n \r\n throw new RuntimeException(\"Why date format exception???? \" + file.getAbsolutePath());\r\n \r\n }\r\n\r\n //see if date in range\r\n if ((System.currentTimeMillis() - date.getTime()) / 1000 < GrouperClientConfig.retrieveConfig().propertyValueInt(\"grouperClient.cacheDiscoveryPropertiesForSeconds\", 120)) {\r\n file = discoveryLocalFile;\r\n }\r\n \r\n \r\n }\r\n //if this is less than however old, then use it\r\n if (logMap != null) {\r\n logMap.put(\"existsInFilecache\", discoveryLocalFile != null);\r\n }\r\n if (logMap != null) {\r\n logMap.put(\"fileIsYoungEnough\", file != null);\r\n }\r\n\r\n }\r\n \r\n if (file == null) {\r\n \r\n //lets get it from discovery again, this will return null if problem\r\n try {\r\n file = retrieveFileFromDiscoveryServer(fileName, localFileName);\r\n } catch (Exception e) {\r\n log.error(\"Problem retrieving file from discovery server: \" + fileName, e);\r\n }\r\n if (logMap != null) {\r\n logMap.put(\"fileFromServer\", file != null);\r\n }\r\n }\r\n\r\n if (file == null) {\r\n //just get whatever we have in the filesystem\r\n file = mostRecentFileFromFileSystem(localFileName);\r\n if (logMap != null) {\r\n logMap.put(\"fileFromFailsafeLocalSystem\", file != null);\r\n }\r\n }\r\n\r\n //add back to cache if didnt retrieve from cache\r\n if (!retrievedFromCache && file != null) {\r\n synchronized (DiscoveryClient.class) {\r\n discoveryFileCache().put(localFileName, file);\r\n }\r\n }\r\n\r\n \r\n //end\r\n if (logMap != null) {\r\n logMap.put(\"fileFound\", file!=null);\r\n if (file != null) {\r\n logMap.put(\"fileSizeBytes\", file.length());\r\n logMap.put(\"lastModified\", new Date(file.lastModified()));\r\n }\r\n }\r\n\r\n if (file == null && throwExceptionIfNotFound) {\r\n \r\n throw new RuntimeException(\"Cant find file from discovery: '\" + fileName + \"'\");\r\n }\r\n\r\n } finally {\r\n\r\n if (log.isDebugEnabled()) {\r\n log.debug(GrouperClientUtils.mapToString(logMap));\r\n }\r\n\r\n }\r\n return file;\r\n }", "title": "" }, { "docid": "dceae8da4c6e7195220b82583f8418eb", "score": "0.5114267", "text": "public File getIfFile() {\n return ifFile;\n }", "title": "" }, { "docid": "ceca9753d868eaf789e804bfac334716", "score": "0.51106274", "text": "private String retrieveAliquotFilePath() {\n SharedPreferences settings = getSharedPreferences(PREF_ALIQUOT, 0);\n return settings.getString(\"Current Aliquot\", \"Error\"); // Gets current RS and if no file there, returns default as the current file\n }", "title": "" }, { "docid": "c7d65580e5c1f42b29b3d5f804adcba8", "score": "0.51058877", "text": "public File getFile() {\n Long __key = this.FileId;\n if (file__resolvedKey == null || !file__resolvedKey.equals(__key)) {\n if (daoSession == null) {\n throw new DaoException(\"Entity is detached from DAO context\");\n }\n FileDao targetDao = daoSession.getFileDao();\n File fileNew = targetDao.load(__key);\n synchronized (this) {\n file = fileNew;\n \tfile__resolvedKey = __key;\n }\n }\n return file;\n }", "title": "" }, { "docid": "028a10388ecefe0e007fb9452e28c77f", "score": "0.5103855", "text": "protected File getRepositoryLocalStorageAsFile( Repository repository )\n {\n File repoRoot = null;\n \n if ( repository.getLocalUrl() != null\n && repository.getLocalStorage() instanceof DefaultFSLocalRepositoryStorage )\n {\n try\n {\n URL url = new URL( repository.getLocalUrl() );\n try\n {\n repoRoot = new File( url.toURI() );\n }\n catch ( Throwable t )\n {\n repoRoot = new File( url.getPath() );\n }\n }\n catch ( MalformedURLException e )\n {\n // Try just a regular file\n repoRoot = new File( repository.getLocalUrl() );\n }\n \n }\n \n return repoRoot;\n }", "title": "" }, { "docid": "138cefc75804c083986ac2e9543e41e4", "score": "0.5102001", "text": "public static String getFile()\n\t{\n\t\treturn fileName;\n\t}", "title": "" }, { "docid": "c59f4d27ca66ef7f7a9c73777383ec4b", "score": "0.5099812", "text": "private File m7434b() {\r\n File file;\r\n synchronized (this.f4737a) {\r\n file = this.f4738b;\r\n }\r\n return file;\r\n }", "title": "" }, { "docid": "38dfb1dd8b76f50fad55cf18d9918d6c", "score": "0.5076533", "text": "public synchronized HttpFile getFile(String host, Url url) {\n FolderNode node = roots.get(host);\n return node != null ? node.getFile(url) : null;\n }", "title": "" }, { "docid": "3b3953c6118cc3399703928b601d1f2f", "score": "0.50682735", "text": "private IStatus downloadFileFromFile(String fileUrl, File targetFile) {\n IStatus status = Status.OK_STATUS;\n\n try {\n URI uri = new URI(fileUrl);\n if (uri.getAuthority() == null) {\n File sourceFile = new File(uri);\n if (sourceFile.canRead()) {\n OutputStream outputStream = null;\n InputStream inputStream = null;\n try {\n outputStream = new FileOutputStream(targetFile);\n inputStream = new FileInputStream(sourceFile);\n copyFile(inputStream, outputStream);\n } finally {\n IOUtil.closeSilently(outputStream);\n IOUtil.closeSilently(inputStream);\n }\n } else {\n status = createStatus(IStatus.ERROR,\n getTextAccessor().getText(\"error.cannot.read.local.file\"));\n }\n } else {\n status = createStatus(IStatus.ERROR,\n getTextAccessor().getText(\"error.cannot.read.local.file\"));\n }\n } catch (IOException e) {\n status = createStatus(IStatus.ERROR, e.getLocalizedMessage(), e);\n } catch (URISyntaxException e) {\n status = createStatus(IStatus.ERROR, e.getLocalizedMessage(), e);\n }\n return status;\n }", "title": "" }, { "docid": "e0efebcdbaf2105a4536bf577e2e7178", "score": "0.5065037", "text": "public String getFilePath(HttpServletRequest request){\n\t\t//retrieve file name\n\t\tString fileName = request.getParameter(downloadFileRequestKey);\t\t\n\t\treturn constructFilePath(fileName);\t\t\n\t}", "title": "" }, { "docid": "70c17f06660c62faf4a4db200337c65f", "score": "0.50645113", "text": "@NotNull\n default String fileAbsolutePath() {\n return file().getAbsolutePath();\n }", "title": "" }, { "docid": "b34b421cd4071ce934bf363daaa4bcb4", "score": "0.5055338", "text": "String getLocalPath();", "title": "" }, { "docid": "54c9ebc70eab9f42610bc5d444190cb4", "score": "0.5052474", "text": "public BufferedImage getImage() {\r\n\t\treturn newImageReady?image:oldImage;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "b93e02b2a496d7e87326c86a9c844c4b", "score": "0.5051187", "text": "private String saveToTempFile() throws IOException {\r\n File currentImageFile = File.createTempFile(\"current_image\", \".png\");\r\n save(currentImageFile.toString());\r\n return currentImageFile.toString();\r\n }", "title": "" }, { "docid": "7471bb78e6d2eda2df5158f227df20f8", "score": "0.5047589", "text": "@SuppressWarnings(\"resource\")\n\tprivate static String getFilePath() {\n\t\t// File download message for user.\n\t\tSystem.out.println(Constant.FILE_DOWNLOAD_PATH_MESSAGE);\n\t\t// Get the file path from user.\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString filePath = scanner.nextLine();\n\t\treturn filePath;\n\t}", "title": "" }, { "docid": "bc270a8832d75ea81eba0b156c2d271b", "score": "0.5045819", "text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"imagen_\" + timeStamp + \"_\";\n File storageDir = getExternalFilesDir(Environment.DIRECTORY_PICTURES);\n if( storageDir.exists()==false ){\n storageDir.mkdirs();\n }\n File image = File.createTempFile(\n imageFileName, /* prefix */\n \".jpg\", /* suffix */\n storageDir /* directory */\n );\n // Save a file: path for use with ACTION_VIEW intents\n urlCompletaImg = image.getAbsolutePath();\n return image;\n }", "title": "" }, { "docid": "1d5ea7cb5f4a8ad0830be5f3f55095cf", "score": "0.50437546", "text": "static public File requiresResourceFile (String _resource, String _destination) {\n File file = null;\n Resource res = ResourceLoader.getResource(_resource);\n if (res!=null) file = res.getFile();\n// if (file!=null) System.out.println(\"Trying file \" + file.getAbsolutePath());\n// else System.out.println(\"File null : \"+_resource);\n if (file!=null && file.exists()) return file;\n if (_destination.startsWith(\"/\")) _destination = _destination.substring(1);\n return extractResource(_resource, getTemporaryDir() + _destination);\n }", "title": "" }, { "docid": "c8163958b01c33f9bd6e73ab73bd551a", "score": "0.5031228", "text": "private File getFile()\n\t{\n\t\tFile file = null;\n\t\tString dirName = org.compiere.Xendra.getXendraHome();\n\t\tJFileChooser chooser = new JFileChooser(dirName);\n\t\tchooser.setFileSelectionMode(JFileChooser.FILES_ONLY);\n\t\tchooser.setMultiSelectionEnabled(false);\n\t\tchooser.setDialogTitle(Msg.translate(Env.getCtx(), \"LoadInvoice\"));\n\t\tchooser.addChoosableFileFilter(new ExtensionFileFilter(\"xml\", Msg.getMsg(Env.getCtx(), \"FileXML\")));\n\t\tif (chooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {\n\t\t\tfile = chooser.getSelectedFile();\n\t\t\tTask tsk = new Task(file);\n\t\t\ttsk.start();\n\t\t}\n\t\telse\n\t\t\tfile = null;\n\t\tchooser = null;\n\n\t\tif (file == null)\n\t\t\tbuttonLoadFact.setText(Msg.translate(Env.getCtx(), \"LoadInvoice\"));\n\t\telse {\n\t\t}\n\t\treturn file;\n\t}", "title": "" }, { "docid": "a84d6ca391f10495e5c046b19009a2a9", "score": "0.5027761", "text": "public File getTempFile()\n\t\t{\n\t\t\treturn this.tempFile;\n\t\t}", "title": "" }, { "docid": "4baa7d55917a075b27b7c84c45ee0324", "score": "0.50253177", "text": "private File getFile(String previewPath, String imageGuid) {\n File folder = new File(previewPath);\n File[] listOfFiles = folder.listFiles();\n if (!StringUtils.isEmpty(imageGuid)) {\n return new File(imageGuid);\n } else {\n for (int i = 0; i <= listOfFiles.length; i++) {\n int number = i + 1;\n // set file name, for example 001\n String fileName = String.format(\"%03d\", number);\n File file = new File(String.format(\"%s%s%s.png\", previewPath, File.separator, fileName));\n // check if file with such name already exists\n if (file.exists()) {\n continue;\n } else {\n return file;\n }\n }\n return new File(String.format(\"%s%s001.png\", previewPath, File.separator));\n }\n }", "title": "" }, { "docid": "304a350bbe97bbc637dc5291ca5b9885", "score": "0.5023405", "text": "public String getLocalPath()\n {\n \treturn this.localPath;\n }", "title": "" } ]
d23716df09c1cddc56ec4a8264e5707d
Ensure the caller (or self, if not processing an IPC) has MODIFY_PHONE_STATE (and is thus a privileged app) or carrier privileges.
[ { "docid": "0546f7da91a99f8720c191af25179b60", "score": "0.7040088", "text": "public static void enforceCallingOrSelfModifyPermissionOrCarrierPrivilege(\n Context context, int subId, String message) {\n if (context.checkCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE) ==\n PERMISSION_GRANTED) {\n return;\n }\n\n if (DBG) Rlog.d(LOG_TAG, \"No modify permission, check carrier privilege next.\");\n enforceCallingOrSelfCarrierPrivilege(subId, message);\n }", "title": "" } ]
[ { "docid": "ef880a0eefe58803e0fa6141283b6ad5", "score": "0.6772959", "text": "private boolean checkPermission()\n {\n if (ContextCompat.checkSelfPermission(\n this, Manifest.permission.READ_PHONE_STATE) ==\n PackageManager.PERMISSION_GRANTED)\n return true;\n\n\n ActivityCompat.requestPermissions(this,\n new String[] { Manifest.permission.READ_PHONE_STATE },\n REQUEST_CODE_PHONE_STATE);\n return false;\n\n\n }", "title": "" }, { "docid": "f2beffafcc27197caf732437cef604fc", "score": "0.6378988", "text": "private void requestPermission() {\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_PHONE_STATE)\n != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.READ_PHONE_STATE}, 1);\n }\n }", "title": "" }, { "docid": "971b9a85bebf0d0abd21ac24a90abd22", "score": "0.63245744", "text": "public void checkCallPermission() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if (ContextCompat.checkSelfPermission(this, CALL_PHONE) != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(this, new String[]{CALL_PHONE}, Constants.IntentConstant.REQUEST_CALL);\n } else {\n callTollFree();\n }\n } else {\n callTollFree();\n }\n }", "title": "" }, { "docid": "3fad8df14e14181bc68083a20a549e7a", "score": "0.60577005", "text": "@VisibleForTesting\n public static boolean checkReadPhoneNumber(\n Context context, Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid,\n String callingPackage, String message) {\n AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE);\n if (appOps.noteOp(AppOpsManager.OP_WRITE_SMS, uid, callingPackage) ==\n AppOpsManager.MODE_ALLOWED) {\n return true;\n }\n\n // NOTE(b/73308711): If an app has one of the following AppOps bits explicitly revoked, they\n // will be denied access, even if they have another permission and AppOps bit if needed.\n\n // First, check if we can read the phone state.\n try {\n return checkReadPhoneState(\n context, telephonySupplier, subId, pid, uid, callingPackage, message);\n } catch (SecurityException readPhoneStateSecurityException) {\n }\n // Can be read with READ_SMS too.\n try {\n context.enforcePermission(android.Manifest.permission.READ_SMS, pid, uid, message);\n int opCode = AppOpsManager.permissionToOpCode(android.Manifest.permission.READ_SMS);\n if (opCode != AppOpsManager.OP_NONE) {\n return appOps.noteOp(opCode, uid, callingPackage) == AppOpsManager.MODE_ALLOWED;\n } else {\n return true;\n }\n } catch (SecurityException readSmsSecurityException) {\n }\n // Can be read with READ_PHONE_NUMBERS too.\n try {\n context.enforcePermission(android.Manifest.permission.READ_PHONE_NUMBERS, pid, uid,\n message);\n int opCode = AppOpsManager.permissionToOpCode(\n android.Manifest.permission.READ_PHONE_NUMBERS);\n if (opCode != AppOpsManager.OP_NONE) {\n return appOps.noteOp(opCode, uid, callingPackage) == AppOpsManager.MODE_ALLOWED;\n } else {\n return true;\n }\n } catch (SecurityException readPhoneNumberSecurityException) {\n }\n\n throw new SecurityException(message + \": Neither user \" + uid +\n \" nor current process has \" + android.Manifest.permission.READ_PHONE_STATE +\n \", \" + android.Manifest.permission.READ_SMS + \", or \" +\n android.Manifest.permission.READ_PHONE_NUMBERS);\n }", "title": "" }, { "docid": "efc5da0b82d4bb4dea1adff4bc746318", "score": "0.58758724", "text": "private boolean checkPermisionCallPhone(){\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if (checkSelfPermission(Manifest.permission.CALL_PHONE) != PackageManager.PERMISSION_GRANTED) {\n requestPermissions(new String[]{Manifest.permission.CALL_PHONE}, 100);\n Log.i(\"checkPermisionLocation\", \"Se han pedido los permisos de localización\");\n Toast.makeText(this, \"Inténtelo de nuevo\", Toast.LENGTH_LONG).show();\n return false;\n }else{\n Log.i(\"checkPermisionLocation\", \"Permisos de CALL PHONE cargados \" +\n \"correctamente\");\n return true;\n }\n }\n return true;\n }", "title": "" }, { "docid": "74e80cbbc8fc31d56e5009febf3a5db3", "score": "0.58656657", "text": "private void checkIPC(MethodHookParam param) {\n \t\tint flags = (Integer) param.args[3];\n \t\tbyte magic = (byte) (flags >> BITS_MAGIC);\n \t\tboolean flagged = ((flags & FLAG_XPRIVACY) != 0);\n \t\tflags &= IBinder.FLAG_ONEWAY;\n \t\tparam.args[3] = flags;\n \n \t\ttry {\n \t\t\tif (Process.myUid() > 0) {\n \t\t\t\tint uid = Binder.getCallingUid();\n \t\t\t\tif (PrivacyManager.isApplication(uid) && !(flagged && magic == getMagic())) {\n \t\t\t\t\t// Get interface name\n \t\t\t\t\tBinder binder = (Binder) param.thisObject;\n \t\t\t\t\tString name = binder.getInterfaceDescriptor();\n \t\t\t\t\tif (cListService.contains(name)) {\n \t\t\t\t\t\tUtil.log(this, Log.WARN, \"restrict name=\" + name + \" uid=\" + uid + \" my=\" + Process.myUid());\n\t\t\t\t\t\tif (PrivacyManager.getRestricted(this, uid, PrivacyManager.cSystem, \"IPC\", true, true)) {\n \t\t\t\t\t\t\t// Get reply parcel\n \t\t\t\t\t\t\tParcel reply = null;\n \t\t\t\t\t\t\ttry {\n \t\t\t\t\t\t\t\t// static protected final Parcel obtain(int obj)\n \t\t\t\t\t\t\t\t// frameworks/base/core/java/android/os/Parcel.java\n \t\t\t\t\t\t\t\tMethod methodObtain = Parcel.class.getDeclaredMethod(\"obtain\", int.class);\n \t\t\t\t\t\t\t\tmethodObtain.setAccessible(true);\n \t\t\t\t\t\t\t\treply = (Parcel) methodObtain.invoke(null, param.args[2]);\n \t\t\t\t\t\t\t} catch (NoSuchMethodException ex) {\n \t\t\t\t\t\t\t\tUtil.bug(this, ex);\n \t\t\t\t\t\t\t}\n \n \t\t\t\t\t\t\t// Block IPC\n \t\t\t\t\t\t\tif (reply == null)\n \t\t\t\t\t\t\t\tUtil.log(this, Log.ERROR, \"reply is null uid=\" + uid);\n \t\t\t\t\t\t\telse {\n \t\t\t\t\t\t\t\treply.setDataPosition(0);\n \t\t\t\t\t\t\t\treply.writeException(new SecurityException(\"XPrivacy\"));\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tparam.setResult(true);\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t} catch (Throwable ex) {\n \t\t\tUtil.bug(this, ex);\n \t\t}\n \t}", "title": "" }, { "docid": "e358ee9a74218c6c423fbb7c48e66d3f", "score": "0.57117677", "text": "@RequiresApi(api = Build.VERSION_CODES.M)\n private void verifyPermissionLlamada()\n {\n //grupo de permisos\n\n int writePermission = checkSelfPermission(Manifest.permission.CALL_PHONE);\n writePermission = 554;\n if (writePermission != PackageManager.PERMISSION_GRANTED)\n {\n requestPermissionLlamada();\n } else {\n try {\n if (LlamadaDirecta112.estadoLlamada == 1) {\n Intent llamar112 = new Intent(Intent.ACTION_CALL, Uri.parse(\"tel:122\"));\n llamar112.setData(Uri.parse(\"tel:122\"));\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.CALL_PHONE) != PackageManager.PERMISSION_GRANTED) {\n return;\n }\n startActivity(llamar112);\n }else\n {\n Intent llamar112 = new Intent(Intent.ACTION_DIAL, Uri.parse(\"tel:112\"));\n llamar112.setData(Uri.parse(\"tel:112\"));\n startActivity(llamar112);\n }\n\n } catch(Exception e)\n {\n Toast.makeText(getApplicationContext(), R.string.errorllamada, Toast.LENGTH_LONG).show();\n }\n }\n\n }", "title": "" }, { "docid": "4b39c4ef303bade7ec5425e4a6897f18", "score": "0.5697636", "text": "public boolean isCallPermissionAllowed() {\n //Getting the permission status\n int result = ContextCompat.checkSelfPermission(this, Manifest.permission.CALL_PHONE);\n\n //If permission is granted returning true\n if (result == PackageManager.PERMISSION_GRANTED)\n return true;\n\n //If permission is not granted returning false\n return false;\n }", "title": "" }, { "docid": "1852be220173c5b2804634762e7ecbf2", "score": "0.56808084", "text": "private boolean checkSystemWritePermission() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if(Settings.System.canWrite(this))\n return true;\n else\n openAndroidPermissionsMenu();\n }\n return false;\n }", "title": "" }, { "docid": "9a4fad61491329918c203cf246d586dc", "score": "0.5670861", "text": "private final void checkModifyItem() {\n // No need to take a snapshot if the device is activated RO\n if (ACTIVE_PROP_VALUE_RO.equals(deviceInstance.getUserProperty(ACTIVE_PROP_NAME))) {\n throw new IllegalStateException(\"Activated read-only\");\n }\n // Activated read-write?\n if (ACTIVE_PROP_VALUE_RW.equals(deviceInstance.getUserProperty(ACTIVE_PROP_NAME))) {\n if (!ACTIVE_PROP_VALUE_RW.equals(deviceInstance.getUserProperty(ACTIVE_PROP_NAME_NODE))) {\n throw new IllegalStateException(\"Activated read-write\");\n }\n }\n }", "title": "" }, { "docid": "69971bc08636d9c00cf8f7285a631f59", "score": "0.55744296", "text": "private static boolean checkPrivilegedReadPermissionOrCarrierPrivilegePermission(\n Context context, int subId, String callingPackage, String message,\n boolean allowCarrierPrivilegeOnAnySub) {\n int uid = Binder.getCallingUid();\n int pid = Binder.getCallingPid();\n // Allow system and root access to the device identifiers.\n final int appId = UserHandle.getAppId(uid);\n if (appId == Process.SYSTEM_UID || appId == Process.ROOT_UID) {\n return true;\n }\n // Allow access to packages that have the READ_PRIVILEGED_PHONE_STATE permission.\n if (context.checkPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, pid,\n uid) == PackageManager.PERMISSION_GRANTED) {\n return true;\n }\n\n // If the calling package has carrier privileges for specified sub, then allow access.\n if (checkCarrierPrivilegeForSubId(subId)) return true;\n\n // If the calling package has carrier privileges for any subscription\n // and allowCarrierPrivilegeOnAnySub is set true, then allow access.\n if (allowCarrierPrivilegeOnAnySub && checkCarrierPrivilegeForAnySubId(\n context, TELEPHONY_SUPPLIER, uid)) {\n return true;\n }\n\n // if the calling package is not null then perform the DevicePolicyManager device /\n // profile owner and Appop checks.\n if (callingPackage != null) {\n // Allow access to an app that has been granted the READ_DEVICE_IDENTIFIERS app op.\n long token = Binder.clearCallingIdentity();\n AppOpsManager appOpsManager = (AppOpsManager) context.getSystemService(\n Context.APP_OPS_SERVICE);\n try {\n if (appOpsManager.noteOpNoThrow(AppOpsManager.OPSTR_READ_DEVICE_IDENTIFIERS, uid,\n callingPackage) == AppOpsManager.MODE_ALLOWED) {\n return true;\n }\n } finally {\n Binder.restoreCallingIdentity(token);\n }\n // Allow access to a device / profile owner app.\n DevicePolicyManager devicePolicyManager =\n (DevicePolicyManager) context.getSystemService(\n Context.DEVICE_POLICY_SERVICE);\n if (devicePolicyManager != null && devicePolicyManager.checkDeviceIdentifierAccess(\n callingPackage, pid, uid)) {\n return true;\n }\n }\n return reportAccessDeniedToReadIdentifiers(context, subId, pid, uid, callingPackage,\n message);\n }", "title": "" }, { "docid": "b5a427b212964bca1d437760ebbb995e", "score": "0.5570686", "text": "private void checkPermissions() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if (!permissionManager.checkPermissions(getApplicationContext(), PERMISSIONS)) {\n requestPermissions(PERMISSIONS, PERMISSION_REQUEST);\n } else {\n // Permission was granted.\n network.listen(getApplicationContext());\n }\n } else {\n // Version is below Marshmallow.\n network.listen(getApplicationContext());\n }\n }", "title": "" }, { "docid": "6ac2dfc380f8427ce68c62fcee37de69", "score": "0.55267435", "text": "public static boolean checkCallingOrSelfReadPhoneStateNoThrow(\n Context context, int subId, String callingPackage, String message) {\n try {\n return checkCallingOrSelfReadPhoneState(context, subId, callingPackage, message);\n } catch (SecurityException se) {\n return false;\n }\n }", "title": "" }, { "docid": "d2c802b93747abfad1ca2ce8c00fea43", "score": "0.5516337", "text": "public void runtimePermission() {\r\n if (ButtonClickedChecked == 333) {\r\n if (ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.CALL_PHONE) == PackageManager.PERMISSION_GRANTED) {\r\n makeCall(phoneNumber);\r\n } else {\r\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\r\n if (shouldShowRequestPermissionRationale(Manifest.permission.CALL_PHONE)) {\r\n Toast.makeText(getApplicationContext(), \"Permission required\", Toast.LENGTH_SHORT).show();\r\n }\r\n requestPermissions(new String[]{Manifest.permission.CALL_PHONE}, REQUEST_CODE_CALL);\r\n } else {\r\n makeCall(phoneNumber);\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "a68c8865b08bf804044e9ab4f01c570c", "score": "0.5481776", "text": "public static boolean checkReadPhoneState(\n Context context, int subId, int pid, int uid, String callingPackage, String message) {\n return checkReadPhoneState(\n context, TELEPHONY_SUPPLIER, subId, pid, uid, callingPackage, message);\n }", "title": "" }, { "docid": "cc190556830d5522714bcba191f60a31", "score": "0.54631466", "text": "public boolean isPermissionGranted() {\n if (Build.VERSION.SDK_INT >= 23) {\n if (checkSelfPermission(android.Manifest.permission.CALL_PHONE) == PackageManager.PERMISSION_GRANTED) {\n Log.v(s_LOG_TAG, \"Permission is granted\");\n return true;\n } else {\n Log.v(s_LOG_TAG, \"Permission is revoked\");\n ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CALL_PHONE}, 1);\n return false;\n }\n } else {\n Log.v(s_LOG_TAG, \"Permission is granted\");\n return true;\n }\n }", "title": "" }, { "docid": "da0e32d6ff489b0f98691a6bcf63c0ac", "score": "0.54285634", "text": "public void requestPermissions() {\n // Here, thisActivity is the current activity\n if (ContextCompat.checkSelfPermission(BaseActivity.this,\n Manifest.permission.CALL_PHONE)\n != PackageManager.PERMISSION_GRANTED) {\n\n if (ActivityCompat.shouldShowRequestPermissionRationale(BaseActivity.this,\n Manifest.permission.CALL_PHONE)) {\n\n // Show an explanation to the user *asynchronously* -- don't block\n // this thread waiting for the user's response! After the user\n // sees the explanation, try again to request the permission.\n }\n\n //And finally ask for the permission\n ActivityCompat.requestPermissions(BaseActivity.this,\n new String[]{Manifest.permission.CALL_PHONE},\n PERMISSIONS_REQUEST_CALL_PHONE);\n }\n }", "title": "" }, { "docid": "2fc1435f6a00a8276f18f75965de4e74", "score": "0.5426724", "text": "public void enforceNotIsolatedCaller(String caller) {\n if (UserHandle.isIsolated(Binder.getCallingUid())) {\n throw new SecurityException(\"Isolated process not allowed to call \" + caller);\n }\n }", "title": "" }, { "docid": "bfd836ab5d455b2e042875accc4d5d26", "score": "0.54204416", "text": "boolean hasUserPhoneStatus();", "title": "" }, { "docid": "41a5df50d9b5b50ddc9192a527650dd5", "score": "0.5402773", "text": "public boolean isSMSPermissionGranted(){\n if (Build.VERSION.SDK_INT >= 23) {\n if (checkSelfPermission(android.Manifest.permission.SEND_SMS) == PackageManager.PERMISSION_GRANTED) {\n Log.v(s_LOG_TAG, \"Permission is granted\");\n System.out.println(\"Permission is granted\");\n return true;\n } else {\n Log.v(s_LOG_TAG, \"Permission is revoked\");\n System.out.println(\"Permission is revoked\");\n ActivityCompat.requestPermissions(this, new String[]{android.Manifest.permission.SEND_SMS}, 0);\n return false;\n }\n } else { //permission is automatically granted on sdk<23 upon installation\n Log.v(s_LOG_TAG, \"Permission is granted\");\n return true;\n }\n }", "title": "" }, { "docid": "999cb86841db6b0b968dfe90a9af54d7", "score": "0.5374804", "text": "private void checkForSmsPermission() {\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.SEND_SMS) != PackageManager.PERMISSION_GRANTED) {\n // Permission not yet granted. Use requestPermissions().\n // MY_PERMISSIONS_REQUEST_SEND_SMS is an app-defined int constant.\n // The callback method gets the result of the request.\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.SEND_SMS},\n MY_PERMISSIONS_REQUEST_SEND_SMS);\n } else {\n // Permission already granted.\n }\n }", "title": "" }, { "docid": "0ec9ac69938d951425fbd99a5a5e91d1", "score": "0.53481555", "text": "int checkCarrierPrivilegesForPackageAnyPhone(String pkgName);", "title": "" }, { "docid": "40403a28137e659c3121c683d3e66251", "score": "0.5333334", "text": "public static void enforceCallingOrSelfCarrierPrivilege(int subId, String message) {\n // NOTE: It's critical that we explicitly pass the calling UID here rather than call\n // TelephonyManager#hasCarrierPrivileges directly, as the latter only works when called from\n // the phone process. When called from another process, it will check whether that process\n // has carrier privileges instead.\n enforceCarrierPrivilege(subId, Binder.getCallingUid(), message);\n }", "title": "" }, { "docid": "d9c32b1d99d82f01c066d31bbf53aee2", "score": "0.5323431", "text": "public void callPhone() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.CALL_PHONE) != PackageManager.PERMISSION_GRANTED) {\n if (shouldShowRequestPermissionRationale(Manifest.permission.CALL_PHONE) == true) {\n explain();\n } else {\n askForPermission();\n }\n } else {\n appelNoYesPermission();\n }\n } else {\n appelNoYesPermission();\n }\n }", "title": "" }, { "docid": "33cdc70c274f62b432021a33c328c384", "score": "0.5318406", "text": "boolean hasSystemBlockedNumberInfo();", "title": "" }, { "docid": "d05234df5e0e4224db179f0193167c36", "score": "0.5299334", "text": "private void enforceManageSensorPrivacyPermission() {\n enforcePermission(android.Manifest.permission.MANAGE_SENSOR_PRIVACY,\n \"Changing sensor privacy requires the following permission: \"\n + MANAGE_SENSOR_PRIVACY);\n }", "title": "" }, { "docid": "126290a7ee15f769961e36ad4c37b157", "score": "0.52794045", "text": "protected void verifySystemAdminOrMonitorUser() {\n if (!isSystemAdminOrMonitorUser()) {\n throw APIException.forbidden\n .insufficientPermissionsForUser(getUserFromContext().getName());\n }\n }", "title": "" }, { "docid": "74cb16a0e61d20c93ead938e5659f6be", "score": "0.5277687", "text": "private void checkPermissions()\n {\n if (!hasLocationPermission())\n {\n requestLocationPermission();\n }\n }", "title": "" }, { "docid": "47f8c931a305be48eb45b838d18df131", "score": "0.52773917", "text": "public boolean isNetworkRoaming(int subId) { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "a186aa5d114ea8d603f58b52071ebc92", "score": "0.52773046", "text": "private boolean checkAndRequestPermissions() {\n int permissionCallPhone = ActivityCompat.checkSelfPermission(this,\n Manifest.permission.CALL_PHONE);\n int locationPermission = ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);\n List<String> listPermissionsNeeded = new ArrayList<>();\n if (locationPermission != PackageManager.PERMISSION_GRANTED) {\n listPermissionsNeeded.add(Manifest.permission.ACCESS_FINE_LOCATION);\n }\n if (permissionCallPhone != PackageManager.PERMISSION_GRANTED) {\n listPermissionsNeeded.add(Manifest.permission.CALL_PHONE);\n }\n if (!listPermissionsNeeded.isEmpty()) {\n ActivityCompat.requestPermissions(this,\n listPermissionsNeeded.toArray(\n new String[listPermissionsNeeded.size()]),1234\n );\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "40749ade56bd4165decd0e708e6c1658", "score": "0.52737147", "text": "private static boolean m16230c(Context context, String str) {\n return context.getPackageManager().checkPermission(str, context.getPackageName()) == 0;\n }", "title": "" }, { "docid": "5077b5e5d8a507264cfb1175a54e9350", "score": "0.5250625", "text": "private void checkForSmsPermission() {\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.RECEIVE_SMS) != PackageManager.PERMISSION_GRANTED\n ||\n ActivityCompat.checkSelfPermission(this,\n Manifest.permission.SEND_SMS) != PackageManager.PERMISSION_GRANTED\n ||\n ActivityCompat.checkSelfPermission(this,\n Manifest.permission.INTERNET) != PackageManager.PERMISSION_GRANTED\n ||\n ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_NETWORK_STATE) != PackageManager.PERMISSION_GRANTED\n ) {\n Log.d(TAG, getString(R.string.permission_not_granted));\n // Permission not yet granted. Use requestPermissions().\n // MY_PERMISSIONS_REQUEST_SEND_SMS is an\n // app-defined int constant. The callback method gets the\n // result of the request.\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.RECEIVE_SMS},\n MY_PERMISSIONS_REQUEST_SMS_RECEIVE);\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.SEND_SMS},\n MY_PERMISSIONS_REQUEST_SEND_SMS);\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.INTERNET},\n MY_PERMISSIONS_REQUEST_SEND_SMS);\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_NETWORK_STATE},\n MY_PERMISSIONS_REQUEST_SEND_SMS);\n }\n if (ActivityCompat.checkSelfPermission(this,\n Manifest.permission.SEND_SMS) != PackageManager.PERMISSION_GRANTED) {\n Log.d(TAG, getString(R.string.permission_not_granted));\n // Permission not yet granted. Use requestPermissions().\n // MY_PERMISSIONS_REQUEST_SEND_SMS is an\n // app-defined int constant. The callback method gets the\n // result of the request.\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.SEND_SMS},\n MY_PERMISSIONS_REQUEST_SEND_SMS);\n } else {\n // Permission already granted. Enable the SMS button.\n enableSmsButton();\n }\n }", "title": "" }, { "docid": "677751f4aaa6fc0ce7c844d0a57022f4", "score": "0.52376276", "text": "boolean hasPhoneBind();", "title": "" }, { "docid": "ec24a783784db0c9bccf2394c1889b8e", "score": "0.5224323", "text": "private void checkMicAccess(){\n if (isMicOn()){\n setMicIsON();\n\n } else {\n setMicIsOFF();\n }\n }", "title": "" }, { "docid": "386c9d9688ffff271151694330b3e2a7", "score": "0.52108246", "text": "@Override\r\n public boolean invalidByTelphonePasswd(String telphone, String passwd)\r\n {\n return false;\r\n }", "title": "" }, { "docid": "63215a0fe58eed622a05a4e20986b30d", "score": "0.52018684", "text": "public static void m109777a(Activity activity) {\n if (VERSION.SDK_INT == 28 && \"45005\".equals(C23484l.m77112a()) && C0683b.m2909b(C6399b.m19921a(), \"android.permission.READ_PHONE_STATE\") != 0) {\n ActivityCompat.m2241a(activity, new String[]{\"android.permission.READ_PHONE_STATE\"}, 109);\n }\n }", "title": "" }, { "docid": "59cde93094b0d9fcbed5195dc1dd7260", "score": "0.51984787", "text": "private boolean checkPermissionForContacts() {\n return PackageManager.PERMISSION_GRANTED == ContextCompat.checkSelfPermission(this, Manifest.permission.READ_CONTACTS);\n }", "title": "" }, { "docid": "0e5adf81cbb1b1ed2207f3b687567add", "score": "0.5181689", "text": "private int detectPermissionsState() {\n\n Boolean permissionsStillRequired = requestUsagePermission || requestNotificationPermission;\n\n if(permissionsStillRequired){\n if(!requestNotificationPermission){\n if(establishStateOfUsageStatisticsPermission()){\n Log.i(TAG, \"usage statistics permission granted\");\n return 6;\n }else{\n return 4;\n }\n }else if(!requestUsagePermission){\n if(establishStateOfNotificationListenerPermission()){\n Log.i(TAG, \"notification listener permission granted\");\n return 6;\n }else{\n return 5;\n }\n }else{\n if(establishStateOfUsageStatisticsPermission()){\n if(establishStateOfNotificationListenerPermission()){\n Log.i(TAG, \"all permissions permission granted\");\n return 6;\n }else{\n return 5;\n }\n }else{\n return 4;\n }\n }\n }else{\n return 6;\n }\n\n }", "title": "" }, { "docid": "66fa3fb1ae251285ff0742e773e67e0c", "score": "0.5180013", "text": "@Override\n public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {\n //super.onRequestPermissionsResult(requestCode, permissions, grantResults);\n super.onRequestPermissionsResult(requestCode, permissions, grantResults);\n switch (requestCode) {\n\n\n case REQUEST_CODE_PHONE_STATE:\n // this means permission granted\n // register receiver\n // set the flag = true\n if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {\n Toast.makeText(this, \"permission granted for phone state\", Toast.LENGTH_SHORT).show();\n IntentFilter phoneFilter = new IntentFilter(TelephonyManager.ACTION_PHONE_STATE_CHANGED);\n registerReceiver(phoneReceiver,phoneFilter);\n isRegistered = true;\n\n } else\n Toast.makeText(this, \"permission denied for phone state\", Toast.LENGTH_SHORT).show();\n break;\n\n }\n }", "title": "" }, { "docid": "e8de26e0363389607759cbb4613adb88", "score": "0.51775444", "text": "public void requestPermission()\r\n\r\n {\n\r\n ActivityCompat.requestPermissions(this,\r\n\r\n new String[]{android.Manifest.permission.CALL_PHONE, android.Manifest.permission.WRITE_EXTERNAL_STORAGE, android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.RECEIVE_SMS}, 1);\r\n\r\n }", "title": "" }, { "docid": "249804488ea388bc3e03cbb7d43cfdca", "score": "0.5171552", "text": "@SuppressWarnings(\"WeakerAccess\")\n public boolean isGranted ( String permission ) {\n return !isMarshmallow () || activity.checkSelfPermission ( permission ) == PackageManager.PERMISSION_GRANTED;\n }", "title": "" }, { "docid": "0e8801427d591e7cba778282eb0c7a42", "score": "0.5165778", "text": "public final void mo12077c() {\n C2442a.m8540a(this.f12796a, \"Permission Contacts Allowed\", null, 2, null);\n }", "title": "" }, { "docid": "622f44b7a09551e1945e0d7a81542477", "score": "0.5159759", "text": "@Override\n public void permissionRefused() {\n }", "title": "" }, { "docid": "ba02b49e359daef34050e1f44ccaf516", "score": "0.5149548", "text": "private void enforceObserveSensorPrivacyPermission() {\n String systemUIPackage = mContext.getString(R.string.config_systemUi);\n if (Binder.getCallingUid() == mPackageManagerInternal\n .getPackageUid(systemUIPackage, MATCH_SYSTEM_ONLY, UserHandle.USER_SYSTEM)) {\n // b/221782106, possible race condition with role grant might bootloop device.\n return;\n }\n enforcePermission(android.Manifest.permission.OBSERVE_SENSOR_PRIVACY,\n \"Observing sensor privacy changes requires the following permission: \"\n + android.Manifest.permission.OBSERVE_SENSOR_PRIVACY);\n }", "title": "" }, { "docid": "3c1ce9308ed84ce330bd1ee83cc20e97", "score": "0.51417387", "text": "public void enforceCallingPermission(String permission, String func) {\n if (checkCallingPermission(permission) != 0) {\n String msg = \"Permission Denial: \" + func + \" from pid=\" + Binder.getCallingPid() + \", uid=\" + Binder.getCallingUid() + \" requires \" + permission;\n Slog.w(TAG, msg);\n throw new SecurityException(msg);\n }\n }", "title": "" }, { "docid": "089223673cbca110b6e2c9498e574206", "score": "0.5121252", "text": "public static int m9558a(Context context, String str) {\n if (str != null) {\n try {\n return context.checkPermission(str, Process.myPid(), Process.myUid());\n } catch (Throwable th) {\n th.printStackTrace();\n return VERSION.SDK_INT >= 23 ? -1 : 0;\n }\n } else {\n throw new IllegalArgumentException(\"permission is null\");\n }\n }", "title": "" }, { "docid": "ea85f9bc292ba1414b6062989e32b158", "score": "0.5115697", "text": "private void requestSMSPermission()\n {\n String permission = Manifest.permission.RECEIVE_SMS;\n\n int grant = ContextCompat.checkSelfPermission(this, permission);\n if (grant != PackageManager.PERMISSION_GRANTED)\n {\n String[] permission_list = new String[1];\n permission_list[0] = permission;\n\n ActivityCompat.requestPermissions(this, permission_list,1);\n }\n }", "title": "" }, { "docid": "3b9f34227a801b25dd0a61e48216fd8f", "score": "0.5112375", "text": "public static void chkPermission(Activity activity) {\n SharedPreferences permissionStatus = activity.getSharedPreferences(\"permissionStatus\", MODE_PRIVATE);\n\n if (ActivityCompat.checkSelfPermission(activity, permissionsRequired[0]) != PackageManager.PERMISSION_GRANTED\n || ActivityCompat.checkSelfPermission(activity, permissionsRequired[1]) != PackageManager.PERMISSION_GRANTED\n || ActivityCompat.checkSelfPermission(activity, permissionsRequired[2]) != PackageManager.PERMISSION_GRANTED) {\n if (ActivityCompat.shouldShowRequestPermissionRationale(activity, permissionsRequired[0])\n || ActivityCompat.shouldShowRequestPermissionRationale(activity, permissionsRequired[1])\n || ActivityCompat.shouldShowRequestPermissionRationale(activity, permissionsRequired[2])) {\n //Show Information about why you need the permission\n ActivityCompat.requestPermissions(activity, permissionsRequired, PERMISSION_CALLBACK_CONSTANT);\n\n } else if (permissionStatus.getBoolean(permissionsRequired[0], false)) {\n //Previously Permission Request was cancelled with 'Dont Ask Again',\n // Redirect to Settings after showing Information about why you need the permission\n sentToSettings = true;\n Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);\n Uri uri = Uri.fromParts(\"package\", activity.getPackageName(), null);\n intent.setData(uri);\n activity.startActivityForResult(intent, REQUEST_PERMISSION_SETTING);\n Toast.makeText(activity.getBaseContext(), \"Go to Permissions to Grant Camera, Phone and Storage\", Toast.LENGTH_LONG).show();\n\n } else {\n //just request the permission\n ActivityCompat.requestPermissions(activity, permissionsRequired, PERMISSION_CALLBACK_CONSTANT);\n }\n\n SharedPreferences.Editor editor = permissionStatus.edit();\n editor.putBoolean(permissionsRequired[0], true);\n editor.commit();\n } else {\n //You already have the permission, just go ahead.\n //proceedAfterPermission();\n }\n\n }", "title": "" }, { "docid": "2651d5ea9e01c46c1848ad245aefeed0", "score": "0.51083577", "text": "public boolean hasUserPhoneStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "88670fa69ecb430adf1b5269d3621969", "score": "0.5107108", "text": "public final void mo12078d() {\n C2442a.m8540a(this.f12796a, \"Permission Contacts Denied\", null, 2, null);\n }", "title": "" }, { "docid": "b81aa07e581b036abe0905264704fbf6", "score": "0.5101977", "text": "public boolean hasUserPhoneStatus() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "02c7e20d3f42338aa7b26deab2c00155", "score": "0.5089386", "text": "@Override\r\n public boolean invalidByTelphone(String telphone)\r\n {\n return false;\r\n }", "title": "" }, { "docid": "3518078c09ae0bff0baed53e59d363df", "score": "0.50881666", "text": "@RequiresApi(api = Build.VERSION_CODES.M)\n public void requestPermissionLlamada()\n {\n //shouldShowRequestPermissionRationale es verdadero solamente si ya se había mostrado\n //anteriormente el dialogo de permisos y el usuario lo negó\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.CALL_PHONE))\n {\n Toast.makeText(getApplicationContext(), R.string.permiso, Toast.LENGTH_LONG).show();\n requestPermissions(new String[]{Manifest.permission.CALL_PHONE},\n MY_WRITE_EXTERNAL_STORAGE);\n } else\n {\n //si es la primera vez se solicita el permiso directamente\n requestPermissions(new String[]{Manifest.permission.CALL_PHONE},\n MY_WRITE_EXTERNAL_STORAGE);\n }\n }", "title": "" }, { "docid": "5bf716897ea4eee16b186c808b57e380", "score": "0.5079333", "text": "public boolean checkAppSwitchAllowedLocked(int sourcePid, int sourceUid, int callingPid, int callingUid, String name) {\n if (this.mAppSwitchesAllowedTime < SystemClock.uptimeMillis() || this.mRecentTasks.isCallerRecents(sourceUid) || checkComponentPermission(\"android.permission.STOP_APP_SWITCHES\", sourcePid, sourceUid, -1, true) == 0 || checkAllowAppSwitchUid(sourceUid)) {\n return true;\n }\n if (callingUid != -1 && callingUid != sourceUid && (checkComponentPermission(\"android.permission.STOP_APP_SWITCHES\", callingPid, callingUid, -1, true) == 0 || checkAllowAppSwitchUid(callingUid))) {\n return true;\n }\n Slog.w(TAG, name + \" request from \" + sourceUid + \" stopped\");\n return false;\n }", "title": "" }, { "docid": "ea00c25558da32c460e1a6e3f6418976", "score": "0.50772005", "text": "private void checkCameraPerms(int requestCode) {\n int hasWriteContactsPermission = ContextCompat.checkSelfPermission(EditMyProfile.this, Manifest.permission.CAMERA);\n if (hasWriteContactsPermission != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[] {Manifest.permission.CAMERA}, REQUEST_CODE_ASK_PERMISSIONS);\n }\n\n }\n takePicture(requestCode);\n }", "title": "" }, { "docid": "f39ffa85a68e9d9d91cee835cb003f52", "score": "0.5060119", "text": "private void checkCamAccess(){\n int permissionCam = ActivityCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.CAMERA);\n if (permissionCam != PackageManager.PERMISSION_GRANTED) {\n setCamIsOFF();\n } else {\n setCamIsON();\n }\n }", "title": "" }, { "docid": "603dfb9a842bbd9e018508b0ece7ef6a", "score": "0.5059156", "text": "public void callPhonePermission() {\n\n /*store the adapterPosition based on the Call the Office Phone number */\n Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse(\"tel:\" + officeDetailsPojoList.get(adapterPosition).getOfficePhone().replace(\"P:\", \"\")));\n /* startActivity of the callIntent */\n mFidelityNationalActivity.startActivity(callIntent);\n\n }", "title": "" }, { "docid": "804fa9c2f70960a66941a3ca6c036eef", "score": "0.5050877", "text": "public static boolean m5357a(Context context) {\n if (context == null || context.getPackageManager() == null) {\n return false;\n }\n return C2294b.m5363b(context).f6270a.getPackageManager().checkPermission(\"android.permission.UPDATE_DEVICE_STATS\", context.getPackageName()) == 0;\n }", "title": "" }, { "docid": "c22b38817b55e0b38cdbe8f99cbb2368", "score": "0.50498456", "text": "private void checkContactsReadPermission() {\n\n // current activity\n if (ContextCompat.checkSelfPermission(getActivity(),\n Manifest.permission.READ_CONTACTS) != PackageManager.PERMISSION_GRANTED) {\n\n // permission can be requested here\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{Manifest.permission.READ_CONTACTS}, REQUEST_CONTACT);\n } else {\n\n // else if already granted permission\n readContact();\n }\n }", "title": "" }, { "docid": "76d98c89e3148e849ab94738401b0dfa", "score": "0.5041077", "text": "public static boolean m9851j(Context context) {\n if (VERSION.SDK_INT >= 23 && context.getPackageManager().checkPermission(\"android.permission.RECORD_AUDIO\", context.getPackageName()) != 0) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "7df8d82965e2124b9ce160593ed33311", "score": "0.502242", "text": "private boolean isReadCallLogAllowed() {\n int result = ContextCompat.checkSelfPermission(this,\n android.Manifest.permission.READ_CALL_LOG);\n\n //If permission is granted returning true\n if (result == PackageManager.PERMISSION_GRANTED)\n return true;\n\n //If permission is not granted returning false\n return false;\n }", "title": "" }, { "docid": "03c6a4bd6ce49cfa40245344fd6ee4de", "score": "0.5009999", "text": "public void permissionCheck() {\n\n int coarselocal = android.support.v4.content.ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_COARSE_LOCATION);\n int finelocal = android.support.v4.content.ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION);\n int readphonestate = android.support.v4.content.ContextCompat.checkSelfPermission(this,\n Manifest.permission.READ_PHONE_STATE);\n int sendsms = android.support.v4.content.ContextCompat.checkSelfPermission(this,\n android.Manifest.permission.SEND_SMS);\n\n //checks if the permissions are granted else starts the dialog window to request them\n\n if ( coarselocal != PackageManager.PERMISSION_GRANTED ||\n finelocal != PackageManager.PERMISSION_GRANTED ||\n sendsms != PackageManager.PERMISSION_GRANTED ||\n readphonestate != PackageManager.PERMISSION_GRANTED) {\n\n /* This method is similar to startActivityforRequest in that we would\n * send in a request code to be handle upon completion of requestPermissions\n */\n\n ActivityCompat.requestPermissions(\n this,\n new String[]{Manifest.permission.ACCESS_COARSE_LOCATION,\n Manifest.permission.ACCESS_FINE_LOCATION,\n Manifest.permission.READ_PHONE_STATE,\n Manifest.permission.PROCESS_OUTGOING_CALLS,\n Manifest.permission.MODIFY_PHONE_STATE,\n Manifest.permission.SEND_SMS},\n 1010);\n }else {\n //If the user already allowed the permissions go straight to login\n login();\n }\n }", "title": "" }, { "docid": "b573a91f46aaf2ac542dbab72a29c475", "score": "0.49980012", "text": "@Override\n public void checkPermission(Permission perm) {\n }", "title": "" }, { "docid": "0d46fdcfc78cff339420c33548ccb7ea", "score": "0.49954286", "text": "private static boolean reportAccessDeniedToReadIdentifiers(Context context, int subId, int pid,\n int uid, String callingPackage, String message) {\n boolean isPreinstalled = false;\n boolean isPrivApp = false;\n ApplicationInfo callingPackageInfo = null;\n try {\n callingPackageInfo = context.getPackageManager().getApplicationInfoAsUser(\n callingPackage, 0, UserHandle.getUserId(uid));\n if (callingPackageInfo != null) {\n if (callingPackageInfo.isSystemApp()) {\n isPreinstalled = true;\n if (callingPackageInfo.isPrivilegedApp()) {\n isPrivApp = true;\n }\n }\n }\n } catch (PackageManager.NameNotFoundException e) {\n // If the application info for the calling package could not be found then assume the\n // calling app is a non-preinstalled app to detect any issues with the check\n Log.e(LOG_TAG, \"Exception caught obtaining package info for package \" + callingPackage,\n e);\n }\n // The current package should only be reported in StatsLog if it has not previously been\n // reported for the currently invoked device identifier method.\n boolean packageReported = sReportedDeviceIDPackages.containsKey(callingPackage);\n if (!packageReported || !sReportedDeviceIDPackages.get(callingPackage).contains(\n message)) {\n Set invokedMethods;\n if (!packageReported) {\n invokedMethods = new HashSet<String>();\n sReportedDeviceIDPackages.put(callingPackage, invokedMethods);\n } else {\n invokedMethods = sReportedDeviceIDPackages.get(callingPackage);\n }\n invokedMethods.add(message);\n StatsLog.write(StatsLog.DEVICE_IDENTIFIER_ACCESS_DENIED, callingPackage, message,\n isPreinstalled, isPrivApp);\n }\n Log.w(LOG_TAG, \"reportAccessDeniedToReadIdentifiers:\" + callingPackage + \":\" + message\n + \":isPreinstalled=\" + isPreinstalled + \":isPrivApp=\" + isPrivApp);\n // if the target SDK is pre-Q then check if the calling package would have previously\n // had access to device identifiers.\n if (callingPackageInfo != null && (\n callingPackageInfo.targetSdkVersion < Build.VERSION_CODES.Q)) {\n if (context.checkPermission(\n android.Manifest.permission.READ_PHONE_STATE,\n pid,\n uid) == PackageManager.PERMISSION_GRANTED) {\n return false;\n }\n if (checkCarrierPrivilegeForSubId(subId)) {\n return false;\n }\n }\n throw new SecurityException(message + \": The user \" + uid\n + \" does not meet the requirements to access device identifiers.\");\n }", "title": "" }, { "docid": "435fb1f959b52d5a37ec4e404c5fd4dc", "score": "0.49947444", "text": "com.android.dialer.phonelookup.PhoneLookupInfo.SystemBlockedNumberInfo getSystemBlockedNumberInfo();", "title": "" }, { "docid": "4b3857a311187509683abbb11da96658", "score": "0.4987454", "text": "@Override\n public void phoneNumberValid(boolean phoneValid) {\n phoneNumberValid = phoneValid;\n\n // in case we get response from EditText that it is not valid, we just do general check\n // and see if any phone numbers are valid. If they are, we allow saving of contact\n if (!phoneValid) {\n phoneNumberValid = allowSavingPhones();\n }\n validateEdit();\n }", "title": "" }, { "docid": "389813e08f95d88868d77fd5287feb19", "score": "0.49842396", "text": "@Override\n public void checkPermission(Permission perm) {\n }", "title": "" }, { "docid": "86ab6f0d083b5357db402985104b251a", "score": "0.49675733", "text": "public boolean isPhoneProviding() {\r\n return (mPhoneProviding > 0);\r\n }", "title": "" }, { "docid": "9296da3e756f759fc01e189151242a32", "score": "0.49670652", "text": "@RequiresApi(api = Build.VERSION_CODES.M)\n private void checkPermissions() {\n final String[] permissionsForRequest = getPermissionsForRequest();\n if (permissionsForRequest.length > 0) {\n askPermissions(permissionsForRequest);\n } else {\n successListener.run();\n }\n }", "title": "" }, { "docid": "e3f2680992c044df6d9688448942367d", "score": "0.4966619", "text": "private boolean checkCallsPermissions(SwitchPreferenceCompat preference) {\n if (!PermissionHelper.areCallingPermissionsGranted(getActivity())) {\n new AlertDialog.Builder(getActivity())\n .setIcon(R.mipmap.ic_launcher)\n .setTitle(R.string.Application_Name)\n .setMessage(R.string.Check_Calling_Permissions)\n .setPositiveButton(\n R.string.Actions_OK,\n (dialog, which) -> PermissionHelper.requestCallingPermissions(this)\n )\n .setNegativeButton(R.string.Actions_No, (dialog, which) -> {\n preference.setChecked(false);\n })\n .show();\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d8b112fc62dd2f62150dd37ce045a0f1", "score": "0.4965727", "text": "public boolean hasPhone() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "d8b112fc62dd2f62150dd37ce045a0f1", "score": "0.4965727", "text": "public boolean hasPhone() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "d5a65dde369e685551b604878c744765", "score": "0.49654055", "text": "@Override\r\n\tpublic int checkPhone(String phone) {\n\t\treturn memberDao.checkPhone(phone);\r\n\t}", "title": "" }, { "docid": "7eb121ccae10a8b5de698023e5d1407b", "score": "0.49589604", "text": "@Override\n\t\t\tpublic void checkPermission(Permission perm) {\n\t\t\t\tif (\"getenv.*\".equals(perm.getName())) {\n\t\t\t\t\tthrow new AccessControlException(\"Accessing the system environment is disallowed\");\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "419f8620ca02a5a65fabf2de16a31e1d", "score": "0.49460512", "text": "public static boolean m9845h(Context context) {\n if (VERSION.SDK_INT >= 23 && context.getPackageManager().checkPermission(\"android.permission.CAMERA\", context.getPackageName()) != 0) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "20dc572f2502b1a2270f0b34784c9050", "score": "0.49429443", "text": "public boolean hasUserPhone() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "21cee324931391033a63051e57a831fb", "score": "0.49395838", "text": "private boolean checkPermisionSendSMS(){\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n if (checkSelfPermission(Manifest.permission.SEND_SMS) != PackageManager.PERMISSION_GRANTED) {\n requestPermissions(new String[]{Manifest.permission.SEND_SMS}, 100);\n Log.i(\"checkPermisionLocation\", \"Se han pedido los permisos de localización\");\n Toast.makeText(this, \"Inténtelo de nuevo\", Toast.LENGTH_LONG).show();\n return false;\n }else{\n Log.i(\"checkPermisionLocation\", \"Permisos de SMS cargados \" +\n \"correctamente\");\n return true;\n }\n }\n return true;\n }", "title": "" }, { "docid": "b4b04df6195190e70f8be8d8fe1b4cdf", "score": "0.49318996", "text": "public boolean hasPhone() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "b4b04df6195190e70f8be8d8fe1b4cdf", "score": "0.49318996", "text": "public boolean hasPhone() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "688b1cab6b9e47d2a23667fdb70765c3", "score": "0.49169052", "text": "public void getPermissionToReadSMS(){\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_SMS) != PackageManager.PERMISSION_GRANTED){\n if(shouldShowRequestPermissionRationale(Manifest.permission.READ_SMS)){\n makeToast(\"Please allow permission\");\n }\n requestPermissions(new String[]{Manifest.permission.READ_SMS}, 1);\n }\n }", "title": "" }, { "docid": "5b890e9ae56c26a316a34b7c1ed77688", "score": "0.49148813", "text": "public void checkPermission(){\n if (ContextCompat.checkSelfPermission(this,Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED){\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n 123);\n }\n }", "title": "" }, { "docid": "4be3f3914bcacf4f34731b4f0774e704", "score": "0.49128783", "text": "void checkRequirement() {\n Intent intent = new Intent(this, ActivityPermission.class);\n startActivityForResult(intent, REQUEST_ALL_PERMISSIONS);\n }", "title": "" }, { "docid": "9daf3d1bbbfaf960df64d70428aaf37b", "score": "0.49103016", "text": "public boolean hasUserPhone() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "6053a7a8898cfabb6999427ca9513e25", "score": "0.49090514", "text": "public native Promise<String> permissionState();", "title": "" }, { "docid": "162f876ce1464f9007fe74a9117b4408", "score": "0.4903042", "text": "boolean hasUserPhone();", "title": "" }, { "docid": "17cf8c7388d34550715418e08da62f7b", "score": "0.4901334", "text": "void checkPhoneReq() {\n if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE)) {\n log(\"Bluetooth LE not supported\");\n supportedText.setText(\"not supported\");\n }\n\n // Initializes Bluetooth adapter.\n final BluetoothManager bluetoothManager =\n (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);\n mBluetoothAdapter = bluetoothManager.getAdapter(); //Req min API 18\n\n // Ensures Bluetooth is available on the device and it is enabled. If not,\n // displays a dialog requesting user permission to enable Bluetooth.\n if (mBluetoothAdapter == null || !mBluetoothAdapter.isEnabled()) {\n //error prompting the user to go to Settings to enable Bluetooth:\n Intent enableBtIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);\n startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT);\n }\n }", "title": "" }, { "docid": "4b05c2a771a2883b699660c7b77d97ac", "score": "0.48950043", "text": "@CalledByNative\n public static boolean isTelephonySupported() {\n Context context = ContextUtils.getApplicationContext();\n TelephonyManager tm =\n (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);\n return (tm.getPhoneType() != TelephonyManager.PHONE_TYPE_NONE);\n }", "title": "" }, { "docid": "4b71de41b696c4cac3ae87141312b019", "score": "0.48927122", "text": "private void requestSmsPermission() {\n if (ContextCompat.checkSelfPermission(MainActivity.this, Manifest.permission.READ_CONTACTS) != PackageManager.PERMISSION_GRANTED) {\n // request permission (see result in onRequestPermissionsResult() method)\n ActivityCompat.requestPermissions(MainActivity.this,\n new String[]{permission.RECEIVE_SMS},2);\n }\n }", "title": "" }, { "docid": "b879d09ebc86e3a45703c12eb327eb5e", "score": "0.48888353", "text": "private void checkPermissions() {\n if (ContextCompat.checkSelfPermission(context, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(BtActivity.this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, LOCATION_PERMISSION_REQUEST);\n } else {\n Intent intent = new Intent(context, DeviceListActivity.class);\n startActivityForResult(intent, SELECT_DEVICE);\n }\n }", "title": "" }, { "docid": "8948e17845b1ff047fe8fc2168a7cd14", "score": "0.4888213", "text": "@Override\n public void checkWrite() {\n checkAccess(AccessType.WRITE, null);\n }", "title": "" }, { "docid": "b0ab953e92ee568ca37f5e7bf596d2e4", "score": "0.48850584", "text": "public int checkCallingPermission(String permission) {\n return checkPermission(permission, Binder.getCallingPid(), UserHandle.getAppId(Binder.getCallingUid()));\n }", "title": "" }, { "docid": "04fa5d320172deb45ddd4de95e1492da", "score": "0.48804468", "text": "private boolean getPermission() {\n //checkSelfPermission을 사용하여 사용자가 권한을 승인해야만 api의 사용이 가능\n //또한, Manifest에서 uses-permission으로 선언된 기능에 대해서만 동의진행이 가능하다\n if (Build.VERSION.SDK_INT >=23 && ContextCompat.checkSelfPermission(this, Manifest.permission.CALL_PHONE) != PackageManager.PERMISSION_GRANTED ||\n ContextCompat.checkSelfPermission(this, Manifest.permission.READ_CONTACTS) != PackageManager.PERMISSION_GRANTED ||\n ContextCompat.checkSelfPermission(this, Manifest.permission.SEND_SMS) != PackageManager.PERMISSION_GRANTED ||\n ContextCompat.checkSelfPermission(this, Manifest.permission.RECEIVE_SMS) != PackageManager.PERMISSION_GRANTED ||\n ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n //전화, 연락처 접근, 위치수신에 대한 권한 요청, String 배열로 복수개의 요청이 가능함\n ActivityCompat.requestPermissions(this, new String[] {Manifest.permission.CALL_PHONE, Manifest.permission.READ_CONTACTS, Manifest.permission.SEND_SMS,\n Manifest.permission.RECEIVE_SMS, Manifest.permission.ACCESS_FINE_LOCATION}, PERMISSION);\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "16d6fb6a0de7c53de6b39eb6fbc54098", "score": "0.48695555", "text": "public static boolean checkCallingOrSelfReadDeviceIdentifiers(Context context, int subId,\n String callingPackage, String message) {\n return checkPrivilegedReadPermissionOrCarrierPrivilegePermission(\n context, subId, callingPackage, message, true);\n }", "title": "" }, { "docid": "85b949e55380f0a61509444398426abb", "score": "0.48632646", "text": "private static void m41572c(Activity activity) {\n String str = \"IntegrationHelper\";\n Log.i(str, \"*** Permissions ***\");\n PackageManager pm = activity.getPackageManager();\n if (pm.checkPermission(\"android.permission.INTERNET\", activity.getPackageName()) == 0) {\n Log.i(str, \"android.permission.INTERNET - VERIFIED\");\n } else {\n Log.e(str, \"android.permission.INTERNET - MISSING\");\n }\n if (pm.checkPermission(\"android.permission.ACCESS_NETWORK_STATE\", activity.getPackageName()) == 0) {\n Log.i(str, \"android.permission.ACCESS_NETWORK_STATE - VERIFIED\");\n } else {\n Log.e(str, \"android.permission.ACCESS_NETWORK_STATE - MISSING\");\n }\n }", "title": "" }, { "docid": "a763851f379ee6ee182b25d5dbfe2a9e", "score": "0.48629346", "text": "private boolean checkPermission(String permission, int request_code) {\n int permissionCheck = ContextCompat.checkSelfPermission(this, permission);\n if (permissionCheck != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(this, new String[]{permission},\n request_code);\n return false;\n } else {\n return true;\n }\n }", "title": "" }, { "docid": "8f44d232591c486d076b397270a32c26", "score": "0.48517823", "text": "public void setSystemProcess() {\n try {\n ServiceManager.addService(\"activity\", this, true, 21);\n ServiceManager.addService(\"procstats\", this.mProcessStats);\n ServiceManager.addService(\"meminfo\", new MemBinder(this), false, 2);\n ServiceManager.addService(\"gfxinfo\", new GraphicsBinder(this));\n ServiceManager.addService(\"dbinfo\", new DbBinder(this));\n ServiceManager.addService(\"cpuinfo\", new CpuBinder(this), false, 1);\n ServiceManager.addService(\"permission\", new PermissionController(this));\n ServiceManager.addService(\"processinfo\", new ProcessInfoService(this));\n ApplicationInfo info = this.mContext.getPackageManager().getApplicationInfo(PackageManagerService.PLATFORM_PACKAGE_NAME, 1049600);\n this.mSystemThread.installSystemApplicationInfo(info, getClass().getClassLoader());\n synchronized (this) {\n try {\n boostPriorityForLockedSection();\n ProcessRecord app = newProcessRecordLocked(info, info.processName, false, 0);\n app.persistent = true;\n app.pid = MY_PID;\n app.maxAdj = -900;\n app.makeActive(this.mSystemThread.getApplicationThread(), this.mProcessStats);\n synchronized (this.mPidsSelfLocked) {\n this.mPidsSelfLocked.put(app.pid, app);\n }\n updateLruProcessLocked(app, false, null);\n updateOomAdjLocked();\n } catch (Throwable th) {\n resetPriorityAfterLockedSection();\n throw th;\n }\n }\n resetPriorityAfterLockedSection();\n this.mAppOpsService.startWatchingMode(HANDLE_TRUST_STORAGE_UPDATE_MSG, null, new IAppOpsCallback.Stub() {\n public void opChanged(int op, int uid, String packageName) {\n if (op == ActivityManagerService.HANDLE_TRUST_STORAGE_UPDATE_MSG && packageName != null && ActivityManagerService.this.mAppOpsService.checkOperation(op, uid, packageName) != 0) {\n ActivityManagerService.this.runInBackgroundDisabled(uid);\n }\n }\n });\n } catch (PackageManager.NameNotFoundException e) {\n throw new RuntimeException(\"Unable to find android system package\", e);\n }\n }", "title": "" }, { "docid": "eea43008a514e9772ba95da81396ee93", "score": "0.48513123", "text": "@Test\n public void hasPermissionState() throws UiObjectNotFoundException {\n clearSharedPreferences(getContext(mainActivityActivityTestRule.getActivity()));\n mainActivityActivityTestRule.launchActivity(null);\n PermissionUtil.enableModifySystemSettings(mainActivityActivityTestRule.getActivity());\n\n // Close the permission dialog\n UiDevice uiDevice = UiDevice.getInstance(getInstrumentation());\n uiDevice.pressBack();\n\n onView(withId(R.id.layout_all_good)).check(matches(isDisplayed()));\n onView(withId(R.id.layout_problem)).check(matches(not(isDisplayed())));\n }", "title": "" }, { "docid": "c487108d2d8cd6dfa086da4532d734d9", "score": "0.48512018", "text": "private boolean isNeedToAskPermissions() {\n return Build.VERSION.SDK_INT >= Build.VERSION_CODES.M;\n }", "title": "" }, { "docid": "3d3c0c2ade06a1470289669392f6713a", "score": "0.4847053", "text": "public void setNativeDebuggingAppLocked(ApplicationInfo app, String processName) {\n if (\"1\".equals(SystemProperties.get(SYSTEM_DEBUGGABLE, \"0\")) || (app.flags & 2) != 0) {\n this.mNativeDebuggingApp = processName;\n return;\n }\n throw new SecurityException(\"Process not debuggable: \" + app.packageName);\n }", "title": "" }, { "docid": "781eff54a857f8823493e3059516fffd", "score": "0.48450565", "text": "private boolean checkSmsPermissions(SwitchPreferenceCompat preference) {\n if (!PermissionHelper.areSmsPermissionsGranted(getContext())) {\n new AlertDialog.Builder(getContext())\n .setIcon(R.mipmap.ic_launcher)\n .setTitle(R.string.Application_Name)\n .setMessage(R.string.Check_Sms_Permissions)\n .setPositiveButton(\n R.string.Actions_OK,\n (dialog, which) -> PermissionHelper.requestSmsPermissions(this)\n )\n .setNegativeButton(R.string.Actions_No, (dialog, which) -> {\n preference.setChecked(false);\n })\n .show();\n return false;\n }\n return true;\n }", "title": "" } ]
131c21aa01efe1780fc52eccb9e7508d
The main method, for testing only.
[ { "docid": "2ef08d290e5ef6e4a826054e819d32bd", "score": "0.0", "text": "public static void main(String args[]) {\r\n\r\n\t\tint numberOfCities = 100;\r\n\r\n\t\tTraditionalGraph world = GenerateSparseGraph(numberOfCities);\r\n\r\n\t\tSystem.out.println(world.toString());\r\n\r\n\t\tfor (int i = 0; i < numberOfCities; i++) {\r\n\t\t\tInteger[] temp = world.getArrayOfNeighborsOf(i);\r\n\t\t\tint j = 0;\r\n\t\t\twhile (j < temp.length) {\r\n\t\t\t\tSystem.out.println(i + \" \" + temp[j] + \" \" + world.getEdgeLength(i, temp[j]));\r\n\t\t\t\tj++;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" } ]
[ { "docid": "352e74fe9be7236a67e8703f282c8a70", "score": "0.8344823", "text": "public static void main() {\n\n\t}", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.7531164", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.7531164", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.7531164", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.7531164", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.7531164", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "af849445052b6ceb7a9485e89a48d61f", "score": "0.7531164", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "a12d48745e8c60378e6eeb0a62f336d0", "score": "0.748394", "text": "public static void main(String[]args) {\n\t\t\n\t}", "title": "" }, { "docid": "064af5ae880b098a7aa00b9dcf071812", "score": "0.7465639", "text": "public static void main(String[] args) {\n\n \n \n }", "title": "" }, { "docid": "5e878606a68c836e445a63320de8bdac", "score": "0.7386723", "text": "public static void main(String[] args) {\n\t\t\t \n\t\t\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "ddc8abddc893e8e557df15d783614abd", "score": "0.7363014", "text": "public static void main( String ...args)\n {\n }", "title": "" }, { "docid": "2e31d8bdcf00eeac83289e96c4a4b6f8", "score": "0.7362855", "text": "private Main() {\r\n }", "title": "" }, { "docid": "fdc62ffe06931270062aa30c26b36b1f", "score": "0.7361118", "text": "public static void main(String[] args) {\n\t\t\t\n\t}", "title": "" }, { "docid": "fdc62ffe06931270062aa30c26b36b1f", "score": "0.7361118", "text": "public static void main(String[] args) {\n\t\t\t\n\t}", "title": "" }, { "docid": "0850c72d60dff5835ebec10d7a49c358", "score": "0.7306424", "text": "public static void main(String[] args) {\n \r\n }", "title": "" }, { "docid": "57c0d248075e22ce3c8b0716d867a443", "score": "0.7298546", "text": "public static void main(String[] args) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "1b7c502bf8c3db5f42c22ac0c81df8b3", "score": "0.72977835", "text": "public static void main(String[] args) {\n \t\n }", "title": "" }, { "docid": "ad5aed88d3919ce180bb142340c28ee0", "score": "0.7291634", "text": "public static void main(String args[]) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aebb9988934d03a186bf4630d8990ec1", "score": "0.7291128", "text": "public static void main(String[] args) {\n\t\t\n\t}", "title": "" }, { "docid": "aa2043fa0cd751b8d69ece424859e7d6", "score": "0.72886986", "text": "public static void main(String[] args){\n\t\t\n\t}", "title": "" }, { "docid": "aa2043fa0cd751b8d69ece424859e7d6", "score": "0.72886986", "text": "public static void main(String[] args){\n\t\t\n\t}", "title": "" }, { "docid": "6e8b1f965e5dfb0e3e26cd6abb326113", "score": "0.7286219", "text": "private Main() { }", "title": "" }, { "docid": "eb7aef70ee504fcad52fcebed6bdf411", "score": "0.7279432", "text": "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "0240dafe10e3f57585566c4937ba03b9", "score": "0.7273487", "text": "public static void main(String[] args){\n \t\n \t\n }", "title": "" }, { "docid": "d1ff69fd74fc30f4cd0c06af435c7e8a", "score": "0.7273368", "text": "public static void main(String[] args) {\n\t\t\r\n\t\r\n\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e9bc9492ef1386eaa5b5034bde52a8f4", "score": "0.7273328", "text": "public static void main(String[] args) {\n\n\n\n\n\n\n\n\n }", "title": "" }, { "docid": "d5e808970386ca6060178c312f5a38a8", "score": "0.72723734", "text": "public static void main(String[] args) {\n \r\n }", "title": "" }, { "docid": "128b8339cbf130491aff516885bb789f", "score": "0.72699153", "text": "public static void main(String args[]) throws Exception\n\t{}", "title": "" }, { "docid": "8d850f5cb3c578c2605174fab9ddeea0", "score": "0.72675914", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "8ea661eeea8e168c963993f35078f08b", "score": "0.72657585", "text": "public static void main( String[] args )\n {\n \t\n }", "title": "" }, { "docid": "5cd42efdfc71cfc62a0983ad3fb8a278", "score": "0.7262406", "text": "public static void main(String[] args) {\n\t\t\n}", "title": "" }, { "docid": "65799f2e932218ca64ac8d8b678441b1", "score": "0.7260138", "text": "public static void main(String[] args) throws IOException {\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "355c65bd47bee09574b47e89199f0b51", "score": "0.7257927", "text": "static public void main(String[] args) {\n\t}", "title": "" }, { "docid": "724ffee93c56f2cac1cf3f608b6dfcdc", "score": "0.72569567", "text": "public static void main(String[] args) {\n\t\n\t\n\t}", "title": "" }, { "docid": "ad73132f4427eb04c0e44ad1af60d2ca", "score": "0.7253944", "text": "public static void main(String[] args)\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "98af8e8b6ea1fecb0f61f0082b2b70b8", "score": "0.72539306", "text": "public static void main(String[] args) {\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "74638e236cf19f12c8fe6569b7682f34", "score": "0.72361827", "text": "public static void main(String[] args) {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "74638e236cf19f12c8fe6569b7682f34", "score": "0.72361827", "text": "public static void main(String[] args) {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "74638e236cf19f12c8fe6569b7682f34", "score": "0.72361827", "text": "public static void main(String[] args) {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e70898354f012c26ffcad526b39fd142", "score": "0.7235246", "text": "public static void main(String[] args) {\n \n\t}", "title": "" }, { "docid": "7a01e63f8b71a86905efc910d4acbf86", "score": "0.7233382", "text": "public static void main(String args[]) {\n\t\t\r\n\t}", "title": "" }, { "docid": "435ea2e86d11284c728387c136ac77f3", "score": "0.72312236", "text": "public static void main(String [] args) { }", "title": "" }, { "docid": "b99d3ae19cbf470df7792af3bf3f0065", "score": "0.72275364", "text": "public static void main(String[] args)\r\n {\n \r\n }", "title": "" }, { "docid": "ad7ddbaa2bb6fee4fab54cfc18d53f22", "score": "0.7225675", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ad7ddbaa2bb6fee4fab54cfc18d53f22", "score": "0.7225675", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ad7ddbaa2bb6fee4fab54cfc18d53f22", "score": "0.7225675", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ad7ddbaa2bb6fee4fab54cfc18d53f22", "score": "0.7225675", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ad7ddbaa2bb6fee4fab54cfc18d53f22", "score": "0.7225675", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ad7ddbaa2bb6fee4fab54cfc18d53f22", "score": "0.7225675", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "b26ed193c4ab48b3fe5067bbd0f8ef82", "score": "0.72177666", "text": "public static void main(String[] args)\n\t{\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "d66ee695906b7380487c9f7578328825", "score": "0.721748", "text": "public static void main(String[] args) {\n }", "title": "" }, { "docid": "323a2c9ab853f4cc62efc34efc3957e3", "score": "0.7213554", "text": "public static void main(String[] args) {\n\r\n }", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b209cf5e1559900dc380dbd82ae6b589", "score": "0.7210117", "text": "public static void main(String[] args) {\n\t\t\r\n\t}", "title": "" }, { "docid": "d71bb165a31d51642a26244280ef720d", "score": "0.72063184", "text": "private Main() {\n }", "title": "" }, { "docid": "92ac8ce26c6ff1e7a7d5008ca31ca051", "score": "0.72060084", "text": "public static void main(String[] args) {\n\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "e9f732d6c4126dc90a67412e60a9373f", "score": "0.7205536", "text": "public static void main(String[] args) throws Exception {\n\n }", "title": "" }, { "docid": "5cbe62bd3e6bb9e9b687bbe93b633d12", "score": "0.72046053", "text": "public static void main(String[] args) {\n\n\t \n\t \n}", "title": "" }, { "docid": "2038dda0cab3990e488a02dc34254945", "score": "0.7202034", "text": "public static void main(String[] args) {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "64fffa5203cd58190d013df0a55b258a", "score": "0.7201602", "text": "public static void main(String args[]) {\r\n }", "title": "" }, { "docid": "64fffa5203cd58190d013df0a55b258a", "score": "0.7201602", "text": "public static void main(String args[]) {\r\n }", "title": "" }, { "docid": "557bb7dc06379c53191ac92a1dad9c7d", "score": "0.71990985", "text": "public static void main(String[] args)\r\n\t\t\t{\n\r\n\t\t\t}", "title": "" }, { "docid": "a6dae3578bc4b4e57e3b9816a3dc3f5f", "score": "0.71979654", "text": "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "64db3057971f5480ed6dda0d1f4ebe03", "score": "0.71975356", "text": "public static void main(String[] args) {\n\n\n\t\t\n\t}", "title": "" }, { "docid": "b537389da1631d5dc4bc519bb41ca73c", "score": "0.7196914", "text": "public static void main(String[] args){\n\t\n\t}", "title": "" }, { "docid": "b1a40ca5c0eb429f9f8bb38c8ae33bc8", "score": "0.7192042", "text": "public Main() {\r\n }", "title": "" }, { "docid": "98d6fa4552703e5cdb81fb8367fca271", "score": "0.7188362", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "87bb2b22b47cb0d6d59c5f8b90cbb135", "score": "0.71844554", "text": "public static void main(String[] args)\r\n\t{\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "af044c5ac3d7b3bae432e308d7adee73", "score": "0.7183331", "text": "public static void main(String[] args) {\r\n \t\r\n }", "title": "" }, { "docid": "5652b1cf07b89e35e9c2259468a1344e", "score": "0.71779954", "text": "public static void main(String[] args) {\n \n }", "title": "" }, { "docid": "3c9445779430046cdc4f3fd7d887ceb6", "score": "0.71728295", "text": "public static void main(String[] args) {\r\n\r\n }", "title": "" }, { "docid": "bd1e466c548b834d27d3723cd0658c46", "score": "0.7164651", "text": "public static void main(String[] args) {\n\n }", "title": "" } ]
16aedf71fb9b09a83df75814e4c9c589
Deprecated. The automated early stopping using convex stopping rule. .google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig convex_stop_config = 8 [deprecated = true];
[ { "docid": "f408c0d6d642fe72cb7a1e9b047aab87", "score": "0.71010655", "text": "@java.lang.Deprecated\n boolean hasConvexStopConfig();", "title": "" } ]
[ { "docid": "748f37f1e33b8d1376adbc3e62bc9fbd", "score": "0.837256", "text": "@java.lang.Deprecated\n com.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfig getConvexStopConfig();", "title": "" }, { "docid": "e201de002215040ebb837e89a2ab5abf", "score": "0.81573945", "text": "@java.lang.Deprecated\n com.google.cloud.aiplatform.v1beta1.StudySpec.ConvexStopConfigOrBuilder\n getConvexStopConfigOrBuilder();", "title": "" }, { "docid": "7fea0c3ca557c9eed7525622d94fe39d", "score": "0.6043384", "text": "com.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpec\n getConvexAutomatedStoppingSpec();", "title": "" }, { "docid": "0912dd029ec9270b3e58d25cf41c05ae", "score": "0.57130784", "text": "com.google.cloud.aiplatform.v1beta1.StudySpec.ConvexAutomatedStoppingSpecOrBuilder\n getConvexAutomatedStoppingSpecOrBuilder();", "title": "" }, { "docid": "9c1bccac8abc722ee8f3cb2c81ee74ae", "score": "0.5216386", "text": "boolean hasConvexAutomatedStoppingSpec();", "title": "" }, { "docid": "b7f90137dad26ce2b3c5db05ccba7111", "score": "0.4592972", "text": "boolean hasDecayCurveStoppingSpec();", "title": "" }, { "docid": "0dac4c1ded3845084265672709458228", "score": "0.43060705", "text": "com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpec\n getDecayCurveStoppingSpec();", "title": "" }, { "docid": "23f8949db7fccb9315d81ba91f2e1b8a", "score": "0.41800696", "text": "public void setConvexPath(@RecentlyNonNull Path convexPath) {\n/* 189 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "697b43d3a66302b8a859277035ca685d", "score": "0.41436768", "text": "public Builder setDwStop(int value) {\n bitField0_ |= 0x00000004;\n dwStop_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f68508b4eb0fd35a39b9b7a8d55ee262", "score": "0.39824224", "text": "public Builder checkForEdgeContamination(Boolean val) {\n\n if (val != null) {\n this.checkForEdgeContamination = val;\n }\n return this;\n }", "title": "" }, { "docid": "d9f7d5070225c5c842b20354743ece6d", "score": "0.39766625", "text": "public ExerciseSnapshot stop(ExerciseConfiguration exerciseConfiguration);", "title": "" }, { "docid": "1467d05229e001be83447d1b14b9b210", "score": "0.39484036", "text": "public Builder setSecurityConfig(com.google.cloud.dataproc.v1.SecurityConfig value) {\n if (securityConfigBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n securityConfig_ = value;\n } else {\n securityConfigBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000400;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d1642a3676fde0708649a00f726e8361", "score": "0.39209405", "text": "com.google.cloud.aiplatform.v1beta1.StudySpec.DecayCurveAutomatedStoppingSpecOrBuilder\n getDecayCurveStoppingSpecOrBuilder();", "title": "" }, { "docid": "d33cc2e6ff8fef68c7627f844c3fa5cc", "score": "0.39007032", "text": "public Builder setPolylineConfig(com.google.cloud.datalabeling.v1beta1.PolylineConfig value) {\n if (polylineConfigBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n requestConfig_ = value;\n onChanged();\n } else {\n polylineConfigBuilder_.setMessage(value);\n }\n requestConfigCase_ = 6;\n return this;\n }", "title": "" }, { "docid": "8a72b13aa22b32b6d71506c313778994", "score": "0.38850018", "text": "public BoundsSolver(Scenario scenario, BoundsSolverConfig config){\n this.vehicle = scenario.vehicle;\n this.config = config;\n }", "title": "" }, { "docid": "4d66ba1b9a69bbe19afb831f0cb62339", "score": "0.38760516", "text": "public OptimizationOptions(boolean verbose, boolean fixConstraints){\n this.verbose = verbose;\n this.fixConstraints = fixConstraints;\n }", "title": "" }, { "docid": "44f097d7ed9d591da9018f19aa087e9f", "score": "0.38618946", "text": "public ModifyInstanceAttributeRequest withDisableApiStop(Boolean disableApiStop) {\n setDisableApiStop(disableApiStop);\n return this;\n }", "title": "" }, { "docid": "b689c3bcda13631f0958823d133a5482", "score": "0.38379", "text": "public void stopEvaluation(List<SolverConfiguration> configs) throws Exception{\n aac.racing.stopEvaluation(configs);\n }", "title": "" }, { "docid": "34c970ce8d85bd841235f9190b9903c0", "score": "0.38355398", "text": "@Deprecated\n\tpublic OrderCancelConfigModel(final boolean _cancelAfterWarehouseAllowed, final boolean _completeCancelAfterShippingStartedAllowed, final boolean _orderCancelAllowed, final boolean _partialCancelAllowed, final boolean _partialOrderEntryCancelAllowed, final int _queuedOrderWaitingTime)\n\t{\n\t\tsuper();\n\t\tsetCancelAfterWarehouseAllowed(_cancelAfterWarehouseAllowed);\n\t\tsetCompleteCancelAfterShippingStartedAllowed(_completeCancelAfterShippingStartedAllowed);\n\t\tsetOrderCancelAllowed(_orderCancelAllowed);\n\t\tsetPartialCancelAllowed(_partialCancelAllowed);\n\t\tsetPartialOrderEntryCancelAllowed(_partialOrderEntryCancelAllowed);\n\t\tsetQueuedOrderWaitingTime(_queuedOrderWaitingTime);\n\t}", "title": "" }, { "docid": "ab6fefb659a0da4da83cfedcdbc07eef", "score": "0.3817863", "text": "VerticalSweepDirection getVerticalLaneSweepDirection();", "title": "" }, { "docid": "c257d0724f839064c08492ca43644aee", "score": "0.381495", "text": "public VariantContextBuilder stop(final long stop) {\n this.stop = stop;\n return this;\n }", "title": "" }, { "docid": "77cca9ac9310000441f1d920104a741b", "score": "0.38131955", "text": "public void setStackTraceStopFilters( String[] value )\n {\n stackTraceStopFilters = value;\n }", "title": "" }, { "docid": "6fb33eb351078b49a1cdde98b89ab7eb", "score": "0.3782503", "text": "public Builder setBoundingPolyConfig(\n com.google.cloud.datalabeling.v1beta1.BoundingPolyConfig value) {\n if (boundingPolyConfigBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n requestConfig_ = value;\n onChanged();\n } else {\n boundingPolyConfigBuilder_.setMessage(value);\n }\n requestConfigCase_ = 5;\n return this;\n }", "title": "" }, { "docid": "972078aebc93ce645642274095fdaa1c", "score": "0.37595257", "text": "public ExcludedBrokersForLeadershipTest(int testId, Goal goal, Set<Integer> excludedBrokersForLeadership, Class<Throwable> exceptionClass, ClusterModel clusterModel, Boolean expectedToOptimize) {\n _testId = testId;\n _goal = goal;\n _optimizationOptions = new OptimizationOptions(Collections.emptySet(), excludedBrokersForLeadership);\n _exceptionClass = exceptionClass;\n _clusterModel = clusterModel;\n _expectedToOptimize = expectedToOptimize;\n }", "title": "" }, { "docid": "6ff7f9cae29864c41b2db669f770b41a", "score": "0.37410188", "text": "ConvexPolygon toConvexPolygon() throws IllegalPolygonException;", "title": "" }, { "docid": "f89120bc960d4ed7ecb0e18bffdcea9c", "score": "0.37245968", "text": "public IBEAEvolutionsLimited(Problem problem, long stoppingValue, ToolInstrumenter toolInstrumenter) {\n\t\tsuper(problem, stoppingValue, toolInstrumenter);\n\t}", "title": "" }, { "docid": "4aaf66bd3da770e73d3f5c137da5a219", "score": "0.3716844", "text": "private boolean stopOpticalCharacteristic() {\n BluetoothGattService service = getService(SensortagUUID.UUID_LUXO_SENSOR_ENABLE);\n\n BluetoothGattCharacteristic opticalConfig = service.find(SensortagUUID.UUID_LUXO_SENSOR_CONFIG.toString());\n\n if (opticalConfig == null) {\n log.error(\"Could not find the correct characteristic.\");\n return false;\n }\n // disable the optical sensor\n opticalConfig.writeValue(new byte[] { 0x00 });\n luxometerSensorEnabled = false;\n\n return true;\n }", "title": "" }, { "docid": "0d890ca9b8f2f0bf726972da2f035eaa", "score": "0.36978066", "text": "@Deprecated\n\tpublic OrderCancelConfigModel(final boolean _cancelAfterWarehouseAllowed, final boolean _completeCancelAfterShippingStartedAllowed, final boolean _orderCancelAllowed, final ItemModel _owner, final boolean _partialCancelAllowed, final boolean _partialOrderEntryCancelAllowed, final int _queuedOrderWaitingTime)\n\t{\n\t\tsuper();\n\t\tsetCancelAfterWarehouseAllowed(_cancelAfterWarehouseAllowed);\n\t\tsetCompleteCancelAfterShippingStartedAllowed(_completeCancelAfterShippingStartedAllowed);\n\t\tsetOrderCancelAllowed(_orderCancelAllowed);\n\t\tsetOwner(_owner);\n\t\tsetPartialCancelAllowed(_partialCancelAllowed);\n\t\tsetPartialOrderEntryCancelAllowed(_partialOrderEntryCancelAllowed);\n\t\tsetQueuedOrderWaitingTime(_queuedOrderWaitingTime);\n\t}", "title": "" }, { "docid": "bc7abb57fc88bb80585fbb13a79ff2c4", "score": "0.3690763", "text": "Option setStopOnBadOption(boolean stopOnBadOption);", "title": "" }, { "docid": "fbb98bea9efeeb5638ecaf7426e60967", "score": "0.36668316", "text": "java.util.concurrent.Future<StopEventsDetectionJobResult> stopEventsDetectionJobAsync(StopEventsDetectionJobRequest stopEventsDetectionJobRequest);", "title": "" }, { "docid": "d5b2fd30ad5494da4c498b8bf2eeb7f7", "score": "0.36620697", "text": "public void refineSolution() {\n\t\tif (SystemSettings.POLYGON_ADJUST_Default != POLYGON_ADJUST_NONE ){\n\t\t\t\n\t//\tlogger.trace(\"inside the refine solution \");\n\t\tif (SystemSettings.POLYGON_ADJUST_Default == POLYGON_ADJUST_MERGE\n\t\t\t\t|| SystemSettings.POLYGON_ADJUST_Default == POLYGON_ADJUST_BOTH) {\n\t\t\t//logger.trace(\" the merge \");\n\t\t\tint count=0;\n\t\t\twhile (RefineSolutionAdjustMerge()&& count<10){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\t\n\t\tif (SystemSettings.POLYGON_ADJUST_Default == POLYGON_ADJUST_DOMINATE_POINT\n\t\t\t\t|| SystemSettings.POLYGON_ADJUST_Default == POLYGON_ADJUST_BOTH) {\n//\t\t\tlogger.trace(\" the dominate \");\n\t\t\tint count=0;\n\t\t\twhile (RefineSolutionDomintate()&& count<10){\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\t//simpleRefineSolutionDominate();\n\t\t}\n\t\n\t\tlogger.trace(\"the segment cound \");\n\t\tint count=0;\n\t\twhile (RefineSolutionSegmentCount()&& count<10){\n\t\t\tcount++;\n\t\t}\n\t\t//logger.trace(\" trying alll........... \");\n\t\t\n\t\t}\n//\t}\n\t\tif (SystemSettings.POLYGON_ADJUST_Default ==POLYGON_ADJUST_ONLY_SEGMENTS)\n\t\t\tRefineSolutionSegmentCount();\n\t\t// first and last musst p 1\n\t\tif (particlePoints.length>0){\n\t\t\t\n\t\tparticlePoints[0] = 1;\n\t\tparticlePoints[particlePoints.length - 1] = 1;\n\t\t}\n\n\t\t// // try to refine the solution .\n\t}", "title": "" }, { "docid": "0b32f4d845fb77597156bd6860a378a9", "score": "0.3641766", "text": "java.util.concurrent.Future<StopTrainingDocumentClassifierResult> stopTrainingDocumentClassifierAsync(\n StopTrainingDocumentClassifierRequest stopTrainingDocumentClassifierRequest);", "title": "" }, { "docid": "378149ea3fd88d0a94a3bee36dc62926", "score": "0.3633773", "text": "public UncminOptimizerConfiguration() {\n// setTolerance(1.e-10); \n setTolerance(0.00001); \n setMaxIterations(50);\n setMethod(LINE_SEARCH);\n setStrategy(LOW_CALL_STRATEGY);\n// setStrategy(HIGH_CALL_STRATEGY);\n }", "title": "" }, { "docid": "80b0300b80d572bdce1351253186bcad", "score": "0.36337605", "text": "@Deprecated\npublic interface CTFeatureFlagsListener {\n\n /**\n * Receives a callback whenever feature flags get updated {@link com.clevertap.android.sdk.featureFlags.CTFeatureFlagsController}\n * object\n * <p style=\"color:#4d2e00;background:#ffcc99;font-weight: bold\" >\n * Note: This method has been deprecated since v5.0.0 and will be removed in the future versions of this SDK.\n * </p>\n */\n @Deprecated\n void featureFlagsUpdated();\n}", "title": "" }, { "docid": "ed1d4cf370dd10c4c62be3b370b4d531", "score": "0.36215246", "text": "@Override\r\n\tpublic void stopCalibration()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "51a1c3d39611baf2df4218134ea7e489", "score": "0.36187017", "text": "public static void stopXYStage() throws Exception\n {\n final String device = getXYStageDevice();\n\n if (!StringUtil.isEmpty(device))\n {\n MicroManager.lock();\n try\n {\n MicroManager.getCore().stop(device);\n }\n finally\n {\n MicroManager.unlock();\n }\n }\n }", "title": "" }, { "docid": "d933dc95965a50091106d6f98d171859", "score": "0.3617068", "text": "private ConstraintJittingThresholdOption( int threshold ) {\n this.threshold = threshold;\n }", "title": "" }, { "docid": "069493bd3da2b7a69485d00f43b1bd1b", "score": "0.36166722", "text": "public void setStop(boolean s) {\r\n stop = s;\r\n }", "title": "" }, { "docid": "79cbe5a6ef78ac55c1a8c5584c7a59e7", "score": "0.36087263", "text": "@ScheduledApiChange(when = \"6.0\", details = \"Default implementation will be removed.\")\n default void onVehiclePaused(boolean paused) {\n }", "title": "" }, { "docid": "28580e58955d53b7d9b089b3b2302d37", "score": "0.35946098", "text": "private static void m125155a(VEClipAlgorithmParam vEClipAlgorithmParam, VideoSegment videoSegment) {\n if (vEClipAlgorithmParam != null && videoSegment != null && C40173d.m128359d()) {\n String a = videoSegment.mo96896a(false);\n C7573i.m23582a((Object) a, \"videoSegment.getPath(false)\");\n if (C40173d.m128357b(a) && vEClipAlgorithmParam.range > 3000) {\n videoSegment.f100761c = (long) vEClipAlgorithmParam.range;\n }\n }\n }", "title": "" }, { "docid": "06f3478b5d775e8909b041ffdc33835b", "score": "0.35940543", "text": "com.google.cloud.datalabeling.v1beta1.PolylineConfig getPolylineConfig();", "title": "" }, { "docid": "478158fbe3e7141bda7c39ddfbab57ab", "score": "0.35763898", "text": "public Builder setSVTHRESHOLD(int value) {\n validate(fields()[1], value);\n this.SV_THRESHOLD = value;\n fieldSetFlags()[1] = true;\n return this; \n }", "title": "" }, { "docid": "92b8018e1151442b6a5d029ba727e6f7", "score": "0.3570461", "text": "Vect applyFriction(Vect velocity, double seconds, PhysicsConfiguration config) {\n return velocity.times(1.0 - config.getKineticFrictionCoefficient() * seconds \n - config.getVelocityDependentFrictionCoefficient() * velocity.length() * seconds);\n }", "title": "" }, { "docid": "ca68378e8044bfdbaad52476315958ed", "score": "0.35539198", "text": "public void setIgnoreStop(IgnoreStopType value)\n {\n ignoreStop = value;\n }", "title": "" }, { "docid": "d09c2ff78873b9dc394c0c645f1e320a", "score": "0.35524625", "text": "public void setCLOSED_SUSPENSE_CV(BigDecimal CLOSED_SUSPENSE_CV) {\r\n this.CLOSED_SUSPENSE_CV = CLOSED_SUSPENSE_CV;\r\n }", "title": "" }, { "docid": "d89ec6488b6ee1fefec8aeb515b5233c", "score": "0.3551501", "text": "public StopBuilder stop(String app) {\n return new StopBuilder(this).app(app);\n }", "title": "" }, { "docid": "e6ce54072c30db19425ffc63000c8cb7", "score": "0.3543096", "text": "void configure( double ftol, double gtol, int maxIterations );", "title": "" }, { "docid": "cd2861543e89bc7fd6ac51abad97ffab", "score": "0.3530097", "text": "io.envoyproxy.envoy.config.core.v3.RuntimeFeatureFlagOrBuilder getDenyAtDisableOrBuilder();", "title": "" }, { "docid": "9d13e85871df6cf92a5390229a1ed2e7", "score": "0.3524921", "text": "@ServiceId(\"CommandLineTestSuiteEvolver\")\n\tpublic TestSuiteEvolver buildCLITestSuiteEvolver(\n\t\t\tTestSuiteEvolverSource testSuiteEvolverSource,\n\t\t\t@org.gambi.tapestry5.cli.annotations.CLIOption(longName = \"evolve-with\") String evolverName) {\n\n\t\treturn testSuiteEvolverSource.getTestSuiteEvolver(evolverName);\n\t}", "title": "" }, { "docid": "46bf2509507b2f77abe121444908f173", "score": "0.35232082", "text": "java.util.concurrent.Future<StopDominantLanguageDetectionJobResult> stopDominantLanguageDetectionJobAsync(\n StopDominantLanguageDetectionJobRequest stopDominantLanguageDetectionJobRequest);", "title": "" }, { "docid": "d07fa720373f94ad8ebdd96c9bfe7068", "score": "0.3520871", "text": "public Builder setSecurityType(com.hello.suripu.api.ble.SenseCommandProtos.wifi_endpoint.sec_type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n securityType_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9eb02eebf0edcb2f12c826da988ed188", "score": "0.35208598", "text": "private void abortCheckpoint(String failureReason, boolean supportsCheckpoint,\n boolean needsCheckpoint) {\n Slog.e(TAG, failureReason);\n try {\n if (supportsCheckpoint && needsCheckpoint) {\n // Store failure reason for next reboot\n try (BufferedWriter writer =\n new BufferedWriter(new FileWriter(mFailureReasonFile))) {\n writer.write(failureReason);\n } catch (Exception e) {\n Slog.w(TAG, \"Failed to save failure reason: \", e);\n }\n\n // Only revert apex sessions if device supports updating apex\n if (mApexManager.isApexSupported()) {\n mApexManager.revertActiveSessions();\n }\n\n PackageHelper.getStorageManager().abortChanges(\n \"abort-staged-install\", false /*retry*/);\n }\n } catch (Exception e) {\n Slog.wtf(TAG, \"Failed to abort checkpoint\", e);\n // Only revert apex sessions if device supports updating apex\n if (mApexManager.isApexSupported()) {\n mApexManager.revertActiveSessions();\n }\n mPowerManager.reboot(null);\n }\n }", "title": "" }, { "docid": "5f0b81a1f07bdf175501ccc120449dbf", "score": "0.3515325", "text": "public static final AndersenPykhtinSokolLag Conservative()\n\t{\n\t\ttry\n\t\t{\n\t\t\treturn new AndersenPykhtinSokolLag (\n\t\t\t\t15,\n\t\t\t\t9,\n\t\t\t\t8,\n\t\t\t\t3\n\t\t\t);\n\t\t}\n\t\tcatch (java.lang.Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5cde037b2d08fee6a729d5644797a168", "score": "0.35062867", "text": "public Builder setSecurityType(com.hello.suripu.api.ble.SenseCommandProtos.wifi_endpoint.sec_type value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000400;\n securityType_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "55979e7bd051a6e7e8f39b04be35335f", "score": "0.3479209", "text": "@java.lang.Override\n public com.google.cloud.datalabeling.v1beta1.PolylineConfig getPolylineConfig() {\n if (requestConfigCase_ == 6) {\n return (com.google.cloud.datalabeling.v1beta1.PolylineConfig) requestConfig_;\n }\n return com.google.cloud.datalabeling.v1beta1.PolylineConfig.getDefaultInstance();\n }", "title": "" }, { "docid": "81bccaf5cf748df1ab390d69d0d278f9", "score": "0.34787852", "text": "public void setScheduleExclusion(entity.GL7SublineTypeSchedExcl value);", "title": "" }, { "docid": "a707e49f0fa0bec2bab60b7f4dc03db4", "score": "0.34769452", "text": "com.google.cloud.datalabeling.v1beta1.PolylineConfigOrBuilder getPolylineConfigOrBuilder();", "title": "" }, { "docid": "f3bb2134640f4f640ceb8e8d4cccda79", "score": "0.347418", "text": "@Override\n\tpublic void msgStopConveyor(){\n\t\t//TODO\n\t\tconveyor11.stopConveyor();\n\t\tconveyor12.stopConveyor();\n\t}", "title": "" }, { "docid": "3a8763d07c11163e60a3ef3abdb3b5a2", "score": "0.3452676", "text": "public ConvergenceChecker<UnivariatePointValuePair> getConvergenceChecker()\r\n/* 96: */ {\r\n/* 97:149 */ return this.checker;\r\n/* 98: */ }", "title": "" }, { "docid": "cdd47fedfbd6e2a1ff15009adfc7873a", "score": "0.345019", "text": "private static void sweep(DTSweepContext tcx) {\n List<TriangulationPoint> points;\n TriangulationPoint point;\n AdvancingFrontNode node;\n\n points = tcx.getPoints();\n\n for (int i = 1; i < points.size(); i++) {\n point = points.get(i);\n\n node = pointEvent(tcx, point);\n\n if (point.hasEdges()) {\n for (DTSweepConstraint e : point.getEdges()) {\n if (tcx.isDebugEnabled()) {\n tcx.getDebugContext().setActiveConstraint(e);\n }\n edgeEvent(tcx, e, node);\n }\n }\n tcx.update(null);\n }\n }", "title": "" }, { "docid": "9ce5b6e0942a74e398aa75787be50b26", "score": "0.34492192", "text": "public Builder clearDwStop() {\n bitField0_ = (bitField0_ & ~0x00000004);\n dwStop_ = 0;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a626aa986e6da4a2c5b6b4f268ab3bcf", "score": "0.34475133", "text": "public Boolean getDisableApiStop() {\n return this.disableApiStop;\n }", "title": "" }, { "docid": "a055ea79f169bdd522ed3c21f9323ed7", "score": "0.34437776", "text": "java.util.concurrent.Future<StopTrainingEntityRecognizerResult> stopTrainingEntityRecognizerAsync(\n StopTrainingEntityRecognizerRequest stopTrainingEntityRecognizerRequest);", "title": "" }, { "docid": "8f2e9d0242c15ccff2ff3b2850ca9d58", "score": "0.34426007", "text": "public Builder setSegmentationConfig(\n com.google.cloud.datalabeling.v1beta1.SegmentationConfig value) {\n if (segmentationConfigBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n requestConfig_ = value;\n onChanged();\n } else {\n segmentationConfigBuilder_.setMessage(value);\n }\n requestConfigCase_ = 7;\n return this;\n }", "title": "" }, { "docid": "38c9d82e802268397c39f4b5e062823b", "score": "0.34419402", "text": "com.google.cloud.datalabeling.v1beta1.BoundingPolyConfig getBoundingPolyConfig();", "title": "" }, { "docid": "8ba6c9784673a2e26627595c78479797", "score": "0.34365764", "text": "public void setSVTHRESHOLD(Integer value) {\n this.SV_THRESHOLD = value;\n }", "title": "" }, { "docid": "faf69a7f12c535693ac716fd5c33dde6", "score": "0.34335902", "text": "public void setStopGradient(boolean stopGradient) {\r\n this.stopGradient = stopGradient;\r\n }", "title": "" }, { "docid": "05e3df3949031eb684bf9f2caddab5a7", "score": "0.34257278", "text": "public org.LNDCDC_NCS_TCS.NOT_RUN_REASONS.apache.nifi.LNDCDC_NCS_TCS_NOT_RUN_REASONS.Builder setSRCSCHEMANM(java.lang.CharSequence value) {\n validate(fields()[11], value);\n this.SRC_SCHEMA_NM = value;\n fieldSetFlags()[11] = true;\n return this;\n }", "title": "" }, { "docid": "8629a0e80dea616c11a15f29ddd949b3", "score": "0.3414671", "text": "@java.lang.Override\n public boolean hasPolylineConfig() {\n return requestConfigCase_ == 6;\n }", "title": "" }, { "docid": "b2d9a77c5887366c5fe8b5162034e668", "score": "0.34004232", "text": "@Test\n public void testRemoveAllSimpleConvexPolygonAbove2()\n {\n ConcaveHull size2square0center = new ConcaveHull();\n size2square0center.addVertex(1.0, 1.0);\n size2square0center.addVertex(1.0, -1.0);\n size2square0center.addVertex(-1.0, -1.0);\n size2square0center.addVertex(-1.0, 1.0);\n\n LogTools.info(\"{}\", size2square0center.getVertex(0));\n\n // create line and up direction\n Line2D yAxis = new Line2D(2.0, 0.0, 0.0, -1.0);\n\n // cut it above a line\n List<ConcaveHull> result = ConcaveHullCutter.cutPolygonToLeftOfLine(size2square0center, yAxis);\n\n visualizePlanarRegions(size2square0center, result);\n\n assertEquals(0, result.size(), \"supposed to cut\");\n }", "title": "" }, { "docid": "acfde2563343c3c4d6dd17c7ec7ab272", "score": "0.33984947", "text": "B setSpeculativeConfigurationEnabled(boolean newValue);", "title": "" }, { "docid": "10c2b6059ea20b98775f3876afccef50", "score": "0.33935457", "text": "public boolean shouldStop();", "title": "" }, { "docid": "279f3e1831158887e21e72d5165a048b", "score": "0.3392857", "text": "@java.lang.Override\n public boolean hasPolylineConfig() {\n return requestConfigCase_ == 6;\n }", "title": "" }, { "docid": "6a7e2f992fb9fd876dbaf3a7fef52b29", "score": "0.33912206", "text": "private DetectionConfigDTO buildDetectionConfigFromYaml(long tuningStartTime, long tuningEndTime, Map<String, Object> yamlConfig,\n DetectionConfigDTO existingDetectionConfig) throws Exception {\n\n // Configure the tuning window\n if (tuningStartTime == 0L && tuningEndTime == 0L) {\n // default tuning window 28 days\n tuningEndTime = System.currentTimeMillis();\n tuningStartTime = tuningEndTime - TimeUnit.DAYS.toMillis(28);\n }\n\n YamlDetectionConfigTranslator translator = this.translatorLoader.from(yamlConfig, this.provider);\n return translator.withTuningWindow(tuningStartTime, tuningEndTime)\n .withExistingDetectionConfig(existingDetectionConfig)\n .generateDetectionConfig();\n }", "title": "" }, { "docid": "be78fc308593eaa89450679df0828edd", "score": "0.33879226", "text": "public void isStopping() {}", "title": "" }, { "docid": "6778877394d8e30f5229832a0dbc0774", "score": "0.33877748", "text": "void removeServerConfig();", "title": "" }, { "docid": "6778877394d8e30f5229832a0dbc0774", "score": "0.33877748", "text": "void removeServerConfig();", "title": "" }, { "docid": "ad72ab58d4cbfe077a631c800f4a560c", "score": "0.33872747", "text": "io.envoyproxy.envoy.config.core.v3.RuntimeFeatureFlag getDenyAtDisable();", "title": "" }, { "docid": "ac52878fc5f867be1f14cee0900d6fb5", "score": "0.33851817", "text": "ClusterState getBestSolution(List<Host> hosts, List<Vm> vms, VmPlacementConfig config);", "title": "" }, { "docid": "6e87f90576184c34e0ee19cd637c9cf9", "score": "0.33781788", "text": "public void setNonConvex () {\r\n\t\tnonConvex = true;\r\n\t}", "title": "" }, { "docid": "5965dfda61ae4cbc6358762bb83e748d", "score": "0.33777228", "text": "@Accessor(qualifier = \"cancelAfterWarehouseAllowed\", type = Accessor.Type.SETTER)\n\tpublic void setCancelAfterWarehouseAllowed(final boolean value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(CANCELAFTERWAREHOUSEALLOWED, toObject(value));\n\t}", "title": "" }, { "docid": "5dc9bc6d520365ac12845a086455f501", "score": "0.33770892", "text": "java.util.concurrent.Future<StopSentimentDetectionJobResult> stopSentimentDetectionJobAsync(\n StopSentimentDetectionJobRequest stopSentimentDetectionJobRequest);", "title": "" }, { "docid": "ee5a4abc05f14280a6b02e98e38bdb68", "score": "0.33757928", "text": "public CityPartner planToRemovePotentialCustomerListWithCityServiceCenter(CityPartner cityPartner, String cityServiceCenterId, Map<String,Object> options)throws Exception;", "title": "" }, { "docid": "de924e54887bf742abdff18541b57d80", "score": "0.3374103", "text": "pb4server.CancelCureSoliderAskRtOrBuilder getCancelCureSoliderAskRtOrBuilder();", "title": "" }, { "docid": "19644b0e89dd1a4596e6a6ee6974b236", "score": "0.33723295", "text": "public Chi2FeatureSelection(String name, double threshold, boolean yates) {\n\t super(name);\n\t this.chi2Threshold = threshold;\n\t this.yates = yates;\n\t }", "title": "" }, { "docid": "6b6c71d23ad7513af4a858d8d6da30b0", "score": "0.33716553", "text": "public Builder clearSVTHRESHOLD() {\n fieldSetFlags()[1] = false;\n return this;\n }", "title": "" }, { "docid": "0efc60096a10a0d3dacf4f8bbcb49662", "score": "0.33688638", "text": "protected abstract void beforeStop();", "title": "" }, { "docid": "8cf4f3d1441eaea068c9f3c3969e7f57", "score": "0.33568087", "text": "public FilterConfig(final boolean supported, final long maxResults) {\n\t\tthis.supported = supported;\n\t\tthis.maxResults = maxResults;\n\t}", "title": "" }, { "docid": "c31a43942dd92e28eedb961142b980ca", "score": "0.33557394", "text": "Collection<CalibrationSet> getActiveEdges();", "title": "" }, { "docid": "ffb8bbb067219db0d49f97612cec52da", "score": "0.3352435", "text": "public VideoConfigExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "b55604e1f8b38e9b89220519aa93dc6a", "score": "0.33434528", "text": "public Builder setSoftwareConfig(com.google.cloud.dataproc.v1.SoftwareConfig value) {\n if (softwareConfigBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n softwareConfig_ = value;\n } else {\n softwareConfigBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000040;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "62832c8a29551be00fbd348644f13abe", "score": "0.33397847", "text": "public Builder setSecondaryWorkerConfig(\n com.google.cloud.dataproc.v1.InstanceGroupConfig value) {\n if (secondaryWorkerConfigBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n secondaryWorkerConfig_ = value;\n } else {\n secondaryWorkerConfigBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000020;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "403f55c3ecd405fbcb0185b03fe022f8", "score": "0.33343282", "text": "public Builder setConvergeRedPoint(boolean value) {\n \n convergeRedPoint_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "65688cd318105fe712a5ddd2c7bf8d56", "score": "0.33314395", "text": "@java.lang.Override\n public com.google.cloud.datalabeling.v1beta1.PolylineConfigOrBuilder\n getPolylineConfigOrBuilder() {\n if (requestConfigCase_ == 6) {\n return (com.google.cloud.datalabeling.v1beta1.PolylineConfig) requestConfig_;\n }\n return com.google.cloud.datalabeling.v1beta1.PolylineConfig.getDefaultInstance();\n }", "title": "" }, { "docid": "b20b8f44b176e333e621f455abfb1433", "score": "0.33294255", "text": "public void setHardBoundaries(boolean v){\n model.setHardBoundaries(v);\n }", "title": "" }, { "docid": "6d1fc3367ebe16b6aa1542919fdfc1c9", "score": "0.33292922", "text": "public Builder events(@Nullable PointEventsOptionsObject value) {\n object.setEvents(value);\n return this;\n }", "title": "" }, { "docid": "832b1ee2d18115418d5b9f6df178b1c7", "score": "0.33240947", "text": "public void setCheckForFaults(boolean bCheckForFaults)\r\n {\r\n m_ccConfiguration.setCheckForFaults(bCheckForFaults);\r\n }", "title": "" }, { "docid": "d9062162269a0e368adcd66e15450620", "score": "0.33190754", "text": "public void setDisableApiStop(Boolean disableApiStop) {\n this.disableApiStop = disableApiStop;\n }", "title": "" }, { "docid": "0c08a0b0ac3316b029ee0a7bb424d204", "score": "0.33139607", "text": "@Override\n public void onConfigurationChanged(Configuration newConfig) {\n super.onConfigurationChanged(newConfig);\n\n if (fingerCircles != null) {\n fingerCircles.clearCirclePointers();\n }\n \n this.abortCountdown();\n }", "title": "" }, { "docid": "45d595cfac2f0f8101cc2e0ecf800ac1", "score": "0.33127165", "text": "public final void setstopOnMaxLag(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Boolean stoponmaxlag)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.stopOnMaxLag.toString(), stoponmaxlag);\r\n\t}", "title": "" } ]
fb2e96fbf819b2ffd3dc4430e41d7235
Adds an Plant into the group
[ { "docid": "caf28c0a71be3c4a68aae41a7452567d", "score": "0.7834885", "text": "public void addPlant(BasePlant Plant){\n Plants.add(Plant);\n }", "title": "" } ]
[ { "docid": "fad2426d4ca127ec3ab981cb357d94e7", "score": "0.72957104", "text": "@Test\r\n\tpublic void testAddPlant() {\r\n\t\tOverallGame testGame\t=\tnew\tOverallGame();\r\n\t\ttestGame.setGameWindow(new\tgameWindow(testGame));\r\n\t\tGame3\t\ttestGame3\t=\tnew\tGame3(testGame);\r\n\t\ttestGame3.getTimer().stop();\r\n\t\ttestGame3.addPlant(0, 0, \"Grass\");\r\n\t\tPlant\ttestPlant\t=\tnew\tPlant(0,0,\"Grass\");\r\n\t\tassertTrue(testGame3.getPlants().get(0).equals(testPlant));\r\n\t\ttestGame3.addPlant(0, 2, \"Mangrove\");\r\n\t\tPlant\ttestPlant2\t=\tnew\tPlant(0,2,\"Mangrove\");\r\n\t\tassertTrue(testGame3.getPlants().get(1).equals(testPlant2));\r\n\t}", "title": "" }, { "docid": "a72651392424865b6d4b0a2ddca20c46", "score": "0.7166597", "text": "@Override\r\n\tpublic Plant addPlant(Plant plant) {\n\t\tplantRepo.save(plant);\r\n\t\treturn plant;\r\n\r\n\t}", "title": "" }, { "docid": "340c4aebf9ffecf3514709eda707ca11", "score": "0.66537595", "text": "public void addPeasant() {\n \t// assume there is an open square\n \tPosition newPeasantPosition = this.townHall.getPosition().getAdjacentPositions().get(0);\n \t\n \tPeasant recruit = new Peasant(this.peasants.size() + 1, newPeasantPosition);\n \tthis.peasants.put(recruit.id, recruit);\n }", "title": "" }, { "docid": "557b1bf7e7a013909c8f99e19aab37ad", "score": "0.6492989", "text": "public LevelFactory addAllowedPlant(PlantTypes type) {\r\n\t\t\tallowedPlants.add(type);\r\n\t\t\treturn this;\r\n\t\t}", "title": "" }, { "docid": "e2e31eaf0a40c94dfc41432f06f2a54a", "score": "0.62552756", "text": "public void addGroup(Group group);", "title": "" }, { "docid": "2ba13ddba71dc8753d0484c46cd02999", "score": "0.6075749", "text": "@Override\r\n\tpublic void addProductGroup() {\r\n\t\tProductGroup group = getProductGroup();\r\n\t\tpgController.addProductGroup(group, group.getContainer());\r\n\t}", "title": "" }, { "docid": "ba4fd2dfc0a37ba1a564549c896eaf21", "score": "0.6002848", "text": "public abstract void addGroup(Group paramGroup);", "title": "" }, { "docid": "a484411d09f3a754b71d007034cca0f0", "score": "0.59668255", "text": "public abstract void add(Group o);", "title": "" }, { "docid": "f1b5ae802d7da6f9c75be2f253a7c611", "score": "0.5915124", "text": "public void setPlantName(String plantName) {\n this.plantName = plantName;\n }", "title": "" }, { "docid": "772a8bf921d3496cc955c0a105c86cec", "score": "0.58908397", "text": "void addChild(GroupModel subGroup);", "title": "" }, { "docid": "c5ac07d3896df2ac2daaa6242fac6a50", "score": "0.5842261", "text": "@Override\n public void addGroup(Group group) {\n \n }", "title": "" }, { "docid": "d2778edc21d45d119b316b73fcb19970", "score": "0.57508504", "text": "public void addGroup(IGroup newGroup);", "title": "" }, { "docid": "0727a5092212aba0b7ffdc1266c9ae34", "score": "0.57168806", "text": "private void growPlant() {\n myPlant.grow();\n myPlant.changeStage();\n try {\n myPlant.saveHeight(); //TODO: bring all the souts to the UI\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "fe81ca68a4051338d0f6a267d1a4a830", "score": "0.5679905", "text": "public void addPatient(Patient pt){\n patients.add(pt);\n }", "title": "" }, { "docid": "b1977cc0717648e63e8cffda03b0551c", "score": "0.56611115", "text": "public void add()\n\t{\n\t\tadd(this.getInventory(), this);\n\t}", "title": "" }, { "docid": "0702dcaf65ef7414ef5f023f1b99b42d", "score": "0.56499565", "text": "public void addSceneGraphComponent(Group group) {\n non_direct.addChild(group);\n }", "title": "" }, { "docid": "767c8591ea0f57c1da4d0e9345be8b12", "score": "0.56480354", "text": "private void addPlantToLogs(final Plant remPlant) {\n //Set plant drying boolean to false\n remPlant.noLongerDrying();\n\n //Create reference to Logs in database\n DatabaseReference databaseLogs = FirebaseDatabase.getInstance().getReference(\"Logs\");\n\n //We generate a unique Log ID every time\n final String logId = databaseLogs.push().getKey();\n\n //Set the key field in plant object to the key we just got for the Log...\n remPlant.setPlantID(logId);\n\n //Set the value of the child (given the key that was generated)\n databaseLogs.child(logId).setValue(remPlant);\n\n //Create the server timestamp for plantOutTime\n Map map = new HashMap();\n map.put(\"plantOutTime\", ServerValue.TIMESTAMP);\n databaseLogs.child(logId).updateChildren(map);\n\n\n //Asynchronous!\n databaseLogs.child(logId).addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n startTime = (Long) dataSnapshot.child(\"plantInTime\").getValue();\n addPlantToLogs2(logId);\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n throw databaseError.toException();\n }\n });\n }", "title": "" }, { "docid": "f1940607ed7c50b5e85d966bd383175c", "score": "0.5644682", "text": "public void doAddGroup(final Group theGroup) {\r\n }", "title": "" }, { "docid": "f1e062f57557e27238b96bbf6c62cad4", "score": "0.55931944", "text": "void insertGroup(GroupDetail group, GroupInterface parent);", "title": "" }, { "docid": "990d589ef1239bb589b29ac4daecc903", "score": "0.55769616", "text": "@Override\r\n\tpublic Plant updatePlant(Plant plant) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "a98a8b5f99bee4b9c23ee8027986b25f", "score": "0.5559133", "text": "@HandlesEvent(EVENT_ADD)\n public Resolution addGroup()\n {\n displayForm = true;\n return displayGroup();\n }", "title": "" }, { "docid": "1ce5b0f3e4582b94b5475b5bf1b80d55", "score": "0.5558586", "text": "void createIngredientInventory(Plant plant, Long ingredientId, Integer qty, Integer threshold);", "title": "" }, { "docid": "b145de337dcdb4620201e09e76f52221", "score": "0.5548017", "text": "public String getPlantName() {\n return plantName;\n }", "title": "" }, { "docid": "263d170d23e0bbc6d6055be87336afe5", "score": "0.5533261", "text": "public void addGroup( GroupDefinition group )\n \t{\n \t groups.add( group );\n \t}", "title": "" }, { "docid": "a31843c435a8ace4f561091cefab03fa", "score": "0.5532742", "text": "public void addPlanningSlice(PlanningSlice planningSlice){\n this.planning.addSlice(planningSlice);\n }", "title": "" }, { "docid": "93da68c9586dbd0ec21e42180b9cec4d", "score": "0.55184835", "text": "public void addGroup(Group newGroup){\n group_list.add(newGroup);\n return;\n }", "title": "" }, { "docid": "e46c3cfaaabf62b2942ee0d8cb7088b5", "score": "0.5515826", "text": "public void addPart(BikePart p) {\r\n BikePart part;\r\n part = this.findPart(p.getPNumber(), p.getPname());\r\n if (part == null) {\r\n allInventory.add(p);\r\n } else {\r\n part.setIsSale(p.isIsSale());\r\n part.setLPrice(p.getLPrice());\r\n part.setSPrice(p.getSPrice());\r\n part.addQuantity(p.getQuantity());\r\n }\r\n\r\n // inventory.add(part);\r\n qty++;\r\n }", "title": "" }, { "docid": "bbff4ce0fdf46e4937964c0dbad6ca4a", "score": "0.55116844", "text": "public void plant()\n {\n if(this.bombs.size() < this.nbBomb && timer == 0)\n {\n timer = 10;\n\n Bomb bomb = new Bomb(this.power, new Point(this.getPosition()));\n this.bombs.add(bomb);\n EntityManager.getManager().addEntity(bomb);\n }\n }", "title": "" }, { "docid": "805c5ba9241de4e1c4917701b551cbb2", "score": "0.549907", "text": "public void addGroup(Group grp) {\n groups.add(grp);\n }", "title": "" }, { "docid": "fd4b9551d72cb943164fdbf3ddf25d5d", "score": "0.5497521", "text": "@Override\n public void addToGroup(String featureId, String groupName) {\n \n }", "title": "" }, { "docid": "a117dd1f7ca1c30fd7f93c09fb7c6056", "score": "0.5496549", "text": "interface Plant {\n\tpublic void grow();\n}", "title": "" }, { "docid": "58734eb9e9010e8d11f95e0148c2ee65", "score": "0.5441204", "text": "public void addPlmn() throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"plmn\",\n null,\n childrenNames());\n }", "title": "" }, { "docid": "c76bb6e0e0397a98ba4f8cd3723344fa", "score": "0.5436045", "text": "public void addPlanet (String name) {\n\t\t\n\t\tplanets.add(name);\n\t\t\n\t}", "title": "" }, { "docid": "6af1e307ee8544f662f7b963e21142cd", "score": "0.5425453", "text": "private void setPlant() {\n switchCard(TOOLPANEL);\n toolPanel.setPlantListener(new PlantListener() {\n @Override\n public void setPlant(Plant plant, String string) {\n myPlant = plant;\n try {\n myPlant.loadHeight();\n } catch (IOException e) {\n e.printStackTrace();\n }\n JOptionPane.showMessageDialog(null, \"your plant has been set to \" + string);\n setEntry();\n }\n });\n }", "title": "" }, { "docid": "26afe14b734fb77e732d9878c1e2834d", "score": "0.5394649", "text": "public void addPlanet() {\n addPlanet(new Random().nextFloat() / .8f + .2f, 0f);\n }", "title": "" }, { "docid": "08af81f8c4e0ed84aabf551928fb7291", "score": "0.53942996", "text": "@Test\r\n\tpublic void testAddnewGroup_1() {\r\n\t\tGroupAirplaneController groupAPController = new GroupAirplaneController();\r\n\t\tgroupAPController.setUiAirplaneModel(new UiAirplaneModel());\r\n\t\tgroupAPController.setWsrdAdminService(mockWsrdAdminService);\r\n\t\tgroupAPController.setAdvanceFilterModel(new AdvanceFilterModel());\r\n\t\tgroupAPController.setUiUnitType(new UIUnitType());\r\n\t\tgroupAPController.setGroupOwnerModel(new GroupOwnerModel());\r\n\t\tgroupAPController.setWsrdModel(new WsrdModel());\r\n\t\tgroupAPController.setWsrdUtilController(mockUtilController);\r\n\r\n\t\tgroupAPController.addnewGroup();\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "253e3bcbf7026d3aa9007217b47d05da", "score": "0.5356515", "text": "public void addToSpawn(int player) {\n\t\tspawn_sets[player].add(2);\n\t}", "title": "" }, { "docid": "24d0de185750c45e50e5a3769fcfc219", "score": "0.53427345", "text": "public void addParkingFloor(ParkingFloor floor) { }", "title": "" }, { "docid": "1055256dd3fde2e4e60dd9d224579a6b", "score": "0.53365827", "text": "public void add(Group group){\n if (groupListViewModel!=null)\n groupListViewModel.add(group);\n }", "title": "" }, { "docid": "c0b2e4410145894303d2c1e2cb8fc6d0", "score": "0.5319514", "text": "private void embedPowerPlantIn(Robot newRobot) {\n while (newRobot.getPowerPlant() == null) {\n Robot donator = findDonator();\n if (!donator.getPowerPlant().getValue().isBlank()) {\n newRobot.attachPowerPlant(donator\n .donatePowerPlant(newRobot.getSerialNumber()));\n }\n }\n }", "title": "" }, { "docid": "c293757150cf86a644904e2e253d0a29", "score": "0.5312971", "text": "void addPersonToProjectOrGroup(Person p);", "title": "" }, { "docid": "fc5e58cf63bb016b4bc0eb428b284d26", "score": "0.5292204", "text": "List<Ingredient> viewIngredient(Plant plant);", "title": "" }, { "docid": "3574f7e1279106763afc459729e9cd3a", "score": "0.52921396", "text": "private void addVertexRepToGroup(PathwayElement element, PathwayVertexRep vertexRep,\n\t\t\tMap<String, PathwayVertexGroupRep> vertexGroupReps) {\n\t\tif (element.getGroupRef() != null) {\n\t\t\tPathwayVertexGroupRep groupRep = vertexGroupReps.get(element.getGroupRef());\n\t\t\tif (groupRep != null) {\n\t\t\t\tgroupRep.addVertexRep(vertexRep);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "65a37ee8fe2da028150009bab86f9a88", "score": "0.5291404", "text": "@Override\n public void grow() {\n System.out.println(\"Plant Growing\");\n }", "title": "" }, { "docid": "8f7a1c594c3c7a52697d7c804dd74bb0", "score": "0.52689725", "text": "public void add(Section cap1) {\n\te.add(cap1);\n}", "title": "" }, { "docid": "662aca6c5df129ec28424c8f804f4982", "score": "0.52626264", "text": "@Override\r\n\tpublic void addPatient(PatientType patient) {\r\n\t\tpatients.push(patient);\r\n\t}", "title": "" }, { "docid": "a0bdb7f1557abb0cbafa241a69b57e15", "score": "0.52620476", "text": "public void addGroup(String id, DefaultMutableTreeNode node){\n\t\tGroup g = new Group(id);\n\t\tgroupMap.put(id, g);\n\t\tGroupTotalVisitor gtv = new GroupTotalVisitor();\n\t\tvisit(gtv);\n\t\tnode.add(new DefaultMutableTreeNode(id));\t\t\n\t\tJOptionPane.showMessageDialog(null, \"Group has been added\");\n\t\t((DefaultTreeModel) model).reload();\n\t}", "title": "" }, { "docid": "cc1d9b62c3a191f1b1ab2f001e4e5963", "score": "0.5249509", "text": "private void addPart(Part newPart) {\r\n int newID = generateID.getAndIncrement();\r\n while (mainController.getInventory().lookupPart(newID) != null) { newID = generateID.getAndIncrement(); }\r\n newPart.setId(newID);\r\n\r\n mainController.getInventory().addPart(newPart);\r\n }", "title": "" }, { "docid": "2b884f111dbf37513214028d19274701", "score": "0.523672", "text": "List<IngredientInventory> viewIngredientInventory(Plant plant);", "title": "" }, { "docid": "a6696ccf669445e12eb3b99bd9690152", "score": "0.5227365", "text": "@Override\n\tpublic void addPenduduk(PendudukModel penduduk) {\n\t\tlog.info (\"add penduduk with nama {}\", penduduk.getNama());\n\t\tmapper.addPenduduk(penduduk);\n\t}", "title": "" }, { "docid": "aa32faa34246d26f2b96e5f42e7d720f", "score": "0.52125305", "text": "public void addPatient(Patient P) {\n\t\tpatients.add(P);\n\t}", "title": "" }, { "docid": "8f86039595bac2817b06f0dad6e6502f", "score": "0.5205094", "text": "@Override\n\tpublic String addRecord(final PlantAnalysis plantAnalysis) throws Exception {\n\t\tStringBuffer insertsql = new StringBuffer();\n\t\tinsertsql.append(\"insert electricpowerplant_analysis_data\");\n\t\tinsertsql.append(\"(plant_name,plant_capacity,product_year,build_year,start_outlay,\");\n\t\tinsertsql.append(\"consumption_rate,electricity_consumption,power_type,Cooling_type,\");\n\t\tinsertsql.append(\"materials_cost,salary,repairs_cost,other_cost,area_id)\");\n\t\tinsertsql.append(\" VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?)\");\n\t\tPreparedStatementSetter setinsert = new PreparedStatementSetter() {\n\t\t\t@Override\n\t\t\tpublic void setValues(PreparedStatement ps) throws SQLException {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tps.setString(1, plantAnalysis.getPlantName());\n\t\t\t\tps.setString(2, plantAnalysis.getPlantCapacity());\n\t\t\t\tps.setString(3, plantAnalysis.getProductYear());\n\t\t\t\tps.setString(4, plantAnalysis.getBuildYear());\n\t\t\t\tps.setString(5, plantAnalysis.getStartOutlay());\n\t\t\t\tps.setString(6, plantAnalysis.getConsumptionRate());\n\t\t\t\tps.setString(7, plantAnalysis.getElectricityConsumption());\n\t\t\t\tps.setString(8, plantAnalysis.getPowerType());\n\t\t\t\tps.setString(9, plantAnalysis.getCoolingType());\n\t\t\t\tps.setString(10, plantAnalysis.getMaterialsCost());\n\t\t\t\tps.setString(11, plantAnalysis.getSalary());\n\t\t\t\tps.setString(12, plantAnalysis.getRepairsCost());\n\t\t\t\tps.setString(13, plantAnalysis.getOtherCost());\n\t\t\t\tps.setString(14, plantAnalysis.getAreaId());\n\n\t\t\t}\n\n\t\t};\n\t\tjdbcTemplate.update(insertsql.toString(), setinsert);\n\n\t\treturn \"1\";\n\t}", "title": "" }, { "docid": "307b5b643cc090fc119de99d74a16acb", "score": "0.5198551", "text": "public void addProduct(Product p) {\n try {\n sao.create(p);\n } catch (DataAccessException e) {\n System.out.println(\"(Inventory Model) Unable to create product\");\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "c3d90db55020ac9b8b45f1eb1e6ffc8f", "score": "0.5178972", "text": "public void addGravityParticle(GravityParticle particle) {\n //Through DirectionController.fxml, this index will not change\n Group particleGroup = (Group) root.getChildren().get(0);\n\n particleGroup.getChildren().add(particle);\n }", "title": "" }, { "docid": "6d4361cf61722cb0df1d486fc7c547d6", "score": "0.5167681", "text": "public void removePlant(BasePlant Plant){\n Plants.remove(Plant);\n }", "title": "" }, { "docid": "076542d3080ac036b36c81339f20d038", "score": "0.51672095", "text": "@Test\r\n\tpublic void testAddnewUnit_1() {\r\n\t\tGroupAirplaneController groupAPController = new GroupAirplaneController();\r\n\t\tgroupAPController.setUiAirplaneModel(new UiAirplaneModel());\r\n\t\tgroupAPController.setWsrdAdminService(mockWsrdAdminService);\r\n\t\tgroupAPController.setAdvanceFilterModel(new AdvanceFilterModel());\r\n\t\tgroupAPController.setUiUnitType(new UIUnitType());\r\n\t\tgroupAPController.setGroupOwnerModel(new GroupOwnerModel());\r\n\t\tgroupAPController.setWsrdModel(new WsrdModel());\r\n\t\tgroupAPController.setWsrdUtilController(mockUtilController);\r\n\r\n\t\tgroupAPController.addnewUnit();\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2419f8d5fd947e24a7c08c379dc51481", "score": "0.5163055", "text": "public void addPart(Product p) {\n\t\tproductslist.add(p);\n\t}", "title": "" }, { "docid": "a8fa0dc1cf680246a27c75915b7b215e", "score": "0.51605546", "text": "@PostMapping(\"/plants\")\n @Timed\n public ResponseEntity<PlantDTO> createPlant(@Valid @RequestBody PlantDTO plantDTO) throws URISyntaxException {\n log.debug(\"REST request to save Plant : {}\", plantDTO);\n if (plantDTO.getId() != null) {\n throw new BadRequestAlertException(\"A new plant cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n PlantDTO result = plantService.save(plantDTO);\n return ResponseEntity.created(new URI(\"/api/plants/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "title": "" }, { "docid": "5a214a7d49b31afcedd96454f841ec40", "score": "0.5157743", "text": "public void addPlanningDTO(PlanningDTO p){\r\n\t\tfinal String metodo=\"addPlanningDTO\";\r\n\t\tlog.start(metodo);\r\n\t\tif(!commesse.containsKey(p.getDescr_attivita())){\r\n\t\t\tcommesse.put(p.getDescr_attivita(),new ArrayList<PlanningDTO>());\r\n\t\t}\r\n\t\tcommesse.get(p.getDescr_attivita()).add(p);\r\n\t\tlog.end(metodo);\r\n\t}", "title": "" }, { "docid": "3cb27c50bd677f184ca6e0f888126da8", "score": "0.51502335", "text": "public void addProductToDirector(Product p){\n products.add(p);\n }", "title": "" }, { "docid": "3cb4867f786513d2609785f72d66910a", "score": "0.5148591", "text": "public void addGroups(Collection groups);", "title": "" }, { "docid": "980806706da38aa9ddf272e589683be8", "score": "0.5147148", "text": "@Override\n\tpublic String getPlantId() {\n\t\treturn saleInfo.getPlantId();\n\t}", "title": "" }, { "docid": "35794d72f12c12e4d15fa42e522b1e5c", "score": "0.5146145", "text": "public void addParkingFloor(ParkingFloor temParkingFloor){\n this.parkingFloorList.add(temParkingFloor);\n }", "title": "" }, { "docid": "806d691b6af173295314ab0411cfe4ae", "score": "0.51410985", "text": "private void addPlanets() {\n solarSystemViewModel.setSolarSystem();\n }", "title": "" }, { "docid": "80106e1bfdea46a188fcf1d8602451cf", "score": "0.51364803", "text": "public static void add_point(Point point) {\n\n point.canvas = new Group();\n\n StackPane stackPane = new StackPane();\n\n Circle circle = new Circle(40);\n\n if(point instanceof Start_Point)\n circle.setFill(Color.GREEN);\n else if(point instanceof End_Point)\n circle.setFill(Color.RED);\n\n Label label = new Label(point.getName());\n label.setTextFill(Color.WHITE);\n\n stackPane.getChildren().addAll(circle, label);\n\n // Highlighting before choosing the location of new block\n main_gui.topMenu.setDisable(true);\n main_gui.leftMenu.setDisable(true);\n main_gui.canvas.setStyle(\"-fx-background-color: #eeffff;\");\n\n // Handler for choosing of location\n main_gui.canvas.setOnMouseClicked(e -> {\n point.canvas.setLayoutX(e.getX()-40);\n point.canvas.setLayoutY(e.getY()-40);\n\n point.canvas.getChildren().add(stackPane);\n\n main_gui.canvas.getChildren().add(point.canvas);\n\n main_gui.topMenu.setDisable(false);\n main_gui.leftMenu.setDisable(false);\n main_gui.canvas.setStyle(\"-fx-background-color: transparent\");\n\n main_gui.canvas.setOnMouseClicked(null);\n });\n\n // Popup story\n Tooltip.install(point.canvas, new Tooltip(String.valueOf(point.getValue())));\n\n // Handler for double-click to edit on canvas\n point.canvas.setOnMouseClicked(e -> {\n if(e.getClickCount() == 2) {\n handlers.edit_point(false, point);\n }\n });\n\n // Handler for moving\n point.canvas.setOnMouseDragged(e -> handlers.pointDrag(point, e));\n\n }", "title": "" }, { "docid": "5ee15b1d593465745c17977afa27d27c", "score": "0.5126898", "text": "Group createGroup();", "title": "" }, { "docid": "efbc87ec671da1b54c3f3e28ea1784a5", "score": "0.51232517", "text": "public DefaultMutableTreeNode addVehicle(SteeringTree tree)\r\n\t{ \r\n\t\treturn addObject(tree, m_vehicleRoot); \r\n\t}", "title": "" }, { "docid": "c8b778d18caf7446db9a72734f070562", "score": "0.5118227", "text": "public void addSpawnable(Body spawn)\n\t{\n\t\tspawnObjects.add(spawn);\n\t}", "title": "" }, { "docid": "778c93a5a431ab4a1834bba4741da34f", "score": "0.5113691", "text": "public void addMutant()\t{\n\t\tthis.totalNumberOfMutants++;\n\t}", "title": "" }, { "docid": "45796c6c71e8a296fae4fb1bd2594407", "score": "0.5110822", "text": "private void add(tankPannel tankPanel) {\n\t\tsuper.add(tankPanel);\r\n\t}", "title": "" }, { "docid": "ba711fe63d5cc6650fc0fcc29beb94df", "score": "0.51098007", "text": "public void add(Sandwich item){\n data.add(item);\n notifyDataSetChanged();\n }", "title": "" }, { "docid": "cbb68ef24bb9690472ec6eab6c636f25", "score": "0.51030827", "text": "public void addPartner ( Suspect aSuspect ) {\n\t\tif(!partnersOFsuspect.contains( aSuspect ) ) {\n\t\t\tpartnersOFsuspect.add( aSuspect );\t\t\t\n\t\t}\t\n\t}", "title": "" }, { "docid": "9458dbf666d611d0074a6b4373efec54", "score": "0.5089034", "text": "private void setPlantPanels (){\n for (int i = 0; i < 9; i++) {\n for (int j = 0 ; j<5 ; j++) {\n PlantPanel a = new PlantPanel();\n a.setLocation(44 + i * 100, 109 + j * 120);\n int finalI = i;\n int finalJ = j;\n a.addMouseListener(new MouseAdapter() {\n @Override\n public void mouseClicked(MouseEvent e) {\n paintPlant(finalI, finalJ);\n }\n });\n plantPanels[i][j] = a;\n add(a, 0);\n }\n }\n }", "title": "" }, { "docid": "6987ec3f2cb0ec75f2c8b2cc4f88192b", "score": "0.5085378", "text": "@Override\n\tpublic void add(String brand, String color, String gearType, int door) {\n\t\t\n\t}", "title": "" }, { "docid": "fb186578683674750631fce74a6c06a8", "score": "0.50790614", "text": "void addVehicle();", "title": "" }, { "docid": "6a43432a2b867076eb60c213f8c28c83", "score": "0.507804", "text": "public HepProgramBuilder addGroupBegin() {\n checkArgument(group < 0);\n group = instructions.size();\n return addInstruction(new HepInstruction.Placeholder());\n }", "title": "" }, { "docid": "f37bf9e219ae6cd7cdbfaa5606c4d271", "score": "0.5074607", "text": "private void plantComboBoxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_plantComboBoxActionPerformed\n \n Plant plant = getPlant();\n CustomEvent selectNewPlantEvent = new CustomEvent(plant);\n events.trigger(ViewEvent.CHANGE_PLANT_SELECTION, selectNewPlantEvent);\n }", "title": "" }, { "docid": "22fe4fd3b5824e40f74104ee6da68e1b", "score": "0.50732625", "text": "@Override\n public Plant getPlant()\n {\n return (Plant)plantComboBox.getSelectedItem();\n }", "title": "" }, { "docid": "086ef398e7fd335be0e32e99044ae51c", "score": "0.506235", "text": "public static void add(String groupName, ItemGroup newGroup) {\r\n\t\titemGroups.put(groupName, newGroup);\r\n\t}", "title": "" }, { "docid": "edf7f5ca115c68e9309f43bb3c8a10ea", "score": "0.5062041", "text": "public void add(Participation p) {\r\n\r\n }", "title": "" }, { "docid": "1dc0ea12cde768653d9079b3f1e546eb", "score": "0.5059206", "text": "public void addPatient(PatientEntity patient);", "title": "" }, { "docid": "adf236c9a549ea280c7dbfbce36fdf4b", "score": "0.50589293", "text": "public void add(Product product) {\n\t\t\r\n\t}", "title": "" }, { "docid": "c6ca5b5b009ef29147afbd20207eea38", "score": "0.50494397", "text": "public void addParticipant (Participant p)\n {\n pstate.addParticipant(p);\n }", "title": "" }, { "docid": "8b5bc6e3421fa3a072f9f4452afb16dd", "score": "0.5043069", "text": "public void addPlanet(String name, double mass, double distance){\n planets.add(new Planet(name, mass, distance, this));\n }", "title": "" }, { "docid": "1ed3d88d0a69d86d8159d7f71f826a4c", "score": "0.5042514", "text": "public HepProgramBuilder addSubprogram(HepProgram program) {\n checkArgument(group < 0);\n return addInstruction(new HepInstruction.SubProgram(program));\n }", "title": "" }, { "docid": "4497bd45a1d59b9bc75319ad3f1395a2", "score": "0.50409853", "text": "@Override\r\n\tpublic Plant deletePlant(Plant plant) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "e7e048cc75eb674d76b914bbed7b5ef5", "score": "0.5038448", "text": "void add(Drug drug, Profile profile, Boolean current);", "title": "" }, { "docid": "54b882be5d183b6127b9cca045b1f43e", "score": "0.5038099", "text": "@Override\r\n\tpublic void add() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f2b53f5faae72900fef437f44b6bad62", "score": "0.50380486", "text": "public void setPets(Pet newPet){\n\t pets.add(newPet);\n }", "title": "" }, { "docid": "84ab302516db0a68fd2ccb24824a9235", "score": "0.5037829", "text": "GroupItem addItem(@NonNull ChildItem item);", "title": "" }, { "docid": "62423502d04ecb05679ea84be789e1e9", "score": "0.50208557", "text": "private void createGrpDrugs() {\r\n\r\n\t\tgrpSync = new Group(getShell(), SWT.NONE);\r\n\r\n\t\tgrpSync.setText(\" Pacientes a Importar do SESP\");\r\n\t\t\r\n\t\tgrpSync.setBounds(new Rectangle(50, 80, 800, 400));\r\n\t\t\r\n\t\tgrpSync.setFont(ResourceUtils.getFont(iDartFont.VERASANS_8));\r\n\t\t\r\n\t\tcreateDrugsTable();\r\n\t}", "title": "" }, { "docid": "e2abe4d86c529b41447580d344fc89b2", "score": "0.5019726", "text": "private void addContainer(Group group){\n double containerIntensity = 0.1;\n double containerTransparency = 0.01;\n\n // Make the containerBox slightly bigger than the actual size to get rit of flickering textures\n double containerOversize = 0.01*scale;\n Box containerBox = new Box(container.getX_size()*scale + 2*containerOversize,\n container.getY_size()*scale + 2*containerOversize,\n container.getZ_size()*scale + 2*containerOversize);\n\n this.axisGroup = this.makeAxisGroup(container.getX_size()*scale + 2*containerOversize,\n container.getY_size()*scale + 2*containerOversize,\n container.getZ_size()*scale + 2*containerOversize);\n\n PhongMaterial containerMaterial = new PhongMaterial();\n\n containerMaterial.setDiffuseColor(Color.color(containerIntensity, containerIntensity, containerIntensity,\n containerTransparency));\n // No reflections\n containerMaterial.setSpecularColor(Color.color(0.0, 0.0, 0.0, 0.0));\n\n containerBox.setMaterial(containerMaterial);\n group.getChildren().add(containerBox);\n }", "title": "" }, { "docid": "90bdfc1c2e712e98fe3e8bc85d57688c", "score": "0.501703", "text": "public void addPowerUp(Location loc, PowerUp power) {\n powerUpsOnBoard.put(loc, power);\n board.addBoardObject(loc, power);\n }", "title": "" }, { "docid": "e1af0a156f2e2226ef840119b6ed59df", "score": "0.5015835", "text": "public void addCrafts(AppointmentCraft appointmentCraft);", "title": "" }, { "docid": "8b426a582751e5831b9bc7a3650e8698", "score": "0.50108105", "text": "void addPipe()\n {\n View p1 = createPipePart();\n p1.setPrefWidth(64);\n View p2 = createPipePart();\n p2.setPrefSize(90, 40);\n View p3 = createPipePart();\n p3.setPrefSize(90, 40);\n p3.setLeanY(VPos.BOTTOM);\n View p4 = createPipePart();\n p4.setPrefWidth(64);\n\n // Create Pipe VBox view to hold pipe parts\n ColView vbox = new ColView();\n vbox.setAlign(Pos.TOP_CENTER);\n vbox.setPrefHeight(_view.getPrefHeight());\n vbox.setChildren(p1, p2, p3, p4);\n vbox.setSize(vbox.getBestSize());\n _view.addChild(vbox);\n resetPipe(vbox);\n }", "title": "" }, { "docid": "62fe307d48de86386acb498e99f19c9d", "score": "0.50082517", "text": "public void addPet(String id, String name, int typeAnimal, int age, double weight, double height){\r\n\t\tClientHuman temp = findCliente(id);\r\n\t\tif (temp != null){\r\n\t\t\tPet p1 = new Pet(name, typeAnimal, age, weight, height, temp);\r\n\t\t\ttemp.addPets(p1);\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "714a92624029fa59deebe6efa1f6e58f", "score": "0.5005744", "text": "AllocationPattern addNewAllocationPattern( String componentId );", "title": "" }, { "docid": "01ecef5b70d555d6cc5b92d579ed655e", "score": "0.5004364", "text": "@GetMapping(\"/add\")\n public String add(Model theModel) {\n UserGroupEntity theUserGroup = new UserGroupEntity();\n theModel.addAttribute(\"group\", theUserGroup);\n\n return \"group-form\";\n }", "title": "" }, { "docid": "5649a1003125cec3e5c642f307c66ff9", "score": "0.49807832", "text": "public void addPatient(Patient newPatient) {\n Patient current = this.firstPatient;\n\n if (firstPatient != null) {\n while (current.getNextPatient() != null) {\n current = current.getNextPatient();\n }\n current.setNextPatient(newPatient);\n }else{\n firstPatient = newPatient;\n }\n }", "title": "" }, { "docid": "9c314740b557917192c44436dc542a3c", "score": "0.49782497", "text": "public void addPerson() {\r\n\tallBuildings.get(CurrentBuildingIndex).addPerson();\r\n}", "title": "" } ]
146f7adc1ffa746002adfe4fe5cae2d6
repeated .proto.elbrus_pb.NciSpanMessage spans = 2;
[ { "docid": "42af91045e745e44dd2aeb9d984450c4", "score": "0.6714619", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanMessageOrBuilder getSpansOrBuilder(\n int index) {\n return spans_.get(index);\n }", "title": "" } ]
[ { "docid": "a9eef1ce87b3656455c928393930699d", "score": "0.74870044", "text": "loader.elbrus.proto.ElbrusProto.NciSpanMessage getSpans(int index);", "title": "" }, { "docid": "0f28aef4ba67f515c88087ee26bdc921", "score": "0.70818037", "text": "java.util.List<? extends loader.elbrus.proto.ElbrusProto.NciSpanMessageOrBuilder> \n getSpansOrBuilderList();", "title": "" }, { "docid": "d70c8ae6e7133e1b5c51e24690ef535b", "score": "0.6982754", "text": "loader.elbrus.proto.ElbrusProto.NciSpanMessageOrBuilder getSpansOrBuilder(\n int index);", "title": "" }, { "docid": "2c7aaff43199db1c4a0c207f9b5c99cc", "score": "0.6905539", "text": "java.util.List<loader.elbrus.proto.ElbrusProto.NciSpanMessage> \n getSpansList();", "title": "" }, { "docid": "8c2df6ad7640cce25afe188551cd5a6a", "score": "0.6657078", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanMessage.Builder addSpansBuilder() {\n return getSpansFieldBuilder().addBuilder(\n loader.elbrus.proto.ElbrusProto.NciSpanMessage.getDefaultInstance());\n }", "title": "" }, { "docid": "b1e4e48ccd22967d19cedd20b669be58", "score": "0.66501486", "text": "loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage getSpanObjects(int index);", "title": "" }, { "docid": "090b463d1f0438acc1d5aebdd803cd84", "score": "0.6588842", "text": "public java.util.List<? extends loader.elbrus.proto.ElbrusProto.NciSpanMessageOrBuilder> \n getSpansOrBuilderList() {\n return spans_;\n }", "title": "" }, { "docid": "4334612d8e715317503a5c93c924e3ae", "score": "0.6553156", "text": "private NciSpanMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "a3049697e006c409813b4a32ab6e6620", "score": "0.6543462", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanMessageOrBuilder getSpansOrBuilder(\n int index) {\n if (spansBuilder_ == null) {\n return spans_.get(index); } else {\n return spansBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "9d84782a6ddb7050c2abfa2f952af219", "score": "0.6540455", "text": "@Test public void messageWithMultipleSpans_proto3() throws Exception {\n messageWithMultipleSpans(builder(\"multiple_spans_proto3\"), SpanBytesEncoder.PROTO3);\n }", "title": "" }, { "docid": "260f7f3124ab5c90a9b06e51e722a16d", "score": "0.63720435", "text": "@ThriftField(value = 1)\n Builder spans(List<Span> spans);", "title": "" }, { "docid": "1f06ba90eb4a62dfd0473bb815073c35", "score": "0.6316151", "text": "loader.elbrus.proto.ElbrusProto.NciSpanObjectMessageOrBuilder getSpanObjectsOrBuilder(\n int index);", "title": "" }, { "docid": "90bf6a5fc26e13de471fe8988b5d282c", "score": "0.62962085", "text": "public java.util.List<? extends loader.elbrus.proto.ElbrusProto.NciSpanMessageOrBuilder> \n getSpansOrBuilderList() {\n if (spansBuilder_ != null) {\n return spansBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(spans_);\n }\n }", "title": "" }, { "docid": "8ac2895fa6269917d8740f149ba13a24", "score": "0.6225892", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanMessage getSpans(int index) {\n return spans_.get(index);\n }", "title": "" }, { "docid": "88effa1e24577337f4204400efa83106", "score": "0.6205353", "text": "public Builder addSpans(loader.elbrus.proto.ElbrusProto.NciSpanMessage value) {\n if (spansBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSpansIsMutable();\n spans_.add(value);\n onChanged();\n } else {\n spansBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "13424a7b4e9e70a2929d05c707127a7f", "score": "0.6133993", "text": "java.util.List<? extends loader.elbrus.proto.ElbrusProto.NciSpanObjectMessageOrBuilder> \n getSpanObjectsOrBuilderList();", "title": "" }, { "docid": "49b10aab969b0152f5b0a2e17ca8acc5", "score": "0.611423", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanMessage getSpans(int index) {\n if (spansBuilder_ == null) {\n return spans_.get(index);\n } else {\n return spansBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "e48e56309862223647b35789c23325f7", "score": "0.6057495", "text": "public java.util.List<loader.elbrus.proto.ElbrusProto.NciSpanMessage> getSpansList() {\n return spans_;\n }", "title": "" }, { "docid": "7959f7d937848035ef596863df566835", "score": "0.5935556", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanObjectMessageOrBuilder getSpanObjectsOrBuilder(\n int index) {\n return spanObjects_.get(index);\n }", "title": "" }, { "docid": "859da32c47b16adf9b46e6c353b2daeb", "score": "0.5905681", "text": "@Test\n public void messageWithMultipleSpans_thrift() throws Exception {\n Builder builder = builder(\"multiple_spans_thrift\");\n\n byte[] bytes = Codec.THRIFT.writeSpans(TRACE);\n produceSpans(bytes, builder.topic);\n\n try (KafkaCollector collector = builder.build()) {\n collector.start();\n assertThat(receivedSpans.take()).containsExactlyElementsOf(TRACE);\n }\n\n assertThat(kafkaMetrics.messages()).isEqualTo(1);\n assertThat(kafkaMetrics.bytes()).isEqualTo(bytes.length);\n assertThat(kafkaMetrics.spans()).isEqualTo(TRACE.size());\n }", "title": "" }, { "docid": "b800807616fd96a6a583d55daaf9cfb8", "score": "0.5902206", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanObjectMessageOrBuilder getSpanObjectsOrBuilder(\n int index) {\n if (spanObjectsBuilder_ == null) {\n return spanObjects_.get(index); } else {\n return spanObjectsBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "42dd885fe53c25f3e129a771848ad4ab", "score": "0.5876671", "text": "java.util.List<loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage> \n getSpanObjectsList();", "title": "" }, { "docid": "934365f396607d0ee2d60584e4b981d4", "score": "0.58030045", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanMessage.Builder addSpansBuilder(\n int index) {\n return getSpansFieldBuilder().addBuilder(\n index, loader.elbrus.proto.ElbrusProto.NciSpanMessage.getDefaultInstance());\n }", "title": "" }, { "docid": "9a99d23b5815b65b9de8e98276efe740", "score": "0.5800137", "text": "private NciSpanObjectMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "9ffed96f9cf688a0c1834901dfc663cf", "score": "0.57799894", "text": "loader.elbrus.proto.ElbrusProto.SpanProfileMessage getSpanProfiles(int index);", "title": "" }, { "docid": "26faf8b9bd28e5edb68cea38424820a0", "score": "0.5777731", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage.Builder addSpanObjectsBuilder() {\n return getSpanObjectsFieldBuilder().addBuilder(\n loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage.getDefaultInstance());\n }", "title": "" }, { "docid": "d3fe7e27bfed47d98b9b2503a4a352c4", "score": "0.5763578", "text": "public java.util.List<? extends loader.elbrus.proto.ElbrusProto.NciSpanObjectMessageOrBuilder> \n getSpanObjectsOrBuilderList() {\n return spanObjects_;\n }", "title": "" }, { "docid": "40b720bc7e370d4c44414a23c56cfd2f", "score": "0.5758507", "text": "public Builder setSpans(\n int index, loader.elbrus.proto.ElbrusProto.NciSpanMessage value) {\n if (spansBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSpansIsMutable();\n spans_.set(index, value);\n onChanged();\n } else {\n spansBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "4421654f53f34960bcdb5c7874a659c1", "score": "0.57542366", "text": "public java.util.List<loader.elbrus.proto.ElbrusProto.NciSpanMessage> getSpansList() {\n if (spansBuilder_ == null) {\n return java.util.Collections.unmodifiableList(spans_);\n } else {\n return spansBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "e6693eadb7be267e3e12bbf519c54cec", "score": "0.5750351", "text": "@Test public void messageWithMultipleSpans_json2() throws Exception {\n messageWithMultipleSpans(builder(\"multiple_spans_json2\"), SpanBytesEncoder.JSON_V2);\n }", "title": "" }, { "docid": "c818f802c79fdd31044c1a9150889d5e", "score": "0.5727313", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanMessage.Builder getSpansBuilder(\n int index) {\n return getSpansFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "8966345a985f616accfecccd67a4c2e5", "score": "0.56745577", "text": "public Builder addSpans(\n int index, loader.elbrus.proto.ElbrusProto.NciSpanMessage value) {\n if (spansBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSpansIsMutable();\n spans_.add(index, value);\n onChanged();\n } else {\n spansBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "0d76d759a3af439ed77fc6267644e7b0", "score": "0.56352556", "text": "@Test\n public void messageWithMultipleSpans_json() throws Exception {\n Builder builder = builder(\"multiple_spans_json\");\n\n byte[] bytes = Codec.JSON.writeSpans(TRACE);\n produceSpans(bytes, builder.topic);\n\n try (KafkaCollector collector = builder.build()) {\n collector.start();\n assertThat(receivedSpans.take()).containsExactlyElementsOf(TRACE);\n }\n\n assertThat(kafkaMetrics.messages()).isEqualTo(1);\n assertThat(kafkaMetrics.bytes()).isEqualTo(bytes.length);\n assertThat(kafkaMetrics.spans()).isEqualTo(TRACE.size());\n }", "title": "" }, { "docid": "4e38e45995faea840029703512d13e37", "score": "0.56084853", "text": "public Builder addSpanObjects(loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage value) {\n if (spanObjectsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSpanObjectsIsMutable();\n spanObjects_.add(value);\n onChanged();\n } else {\n spanObjectsBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "c65077d2f20b657ee32464383745d9ec", "score": "0.55257547", "text": "@Test\n public void messageWithSingleThriftSpan() throws Exception {\n Builder builder = builder(\"single_span\");\n\n byte[] bytes = Codec.THRIFT.writeSpan(TRACE.get(0));\n produceSpans(bytes, builder.topic);\n\n try (KafkaCollector collector = builder.build()) {\n collector.start();\n assertThat(receivedSpans.take()).containsExactly(TRACE.get(0));\n }\n\n assertThat(kafkaMetrics.messages()).isEqualTo(1);\n assertThat(kafkaMetrics.bytes()).isEqualTo(bytes.length);\n assertThat(kafkaMetrics.spans()).isEqualTo(1);\n }", "title": "" }, { "docid": "aa98c29e3052f7fd6296608401f10b83", "score": "0.54976654", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage getSpanObjects(int index) {\n if (spanObjectsBuilder_ == null) {\n return spanObjects_.get(index);\n } else {\n return spanObjectsBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "40dd8110b87a977c5c2985b6aabfbffa", "score": "0.54649997", "text": "org.w3.x1999.xhtml.SpanDocument.Span getSpanArray(int i);", "title": "" }, { "docid": "6348b619dabe9a66c6c5f7653058d3f6", "score": "0.5445223", "text": "public java.util.List<? extends loader.elbrus.proto.ElbrusProto.NciSpanObjectMessageOrBuilder> \n getSpanObjectsOrBuilderList() {\n if (spanObjectsBuilder_ != null) {\n return spanObjectsBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(spanObjects_);\n }\n }", "title": "" }, { "docid": "6161966cace62f320a408530cea5c4d0", "score": "0.54359704", "text": "public interface Span {\n\n\t/**\n\t * A human-readable name assigned to this span instance.\n\t * <p/>\n\t */\n\tString getName();\n\n\t/**\n\t * A pseudo-unique (random) number assigned to this span instance.\n\t * <p/>\n\t * <p/>\n\t * The spanId is immutable and cannot be changed. It is safe to access this from\n\t * multiple threads.\n\t */\n\tString getSpanId();\n\n\t/**\n\t * A pseudo-unique (random) number assigned to the trace associated with this span\n\t */\n\tString getTraceId();\n\n\t/**\n\t * Return a unique id for the process from which this Span originated.\n\t * <p/>\n\t * <p/>\n\t * Will never be null.\n\t */\n\tString getProcessId();\n\n\t/**\n\t * Returns the parent IDs of the span.\n\t * <p/>\n\t * <p/>\n\t * The collection will be empty if there are no parents.\n\t */\n\tList<String> getParents();\n\n\t/**\n\t * Flag that tells us whether the span was started in another process. Useful in RPC\n\t * tracing when the receiver actually has to add annotations to the senders span.\n\t */\n\tboolean isRemote();\n\n\t/**\n\t * The block has completed, stop the clock\n\t */\n\tvoid stop();\n\n\t/**\n\t * Get the start time, in milliseconds\n\t */\n\tlong getBegin();\n\n\t/**\n\t * Get the stop time, in milliseconds\n\t */\n\tlong getEnd();\n\n\t/**\n\t * Return the total amount of time elapsed since start was called, if running, or\n\t * difference between stop and start\n\t */\n\tlong getAccumulatedMillis();\n\n\t/**\n\t * Has the span been started and not yet stopped?\n\t */\n\tboolean isRunning();\n\n\t/**\n\t * Add a data annotation associated with this span\n\t */\n\tvoid addAnnotation(String key, String value);\n\n\t/**\n\t * Add a timeline annotation associated with this span\n\t */\n\tvoid addTimelineAnnotation(String msg);\n\n\t/**\n\t * Get data associated with this span (read only)\n\t * <p/>\n\t * <p/>\n\t * Will never be null.\n\t */\n\tMap<String, String> getAnnotations();\n\n\t/**\n\t * Get any timeline annotations (read only)\n\t * <p/>\n\t * <p/>\n\t * Will never be null.\n\t */\n\tList<TimelineAnnotation> getTimelineAnnotations();\n}", "title": "" }, { "docid": "a591d381de88d77d889405f6795e2216", "score": "0.5390475", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage getSpanObjects(int index) {\n return spanObjects_.get(index);\n }", "title": "" }, { "docid": "5cd02accff4bcd4988a3a91349c0f969", "score": "0.5323763", "text": "loader.elbrus.proto.ElbrusProto.NciDataMessageOrBuilder getTimetableNciOrBuilder();", "title": "" }, { "docid": "6e82470b4a5fa577ca7fe2dbf56f0248", "score": "0.5298491", "text": "loader.elbrus.proto.ElbrusProto.SpanProfileMessageOrBuilder getSpanProfilesOrBuilder(\n int index);", "title": "" }, { "docid": "423b8f8db395362ccf361b9bb60e88de", "score": "0.5252662", "text": "public Builder addAllSpans(\n java.lang.Iterable<? extends loader.elbrus.proto.ElbrusProto.NciSpanMessage> values) {\n if (spansBuilder_ == null) {\n ensureSpansIsMutable();\n super.addAll(values, spans_);\n onChanged();\n } else {\n spansBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" }, { "docid": "bcbce7799acdbd22fba139923e0e4efb", "score": "0.52482927", "text": "public interface Span {\n\t/**\n\t * The block has completed, stop the clock\n\t */\n\tvoid stop();\n\n\t/**\n\t * Get the start time, in milliseconds\n\t */\n\tlong getBegin();\n\n\t/**\n\t * Get the stop time, in milliseconds\n\t */\n\tlong getEnd();\n\n\t/**\n\t * Return the total amount of time elapsed since start was called, if running,\n\t * or difference between stop and start\n\t */\n\tlong getAccumulatedMillis();\n\n\t/**\n\t * Has the span been started and not yet stopped?\n\t */\n\tboolean isRunning();\n\n\t/**\n\t * Return a textual name of this span.<p/>\n\t * <p/>\n\t * Will never be null.\n\t */\n\tString getName();\n\n\t/**\n\t * A pseudo-unique (random) number assigned to this span instance.<p/>\n\t * <p/>\n\t * The spanId is immutable and cannot be changed. It is safe to access this\n\t * from multiple threads.\n\t */\n\tString getSpanId();\n\n\t/**\n\t * A pseudo-unique (random) number assigned to the trace associated with this\n\t * span\n\t */\n\tString getTraceId();\n\n\t/**\n\t * Returns the parent IDs of the span.<p/>\n\t * <p/>\n\t * The collection will be empty if there are no parents.\n\t */\n\tList<String> getParents();\n\n\t/**\n\t * Add a data annotation associated with this span\n\t */\n\tvoid addKVAnnotation(String key, String value);\n\n\t/**\n\t * Add a timeline annotation associated with this span\n\t */\n\tvoid addTimelineAnnotation(String msg);\n\n\t/**\n\t * Get data associated with this span (read only)<p/>\n\t * <p/>\n\t * Will never be null.\n\t */\n\tMap<String, String> getKVAnnotations();\n\n\t/**\n\t * Get any timeline annotations (read only)<p/>\n\t * <p/>\n\t * Will never be null.\n\t */\n\tList<TimelineAnnotation> getTimelineAnnotations();\n\n\t/**\n\t * Return a unique id for the process from which this Span originated.<p/>\n\t * <p/>\n\t * Will never be null.\n\t */\n\tString getProcessId();\n}", "title": "" }, { "docid": "e1d4bd38f9ffaa03cec95e34f0f54203", "score": "0.5234459", "text": "benchmarks.google_message3.BenchmarkMessage35.Message718OrBuilder getField911OrBuilder();", "title": "" }, { "docid": "aea6785a7164343456c4ff46b7662fb9", "score": "0.5218935", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage.Builder addSpanObjectsBuilder(\n int index) {\n return getSpanObjectsFieldBuilder().addBuilder(\n index, loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage.getDefaultInstance());\n }", "title": "" }, { "docid": "86b6fca2e5e7eac483b2b98ca8501fd6", "score": "0.51916486", "text": "public java.util.List<loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage> getSpanObjectsList() {\n return spanObjects_;\n }", "title": "" }, { "docid": "a3c07cb008d6b302ae1438f624d64bd9", "score": "0.5186018", "text": "public java.util.List<loader.elbrus.proto.ElbrusProto.NciSpanMessage.Builder> \n getSpansBuilderList() {\n return getSpansFieldBuilder().getBuilderList();\n }", "title": "" }, { "docid": "6c8e999cb6b9ce4c0accf4e09a591cf8", "score": "0.51691175", "text": "benchmarks.google_message3.BenchmarkMessage35.Message716OrBuilder getField910OrBuilder();", "title": "" }, { "docid": "72c59e335e9cc0cb4d7ad269850529ff", "score": "0.51682", "text": "public Builder setSpanObjects(\n int index, loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage value) {\n if (spanObjectsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSpanObjectsIsMutable();\n spanObjects_.set(index, value);\n onChanged();\n } else {\n spanObjectsBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "796c2019f93ccbd0538f236f8ea33bb6", "score": "0.51502687", "text": "java.util.List<? extends loader.elbrus.proto.ElbrusProto.SpanProfileMessageOrBuilder> \n getSpanProfilesOrBuilderList();", "title": "" }, { "docid": "af5ff89d0c7710f40af450b6665acab8", "score": "0.51393044", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24381OrBuilder getField24609OrBuilder();", "title": "" }, { "docid": "84272b351a32a44c7c9500f60ed7ebd5", "score": "0.512742", "text": "benchmarks.google_message3.BenchmarkMessage35.Message0OrBuilder getField33987OrBuilder();", "title": "" }, { "docid": "42cb2974e63cb5e5661a3878229b72f3", "score": "0.5118807", "text": "benchmarks.google_message3.BenchmarkMessage35.Message8457OrBuilder getField8472OrBuilder();", "title": "" }, { "docid": "def8446719a4b5b51da9f1c7c36e98ce", "score": "0.5112331", "text": "public Builder addSpanObjects(\n int index, loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage value) {\n if (spanObjectsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSpanObjectsIsMutable();\n spanObjects_.add(index, value);\n onChanged();\n } else {\n spanObjectsBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "b6ef6228d6786daba73fa385fd4770cb", "score": "0.5096977", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10818OrBuilder getField11883OrBuilder();", "title": "" }, { "docid": "6cf58b1eba418f23d48df1045e21c79f", "score": "0.50960004", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24400OrBuilder getField24679OrBuilder();", "title": "" }, { "docid": "25f8093fa53c8ce6e96b43b08ac11a31", "score": "0.5086894", "text": "benchmarks.google_message3.BenchmarkMessage35.Message13358OrBuilder getField16497OrBuilder();", "title": "" }, { "docid": "34806abceadc62962b02a41d7d3a53bc", "score": "0.5077741", "text": "int getSpansCount();", "title": "" }, { "docid": "6b702bc0af96ce30659c57ec672a1940", "score": "0.507005", "text": "loader.elbrus.proto.ElbrusProto.TrainThreadsMessage getRequestThreads();", "title": "" }, { "docid": "893534d6095e55c5b9a183e81d088efe", "score": "0.50696015", "text": "int getSpanObjectsCount();", "title": "" }, { "docid": "5da6d09090bf411a9aa33b7e4df53888", "score": "0.50692815", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24312OrBuilder getField24447OrBuilder();", "title": "" }, { "docid": "9171d4f8229ae9eb34aa2513b81166b8", "score": "0.5067374", "text": "benchmarks.google_message3.BenchmarkMessage37.Message7966OrBuilder getField8228OrBuilder();", "title": "" }, { "docid": "1a3c9c441f0804532ee04bc178f599a1", "score": "0.5057659", "text": "benchmarks.google_message3.BenchmarkMessage35.Message12796OrBuilder getField13217OrBuilder();", "title": "" }, { "docid": "0f25244f07ce3a86fff1c07266bfb1e4", "score": "0.5056575", "text": "loader.elbrus.proto.ElbrusProto.TrainThreadsMessageOrBuilder getRequestThreadsOrBuilder();", "title": "" }, { "docid": "2b0f4913e822200c60fef473baf19a91", "score": "0.5053861", "text": "public loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage.Builder getSpanObjectsBuilder(\n int index) {\n return getSpanObjectsFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "83530c6857bdc0085636ab591f9ed10f", "score": "0.5051097", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24400OrBuilder getField24680OrBuilder();", "title": "" }, { "docid": "1105513279e8b37b40d64f66548c4f50", "score": "0.5050283", "text": "@Test\n\tpublic void convertsTimestampToMicrosecondsAndSetsDurationToAccumulatedMicros() {\n\t\tSpan span = Span.builder().traceId(1L).name(\"http:api\").build();\n\t\tlong start = System.currentTimeMillis();\n\t\tspan.logEvent(\"hystrix/retry\"); // System.currentTimeMillis\n\t\tspan.stop();\n\n\t\tzipkin2.Span result = this.spanReporter.convert(span);\n\n\t\tassertThat(result.timestamp())\n\t\t\t\t.isEqualTo(span.getBegin() * 1000);\n\t\tassertThat(result.duration())\n\t\t\t\t.isEqualTo(span.getAccumulatedMicros());\n\t\tassertThat(result.annotations().get(0).timestamp())\n\t\t\t\t.isGreaterThanOrEqualTo(start * 1000)\n\t\t\t\t.isLessThanOrEqualTo(System.currentTimeMillis() * 1000);\n\t}", "title": "" }, { "docid": "f8030dc95e7ce463a4d889d1dba6695f", "score": "0.50418025", "text": "benchmarks.google_message3.BenchmarkMessage35.Message12796OrBuilder getField13205OrBuilder();", "title": "" }, { "docid": "82df1c818dd8433282cbd7cbdf7342e5", "score": "0.5040259", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10824OrBuilder getField11880OrBuilder();", "title": "" }, { "docid": "0057a3b257b278682c6525b5bb3c4243", "score": "0.50225455", "text": "benchmarks.google_message3.BenchmarkMessage35.Message8449OrBuilder getField8470OrBuilder();", "title": "" }, { "docid": "ac7cf4af3a63d0be7dd0a6e525692d24", "score": "0.5020924", "text": "benchmarks.google_message3.BenchmarkMessage35.Message13912OrBuilder getField16492OrBuilder();", "title": "" }, { "docid": "445fb9a5f64caf892326b2e92dd709e2", "score": "0.5015626", "text": "org.w3.x1999.xhtml.SpanDocument.Span[] getSpanArray();", "title": "" }, { "docid": "e31f776a0e8885cd1a869807531df2ee", "score": "0.50139433", "text": "benchmarks.google_message3.BenchmarkMessage35.Message13358OrBuilder getField16490OrBuilder();", "title": "" }, { "docid": "1d76cd19b6d549b195091922358cc9c7", "score": "0.50137717", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10155OrBuilder getField11885OrBuilder();", "title": "" }, { "docid": "9bf60dd773a3a1d8678852297f45f6af", "score": "0.50133044", "text": "void setSpanArray(int i, org.w3.x1999.xhtml.SpanDocument.Span span);", "title": "" }, { "docid": "a22515ec27f26839a32548caf7374e41", "score": "0.50036925", "text": "int sizeOfSpanArray();", "title": "" }, { "docid": "5f978abf84b92a9f58159657fd49e6b5", "score": "0.4985286", "text": "benchmarks.google_message3.BenchmarkMessage35.Message6024OrBuilder getField6156OrBuilder();", "title": "" }, { "docid": "eeabeba70a46bfc66582830d669d16aa", "score": "0.49711144", "text": "benchmarks.google_message3.BenchmarkMessage35.Message719OrBuilder getField916OrBuilder(\n int index);", "title": "" }, { "docid": "845e35bd52101e41c8be97c20e07a243", "score": "0.49694198", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10582OrBuilder getField11879OrBuilder();", "title": "" }, { "docid": "d2bab5fbbd0106a8e8c5d697f37ac621", "score": "0.49689588", "text": "benchmarks.google_message3.BenchmarkMessage37.UnusedEmptyMessageOrBuilder getField924OrBuilder();", "title": "" }, { "docid": "9798f7e1bfbe4433290efb5e370a498b", "score": "0.4963754", "text": "benchmarks.google_message3.BenchmarkMessage35.Message6578OrBuilder getField6694OrBuilder();", "title": "" }, { "docid": "c758cda554438e92342cba7821b6ee3b", "score": "0.49578795", "text": "benchmarks.google_message3.BenchmarkMessage37.Message7966OrBuilder getField8486OrBuilder();", "title": "" }, { "docid": "126d6d529ae3fca62dfdd6b2c1a3ea91", "score": "0.49519488", "text": "java.util.List<loader.elbrus.proto.ElbrusProto.SpanProfileMessage> \n getSpanProfilesList();", "title": "" }, { "docid": "9c3ae2bdeced064d5573a5f78af1ca45", "score": "0.49475414", "text": "benchmarks.google_message3.BenchmarkMessage35.Message8449OrBuilder getField8465OrBuilder();", "title": "" }, { "docid": "85981726a00925a439332ae2ed86c323", "score": "0.49444625", "text": "public int getSpanSize() {\n return 1;\n }", "title": "" }, { "docid": "8d5d2fe16c67e809fb293bab6db2fcf5", "score": "0.49313477", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10469OrBuilder getField11886OrBuilder();", "title": "" }, { "docid": "00997e3e9b41331e641422e02cd44fd4", "score": "0.49242768", "text": "benchmarks.google_message3.BenchmarkMessage35.Message11866OrBuilder getField11882OrBuilder();", "title": "" }, { "docid": "cdf423465c6af892a75e8d591c7a8e07", "score": "0.49198395", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10573OrBuilder getField11878OrBuilder();", "title": "" }, { "docid": "6be8e34d77dfd33e6d32fb9f41347018", "score": "0.49139622", "text": "public int getSpansCount() {\n return spans_.size();\n }", "title": "" }, { "docid": "63ed124c7c75d64fcea0cef99e1d190b", "score": "0.491366", "text": "java.util.List<? extends benchmarks.google_message3.BenchmarkMessage35.Message719OrBuilder> \n getField916OrBuilderList();", "title": "" }, { "docid": "01127e217e5af9c39bcc38585018fba3", "score": "0.49119312", "text": "benchmarks.google_message3.BenchmarkMessage35.Message24380OrBuilder getField24606OrBuilder();", "title": "" }, { "docid": "593f5c7b663578da7184e8ac55a29edc", "score": "0.49081248", "text": "benchmarks.google_message3.BenchmarkMessage35.Message10773OrBuilder getField11881OrBuilder();", "title": "" }, { "docid": "b29f8acda76701cc97ef5ec13cbfedb3", "score": "0.49079752", "text": "benchmarks.google_message3.BenchmarkMessage35.Message6722OrBuilder getField6744OrBuilder();", "title": "" }, { "docid": "09a2bd231ac584ed02e9f63068e6535e", "score": "0.4902482", "text": "private GetTrainsByNumRequestMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "2fcc71edb6e322a6b3d510f9a85590c4", "score": "0.48921397", "text": "private SpanProfileMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "6ddc07ba69351dfd78210a1935136ca7", "score": "0.48878214", "text": "private NciTrackMessage(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }", "title": "" }, { "docid": "56be1535618d9476ccafa54914ba62d3", "score": "0.488676", "text": "public java.util.List<loader.elbrus.proto.ElbrusProto.NciSpanObjectMessage> getSpanObjectsList() {\n if (spanObjectsBuilder_ == null) {\n return java.util.Collections.unmodifiableList(spanObjects_);\n } else {\n return spanObjectsBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "95a9296fe632ad7bc6692c46b5cfaa4d", "score": "0.48674175", "text": "public SpansRecord() {\n super(Spans.SPANS);\n }", "title": "" }, { "docid": "82c41426e71ed450929b3c4d294e1366", "score": "0.48482808", "text": "float getPartialSpan(int p0, int p1);", "title": "" } ]
3696ecc8c712bd36cded5eb0b1bfe429
This method is used to compute side 2 (side BC).
[ { "docid": "d03bd5262934aaeae0f9044cc35634e5", "score": "0.74374956", "text": "public double getSideBC()\n\t{\n\t\treturn Math.sqrt(Math.pow(b.x - c.x,2) + Math.pow(b.y - c.y,2));\n\t}", "title": "" } ]
[ { "docid": "b357eb489ac65213eed2d0fc9a89f2f1", "score": "0.61182356", "text": "public double getB2()\n {\n return b2; \n }", "title": "" }, { "docid": "9e7a0850ee68a88bd38e2258f23c11c8", "score": "0.5982989", "text": "private boolean side(int a, int b){\n\t\t if (b-a == 1){\n\t\t\treturn true;\n\t\t }\n\t\t return false;\n\t}", "title": "" }, { "docid": "7ac1fee390de5e20fef94bbbc1e8cfbe", "score": "0.59602684", "text": "public java.lang.Double getBC() {\n return BC;\n }", "title": "" }, { "docid": "e0ff03580f1263519e45748e7524db87", "score": "0.595093", "text": "public java.lang.Double getBC() {\n return BC;\n }", "title": "" }, { "docid": "1087463115f3ecd968155d6825e3f27d", "score": "0.5859737", "text": "public double getSideAB()\n\t{\n\t\treturn Math.sqrt(Math.pow(a.x - b.x,2) + Math.pow(a.y - b.y,2));\n\t}", "title": "" }, { "docid": "fe469ac4e6a4ceab9d0605532cb3bf09", "score": "0.5789788", "text": "public abstract double getRB2(int state);", "title": "" }, { "docid": "32df5cddfa6e6337215934186dcd9c7a", "score": "0.5772305", "text": "public BigDecimal getINVESTMENTONBS_CV_2()\r\n {\r\n\treturn INVESTMENTONBS_CV_2;\r\n }", "title": "" }, { "docid": "f4cce44c89b745f12c88161162211aaa", "score": "0.57600766", "text": "CO2FromElectricity()\n {\n \n }", "title": "" }, { "docid": "e540fd73bd1fefb86dfd3ef5ffceac84", "score": "0.5753072", "text": "public BigDecimal getINVESTMENTONBS_FC_2()\r\n {\r\n\treturn INVESTMENTONBS_FC_2;\r\n }", "title": "" }, { "docid": "9033ea0855c9dd4dcebabc65f5e2d253", "score": "0.57414615", "text": "public double getC2() {\n return c2_;\n }", "title": "" }, { "docid": "1054a91f00d81ac37599cc24b6e10d4d", "score": "0.57031417", "text": "public double getC2() {\n return c2_;\n }", "title": "" }, { "docid": "5d1806da7895cbd870e27b6b8fa6786b", "score": "0.5684367", "text": "public java.math.BigDecimal get_BIC_ZZB02() {\r\n return _BIC_ZZB02;\r\n }", "title": "" }, { "docid": "231d5b99116bbe1d82e24b9033b74a83", "score": "0.5629904", "text": "public BigDecimal getINVESTMENTONBS_CV_2() {\r\n return INVESTMENTONBS_CV_2;\r\n }", "title": "" }, { "docid": "6e1a797a565f5e67b20853b0425648f3", "score": "0.56241405", "text": "public void alg_BWD() {\n C_FWD.value = false;\n C_BWD.value = true;\n\n }", "title": "" }, { "docid": "3377240ef4eb42284e3b0629e18445aa", "score": "0.5604076", "text": "public CovariateCrossingBinaryTwoModeNetworkModel() {\n\t}", "title": "" }, { "docid": "e2efdd94497c788e3ddf9f2e35e65b1e", "score": "0.5593606", "text": "public BigDecimal getINVESTMENTONBS_FC_2() {\r\n return INVESTMENTONBS_FC_2;\r\n }", "title": "" }, { "docid": "909582f341b4761123495feb2ef1efaf", "score": "0.55872315", "text": "public boolean checkBC(){\n return true;\n }", "title": "" }, { "docid": "9848260cdc51b21a14a9826e87fe5335", "score": "0.557077", "text": "private void opcode8XY2(byte x, byte y) {\n memory.V[x] &= memory.V[y];\n PC += 2;\n }", "title": "" }, { "docid": "bca1ef9bf5211ed628c60bac6a40b28b", "score": "0.55653524", "text": "public BigDecimal getINVESTMENTOFFBS_CV_2() {\r\n return INVESTMENTOFFBS_CV_2;\r\n }", "title": "" }, { "docid": "2b271f90bbe93a108ec9480ccf2ddeef", "score": "0.5525908", "text": "double getC2();", "title": "" }, { "docid": "7d785c4aff03582a13031cc844ffdb87", "score": "0.54719317", "text": "public double getSideCA()\n\t{\n\t\treturn Math.sqrt(Math.pow(c.x - a.x,2) + Math.pow(c.y - a.y,2));\n\t}", "title": "" }, { "docid": "ab15278eb9f183ca7ac303d62eda5af2", "score": "0.5436846", "text": "Bit[] getOP2() {\n\t\treturn op2;\n\t}", "title": "" }, { "docid": "083de3e196f0a906c11276de3a40e0d4", "score": "0.54194355", "text": "public double getSolution2()\n {\n double solutionTwo = (-(b) - Math.sqrt(b * b - (4 * a * c))) / 2 * a;\n return solutionTwo;\n }", "title": "" }, { "docid": "254625185ba6c8c99f671679bff7c5e8", "score": "0.5417673", "text": "public BigInteger getS2() {\n return this.data[this.randomBlock];\n }", "title": "" }, { "docid": "72afae0f6551586fd298de635d9a7818", "score": "0.5394336", "text": "int getHalsteadn2();", "title": "" }, { "docid": "572e28e90a51dae84d05632be9949f0e", "score": "0.5394018", "text": "private void checkSide(int side)\n {\n int pixel;\n int redValue;\n int blueValue;\n int greenValue;\n switch(side) {\n case (1):\n for (int x = 1; x < squareSizeRecorded; x++) {\n pixel = mBmp.getPixel(x, 0);\n redValue = Color.red(pixel);\n blueValue = Color.blue(pixel);\n greenValue = Color.green(pixel);\n boolean edge = false;\n for (int ii = -1; ii < 2; ii++) {\n for (int jj = 0; jj < 2; jj++) {\n edge = (edge || comparePixel(mBmp.getPixel(x + ii, jj), redValue, blueValue, greenValue));\n }\n\n }\n if (edge) {\n bitArray[x - xLower][0] = 1;\n } else {\n bitArray[x - xLower][0] = 0;\n }\n }\n\n break;\n case (2):\n for (int y = 1; y < squareSizeRecorded; y++) {\n pixel = mBmp.getPixel(mWidth - 1, y);\n redValue = Color.red(pixel);\n blueValue = Color.blue(pixel);\n greenValue = Color.green(pixel);\n boolean edge = false;\n for (int ii = -1; ii < 2; ii++) {\n for (int jj = 0; jj < 2; jj++) {\n edge = (edge || comparePixel(mBmp.getPixel(mWidth - 1 - jj, y + ii), redValue, blueValue, greenValue));\n }\n\n }\n if (edge) {\n bitArray[squareSizeRecorded - 1][y - yLower] = 1;\n } else {\n bitArray[squareSizeRecorded - 1][y - yLower] = 0;\n }\n }\n break;\n case (3):\n for (int x = 1; x < squareSizeRecorded; x++) {\n pixel = mBmp.getPixel(x, mHeight - 1);\n redValue = Color.red(pixel);\n blueValue = Color.blue(pixel);\n greenValue = Color.green(pixel);\n boolean edge = false;\n for (int ii = -1; ii < 2; ii++) {\n for (int jj = 0; jj < 2; jj++) {\n edge = (edge || comparePixel(mBmp.getPixel(x + ii, mHeight - 1 - jj), redValue, blueValue, greenValue));\n }\n\n }\n if (edge) {\n bitArray[x - xLower][squareSizeRecorded - 1] = 1;\n } else {\n bitArray[x - xLower][squareSizeRecorded - 1] = 0;\n }\n }\n break;\n case (4):\n for (int y = 1; y < squareSizeRecorded; y++) {\n pixel = mBmp.getPixel(0, y);\n redValue = Color.red(pixel);\n blueValue = Color.blue(pixel);\n greenValue = Color.green(pixel);\n boolean edge = false;\n for (int ii = -1; ii < 2; ii++) {\n for (int jj = 0; jj < 2; jj++) {\n edge = (edge || comparePixel(mBmp.getPixel(jj, y + ii), redValue, blueValue, greenValue));\n }\n\n }\n if (edge) {\n bitArray[0][y - yLower] = 1;\n } else {\n bitArray[0][y - yLower] = 0;\n }\n }\n\n break;\n }\n }", "title": "" }, { "docid": "02946796d8447b45f590cb6e79d0c586", "score": "0.5386305", "text": "public BigDecimal getINVESTMENTOFFBS_FC_2() {\r\n return INVESTMENTOFFBS_FC_2;\r\n }", "title": "" }, { "docid": "96c411963a2f99d24c7a0064cf66b0f5", "score": "0.5383709", "text": "private int inn(){\n\t\t\t\t\t\t\tclosv2 += closv1;\n\t\t\t\t\t\t\tclosv1 += 1;\n\t\t\t\t\t\t\treturn closv2;\n\t\t\t\t\t}", "title": "" }, { "docid": "5ea7602342b4f2fbf040bbf17647b565", "score": "0.53807145", "text": "public BigDecimal getCROSS_EXCH_RATE2() {\r\n return CROSS_EXCH_RATE2;\r\n }", "title": "" }, { "docid": "4ff1c4d0923dfe81a238631fabe272ff", "score": "0.53668964", "text": "public float\n b() \n {\n return pComps[2];\n }", "title": "" }, { "docid": "d2b480619cc26bb1b4577e3b8d2ecc0e", "score": "0.5298444", "text": "private int m87284b(int i, int i2) {\n int min = Math.min(i, 4);\n if (min == 0) {\n return 0;\n }\n if (min < 3 || (min == 3 && i2 == 0)) {\n return this.f61133g - (this.f61130d * 2);\n }\n return ((this.f61133g - (this.f61130d * 2)) - this.f61129c) / 2;\n }", "title": "" }, { "docid": "f5588d3126028aa11579d2bbf3a729e7", "score": "0.52878976", "text": "public double getSumOfTwoSides()\r\n {\r\n if ( getPoint1().getY() == getPoint2().getY() )\r\n return Math.abs( getPoint1().getX() - getPoint2().getX() ) +\r\n Math.abs( getPoint3().getX() - getPoint4().getX() );\r\n else\r\n return Math.abs( getPoint2().getX() - getPoint3().getX() ) +\r\n Math.abs( getPoint4().getX() - getPoint1().getX() );\r\n }", "title": "" }, { "docid": "9fab6eb1ad42510a80220ed94e100157", "score": "0.5284575", "text": "public void ConectorBD();", "title": "" }, { "docid": "13fba66aaf23214c6a7c410263b8266a", "score": "0.5283488", "text": "BinOpExpr(BinOpKind kind, STPExpr e1, STPExpr e2, STPSolver solver){\n super(STPExprKind.BinOpExpr, solver);\n assert kind != null;\n assert e1 != null;\n assert e2 != null;\n this.binopKind = kind;\n this.e1 = e1;\n this.e2 = e2;\n }", "title": "" }, { "docid": "522f7f3b71b536ec6b647c22f944859f", "score": "0.52649945", "text": "public void bc() {\n }", "title": "" }, { "docid": "b4d0ade0b715bad2776ad14a7ab41632", "score": "0.52403915", "text": "public BigDecimal getSWAP_AMOUNT2() {\r\n return SWAP_AMOUNT2;\r\n }", "title": "" }, { "docid": "1afb8d59408373819139899444e78619", "score": "0.5188483", "text": "public BigDecimal getCoef2() {\r\n return coef2;\r\n }", "title": "" }, { "docid": "016a4f614b00f5b9d243ab0ac5fd2161", "score": "0.5130763", "text": "public BigDecimal getOdds2() {\r\n return odds2;\r\n }", "title": "" }, { "docid": "3dfa25fdbd63b69821143b1e0c480800", "score": "0.5123286", "text": "@Test\n public void testCrossoverTwo() {\n System.out.println(\"crossover two point\");\n int[] father = new int[]{ 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0 };\n int[] mother = new int[]{ 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1 };\n BitString instance = new BitString(father, null, Crossover.TWO_POINT, 1.0, 0.0);\n BitString another = new BitString(mother, null, Crossover.TWO_POINT, 1.0, 0.0);\n int[] son = new int[]{ 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0 };\n int[] daughter = new int[]{ 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1 };\n BitString[] result = instance.crossover(another);\n Assert.assertEquals(son.length, result[0].bits().length);\n Assert.assertEquals(daughter.length, result[1].bits().length);\n for (int i = 0; i < (son.length); i++) {\n // assertEquals(son[i], result[0].bits()[i]);\n // assertEquals(daughter[i], result[1].bits()[i]);\n Assert.assertTrue(((((father[i]) == (result[0].bits()[i])) && ((mother[i]) == (result[1].bits()[i]))) || (((father[i]) == (result[1].bits()[i])) && ((mother[i]) == (result[0].bits()[i])))));\n }\n }", "title": "" }, { "docid": "7b5c1a4c2d12b986ebbe0e3ee28d048d", "score": "0.51044273", "text": "public BigDecimal getBUCKET_CODE2() {\r\n return BUCKET_CODE2;\r\n }", "title": "" }, { "docid": "9f24ee6a783ecd8dbd6638bd8a805a90", "score": "0.509176", "text": "public static double getSide(int x1, int y1, int x2, int y2) {\n return Math.sqrt((y2 - y1) * (y2 - y1) + (x2 - x1) * (x2 - x1));\n }", "title": "" }, { "docid": "96d259d7739c469e4712aa636f577e3a", "score": "0.50870985", "text": "public float getZ2() {return reversed? z1: z2;}", "title": "" }, { "docid": "5e3f65c47d86ce9407e217cf86f7d01a", "score": "0.5082575", "text": "public BigDecimal getCellCap2() {\n return cellCap2;\n }", "title": "" }, { "docid": "012f770b5aec73e36a67c2c35c6fcb35", "score": "0.5081944", "text": "public void setBC(java.lang.Double value) {\n this.BC = value;\n }", "title": "" }, { "docid": "7309e9e95e668a943a2ade3fc325a41b", "score": "0.5075623", "text": "public void calcOutboudBand() {\n ArrayList<Range> redRegions = new ArrayList<>();\n for (Cycle cycle : normalizeCyclesOut()) {\n Range redRange = cycle.getRedAsRange();\n redRange.setEnd(redRange.getEnd() + GlobalVariables.startUpLoss.get());\n redRange.setStart(redRange.getStart() + GlobalVariables.extOfGreen.get());\n redRegions.add(redRange);\n redRegions.add(redRange.shift(GlobalVariables.cycleLen.get()));\n redRegions.add(redRange.shift(-GlobalVariables.cycleLen.get()));\n }\n Range greenRange = intersections.get(0).getCycleOut().getGreenAsRange();\n greenRange.setStart(greenRange.getStart() + GlobalVariables.startUpLoss.get());\n greenRange.setEnd(greenRange.getEnd() + GlobalVariables.extOfGreen.get());\n outboundBandRanges.setAll(greenRange.excludeAll(redRegions));\n }", "title": "" }, { "docid": "5a25055d038b487decfcee5a62de3e84", "score": "0.50746393", "text": "public void blpop();", "title": "" }, { "docid": "b8cad49a1e81ceb45a32c75ee6da3d1f", "score": "0.50716364", "text": "static double boothsFunction (double x, double y) {\n double p1 = Math.pow(x + 2*y - 7, 2);\n double p2 = Math.pow(2*x + y - 5, 2);\n return p1 + p2;\n }", "title": "" }, { "docid": "e2f3c09a349f1616ab7dd6b4fc8a94b0", "score": "0.5070614", "text": "@Override\n\tpublic void getCO2() {\n\n\t}", "title": "" }, { "docid": "9603be43f1cfd7c2356094f01f78d8ca", "score": "0.50694495", "text": "public void bprop(){\r\n\t\tvector dx=classifier.compute_energy_dx();\r\n\t\tdx=classifier.bprop(dx);\t\t\r\n\t\tfor(int i=num_of_conv_layers-1;i>=0;i--){\r\n\t\t\tdx=s_layers[i].bprop(dx);\r\n\t\t\tdx=c_layers[i].bprop(dx);\r\n\t\t}\t\r\n\t}", "title": "" }, { "docid": "1e6bb445149e15f9106af21856d9e342", "score": "0.5059195", "text": "public void set_BIC_ZZB02(java.math.BigDecimal _BIC_ZZB02) {\r\n this._BIC_ZZB02 = _BIC_ZZB02;\r\n }", "title": "" }, { "docid": "399248299459a211eb49679d2125ac2b", "score": "0.50578904", "text": "public double getAngleB()\n\t{\n\t\treturn Math.toDegrees(Math.acos((getSideAB() * getSideAB() + getSideBC() * getSideBC() - getSideCA() * getSideCA()) / (2 * getSideAB() * getSideBC())));\n\t}", "title": "" }, { "docid": "79412e1a246890cca40ad73826f5b57e", "score": "0.5052589", "text": "public RightWallToRightSwitchPt2Arc() {\n\t\tsuper();\n\t\tthis.highGear = true;\n\t\tcenterProfile = new SrxMotionProfile(centerPoints.length, centerPoints);\n\t}", "title": "" }, { "docid": "6df767806dc3b052111bc6dfd10dee0f", "score": "0.5052561", "text": "public double gety2() {\n return b2; //returning the y value\n }", "title": "" }, { "docid": "729169056407a7b0e90034a56f79387f", "score": "0.5049699", "text": "public BigDecimal getINVESTMENT_ACC_SL_2()\r\n {\r\n\treturn INVESTMENT_ACC_SL_2;\r\n }", "title": "" }, { "docid": "faa42bf225b6010e59879f41ebc20b8f", "score": "0.50478464", "text": "public double getB1()\n {\n return b1; \n }", "title": "" }, { "docid": "0b009482e3f973471377e403dacb37d1", "score": "0.5032082", "text": "public int areaBigSquare(int side){\n return side * side;\n }", "title": "" }, { "docid": "6260a66c30c78b58408e9f3f190498aa", "score": "0.50256735", "text": "public int zzbw() {\n return 0;\n }", "title": "" }, { "docid": "f3bf06de29045a54c95ec5220cd8d84f", "score": "0.5025369", "text": "public Side side_of(Vector p_other)\n {\n Side tmp = p_other.side_of(this);\n return tmp.negate();\n }", "title": "" }, { "docid": "b4b454628e0625d1b44d2eec6ec574c2", "score": "0.5023588", "text": "public double getZ2() {return z2;}", "title": "" }, { "docid": "81330587a8b33d9a3b669c74d5313aac", "score": "0.5021949", "text": "public int getMinRightSideBearing() {\n ; /* minimum right-sb */\n return min_right_side_bearing; /* minimum right-sb */\n }", "title": "" }, { "docid": "4a0017e1f652a98dff3ee4c6b71f396a", "score": "0.5016282", "text": "public BigDecimal getSPECIFIC_MOD_CIF_2() {\r\n return SPECIFIC_MOD_CIF_2;\r\n }", "title": "" }, { "docid": "26e4c355f2538d3b7c136941ccc42127", "score": "0.50143564", "text": "public BigDecimal getINVESTMENT_ACC_CIF_2()\r\n {\r\n\treturn INVESTMENT_ACC_CIF_2;\r\n }", "title": "" }, { "docid": "a41148fbce84a200a6687edce5fe142f", "score": "0.5005334", "text": "public void setINVESTMENTONBS_FC_2(BigDecimal INVESTMENTONBS_FC_2)\r\n {\r\n\tthis.INVESTMENTONBS_FC_2 = INVESTMENTONBS_FC_2;\r\n }", "title": "" }, { "docid": "aef63c95508de3d4decd9fa4b16fae99", "score": "0.5004935", "text": "@Test\n public void ab2cb() {\n LogicalOlapScan student = new LogicalOlapScan(RelationUtil.newRelationId(), PlanConstructor.student);\n LogicalLimit<LogicalOlapScan> limit10 = new LogicalLimit<>(10, 0, LimitPhase.ORIGIN, student);\n LogicalLimit<LogicalOlapScan> limit5 = new LogicalLimit<>(5, 0, LimitPhase.ORIGIN, student);\n\n PlanChecker.from(connectContext, limit10)\n .applyBottomUp(\n logicalLimit().when(limit10::equals).then(limit -> limit5)\n )\n .checkGroupNum(2)\n .matchesFromRoot(\n logicalLimit(\n logicalOlapScan().when(student::equals)\n ).when(limit5::equals)\n );\n }", "title": "" }, { "docid": "9c7dcdf7cb9ae064b6236a5b637b3592", "score": "0.5004318", "text": "public double getK2(){\r\n\t\t\r\n\t\treturn K2;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "7d4a33f77dd3ebb4a71eb98efe7ea814", "score": "0.500424", "text": "public final Pnt getB() {\n return dual.v;\n }", "title": "" }, { "docid": "a9cbd8c03731f8689358ed0596569b6f", "score": "0.49975994", "text": "public void setINVESTMENTONBS_FC_2(BigDecimal INVESTMENTONBS_FC_2) {\r\n this.INVESTMENTONBS_FC_2 = INVESTMENTONBS_FC_2;\r\n }", "title": "" }, { "docid": "6b1899269a4e4c448dd9b80c4f440bef", "score": "0.49974215", "text": "public int c(int i2) {\n return 0;\n }", "title": "" }, { "docid": "c0410d22481ca228a9ba1e9326b7e4c1", "score": "0.49865106", "text": "private double calculateCrossProductDirection(Point v1, Point v2) {\n return v1.getX().multiply(v2.getY())\n .subtract(v1.getY().multiply(v2.getX())).signum();\n }", "title": "" }, { "docid": "a6607804564614aac9f6b4f7c2eedcfe", "score": "0.49789396", "text": "public double getW2() {\n return w2;\n }", "title": "" }, { "docid": "46082bbbf3b6826dd44e610e864b6e3a", "score": "0.49772882", "text": "public Currency getSecondCurrency() {\n return _ccy2;\n }", "title": "" }, { "docid": "ed44191d94d0895c2edc6c253e325015", "score": "0.49757746", "text": "public int crossProduct(Point p2) {\n\t\treturn x * p2.y - y * p2.x;\n\t}", "title": "" }, { "docid": "a5c459794ebdb6f2a95497cdb85c6fac", "score": "0.49754983", "text": "public Block equivalentCube() //done\n {\n Block b;\n return b = new Block(Math.cbrt(this.calcVolume()),Math.cbrt(this.calcVolume()),Math.cbrt(this.calcVolume()));\n\n }", "title": "" }, { "docid": "b290e891fdd66765f0b9262f57186ba8", "score": "0.4974277", "text": "private int b()\r\n/* 74: */ {\r\n/* 75: 88 */ return this.b.W().l() ? 16 : 0;\r\n/* 76: */ }", "title": "" }, { "docid": "6b92fa41d99e98ea94061a506c45ef31", "score": "0.49617118", "text": "public double getSide() {\n return side;\n }", "title": "" }, { "docid": "d8768c09c20dc7e1cb7843ed9414cbae", "score": "0.49545434", "text": "public void setvBC(BigDecimal vBC) {\r\n\t\tthis.vBC = vBC;\r\n\t\tif (this.vBC != null) {\r\n\t\t\tthis.vBC = this.vBC.setScale(2, BigDecimal.ROUND_HALF_EVEN);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6469f8ec24d093266d495a0fbdaf1747", "score": "0.49525288", "text": "public void setINVESTMENTOFFBS_CV_2(BigDecimal INVESTMENTOFFBS_CV_2) {\r\n this.INVESTMENTOFFBS_CV_2 = INVESTMENTOFFBS_CV_2;\r\n }", "title": "" }, { "docid": "91413bffa0ad9a0d2bc690ba936c86a4", "score": "0.49519828", "text": "public BigDecimal getINVESTMENT_ACC_GL_2()\r\n {\r\n\treturn INVESTMENT_ACC_GL_2;\r\n }", "title": "" }, { "docid": "06e5cda3da3190748d8aba4fd6071284", "score": "0.4950799", "text": "private int cy(int y) {\n return (SIZE - y - 1) * SQUARE_SIDE + OFFSET;\n }", "title": "" }, { "docid": "cc8196a87a3298d29c849a9c7d5fc9ae", "score": "0.4946999", "text": "double getSidesLength();", "title": "" }, { "docid": "cc719faa3ab1f2be3ad78ce7f8af0db9", "score": "0.49461758", "text": "public void boundaryCalc()\n {\n if(findExtrema().getY() < 0)\n {\n if(isAPositive())\n { //case 1\n yB = findExtrema().getY();\n if(func(xL) > func(xR))\n {\n yT = func(xL);\n }\n else\n {\n yT = func(xR);\n }\n }\n else\n { //case 3\n yT = 0;\n if(func(xL) < func(xR))\n {\n yB = func(xL);\n }\n else\n {\n yB = func(xR);\n } \n }\n }\n else if(findExtrema().getY() > 0)\n {\n if(isAPositive())\n { //case 2\n yB = 0;\n if(func(xL) > func(xR))\n {\n yT = func(xL);\n }\n else\n {\n yT = func(xR);\n }\n }\n else\n { //case 4\n yT = findExtrema().getY();\n if(func(xL) < func(xR))\n {\n yB = func(xL);\n }\n else\n {\n yB = func(xR);\n }\n }\n }\n else if(Math.abs((findExtrema().getY()-0))<=EPS)\n {\n if(isAPositive())\n {\n yB = 0;\n if(func(xL) > func(xR))\n {\n yT = func(xL);\n }\n else\n {\n yT = func(xR);\n }\n }\n else\n {\n yT = 0;\n if(func(xL) < func(xR))\n {\n yB = func(xL);\n }\n else\n {\n yB = func(xR);\n }\n }\n }\n boxArea = Math.abs(xL-xR)*Math.abs(yT-yB);\n }", "title": "" }, { "docid": "456cc637b8d6c174a587907aca8f03e4", "score": "0.49351624", "text": "private double bobyqb(double[] lowerBound, double[] upperBound) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // XXX\n printMethod();\n final int n = currentBest.getDimension();\n final int npt = numberOfInterpolationPoints;\n final int np = AOR_plus(n, 1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75214, _mut75215, _mut75216, _mut75217);\n final int nptm = AOR_minus(npt, np, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75218, _mut75219, _mut75220, _mut75221);\n final int nh = AOR_divide(AOR_multiply(n, np, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75222, _mut75223, _mut75224, _mut75225), 2, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75226, _mut75227, _mut75228, _mut75229);\n final ArrayRealVector work1 = new ArrayRealVector(n);\n final ArrayRealVector work2 = new ArrayRealVector(npt);\n final ArrayRealVector work3 = new ArrayRealVector(npt);\n double cauchy = Double.NaN;\n double alpha = Double.NaN;\n double dsq = Double.NaN;\n double crvmin = Double.NaN;\n trustRegionCenterInterpolationPointIndex = 0;\n prelim(lowerBound, upperBound);\n double xoptsq = ZERO;\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75234, _mut75235, _mut75236, _mut75237, _mut75238); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n trustRegionCenterOffset.setEntry(i, interpolationPoints.getEntry(trustRegionCenterInterpolationPointIndex, i));\n // Computing 2nd power\n final double deltaOne = trustRegionCenterOffset.getEntry(i);\n xoptsq += AOR_multiply(deltaOne, deltaOne, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75230, _mut75231, _mut75232, _mut75233);\n }\n double fsave = fAtInterpolationPoints.getEntry(0);\n final int kbase = 0;\n int ntrits = 0;\n int itest = 0;\n int knew = 0;\n int nfsav = getEvaluations();\n double rho = initialTrustRegionRadius;\n double delta = rho;\n double diffa = ZERO;\n double diffb = ZERO;\n double diffc = ZERO;\n double f = ZERO;\n double beta = ZERO;\n double adelt = ZERO;\n double denom = ZERO;\n double ratio = ZERO;\n double dnorm = ZERO;\n double scaden = ZERO;\n double biglsq = ZERO;\n double distsq = ZERO;\n int state = 20;\n for (; ; ) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n switch(state) {\n case 20:\n {\n // XXX\n printState(20);\n if (ROR_not_equals(trustRegionCenterInterpolationPointIndex, kbase, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75239, _mut75240, _mut75241, _mut75242, _mut75243)) {\n int ih = 0;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75270, _mut75271, _mut75272, _mut75273, _mut75274); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n for (int i = 0; ROR_less_equals(i, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75265, _mut75266, _mut75267, _mut75268, _mut75269); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n if (ROR_less(i, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75244, _mut75245, _mut75246, _mut75247, _mut75248)) {\n gradientAtTrustRegionCenter.setEntry(j, AOR_plus(gradientAtTrustRegionCenter.getEntry(j), AOR_multiply(modelSecondDerivativesValues.getEntry(ih), trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75249, _mut75250, _mut75251, _mut75252), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75253, _mut75254, _mut75255, _mut75256));\n }\n gradientAtTrustRegionCenter.setEntry(i, AOR_plus(gradientAtTrustRegionCenter.getEntry(i), AOR_multiply(modelSecondDerivativesValues.getEntry(ih), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75257, _mut75258, _mut75259, _mut75260), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75261, _mut75262, _mut75263, _mut75264));\n ih++;\n }\n }\n if (ROR_greater(getEvaluations(), npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75275, _mut75276, _mut75277, _mut75278, _mut75279)) {\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75302, _mut75303, _mut75304, _mut75305, _mut75306); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double temp = ZERO;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75284, _mut75285, _mut75286, _mut75287, _mut75288); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n temp += AOR_multiply(interpolationPoints.getEntry(k, j), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75280, _mut75281, _mut75282, _mut75283);\n }\n temp *= modelSecondDerivativesParameters.getEntry(k);\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75297, _mut75298, _mut75299, _mut75300, _mut75301); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n gradientAtTrustRegionCenter.setEntry(i, AOR_plus(gradientAtTrustRegionCenter.getEntry(i), AOR_multiply(temp, interpolationPoints.getEntry(k, i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75289, _mut75290, _mut75291, _mut75292), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75293, _mut75294, _mut75295, _mut75296));\n }\n }\n }\n }\n }\n case 60:\n {\n // XXX\n printState(60);\n final ArrayRealVector gnew = new ArrayRealVector(n);\n final ArrayRealVector xbdi = new ArrayRealVector(n);\n final ArrayRealVector s = new ArrayRealVector(n);\n final ArrayRealVector hs = new ArrayRealVector(n);\n final ArrayRealVector hred = new ArrayRealVector(n);\n final double[] dsqCrvmin = trsbox(delta, gnew, xbdi, s, hs, hred);\n dsq = dsqCrvmin[0];\n crvmin = dsqCrvmin[1];\n // Computing MIN\n double deltaOne = delta;\n double deltaTwo = FastMath.sqrt(dsq);\n dnorm = FastMath.min(deltaOne, deltaTwo);\n if (ROR_less(dnorm, AOR_multiply(HALF, rho, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75307, _mut75308, _mut75309, _mut75310), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75311, _mut75312, _mut75313, _mut75314, _mut75315)) {\n ntrits = -1;\n // Computing 2nd power\n deltaOne = AOR_multiply(TEN, rho, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75316, _mut75317, _mut75318, _mut75319);\n distsq = AOR_multiply(deltaOne, deltaOne, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75320, _mut75321, _mut75322, _mut75323);\n if (ROR_less_equals(getEvaluations(), AOR_plus(nfsav, 2, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75324, _mut75325, _mut75326, _mut75327), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75328, _mut75329, _mut75330, _mut75331, _mut75332)) {\n state = 650;\n break;\n }\n // Computing MAX\n deltaOne = FastMath.max(diffa, diffb);\n final double errbig = FastMath.max(deltaOne, diffc);\n final double frhosq = AOR_multiply(AOR_multiply(rho, ONE_OVER_EIGHT, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75333, _mut75334, _mut75335, _mut75336), rho, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75337, _mut75338, _mut75339, _mut75340);\n if ((_mut75355 ? (ROR_greater(crvmin, ZERO, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75341, _mut75342, _mut75343, _mut75344, _mut75345) || ROR_greater(errbig, AOR_multiply(frhosq, crvmin, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75346, _mut75347, _mut75348, _mut75349), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75350, _mut75351, _mut75352, _mut75353, _mut75354)) : (ROR_greater(crvmin, ZERO, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75341, _mut75342, _mut75343, _mut75344, _mut75345) && ROR_greater(errbig, AOR_multiply(frhosq, crvmin, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75346, _mut75347, _mut75348, _mut75349), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75350, _mut75351, _mut75352, _mut75353, _mut75354)))) {\n state = 650;\n break;\n }\n final double bdtol = AOR_divide(errbig, rho, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75356, _mut75357, _mut75358, _mut75359);\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75413, _mut75414, _mut75415, _mut75416, _mut75417); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double bdtest = bdtol;\n if (ROR_equals(newPoint.getEntry(j), lowerDifference.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75360, _mut75361, _mut75362, _mut75363, _mut75364)) {\n bdtest = work1.getEntry(j);\n }\n if (ROR_equals(newPoint.getEntry(j), upperDifference.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75365, _mut75366, _mut75367, _mut75368, _mut75369)) {\n bdtest = -work1.getEntry(j);\n }\n if (ROR_less(bdtest, bdtol, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75370, _mut75371, _mut75372, _mut75373, _mut75374)) {\n double curv = modelSecondDerivativesValues.getEntry(AOR_divide((AOR_plus(j, AOR_multiply(j, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75375, _mut75376, _mut75377, _mut75378), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75379, _mut75380, _mut75381, _mut75382)), 2, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75383, _mut75384, _mut75385, _mut75386));\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75395, _mut75396, _mut75397, _mut75398, _mut75399); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing 2nd power\n final double d1 = interpolationPoints.getEntry(k, j);\n curv += AOR_multiply(modelSecondDerivativesParameters.getEntry(k), (AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75387, _mut75388, _mut75389, _mut75390)), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75391, _mut75392, _mut75393, _mut75394);\n }\n bdtest += AOR_multiply(AOR_multiply(HALF, curv, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75400, _mut75401, _mut75402, _mut75403), rho, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75404, _mut75405, _mut75406, _mut75407);\n if (ROR_less(bdtest, bdtol, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75408, _mut75409, _mut75410, _mut75411, _mut75412)) {\n state = 650;\n break;\n }\n }\n }\n state = 680;\n break;\n }\n ++ntrits;\n }\n case 90:\n {\n // XXX\n printState(90);\n if (ROR_less_equals(dsq, AOR_multiply(xoptsq, ONE_OVER_A_THOUSAND, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75418, _mut75419, _mut75420, _mut75421), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75422, _mut75423, _mut75424, _mut75425, _mut75426)) {\n final double fracsq = AOR_multiply(xoptsq, ONE_OVER_FOUR, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75427, _mut75428, _mut75429, _mut75430);\n double sumpq = ZERO;\n // = new ArrayRealVector(npt, -HALF * xoptsq).add(interpolationPoints.operate(trustRegionCenter));\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75494, _mut75495, _mut75496, _mut75497, _mut75498); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sumpq += modelSecondDerivativesParameters.getEntry(k);\n double sum = AOR_multiply(-HALF, xoptsq, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75431, _mut75432, _mut75433, _mut75434);\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75439, _mut75440, _mut75441, _mut75442, _mut75443); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sum += AOR_multiply(interpolationPoints.getEntry(k, i), trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75435, _mut75436, _mut75437, _mut75438);\n }\n // sum = sumVector.getEntry(k); // XXX \"testAckley\" and \"testDiffPow\" fail.\n work2.setEntry(k, sum);\n final double temp = AOR_minus(fracsq, AOR_multiply(HALF, sum, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75444, _mut75445, _mut75446, _mut75447), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75448, _mut75449, _mut75450, _mut75451);\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75489, _mut75490, _mut75491, _mut75492, _mut75493); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n work1.setEntry(i, bMatrix.getEntry(k, i));\n lagrangeValuesAtNewPoint.setEntry(i, AOR_plus(AOR_multiply(sum, interpolationPoints.getEntry(k, i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75452, _mut75453, _mut75454, _mut75455), AOR_multiply(temp, trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75456, _mut75457, _mut75458, _mut75459), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75460, _mut75461, _mut75462, _mut75463));\n final int ip = AOR_plus(npt, i, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75464, _mut75465, _mut75466, _mut75467);\n for (int j = 0; ROR_less_equals(j, i, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75484, _mut75485, _mut75486, _mut75487, _mut75488); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n bMatrix.setEntry(ip, j, AOR_plus(AOR_plus(bMatrix.getEntry(ip, j), AOR_multiply(work1.getEntry(i), lagrangeValuesAtNewPoint.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75468, _mut75469, _mut75470, _mut75471), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75472, _mut75473, _mut75474, _mut75475), AOR_multiply(lagrangeValuesAtNewPoint.getEntry(i), work1.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75476, _mut75477, _mut75478, _mut75479), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75480, _mut75481, _mut75482, _mut75483));\n }\n }\n }\n for (int m = 0; ROR_less(m, nptm, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75573, _mut75574, _mut75575, _mut75576, _mut75577); m++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double sumz = ZERO;\n double sumw = ZERO;\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75503, _mut75504, _mut75505, _mut75506, _mut75507); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sumz += zMatrix.getEntry(k, m);\n lagrangeValuesAtNewPoint.setEntry(k, AOR_multiply(work2.getEntry(k), zMatrix.getEntry(k, m), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75499, _mut75500, _mut75501, _mut75502));\n sumw += lagrangeValuesAtNewPoint.getEntry(k);\n }\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75546, _mut75547, _mut75548, _mut75549, _mut75550); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double sum = AOR_multiply((AOR_minus(AOR_multiply(fracsq, sumz, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75508, _mut75509, _mut75510, _mut75511), AOR_multiply(HALF, sumw, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75512, _mut75513, _mut75514, _mut75515), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75516, _mut75517, _mut75518, _mut75519)), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75520, _mut75521, _mut75522, _mut75523);\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75528, _mut75529, _mut75530, _mut75531, _mut75532); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sum += AOR_multiply(lagrangeValuesAtNewPoint.getEntry(k), interpolationPoints.getEntry(k, j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75524, _mut75525, _mut75526, _mut75527);\n }\n work1.setEntry(j, sum);\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75541, _mut75542, _mut75543, _mut75544, _mut75545); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n bMatrix.setEntry(k, j, AOR_plus(bMatrix.getEntry(k, j), AOR_multiply(sum, zMatrix.getEntry(k, m), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75533, _mut75534, _mut75535, _mut75536), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75537, _mut75538, _mut75539, _mut75540));\n }\n }\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75568, _mut75569, _mut75570, _mut75571, _mut75572); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n final int ip = AOR_plus(i, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75551, _mut75552, _mut75553, _mut75554);\n final double temp = work1.getEntry(i);\n for (int j = 0; ROR_less_equals(j, i, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75563, _mut75564, _mut75565, _mut75566, _mut75567); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n bMatrix.setEntry(ip, j, AOR_plus(bMatrix.getEntry(ip, j), AOR_multiply(temp, work1.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75555, _mut75556, _mut75557, _mut75558), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75559, _mut75560, _mut75561, _mut75562));\n }\n }\n }\n int ih = 0;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75632, _mut75633, _mut75634, _mut75635, _mut75636); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n work1.setEntry(j, AOR_multiply(AOR_multiply(-HALF, sumpq, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75578, _mut75579, _mut75580, _mut75581), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75582, _mut75583, _mut75584, _mut75585));\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75598, _mut75599, _mut75600, _mut75601, _mut75602); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n work1.setEntry(j, AOR_plus(work1.getEntry(j), AOR_multiply(modelSecondDerivativesParameters.getEntry(k), interpolationPoints.getEntry(k, j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75586, _mut75587, _mut75588, _mut75589), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75590, _mut75591, _mut75592, _mut75593));\n interpolationPoints.setEntry(k, j, AOR_minus(interpolationPoints.getEntry(k, j), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75594, _mut75595, _mut75596, _mut75597));\n }\n for (int i = 0; ROR_less_equals(i, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75627, _mut75628, _mut75629, _mut75630, _mut75631); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n modelSecondDerivativesValues.setEntry(ih, AOR_plus(AOR_plus(modelSecondDerivativesValues.getEntry(ih), AOR_multiply(work1.getEntry(i), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75603, _mut75604, _mut75605, _mut75606), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75607, _mut75608, _mut75609, _mut75610), AOR_multiply(trustRegionCenterOffset.getEntry(i), work1.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75611, _mut75612, _mut75613, _mut75614), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75615, _mut75616, _mut75617, _mut75618));\n bMatrix.setEntry(AOR_plus(npt, i, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75619, _mut75620, _mut75621, _mut75622), j, bMatrix.getEntry(AOR_plus(npt, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75623, _mut75624, _mut75625, _mut75626), i));\n ih++;\n }\n }\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75653, _mut75654, _mut75655, _mut75656, _mut75657); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n originShift.setEntry(i, AOR_plus(originShift.getEntry(i), trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75637, _mut75638, _mut75639, _mut75640));\n newPoint.setEntry(i, AOR_minus(newPoint.getEntry(i), trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75641, _mut75642, _mut75643, _mut75644));\n lowerDifference.setEntry(i, AOR_minus(lowerDifference.getEntry(i), trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75645, _mut75646, _mut75647, _mut75648));\n upperDifference.setEntry(i, AOR_minus(upperDifference.getEntry(i), trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75649, _mut75650, _mut75651, _mut75652));\n trustRegionCenterOffset.setEntry(i, ZERO);\n }\n xoptsq = ZERO;\n }\n if (ROR_equals(ntrits, 0, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75658, _mut75659, _mut75660, _mut75661, _mut75662)) {\n state = 210;\n break;\n }\n state = 230;\n break;\n }\n case 210:\n {\n // XXX\n printState(210);\n final double[] alphaCauchy = altmov(knew, adelt);\n alpha = alphaCauchy[0];\n cauchy = alphaCauchy[1];\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75667, _mut75668, _mut75669, _mut75670, _mut75671); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n trialStepPoint.setEntry(i, AOR_minus(newPoint.getEntry(i), trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75663, _mut75664, _mut75665, _mut75666));\n }\n }\n case 230:\n {\n // XXX\n printState(230);\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75701, _mut75702, _mut75703, _mut75704, _mut75705); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double suma = ZERO;\n double sumb = ZERO;\n double sum = ZERO;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75684, _mut75685, _mut75686, _mut75687, _mut75688); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n suma += AOR_multiply(interpolationPoints.getEntry(k, j), trialStepPoint.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75672, _mut75673, _mut75674, _mut75675);\n sumb += AOR_multiply(interpolationPoints.getEntry(k, j), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75676, _mut75677, _mut75678, _mut75679);\n sum += AOR_multiply(bMatrix.getEntry(k, j), trialStepPoint.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75680, _mut75681, _mut75682, _mut75683);\n }\n work3.setEntry(k, AOR_multiply(suma, (AOR_plus(AOR_multiply(HALF, suma, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75689, _mut75690, _mut75691, _mut75692), sumb, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75693, _mut75694, _mut75695, _mut75696)), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75697, _mut75698, _mut75699, _mut75700));\n lagrangeValuesAtNewPoint.setEntry(k, sum);\n work2.setEntry(k, suma);\n }\n beta = ZERO;\n for (int m = 0; ROR_less(m, nptm, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75732, _mut75733, _mut75734, _mut75735, _mut75736); m++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double sum = ZERO;\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75710, _mut75711, _mut75712, _mut75713, _mut75714); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sum += AOR_multiply(zMatrix.getEntry(k, m), work3.getEntry(k), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75706, _mut75707, _mut75708, _mut75709);\n }\n beta -= AOR_multiply(sum, sum, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75715, _mut75716, _mut75717, _mut75718);\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75727, _mut75728, _mut75729, _mut75730, _mut75731); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n lagrangeValuesAtNewPoint.setEntry(k, AOR_plus(lagrangeValuesAtNewPoint.getEntry(k), AOR_multiply(sum, zMatrix.getEntry(k, m), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75719, _mut75720, _mut75721, _mut75722), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75723, _mut75724, _mut75725, _mut75726));\n }\n }\n dsq = ZERO;\n double bsum = ZERO;\n double dx = ZERO;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75775, _mut75776, _mut75777, _mut75778, _mut75779); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing 2nd power\n final double d1 = trialStepPoint.getEntry(j);\n dsq += AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75737, _mut75738, _mut75739, _mut75740);\n double sum = ZERO;\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75745, _mut75746, _mut75747, _mut75748, _mut75749); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sum += AOR_multiply(work3.getEntry(k), bMatrix.getEntry(k, j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75741, _mut75742, _mut75743, _mut75744);\n }\n bsum += AOR_multiply(sum, trialStepPoint.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75750, _mut75751, _mut75752, _mut75753);\n final int jp = AOR_plus(npt, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75754, _mut75755, _mut75756, _mut75757);\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75762, _mut75763, _mut75764, _mut75765, _mut75766); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sum += AOR_multiply(bMatrix.getEntry(jp, i), trialStepPoint.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75758, _mut75759, _mut75760, _mut75761);\n }\n lagrangeValuesAtNewPoint.setEntry(jp, sum);\n bsum += AOR_multiply(sum, trialStepPoint.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75767, _mut75768, _mut75769, _mut75770);\n dx += AOR_multiply(trialStepPoint.getEntry(j), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75771, _mut75772, _mut75773, _mut75774);\n }\n // Original\n beta = AOR_minus(AOR_plus(AOR_plus(AOR_multiply(dx, dx, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75780, _mut75781, _mut75782, _mut75783), AOR_multiply(dsq, (AOR_plus(AOR_plus(AOR_plus(xoptsq, dx, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75784, _mut75785, _mut75786, _mut75787), dx, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75788, _mut75789, _mut75790, _mut75791), AOR_multiply(HALF, dsq, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75792, _mut75793, _mut75794, _mut75795), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75796, _mut75797, _mut75798, _mut75799)), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75800, _mut75801, _mut75802, _mut75803), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75804, _mut75805, _mut75806, _mut75807), beta, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75808, _mut75809, _mut75810, _mut75811), bsum, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75812, _mut75813, _mut75814, _mut75815);\n lagrangeValuesAtNewPoint.setEntry(trustRegionCenterInterpolationPointIndex, AOR_plus(lagrangeValuesAtNewPoint.getEntry(trustRegionCenterInterpolationPointIndex), ONE, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75816, _mut75817, _mut75818, _mut75819));\n if (ROR_equals(ntrits, 0, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75820, _mut75821, _mut75822, _mut75823, _mut75824)) {\n // Computing 2nd power\n final double d1 = lagrangeValuesAtNewPoint.getEntry(knew);\n denom = AOR_plus(AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75902, _mut75903, _mut75904, _mut75905), AOR_multiply(alpha, beta, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75906, _mut75907, _mut75908, _mut75909), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75910, _mut75911, _mut75912, _mut75913);\n if ((_mut75924 ? (ROR_less(denom, cauchy, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75914, _mut75915, _mut75916, _mut75917, _mut75918) || ROR_greater(cauchy, ZERO, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75919, _mut75920, _mut75921, _mut75922, _mut75923)) : (ROR_less(denom, cauchy, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75914, _mut75915, _mut75916, _mut75917, _mut75918) && ROR_greater(cauchy, ZERO, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75919, _mut75920, _mut75921, _mut75922, _mut75923)))) {\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75929, _mut75930, _mut75931, _mut75932, _mut75933); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n newPoint.setEntry(i, alternativeNewPoint.getEntry(i));\n trialStepPoint.setEntry(i, AOR_minus(newPoint.getEntry(i), trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75925, _mut75926, _mut75927, _mut75928));\n }\n // XXX Useful statement?\n cauchy = ZERO;\n state = 230;\n break;\n }\n } else {\n final double delsq = AOR_multiply(delta, delta, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75825, _mut75826, _mut75827, _mut75828);\n scaden = ZERO;\n biglsq = ZERO;\n knew = 0;\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75897, _mut75898, _mut75899, _mut75900, _mut75901); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n if (ROR_equals(k, trustRegionCenterInterpolationPointIndex, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75829, _mut75830, _mut75831, _mut75832, _mut75833)) {\n continue;\n }\n double hdiag = ZERO;\n for (int m = 0; ROR_less(m, nptm, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75838, _mut75839, _mut75840, _mut75841, _mut75842); m++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing 2nd power\n final double d1 = zMatrix.getEntry(k, m);\n hdiag += AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75834, _mut75835, _mut75836, _mut75837);\n }\n // Computing 2nd power\n final double d2 = lagrangeValuesAtNewPoint.getEntry(k);\n final double den = AOR_plus(AOR_multiply(beta, hdiag, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75843, _mut75844, _mut75845, _mut75846), AOR_multiply(d2, d2, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75847, _mut75848, _mut75849, _mut75850), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75851, _mut75852, _mut75853, _mut75854);\n distsq = ZERO;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75863, _mut75864, _mut75865, _mut75866, _mut75867); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing 2nd power\n final double d3 = AOR_minus(interpolationPoints.getEntry(k, j), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75855, _mut75856, _mut75857, _mut75858);\n distsq += AOR_multiply(d3, d3, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75859, _mut75860, _mut75861, _mut75862);\n }\n // Computing 2nd power\n final double d4 = AOR_divide(distsq, delsq, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75868, _mut75869, _mut75870, _mut75871);\n final double temp = FastMath.max(ONE, AOR_multiply(d4, d4, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75872, _mut75873, _mut75874, _mut75875));\n if (ROR_greater(AOR_multiply(temp, den, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75876, _mut75877, _mut75878, _mut75879), scaden, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75880, _mut75881, _mut75882, _mut75883, _mut75884)) {\n scaden = AOR_multiply(temp, den, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75885, _mut75886, _mut75887, _mut75888);\n knew = k;\n denom = den;\n }\n // Computing 2nd power\n final double d5 = lagrangeValuesAtNewPoint.getEntry(k);\n biglsq = FastMath.max(biglsq, AOR_multiply(temp, (AOR_multiply(d5, d5, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75889, _mut75890, _mut75891, _mut75892)), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75893, _mut75894, _mut75895, _mut75896));\n }\n }\n }\n case 360:\n {\n // XXX\n printState(360);\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75948, _mut75949, _mut75950, _mut75951, _mut75952); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing MAX\n final double d3 = lowerBound[i];\n final double d4 = AOR_plus(originShift.getEntry(i), newPoint.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75934, _mut75935, _mut75936, _mut75937);\n final double d1 = FastMath.max(d3, d4);\n final double d2 = upperBound[i];\n currentBest.setEntry(i, FastMath.min(d1, d2));\n if (ROR_equals(newPoint.getEntry(i), lowerDifference.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75938, _mut75939, _mut75940, _mut75941, _mut75942)) {\n currentBest.setEntry(i, lowerBound[i]);\n }\n if (ROR_equals(newPoint.getEntry(i), upperDifference.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75943, _mut75944, _mut75945, _mut75946, _mut75947)) {\n currentBest.setEntry(i, upperBound[i]);\n }\n }\n f = computeObjectiveValue(currentBest.toArray());\n if (!isMinimize) {\n f = -f;\n }\n if (ROR_equals(ntrits, -1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75953, _mut75954, _mut75955, _mut75956, _mut75957)) {\n fsave = f;\n state = 720;\n break;\n }\n final double fopt = fAtInterpolationPoints.getEntry(trustRegionCenterInterpolationPointIndex);\n double vquad = ZERO;\n int ih = 0;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75980, _mut75981, _mut75982, _mut75983, _mut75984); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n vquad += AOR_multiply(trialStepPoint.getEntry(j), gradientAtTrustRegionCenter.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75958, _mut75959, _mut75960, _mut75961);\n for (int i = 0; ROR_less_equals(i, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75975, _mut75976, _mut75977, _mut75978, _mut75979); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double temp = AOR_multiply(trialStepPoint.getEntry(i), trialStepPoint.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75962, _mut75963, _mut75964, _mut75965);\n if (ROR_equals(i, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75966, _mut75967, _mut75968, _mut75969, _mut75970)) {\n temp *= HALF;\n }\n vquad += AOR_multiply(modelSecondDerivativesValues.getEntry(ih), temp, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75971, _mut75972, _mut75973, _mut75974);\n ih++;\n }\n }\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75997, _mut75998, _mut75999, _mut76000, _mut76001); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing 2nd power\n final double d1 = work2.getEntry(k);\n // \"d1\" must be squared first to prevent test failures.\n final double d2 = AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75985, _mut75986, _mut75987, _mut75988);\n vquad += AOR_multiply(AOR_multiply(HALF, modelSecondDerivativesParameters.getEntry(k), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75989, _mut75990, _mut75991, _mut75992), d2, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut75993, _mut75994, _mut75995, _mut75996);\n }\n final double diff = AOR_minus(AOR_minus(f, fopt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76002, _mut76003, _mut76004, _mut76005), vquad, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76006, _mut76007, _mut76008, _mut76009);\n diffc = diffb;\n diffb = diffa;\n diffa = FastMath.abs(diff);\n if (ROR_greater(dnorm, rho, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76010, _mut76011, _mut76012, _mut76013, _mut76014)) {\n nfsav = getEvaluations();\n }\n if (ROR_greater(ntrits, 0, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76015, _mut76016, _mut76017, _mut76018, _mut76019)) {\n if (ROR_greater_equals(vquad, ZERO, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76020, _mut76021, _mut76022, _mut76023, _mut76024)) {\n throw new MathIllegalStateException(LocalizedFormats.TRUST_REGION_STEP_FAILED, vquad);\n }\n ratio = AOR_divide((AOR_minus(f, fopt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76025, _mut76026, _mut76027, _mut76028)), vquad, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76029, _mut76030, _mut76031, _mut76032);\n final double hDelta = AOR_multiply(HALF, delta, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76033, _mut76034, _mut76035, _mut76036);\n if (ROR_less_equals(ratio, ONE_OVER_TEN, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76037, _mut76038, _mut76039, _mut76040, _mut76041)) {\n // Computing MIN\n delta = FastMath.min(hDelta, dnorm);\n } else if (ROR_less_equals(ratio, .7, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76042, _mut76043, _mut76044, _mut76045, _mut76046)) {\n // Computing MAX\n delta = FastMath.max(hDelta, dnorm);\n } else {\n // Computing MAX\n delta = FastMath.max(hDelta, AOR_multiply(2, dnorm, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76047, _mut76048, _mut76049, _mut76050));\n }\n if (ROR_less_equals(delta, AOR_multiply(rho, 1.5, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76051, _mut76052, _mut76053, _mut76054), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76055, _mut76056, _mut76057, _mut76058, _mut76059)) {\n delta = rho;\n }\n if (ROR_less(f, fopt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76060, _mut76061, _mut76062, _mut76063, _mut76064)) {\n final int ksav = knew;\n final double densav = denom;\n final double delsq = AOR_multiply(delta, delta, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76065, _mut76066, _mut76067, _mut76068);\n scaden = ZERO;\n biglsq = ZERO;\n knew = 0;\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76132, _mut76133, _mut76134, _mut76135, _mut76136); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double hdiag = ZERO;\n for (int m = 0; ROR_less(m, nptm, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76073, _mut76074, _mut76075, _mut76076, _mut76077); m++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing 2nd power\n final double d1 = zMatrix.getEntry(k, m);\n hdiag += AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76069, _mut76070, _mut76071, _mut76072);\n }\n // Computing 2nd power\n final double d1 = lagrangeValuesAtNewPoint.getEntry(k);\n final double den = AOR_plus(AOR_multiply(beta, hdiag, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76078, _mut76079, _mut76080, _mut76081), AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76082, _mut76083, _mut76084, _mut76085), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76086, _mut76087, _mut76088, _mut76089);\n distsq = ZERO;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76098, _mut76099, _mut76100, _mut76101, _mut76102); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing 2nd power\n final double d2 = AOR_minus(interpolationPoints.getEntry(k, j), newPoint.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76090, _mut76091, _mut76092, _mut76093);\n distsq += AOR_multiply(d2, d2, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76094, _mut76095, _mut76096, _mut76097);\n }\n // Computing 2nd power\n final double d3 = AOR_divide(distsq, delsq, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76103, _mut76104, _mut76105, _mut76106);\n final double temp = FastMath.max(ONE, AOR_multiply(d3, d3, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76107, _mut76108, _mut76109, _mut76110));\n if (ROR_greater(AOR_multiply(temp, den, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76111, _mut76112, _mut76113, _mut76114), scaden, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76115, _mut76116, _mut76117, _mut76118, _mut76119)) {\n scaden = AOR_multiply(temp, den, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76120, _mut76121, _mut76122, _mut76123);\n knew = k;\n denom = den;\n }\n // Computing 2nd power\n final double d4 = lagrangeValuesAtNewPoint.getEntry(k);\n final double d5 = AOR_multiply(temp, (AOR_multiply(d4, d4, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76124, _mut76125, _mut76126, _mut76127)), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76128, _mut76129, _mut76130, _mut76131);\n biglsq = FastMath.max(biglsq, d5);\n }\n if (ROR_less_equals(scaden, AOR_multiply(HALF, biglsq, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76137, _mut76138, _mut76139, _mut76140), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76141, _mut76142, _mut76143, _mut76144, _mut76145)) {\n knew = ksav;\n denom = densav;\n }\n }\n }\n update(beta, denom, knew);\n ih = 0;\n final double pqold = modelSecondDerivativesParameters.getEntry(knew);\n modelSecondDerivativesParameters.setEntry(knew, ZERO);\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76163, _mut76164, _mut76165, _mut76166, _mut76167); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n final double temp = AOR_multiply(pqold, interpolationPoints.getEntry(knew, i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76146, _mut76147, _mut76148, _mut76149);\n for (int j = 0; ROR_less_equals(j, i, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76158, _mut76159, _mut76160, _mut76161, _mut76162); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n modelSecondDerivativesValues.setEntry(ih, AOR_plus(modelSecondDerivativesValues.getEntry(ih), AOR_multiply(temp, interpolationPoints.getEntry(knew, j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76150, _mut76151, _mut76152, _mut76153), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76154, _mut76155, _mut76156, _mut76157));\n ih++;\n }\n }\n for (int m = 0; ROR_less(m, nptm, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76185, _mut76186, _mut76187, _mut76188, _mut76189); m++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n final double temp = AOR_multiply(diff, zMatrix.getEntry(knew, m), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76168, _mut76169, _mut76170, _mut76171);\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76180, _mut76181, _mut76182, _mut76183, _mut76184); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n modelSecondDerivativesParameters.setEntry(k, AOR_plus(modelSecondDerivativesParameters.getEntry(k), AOR_multiply(temp, zMatrix.getEntry(k, m), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76172, _mut76173, _mut76174, _mut76175), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76176, _mut76177, _mut76178, _mut76179));\n }\n }\n fAtInterpolationPoints.setEntry(knew, f);\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76190, _mut76191, _mut76192, _mut76193, _mut76194); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n interpolationPoints.setEntry(knew, i, newPoint.getEntry(i));\n work1.setEntry(i, bMatrix.getEntry(knew, i));\n }\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76230, _mut76231, _mut76232, _mut76233, _mut76234); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double suma = ZERO;\n for (int m = 0; ROR_less(m, nptm, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76199, _mut76200, _mut76201, _mut76202, _mut76203); m++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n suma += AOR_multiply(zMatrix.getEntry(knew, m), zMatrix.getEntry(k, m), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76195, _mut76196, _mut76197, _mut76198);\n }\n double sumb = ZERO;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76208, _mut76209, _mut76210, _mut76211, _mut76212); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sumb += AOR_multiply(interpolationPoints.getEntry(k, j), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76204, _mut76205, _mut76206, _mut76207);\n }\n final double temp = AOR_multiply(suma, sumb, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76213, _mut76214, _mut76215, _mut76216);\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76225, _mut76226, _mut76227, _mut76228, _mut76229); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n work1.setEntry(i, AOR_plus(work1.getEntry(i), AOR_multiply(temp, interpolationPoints.getEntry(k, i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76217, _mut76218, _mut76219, _mut76220), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76221, _mut76222, _mut76223, _mut76224));\n }\n }\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76243, _mut76244, _mut76245, _mut76246, _mut76247); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n gradientAtTrustRegionCenter.setEntry(i, AOR_plus(gradientAtTrustRegionCenter.getEntry(i), AOR_multiply(diff, work1.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76235, _mut76236, _mut76237, _mut76238), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76239, _mut76240, _mut76241, _mut76242));\n }\n if (ROR_less(f, fopt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76248, _mut76249, _mut76250, _mut76251, _mut76252)) {\n trustRegionCenterInterpolationPointIndex = knew;\n xoptsq = ZERO;\n ih = 0;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76283, _mut76284, _mut76285, _mut76286, _mut76287); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n trustRegionCenterOffset.setEntry(j, newPoint.getEntry(j));\n // Computing 2nd power\n final double d1 = trustRegionCenterOffset.getEntry(j);\n xoptsq += AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76253, _mut76254, _mut76255, _mut76256);\n for (int i = 0; ROR_less_equals(i, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76278, _mut76279, _mut76280, _mut76281, _mut76282); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n if (ROR_less(i, j, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76257, _mut76258, _mut76259, _mut76260, _mut76261)) {\n gradientAtTrustRegionCenter.setEntry(j, AOR_plus(gradientAtTrustRegionCenter.getEntry(j), AOR_multiply(modelSecondDerivativesValues.getEntry(ih), trialStepPoint.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76262, _mut76263, _mut76264, _mut76265), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76266, _mut76267, _mut76268, _mut76269));\n }\n gradientAtTrustRegionCenter.setEntry(i, AOR_plus(gradientAtTrustRegionCenter.getEntry(i), AOR_multiply(modelSecondDerivativesValues.getEntry(ih), trialStepPoint.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76270, _mut76271, _mut76272, _mut76273), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76274, _mut76275, _mut76276, _mut76277));\n ih++;\n }\n }\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76310, _mut76311, _mut76312, _mut76313, _mut76314); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double temp = ZERO;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76292, _mut76293, _mut76294, _mut76295, _mut76296); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n temp += AOR_multiply(interpolationPoints.getEntry(k, j), trialStepPoint.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76288, _mut76289, _mut76290, _mut76291);\n }\n temp *= modelSecondDerivativesParameters.getEntry(k);\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76305, _mut76306, _mut76307, _mut76308, _mut76309); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n gradientAtTrustRegionCenter.setEntry(i, AOR_plus(gradientAtTrustRegionCenter.getEntry(i), AOR_multiply(temp, interpolationPoints.getEntry(k, i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76297, _mut76298, _mut76299, _mut76300), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76301, _mut76302, _mut76303, _mut76304));\n }\n }\n }\n if (ROR_greater(ntrits, 0, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76315, _mut76316, _mut76317, _mut76318, _mut76319)) {\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76324, _mut76325, _mut76326, _mut76327, _mut76328); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n lagrangeValuesAtNewPoint.setEntry(k, AOR_minus(fAtInterpolationPoints.getEntry(k), fAtInterpolationPoints.getEntry(trustRegionCenterInterpolationPointIndex), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76320, _mut76321, _mut76322, _mut76323));\n work3.setEntry(k, ZERO);\n }\n for (int j = 0; ROR_less(j, nptm, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76351, _mut76352, _mut76353, _mut76354, _mut76355); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double sum = ZERO;\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76333, _mut76334, _mut76335, _mut76336, _mut76337); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sum += AOR_multiply(zMatrix.getEntry(k, j), lagrangeValuesAtNewPoint.getEntry(k), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76329, _mut76330, _mut76331, _mut76332);\n }\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76346, _mut76347, _mut76348, _mut76349, _mut76350); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n work3.setEntry(k, AOR_plus(work3.getEntry(k), AOR_multiply(sum, zMatrix.getEntry(k, j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76338, _mut76339, _mut76340, _mut76341), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76342, _mut76343, _mut76344, _mut76345));\n }\n }\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76369, _mut76370, _mut76371, _mut76372, _mut76373); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double sum = ZERO;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76360, _mut76361, _mut76362, _mut76363, _mut76364); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sum += AOR_multiply(interpolationPoints.getEntry(k, j), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76356, _mut76357, _mut76358, _mut76359);\n }\n work2.setEntry(k, work3.getEntry(k));\n work3.setEntry(k, AOR_multiply(sum, work3.getEntry(k), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76365, _mut76366, _mut76367, _mut76368));\n }\n double gqsq = ZERO;\n double gisq = ZERO;\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76429, _mut76430, _mut76431, _mut76432, _mut76433); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double sum = ZERO;\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76386, _mut76387, _mut76388, _mut76389, _mut76390); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n sum += AOR_plus(AOR_multiply(bMatrix.getEntry(k, i), lagrangeValuesAtNewPoint.getEntry(k), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76374, _mut76375, _mut76376, _mut76377), AOR_multiply(interpolationPoints.getEntry(k, i), work3.getEntry(k), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76378, _mut76379, _mut76380, _mut76381), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76382, _mut76383, _mut76384, _mut76385);\n }\n if (ROR_equals(trustRegionCenterOffset.getEntry(i), lowerDifference.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76391, _mut76392, _mut76393, _mut76394, _mut76395)) {\n // Computing 2nd power\n final double d1 = FastMath.min(ZERO, gradientAtTrustRegionCenter.getEntry(i));\n gqsq += AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76417, _mut76418, _mut76419, _mut76420);\n // Computing 2nd power\n final double d2 = FastMath.min(ZERO, sum);\n gisq += AOR_multiply(d2, d2, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76421, _mut76422, _mut76423, _mut76424);\n } else if (ROR_equals(trustRegionCenterOffset.getEntry(i), upperDifference.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76396, _mut76397, _mut76398, _mut76399, _mut76400)) {\n // Computing 2nd power\n final double d1 = FastMath.max(ZERO, gradientAtTrustRegionCenter.getEntry(i));\n gqsq += AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76409, _mut76410, _mut76411, _mut76412);\n // Computing 2nd power\n final double d2 = FastMath.max(ZERO, sum);\n gisq += AOR_multiply(d2, d2, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76413, _mut76414, _mut76415, _mut76416);\n } else {\n // Computing 2nd power\n final double d1 = gradientAtTrustRegionCenter.getEntry(i);\n gqsq += AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76401, _mut76402, _mut76403, _mut76404);\n gisq += AOR_multiply(sum, sum, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76405, _mut76406, _mut76407, _mut76408);\n }\n lagrangeValuesAtNewPoint.setEntry(AOR_plus(npt, i, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76425, _mut76426, _mut76427, _mut76428), sum);\n }\n ++itest;\n if (ROR_less(gqsq, AOR_multiply(TEN, gisq, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76434, _mut76435, _mut76436, _mut76437), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76438, _mut76439, _mut76440, _mut76441, _mut76442)) {\n itest = 0;\n }\n if (ROR_greater_equals(itest, 3, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76443, _mut76444, _mut76445, _mut76446, _mut76447)) {\n for (int i = 0, max = FastMath.max(npt, nh); ROR_less(i, max, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76467, _mut76468, _mut76469, _mut76470, _mut76471); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n if (ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76448, _mut76449, _mut76450, _mut76451, _mut76452)) {\n gradientAtTrustRegionCenter.setEntry(i, lagrangeValuesAtNewPoint.getEntry(AOR_plus(npt, i, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76453, _mut76454, _mut76455, _mut76456)));\n }\n if (ROR_less(i, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76457, _mut76458, _mut76459, _mut76460, _mut76461)) {\n modelSecondDerivativesParameters.setEntry(i, work2.getEntry(i));\n }\n if (ROR_less(i, nh, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76462, _mut76463, _mut76464, _mut76465, _mut76466)) {\n modelSecondDerivativesValues.setEntry(i, ZERO);\n }\n itest = 0;\n }\n }\n }\n if (ROR_equals(ntrits, 0, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76472, _mut76473, _mut76474, _mut76475, _mut76476)) {\n state = 60;\n break;\n }\n if (ROR_less_equals(f, AOR_plus(fopt, AOR_multiply(ONE_OVER_TEN, vquad, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76477, _mut76478, _mut76479, _mut76480), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76481, _mut76482, _mut76483, _mut76484), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76485, _mut76486, _mut76487, _mut76488, _mut76489)) {\n state = 60;\n break;\n }\n // Computing 2nd power\n final double d1 = AOR_multiply(TWO, delta, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76490, _mut76491, _mut76492, _mut76493);\n // Computing 2nd power\n final double d2 = AOR_multiply(TEN, rho, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76494, _mut76495, _mut76496, _mut76497);\n distsq = FastMath.max(AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76498, _mut76499, _mut76500, _mut76501), AOR_multiply(d2, d2, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76502, _mut76503, _mut76504, _mut76505));\n }\n case 650:\n {\n // XXX\n printState(650);\n knew = -1;\n for (int k = 0; ROR_less(k, npt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76524, _mut76525, _mut76526, _mut76527, _mut76528); k++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n double sum = ZERO;\n for (int j = 0; ROR_less(j, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76514, _mut76515, _mut76516, _mut76517, _mut76518); j++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing 2nd power\n final double d1 = AOR_minus(interpolationPoints.getEntry(k, j), trustRegionCenterOffset.getEntry(j), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76506, _mut76507, _mut76508, _mut76509);\n sum += AOR_multiply(d1, d1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76510, _mut76511, _mut76512, _mut76513);\n }\n if (ROR_greater(sum, distsq, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76519, _mut76520, _mut76521, _mut76522, _mut76523)) {\n knew = k;\n distsq = sum;\n }\n }\n if (ROR_greater_equals(knew, 0, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76529, _mut76530, _mut76531, _mut76532, _mut76533)) {\n final double dist = FastMath.sqrt(distsq);\n if (ROR_equals(ntrits, -1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76534, _mut76535, _mut76536, _mut76537, _mut76538)) {\n // Computing MIN\n delta = FastMath.min(AOR_multiply(ONE_OVER_TEN, delta, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76539, _mut76540, _mut76541, _mut76542), AOR_multiply(HALF, dist, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76543, _mut76544, _mut76545, _mut76546));\n if (ROR_less_equals(delta, AOR_multiply(rho, 1.5, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76547, _mut76548, _mut76549, _mut76550), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76551, _mut76552, _mut76553, _mut76554, _mut76555)) {\n delta = rho;\n }\n }\n ntrits = 0;\n // Computing MIN\n final double d1 = FastMath.min(AOR_multiply(ONE_OVER_TEN, dist, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76556, _mut76557, _mut76558, _mut76559), delta);\n adelt = FastMath.max(d1, rho);\n dsq = AOR_multiply(adelt, adelt, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76560, _mut76561, _mut76562, _mut76563);\n state = 90;\n break;\n }\n if (ROR_equals(ntrits, -1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76564, _mut76565, _mut76566, _mut76567, _mut76568)) {\n state = 680;\n break;\n }\n if (ROR_greater(ratio, ZERO, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76569, _mut76570, _mut76571, _mut76572, _mut76573)) {\n state = 60;\n break;\n }\n if (ROR_greater(FastMath.max(delta, dnorm), rho, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76574, _mut76575, _mut76576, _mut76577, _mut76578)) {\n state = 60;\n break;\n }\n }\n case 680:\n {\n // XXX\n printState(680);\n if (ROR_greater(rho, stoppingTrustRegionRadius, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76579, _mut76580, _mut76581, _mut76582, _mut76583)) {\n delta = AOR_multiply(HALF, rho, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76584, _mut76585, _mut76586, _mut76587);\n ratio = AOR_divide(rho, stoppingTrustRegionRadius, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76588, _mut76589, _mut76590, _mut76591);\n if (ROR_less_equals(ratio, SIXTEEN, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76592, _mut76593, _mut76594, _mut76595, _mut76596)) {\n rho = stoppingTrustRegionRadius;\n } else if (ROR_less_equals(ratio, TWO_HUNDRED_FIFTY, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76597, _mut76598, _mut76599, _mut76600, _mut76601)) {\n rho = AOR_multiply(FastMath.sqrt(ratio), stoppingTrustRegionRadius, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76602, _mut76603, _mut76604, _mut76605);\n } else {\n rho *= ONE_OVER_TEN;\n }\n delta = FastMath.max(delta, rho);\n ntrits = 0;\n nfsav = getEvaluations();\n state = 60;\n break;\n }\n if (ROR_equals(ntrits, -1, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76606, _mut76607, _mut76608, _mut76609, _mut76610)) {\n state = 360;\n break;\n }\n }\n case 720:\n {\n // XXX\n printState(720);\n if (ROR_less_equals(fAtInterpolationPoints.getEntry(trustRegionCenterInterpolationPointIndex), fsave, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76611, _mut76612, _mut76613, _mut76614, _mut76615)) {\n for (int i = 0; ROR_less(i, n, \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76630, _mut76631, _mut76632, _mut76633, _mut76634); i++) {\n br.ufmg.labsoft.mutvariants.schematalib.SchemataLibMethods.listener.listen(\"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\");\n // Computing MAX\n final double d3 = lowerBound[i];\n final double d4 = AOR_plus(originShift.getEntry(i), trustRegionCenterOffset.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76616, _mut76617, _mut76618, _mut76619);\n final double d1 = FastMath.max(d3, d4);\n final double d2 = upperBound[i];\n currentBest.setEntry(i, FastMath.min(d1, d2));\n if (ROR_equals(trustRegionCenterOffset.getEntry(i), lowerDifference.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76620, _mut76621, _mut76622, _mut76623, _mut76624)) {\n currentBest.setEntry(i, lowerBound[i]);\n }\n if (ROR_equals(trustRegionCenterOffset.getEntry(i), upperDifference.getEntry(i), \"org.apache.commons.math3.optimization.direct.BOBYQAOptimizer.bobyqb_387\", _mut76625, _mut76626, _mut76627, _mut76628, _mut76629)) {\n currentBest.setEntry(i, upperBound[i]);\n }\n }\n f = fAtInterpolationPoints.getEntry(trustRegionCenterInterpolationPointIndex);\n }\n return f;\n }\n default:\n {\n throw new MathIllegalStateException(LocalizedFormats.SIMPLE_MESSAGE, \"bobyqb\");\n }\n }\n }\n }", "title": "" }, { "docid": "3c02e46f9ace697c2a0f643501acef76", "score": "0.4930915", "text": "long mo11820a(biv[] bivArr, boolean[] zArr, bgb[] bgbArr, boolean[] zArr2, long j);", "title": "" }, { "docid": "c178860eaa4a4b3d84cbafd5133f9cca", "score": "0.49294305", "text": "Side inverse();", "title": "" }, { "docid": "0b414eaed608def54e2139c9f7942dec", "score": "0.49244127", "text": "public void twoWay() throws Exception {\n \t\tcmd(\"2way\");\n \t\tgoes_both_ways=true;\n \t}", "title": "" }, { "docid": "a2532659906a105da73938a60d47e126", "score": "0.49233726", "text": "public Matrix getBR() {\n WeakFormLaplace2D weakForm = new WeakFormLaplace2D();\n weakForm.setParam(FC.C0, FC.c(beta), null, null);\n //stabilize\n //weakForm.setParam(FC.c(1000), FC.c(beta), null, null);\n \n weakForm.setF(FC.C0);\n\n //需要重新标记边界条件,否则在“整体合成”过程会出现错误。\n //虽然边界条件实在大矩阵中设置,这一步也是需要的。\n\t\tmesh.clearBorderNodeMark();\n\t\tHashMap<NodeType, MathFunc> mapNTF = new HashMap<NodeType, MathFunc>();\n\t\tmapNTF.put(NodeType.Dirichlet, null);\n\t\tmesh.markBorderNode(mapNTF);\n\t\t\n //5.Assembly process\n AssemblerScalar assembler =\n new AssemblerScalar(mesh, weakForm);\n System.out.println(\"Begin Assemble...R\");\n assembler.assemble();\n Matrix stiff = assembler.getStiffnessMatrix();\n //Boundary condition\n //边界条件需要在大矩阵中设置\n //assembler.imposeDirichletCondition(FC.c0);\n System.out.println(\"Assemble done!\");\n \n// //\n// System.out.println(\"\\beta R\");\n// for(int i=1;i<=stiff.getColDim();i++) {\n// \tSystem.out.println(stiff.get(i, i));\n// }\n return stiff;\n\t}", "title": "" }, { "docid": "5147d42058a417eaee5f318e5cf5bfdb", "score": "0.49214083", "text": "public int RB(int n){ return _cpu.pRB(n); }", "title": "" }, { "docid": "5d6707d1ca1f885988700b1fd32a99f0", "score": "0.49191567", "text": "public float getX2() {return reversed? x1: x2;}", "title": "" }, { "docid": "262c3c670f2e73df8c66e3e4f5781ffc", "score": "0.4913922", "text": "public double planer_cross_at_zero_0_1() {\n return x_0 * y_1 - y_0 * x_1;\n }", "title": "" }, { "docid": "5932dedf4fd58e0de6d78ed3c01a566b", "score": "0.4913317", "text": "public void cubicSplineWithNaturalBC(){ cubicSplineWith2ndBC(0,0);}", "title": "" }, { "docid": "5cc113815da167fa032fd83d190a5c44", "score": "0.4911925", "text": "abstract int getBias();", "title": "" }, { "docid": "ecda18052ee4e77a075b7df534c968ce", "score": "0.4908983", "text": "private void opcode8XY5(byte x, byte y) {\n short subtraction = (short) (((memory.V[x] & 0xFF) - (memory.V[y] & 0xFF)) & 0x01FF);\n memory.V[x] = (byte) (subtraction & 0x00FF);\n memory.V[0xF] = (byte) ((subtraction>>>8) == 1 ? 0 : 1);\n PC += 2;\n }", "title": "" }, { "docid": "c3ab0474a4b33fb7fc3684999f16599f", "score": "0.48952445", "text": "public final void mo17709b(C4183p2 p2Var) {\n }", "title": "" }, { "docid": "b7d8d41f5370784694914f622c164e0c", "score": "0.48811683", "text": "private void opcode8XY3(byte x, byte y) {\n memory.V[x] ^= memory.V[y];\n PC += 2;\n }", "title": "" }, { "docid": "de6a3127b1e334d35ef5967ad732c4b1", "score": "0.4876448", "text": "public void setINVESTMENTONBS_CV_2(BigDecimal INVESTMENTONBS_CV_2)\r\n {\r\n\tthis.INVESTMENTONBS_CV_2 = INVESTMENTONBS_CV_2;\r\n }", "title": "" }, { "docid": "4070384c07ff2a6005d52bde86f2a7dd", "score": "0.4873342", "text": "public void setINVESTMENTOFFBS_FC_2(BigDecimal INVESTMENTOFFBS_FC_2) {\r\n this.INVESTMENTOFFBS_FC_2 = INVESTMENTOFFBS_FC_2;\r\n }", "title": "" }, { "docid": "9638455ac714d4e22277425ff3fe64e8", "score": "0.48725557", "text": "@Override\n\tpublic BigDecimal getPrice(String side) {\n\t\tdouble totalBuy = amount;\n\t\tdouble totalSell = amount;\n\t\tdouble buyPrice = bids.get(0).doubleValue();\n\t\tdouble sellPrice = asks.get(0).doubleValue();\n\t\t\n\t\tfor( int i=0; i<bids.size(); i++) {\n\t\t\tdouble price = bids.get(i*2).doubleValue();\n\t\t\tdouble volume = bids.get(i*2+1).doubleValue();\n\t\t\t\n\t\t\tif( volume >= totalBuy ) {\n\t\t\t\tbuyPrice = price + (1 / Math.pow(10, scale));\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tbuyPrice = price;\n\t\t\t\ttotalBuy -= volume;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor( int i=0; i<asks.size(); i++) {\n\t\t\tdouble price = asks.get(i*2).doubleValue();\n\t\t\tdouble volume = asks.get(i*2+1).doubleValue();\n\t\t\t\n\t\t\tif( volume >= totalSell ) {\n\t\t\t\tsellPrice = price - (1 / Math.pow(10, scale));\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsellPrice = price;\n\t\t\t\ttotalSell -= volume;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif( buyPrice <= sellPrice ) {\n\t\t\tif( side.equals(\"buy\") ) {\n\t\t\t\treturn new BigDecimal(buyPrice, new MathContext(scale));\n\t\t\t} else {\n\t\t\t\treturn new BigDecimal(sellPrice, new MathContext(scale));\n\t\t\t}\n\t\t} else {\n\t\t\tBigDecimal sell1Price = bids.get(0);\n\t\t\tBigDecimal buy1Price = asks.get(0);\n\t\t\t\n\t\t\treturn sell1Price.add(buy1Price).divide(new BigDecimal(2), scale, BigDecimal.ROUND_HALF_UP);\n\t\t}\n\t}", "title": "" }, { "docid": "8e44df6a1857cee554923875a2db4212", "score": "0.48719472", "text": "public void cubicSplineWith2ndBCMatrix(double c1,double c2){\r\n\t\tDMatrixRMaj A=new DMatrixRMaj(slength,slength);\r\n\t\tDMatrixRMaj d=new DMatrixRMaj(slength,1);\r\n\t\tDMatrixRMaj m=new DMatrixRMaj(slength,1);\r\n\t\t\r\n\t\tfor(int i=1,I=slength-1;i<I;i++){\r\n\t\t\tA.set(i,i-1,h[i-1]/(h[i-1]+h[i]));\t// miu\r\n\t\t\tA.set(i,i ,2);\t\t\t\t\t\t// diagnal\r\n\t\t\tA.set(i,i+1,h[i ]/(h[i-1]+h[i]));\t// lambda\r\n\t\t\td.set(i,0,6.0/(h[i-1]+h[i])*((sy[i+1]-sy[i])/h[i]-(sy[i]-sy[i-1])/h[i-1]));\r\n\t\t}\r\n\t\t\r\n\t\tA.set(0,0,1.0);\r\n\t\td.set(0,0,c1);\r\n\t\t\r\n\t\tA.set(slength-1,slength-1,1.0);\r\n\t\td.set(slength-1,0,c2);\r\n\t\t\r\n\t\tCommonOps_DDRM.solve(A,d,m);\r\n\t\t\r\n\t\tcomputeCoefficients(m.data);\r\n\t}", "title": "" }, { "docid": "509839b38cf6dff894ebb40c956aa2bb", "score": "0.48669532", "text": "boolean hasC2S();", "title": "" }, { "docid": "d050ecda665a9ec9afd270f81bf2e56c", "score": "0.48654208", "text": "public int getSideNumber() {\n\t\treturn 8;\n\t}", "title": "" } ]
b1b52e9ce702d7bf0eccafcdfb6075f1
Set the category name
[ { "docid": "ff82af9a12acedf61d1bf60325d4000b", "score": "0.69071865", "text": "public void setCategoryName(String categoryName) {\n this.categoryName = categoryName;\n }", "title": "" } ]
[ { "docid": "c0d9f8e4efba3ad3075716028a89baef", "score": "0.8372627", "text": "public void setNameOfCategory(String nameOfCategory) {\n this.nameOfCategory = nameOfCategory;\n }", "title": "" }, { "docid": "a5e2c4b3848c095f09ad637f8bff7470", "score": "0.78738177", "text": "public void setCategoryName(String value) {\n setAttributeInternal(CATEGORYNAME, value);\n }", "title": "" }, { "docid": "c77dcf0bbbd63b219c8ca0334db89cb2", "score": "0.7819336", "text": "public void setCategoryName(String name) {\n \t\tthis.set(\"name\",name);\n \t\tthis.saveIt();\n \t}", "title": "" }, { "docid": "15b8371150903d2d568bc5c728f109c7", "score": "0.76563865", "text": "public void setCategname(java.lang.String newValue) {\n\tthis.categname = newValue;\n}", "title": "" }, { "docid": "45d30c2d8bc856659a7bb7f3c21b1d81", "score": "0.7616291", "text": "public Builder setCategoryName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n categoryName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "2f1bd05b8e2a32f87877a3eacf0fa463", "score": "0.72009695", "text": "public void setCategory(String category);", "title": "" }, { "docid": "03afb58b0ed04f451e8895efcccd5e0f", "score": "0.71600544", "text": "void addCategory(String name);", "title": "" }, { "docid": "a2b49b47c68ebf8f94041014c1661ccc", "score": "0.7138084", "text": "public void setCategoryName(String categoryName) {\n this.categoryName = categoryName;\n }", "title": "" }, { "docid": "186cb43e4319c97b42fc33bd5828bdf3", "score": "0.7135975", "text": "public void setCatName(java.lang.String catName) {\n this.catName = catName;\n }", "title": "" }, { "docid": "2cb0fd1ca7fd58208353428d999f67a4", "score": "0.7112188", "text": "public Builder setCategory(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n category_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "cdee74bd14e3e9f5d6355ea77bb3a9fe", "score": "0.7016681", "text": "java.lang.String getCategoryName();", "title": "" }, { "docid": "7bb85a28cbe5c60e0185201806054a5b", "score": "0.7009019", "text": "public void setCategory(String string) {\n\t\t\r\n\t}", "title": "" }, { "docid": "e63a308f84fc891708ceaffba844f97a", "score": "0.696169", "text": "public void setCategory(java.lang.String category)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CATEGORY$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CATEGORY$4);\n }\n target.setStringValue(category);\n }\n }", "title": "" }, { "docid": "e63a308f84fc891708ceaffba844f97a", "score": "0.696169", "text": "public void setCategory(java.lang.String category)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CATEGORY$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CATEGORY$4);\n }\n target.setStringValue(category);\n }\n }", "title": "" }, { "docid": "8bb8493eb11a9f97c2c7e56f847d331f", "score": "0.69174856", "text": "void editCategory(String original, String categoryName);", "title": "" }, { "docid": "4d9aedcdbe1947ea21372c6ab11efb6e", "score": "0.68721604", "text": "public String getCategoryName() {\n \t\t\treturn category;\n \t\t}", "title": "" }, { "docid": "e5475fcee0eba028468da81bc678b2af", "score": "0.68408805", "text": "public String getCategoryName() {\n return categoryName;\n }", "title": "" }, { "docid": "4dcc49da41000dc3a5f0f263e1213b97", "score": "0.6808508", "text": "public String getCategoryName() {\n return this.categoryName;\n }", "title": "" }, { "docid": "4d714e1bfdfd08bf808af7af358476f7", "score": "0.67789096", "text": "public String getCategoryName();", "title": "" }, { "docid": "4d714e1bfdfd08bf808af7af358476f7", "score": "0.67789096", "text": "public String getCategoryName();", "title": "" }, { "docid": "2929e0b2bb66a4f15fb6e1c05edaa73c", "score": "0.6776255", "text": "public void createCategoryName(View v) {\n\t}", "title": "" }, { "docid": "b7edcae78ea2fae73b306555d84af002", "score": "0.671597", "text": "public Builder setCategoryNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n categoryName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "66496ab67994000d15c3b1640b042e31", "score": "0.66953474", "text": "protected void changeCatalog(String category, String name) {\n\t}", "title": "" }, { "docid": "f4b36ec24bb510710038b8e6a90784e6", "score": "0.66705066", "text": "@java.lang.Override\n public java.lang.String getCategoryName() {\n java.lang.Object ref = categoryName_;\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 categoryName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "442ea65f4ab88af9622e584d339942ae", "score": "0.66558284", "text": "public Builder setCategory(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n category_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "0bc04ed485f8c10be642e67e6c4abb54", "score": "0.6629643", "text": "public String getCategoryName() {\n return mCategoryName;\n }", "title": "" }, { "docid": "21cfa8c305ea30451805459440adb77c", "score": "0.6575806", "text": "public void setCategoryDisplayName(String value) {\n setAttributeInternal(CATEGORYDISPLAYNAME, value);\n }", "title": "" }, { "docid": "98665fe4bfc32fb7cccb27563cad4c57", "score": "0.65757394", "text": "public void setCategory(java.lang.String category) {\r\n this.category = category;\r\n }", "title": "" }, { "docid": "4ae04324e1e967aa0493c340c3c9b22e", "score": "0.65542173", "text": "public void xsetCategory(org.apache.xmlbeans.XmlString category)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CATEGORY$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(CATEGORY$4);\n }\n target.set(category);\n }\n }", "title": "" }, { "docid": "4ae04324e1e967aa0493c340c3c9b22e", "score": "0.65542173", "text": "public void xsetCategory(org.apache.xmlbeans.XmlString category)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CATEGORY$4, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(CATEGORY$4);\n }\n target.set(category);\n }\n }", "title": "" }, { "docid": "0b0245497325ffa6c63bcad3a1e0f9f3", "score": "0.6550163", "text": "public void setNameCn(String nameCn) {\r\n\r\n this.nameCn = nameCn;\r\n }", "title": "" }, { "docid": "95498f0f933aaf797b14bedd7a021225", "score": "0.6499638", "text": "public void setName(String name){\n this.name = name + \"(Candy)\";\n }", "title": "" }, { "docid": "16587a8617dd90ce5aea59073539ffb7", "score": "0.6496567", "text": "public void setCategoryName(String categoryName) {\n\t\tthis.categoryName = categoryName;\n\t}", "title": "" }, { "docid": "081a7cdb8687284bd403c7205d775e66", "score": "0.64899987", "text": "public Category(final String name) {\n super();\n this.name = name;\n }", "title": "" }, { "docid": "66e60163d97e3d262ca22528a96b805d", "score": "0.6470943", "text": "@Column(name = \"category_name\")\n\tpublic String getCategoryName() {\n\t\treturn categoryName;\n\t}", "title": "" }, { "docid": "25a18f137762e342e1e6ecb71832065c", "score": "0.64631206", "text": "public void changeCategory(Item i, String category){\n i.setCategory(category);\n }", "title": "" }, { "docid": "45a708a055b11a600ff09cb2697511e5", "score": "0.6435743", "text": "protected void addCategory_namePropertyDescriptor(Object object) {\n itemPropertyDescriptors.add\n (createItemPropertyDescriptor\n (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),\n getResourceLocator(),\n getString(\"_UI_Metadatas_category_name_feature\"),\n getString(\"_UI_PropertyDescriptor_description\", \"_UI_Metadatas_category_name_feature\", \"_UI_Metadatas_type\"),\n DataPackage.Literals.METADATAS__CATEGORY_NAME,\n true,\n false,\n false,\n ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,\n null,\n null));\n }", "title": "" }, { "docid": "e0147a556b2427b1e9740fc43df0074a", "score": "0.64304274", "text": "public java.lang.String getCategoryName() {\n java.lang.Object ref = categoryName_;\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 categoryName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "a17423a0c45fa7da19aaaf0480677bc3", "score": "0.63855207", "text": "public String getNameOfCategory() {\n return nameOfCategory;\n }", "title": "" }, { "docid": "893be03caaeb59bab68c5d737a09fc8f", "score": "0.6376113", "text": "public void updateCategory(Category category) {\n String query = \"UPDATE Category SET catName = ? WHERE id = ?\";\n try (Connection connection = databaseConnector.getConnection()) {\n PreparedStatement preparedStatement = connection.prepareStatement(query);\n preparedStatement.setString(1, category.getCatName());\n preparedStatement.executeUpdate();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "2700325bcfe52279af59ec2489cb89d3", "score": "0.6356322", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t//we can add a title (MR> for example)\n\t// this.name = \"MR. \" + name;\n\t}", "title": "" }, { "docid": "639b6ff56a8d7cc64ea72fa0bbef98fb", "score": "0.6339835", "text": "public void addCategory(String sName) {\n _dxsocCat.addCategory(sName);\n }", "title": "" }, { "docid": "0748229ae6c3d98f6094a5ff946721cb", "score": "0.633355", "text": "public void setCategory(String v) {\n if (SourceMeta_Type.featOkTst && ((SourceMeta_Type)jcasType).casFeat_category == null)\n jcasType.jcas.throwFeatMissing(\"category\", \"eu.eumssi.uima.ts.SourceMeta\");\n jcasType.ll_cas.ll_setStringValue(addr, ((SourceMeta_Type)jcasType).casFeatCode_category, v);}", "title": "" }, { "docid": "df22a2f39c6f3573da7d5c090b9c451c", "score": "0.6317719", "text": "void setCategoryPath(String categoryPath);", "title": "" }, { "docid": "379842f6a0c8c8ba9980f6f9256393f1", "score": "0.6311151", "text": "void clearCategory(String name);", "title": "" }, { "docid": "8c3b971030b8d0eb00e3fb1df4810bdb", "score": "0.63104445", "text": "public String getmCategoryName() {\n\t\treturn mCategoryName;\n\t}", "title": "" }, { "docid": "ebe375b4365b71e82903f5afc7d8c471", "score": "0.63060457", "text": "public void setName(String value) {\n this.name = value;\n }", "title": "" }, { "docid": "ebe375b4365b71e82903f5afc7d8c471", "score": "0.63060457", "text": "public void setName(String value) {\n this.name = value;\n }", "title": "" }, { "docid": "6c7ab9f24e6b0c646176a9aff14a5266", "score": "0.6304487", "text": "public void updateCategoryName(String categoryId, String categoryName) {\n CategoryDefinition currentCategory = null;\n for (Iterator i = categoryDefinitions.iterator(); i.hasNext(); ) {\n currentCategory = (CategoryDefinition) i.next();\n if (currentCategory.getId().equals(categoryId)) {\n categoryDefinitions.remove(currentCategory);\n categoryDefinitions.add(new CategoryDefinition(categoryId, categoryName, currentCategory.getSourceId(), currentCategory.getDescription()));\n fireActivityRegistryChanged();\n return;\n }\n }\n }", "title": "" }, { "docid": "7506d1b0de8d655df6fa31e7f356dc3c", "score": "0.629323", "text": "private void addCategory(String name){\n categories.add(name);\n itemNames.add(new ArrayList<>());\n }", "title": "" }, { "docid": "62468c2383ed9b858160a75cc0b0b0b5", "score": "0.6265886", "text": "protected void init(String category, String name)\n\t\t{ _category = category; _name = name; }", "title": "" }, { "docid": "4b4861aad641b81d79231f9b1e16b347", "score": "0.6258723", "text": "public void setName(java.lang.String value) {\n this.name = value;\n }", "title": "" }, { "docid": "4b4861aad641b81d79231f9b1e16b347", "score": "0.6258723", "text": "public void setName(java.lang.String value) {\n this.name = value;\n }", "title": "" }, { "docid": "2ec746cc22eaae9f2393b1fbe1066de4", "score": "0.62490106", "text": "@java.lang.Override\n public com.google.protobuf.ByteString\n getCategoryNameBytes() {\n java.lang.Object ref = categoryName_;\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 categoryName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "6e40d182435ed6fc71e93afd5b63b70f", "score": "0.62270147", "text": "public void setName(String value) {\n name = value;\n }", "title": "" }, { "docid": "9c87ab9452a6b74d152c98c24394e357", "score": "0.6204534", "text": "public Builder clearCategoryName() {\n bitField0_ = (bitField0_ & ~0x00000002);\n categoryName_ = getDefaultInstance().getCategoryName();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "bcd1e64846657da7eb6e4f0a23d8730c", "score": "0.62012553", "text": "public void setCategory(String category) {\n this.category = category;\n }", "title": "" }, { "docid": "bcd1e64846657da7eb6e4f0a23d8730c", "score": "0.62012553", "text": "public void setCategory(String category) {\n this.category = category;\n }", "title": "" }, { "docid": "0c950b15053027bd1672277f03debe52", "score": "0.61820894", "text": "public Builder setCategories(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n categories_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3a86149cdb399403dc80826175238d2b", "score": "0.617343", "text": "void removeCategory(String name);", "title": "" }, { "docid": "780bf9d30a83d5aee095d3cb682e7761", "score": "0.617251", "text": "void setName(String value);", "title": "" }, { "docid": "e0367270f787cd3f8937b81d2dbd77bd", "score": "0.61715275", "text": "public void setName(String n) { //method for setting names\n name = n;\n }", "title": "" }, { "docid": "6b9811d805f6f86b09cea7e02b83fa42", "score": "0.6168814", "text": "public void setName(final LocalizedString name);", "title": "" }, { "docid": "6b9811d805f6f86b09cea7e02b83fa42", "score": "0.6168814", "text": "public void setName(final LocalizedString name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.6165067", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.6165067", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.6165067", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.6165067", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.6165067", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.6165067", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.6165067", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "0f37526e0e37e5649565b0128726dd10", "score": "0.6165067", "text": "void setName(java.lang.String name);", "title": "" }, { "docid": "661a39c352a992251218740f5cf9a992", "score": "0.6162923", "text": "public void setName(final String value) {\n this.name = value;\n }", "title": "" }, { "docid": "69bf5096378e8f9d736321586a1d7eac", "score": "0.6160245", "text": "public final void setName(java.lang.String name)\r\n\t{\r\n\t\tsetName(getContext(), name);\r\n\t}", "title": "" }, { "docid": "69bf5096378e8f9d736321586a1d7eac", "score": "0.6160245", "text": "public final void setName(java.lang.String name)\r\n\t{\r\n\t\tsetName(getContext(), name);\r\n\t}", "title": "" }, { "docid": "1efa55a5ca2154bc7343bc078103a4db", "score": "0.6158486", "text": "void setName( String name );", "title": "" }, { "docid": "39e86d31a8abfa43ee117587a37047ba", "score": "0.6155422", "text": "public void setNameAtIncident(String name);", "title": "" }, { "docid": "20717c6b0e09daca8f1df98232957e8b", "score": "0.6147598", "text": "java.lang.String getCategory();", "title": "" }, { "docid": "6a96d5f84f34b32dcf6e7a8467b7c370", "score": "0.61455", "text": "public void Category (String category) {\n RequestModel.CategoryFilter filter = new RequestModel.CategoryFilter()\n .withLocale(\"de\");\n API.categories(filter).whenComplete((response, error) -> {\n if (response != null) System.out.println(response);\n else error.printStackTrace();\n });\n }", "title": "" }, { "docid": "e0912c5892fca1c8eb548574a21f9ae6", "score": "0.6131359", "text": "public void setCategory(int category) {\r\n\t\tthis.category = category;\r\n\t}", "title": "" }, { "docid": "46648dfe59153311d85edce2e141633e", "score": "0.6120544", "text": "public final void setName(java.lang.String name)\n\t{\n\t\tsetName(getContext(), name);\n\t}", "title": "" }, { "docid": "46648dfe59153311d85edce2e141633e", "score": "0.6120544", "text": "public final void setName(java.lang.String name)\n\t{\n\t\tsetName(getContext(), name);\n\t}", "title": "" }, { "docid": "46648dfe59153311d85edce2e141633e", "score": "0.6120544", "text": "public final void setName(java.lang.String name)\n\t{\n\t\tsetName(getContext(), name);\n\t}", "title": "" }, { "docid": "e6684db03ac611c30c29ee07e40750d7", "score": "0.6118165", "text": "public void setORM_Category(vae.Category value) {\n\t\tthis.category = value;\n\t}", "title": "" }, { "docid": "1826ea60e81f13905b8e6fd0ad6f1a15", "score": "0.6113623", "text": "public void addCategory(java.lang.String category)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CATEGORY$8);\n target.setStringValue(category);\n }\n }", "title": "" }, { "docid": "175acf69601664f6f9c2bbe3ec263b03", "score": "0.61074674", "text": "public void setCategory(Category category) {\n this.category = category;\n }", "title": "" }, { "docid": "a70fc7fb907e24ed0048c403fd6c44ec", "score": "0.61039144", "text": "public final void setName(String name)\n\t{\n\t\tsetName(getContext(), name);\n\t}", "title": "" }, { "docid": "0077b170073a79ac5bf9f2e168a5d111", "score": "0.6093501", "text": "public void setName(String name){\r\n this.name = name; \r\n }", "title": "" }, { "docid": "4d47a2912d7f829a8afe1b3c19598c08", "score": "0.60895157", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "4d47a2912d7f829a8afe1b3c19598c08", "score": "0.60895157", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "4d47a2912d7f829a8afe1b3c19598c08", "score": "0.60895157", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "4d47a2912d7f829a8afe1b3c19598c08", "score": "0.60895157", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "99cb618a7e7cfbafe3919437a587549e", "score": "0.6088598", "text": "public void setName( String name ) {\r\n this.name = name;\r\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.60797274", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.60797274", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.60797274", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.60797274", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "9957c93cbf28fd0c4647c766136024a8", "score": "0.60797274", "text": "public void setName(String name){\n this.name = name;\n }", "title": "" }, { "docid": "d55e8ef6684b0ea25b8e443421c32b32", "score": "0.60757864", "text": "public void setName(String name){\n\t\tthis.name = name;\n\t\t}", "title": "" } ]
65949397f8b30cf7ad3c4191f590fc50
Attempt to connect to the database.
[ { "docid": "38351ff8f362d768372ca934a86a06d4", "score": "0.68813646", "text": "public void connect() {\r\n\r\n try {\r\n\r\n Properties props = new Properties();\r\n props.setProperty(\"databaseName\", Name);\r\n props.setProperty(\"user\", User);\r\n props.setProperty(\"password\", Password);\r\n\r\n connection = DriverManager.getConnection(\"jdbc:derby:\", props);\r\n connected = true;\r\n\r\n debug.debug(\"Connected to database \" + Name, \"GREEN\");\r\n } catch (SQLException ex) {\r\n\r\n debug.debug(\"Couldn't connect to database \" + Name, \"ERROR\");\r\n }\r\n }", "title": "" } ]
[ { "docid": "ea97358651cdaa8ab0dd225843f6fc0f", "score": "0.759822", "text": "private Connection connectToDatabase() throws Exception {\n database = Database.getInstance();\n database.connect();\n return database.getConnection();\n }", "title": "" }, { "docid": "818e2889564c3bf8dbf8cff188db93b4", "score": "0.74538976", "text": "public void connect() {\n Properties prop = PropertiesReader.getProps();\n\n String dbDriver = prop.getProperty(\"DB_DRIVER\");\n String dbConnection = prop.getProperty(\"DB_CONNECTION\");\n String dbUser = prop.getProperty(\"DB_USER\");\n\n String dbPassword = System.getenv(\"DB_PASSWORD\");\n\n try {\n Class.forName(dbDriver);//used only for versions older than java 4\n connection = DriverManager.getConnection(dbConnection, dbUser, dbPassword);\n } catch (Exception exc) {\n logger.log(Level.SEVERE, \"Error message for Team4: Couldn't connect to database!\", exc);\n new CustomWrapException();\n }\n }", "title": "" }, { "docid": "444812f1b912dbf44ef95e48cd37db7e", "score": "0.7432317", "text": "void connectToDatabase() throws SQLException {\n if (socket != null) {\n throw new SQLException(\"Connection already established.\");\n }\n try {\n // Open a socket connection to the server.\n socket = new Socket(host, port);\n // Setup the stream with the given input and output streams.\n setup(socket.getInputStream(), socket.getOutputStream());\n }\n catch (IOException e) {\n throw new SQLException(e.getMessage());\n }\n }", "title": "" }, { "docid": "941e9df3215bf53a810ba5bbc897ae7b", "score": "0.73946667", "text": "protected void establishDBonnection(){\n\t\ttry{\n\t\t\tconPC = DataBaseManager.giveConnection();\n\t\t\t\n\t\t} catch(Throwable th) {\n\t\t\tLogManager.errorLog(th);\n\t\t}\n\t}", "title": "" }, { "docid": "cf48934a7032e212fdf5485b2bf5afc4", "score": "0.73872185", "text": "public dbConnect(){\n\t\ttry {\n\t\t\tconn = DriverManager.getConnection(url);\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"Connection problem appeared!\");\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "f8c2e49a9320fd0a0b4efd3f02ce2925", "score": "0.73847044", "text": "public void connect() {\n \n if (database_connection != null) close();\n \n try {\n if (DATABASE_DRIVER != null) Class.forName(DATABASE_DRIVER);\n \n database_connection = DriverManager.getConnection(\n database_URI,\n database_username,\n database_password);\n \n } catch (ClassNotFoundException cnfe) {\n error_message = cnfe.getMessage();\n \n try { if (database_connection != null) database_connection.close(); }\n catch (SQLException e) {}\n } catch (SQLException se) {\n connection_exception = se.getMessage();\n error_SQL = se;\n error_message = se.getMessage();\n \n try { if (database_connection != null) database_connection.close(); }\n catch (SQLException e) {}\n }\n }", "title": "" }, { "docid": "ac7ce6c1a78c9a7b623a59845f4d034f", "score": "0.73793066", "text": "private void establishConnection() {\n YaqpLogger.LOG.log(new Info(TheDbConnector.class, \"Attempting connection to :\" + database_url));\n try {\n connection = DriverManager.getConnection(database_url, database_user, \"letmein\");\n isConnected = true;\n YaqpLogger.LOG.log(new Info(TheDbConnector.class, \"Database Connection established at \"\n + database_url + \" by \" + database_user + \" - Now Connected!\"));\n } catch (SQLException e) {\n if (e.getErrorCode() == 40000) {\n YaqpLogger.LOG.log(new Info(TheDbConnector.class, \"Database \" + database_url + \" was not found -- creating...\"));\n createDataBase();\n } else {\n YaqpLogger.LOG.log(new Fatal(TheDbConnector.class, \"XAG612 - Unexpected condition while connecting to the database :: \" + e));\n throw new RuntimeException(e);\n }\n } catch (Exception e) {\n YaqpLogger.LOG.log(new Fatal(TheDbConnector.class, \"XAG703 - Unable to connect to \"\n + DB.database_url + \"--\" + e));\n }\n }", "title": "" }, { "docid": "31cebe0753654bbe5749f78f0801eaf2", "score": "0.73720926", "text": "public dbConnect() {\n this.initTime = new Timestamp(System.currentTimeMillis());\n try {\n this.conn = getConnection();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "c189c6bf2c9d3d11009719afbfd6c763", "score": "0.72426003", "text": "public boolean connect(String database) throws IOException, SQLException;", "title": "" }, { "docid": "95ed890dde6623471f1946a01bfc54e3", "score": "0.72096425", "text": "public void initializeConnection() {\r\n\t\ttry{\r\n\t\t\tdbConnect = DriverManager.getConnection(DBURL, USERNAME, PASSWORD);\r\n\t\t} catch (SQLException e) {\r\n\t\t\t//if failed, throw an SQLException\r\n\t\t\tSystem.err.print(e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f02ef89e2633c50b2a65cf205dcf6130", "score": "0.71611214", "text": "private static Connection connect()\n {\n Connection conn = null;\n try\n {\n conn = DriverManager.getConnection(dbUrl);\n }\n catch (SQLException e)\n {\n System.out.println(\"> [\" + Main.getDate() + \"] \" + e.getMessage());\n }\n return conn;\n }", "title": "" }, { "docid": "2427725750f98174a9ff4720910b2f80", "score": "0.71501", "text": "public boolean connect(){\n if(databaseURL.equals(\"\") || username.equals(\"\")){\n log.add(\"Database URL and username can't be blank.\");\n return false;\n }\n \n //try to connect\n try {\n connection = DriverManager.getConnection(databaseURL, username, password);\n databaseMetaData = connection.getMetaData();\n log.add(\"Connection Successful\");\n } catch (SQLException ex) {\n log.add(\"Database URL, username, or password may be wrong.\");\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "1e959ba9ee0b4f109448efcc76e4b066", "score": "0.7096057", "text": "public void connectToDb(){\n try{\n Class.forName(\"com.mysql.jdbc.Driver\").newInstance();\n dbConnection = (Connection) DriverManager.getConnection(\n url,username,password);\n connected = true;\n setConnection();\n } catch(SQLException | ClassNotFoundException e){\n System.out.println(e);\n sqlDatabase.logNoConnection();\n\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n\n } catch (InstantiationException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "6d34e9be82f6d5c9466ceb2188ef4278", "score": "0.70882636", "text": "private void connect() throws SQLException{ // used to connect to the db before sending a query (this is mostly to cut down on repetitive code)\n conn = DriverManager.getConnection(url + \"/\" + schema, username, password);\n statement = conn.createStatement();\n }", "title": "" }, { "docid": "21a4cfe7748082dc309e51c17587a408", "score": "0.708501", "text": "public Connection connect() throws SQLException;", "title": "" }, { "docid": "3b54f4195174b75bd8fe15d823590c30", "score": "0.7079243", "text": "public static Connection connectDatabase() {\n try {\n connection = DriverManager.getConnection(\"jdbc:sqlserver://\" + Alfred.getHostname() + \";user=sa;password=\" + Alfred.getPassword() + \";database=nexbot\");\n\n Logging.infoBot(\"Connected to SQL.\");\n\n return connection;\n } catch (SQLException e) {\n e.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "d80d5153b52075b1614ccc1f4e758999", "score": "0.7076723", "text": "private Connection connect() {\n\t\tConnection conn = null;\n\t\ttry {\n\n\t\t\t// create a connection to the database\n\t\t\tconn = DriverManager.getConnection(dbFilePath);\n\t\t\tif (debug)\n\t\t\t\tSystem.out.println(\"Connection to beers and breweries database established.\");\n\n\t\t} catch (SQLException e) {\n\t\t\tif (debug)\n\t\t\t\tSystem.out.println(\"Could not establish connection.\");\n\t\t\tif (debug)\n\t\t\t\tSystem.out.println(e.getMessage());\n\t\t}\n\t\treturn conn;\n\t}", "title": "" }, { "docid": "2b1880706a6c2e55673dfe0961aef5b4", "score": "0.70606136", "text": "private Connection connect() throws ConnectionNotFoundException {\n\t\t\ttry {\n\t\t\t\tconn = DriverManager.getConnection(DB_HOSTNAME, USER_NAME, PASSWORD);\n\t\t\t} catch (SQLException e) {\n\t\t\t\tlogger.error(\"DBManager: Connection to database failed - \" + e.getMessage());\n\t\t\t\tthrow new ConnectionNotFoundException(\"DBManager: Connection to database failed - \" + e.getMessage());\n\t\t\t}\n\t\treturn conn;\n\t}", "title": "" }, { "docid": "13293a40c2999e079c2673104a8ccf2e", "score": "0.70315474", "text": "public boolean connectToDatabase() {\n\t\tString dbURL = \"\";\n\t\tString dbUser = \"\";\n\t\tString dbPassword = \"\";\n\t\t\n\t\t//Get the database connection from the user\n\t\tFrontEnd.showConnectionMenu();\n\t\tint connOption = FrontEnd.getIntFromUser(0, 2, \"Oops, enter 0, 1, or 2\");\n\t\tswitch(connOption) {\n\t\tcase 1:\n\t\t\tdbURL = Constants.DB_URL_LOCAL;\n\t\t\tdbUser = Constants.USER_NAME_LOCAL;\n\t\t\tdbPassword = Constants.PASSWORD_LOCAL;\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tdbURL = Constants.DB_URL_AWS;\n\t\t\tdbUser = Constants.USER_NAME_AWS;\n\t\t\tdbPassword = Constants.PASSWORD_AWS;\n\t\t\tbreak;\n\t\tcase 0:\n\t\t\tthis.connectedToDb = false;\n\t\t\tSystem.out.println(\"You will not be connected to a database. Goodbye.\");\n\t\t}\n\t\t\n\t\tif(connOption != FrontEnd.MENU_EXIT) {\n\t\t\t//Open connection to MySQL DBMS\n\t\t\ttry {\n\t\t\t\tSystem.out.print(\"Connecting to \" + dbURL);\n\t\t\t\tthis.conn = DriverManager.getConnection(dbURL, dbUser, dbPassword);\n\t\t\t\tSystem.out.println(\"...SUCCESS!\");\n\t\t\t\t\n\t\t\t\t//Create a Statement object\n\t\t\t\ttry {\n\t\t\t\t\tSystem.out.print(\"\\nCreating a Statement object for the Connection\");\n\t\t\t\t\tthis.stmt = conn.createStatement();\n\t\t\t\t\tSystem.out.println(\"...SUCCESS!\");\n\t\t\t\t\tthis.connectedToDb = true;;\n\t\t\t\t}\n\t\t\t\tcatch(SQLException e) {\n\t\t\t\t\tprintMethod(new Throwable().getStackTrace()[0].getMethodName());\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tthis.connectedToDb = false;\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t\tcatch(SQLException e) {\n\t\t\t\tprintMethod(new Throwable().getStackTrace()[0].getMethodName());\n\t\t\t\te.printStackTrace();\n\t\t\t\tthis.connectedToDb = false;\n\t\t\t}\n\t\t}\n\t\treturn connectedToDb;\n\t}", "title": "" }, { "docid": "32e91610e253c7d1d162a6b335935299", "score": "0.7021568", "text": "public void checkOrEstablishConnection() {\n\t\ttry {\n\t\t\tif (dbConnection.isValid(0)) {\n\t\t\t\tDebugging.output(\"Database connection already established.\",Debugging.DATABASE_OUTPUT);\n\t\t\t\treturn;\n\t\t\t} else {\n\t\t\t\tDebugging.output(\"Connection not valid, reconnecting.\",Debugging.DATABASE_OUTPUT);\n\t\t\t\tconnectDB();\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "c1c9e3355ed5cb5147a9cabec83dc4d8", "score": "0.7001852", "text": "public static void setupDBConnection() {\n\t\ttry {\n\t\t\tconnection = DriverManager.getConnection(url, userName, password);\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\t\n\n\t\t}\n\t}", "title": "" }, { "docid": "9ab1e2f495d8b089f352138d0c9cb585", "score": "0.69927585", "text": "public void connectDb() {\r\n \t\t\r\n \t\t \tSystem.out.println(\"[log] connectDb processing\");\r\n \t\ttry {\r\n \t\t\tClass.forName(\"org.postgresql.Driver\");\r\n \t\t} catch (ClassNotFoundException e) {\r\n \t\t\t// TODO Auto-generated catch block\r\n \t\t\te.printStackTrace();\r\n \t\t}\r\n \t\t\r\n \t \r\n \t setInfo(); // url , id , pw DB연결에 필요한 파라미터 값 설정하기\r\n \t \r\n try { //DB연결\r\n \t\r\n conn = DriverManager.getConnection(url, userId, userPw);\r\n \r\n \r\n \r\n } catch (SQLException e) {\r\n System.out.println(e);\r\n } finally {\r\n \t\r\n \t\t\r\n }\r\n \t\t\r\n \t\r\n \t\r\n }", "title": "" }, { "docid": "c516677ea9645668a2964e1eccb47807", "score": "0.6981631", "text": "public static void dbConnect(){\r\n try{\r\n Class.forName(dbDriver);\r\n dbConn = DriverManager.getConnection(dbURL, dbUser, dbPass);\r\n } \r\n catch (ClassNotFoundException e) {\r\n System.out.println(\"Class exception\");\r\n } catch (SQLException se) {\r\n System.out.println(\"SQL Exception\");\r\n }\r\n }", "title": "" }, { "docid": "c2a2024771490db997adc276b758c25b", "score": "0.69671077", "text": "private static Connection connect() \r\n throws SQLException, ClassNotFoundException { \r\n if (checkJDBCConnetion() == true) {\r\n try {\r\n connection = DriverManager.getConnection(\r\n \"jdbc:postgresql://localhost:\" + \r\n host + \"/\" + dbName,user, password);\r\n } catch (SQLException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n return connection;\r\n }", "title": "" }, { "docid": "4cdd33daafa6efa91801f8651501ff75", "score": "0.69567984", "text": "public DBConnection() {\n\t try {\n\t \tcon = DriverManager.getConnection(\n\t\t\t\t\t (String) appConfig.getProperty(\"url\") + (String) appConfig.getProperty(\"dbName\") + \"?\" + (String) appConfig.getProperty(\"params\"),\n\t (String) appConfig.getProperty(\"user\"),\n\t (String) appConfig.getProperty(\"password\"));\n\n\t\t\tstmt = con.createStatement();\n\t\t\tlogger.info(\"Successfully connected to database \" + appConfig.getProperty(\"url\") + (String) appConfig.getProperty(\"dbName\") + \" as \" + appConfig.getProperty(\"user\"));\n\t } catch (SQLException sqlException) {\n\t \tsqlException.printStackTrace();\n\t }\n\t}", "title": "" }, { "docid": "07456c612e63cb89afea226aa919a4f5", "score": "0.69392323", "text": "public static Connection connectToDB() {\n String dbURL = VotingSystem.dbURL;\n String username = VotingSystem.USERNAME;\n String password = VotingSystem.PASSWORD;\n Connection conn = null;\n try {\n conn = DriverManager.getConnection(dbURL, username, password);\n } catch (SQLException e) {\n \tconn = null;\n }\n return conn;\n \n }", "title": "" }, { "docid": "868de965b5008c4f6fac4ef54c06124f", "score": "0.69342816", "text": "private static Connection connect() {\n if (connection != null) {\n System.out.println(\"Problem when connecting to the database\");\n }\n String url = \"jdbc:postgresql://localhost:5432/\";\n\n String dbUser = \"postgres\";\n String dbPass = \"toor\";\n\n try {\n connection = DriverManager.getConnection(url, dbUser, dbPass);\n\n if (connection != null) {\n System.out.print(\"\\nConnecting to database...\");\n try {\n Thread.sleep(2000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n System.out.print(\"done.\\n\");\n try {\n Thread.sleep(1000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n } catch (SQLException e) {\n System.out.println(\"Problem when connecting to the database\");\n e.printStackTrace();\n }\n return connection;\n }", "title": "" }, { "docid": "49baada1c60e7f177a664efbd082019e", "score": "0.6933423", "text": "public Connection dbConnect ()\n {\n try\n {\n if (mConnection == null || mConnection.isClosed ())\n {\n mConnection = DriverManager.getConnection (\"jdbc:mysql://\"\n + mHost + \"/\" + mDatabase, mDBUser, mDBIdentifier);\n }\n }\n catch (SQLException exception)\n {\n exception.printStackTrace ();\n }\n\n return mConnection;\n }", "title": "" }, { "docid": "179d58fbeec39633cef0a966041af4e1", "score": "0.6927631", "text": "private static Connection getConnectDBConnection() throws SQLException, AuthenticatorException {\n initializeDatasources();\n\n if (mConnectDatasource != null) {\n return mConnectDatasource.getConnection();\n }\n throw new SQLException(\"Sessions Datasource not initialized properly\");\n }", "title": "" }, { "docid": "e62c4a4bf608b6b7b876acff839775fa", "score": "0.6924796", "text": "private void setConnection() {\n\t\ttry {\n\t\t\tdb = DriverManager.getConnection(dbBuild, cfg.getProperty(\"dbUser\"), cfg.getProperty(\"dbPass\"));\n\t\t\tif (this.debug)\n\t\t\t\tDataLogger.systemLog(\"Connection successfully\");\n\t\t} catch (Exception e) {\n\t\t\tDataLogger.errorLog(e);\n\t\t}\n\t}", "title": "" }, { "docid": "bef6fc3139ac7f5152a74c7e10ad257d", "score": "0.6919112", "text": "public synchronized IDatabase connectDB(Configuration conf) throws DBConnectionException, DatabaseException\n\t{\n\t\treturn connectDB(conf.getDBConfig());\n\t}", "title": "" }, { "docid": "1f6a5e7b5703e1fbdb1a1cf81c952c83", "score": "0.68984663", "text": "public void connectToDb() {\n try {\n con = DriverManager.getConnection(url, user, password);\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, \"Erro: \" + ex.getMessage(), \"Mensagem de Erro\", JOptionPane.ERROR_MESSAGE);\n }\n\n }", "title": "" }, { "docid": "911aacae83eca5e9aba97d77c4c8bb28", "score": "0.6883682", "text": "public Connection connectDatabase() {\n try{\n Class.forName(\"com.mysql.jdbc.Driver\");\n Connection connection = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/zoobase\", \"root\", null);\n return connection;\n } catch(SQLException | ClassNotFoundException e) {\n System.exit(0);\n }\n return null;\n }", "title": "" }, { "docid": "d12065b87437830e284330844abeee10", "score": "0.68745375", "text": "private void initializeDB(){\n try{\n Class.forName(databaseDriverString);\n System.out.println(\"Driver Loaded.\");\n\n connection = DriverManager.getConnection\n (connectionString + stringConfigDatabase, stringConfigDBUsername,\n stringConfigDBPassword);\n System.out.println(\"Database Connected.\");\n \n }catch(ClassNotFoundException | SQLException ex) {\n \n }\n }", "title": "" }, { "docid": "bb06e0787228b984757e34a6e595d48c", "score": "0.68726444", "text": "private static Connection connectToDatabase() throws SQLException, ClassNotFoundException {\n //STEP 2: Register JDBC driver\n Class.forName(\"com.mysql.jdbc.Driver\");\n\n //STEP 3: Open a connection\n Connection conn = DriverManager.getConnection(DB_URL, USER, PASS);\n return conn;\n }", "title": "" }, { "docid": "476c07b77c256d5e0e4828b7b795c5a3", "score": "0.68705714", "text": "private static boolean connect_to_db() throws SQLException, IOException\r\n {\r\n try\r\n {\r\n Class.forName(\"com.mysql.jdbc.Driver\");\r\n } catch (ClassNotFoundException e) {\r\n System.out.println (\"Could not load the driver\");\r\n\r\n System.out.println(\"Message : \" + e.getMessage());\r\n\r\n\r\n return false;\r\n }\r\n\r\n conn = DriverManager.getConnection(\"jdbc:mysql://mysql1.cs.clemson.edu:\"+port+\"/\"+database_name, user, password);\r\n return true;\r\n }", "title": "" }, { "docid": "f83d95a9367dc14dc0df8ecb50613c4c", "score": "0.6860555", "text": "public static Connection connect() throws SQLException {\n\t\treturn DriverManager.getConnection(URL + DATABASE, USER_NAME, PASSWORD);\n\t}", "title": "" }, { "docid": "3e16e7e22eb0ef751996cf9e645a9f41", "score": "0.6852243", "text": "public void connectDb() {\n\t\tdb = null;\n\t\ttry {\n\t\t\tString url = \"jdbc:sqlite:\" + dbDirectory + dbName; // create url to database\n\t\t\twriteLog(logInfo, \"connecting to url: \" + url, true);\n\t\t\tdb = DriverManager.getConnection(url); // create connection to database\n\t\t\tSystem.out.println(\"Connection to SQLite has been established.\");\n\n\t\t\tSQLiteConfig config = new SQLiteConfig();\n\t\t\tconfig.setCacheSize(12000); // set some helpful config values\n\t\t\t//config.setPageSize(8192);\n\t\t\tconfig.setPageSize(16384);\n\t\t\tconfig.setJournalMode(SQLiteConfig.JournalMode.OFF);\n\t\t\tconfig.setSynchronous(SQLiteConfig.SynchronousMode.OFF);\n\t\t\tconfig.setLockingMode(SQLiteConfig.LockingMode.EXCLUSIVE);\n\t\t\tconfig.setTransactionMode(SQLiteConfig.TransactionMode.EXCLUSIVE);\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(e.getMessage());\n\t\t\tif (e.getMessage().contains(SQL_Exception1)) {\n\t\t\t\tstopProcess(e.getMessage());\n\t\t\t}\n\t\t} finally {\n\t\t}\n\t}", "title": "" }, { "docid": "d2295757f7353db7dbde21961e5b0269", "score": "0.684878", "text": "public static Connection openConnection()\n {\n Connection conn=null;\n try{\n String url = \"jdbc:mysql://localhost/\"+databaseName;\n \n Class.forName (\"com.mysql.jdbc.Driver\").newInstance();\n \n conn = DriverManager.getConnection (url, userName, password);\n \n System.out.println(\"DB connection is established.\"); \n \n }catch(Exception e){ \n e.printStackTrace();\n }\n return conn;\n }", "title": "" }, { "docid": "72773a94a8b98757c872aaf9d2aec568", "score": "0.6829136", "text": "static Connection connectDatabase() {\n\t\tString url = \"jdbc:sqlite:C:/SQLite/db/BankingSystem.db\";\n\n\t\t// connection object to connect to the database\n\t\tConnection conn = null;\n\n\t\ttry {\n\t\t\tconn = DriverManager.getConnection(url);\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.println(\"Connection has been established.\");\n\t\t// \"return' the connection\n\t\treturn conn;\n\n\t}", "title": "" }, { "docid": "82166c06f63c4f8924cff3e37e621f44", "score": "0.68273807", "text": "public static Connection connectDatabase() {\n Connection connection = null;\n try {\n //Creamos a conexión a base de datos\n connection = DriverManager.getConnection(url_db);\n System.out.println(\"Conexión realizada con éxito\");\n return connection;\n\n } catch (SQLException e) {\n System.err.println(e.getMessage());\n return null;\n }\n }", "title": "" }, { "docid": "3385d28df8ff24dd4b06b2cccca0c620", "score": "0.681322", "text": "public static boolean connectToDB(){\n if(isConnected){\n System.out.println(\"You are connected to the database, disconnecting...\");\n disconnect();\n }\n\n try {\n //Connect to the dentistdb on the localhost server (port 3306)\n connection = DriverManager.getConnection(\"jdbc:mysql://stusql.dcs.shef.ac.uk/team034\", \"team034\", \"869fb20b\");\n isConnected = true;\n }\n catch(SQLException e){\n System.out.println(\"ER ROR: \" + e.getMessage());\n isConnected = false;\n }\n\n return isConnected;\n }", "title": "" }, { "docid": "3e1c87a2e188e420be3615a2027d5035", "score": "0.68112844", "text": "protected abstract Connection connect() throws EamDbException;", "title": "" }, { "docid": "9910969e299807189603bcbdb6f4c288", "score": "0.67977726", "text": "public static Connection ConnectDatabase(){\n if (connection == null){\n try {\n Class.forName(className);\n connection = DriverManager.getConnection(url, user_name, password);\n } catch (ClassNotFoundException cnfe){\n cnfe.printStackTrace(System.out);\n } catch (SQLException se){\n se.printStackTrace(System.out);\n }\n }\n return connection;\n }", "title": "" }, { "docid": "3023eb1cf6bb555a01f97d83e0e895c6", "score": "0.67942137", "text": "private static Connection connect() throws SQLException {\n\t\tif (connection == null) {\n\t\t\t /* Connection syntax explanation: */\n\t\t\t// (connection type : DB type : DB host IP : DB port / DB name), username, password) \n\t\t\t /* Connection to local host database: */\n\t\t\t//connection = DriverManager.getConnection(\"jdbc:postgresql://127.0.0.1:5432/AirPlanDB\", \"postgres\", \"postgres\");\n\t\t\t\t\t\t\t\t/* Connection to server database: */\n\t\t\tconnection = DriverManager.getConnection(\n\t\t\t\t\t\"jdbc:postgresql://ec2-34-225-82-212.compute-1.amazonaws.com:5432/d3q19tgb52t4up\",\n\t\t\t\t\t\"ptxcxqrycrcoep\",\n\t\t\t\t\t\"21ef1913fe59fd5e95151880ccaf98bc8bdbbc381d4820b95842124fa866e3b3\" );\n\t\t\tSystem.out.println(\"Connected succesfully to DB!\");\n\t\t}\n\t\treturn connection;\n\t}", "title": "" }, { "docid": "f504b96331eaca222d87c9999654d1f3", "score": "0.67897135", "text": "public void connect() throws DBException{\n try {\n Class.forName(Config.JDBC_DRIVER);\n polaczenie = DriverManager.getConnection(\n Config.JDBC_CONNECTION_STRING,\n Config.JDBC_DB_USER,\n Config.JDBC_DB_PASSWORD);\n } catch (ClassNotFoundException e) {\n throw new JDBCDriverException();\n } catch (SQLException e){\n throw new DBException();\n }\n }", "title": "" }, { "docid": "0f16a3091c54e1a746f4eb3f34ec7a90", "score": "0.67725575", "text": "public boolean connect() throws SQLException, ClassNotFoundException;", "title": "" }, { "docid": "d83c20d0fbbb378498aec748bbdd4379", "score": "0.6766144", "text": "void databaseConnect() {\r\n\t\ttry {\r\n\t\t\tClass.forName(\"net.sourceforge.jtds.jdbc.Driver\");\r\n\r\n\t\t\tconnection = DriverManager.getConnection(ClassConstants.SERVER_CONNECT_STRING,\r\n\t\t\t\t\tClassConstants.SERVER_USER_ID, ClassConstants.SERVER_PASSWORD);\r\n\r\n\t\t\tconnection.setAutoCommit(false);\r\n\t\t\tSystem.out.println(\"Connected Successfully\");\r\n\t\t} catch (SQLException e) {\r\n\r\n\t\t\te.printStackTrace();\r\n\t\t\t// if e.getErrorCode() ==\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a5a484778a73212dc24eb777f6885757", "score": "0.67636293", "text": "private void connect() {\n // create connection\n HikariConfig config = new HikariConfig();\n config.setDriverClassName(\"com.mysql.jdbc.Driver\");\n config.setJdbcUrl(\"jdbc:mysql://\" + details.getHostname() + \":\" + details.getPort() + \"/\" + details.getDatabase());\n config.addDataSourceProperty(\"useSSL\", \"false\"); // stops console spam about ssl errors\n config.setUsername(details.getUsername());\n\n String password = details.getPassword() == null ? \"\" : details.getPassword();\n config.setPassword(password);\n\n hikari = new HikariDataSource(config);\n\n // test connection\n try {\n Connection c = hikari.getConnection();\n c.close();\n isConnected = true;\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "c34f939c8d5c98f21ee10b36a7ab2b1a", "score": "0.67570156", "text": "public static Connection connect() {\n Connection connection = null;\n try {\n connection = DriverManager.getConnection(DB_URL, DB_USERNAME, \"password\");\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return connection;\n }", "title": "" }, { "docid": "7901b7b1a086c68cf98f76747274ff86", "score": "0.6746186", "text": "public void connectDB() {\n\t\ttry {\n\t\t\tmongoClient = new MongoClient(\"localhost\", 27017);\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\tSystem.out.println(\"Connected to database\");\n\t}", "title": "" }, { "docid": "b2605869f8a0e5489e199ea569b5a9e0", "score": "0.67343265", "text": "public boolean connectToDatabase() {\n try {\n /* connect to the database */\n conn = DriverManager.getConnection(\"jdbc:oracle:thin:@\" + database, userid, passwd);\n /* If you want to connect to your own database you should remove this line: */\n conn.createStatement().execute(\"ALTER SESSION SET current_schema=apar2844\");\n return true;\n } catch (SQLException sql_ex) {\n /* error handling */\n System.out.println(sql_ex);\n return false;\n }\n }", "title": "" }, { "docid": "6e1b0676c355be927045791dd31a12d1", "score": "0.6728233", "text": "private Connection connect() {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n//Provide the correct details: DBServer/DBName, username, password\r\n\t\t\tcon = DriverManager.getConnection(\"jdbc:mysql://127.0.0.1:3306/healthcare\", \"root\", \"\");\r\n\t\t\tSystem.out.print(\"Database Successfully connected\");\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.print(\"Database not connected\");\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn con;\r\n\t}", "title": "" }, { "docid": "027a6a0cfce5660a1971f4b451db96d4", "score": "0.672145", "text": "private Connection openDatabase() throws SQLException {\n return DriverManager.getConnection(dbConnectionAddress,\n dbConnectionConfig);\n }", "title": "" }, { "docid": "d3071ded832b7b01f57892cecdf9794e", "score": "0.6710457", "text": "public Connection Connect() throws SQLException\n {\n Connection connection = null;\n try\n {\n Class.forName(\"org.sqlite.JDBC\");\n connection = DriverManager.getConnection(\"jdbc:sqlite:\" + database_path + database_name);\n }\n catch (ClassNotFoundException e)\n {\n e.printStackTrace();\n }\n\n return connection;\n }", "title": "" }, { "docid": "32ef9d7a60274d9c050e70c662bbc960", "score": "0.6709869", "text": "public void startDbConnection() {\n try {\n connection = DriverManager.getConnection(\"jdbc:sqlite:\" + this.dbName);\n statement = connection.createStatement();\n } catch (SQLException e) {\n \n }\n }", "title": "" }, { "docid": "b71b5cca06e4887f538a76bea5943406", "score": "0.6709082", "text": "public void open() throws URISyntaxException, SQLException {\r\n URI dbUri = new URI(DB_URI);\r\n String username = dbUri.getUserInfo().split(\":\")[0];\r\n String password = dbUri.getUserInfo().split(\":\")[1];\r\n String dbUrl = \"jdbc:postgresql://\" + dbUri.getHost() + ':' + dbUri.getPort() + \r\n dbUri.getPath() + \"?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory\";\r\n dbConnection = DriverManager.getConnection(dbUrl, username, password);\r\n }", "title": "" }, { "docid": "d844d71b25dd04f1b75d20d91f3dafcc", "score": "0.6705363", "text": "public boolean connect() throws DLException\n {\n \n // Load the driver\n try {\n Class.forName( driver );\n System.out.println(\"Driver loaded\");\n conn = DriverManager.getConnection( uri, user, password );\n //System.out.println(\"MySQL database open\");\n return true; \n }catch(ClassNotFoundException cnfe ){\n System.out.println(\"Cannot find or load driver: \"+ driver );\n System.exit(1);\n return false; \n }catch(SQLException sqle ){\n System.out.println(\"Could not connect to db: \"+uri );\n System.exit(1);\n return false; \n } \n }", "title": "" }, { "docid": "83d66c9a71fb4682438b2e5888df7fd1", "score": "0.6683093", "text": "protected int init() {\n\t\tdbHelper = new DBHelper();\n\t\tint connectionResult = dbHelper.connect();\n\n\t\treturn connectionResult;\n\t}", "title": "" }, { "docid": "ecea5be51affc5278ac3d35524afb544", "score": "0.66741675", "text": "public Connection connectToDb() {\n\t\ttry {\n\t\t\t // load the SQLite-JDBC driver using the current class loader\n\t\t Class.forName(\"org.sqlite.JDBC\");\n\t\t myDb = DriverManager.getConnection(\"jdbc:sqlite:Auth.db\");\n\t\t Statement statement = myDb.createStatement();\n\t\t statement.setQueryTimeout(30); // set timeout to 30 seconds.\n\t\t return myDb;\n\t\t}catch(Exception e){\n\t\t\tJOptionPane.showMessageDialog(null,\n\t \t\t \"Cannot Connect to DB\",\n\t \t\t \"Error\",\n\t \t\t JOptionPane.ERROR_MESSAGE);\n\t\t\t\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "976674c3a037fb63d7b119c6453c0529", "score": "0.66732085", "text": "public Connection Connect() {\r\n try {\r\n // Step 1: Allocate a database 'Connection' object\r\n Context cont = new InitialContext();\r\n DataSource ds = (DataSource)cont.lookup(\"java:comp/env/jdbc/LocalhostDS\"); //\r\n //DataSource ds = (DataSource)cont.lookup(\"jdbc/LocalhostDS\");\r\n conn = ds.getConnection(); //Kobler seg til.\r\n return conn;\r\n \r\n }\r\n catch (SQLException ex ) {\r\n System.out.println(\"Not connected to database \" +ex);\r\n }\r\n catch (NamingException nex) {\r\n System.out.println(\"Not correct naming\" + nex);\r\n \r\n \r\n \r\n \r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "b488386b2edbb0de3dd193a55441fa7e", "score": "0.6659032", "text": "public static Connection connect() {\r\n\t\tString url = \"jdbc:sqlite:\"+inst.getDataFolder().getAbsolutePath()+\"/placed.db\";\r\n\t\tConnection conn = null;\r\n\t\ttry {\r\n\t\t\tconn = DriverManager.getConnection(url);\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tinst.getLogger().log(Level.SEVERE, \"[SilkEnhancement] Error connecting to SQL database!\");\r\n\t\t\tinst.getLogger().log(Level.SEVERE,fatalMessage);\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t\treturn conn;\r\n\t}", "title": "" }, { "docid": "5b431cfd5c247a7b50242efa77badecf", "score": "0.66547304", "text": "private Connection connect(String dbname) throws SQLException {\r\n Connection con = null;\r\n try {\r\n Class.forName(DRIVER); \r\n con = DriverManager.getConnection(URL+dbname, USER, PASSWORD);\r\n }\r\n catch(ClassNotFoundException ex) {\r\n System.exit(-1);\r\n }\r\n return con;\r\n }", "title": "" }, { "docid": "b81c780ec75a8268862d67b488d7ddc7", "score": "0.66516507", "text": "public static void connectToOrCreateNewDB()\n {\n try (Connection conn = DriverManager.getConnection(dbUrl))\n {\n if (conn != null)\n {\n DatabaseMetaData dbm = conn.getMetaData();\n ResultSet tables = dbm.getTables(null, null, \"Users\", null);\n\n if (tables.next())\n {\n System.out.println(\"> [\" + Main.getDate() + \"] Connected to resources.db\");\n }\n else\n {\n buildDefaultDB();\n }\n }\n }\n catch (SQLException e)\n {\n System.out.println(\"> [\" + Main.getDate() + \"] \" + e.getMessage());\n }\n }", "title": "" }, { "docid": "7d288590ce0de6122dc27331378c7d76", "score": "0.6626254", "text": "private Database() {\n try{\n \n connector = DriverManager.getConnection( \"jdbc:sqlite:\" + DATABASEPATH ) ;\n connectionStatus = true ; \n \n }catch( SQLException e){\n \n System.err.println( e.getClass().getName() + \" : \" + e.getMessage() );\n// System.exit(0);\n \n }\n \n }", "title": "" }, { "docid": "12aa4ac5887b5d8eae1df51da792b2f7", "score": "0.661528", "text": "private static Connection initDB() {\n try {\n Class.forName(\"org.sqlite.JDBC\");\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n return null;\n }\n\n try {\n String connString = \"jdbc:sqlite:\" + Constants.DB_LOCATION;\n Connection c = DriverManager.getConnection(connString);\n return c;\n } catch (SQLException e) {\n e.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "e562ec944d74633fd5a612e2a6bb6754", "score": "0.661476", "text": "public static Connection initializeDatabase() throws SQLException, ClassNotFoundException {\n\t\tString dbDriver = \"com.mysql.jdbc.Driver\";\n\t String dbURL = \"jdbc:mysql://cnd29p1s3hpo0d0r:quefst49yohhtfdt@aqx5w9yc5brambgl.cbetxkdyhwsb.us-east-1.rds.amazonaws.com:3306/c13gtp4sowytgmhx\";\n\t \n\t // Database name to access\n\t String dbName = \"c13gtp4sowytgmhx\";\n\t String dbUsername = \"cnd29p1s3hpo0d0r\";\n\t String dbPassword = \"quefst49yohhtfdt\";\n\t \n\t \n\t Class.forName(dbDriver);\n\t Connection con = DriverManager.getConnection(dbURL, dbUsername, dbPassword);\n\n\t return con;\n\t}", "title": "" }, { "docid": "255f8c30c85fc26721d55de50ef6a0cf", "score": "0.66115576", "text": "public static void connect()\n {\n Connection conn = null;\n try\n {\n // db parameters\n String url = \"jdbc:sqlite:storage/sample.db\";\n // create a connection to the database\n conn = DriverManager.getConnection(url);\n\n System.out.println(\"Connection to SQLite has been established.\");\n\n }\n catch(SQLException e)\n {\n System.out.println(e.getMessage());\n }\n finally\n {\n try\n {\n if(conn != null)\n {\n conn.close();\n }\n }\n catch(SQLException ex)\n {\n System.out.println(ex.getMessage());\n }\n }\n }", "title": "" }, { "docid": "f8a101e615ef019a44552f09b3360898", "score": "0.6611245", "text": "protected void connect() {\n\n\t\tusername = \"pslagle12\";\n\t\tpassword = \"fOf4Scala\";\n\t\tdriver = \"com.mysql.jdbc.Driver\";\n\n\t\tconn = null;\n\t\ttry {\n\t\t\tClass.forName(driver);\n\t\t\tconn = DriverManager.getConnection(url, username, password);\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (ClassNotFoundException e) {\n\t\t\tSystem.out.println(\"Class not Found Error\");\n\t\t}\n\t}", "title": "" }, { "docid": "16bfdcae86a47103561554782f27661c", "score": "0.6599663", "text": "public static void getConnection() {\n\ttry {\n\t\t conn=DriverManager.getConnection(ConfigsReader.getProperty(\"dbUrl\"),ConfigsReader.getProperty(\"dbUsername\"), ConfigsReader.getProperty(\"dbPassword\") );\n\t} catch (SQLException e) {\n\t\te.printStackTrace();\n\t}\n}", "title": "" }, { "docid": "845b38e59c9120d3c7a6a6f4ff8427e3", "score": "0.6598966", "text": "private void openConnection() {\n try {\n conn = DriverManager.getConnection(url, user, pass);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "db279f98f12bab0ad76ddca6830bc5a2", "score": "0.6596282", "text": "private static Connection getDatabaseConnection() throws Exception {\n \t\tif (db_connection == null){\n \t\t\tClass.forName(\"org.hsqldb.jdbcDriver\");\n \t\t\tdb_connection = DriverManager.getConnection(db_name, db_username, db_password);\n \t\t}\n \t\t\n \t\treturn db_connection;\n \t}", "title": "" }, { "docid": "70b127aa0083f88228170edaf35b2377", "score": "0.65866965", "text": "boolean connectionToDB();", "title": "" }, { "docid": "a3eb3b9cf00e713d53dee07a0cd7b59c", "score": "0.6581966", "text": "private static Connection getConnection() throws Exception {\n try {\n connection = DriverManager.getConnection(DATABASE_URL, USERNAME, PASSWORD);\n return connection;\n } catch (Exception e) {\n System.out.println(e);\n Logging.logError(e.toString());\n }\n return null;\n }", "title": "" }, { "docid": "678f3388036b2db684a32ede492ab60a", "score": "0.6565634", "text": "public Connection openConnection() {\n System.out.println(\"Connecting to database\");\n\n if (connection != null) {\n System.out.println(\"Connection already opened\");\n return connection;\n }\n\n DBConfiguration configuration = DBConfiguration.getInstance();\n\n String host = configuration.getHost();\n String port = configuration.getPort();\n String loginName = configuration.getLoginName();\n String password = configuration.getPassword();\n String schema = configuration.getSchema();\n String dbms = configuration.getDbms();\n\n try {\n Class.forName(\"com.\" + dbms + \".jdbc.Driver\").newInstance();\n } catch (InstantiationException | IllegalAccessException | ClassNotFoundException e) {\n System.out.println(\"Can not get JDBC driver\");\n shutdown();\n }\n\n Properties connectionProperties = new Properties();\n connectionProperties.put(\"user\", loginName);\n connectionProperties.put(\"password\", password);\n\n String URL = \"jdbc:\" + dbms + \"://\" + host + \":\" + port + \"/\" + schema;\n\n try {\n connection = DriverManager.getConnection(URL, connectionProperties);\n } catch (SQLException e) {\n System.out.println(\"Can not connect to database\");\n shutdown();\n }\n\n return connection;\n }", "title": "" }, { "docid": "b8d7def21378756197f437d3fba14845", "score": "0.6563563", "text": "private static Connection setupConnection(){\n //creating database information strings\n //will be used to log into the database\n String jdbcDriver = \"oracle.jdbc.driver.OracleDriver\";\n String jdbcURL = \"jdbc:oracle:thin:@cswinserv.eku.edu:1521:cscdb\"; \n String username = \"koger5452018\";\n String password = \"3053\";\n \n try {\n //load jdbc driver\n Class.forName(jdbcDriver); \n //connect to db\n Connection conn = DriverManager.getConnection(jdbcURL, username, password);\n return conn;\n }\n catch(Exception e){\n //display what went wrong\n JOptionPane.showMessageDialog(null, e);\n }\n return null;\n\n }", "title": "" }, { "docid": "5701c5a940826137d4b90e23f74b2335", "score": "0.6543562", "text": "@Override\n public void connectToDb() {\n }", "title": "" }, { "docid": "ac868e01c970abe6f65eb9e603d26bc3", "score": "0.6542592", "text": "public void dbConnect() throws ClassNotFoundException, SQLException {\n Class.forName(\"com.mysql.jdbc.Driver\");\r\n //STEP 3: Open a connection\r\n System.out.println(\"Connecting to a selected database...\");\r\n conn = DriverManager.getConnection(DB_URL, USER, PASS);\r\n //print on console\r\n System.out.println(\"Connected database successfully...\");\r\n\r\n //create tatement\r\n Statement myStmt = conn.createStatement();\r\n //execute query\r\n }", "title": "" }, { "docid": "13a0a6d853bbcca2f1381e01eee4bf40", "score": "0.6542094", "text": "public static void setConnection() {\r\n\r\n try {\r\n\r\n Properties props = new Properties();\r\n props.setProperty(\"databaseName\", Name);\r\n props.setProperty(\"user\", User);\r\n props.setProperty(\"password\", Password);\r\n props.setProperty(\"create\", \"true\");\r\n\r\n connection = DriverManager.getConnection(\"jdbc:derby:\", props);\r\n connected = true;\r\n } catch (SQLException ex) {\r\n\r\n debug.debug(\"Couldn't connect to database \" + Name, \"ERROR\");\r\n }\r\n }", "title": "" }, { "docid": "d872c1a3013dd82d9e0d824e209322fb", "score": "0.6536248", "text": "public void openConnection() {\n\t\tlogger.debug(\"openConnection: \");\n\n\t\ttry {\n\t\t\tif (connection == null) {\n\t\t\t\tconnection = DriverManager.getConnection(jdbcConfig.getJdbcUrl(), jdbcConfig.getJdbcUsername(), jdbcConfig.getJdbcPassword());\n\t\t\t}\n\t\t}\n\t\tcatch (SQLException e) {\n\t\t\tlogger.error(e.getMessage(), e);\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}", "title": "" }, { "docid": "c288ed912c19552e060a51427eb353e2", "score": "0.65316117", "text": "public Connection connect() throws SQLException {\n\n\t\treturn DriverManager.getConnection(DB_URL, USERID, PASSWD);\t//return elements for connection\n\n\t}", "title": "" }, { "docid": "1979d24b8b135e01f624d742da988555", "score": "0.6529695", "text": "private Connection getConnected() throws Exception {\n\n \tString username = \"kboyle\";\n \tString password = \"kieran92\";\n /* one may replace the following for the specified database */\n \tString dbstring = \"jdbc:oracle:thin:@gwynne.cs.ualberta.ca:1521:CRS\";\n \tString driverName = \"oracle.jdbc.driver.OracleDriver\";\n\t\t/*\n\t\t * to connect to the database\n\t\t */\n\t\tClass drvClass = Class.forName(driverName); \n\t\tDriverManager.registerDriver((Driver) drvClass.newInstance());\n\t\treturn( DriverManager.getConnection(dbstring,username,password) );\n\t}", "title": "" }, { "docid": "78817b62ab510a439179438358a5ef82", "score": "0.65260524", "text": "public Connection connect() {\r\n conn = null;\r\n try {\r\n conn = DriverManager.getConnection(url, user, password);\r\n System.out.println(\"Connected to the PostgreSQL server successfully.\");\r\n }\r\n catch (SQLException e) {\r\n System.out.println(e.getMessage());\r\n } \r\n \r\n return conn;\r\n }", "title": "" }, { "docid": "686042faef6977a2fc6d9577cea569c1", "score": "0.6519882", "text": "public void testSuccessfulConnect()\n throws SQLException\n\t{\n\t\tprintln( \"We ARE autoloading...\" );\n \n // Test we can connect successfully to a database!\n String url = getTestConfiguration().getJDBCUrl();\n url = url.concat(\";create=true\");\n String user = getTestConfiguration().getUserName();\n String password = getTestConfiguration().getUserPassword();\n DriverManager.getConnection(url, user, password).close();\n\t}", "title": "" }, { "docid": "bea7db7486b24ce9353e291ad0dca1e4", "score": "0.6513941", "text": "public void connect() {\r\n if (!connected) {\r\n MongoCredential credential = MongoCredential.createCredential(Settings.MONGO_USER, Settings.MONGO_DB_NAME, Settings.MONGO_PWD);\r\n //mongoClient = new MongoClient(new ServerAddress(Settings.MONGO_SERVER_IP, Settings.MONGO_SERVER_PORT), Arrays.asList(credential));\r\n mongoClient = new MongoClient(Settings.MONGO_SERVER_IP, Settings.MONGO_SERVER_PORT);\r\n\r\n MongoDatabase db = mongoClient.getDatabase(Settings.MONGO_DB_NAME);\r\n transactionCollection = db.getCollection(Settings.MONGO_COLLECTION_NAME);\r\n connected = true;\r\n }\r\n }", "title": "" }, { "docid": "ecae479398da7765a7ab08e7a167f619", "score": "0.651266", "text": "private void initConnection() throws SQLException\n {\n String driver = properties.getProperty(\"driver\");\n\n if (driver != null)\n {\n System.setProperty(\"jdbc.drivers\", driver);\n }\n\n String url = properties.getProperty(\"url\");\n String username = properties.getProperty(\"username\");\n String password = properties.getProperty(\"password\");\n\n this.connection = DriverManager.getConnection(url, username, password);\n }", "title": "" }, { "docid": "9679c4bdc03f6bd9abfb6f101610b887", "score": "0.6503483", "text": "public Connection openDBConnection() {\n\t\tdbConnection = null;\n\t\t\n\t\tif(flagReadFileBoolean) {\n\t\t\treadLoginFile();\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tdbConnection = DriverManager.getConnection(this.dburlString, this.loginString , this.passwordString);\n\t\t\tSystem.out.println(\"Połączenie z bazą danych zostało zestawione!\");\n\t\t} catch(SQLException e) {\n\t\t\t//e.printStackTrace();\n\t\t\tSystem.out.println(\"Połączenie z bazą danych nie zostało zestawione!\");\n\t\t}\n\t\t\n\t\tstaticDBConnection = dbConnection;\t\t\n\t\treturn dbConnection;\n\t}", "title": "" }, { "docid": "abd790482adf3df2d58897afc3e212f4", "score": "0.6502447", "text": "private Connection connect() {\n // SQLite connection string\n String url = \"jdbc:sqlite:\" + System.getProperty(\"user.dir\")\n + \"/src/main/java/com/TeamYBB/springboot/letmein_functionality/letmein.db\";\n Connection conn = null;\n try {\n conn = DriverManager.getConnection(url);\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n return conn;\n }", "title": "" }, { "docid": "4d5ac3b9a4a4f5f9faf1a7e45ef6e765", "score": "0.649254", "text": "public void connect (String db,\n \t\t\t String user,\n\t\t\t String pass) throws SQLException;", "title": "" }, { "docid": "e23f7dee464607e0f8904423992d68e9", "score": "0.6486731", "text": "public static Connection openConnection() {\n String driver = \"com.mysql.jdbc.Driver\";\n String url = \"jdbc:mysql://sql3.freemysqlhosting.net:3306/sql379635?use\"\n + \"Unicode=true&characterEncoding=utf-8\";\n String username = \"sql379635\";\n Properties properties = new Properties();\n String password = \"\";\n\n try {\n try (InputStream in = Database.class.getResourceAsStream(\"DBpro\"\n + \"perties\")) {\n if (in == null) {\n throw new NullPointerException(\"DBproperties does not\"\n + \" exist\");\n }\n properties.load(in);\n password = properties.getProperty(\"DBPassword\");\n }\n } catch (IOException | NullPointerException ex) {\n Logger.getLogger(Database.class.getName()).log(Level.SEVERE,\n null, ex);\n }\n\n try {\n Class.forName(driver);\n return DriverManager.getConnection(url, username, password);\n } catch (Exception e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "11a318182a4663d67ebb138c8cacdde3", "score": "0.64850336", "text": "private void connectToDatabases() {\r\n \r\n }", "title": "" }, { "docid": "6a3e10b1fe4eeefd646a127f4a08b0be", "score": "0.64819294", "text": "public void openConnection() {\r\n\t\ttry {\r\n\t\t\tClass.forName(MYSQL_DRIVER);\r\n\t con = DriverManager.getConnection(MYSQL_URL,\"Dan\",\"mktdb\");\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t e.printStackTrace();\r\n\t } catch (SQLException e) {\r\n\t e.printStackTrace();\r\n\t }\r\n\t}", "title": "" }, { "docid": "588e93069970db062500eef3a77d6efc", "score": "0.64809304", "text": "public Connection connect()\r\n\t\t {\r\n\t\t Connection con = null;\r\n\t\t try\r\n\t\t {\r\n\t\t Class.forName(\"com.mysql.jdbc.Driver\");\r\n\r\n\t\t //Provide the correct details: DBServer/DBName, username, password\r\n\t\t con = DriverManager.getConnection(\"jdbc:mysql://127.0.0.1:3306/paf\", \"root\", \"\");\r\n\t\t \r\n\t\t//For testing\r\n\t\t System.out.print(\"Successfully connected\"); \r\n\t\t \r\n\t\t }\r\n\t\t catch (Exception e)\r\n\t\t {e.printStackTrace();}\r\n\t\t return con;\r\n\t\t }", "title": "" }, { "docid": "9eea838ed884ee5c5d07c199e823b209", "score": "0.6475592", "text": "private Connection getConnection() {\n URI dbUri = null;\n try {\n dbUri = new URI(System.getenv(\"DATABASE_URL\"));\n if (dbUri == null) {\n throw new RuntimeException(\"No DATABASE_URL found in environment\");\n }\n } catch (URISyntaxException cause) {\n throw new RuntimeException(\"Bad DATABASE_URL\", cause);\n }\n\n String username = dbUri.getUserInfo().split(\":\")[0];\n String password = dbUri.getUserInfo().split(\":\")[1];\n String dbUrl = \"jdbc:postgresql://\" + dbUri.getHost() + ':' + dbUri.getPort() + dbUri.getPath();\n try {\n return DriverManager.getConnection(dbUrl, username, password);\n } catch (SQLException cause) {\n throw new RuntimeException(\"unable to get connection\", cause);\n }\n }", "title": "" }, { "docid": "54d7e9a1381c8a285518bf01a8a2bc1a", "score": "0.64747727", "text": "protected void connect() throws Exception {\r\n \t\tUser user = User.getCurrentUser();\r\n \t\tm_clJDBCAdapter.connect(user.getUrl(), user.getUser(), user.getPwd(), user.getDriver());\r\n \t}", "title": "" }, { "docid": "31d53235cf76b724b04fe6cc2e07d225", "score": "0.64729923", "text": "public void ConnectDB() {\r\n\t\ttry {\r\n\t\t\t//nap driver\r\n\t\t\tClass.forName(\"com.microsoft.sqlserver.jdbc.SQLServerDriver\");\r\n\t\t\tSystem.out.println(\"Connected\");\r\n\t\t\tconn= DriverManager.getConnection(\"jdbc:sqlserver://DESKTOP-1I94MIJ;databaseName=QLTV;integratedSecurity=true\");\r\n\t\t\tSystem.out.println(\"Connected 1\");\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t\tSystem.out.println(\"Loi \"+e.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e006a1b6821b0249818a4902648cd586", "score": "0.64464843", "text": "public void openConnection() {\n String connectionURL = PREFIX_CONNECTION_URL + DATABASE_NAME + CONNECTION_SETTINGS;\n try {\n System.out.print(\"Load driver... \");\n Class.forName(MYSQL_DRIVER); // Explicitly load the JDBC-driver.\n System.out.println(\"Driver geladen\");\n\n System.out.println(\"Open connectie \" + connectionURL + \"... \");\n connection = DriverManager.getConnection(connectionURL, MAIN_USER, MAIN_USER_PASSWORD);\n System.out.println(\"OK, Connectie open\");\n } catch (ClassNotFoundException driverProblem) {\n System.out.println(\"Driver not found\");\n } catch (SQLException sqlproblem) {\n System.out.println(SQL_EXCEPTION + sqlproblem.getMessage());\n }\n }", "title": "" }, { "docid": "226f8a31774403ff35f4c3126cde5eef", "score": "0.6443297", "text": "public boolean establish() throws SQLException {\n this.connectionEstablished = false;\n try{\n this.connection = DriverManager.getConnection(this.url);\n String schema = this.connection.getSchema();\n\n logger.info(\"Database connection successful\");\n logger.fine(\"Connection schema: \" + schema);\n\n }\n catch(SQLException e){\n logger.severe(\"Failed to establish database connection, SQL error code: \" + e.getErrorCode());\n e.printStackTrace();\n throw e;\n }\n this.connectionEstablished = true;\n\n return true;\n }", "title": "" }, { "docid": "424dd9d153dda5767f50d1492f0c397b", "score": "0.6428694", "text": "private Connection connect() {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\r\n\t\t\tcon = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/paymentdb\", \"root\", \"\");\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn con;\r\n\t}", "title": "" }, { "docid": "93db911cb3c8b2a96287be8ec18ff741", "score": "0.64200103", "text": "public Connection openConnection()\n\t{\n\t\ttry {\n\t\t\treturn openConnectionTo(\"jdbc:mysql://db.cs.ship.edu:3306/swe400_1\"+ patternNumber + \"?autoReconnect=true\",\n\t\t\t\t\t\"swe400_1\", \"pwd4swe400_1F20\");\n\t\t} catch (Exception e) {\n\t\t\tDatabaseException.detectError(e);\n\t\t}\n\t\treturn null;\t\t\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d3da2b9bec037cda77e7dee3057c9138", "score": "0.0", "text": "@Override\n\tpublic void setOrientation(float orientation) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "962e2aa1efc1eb9e8f7e2b38da8566b6", "score": "0.6441175", "text": "@Override\r\n\tprotected void method4() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.63254577", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b4764437fc96bd523380203d0a714e9f", "score": "0.63064295", "text": "@Override\r\n\tpublic void calistir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ded15aaeb71ec68606fe2fb94e86fd30", "score": "0.62976253", "text": "@Override\n\tpublic void festlegen() {\n\t\t\n\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.622455", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "5cf6e7275cb8d34bdacabdb57b1297ed", "score": "0.61845726", "text": "public void mo74847b() {\n }", "title": "" }, { "docid": "1121ee7f7fb44c1a82d76b74dfca36ce", "score": "0.61822534", "text": "@Override\r\n\tprotected void vivir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "50501dd87f1998a502196290135921d9", "score": "0.61727506", "text": "@Override\r\n\tpublic void bewegeNachUnten() {\n\r\n\t}", "title": "" }, { "docid": "fb712911683b694cdce8a0591533827a", "score": "0.6169982", "text": "public void attaquer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "d782462e898859cd8f1a6e804776230b", "score": "0.6119481", "text": "@Override\n\tpublic void kahvalti() {\n\t\t\n\t}", "title": "" }, { "docid": "5188ca7aad5f258e672f0989f34a3f46", "score": "0.61062694", "text": "public void mo80636c() {\n }", "title": "" }, { "docid": "320da35135786dc4505079f4a9a73c36", "score": "0.6103035", "text": "@Override\r\n\tpublic void preen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "24da068fbc02f8b8b3aa9cab24026941", "score": "0.60865915", "text": "@Override\n\tpublic void atacar() {\n\t\t\n\t}", "title": "" }, { "docid": "06d440269c184993ff4f11d933a81aed", "score": "0.60860294", "text": "public void mo11421d() {\n }", "title": "" }, { "docid": "06d440269c184993ff4f11d933a81aed", "score": "0.60860294", "text": "public void mo11421d() {\n }", "title": "" }, { "docid": "10d92a66c246261fe6e471d744e9a556", "score": "0.6085701", "text": "@Override\n\tpublic void rysuje() {\n\t\t\n\t}", "title": "" }, { "docid": "7c007022c54a0806ff9bd5438ae3e2ec", "score": "0.60739225", "text": "public void mo74769c() {\n }", "title": "" }, { "docid": "6fd2749106ffef4cb03e557457ef432e", "score": "0.60392183", "text": "@Override\n public void alpulsarNO() {\n\n\n }", "title": "" }, { "docid": "df5a58b776d79955ce4bf7e18e9ddfc4", "score": "0.6021335", "text": "public void mo9214a() {\n }", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.601073", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "cc0ab1c285fd2b1a0f1742f44327869d", "score": "0.59759116", "text": "@Override\r\n\tpublic void kasitteleSyote() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ced4b47c7129b2184e6a77b2a8798fd1", "score": "0.5946297", "text": "@Override\n public void annuler() {\n\n }", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.59291553", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "3334d3b302fd55029e7bd247c823c639", "score": "0.5911117", "text": "@Override\n\tvoid accerlate() {\n\t\t\n\t}", "title": "" }, { "docid": "3d63ba02955ffee95b4ac1b66c98f160", "score": "0.59105057", "text": "@Override\n protected boolean Rol() {\n return true;\n }", "title": "" }, { "docid": "fee1a18ceca61748f93149cd393850fc", "score": "0.5909857", "text": "public void mo74768d() {\n }", "title": "" }, { "docid": "ba348d037fde33ef982a79632d7adf5e", "score": "0.59073913", "text": "@Override\n\tpublic void bouger()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "c16fc3362f80f1c0559c76bf68be5792", "score": "0.58831", "text": "@Override\n\tpublic void affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "1351a596cfde79c7fcbaa0c0ac90ed14", "score": "0.5865934", "text": "@Override\n public boolean Aapninger() {\n return true;\n }", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "adbbc233cf07504fdedfcdf74afa4901", "score": "0.583616", "text": "@Override\n\tpublic void prnt() {\n\n\t}", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "27e0c12332a0f3b9fe854aa8beb3bad6", "score": "0.5825081", "text": "@Override\n\tpublic void OffersOfTheDay() {\n\t\t\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810343", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "79d198822ce7c98fbe391cfdeb33e3f6", "score": "0.58049023", "text": "@Override\r\n\tprotected void acelerar() {\n\r\n\t}", "title": "" }, { "docid": "2d17f675c4797d1489ccbc9d83c3ec33", "score": "0.5801597", "text": "@Override\n\tpublic void umm() {\n\t\t\n\t}", "title": "" }, { "docid": "c9d7a19ad712ece23e6218c1bbd97e1b", "score": "0.57992023", "text": "@Override\n\tpublic void creap() {\n\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "d5b930411834332d013e7e45ca7412e4", "score": "0.57919663", "text": "public void getAadhar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5791661", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6c990ce3c0c4e578d5c2e065a437f8c3", "score": "0.5790907", "text": "public void inverte() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2988fe45f681712faab63cb0e862874c", "score": "0.57805216", "text": "@Override\r\n protected void poDolaczeniu() {\n\r\n }", "title": "" }, { "docid": "3a0aa7f30eee7a869c7fd2960b14db07", "score": "0.5778643", "text": "@Override\n public void destoty() {\n }", "title": "" }, { "docid": "10d40e9b81b4ba39c3ab6d779f3b2692", "score": "0.577812", "text": "public void mo31237c() {\n }", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57740533", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "8843ebe8d692b94536f16d5f07fdff4f", "score": "0.57587487", "text": "@Override\n public void update() {\n // TODO Auto-generated method stub\n }", "title": "" }, { "docid": "c379949c43d334b2a73a78b63ebac3c1", "score": "0.5757493", "text": "@Override public int getAtaque(){\n return 0;\n\n }", "title": "" }, { "docid": "535ccad74dc29933b6b48fea680ba27c", "score": "0.5753717", "text": "@Override\r\n\tpublic void operacion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a65f81fad538053c05dc35d7be360588", "score": "0.5752461", "text": "@Override public int getDefensa(){\n return 0;\n\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c4fa257f1d9c8e55ec00612334f57e8b", "score": "0.5742544", "text": "@Override\n public void init() {\n\t\n }", "title": "" }, { "docid": "691b15fed469ddc176b9c9e6151dea65", "score": "0.5739092", "text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "a624b89db95eebb0d7e745f8301395c1", "score": "0.57344353", "text": "public void method() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "c6e40448cb261fef3ee1fc3a1f5373f0", "score": "0.5732929", "text": "@Override\n\tpublic void operation() {\n\t\t\n\t}", "title": "" }, { "docid": "cadfa07fe44678e9617053752fa5f43d", "score": "0.57283473", "text": "@Override\r\n \tpublic String toString() {\r\n \t\treturn super.toString();\r\n \t}", "title": "" }, { "docid": "c303699d6c9f8d3a2b316125e204825c", "score": "0.57273126", "text": "@Override\n\tpublic void verTop10() {\n\t\t\n\t}", "title": "" }, { "docid": "c74f29111dd26487e1359eb6abdacbec", "score": "0.57206607", "text": "public void mo74767a() {\n }", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "1756ef4d0803e995be285c55c28e3b84", "score": "0.57156587", "text": "@Override\r\n\tpublic void bewegeNachRechts() {\n\r\n\t}", "title": "" }, { "docid": "62af35269754b8acb72204c12f622caf", "score": "0.5703817", "text": "protected void mo1291L() {\n }", "title": "" }, { "docid": "b07546ce140f2f3bb5b718f3bf303b9a", "score": "0.5702189", "text": "public void mo5721a() {\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "94016f621198b25fa3341ef2382c6876", "score": "0.5689651", "text": "@Override\n\tpublic void grandir() {\n\t\t\n\t}", "title": "" }, { "docid": "abb78a58451e05c6ba3dd938b5c036e0", "score": "0.5684533", "text": "@Override\r\n public void usunZarejestrowaneObiekty() {\n\r\n }", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "02b2c6e51ebb5faf78f05c34c734f88d", "score": "0.5676809", "text": "@Override\n\tprotected void adjust() {\n\t\t\n\t}", "title": "" }, { "docid": "9c052331388a2c5e4c1a01dac5b28c41", "score": "0.56740385", "text": "public void verAssist() {\n\t\t\n\n\t}", "title": "" }, { "docid": "3e2b070c1404c777aafba0cbacea02f1", "score": "0.5663756", "text": "@Override\n\tprotected void initializeData() {\n\t\t\n\t}", "title": "" } ]
d219308cd248cc7ceebf750454d04a2d
/ if !(obj value)
[ { "docid": "a48f2b448e1b47c8452f89617bd494e6", "score": "0.0", "text": "@Override\n public HashObjShortMapFactory<K/*andV*/> withDefaultValue(short defaultValue) {\n if (defaultValue == /* const value 0 */0)\n return this;\n return new WithCustomKeyEquivalenceAndDefaultValue<K/*andV*/>(\n getConfig(), keyEquivalence, defaultValue);\n }", "title": "" } ]
[ { "docid": "2fb5e7f5ee2e47ec319962323976a943", "score": "0.66948533", "text": "public static boolean isNotTrue( Object value ) {\n\t\treturn ! isTrue( value );\n\t}", "title": "" }, { "docid": "d7ca995add0b44489eb713d94726f362", "score": "0.6613861", "text": "public T caseNot(Not object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c567f216da7a75a1b1f7696c70fd4859", "score": "0.62286586", "text": "private static final boolean isObjectValue(int encodedValueNum)\n {\n return encodedValueNum < 0;\n }", "title": "" }, { "docid": "c9471a8210867da791a595397d3bcac9", "score": "0.6163799", "text": "protected boolean isSafe(Object value) {\n\t\treturn false;\r\n }", "title": "" }, { "docid": "ef2f3bb58462002a1a9aee986cf49b93", "score": "0.61405283", "text": "default Operations<ObjBack,SelectTable, Table> ne(Type value) {\n\t\treturn this.notEqual(value);\n\t}", "title": "" }, { "docid": "66dcc890ac8b1976af347b49c432bc03", "score": "0.6083972", "text": "default Operations<ObjBack,SelectTable, Table> notEqual(Type value) {\n\t\tthis.setSql(this.toSql() + \" != :\" + this.createParam(value));\n\t\treturn end();\n\t}", "title": "" }, { "docid": "5dcbaf968aee434221039a4031810e7b", "score": "0.5957896", "text": "@Override\n\tpublic boolean containsValue(Object value) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "5abed7aea9c1e8ecd93a33d0b332c248", "score": "0.595403", "text": "@Override\n\tpublic Object visitNotEqualTo(NotEqualToContext ctx) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "1f5a08b58cf9069bc4413bab95b55a1d", "score": "0.5948316", "text": "public static boolean nonNull(Object paramObject) {\n/* 265 */ return (paramObject != null);\n/* */ }", "title": "" }, { "docid": "04c9c391ac4d2bbbf9e3b4fee0265c40", "score": "0.5921147", "text": "public static boolean isNotEqual( Object value, Object another ) {\n\t\treturn ! isEqual( value, another );\n\t}", "title": "" }, { "docid": "fbe507dd6965258e9b3d8d2fbb17b75f", "score": "0.5919172", "text": "@Test\n public void testNotEqualsObject() {\n final Quad<Object, String, String, String> quad0 = Quad.of(\"a\", \"b\", \"c\", \"d\");\n\n assertFalse(quad0.equals(new Object()));\n }", "title": "" }, { "docid": "5f3518d26fee95bd7376d0f154a22c6c", "score": "0.59137267", "text": "public void setValue_IsNotNull() { regValue(CK_ISNN, DOBJ); }", "title": "" }, { "docid": "720828182e588dde46bf7a1a7acd0687", "score": "0.59032905", "text": "protected static boolean knownFalseValue(Value<Boolean> value) {\n return !value.isUnknown() && !value.get();\n }", "title": "" }, { "docid": "d38024ece965406d6d8d5efa6931c8e5", "score": "0.58599794", "text": "private boolean hasValue(Object obj) {\n\t\tif(obj == null)\n\t\t\treturn false;\n\t\tif(obj instanceof String) {\n\t\t\tif(((String) obj).trim().isEmpty())\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "1fe9244e44a6663bfd3a18ce363f4dca", "score": "0.58519775", "text": "@Override\n\tpublic boolean Equals(Value value) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "d5d9a8fdb3403f8c84da851d667c819d", "score": "0.58478683", "text": "public AuditCriterion ne(T value) {\n\t\treturn new SimpleAuditExpression( propertyNameGetter, value, \"<>\" );\n\t}", "title": "" }, { "docid": "7b0e8a8c9b03bb01bef91ea6cdfca154", "score": "0.583742", "text": "private Boolean not(Boolean x) {\n return !x;\n }", "title": "" }, { "docid": "3d20a739b9bd62af0513ebc54feeccb5", "score": "0.5825919", "text": "@Override\n public int evaluate(int value) {\n return ~value;\n }", "title": "" }, { "docid": "ee99deef90963c463efb20d8a5417018", "score": "0.58257717", "text": "abstract public Value containsStrict(Value value);", "title": "" }, { "docid": "97d1c5088396377a3a87a08179567706", "score": "0.58208996", "text": "public boolean isNoValue() {\n return noValue;\n }", "title": "" }, { "docid": "02e8338d958c7f17460eb4ffef5fe54e", "score": "0.5812705", "text": "@Override\n\tpublic boolean getMissValue() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a46023e399ae691212f49db9391b2ab3", "score": "0.5802051", "text": "public void testContainsValue_No_Value() {\n SegmentedHashOasisMap<Integer, Integer> instance = new SegmentedHashOasisMap<>();\n instance.put(2, 4);\n instance.put(3, 5);\n\n assertFalse(instance.containsValue(3));\n\n }", "title": "" }, { "docid": "072da4dd2270ddebb352dc07a2038104", "score": "0.57907325", "text": "public void setValue_NotEqual(String value) {\r\n regValue(CK_NE, fRES(value));\r\n }", "title": "" }, { "docid": "377ff310a9739cfada0c04780d75acf4", "score": "0.5753486", "text": "private static boolean isObjectLiteralThatCanBeSkipped(JSType t) {\n t = t.restrictByNotNullOrUndefined();\n return t.isRecordType() || t.isLiteralObject();\n }", "title": "" }, { "docid": "5d9d2b2a0956fc97292ed1c69f01242f", "score": "0.57497406", "text": "private boolean isNull(Object obj) {\n\t\tif (obj == null) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\n\t}", "title": "" }, { "docid": "2c531954b26f0d8eaf041bc8fc65ebbd", "score": "0.573819", "text": "public T caseLogicalNotExpression(LogicalNotExpression object)\n {\n return null;\n }", "title": "" }, { "docid": "03b35c0fe50d54d16497c835a4175824", "score": "0.571893", "text": "Object getUnless();", "title": "" }, { "docid": "0fbfbade0b79a84b14fecd733d9b56f9", "score": "0.5703214", "text": "@Override\n\tpublic boolean equals(Object object) {\n\t\treturn object instanceof False;\n\t}", "title": "" }, { "docid": "4a1f4717645ddf9921e7ccb6cb08bd78", "score": "0.5700048", "text": "@SuppressWarnings(\"unused\")\n // @defn GraalDirectives.blackhole\n public static final void blackhole(Object value)\n {\n }", "title": "" }, { "docid": "044f2e9dfc8faddfe473d8d07b08b751", "score": "0.56640947", "text": "public abstract boolean isDifferent(Object obj);", "title": "" }, { "docid": "32486fe8e16fa4d44e0b4f4759a79bd2", "score": "0.56365097", "text": "@Override\n public boolean filterValue(Object value, String label) {\n return false;\n }", "title": "" }, { "docid": "1b42686f71368bac32069213483c629a", "score": "0.5622468", "text": "public static boolean neAny(Object b0, Object b1) {\n return !eqAny(b0, b1);\n }", "title": "" }, { "docid": "a4f1e80912eb4bb1e5334a14e74f3baa", "score": "0.56220293", "text": "boolean isValue();", "title": "" }, { "docid": "70e87f456aaa2e4e0ef85e5ea9cc7dd4", "score": "0.5609463", "text": "public T caseFalse(False object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f10ff7bfe4c5e466d68112c9a01d4393", "score": "0.55905646", "text": "public final void a(Object obj) {\n if (obj == null) {\n obj = false;\n }\n d(b(((Boolean) obj).booleanValue()));\n }", "title": "" }, { "docid": "69ba4d0919a63a67c8d1bfc168e629f7", "score": "0.5580049", "text": "@Test public void Z$090() {\n azzert.that(object(), not(object()));\n }", "title": "" }, { "docid": "0b6e3833eba75606629f01f9722f97d5", "score": "0.5579727", "text": "@Override\n\tpublic Object visitExactlyNotEqualTo(ExactlyNotEqualToContext ctx) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5da52852a0f617bc1886d0d1e5225df7", "score": "0.5577282", "text": "@Override\n\tpublic Object visitUnaryLogicalNot(UnaryLogicalNotContext ctx) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "3d8a7030953fdd914bda7ef2ec5e2172", "score": "0.5555353", "text": "@Override\n\tpublic Boolean evaluar(Bicho bicho) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "47ad5cdf828fb49d393d921d1b7c4346", "score": "0.5544509", "text": "public static boolean areNotEqual(Object value1, Object value2) {\n\t\treturn !areEqual(value1, value2);\n\t}", "title": "" }, { "docid": "6262bf1068145301336262e224d04142", "score": "0.55383664", "text": "void writeUnconditionally(T value);", "title": "" }, { "docid": "06715318777801c261f65fdcc47af715", "score": "0.5535518", "text": "protected boolean checkNoBody(final Object value) {\r\n boolean res = value == null;\r\n if (!res && (value instanceof String)) {\r\n res = checkNoBodyForString(value.toString());\r\n }\r\n if (!res && (value instanceof Collection)) {\r\n res = ((Collection<?>) value).size() == 0;\r\n }\r\n if (!res && (value instanceof Parse)) {\r\n res = checkNoBodyForString(((Parse) value).text().trim());\r\n }\r\n return res;\r\n }", "title": "" }, { "docid": "6ca91bc594c49777be6411eae5eb1f3c", "score": "0.55318487", "text": "public boolean NE( Object v ) {\n\t\treturn ( ( ( String ) value ).compareTo( ( ( DataStateString ) v ).Get() ) ) != 0 ? true : false;\n\t}", "title": "" }, { "docid": "3a2bbdf574f0ccc669fe926987e949b8", "score": "0.5531825", "text": "public void checkValue() {\n\t}", "title": "" }, { "docid": "7ef668e336916513e6259dcf63713b76", "score": "0.55247366", "text": "@Override\n default boolean test(Object o) { return false; }", "title": "" }, { "docid": "8d5f4d84142301aed30a0821796b5ead", "score": "0.55234903", "text": "public static boolean ne(Object b0, Object b1) {\n return !eq(b0, b1);\n }", "title": "" }, { "docid": "5abe85e93d61260d6eee69ea066df07f", "score": "0.55057496", "text": "@Override\n\tpublic boolean conatiansValue() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "cfbfe6a7ade07dc9510bbf81fb5814e5", "score": "0.54870474", "text": "@Override\n\tpublic boolean isNegated() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "941e2642d78a4e8c7c64115f1c459922", "score": "0.5473849", "text": "@Override\n\tpublic Object visitUnaryBitwiseNot(UnaryBitwiseNotContext ctx) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4773272834b2c579640c24d46f7b36c5", "score": "0.546381", "text": "boolean excluded(Field f);", "title": "" }, { "docid": "a499efda157c74b28582d9fcd14b035e", "score": "0.5463097", "text": "default YodaValue notEqualTo(YodaValue other) {\n return NONE;\n }", "title": "" }, { "docid": "5cc8ddfaafcf53c7b9bbd027bdc36b79", "score": "0.5459044", "text": "public static boolean isFalse(Object value) {\n return isBoolean(value) && !((Boolean) value);\n }", "title": "" }, { "docid": "f2c48cc351887a279590f76006186ee5", "score": "0.54396963", "text": "public boolean isObject() {\n return !isArray() && !isEnum();\n }", "title": "" }, { "docid": "507ecce781a0889df436fb5bee578988", "score": "0.5421857", "text": "public boolean isValue() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "25cb977862f0222f9131ce330d782468", "score": "0.5405962", "text": "public boolean removeValue(Object value)\r\n\t\t\t\t{\r\n\t\t\t\t\treturn data.remove(value);\r\n\t\t\t\t}", "title": "" }, { "docid": "68ebe32b35d2b3ab3345ea92b8a4fd30", "score": "0.54015195", "text": "public boolean test (Object obj)\n {\n\treturn true;\n }", "title": "" }, { "docid": "f69fdd19ab3bca5ac65744621909ff85", "score": "0.53936887", "text": "public T caseValue(Value object)\n {\n return null;\n }", "title": "" }, { "docid": "d4372feb78b3af898c6d4dd77200436c", "score": "0.5391184", "text": "public T caseNegation(Negation object)\n {\n return null;\n }", "title": "" }, { "docid": "c6a5e3acb1accc4309ef3bdae2e52bc9", "score": "0.5379154", "text": "public void testContainsValue_No_Value_Overflow() {\n SegmentedHashOasisMap<Integer, Integer> instance = new SegmentedHashOasisMap<>(2, 2);\n instance.put(1, 2);\n instance.put(2, 7);\n instance.put(3, 3);\n instance.put(4, 4);\n instance.put(5, 3);\n\n assertFalse(instance.containsValue(6));\n\n }", "title": "" }, { "docid": "f310dc5482006efdef67a9ed3b52c082", "score": "0.53688043", "text": "private static JSONObject negate(JSONObject response){\n response.put(\"was-joined\", !response.getBoolean(\"was-joined\"));\n response.put(\"is-joined\", !response.getBoolean(\"is-joined\"));\n return response;\n }", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5366547", "text": "boolean hasValue();", "title": "" }, { "docid": "fcdf1a14a0e126ffe9ed45aeacee8539", "score": "0.53503674", "text": "public boolean isValueInverted();", "title": "" }, { "docid": "0b65f5ff29fb36e4ff38921896f3058f", "score": "0.53418887", "text": "@Override\r\n\t\tpublic boolean contains(boolean value) {\n\t\t\treturn !value;\r\n\t\t}", "title": "" }, { "docid": "c84d34de9503fa02597e3e1df902d375", "score": "0.5337593", "text": "default YodaValue negation(){\n return NONE;\n }", "title": "" }, { "docid": "3bb5a062b70a0a051803da3551677a3e", "score": "0.5327626", "text": "public abstract boolean mayNullCheckSkipConversion();", "title": "" }, { "docid": "386e52484d07e72202f9d1214be85f5b", "score": "0.53144777", "text": "private boolean discardValue(int value) {\n\t\t\n\t\tfor(int i = 0; i < hand.getCardCount(); i++) {\n\t\t\tif(hand.getCard(i).getValue() == value) {\n\t\t\t\thand.removeCard(i);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a110279bbc785996bfadd6dec7a59321", "score": "0.5302265", "text": "public boolean isMissing(ObjectId obj) {\n return missing.contains(obj);\n }", "title": "" }, { "docid": "07afc6ab4b3380896655fa04d2abe0a6", "score": "0.5300772", "text": "public boolean isNotNullAmount() {\n return genClient.cacheValueIsNotNull(CacheKey.amount);\n }", "title": "" }, { "docid": "c64d1cfcb6ee7cd30679cdca2caa8a6a", "score": "0.5290457", "text": "default <E> boolean shouldUpdate(E restValue, E dbValue) {\n\t\treturn restValue != null && !restValue.equals(dbValue);\n\t}", "title": "" }, { "docid": "ce107c7aa9d55dd8a8cdf12ccd2683d5", "score": "0.5286299", "text": "public void checkNotAssigned( final Object object )\n {\n checkNotAssigned( object, WRITE_FAIL );\n }", "title": "" }, { "docid": "d9847f2dee13bbd74a1f1e66453d6ba7", "score": "0.5281124", "text": "@SuppressWarnings(\"unused\")\n // @defn GraalDirectives.blackhole\n public static final void blackhole(boolean value)\n {\n }", "title": "" }, { "docid": "66f258741c78fe528d0130c9106ad3e4", "score": "0.5273887", "text": "String isValid(NakedObject nakedObject, Object proposedValue);", "title": "" }, { "docid": "06dc67c0d72988fbc7155da21a42eb03", "score": "0.5261371", "text": "public void setProperty_IsNotNull() { regProperty(CK_ISNN, DOBJ); }", "title": "" }, { "docid": "16c9ab090812ad54a17ef86e430910a9", "score": "0.52578795", "text": "protected void assertObjectNotNull(String variableName, Object value) {\r\n if (variableName == null) {\r\n String msg = \"The value should not be null: variableName=\" + variableName + \" value=\" + value;\r\n throw new IllegalArgumentException(msg);\r\n }\r\n if (value == null) {\r\n String msg = \"The value should not be null: variableName=\" + variableName;\r\n throw new IllegalArgumentException(msg);\r\n }\r\n }", "title": "" }, { "docid": "9aaf54228f1dc326c28336e5d14cbf9d", "score": "0.52576256", "text": "public boolean isUnassigned(Variable v) {\n return !isAssigned(v);\n }", "title": "" }, { "docid": "2b4cf0d3d04b49b3c6a53cba1568b9af", "score": "0.5255903", "text": "@Test\n public void test59() throws Throwable {\n Object object0 = JSONObject.NULL;\n JSONObject jSONObject0 = new JSONObject(object0);\n boolean boolean0 = jSONObject0.isNull(\"@t]9V]?Z#=U\");\n assertEquals(1, jSONObject0.length());\n assertTrue(boolean0);\n }", "title": "" }, { "docid": "368d73bd0227ea3c01e04baf80062640", "score": "0.5255538", "text": "@Override\n public boolean equals(Object other) {\n return other instanceof NullValue;\n }", "title": "" }, { "docid": "70f37c4de9209a0514ba991587230737", "score": "0.5254733", "text": "@SuppressWarnings({\"unchecked\", \"cast\"}) public boolean isDUafterFalse(Variable v) {\n boolean isDUafterFalse_Variable_value = isDUafterFalse_compute(v);\n return isDUafterFalse_Variable_value;\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e569bfe2dce84d5d8805558642702f71", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tint x=5;\n\t\tint product=5;\n\t\tSystem.out.println(product*=x++);\n\t\tSystem.out.println(x);\n\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "479340d7603590876396cc58262a3776", "score": "0.6593355", "text": "@Override\r\n\tpublic int attaquer() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "ff9130d3531037a891a2580fd00e89e9", "score": "0.649512", "text": "@Override\r\n\tpublic void refuel() {\n\r\n\t}", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.64787245", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "440ce72c689aef1dd3c429cf5498732b", "score": "0.6443756", "text": "@Override\n\tpublic void pohyb() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "592b765f0188dd7fa8d3f1f3683fa9d7", "score": "0.62889814", "text": "@Override\n\tprotected void generateData() {\n\t\t\n\t}", "title": "" }, { "docid": "4bc8e88e84699c223ea476caacb4d454", "score": "0.6277223", "text": "@Override\r\n\tpublic void sauter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "db6adf52deb87c2723f80c6df873c47d", "score": "0.6273419", "text": "public void mo4741aD() {\n }", "title": "" }, { "docid": "80d10ea62cee927f9ad0a7965909eaba", "score": "0.6230557", "text": "@Override\n\tprotected void remplit() {\n\t\t\n\t}", "title": "" }, { "docid": "95ffa256b098e9b494cb96d4874e063f", "score": "0.6218078", "text": "@Override\n\tvoid refuel() {\n\n\t}", "title": "" }, { "docid": "03d7171196199db238d56b8aeab47987", "score": "0.61277896", "text": "private void welcom() {\n\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.61053663", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "ce165aec4a92510d2d7f78a45c6a1f81", "score": "0.60921794", "text": "@Override\r\n\tpublic void retirer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "23f3a7415a3f7463e8a1124d06cf4cf2", "score": "0.609125", "text": "@Override\n\tpublic void valide() {\n\t\t\n\t}", "title": "" }, { "docid": "e2c0ee2f563aa58a1d1fbb6ed1a49084", "score": "0.60562134", "text": "public void namam() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e2c0ee2f563aa58a1d1fbb6ed1a49084", "score": "0.60562134", "text": "public void namam() {\n\t\t\r\n\t}", "title": "" }, { "docid": "453637afdcc490de35afa10f347a4092", "score": "0.6052283", "text": "protected void mo4927v() {\n }", "title": "" }, { "docid": "081ae6b4d91b610b8046f5ebfe7ba326", "score": "0.60330045", "text": "@Override\r\n\tpublic void fertilizar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4c9e25ea6f293e2f67da562cd4a0b657", "score": "0.60203654", "text": "public final void mo8553EA() {\n }", "title": "" }, { "docid": "5fda61f75e47491fe0badbfe139070a9", "score": "0.6020252", "text": "@Override\n\tprotected void initdata() {\n\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.60185045", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "4c957ed6879296e2489fa4cc534c9d68", "score": "0.60134614", "text": "@Override\r\n\tpublic void geefMeerprijs() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5987973", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "e1a5212784625cf033b8b0d71916d9a8", "score": "0.59843665", "text": "@Override\r\n\tpublic void se_baisser() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ab92fd509dcf9edd6498a0302e1555e9", "score": "0.598327", "text": "@Override\n\tpublic void withdrawl() {\n\t\t\n\t}", "title": "" }, { "docid": "8a997a9a187c71891dd8b44afdbaa2a2", "score": "0.59794915", "text": "private void noOtomatis(){\n\n \n \n \n\n }", "title": "" }, { "docid": "0056b38abf02cf94e7a1afab1755d909", "score": "0.59666646", "text": "@Override\r\n\tpublic void defendre() {\n\t\t\r\n\t}", "title": "" }, { "docid": "05b92fe6834e71a629bc6b218827d95f", "score": "0.596291", "text": "Intervencion() {\n\t}", "title": "" }, { "docid": "acc39f55f5b37ab7050a241c64f9a4f9", "score": "0.59580564", "text": "@Override\n\tpublic void actualize() {\n\t\t\n\t}", "title": "" }, { "docid": "9a1a66628f4518af9fa213c400d9592e", "score": "0.5951102", "text": "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935938", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "b4f806add60ad7a84ab034d616e626e7", "score": "0.59232795", "text": "@Override\n public void Ramasser() {\n }", "title": "" }, { "docid": "fb8e5a5b14d5c382d38f4afcb6d4f55d", "score": "0.59119946", "text": "@Override\r\n\tpublic void reculer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.5897873", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "835a3677095e4c9f21649ab17f1ba40b", "score": "0.58930063", "text": "private static void diwalioffer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "47bef3d0c0ee761e936de1dada2442ec", "score": "0.5845612", "text": "private void Partida() {\r\n\t}", "title": "" }, { "docid": "c34617230b51592fc8652a6c8fc39d7b", "score": "0.5841976", "text": "@Override\n\t\t public int describeContents() { \n\t\t return 0;\n\t\t }", "title": "" }, { "docid": "39c15addb7f9cae9284ae4af01c5a911", "score": "0.58368444", "text": "@Override\r\n\tpublic void cortar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "74acf90efa52ac7bee2d28c6dee180bf", "score": "0.5808944", "text": "public void mo25302P() {\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.5805753", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "4958a5331fdb65d09e333f006441f701", "score": "0.57990485", "text": "@Override\n public int size() {\n // TODO Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "2a790ebdc342a2b85b21b58d99e8bb02", "score": "0.57934815", "text": "@Override\n\tpublic void landen()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b17089ec7f3b873adc1ebff906be9241", "score": "0.5790544", "text": "@Override\r\n\tpublic void carregar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "925ab02db0448f51f913efd603e7b5b4", "score": "0.57877386", "text": "@Override\n\tpublic void breathe() {\n\n\t\t\n\t}", "title": "" }, { "docid": "3f682cd35cc51a176e84d31bb70401ec", "score": "0.5786728", "text": "@Override\n\t\t\tpublic int Order() {\n\t\t\t\treturn 1;\n\t\t\t}", "title": "" }, { "docid": "3f682cd35cc51a176e84d31bb70401ec", "score": "0.5786728", "text": "@Override\n\t\t\tpublic int Order() {\n\t\t\t\treturn 1;\n\t\t\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "b0f36892991e52a8359bd9bea7916606", "score": "0.5773981", "text": "@Override\r\n\tpublic void Value() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b0f36892991e52a8359bd9bea7916606", "score": "0.5773981", "text": "@Override\r\n\tpublic void Value() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e7dbef6468de164eadd6d220b4ed2936", "score": "0.57625693", "text": "@Override\n\tpublic void vegetais() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "627bf6ef88b45b88b902a23fc9a6eb2b", "score": "0.5754491", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "1985dddb6264adc2fb069a687b25f36b", "score": "0.57541007", "text": "@Override\n\tpublic void groom() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dfa3deb699f1baaf610b77ae9370559a", "score": "0.57471", "text": "@Override\n\tpublic void gravar() {\n\n\t}", "title": "" }, { "docid": "bf96ef68c4dc727efe52fcae4e20a6c6", "score": "0.5736261", "text": "@Override\r\n public int getType() {\n return 1;\r\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "a7ae27b45bb1a02a96ba4232264be825", "score": "0.57315516", "text": "@Override\n\tpublic void embarcar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b16d59a149827c698e510477f7a4e9d", "score": "0.57292205", "text": "public void mo9585b() {\n }", "title": "" }, { "docid": "0ce436410fb4ad1af4e012ab5253a43a", "score": "0.57232136", "text": "@Override\n\tpublic void maas() {\n\t\t\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "10daa0b69fc83ea1f81c27147cd56557", "score": "0.5712038", "text": "@Override\n\tpublic void Ordenar() {\n\t\t\n\t}", "title": "" }, { "docid": "78a0d7cad7b423dba2c6000b1302b9a0", "score": "0.5705727", "text": "@Override\n\tprotected void ganharExp() {\n\t\t\n\t}", "title": "" }, { "docid": "162a468b891a508701c52265588e91b6", "score": "0.5699155", "text": "@Override\r\n public void init() {\n\r\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "6fba68e503150b58bb627390fe723ce3", "score": "0.56942755", "text": "@Override\r\n\tpublic void servir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9e8299e02e2afca4b347ab5022949b84", "score": "0.56936175", "text": "@Override\n public void rest() {\n \n }", "title": "" }, { "docid": "ddd8d8a26991b887b8f19171d700e1d3", "score": "0.56922704", "text": "@Override\n\tpublic void proveerdatos() {\n\t\t\n\t}", "title": "" }, { "docid": "e21063ae833db842230f1d37006a0359", "score": "0.56854326", "text": "@Override public int getAtaque(){\n\n return 0;\n\n }", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "a0b89d2fbd83aefeb636ae04ad1fcd91", "score": "0.56631064", "text": "public void init(){\n\t //TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "2aed4e4b25907c376dc30c486b4f975f", "score": "0.5657416", "text": "public final void mo73469b() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
7606b404f25f85b5a083d8d90a7f479e
Marks the leaf "crcerrorsfromms" with operation "delete".
[ { "docid": "e5cab11cfb9113c11686a2ace31b3cc0", "score": "0.82262874", "text": "public void markCrcErrorsFromMsDelete() throws JNCException {\n markLeafDelete(\"crcErrorsFromMs\");\n }", "title": "" } ]
[ { "docid": "1c42e749d9fb31cf36f99ab74c91dff2", "score": "0.6397988", "text": "public void markCrcErrorsFromMsReplace() throws JNCException {\n markLeafReplace(\"crcErrorsFromMs\");\n }", "title": "" }, { "docid": "763bcba8c08a3ff10a2ab37bedfe62aa", "score": "0.6341726", "text": "public static void delRed(){\n\t\terrorMessage.setText(\"Remove a red disk\");\n\t}", "title": "" }, { "docid": "06651657778faf2acf622e7f76fa525e", "score": "0.61721843", "text": "public void markCrcErrorsFromMsCreate() throws JNCException {\n markLeafCreate(\"crcErrorsFromMs\");\n }", "title": "" }, { "docid": "f768220701e3ad98babfe9344fa41351", "score": "0.6152284", "text": "public void markCrcErrorsFromMsMerge() throws JNCException {\n markLeafMerge(\"crcErrorsFromMs\");\n }", "title": "" }, { "docid": "3b97fd62d20c7fb59cdf972f3dcc0283", "score": "0.59473467", "text": "void markChildrenDeleted() throws DtoStatusException;", "title": "" }, { "docid": "f80c64d6685817df7a656581dab1a1fd", "score": "0.5913677", "text": "public void markCongestionDiscardsToMsDelete() throws JNCException {\n markLeafDelete(\"congestionDiscardsToMs\");\n }", "title": "" }, { "docid": "d0da541655aa22ea7f104112f77837a1", "score": "0.57918847", "text": "public void deleteTreeReportLastError(String objectId, boolean continueOnFailure, boolean unfile,\n boolean deleteAllVersions) throws CMISServiceException;", "title": "" }, { "docid": "eac08e85d8eda1883d6dc21d521a89ee", "score": "0.5790549", "text": "default void onRootDeleted(R root, BulkActionContext bac) {}", "title": "" }, { "docid": "1c81dd4ec49d580e1116997591996083", "score": "0.5725119", "text": "public void markLlcTlliDelete() throws JNCException {\n markLeafDelete(\"llcTlli\");\n }", "title": "" }, { "docid": "9c48d08855ee8221dc47e4ae839b1c41", "score": "0.57193685", "text": "public void deletePersistentErrors(Integer routingRuleHdrId);", "title": "" }, { "docid": "91cbe9fbbe142ef2ed27f06e4e5fd982", "score": "0.56546193", "text": "private void validateDelete() {\n\t\t\n\t}", "title": "" }, { "docid": "87ced38de5d1b896bdaad9c41b5f9aac", "score": "0.5639577", "text": "public void markDataSapsUtilizedDelete() throws JNCException {\n markLeafDelete(\"dataSapsUtilized\");\n }", "title": "" }, { "docid": "498952add88fe7b3bf1d84da472f4852", "score": "0.5633273", "text": "public void deleteNonPersistentErrors(Integer routingRuleHdrId);", "title": "" }, { "docid": "c62a4ff343d65e371f0d44a23ff3d78c", "score": "0.56202316", "text": "public void addCrcErrorsFromMs() throws JNCException {\n setLeafValue(Epc.NAMESPACE,\n \"crc-errors-from-ms\",\n null,\n childrenNames());\n }", "title": "" }, { "docid": "a4393b335ee80c5778310ab47ddbda06", "score": "0.5614544", "text": "@Override\n\tpublic void deleteAtom(int atom) {\n\t\tsuper.deleteAtom(atom);\n\t\tcompressMolTable();\n\t\tmValidHelperArrays = cHelperNone;\n\t\t}", "title": "" }, { "docid": "2430654b844b83cb97d691ccb1c31554", "score": "0.55855817", "text": "private void preDelete() {\n\t\t\n\t}", "title": "" }, { "docid": "0524080c9ae58dbcc1c5b7d531e01ead", "score": "0.55507153", "text": "public void markSdLocationDelete() throws JNCException {\n markLeafDelete(\"sdLocation\");\n }", "title": "" }, { "docid": "f5ba7517464df76c416996b013d6e5a0", "score": "0.54815733", "text": "public void markNseIdDelete() throws JNCException {\n markLeafDelete(\"nseId\");\n }", "title": "" }, { "docid": "104e8b008c82a130f83973127bb8ac17", "score": "0.5463194", "text": "public void markNewTlliDelete() throws JNCException {\n markLeafDelete(\"newTlli\");\n }", "title": "" }, { "docid": "5ffb865d8f4333057267b770193d2a40", "score": "0.5453513", "text": "public void unsetCrcErrorsFromMsValue() throws JNCException {\n delete(\"crc-errors-from-ms\");\n }", "title": "" }, { "docid": "a57698ff53df27ad65301202bb991be8", "score": "0.542884", "text": "@Override\n\tpublic int delete(Long seq) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "6cae2a879c61b472fccd71323be74eaa", "score": "0.54074985", "text": "void deleteChecksumPath(String binaryNodeId);", "title": "" }, { "docid": "d3fbc9040b1c93d7125818a7bfec845a", "score": "0.5402834", "text": "public static void delBlue(){\n\t\terrorMessage.setText(\"Remove a blue disk\");\n\t}", "title": "" }, { "docid": "57084b60a7995394a3c9619cbf0a721d", "score": "0.53949684", "text": "public void markGea3FramesCipheredFromMsDelete() throws JNCException {\n markLeafDelete(\"gea3FramesCipheredFromMs\");\n }", "title": "" }, { "docid": "5b26ceb08fc55cb83d3beb4014996d12", "score": "0.5393901", "text": "public void clearErrors() {\n tblReference.clearColors();\n }", "title": "" }, { "docid": "9801b546afc9da4e63485996403a81b4", "score": "0.5392928", "text": "@Override\n public void deleteMark(CompositeMark mark) {\n\n }", "title": "" }, { "docid": "9c4ff11aad3075815dc840a8e06089a5", "score": "0.5392804", "text": "protected abstract void arcSpecificDelete();", "title": "" }, { "docid": "405a151d37b22378daf6a924b77e6439", "score": "0.5331486", "text": "public void clearErrors( ResourceIndex ri )\n {\n Predicate filter = TraverserPredicateFactory.createEqualsUser( EDGE_ERROR,\n GraphUtils.DIRECTED_OUT_MASK );\n Predicate inFilter = GraphUtils.IN_TRAVERSER_PREDICATE;\n\n for( Traverser t = traverser( ri, filter ); t.hasNext(); )\n {\n Object node = t.next();\n // See if we're the only attached node or not\n if( degree( node, inFilter ) > 1 )\n {\n System.out.println( \"Remove edge:\" + t.getEdge() );\n // Just remove the edge\n t.removeEdge();\n }\n else\n {\n System.out.println( \"Remove node:\" + node );\n // Else remove the node too\n t.remove();\n }\n }\n\n // Then remove the resource index from the error graph\n errors.removeNode( ri );\n }", "title": "" }, { "docid": "8fb0ddcb5d6344843501fe1aaa72244e", "score": "0.53157896", "text": "@Test\n public void testDelete() throws DomainModelException {\n Compound sucrose = new CompoundDataMapper().read(16);\n assertEquals(\"Sucrose\", sucrose.getName());\n assertEquals(3, sucrose.getMadeOf().size());\n new CompoundDataMapper().delete(sucrose);\n try {\n sucrose = new CompoundDataMapper().read(16);\n fail();\n } catch (DomainModelException e) {\n assertTrue(true);\n }\n }", "title": "" }, { "docid": "e262a9504d212ecaa1b1a550ab8d1ccd", "score": "0.5305778", "text": "public void markGea1FramesCipheredFromMsDelete() throws JNCException {\n markLeafDelete(\"gea1FramesCipheredFromMs\");\n }", "title": "" }, { "docid": "d23111200b7ff7c83140d774f444cfd3", "score": "0.52674794", "text": "public void delete() throws CoreException;", "title": "" }, { "docid": "168fd2b4094c508f548a1e2e12f43863", "score": "0.5266461", "text": "public void markDataWeightDelete() throws JNCException {\n markLeafDelete(\"dataWeight\");\n }", "title": "" }, { "docid": "e93ae2591ee3988ecfc5ebd47339b33a", "score": "0.52583903", "text": "public void testDeleteRules() throws DeleteException, PersistenceException {\n\t\tDomainAccessObject access = DomainAccessObjectFactory.getInstance().getDomainAccessObject(ArchDescriptionAnalogInstances.class);\n\t\tint linkedInstanceCount = access.getCountBasedOnPropertyValue(ArchDescriptionAnalogInstances.PROPERTYNAME_LOCATION, this);\n\n\t\taccess = DomainAccessObjectFactory.getInstance().getDomainAccessObject(AccessionsLocations.class);\n\t\tint linkedAccessionCount = access.getCountBasedOnPropertyValue(AccessionsLocations.PROPERTYNAME_LOCATION, this);\n\n\t\tif (linkedInstanceCount > 0 || linkedAccessionCount > 0) {\n\t\t\tString errorString = \"\";\n\t\t\tif (linkedInstanceCount > 0) {\n\t\t\t errorString = linkedInstanceCount + \" instances\";\n\t\t\t}\n\t\t\tif (linkedAccessionCount > 0) {\n\t\t\t\terrorString = StringHelper.concat(\" and \", errorString, linkedAccessionCount + \" accessions\");\n\t\t\t}\n\t\t\tthrow new DeleteException(\"There are \" + errorString + \" linked to this location\");\n\t\t}\n\t}", "title": "" }, { "docid": "de9fa06314b272f22c54bd4f808f4ef9", "score": "0.52454257", "text": "public void beforeDelete0A14( )\n {\n }", "title": "" }, { "docid": "87fa3f3b47197011b3aa3ff87f70a622", "score": "0.5242698", "text": "public void markGea3FramesCipheredToMsDelete() throws JNCException {\n markLeafDelete(\"gea3FramesCipheredToMs\");\n }", "title": "" }, { "docid": "361b1bc340312404e686955772473029", "score": "0.52247196", "text": "@Test\n public void test015() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Label label0 = (Label)errorPage0.del((Object) errorPage0);\n }", "title": "" }, { "docid": "473103e51711d8c36a2a4b138757f78f", "score": "0.5215118", "text": "void unsetErrors();", "title": "" }, { "docid": "0b52a8dca82eb558dbdce5d6b117a9d7", "score": "0.5213083", "text": "public void markGea2FramesCipheredFromMsDelete() throws JNCException {\n markLeafDelete(\"gea2FramesCipheredFromMs\");\n }", "title": "" }, { "docid": "f513544aecdd15805cda45b0b1e300a6", "score": "0.5197883", "text": "public void markAgeDelete() throws JNCException {\n markLeafDelete(\"age\");\n }", "title": "" }, { "docid": "c4144652bf69cd55fc3fcb87656ac18e", "score": "0.5193349", "text": "public void markFramesProtectedFromMsDelete() throws JNCException {\n markLeafDelete(\"framesProtectedFromMs\");\n }", "title": "" }, { "docid": "ef7f45f1b1c7989a2edce302e43d8c24", "score": "0.5192112", "text": "public void markGea1FramesCipheredToMsDelete() throws JNCException {\n markLeafDelete(\"gea1FramesCipheredToMs\");\n }", "title": "" }, { "docid": "b885584fa4ca0e75d540c10aeebef149", "score": "0.51815474", "text": "@Test\n\tpublic void testDeleteRBT3() {\n\t\tsetup1();\n\t\tredBlack.agregarNodo(2,6);\n\t\tredBlack.agregarNodo(6,0);\n\t\tredBlack.agregarNodo(1,0);\n\t\tredBlack.agregarNodo(3,4);\n\t\tredBlack.agregarNodo(47, 1);\n\t\tredBlack.agregarNodo(60, 2);\n\t\tredBlack.agregarNodo(22, 3);\n\t\tredBlack.agregarNodo(12, 5);\n\t\tredBlack.agregarNodo(6,6);\n\t\tredBlack.agregarNodo(13, 7);\n\t\tredBlack.agregarNodo(41, 8);\n\t\tredBlack.agregarNodo(20, 9);\n\t\tredBlack.agregarNodo(52, 10);\n\t\tredBlack.agregarNodo(16,11);\n\t\tredBlack.agregarNodo(50,11);\n\t\tredBlack.agregarNodo(64, 12);\n\t\tredBlack.eliminarNodo(64);\n\t\ttry {\n\t\t\tredBlack.eliminarNodo(64);\n\t\t\tfail();\n\t\t}catch(Exception e) {\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "9d512ddd4b8a33603763df0d950074df", "score": "0.51761025", "text": "public void markBucketLeakRateDelete() throws JNCException {\n markLeafDelete(\"bucketLeakRate\");\n }", "title": "" }, { "docid": "a4f194f96aa8816725e787d8080a6a69", "score": "0.5170946", "text": "public void markNameDelete() throws JNCException {\n markLeafDelete(\"name\");\n }", "title": "" }, { "docid": "39592ca3fb0eff1b8c143f6dbc05e641", "score": "0.516743", "text": "public void markServiceDelete() throws JNCException {\n markLeafDelete(\"service\");\n }", "title": "" }, { "docid": "12134f9b15627b4fb430673494942fce", "score": "0.51635396", "text": "public void markBucketSizeDelete() throws JNCException {\n markLeafDelete(\"bucketSize\");\n }", "title": "" }, { "docid": "b16b2871957054c2a7684ad9d12d7bbe", "score": "0.5148086", "text": "void clearErrors();", "title": "" }, { "docid": "305203851769545076dbf91d0f1efce7", "score": "0.513464", "text": "public void deleteOrdine()\r\n {\r\n \r\n DataBase database=null;\r\n try{\r\n database=DBService.getDataBase();\r\n OrdineService.RemoveOrdine(database,idordine);\r\n database.commit();\r\n }\r\n catch(NotFoundDBException e){\r\n EService.logAndRecover(e);\r\n setResult(EService.UNRECOVERABLE_ERROR);\r\n if(database!=null)\r\n database.rollBack();\r\n }\r\n catch(ResultSetDBException ex){\r\n EService.logAndRecover(ex);\r\n setResult(EService.RECOVERABLE_ERROR);\r\n if(database!=null)\r\n database.rollBack();\r\n }\r\n finally{\r\n try{ if(database!=null)\r\n database.close();}catch(NotFoundDBException e){\r\n setResult(EService.UNRECOVERABLE_ERROR);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "00116860dc81ec78d09de2852fd6a060", "score": "0.5134368", "text": "public void beforeDelete0A13( )\n {\n }", "title": "" }, { "docid": "a36c34e3621c06cb9db04522f6d745f2", "score": "0.5125457", "text": "@Test\n\tpublic void testDeleteRBT2() {\n\t\tsetup1();\n\t\tredBlack.agregarNodo(2,6);\n\t\tredBlack.agregarNodo(6,0);\n\t\tredBlack.agregarNodo(1,0);\n\t\tredBlack.agregarNodo(3,4);\n\t\tredBlack.eliminarNodo(6);\n\t\ttry {\n\t\tredBlack.buscarNodo(6);\n\t\tfail();\n\t\t}catch(Exception e) {\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "31e9eca81978755c9cedbf2ccdb28d9a", "score": "0.5124743", "text": "@Override\r\npublic void deleteAllOrderLines(long orderformid) {\n\t\r\n}", "title": "" }, { "docid": "3cc471ce68d36b1d09c6355b29f6ae4e", "score": "0.5124093", "text": "public void markIFramesRetransmittedToMsDelete() throws JNCException {\n markLeafDelete(\"iFramesRetransmittedToMs\");\n }", "title": "" }, { "docid": "98b498b819fc456a492909e1b97caf48", "score": "0.5116203", "text": "public int removeAllErrors();", "title": "" }, { "docid": "d922a01ff0b68c72d8fc50c6afdad5b6", "score": "0.5110077", "text": "public void setFormulaDelete(boolean dirty) {\n\t\tthis.formulaDelete = dirty;\n\t}", "title": "" }, { "docid": "f732b5a26aeae41cbf497305b16c6268", "score": "0.50949275", "text": "public void markGea2FramesCipheredToMsDelete() throws JNCException {\n markLeafDelete(\"gea2FramesCipheredToMs\");\n }", "title": "" }, { "docid": "df39b85e9bf226ee2a879346387cd822", "score": "0.5085604", "text": "@SuppressWarnings(\"java:S1181\")\n private void deleteDataInFiles(\n Collection<TsFileResource> tsFileResourceList,\n Deletion deletion,\n Set<PartialPath> devicePaths,\n TimePartitionFilter timePartitionFilter,\n Set<String> deviceMatchInfo)\n throws IOException {\n for (TsFileResource tsFileResource : tsFileResourceList) {\n if (canSkipDelete(\n tsFileResource,\n devicePaths,\n deletion.getStartTime(),\n deletion.getEndTime(),\n timePartitionFilter,\n deviceMatchInfo)) {\n continue;\n }\n\n ModificationFile modFile = tsFileResource.getModFile();\n if (tsFileResource.isClosed()) {\n long originSize = -1;\n synchronized (modFile) {\n try {\n originSize = modFile.getSize();\n // delete data in sealed file\n if (tsFileResource.isCompacting()) {\n // we have to set modification offset to MAX_VALUE, as the offset of source chunk may\n // change after compaction\n deletion.setFileOffset(Long.MAX_VALUE);\n // write deletion into compaction modification file\n tsFileResource.getCompactionModFile().write(deletion);\n // write deletion into modification file to enable read during compaction\n modFile.write(deletion);\n // remember to close mod file\n tsFileResource.getCompactionModFile().close();\n modFile.close();\n } else {\n deletion.setFileOffset(tsFileResource.getTsFileSize());\n // write deletion into modification file\n boolean modFileExists = modFile.exists();\n\n modFile.write(deletion);\n\n // remember to close mod file\n modFile.close();\n\n // if file length greater than 1M,execute compact.\n modFile.compact();\n\n if (!modFileExists) {\n FileMetrics.getInstance().increaseModFileNum(1);\n }\n\n // The file size may be smaller than the original file, so the increment here may be\n // negative\n FileMetrics.getInstance().increaseModFileSize(modFile.getSize() - originSize);\n }\n } catch (Throwable t) {\n if (originSize != -1) {\n modFile.truncate(originSize);\n }\n throw t;\n }\n logger.info(\n \"[Deletion] Deletion with path:{}, time:{}-{} written into mods file:{}.\",\n deletion.getPath(),\n deletion.getStartTime(),\n deletion.getEndTime(),\n modFile.getFilePath());\n }\n } else {\n // delete data in memory of unsealed file\n tsFileResource.getProcessor().deleteDataInMemory(deletion, devicePaths);\n }\n }\n }", "title": "" }, { "docid": "afa9d89ca906507d8aaa5b410d061dd4", "score": "0.50790054", "text": "public void markCityDelete() throws JNCException {\n markLeafDelete(\"city\");\n }", "title": "" }, { "docid": "29ba008b25e19f2bc708b391a82ef390", "score": "0.50648445", "text": "public void markFramesProtectedToMsDelete() throws JNCException {\n markLeafDelete(\"framesProtectedToMs\");\n }", "title": "" }, { "docid": "e465b0b9606409b8704f793da0417ec6", "score": "0.506145", "text": "public void delete(int data) \n\t { \n\t root = deleteRec(root, data); \n\t }", "title": "" }, { "docid": "46ba150b78678760b71c63e6ded3ec74", "score": "0.50426686", "text": "@Override\n\tprotected void processBeforeDelete(Object id) {\n Retard entity = manager.find(\"id\", (Long) id);\n\n if(!entity.getState().equalsIgnoreCase(\"etabli\")){\n throw new KerenExecption(\"Le Retard est deja valide\");\n }//end if(entity.getState().equalsIgnoreCase(\"valide\")){\n \n\t\tsuper.processBeforeDelete(id);\n\t}", "title": "" }, { "docid": "8a6ac1740eaabb56e5bc33ce982d2116", "score": "0.50372046", "text": "public void beforeDelete0A12( )\n {\n }", "title": "" }, { "docid": "a18cd0a6b4c285c1c34b8961cd06f0e5", "score": "0.5033435", "text": "public void clean() throws CoreException {\n \t\tHashSet<Path.Entry<?>> allTargets = new HashSet();\n \t\ttry {\n \t\t\tdelta.clear();\n \t\t\t\n \t\t\t// first, identify all source files\n\t\t\t\n \t\t\tfor(IContainerRoot srcRoot : sourceRoots) {\n \t\t\t\tfor(IFileEntry<?> e : srcRoot.contents()) {\n \t\t\t\t\tdelta.add(e);\n \t\t\t\t}\n \t\t\t}\n \t\t\t\n \t\t\t// second, determine all target files\n\t\t\t\n \t\t\tfor (BuildRule r : rules) {\n \t\t\t\tfor (IFileEntry<?> source : delta) {\n \t\t\t\t\tallTargets.addAll(r.dependentsOf(source));\n \t\t\t\t}\n \t\t\t}\n \t\t\t\n \t\t\t// third, delete all target files\n \t\t\tfor(Path.Entry<?> _e : allTargets) {\n \t\t\t\tIFileEntry<?> e = (IFileEntry<?>) _e;\n \t\t\t\t//e.delete();\n \t\t\t}\t\t\n \t\t} catch(CoreException e) {\n \t\t\tthrow e;\n \t\t} catch(RuntimeException e) {\n \t\t\tthrow e;\n \t\t} catch(Exception e) {\n \t\t\t// hmmm, obviously I don't like doing this probably the best way\n \t\t\t// around it is to not extend abstract root. \n \t\t}\n \t}", "title": "" }, { "docid": "801e7f9d7b6f3a355dacb8022829a11e", "score": "0.5022807", "text": "@Test\n\tpublic void testDeleteRBT1() {\n\t\tsetup1();\n\t\tredBlack.agregarNodo(1,6);\n\t\tredBlack.eliminarNodo(1);\n\t\tassertTrue(redBlack.raiz == Node.NODONULL);\n\t}", "title": "" }, { "docid": "8150eade0ab1a55d0cc21b673403fe2f", "score": "0.5019502", "text": "public void markPortDelete() throws JNCException {\n markLeafDelete(\"port\");\n }", "title": "" }, { "docid": "4c8561d51f47c6b23d4a8b393a502c82", "score": "0.5012956", "text": "@Test(timeout = 4000)\n public void test143() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Table table0 = new Table(errorPage0, \"igKL'Xwlr>w^#`#i\");\n Component component0 = table0.del();\n assertEquals(\"wheel_ErrorPage\", errorPage0.getComponentId());\n assertTrue(component0._isGeneratedId());\n assertEquals(\"igKL'Xwlr>w^#`#i\", table0.getComponentId());\n }", "title": "" }, { "docid": "8b56a4d64684e090e67b5e6d644929f3", "score": "0.5003753", "text": "private void processDeleteReplica(Sim_event ev)\n {\n if (ev == null) {\n return;\n }\n\n Object[] obj = (Object[]) ev.get_data();\n if (obj == null)\n {\n System.out.println(super.get_name() +\n \".processDeleteReplica(): no object is found\");\n return;\n }\n\n String name = (String) obj[0]; // get file name\n Integer resID = (Integer) obj[1]; // get resource id\n\n int msg = DataGridTags.CTLG_DELETE_REPLICA_SUCCESSFUL;\n try\n {\n\n int event = DataGridTags.CTLG_DELETE_REPLICA;\n ArrayList list = (ArrayList) catalogueHash_.get(name);\n if (list != null && list.size() > 1) {\n if (list.remove(resID) == false) {\n msg = DataGridTags.CTLG_DELETE_REPLICA_ERROR_DOESNT_EXIST;\n }\n }\n else{\n msg = DataGridTags.CTLG_DELETE_REPLICA_ERROR_DOESNT_EXIST;\n }\n\n }\n catch (Exception e) {\n msg = DataGridTags.CTLG_DELETE_REPLICA_ERROR;\n }\n\n sendMessage(name, DataGridTags.CTLG_DELETE_REPLICA_RESULT, msg,\n resID.intValue() );\n }", "title": "" }, { "docid": "5634a17813e1d3f656240e28b1d12914", "score": "0.5003314", "text": "@Override\r\n\tpublic int deleteCosmetic(int c) {\n\t\tSqlSession session = factory.openSession();\r\n\t\tCosMapper cm = session.getMapper(CosMapper.class);\r\n\t\tint result = 0;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tresult = cm.deleteCosmetic(c);\r\n\t\t\tsession.commit();\r\n\t\t\t\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"화장품 삭제 오류\");\r\n\t\t\t//\te.printStackTrace();\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\tif(session != null) session.close();\r\n\t\t}\r\n\t\t\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "d48854e3e1288ab94d4218ef5fbc08aa", "score": "0.49955112", "text": "@Test\n public void touch() throws Exception {\n hdfsTool.delete(\"/cqx/data/b.complete\");\n }", "title": "" }, { "docid": "aec9e49199ced6611fac0348bb11e200", "score": "0.4992394", "text": "public boolean checkDelete() {\n\t\treturn groupChunks.size() > 0;\n \t}", "title": "" }, { "docid": "df29918fcd54fbe82c614d090ca3237b", "score": "0.49847475", "text": "@Override\n\tpublic boolean beforeDelete(T deleted, List<String> errorMessage,HttpServletRequest request) {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e087a2a5d97d007a18ac3cc3422b8c00", "score": "0.49814978", "text": "public void markBucketFullRatioDelete() throws JNCException {\n markLeafDelete(\"bucketFullRatio\");\n }", "title": "" }, { "docid": "34d258571896d6ed3afd7eba63bae2a2", "score": "0.4977212", "text": "public void deletePrimaryActFail() throws JNCException {\n String path = \"primaryActFail\";\n delete(path);\n }", "title": "" }, { "docid": "aa57c138555a9e31eef8df3b9a91f3cf", "score": "0.4968938", "text": "@Override\n\tpublic boolean deleteSysoptRecordById(Integer operation_id) throws Exception {\n\t\tint result = sysoptRecordMapper.deleteByPrimaryKey(operation_id);\n\t\tif (result==0) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn true;\n\t\t}\n\t}", "title": "" }, { "docid": "fd84aabc78aa33818621d55dd43ea78e", "score": "0.49651188", "text": "protected abstract void _deleted(Wrap<Boolean> c);", "title": "" }, { "docid": "fc9ba399c4f1d184f3e6b1b9c4942440", "score": "0.49507248", "text": "public void deleteStatMbPerCtryConf(StatMbPerCtryConf statMbPerCtryConf) ;", "title": "" }, { "docid": "31622103473106373e94ae8d72eaf247", "score": "0.49477684", "text": "public void deleteErr(IData param) throws Exception{\n\tString sql = \"DELETE FROM \"+TABLE_IPU_MEMBER_L+\" WHERE LOG_ID = :LOG_ID\";\n\tthis.executeUpdate(sql, param);\n}", "title": "" }, { "docid": "d28147e19ea5be71e42814b1f3b19ec4", "score": "0.49427646", "text": "@Override\n\tpublic void delete(Status t) {\n\n\t}", "title": "" }, { "docid": "26eaf537f89e55958fd81e6d752a5757", "score": "0.49411324", "text": "private void delete(LeafNode thisNode) {\n for (int i = 0; i < thisNode.parentNode.keyCnt - 1; i++) {\n if (thisNode.parentNode.childNodes[i] == thisNode) {\n for (int j = i; j < thisNode.parentNode.keyCnt - 1; j++) {\n thisNode.parentNode.keys[j] = thisNode.parentNode.keys[j + 1];\n thisNode.parentNode.childNodes[j + 1] = thisNode.parentNode.childNodes[j + 2];\n }\n break;\n }\n }\n thisNode.parentNode.keys[thisNode.parentNode.keyCnt - 1] = 0;\n thisNode.parentNode.childNodes[thisNode.parentNode.keyCnt] = null;\n thisNode.parentNode.keyCnt--;\n // check whether underflow or not\n if (thisNode.parentNode.keyCnt < fanOut / 2) {\n // redistribute the parentNode\n redistribute(thisNode.parentNode);\n }\n }", "title": "" }, { "docid": "89787e8f475c6b5ec81032de62fd82d9", "score": "0.4939541", "text": "@Test\n public void delete() {\n boolean result = this.binaryTree.delete(20);\n Assert.assertFalse(result);\n\n //2. delete node have no child\n result = this.binaryTree.delete(4);\n Assert.assertTrue(result);\n\n //3. delete node only have left child\n result = this.binaryTree.delete(22);\n Assert.assertTrue(result);\n\n //4. delete node only have right child\n result = this.binaryTree.delete(15);\n Assert.assertTrue(result);\n\n //5. delete node have two children\n result = this.binaryTree.delete(8);\n Assert.assertTrue(result);\n\n result = this.binaryTree.delete(12);\n Assert.assertTrue(result);\n\n //6. delete root node\n result = this.binaryTree.delete(10);\n Assert.assertTrue(result);\n\n System.out.println(\"After delete:\" + this.binaryTree.preOrder());\n\n }", "title": "" }, { "docid": "350c11e6d808c0659b2322a717e89949", "score": "0.49366364", "text": "protected void rebalanceDelete(Position<Entry<K, V>> p) {\r\n \t//if p is the root there is no need to splay the tree\r\n \tif(!isRoot(p)) {\r\n \t\t//splay the tree at the parent of the node p which is being removed\r\n \t\tsplay(parent(p));\r\n \t}\r\n }", "title": "" }, { "docid": "9c4f3e508d744b5c73882549919d3a58", "score": "0.49297374", "text": "@Override\r\n\tpublic void delete() throws Exception {\n\t\t\r\n\t}", "title": "" }, { "docid": "32ee6b17f32c38c829d0eacac96ff4ea", "score": "0.4928086", "text": "abstract void validateForDelete() throws com.webobjects.foundation.NSValidation.ValidationException;", "title": "" }, { "docid": "4e62c0237064578727fee6fbc4baead5", "score": "0.49201444", "text": "public void markTitleDelete() throws JNCException {\n markLeafDelete(\"title\");\n }", "title": "" }, { "docid": "b29d376a2d3d3f922ad065452955ffa3", "score": "0.491902", "text": "public void markSignalingWeightDelete() throws JNCException {\n markLeafDelete(\"signalingWeight\");\n }", "title": "" }, { "docid": "56162892a450f3bb916ca6464f58e7e5", "score": "0.4918103", "text": "private void undo_deleted_entry() {\r\n try {\r\n if (arr_size_b4 > arr_size_aftr) {\r\n Cursor cursor = dbManager.fetch();\r\n undo_temp = new TrackerEntry(temp_bs, temp_ld, temp_md);\r\n dbManager.insert(undo_temp);\r\n update_listView();\r\n } else { TriggerToast(\"Nothing to Undo.\"); }\r\n } catch (Exception e) {\r\n TriggerToast(\"undo_deleted_entry() -> \" +\r\n e.getMessage() + \"Likely Due to size mismatch\");\r\n }\r\n //if triggers when before > after, allowing insert of undo_temp, and then\r\n //set them equal so the if wont trigger again without another delete.\r\n arr_size_aftr = arr_size_b4;\r\n }", "title": "" }, { "docid": "aaea6845be5733712dc9b286cb44e7c6", "score": "0.49159282", "text": "@Override\n\tpublic int delete(String statement) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "7c86b79626f169e11bc5d0f11ebb3973", "score": "0.49136168", "text": "public void delete(BigInteger fid) {\n\t\tmapper.delete(fid);\n\t}", "title": "" }, { "docid": "0a4101baecb9daf15d680a8cb381fc10", "score": "0.49121583", "text": "@Test(timeout = 4000)\n public void test011() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Table table0 = new Table(errorPage0, \"$$\");\n TableBlock tableBlock0 = table0.thead();\n assertTrue(tableBlock0._isGeneratedId());\n \n table0.remove((Component) table0);\n assertEquals(\"wheel_ErrorPage\", errorPage0.getComponentId());\n }", "title": "" }, { "docid": "f2e6b457a9388f819ae2c9805a6d2d80", "score": "0.49120802", "text": "public void markUiFramesFromMsDelete() throws JNCException {\n markLeafDelete(\"uiFramesFromMs\");\n }", "title": "" }, { "docid": "974b1c259f1db009b534f0830f687679", "score": "0.49073365", "text": "@Override\r\n\t\t\t\t\tpublic void handleDataDeleted(String arg0) throws Exception {\n\t\t\t\t\t\tregister();\r\n\t\t\t\t\t\tlogger.info(LocalInfo.getLocalIp()+ \" is not working any more\");\r\n\t\t\t\t\t\tlogger.info(\"A new master will be selected\");\r\n\t\t\t\t\t}", "title": "" }, { "docid": "193cbbe168408b6e3464ab02980351ec", "score": "0.49043256", "text": "@Override\n\tpublic Integer delBatchInstance(Map<String, Object> map) throws Exception {\n\t\treturn getSqlSession().getMapper(ICorpCrmDao.class).delBatchInstance(map);\n\t}", "title": "" }, { "docid": "f2fd14a00dcc17e87de5b26fbb409580", "score": "0.49017334", "text": "public void eraseOldLMKImpl () throws SMException {\n throw new SMException(\"Operation not supported in: \" + this.getClass().getName());\n }", "title": "" }, { "docid": "ecaadef3622f2d600925f2b147957fce", "score": "0.48990327", "text": "@Override\n protected void handleDelete() throws IOException {\n State state = init.get();\n if (state == State.INITIALIZED || state == State.INVALID) {\n init.set(State.DELETING);\n deleteMarker();\n super.handleDelete();\n init.set(State.DELETED);\n } else {\n throw new IllegalStateException(\"handleDelete() failed - invalid state: \" + state);\n }\n }", "title": "" }, { "docid": "3bf923f5662ca4406a0d5e5f1189c92e", "score": "0.4898936", "text": "void deleteMapLN(DatabaseId id)\n throws DatabaseException {\n\n /*\n * Retry indefinitely in the face of lock timeouts since the lock on\n * the MapLN is only supposed to be held for short periods.\n */\n boolean done = false;\n while (!done) {\n Locker idDbLocker = null;\n CursorImpl idCursor = null;\n boolean operationOk = false;\n try {\n idDbLocker = BasicLocker.createBasicLocker(envImpl);\n idCursor = new CursorImpl(idDatabase, idDbLocker);\n boolean found =\n (idCursor.searchAndPosition\n (new DatabaseEntry(id.getBytes()), null,\n SearchMode.SET, LockType.WRITE) &\n CursorImpl.FOUND) != 0;\n if (found) {\n\n /*\n * If the database is in use by an internal JE operation\n * (checkpointing, cleaning, etc), release the lock (done\n * in the finally block) and retry. [#15805]\n */\n MapLN mapLN = (MapLN)\n idCursor.getCurrentLNAlreadyLatched(LockType.WRITE);\n assert mapLN != null;\n DatabaseImpl dbImpl = mapLN.getDatabase();\n if (!dbImpl.isInUseDuringDbRemove()) {\n idCursor.latchBIN();\n idCursor.delete(ReplicationContext.NO_REPLICATE);\n done = true;\n }\n } else {\n /* MapLN does not exist. */\n done = true;\n }\n operationOk = true;\n } catch (DeadlockException DE) {\n /* Continue loop and retry. */\n } finally {\n if (idCursor != null) {\n idCursor.releaseBIN();\n idCursor.close();\n }\n if (idDbLocker != null) {\n idDbLocker.operationEnd(operationOk);\n }\n }\n }\n }", "title": "" }, { "docid": "a58705a0579cfadb298a8e033e07a617", "score": "0.489508", "text": "@Override\r\n\tpublic void delete(MonHoc tkb) {\n\t\tmhRepository.delete(tkb);\r\n\t}", "title": "" }, { "docid": "c205ad062707ad4658e0d1feca62507b", "score": "0.4894138", "text": "public boolean delete (int toDelete){\r\n if (super.delete(toDelete)){\r\n Node balanceResult = balanceTree(toDelete, root);\r\n if (balanceResult!=null) root=balanceResult;\r\n return true;\r\n }\r\n else return false;\r\n }", "title": "" }, { "docid": "6eb4629728b17dbc6fb31d437fc4edaa", "score": "0.48934308", "text": "@Override\r\n\tpublic void delques() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b3865ee0263fd62017ca73daa7710bbd", "score": "0.48930442", "text": "void markAsDeleted() { // package scope so that factories of this item can mark it as deleted\n deleted = true;\n }", "title": "" }, { "docid": "b992a41706d604b37a98d630db887cd5", "score": "0.48919973", "text": "void delete(){\n if (length() <= 0)\n throw new RuntimeException(\"List Error: delete() called on empty List\");\n if (getIndex() < 0){\n throw new RuntimeException(\"List Error: delete() called on undefined cursor\");\n }\n else{\n cursor.prev.next = cursor.next;\n cursor.next.prev = cursor.prev;\n length--;\n }\n cursor = null;\n cursorIndex = -1;\n }", "title": "" }, { "docid": "cc41d44141fd2f6037c071c2115158fb", "score": "0.4891903", "text": "@Override\r\n public void deleteCode(Commcode commcode) {\n\r\n }", "title": "" } ]
d40fa4adb3c9d917d5c46762f1218b01
Valid for commands which need a row and column value
[ { "docid": "d6ec25cdfb26f5c52d036ed5c413aeca", "score": "0.0", "text": "public void setRow(int row) {\n\t\tthis.row = row;\n\t}", "title": "" } ]
[ { "docid": "8c25147fbaff5c1e5134e73b4542b062", "score": "0.66306484", "text": "private boolean isValidRowAndColumn(int row, int column) {\r\n return row >= 0 && row < numRows() && column >= 0 && column < numCols();\r\n }", "title": "" }, { "docid": "ae7b31d40d6cb0ec0581276742e5a499", "score": "0.65958554", "text": "private void validate(int row, int col) {\n if (row < 1 || col < 1 || row > this.n || col > this.n) {\n throw new IllegalArgumentException(\"row or col outside its prescribed range\");\n }\n }", "title": "" }, { "docid": "627167b97685d608600a780fc4854852", "score": "0.64673924", "text": "private boolean isValid(int row, int col){\n if (row < 0 || row >= nRow) {\n return false;\n }\n if (col < 0 || col >= nRow) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "39a62fc8da91f6abb7200f295ab59e8a", "score": "0.6244311", "text": "private boolean isValid(int row, int col) {\n\t\t\treturn row > 0 && row <= N && col > 0 && col <= N;\n\t\t}", "title": "" }, { "docid": "0c5db49edf308dc199960a5239ea7669", "score": "0.6135252", "text": "private void checkBoundaries(int row, int col) {\n if (row <= 0 || row > nSize || col <= 0 || col > nSize) {\n throw new IllegalArgumentException();\n }\n }", "title": "" }, { "docid": "4f2a5310799676fd79417912d077ec05", "score": "0.59901595", "text": "@Override\n\tpublic void onNormalActionInvalid(int row1, int col1, int row2, int col2) {\n\t\t\n\t}", "title": "" }, { "docid": "dc46289d8d6e9fb3dc2d547528e6665c", "score": "0.5968028", "text": "boolean userInputCheck(int paramIndex){\n boolean rowPassed = true;\n String infoMsg = \"Parameter Line: \" + paramIndex + System.lineSeparator();\n\n if(paramIDMissing){\n rowPassed = false;\n infoMsg+= \"-Param ID input is missing.\" + System.lineSeparator();\n }\n if(fileIDMissing){\n rowPassed = false;\n infoMsg+= \"-File ID input is missing.\" + System.lineSeparator();\n }\n if(paramError){\n rowPassed = false;\n infoMsg+= \"-Make sure your Param ID has only alphanumeric characters or underscores.\" + System.lineSeparator();\n }\n //if(fileError){\n // rowPassed = false;\n // infoMsg+= \"-Make sure your File ID file's extentsion ends in \\\".stdin\\\", \\\".stdout\\\", or \\\".prgout\\\".\" + System.lineSeparator() + \" Or is a file path.\" + System.lineSeparator();\n //}\n\n \n if(!rowPassed)\n errorMsg += (infoMsg + System.lineSeparator());\n\n return rowPassed;\n }", "title": "" }, { "docid": "4666c360309f4b0704258bbb391da574", "score": "0.5936443", "text": "public boolean validatedReach(int column, int row){\n if(column>=size || row >= size || column <0 || row <0) return false;\n else return true;\n }", "title": "" }, { "docid": "b2ca25720aa602162fd0b84f87b8a1f7", "score": "0.58613205", "text": "int validPosition() {\n return currentColumn;\n }", "title": "" }, { "docid": "ed4b2f24e4d9c89670b7cdb292254d74", "score": "0.5809591", "text": "private void checkRow(int row) {\r\n\t\tif (row < 0 || row >= getRowCount()) {\r\n\t\t\tthrow new IllegalArgumentException(\"row out of range: \" + row);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "14b8e3677915e245b0952534383402ee", "score": "0.5803652", "text": "public static boolean validPosition(int row, int col) {\n\t\treturn row >= 0 && row < 8 && col >=0 && col < 8; \n\t}", "title": "" }, { "docid": "a896f8bfd15c70320cb9c20c9677a747", "score": "0.57910466", "text": "private boolean isValid(int rowPos, int colPos) {\n\t\tif (rowPos >= 1 && rowPos <= 8 && colPos >= 1 && colPos <= 8) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "b8161e7ae963521922e8884e5eae0f34", "score": "0.5758061", "text": "public boolean isValueOperation(int noRow, int noCol){\n return (noRow > 0 && noRow <= nbRowDs && noCol > nbColDs && noCol < this.nbCols -1 ) || (noCol > 0 && noCol <= nbColDs && noRow > nbRowDs && noRow < this.nbRows -1 );\n }", "title": "" }, { "docid": "e074dfa7cf6070667e7dcbf0c0590ac3", "score": "0.5702493", "text": "private void validate() throws IllegalArgumentException {\r\n switch (command) {\r\n case ADD:\r\n if (!(oldValue == null && newValue != null)) {\r\n throw new IllegalArgumentException(\r\n \"ADD requires oldValue to be null and newValue not to be null\");\r\n }\r\n break;\r\n case REMOVE:\r\n if (!(oldValue != null && newValue == null)) {\r\n throw new IllegalArgumentException(\r\n \"REMOVE requires oldValue not to be null and newValue to be null\");\r\n }\r\n break;\r\n case MODIFY:\r\n if (!(oldValue != null && newValue != null)) {\r\n throw new IllegalArgumentException(\r\n \"MODIFY requires both oldValue and newValue not to be null\");\r\n }\r\n break;\r\n case REQUEST_ALL:\r\n if (!(oldValue == null && newValue == null)) {\r\n throw new IllegalArgumentException(\r\n \"REQUEST_ALL requires both oldValue and newValue to be null\");\r\n }\r\n break;\r\n case HEARTBEAT:\r\n if (!(oldValue == null && newValue == null)) {\r\n throw new IllegalArgumentException(\r\n \"REQUEST_ALL requires both oldValue and newValue to be null\");\r\n }\r\n break;\r\n default:\r\n }\r\n }", "title": "" }, { "docid": "76e085a01a8996ccdda86f06da2e8851", "score": "0.56634593", "text": "private void validate(int p, int q) {\r\n if (p < 1 || p > n)\r\n throw new IndexOutOfBoundsException(\"Invalid cell index\");\r\n if (q < 1 || q > n)\r\n throw new IndexOutOfBoundsException(\"Invalid cell index\");\r\n }", "title": "" }, { "docid": "09941d9debc424968ab1bd62da736b43", "score": "0.5644311", "text": "@Override\n public boolean isCellEditable(int row, int col) {\n if (col < 1) {\n return false;\n } else {\n return true;\n }\n }", "title": "" }, { "docid": "fbdbecc3361b210ca071c5999f5fa9a6", "score": "0.56379277", "text": "private void checkColumn(int column) {\r\n\t\tif (column < 0 || column >= getColumnCount()) {\r\n\t\t\tthrow new IllegalArgumentException(\"column out of range: \" + column);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f914ef83cce90b9b6820ed41dfb4e042", "score": "0.5613451", "text": "public boolean isValueTitleOperationRow (int noRow, int noCol){\n return (noCol == 0 && noRow > nbRowDs && noRow < this.nbRows - 1);\n }", "title": "" }, { "docid": "67038547b91c0072bc86823ab9fefc30", "score": "0.5609134", "text": "@Test(expected = IllegalArgumentException.class)\n public void testWithTargetRowInvalid()\n {\n builder.withTargetRow(-1);\n }", "title": "" }, { "docid": "f67cf9e5044bc1235e3567c6c3534d72", "score": "0.5593761", "text": "@Test\n public void parse_invalidValueFollowedByValidValue_success() {\n Index targetIndex = INDEX_FIRST_ITEM;\n String userInput = targetIndex.getOneBased() + INVALID_QUANTITY_DESC + QUANTITY_DESC_SONY;\n EditItemDescriptor descriptor = new EditItemDescriptorBuilder().withQuantity(VALID_QUANTITY_SONY).build();\n EditItemCommand expectedCommand = new EditItemCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // other valid values specified\n userInput = targetIndex.getOneBased() + SKU_DESC_SONY + INVALID_QUANTITY_DESC\n + IMAGE_DESC_SONY + QUANTITY_DESC_SONY;\n descriptor = new EditItemDescriptorBuilder().withQuantity(VALID_QUANTITY_SONY).withSku(VALID_SKU_SONY)\n .withImage(VALID_IMAGE_SONY).build();\n expectedCommand = new EditItemCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "title": "" }, { "docid": "1d4316ad19ce747c9acc2431d538d7c9", "score": "0.5585153", "text": "public boolean isValueTitleOperationCol (int noRow, int noCol){\n return (noRow == 0 && noCol > nbColDs && noCol < this.nbCols -1 ) ;\n }", "title": "" }, { "docid": "91391bf59ae1efb5dea041c4d3f09568", "score": "0.5568837", "text": "public boolean notValid(int row, int col, char[][] board) {\n\t\tif( row>2 || row<0 || col>2 || col<0) {\n\t\t\tSystem.out.println(\"Plaese enter a valid position\");\n\t\t\treturn true;\n\t\t}\n\t\tif(board[row][col]!=' ') {\n\t\t\tSystem.out.println(\"Already taken!! Please enter a valid move.\");\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c96863af76fe50ff0cc52bf92f0ef7ff", "score": "0.55674237", "text": "@Override\n public boolean isCellEditable(int row, int col) {\n return (col!=0);\n }", "title": "" }, { "docid": "a10091f0726cfef253cce6db27095f6c", "score": "0.5560122", "text": "private boolean validBounds (int row, int col) {\n if((row < 0 || row >= size) || (col < 0 || col >= size)) \r\n return false;\r\n return true;\r\n }", "title": "" }, { "docid": "8ccd4cbc2a9bbf2395ed5611dc827c61", "score": "0.5556821", "text": "private boolean isValidPosition(int columnAtRow[], int r, int c) {\n \t\tfor(int i = 0; i < r; ++i) {\n \t\t\t//check column and diagonal of set queens diganal means the slope is 1 or -1\n \t\t\tif(columnAtRow[i] == c || Math.abs(columnAtRow[i] - c) == r - i) {\n \t\t\t\t\treturn false;\n \t\t\t}\n \t\t}\n \t\treturn true;\n }", "title": "" }, { "docid": "eeb0ccfe9e1792cea8c4880e867f27c7", "score": "0.5549747", "text": "@Test\n public void parse_invalidValueFollowedByValidValue_success() {\n Index targetIndex = INDEX_FIRST_APPLICATION;\n String userInput = targetIndex.getOneBased() + INVALID_POSITION_DESC + POSITION_DESC_BYTEDANCE;\n EditApplicationDescriptor descriptor = new EditApplicationDescriptorBuilder()\n .withPosition(VALID_POSITION_BYTEDANCE).build();\n EditCommand expectedCommand = new EditCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // other valid values specified\n userInput = targetIndex.getOneBased() + DEADLINE_DESC_BYTEDANCE + INVALID_POSITION_DESC\n + POSITION_DESC_BYTEDANCE;\n descriptor = new EditApplicationDescriptorBuilder().withPosition(VALID_POSITION_BYTEDANCE)\n .withDeadline(VALID_DEADLINE_BYTEDANCE).build();\n expectedCommand = new EditCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "title": "" }, { "docid": "4c6bad6ab96686658c143ddc2d3064c7", "score": "0.55430216", "text": "private boolean isOk(int row, int col, int number) {\r\n\t\treturn !isInRow(row, number) && !isInCol(col, number) && !isInBox(row, col, number);\r\n\t}", "title": "" }, { "docid": "a2e9f21c9167c6bc411e7b5dfb69a4ff", "score": "0.5528974", "text": "public abstract boolean valid(Field[][] gameFields,int previousCol, int previousRow, int desiredCol, int desiredRow);", "title": "" }, { "docid": "86a367f045f39da545710096a2741d52", "score": "0.55221474", "text": "private boolean isEqualToCommandValidAfterOperandInput() {\n return this.expression.size() >= 2;\n }", "title": "" }, { "docid": "3bdf3ff342a28378362e4245730f0a80", "score": "0.55181396", "text": "@Override\n\tpublic boolean isValid(int... params) throws InvalidCommandException {\n\t\tif (DrawingUtil.checkifCanvasEmpty()) {\n\t\t\tthrow new InvalidCommandException(DrawingConstant.CANVAS_EMPTY_MESSAGE);\n\t\t}\n\t\tif (CommandUtil.isNegativeParam(params)) {\n\t\t\tthrow new InvalidCommandException(DrawingConstant.NON_POSITIVE_PARAM_MESSAGE);\n\t\t}\n\t\tif (DrawingUtil.checkifOutsideCanvas(params[0], params[1])) {\n\t\t\tthrow new InvalidCommandException(DrawingConstant.OUTSIDE_CANVAS_BOUNDARIES + \"\\nWidth: \"\n\t\t\t\t\t+ DrawingConstant.CANVAS_WIDTH + \"\\nHeight: \" + DrawingConstant.CANVAS_HEIGHT);\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "4506c300d5a93d3763846daf6b1c01aa", "score": "0.5511576", "text": "void checkLine(String[] arg) throws Exception {\r\n if (arg.length == 0) throw new Exception(\"The line is empty\");\r\n\r\n for (int i = 0; i < arg[0].length(); i++) {\r\n if (!(matches(String.valueOf(arg[0].charAt(i)), LETTERS)\r\n || matches(String.valueOf(arg[0].charAt(i)), NUMBER)\r\n || matches(String.valueOf(arg[0].charAt(i)), ALL_ARITHMETICAL_OPERATIONS))) {\r\n throw new Exception(\"There are characters that program can't handle. Please, check input line.\");\r\n }\r\n }\r\n\r\n int openBracket = 0, closeBracket = 0;\r\n for (int i = 0; i < arg[0].length(); i++) {\r\n if (arg[0].toCharArray()[i] == '(') openBracket++;\r\n if (arg[0].toCharArray()[i] == ')') closeBracket++;\r\n }\r\n if (openBracket != closeBracket) throw new Exception(\"Wrong parentheses\");\r\n }", "title": "" }, { "docid": "918a042d43db9fa48b56c076891a9be8", "score": "0.5509043", "text": "private void handleSyntax(String[] commandArray) {\n\n //Check for acceptable table name\n setParse(checkAlphaNumeric(commandArray, \"[a-zA-Z0-9]+\", true));\n\n if (getParse()) {\n\n //Check for SET\n setParse(checkCommand(commandArray, \"SET\", true));\n\n if (getParse()) {\n\n //Check name value pair list\n setParse(nameValuePairList(commandArray));\n\n if (getParse()) {\n\n //Check WHERE without increment as semi-colon has incremented\n setParse(checkCommand(commandArray, \"WHERE\", true));\n\n if (getParse()) {\n\n //Check conditions (NOTE: No need to check semi-colon as method does this!)\n setParse(checkConditions(commandArray));\n }\n }\n }\n }\n }", "title": "" }, { "docid": "f393236df931e91951f52bcc89559df4", "score": "0.54605025", "text": "private boolean positionExists(int row, int column) {\n\t\treturn row >= 0 && row < rows && column >= 0 && column < columns; // se essa condição for verdadeiro ele retorna\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// true.\n\t}", "title": "" }, { "docid": "50baf07a86f622212a323de34f84d36e", "score": "0.5442486", "text": "@Override\n\tpublic String processCommand(String command){\n\t\tif(command.equals(\"\")){\n\t\t\treturn \"\";\n\t\t}\n\t\t\n\t\tString lowerCommand = command.toLowerCase();\n\t\t//Clear command\n\t\tif(lowerCommand.equals(\"clear\")){\n\t\t\tfor(int i=0;i<rowsNumber; i++){\n\t\t\t\tfor(int j=0; j<colsNumber; j++){\n\t\t\t\t\tarraySpreadsheet[i][j] = new EmptyCell();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t//Clear Cell command\n\t\tif(lowerCommand.contains(\"clear \")){\n\t\t\tString[] splitCommand = command.split(\" \");\n\t\t\tSpreadsheetLocation location = new SpreadsheetLocation(splitCommand[0]);\n\t\t\tarraySpreadsheet[location.getCol()][location.getRow()] = new EmptyCell();\n\t\t}\n\t\t\n\t\t//Cell assignment\n\t\tif(lowerCommand.contains(\"=\")){\n\t\t\tString[] splitCommand = command.split(\"=\");\n\t\t\tSpreadsheetLocation location = new SpreadsheetLocation(splitCommand[0]);\n\t\t\t//Command is assigning text \n\t\t\tif(command.contains(\"\\\"\")){\n\t\t\t\tarraySpreadsheet[location.getCol()][location.getRow()] = new TextCell(splitCommand[1]);\n\t\t\t}\n\t\t\t/*\t \n\t\t\t//Command is assigning a formula\n\t\t\tif(lowerCommand.contains(\"+\") || lowerCommand.contains(\"-\") || lowerCommand.contains(\"/\")){\n\t\t\t\tarraySpreadsheet[location.getCol()][location.getRow()] = new FormulaCell(splitCommand[1]);\n\t\t\t}\n\n\t\t\t//Command is assigning a decimal\n\t\t\tif(lowerCommand.contains(\".\")){\n\t\t\t\tarraySpreadsheet[location.getCol()][location.getRow()] = new PercentCell(splitCommand[1]);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tif(lowerCommand.contains(\"(\"){\n\t\t\t\tarraySpreadsheet[location.getCol()][location.getRow()] = new FormulaCell(splitCommand[0]);\n\t\t\t}else{\n\t\t\t\tarraySpreadsheet[location.getCol()][location.getRow()] = new RealCell(splitCommand[1]);\n\t\t\t}*/\n\t\t}else{\n\t\t\t//Cell Inspection\n\t\t\tSpreadsheetLocation location = new SpreadsheetLocation(command);\n\t\t\treturn(arraySpreadsheet[location.getCol()][location.getRow()].fullCellText());\n\t\t}\n\t\treturn \"\";\n\t}", "title": "" }, { "docid": "0b09f9656766bb7955d36810ee3d6830", "score": "0.54281634", "text": "public boolean validCellInput(Cell cell) {\n\t\t//Row column logic \n\t\tboolean valid = true;\n\t\tif(cell.getCage().isCageFull() == true) {\n\t\t\tif(!cell.getCage().isCageCorrect()) {\n\t\t\t\tcell.getCage().setCorrect(false);\n\t\t\t\tvalid = false;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tcell.getCage().setCorrect(true);\n\t\t\t}\n\t\t}\n\t\t\n\t\tif(columnDuplicates(cell.getX()) == true) {\n\t\t\t\tfor(int y = 0; y < this.dimensions;y++) {\n\t\t\t\t\tif(this.cells[cell.getX()][y].getCorrect() != false) {\n\t\t\t\t\t\tthis.cells[cell.getX()][y].setHighlighted(true);\t\n\t\t\t\t\t}\n\t\t\t\t\tif(!this.cells[cell.getX()][y].getCorrect() && this.cells[cell.getX()][y].getHighlighted()) {\n\t\t\t\t\t\tthis.cells[cell.getX()][y].resetStyle();\n\t\t\t\t\t\tthis.cells[cell.getX()][y].setCorrect(false,false);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tvalid = false;\n\t\t}\n\t\telse if(columnDuplicates(cell.getX()) == false) {\n\t\t\tfor(Cell colcell:this.getColumncells(cell.getX())){\n\t\t\t\tcolcell.unhighlight();\n\t\t\t}\n\t\t}\n\t\tif(rowDuplicates(cell.getY()) == true) {\n\t\t\tvalid = false;\n\t\t\t\tfor(int x = 0; x < this.dimensions;x++) {\n\t\t\t\t\tif(this.cells[x][cell.getY()].getCorrect() != false) {\n\t\t\t\t\t\tthis.cells[x][cell.getY()].setHighlighted(true);\t\n\t\t\t\t\t}\n\t\t\t\t\tif(!this.cells[x][cell.getY()].getCorrect() && this.cells[x][cell.getY()].getHighlighted()) {\n\t\t\t\t\t\tthis.cells[x][cell.getY()].resetStyle();\n\t\t\t\t\t\tthis.cells[x][cell.getY()].setCorrect(false,false);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvalid = false;\n\t\t\t}\n\t\telse if(rowDuplicates(cell.getY()) == false) {\n\t\t\tfor(Cell rowcell:this.getRowCells(cell.getY())){\n\t\t\t\trowcell.unhighlight();\n\t\t\t}\n\t\t}\n\t\t\t\n\t\treturn valid;\n\t}", "title": "" }, { "docid": "06b42c5d70858aeb591296abe7ad6814", "score": "0.54244745", "text": "@Override\n public void validate() {\n\tif ( parameters == null || parameters.length > 1 ) {\n\t throw new InvalidCommandException(String.format(\"Invalid number of parameters. Expected 1 found %d\", parameters == null ? 0 : parameters.length));\n\t}\n\t\n\t//the parameter must be an int with an expected value\n\ttry {\n\t int value = Integer.valueOf( parameters[0] );\n\t \n\t if ( value < 0 || value >= ReportType.values().length ) {\n\t\tthrow new InvalidCommandException(String.format(\"Unexpected value. Expected value between 0 and %d, found %d\", ReportType.values().length - 1, value));\n\t }\n\t \n\t option = ReportType.values()[ value ];\n\t \n\t} catch ( NumberFormatException ex ) {\n\t throw new InvalidCommandException(String.format(\"Invalid parameter type. Expected INT\"));\n\t}\n }", "title": "" }, { "docid": "4b05de6dbde1a006745b37038ee18e12", "score": "0.5413212", "text": "private CommandType processCommand(String command,String player) throws CommandFailException{\r\n\t\tCommandType ct=Constants.validCommand(command);\r\n\t\tif (ct==null){throw new CommandFailException(\"Invalid command,Please re-type\");}\r\n\t\tint c=1;\r\n\t\tif (Constants.white.equals(player)){c=2;}\r\n\t\tboard.setposition(command.trim(),c);\r\n\t\treturn ct;\r\n\t}", "title": "" }, { "docid": "62740b5aab8cc56d2223a8dfc9a7f982", "score": "0.54080504", "text": "public boolean legalCell(int row, int col) {\n\n\t\treturn row >= 0 && row < numRows && col >= 0 && col < numCols;\n\n\t}", "title": "" }, { "docid": "0067ce5f0fae2412e8873ae9591a2925", "score": "0.5407155", "text": "@Override\n public boolean isCellEditable(int row, int col) {\n\n if (col < 12) {\n return false;\n } else {\n return true;\n }\n\n }", "title": "" }, { "docid": "54cee9c1d2c4bd3dbb6d26934f9d6ab9", "score": "0.5406679", "text": "public void validate() throws InvalidSelectorFormatException {\r\n if (!this.regExpRowSpec.startsWith(\"[\") || !this.regExpRowSpec.endsWith(\"]\")) {\r\n throw new InvalidSelectorFormatException(\"Invalid format of the given row specification \" + this.regExpRowSpec);\r\n }\r\n\r\n String[] rowSpecFragments = CSVMapUtil.removeBracesFromString(this.regExpRowSpec).split(\"=\", 2);\r\n if (rowSpecFragments.length != 2) {\r\n throw new InvalidSelectorFormatException(\"Invalid format of the given row specification \" + this.regExpRowSpec);\r\n }\r\n\r\n if (rowSpecFragments[0].length() < 1) {\r\n throw new InvalidSelectorFormatException(\"The column part of the row specification is invalid: \" + this.regExpRowSpec);\r\n }\r\n\r\n if (rowSpecFragments[1].length() < 1) {\r\n throw new InvalidSelectorFormatException(\"The RegExp part of the row specification is invalid: \" + this.regExpRowSpec);\r\n }\r\n }", "title": "" }, { "docid": "00a16022e1251d0911381eeca6c2c121", "score": "0.5401506", "text": "@Test(expected = IllegalArgumentException.class)\n public void testWithTargetColumnInvalid()\n {\n builder.withTargetColumn(-1);\n }", "title": "" }, { "docid": "c147916577df10475bd3965aa366ed43", "score": "0.53684086", "text": "private boolean validatePlayerMove(BoardVals player, int row, int column){\r\n boolean validMove = true;\r\n int playerCurrentRow;\r\n int playerCurrentCol;\r\n //get the current row and column of the indicated player for use in this method\r\n if(player == BoardVals.PLAYER_O){\r\n playerCurrentRow = getPlayerO()[0];\r\n playerCurrentCol = getPlayerO()[1];\r\n }else{\r\n playerCurrentRow = getPlayerX()[0];\r\n playerCurrentCol = getPlayerX()[1];\r\n }\r\n \r\n if((playerCurrentRow == row) && (playerCurrentCol == column)){ //it's invalid to attempt to stay in the same position!\r\n validMove = false;\r\n }else if(!checkInBounds(row, column)){ //check bounds - move outside board bounds is invalid\r\n validMove = false;\r\n }else if(row == playerCurrentRow){ //horizontal movement\r\n if(playerCurrentCol > column){ //decrement - move left\r\n for(int i = (playerCurrentCol - 1); i >= column; i--){\r\n if(!checkSpace(playerCurrentRow, i)){\r\n validMove = false;\r\n break;\r\n }\r\n }\r\n }else{ //increment - move right\r\n for(int i = (playerCurrentCol + 1); i <= column; i++){\r\n if(!checkSpace(playerCurrentRow, i)){\r\n validMove = false;\r\n break;\r\n }\r\n }\r\n }\r\n }else if(column == playerCurrentCol){ //vertical movement\r\n if(playerCurrentRow > row){ //decrement - move up\r\n for(int i = (playerCurrentRow - 1); i >= row; i--){\r\n if(!checkSpace(i, playerCurrentCol)){\r\n validMove = false;\r\n break;\r\n }\r\n }\r\n }else{ //increment - move down\r\n for(int i = (playerCurrentRow + 1); i <= row; i++){\r\n if(!checkSpace(i, playerCurrentCol)){\r\n validMove = false;\r\n break;\r\n }\r\n }\r\n }\r\n }else if(Math.abs(playerCurrentRow - row) == Math.abs(playerCurrentCol - column)){ //Note that points are on a diagonal if the row and column differences between the two are the same\r\n int spacesToMove = Math.abs(playerCurrentRow - row); //diagonally moved spaces are equal to absolute value of both column and row distance\r\n int checkRow = playerCurrentRow;\r\n int checkCol = playerCurrentCol;\r\n \r\n if((playerCurrentRow > row) && (playerCurrentCol > column)){ //decrement both - move up and left\r\n for(int i = spacesToMove; i > 0; i--){\r\n checkRow--;\r\n checkCol--;\r\n if(!checkSpace(checkRow, checkCol)){\r\n validMove = false;\r\n break;\r\n }\r\n }\r\n }else if((playerCurrentRow > row) && (playerCurrentCol < column)){ //decrement row, increment column - move up and right\r\n for(int i = spacesToMove; i > 0; i--){\r\n checkRow--;\r\n checkCol++;\r\n if(!checkSpace(checkRow, checkCol)){\r\n validMove = false;\r\n break;\r\n }\r\n }\r\n }else if((playerCurrentRow < row) && (playerCurrentCol < column)){ //increment both - move down and right\r\n for(int i = spacesToMove; i > 0; i--){\r\n checkRow++;\r\n checkCol++;\r\n if(!checkSpace(checkRow, checkCol)){\r\n validMove = false;\r\n break;\r\n }\r\n }\r\n }else if((playerCurrentRow < row) && (playerCurrentCol > column)){ //increment row, decrement column - move down and left\r\n for(int i = spacesToMove; i > 0; i--){\r\n checkRow++;\r\n checkCol--;\r\n if(!checkSpace(checkRow, checkCol)){\r\n validMove = false;\r\n break;\r\n }\r\n }\r\n }else{\r\n validMove = false; //catch-all for something going wrong! In theory this should never be reached\r\n }\r\n }else{\r\n validMove = false; //if it's not vertical, horizontal, or diagonal movement, it's automatically non-valid\r\n }\r\n \r\n return validMove;\r\n }", "title": "" }, { "docid": "b1a10ee2778b3a90cbd661313353707c", "score": "0.535629", "text": "public boolean isValidMove(int row, int col) {\n if (row < 0 || row > boardSize - 1 || col < 0 || col > boardSize - 1) return false;\n else return gameBoard[row][col] == BoardSlot.EMPTY;\n }", "title": "" }, { "docid": "b538a822d31d7364130a90f7d1735f75", "score": "0.53545177", "text": "@Test\n public void parse_invalidValueFollowedByValidValue_success() {\n Index targetIndex = INDEX_FIRST;\n String userInput = targetIndex.getOneBased() + INVALID_RESERVATION_PAX_DESC + RESERVATION_PAX_DESC_BILLY;\n EditReservationDescriptor descriptor =\n new EditReservationDescriptorBuilder().withPax(VALID_RESERVATION_PAX_BILLY).build();\n EditReservationCommand expectedCommand = new EditReservationCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n\n // other valid values specified\n userInput = targetIndex.getOneBased() + RESERVATION_DATE_DESC_BILLY + INVALID_RESERVATION_PAX_DESC\n + RESERVATION_PAX_DESC_BILLY + RESERVATION_TIME_DESC_BILLY;\n descriptor = new EditReservationDescriptorBuilder().withPax(VALID_RESERVATION_PAX_BILLY)\n .withDate(VALID_RESERVATION_DATE_BILLY).withTime(VALID_RESERVATION_TIME_BILLY).build();\n expectedCommand = new EditReservationCommand(targetIndex, descriptor);\n assertParseSuccess(parser, userInput, expectedCommand);\n }", "title": "" }, { "docid": "eef58cf5c227c9f7b76ccbfd7d8ed861", "score": "0.53536165", "text": "private boolean validateNumArgs(String[] args, int validNum, String command) {\n if (args.length == validNum) {\n return true;\n }\n else if (args.length < validNum) {\n printError(command + \": missing operand after `\" + args[args.length - 1] + \"`\", command);\n return false;\n }\n else {\n printError(command + \": extra operand `\" + args[validNum] + \"`\", command);\n return false;\n }\n }", "title": "" }, { "docid": "b9a9fd96d2c5e383b4d419a7d1edfd35", "score": "0.5353207", "text": "@Override\r\n public boolean isCellEditable(int row, int column) {\n return false;\r\n }", "title": "" }, { "docid": "b9a9fd96d2c5e383b4d419a7d1edfd35", "score": "0.5353207", "text": "@Override\r\n public boolean isCellEditable(int row, int column) {\n return false;\r\n }", "title": "" }, { "docid": "5c7a80c6b16a980808623d28e82e7b69", "score": "0.53474903", "text": "public boolean TestInput(int column) \n\t{\n\t\t//Check if the column index is in the range\n\t\tif (column < 0 || column > _columnCount-1)\n\t\t\treturn false;\n\t\t// Check if column is full\n\t\telse if(_columnFull.contains(column))\n\t {\n\t \tSystem.out.println(\"Column is Full, please choose another column.\");\n\t \treturn false;\n\t }\n\t \n\t return true;\n\t}", "title": "" }, { "docid": "f7893d1750f2123a56ea65d94e5b4418", "score": "0.53457135", "text": "@Override\n public boolean isCellEditable(int row, int column)\n {\n return false;\n }", "title": "" }, { "docid": "d0f21501f100352a889271353679efc8", "score": "0.5343965", "text": "@Override\r\n public boolean isCellEditable(int row, int column) {\n return false;\r\n }", "title": "" }, { "docid": "7ffc804f5744c4d08ac1da1557820379", "score": "0.5341003", "text": "@Override\n public boolean isCellEditable(int row, int column) {\n return false;\n }", "title": "" }, { "docid": "7ffc804f5744c4d08ac1da1557820379", "score": "0.5341003", "text": "@Override\n public boolean isCellEditable(int row, int column) {\n return false;\n }", "title": "" }, { "docid": "7ffc804f5744c4d08ac1da1557820379", "score": "0.5341003", "text": "@Override\n public boolean isCellEditable(int row, int column) {\n return false;\n }", "title": "" }, { "docid": "060d33e04d0dc9d9588f06a687f7db31", "score": "0.53379565", "text": "public void checkSyntaxInAggregateContext() {\r\n boolean valid = (!hasBody() && hasColumns() && !hasSet());\r\n if (!valid) {\r\n throw new IllegalArgumentException(\"<sql-query> in <aggregate> context: 'columns' is required, \" +\r\n \"'body' and 'set' are forbidden\");\r\n }\r\n }", "title": "" }, { "docid": "689d5b2f0b2276154197aa62898c1289", "score": "0.5335597", "text": "private boolean validRowIndex(int rowIndex) {\n\t\t\tif (rowIndex >= 0 && rowIndex < getRowCount())\n\t\t\t\treturn true;\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "07fac36410c3d25a6b28809e68ff0af2", "score": "0.5333959", "text": "@Override\n public void move(int fromRow, int fromCol, int toRow, int toCol) throws IllegalArgumentException {\n for (IRule rule : allPossibleCommands) {\n if (rule.validMove(fromRow, fromCol, toRow, toCol, board)) {\n board.setPiece(fromRow, fromCol, Piece.X);\n board.setPiece((fromRow + toRow) / 2, (fromCol + toCol) / 2, Piece.X);\n board.setPiece(toRow, toCol, Piece.O);\n return;\n }\n }\n throw new IllegalArgumentException(\"Not a legal move!\");\n }", "title": "" }, { "docid": "9c6492debcbe74fc71a440de5c93c16c", "score": "0.533172", "text": "@Override\r\n\tpublic boolean isCellEditable(int row, int col) {\n if (col == 1) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n\t}", "title": "" }, { "docid": "8ea1542e1540d22ab490a90ea6ca0870", "score": "0.5325081", "text": "@Override\n public boolean isCellEditable(int row, int column){\n return false;\n }", "title": "" }, { "docid": "342679f458bd73d4dc2ba03b55dc37fd", "score": "0.5314509", "text": "private boolean isValidPosition(int [][]garden, int row, int col) {\n return ((row >=0 && row < garden.length && col >= 0 && col < garden[0].length)\n && (garden[row][col] != 0));\n }", "title": "" }, { "docid": "da66adf3dcd5fdcf26bb717daad0fd22", "score": "0.5307312", "text": "public boolean canAddPiece(int column);", "title": "" }, { "docid": "240e16afd9d69af096acb1ebbf22c9ef", "score": "0.5307042", "text": "@Test\n public void testNotEnoughParams() {\n assertFalse(command.execute(getData(false)));\n }", "title": "" }, { "docid": "d8ae5ce0a9974be8f84da2e3849d6eb7", "score": "0.5305791", "text": "@Override\n protected boolean validater(String[] line) {\n if (line.length != 8) {\n errorCounter(0);\n return false;\n }\n\n if (!isIdValid(line[airlineID])) {\n return false;\n }\n\n if (!isNameValid(line[name])) {\n return false;\n }\n\n if (!isAliasValid(line[alias])) {\n return false;\n }\n\n if (!isIATAValid(line[IATA])) {\n return false;\n }\n\n if (!isICAOValid(line[ICAO])) {\n return false;\n }\n\n if (!isCallSignValid(line[callsign])) {\n return false;\n }\n\n if (!isCountryValid(line[country])) {\n return false;\n }\n\n if (!isActiveStatusValid(line[activeStatus])) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "751909b5f548d54a28857a6dca6c1ffe", "score": "0.5301386", "text": "private void validityCheck() {\n if ( m_row == -1 ) {\n throw new IllegalStateException(\"This tuple is no longer valid. \" +\n \"It has been deleted from its table\");\n }\n }", "title": "" }, { "docid": "80d50af0031453a49e370f5133a47e89", "score": "0.5298107", "text": "@Override\t\n \tpublic String proceed(XSSFRow row,int x) {\n \t\tString result = \"\";\n \t\tString st = row.getCell(8).toString();\n \t\tif (st.equals(\"\") == false) {\n \t\t\tfor (int y = 0; y < row.getLastCellNum(); y ++ ) {\n \t\t\t\tCell c = row.getCell(y);\n \t\t\t\tif (c == null ) continue;\n \t\t\t\tString cell = c.toString();\n \t\t\t\tif (cell.equals(\"\") == false) {\n\t\t\t\t\tresult = result.concat(String.format(\"Error: Row %d has an expert style so others column must be empty.\\n\",x));\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\t\n \t\t//checking id name\n \t\tst = row.getCell(5).toString();\n \t\tif (st.charAt(0) != idstyle) {\n\t\t\tresult = result.concat(\"Error: Row \" + x + \" ID must start with a \\\"\"+idstyle+\"\\\"\\n\");\n \t\t}\n \t\t\n \t\tif (id.contains(st)) {\n\t\t\tresult = result.concat(\"Error: Row \" + x + \" ID already existed ! \\n\");\n \t\t}\n \t\t\n \t\tfor (int i = 0; i < colorcell.size(); i ++) {\n \t\t\tCell c = row.getCell(colorcell.get(i));\n \t\t\tif (c != null) {\n \t\t\t\tst = c.toString();\n \t\t\t\tif (!(ColorValidator.isRGB(st) || ColorValidator.isin(st))) {\n\t\t\t\t\tresult = result.concat(String.format(\"Error: Cell %d%s is not a valid color\",x,IntToColIndex(colorcell.get(i))));\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\t\n \t\t\n \t\t// checking if cell contains new line\n \t\t\n \t\tfor (int y = 0; y < row.getLastCellNum(); y ++ ) {\n \t\t\tString cell = row.getCell(y).toString();\n \t\t\tif (cell.contains(newline)) {\n\t\t\t\tresult = result.concat( String.format(\"Error: Cell %d%s contains newline \\n\",x,IntToColIndex(y)));\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}", "title": "" }, { "docid": "49745c58aa5daf0b3d4b4034d90b158c", "score": "0.52946085", "text": "@Override\n public boolean isCellEditable(int row, int column) {\n\n return false;\n\n }", "title": "" }, { "docid": "f916a60864692057da005f94d717b35b", "score": "0.52928764", "text": "private int getIndex(int row, int col) {\n if(row < 0 || row >= size || col < 0 || col >= size) {\n String msg = \"Error in location\";\n throw new IllegalArgumentException(msg);\n }\n return row * size + col;\n }", "title": "" }, { "docid": "8a9343fd7909a059f6cf88907583de71", "score": "0.52918476", "text": "@Override\n\t\tpublic void run() {\n\t\t\tboolean[] validity = new boolean[9];\n\t\t\tint[] currentColumn = sudoku.getRowAtIndex(column);\n\n\t\t\tfor (int i = 0; i < 9; i++) {\n\t\t\t\tint number = currentColumn[i];\n\n\t\t\t\tif (number < 1 || number > 9 || validity[number - 1]) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tvalidity[number - 1] = true;\n\t\t\t}\n\n\t\t\t// If the program reaches this line then the column is valid.\n\t\t\tresults[column + 9] = true;\n\t\t}", "title": "" }, { "docid": "8b6a55ae43e0260225449badd381f104", "score": "0.5281215", "text": "@Override\n public boolean isCellEditable(int row, int column) {\n return false;\n }", "title": "" }, { "docid": "fe9e1361e27c0c2c0dbddca6c6b45391", "score": "0.5275995", "text": "public boolean isValueData(int noRow, int noCol){\n return noCol > 0 && noCol <= nbColDs && noRow > 0 && noRow <= nbRowDs;\n }", "title": "" }, { "docid": "b006f7f05012c19e3d8590d6d4eb7d55", "score": "0.5274262", "text": "@Override\n\tpublic boolean isInputCorrect(String command) {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "cced3d48694be099977732edd319e59d", "score": "0.5272654", "text": "private boolean isValidPosition(int x, int y) {\n\t\treturn x > -1 && x < grid.getWidth() && y > -1 && y < grid.getHeight();\n\t}", "title": "" }, { "docid": "950639814d38c96bd760e198225f223f", "score": "0.52623177", "text": "public boolean isCellEditable(int row, int col){\r\n return false;\r\n }", "title": "" }, { "docid": "13e848e2905fdb10af5ff04146eaadbc", "score": "0.52604234", "text": "@Override\r\n\tpublic void validateCommandAndSetQueryValues(ICommand command)\r\n\t throws IllegalArgumentException\r\n\t{\n\t\tif (command == null)\r\n\t\t{\r\n\t\t\tthrow new IllegalArgumentException(\"Command is null. Cannot create get\"\r\n\t\t\t + \" nearby stops SQL statement.\");\r\n\t\t}\r\n\t\t// Cast the command\r\n\t\tGetNearbyStops nearbyStopsCommand = (GetNearbyStops) command;\r\n\t\t\r\n\t\t// Set the command's member values\r\n\t\tCoordinate coord = nearbyStopsCommand.getCoordinate();\r\n\t\tif (coord == null)\r\n\t\t{\r\n\t\t\tthrow new IllegalArgumentException(\"Command coordinate is null. Cannot\"\r\n\t\t\t + \" create get nearby stops SQL statement.\");\r\n\t\t}\r\n\r\n\t\tint maxStops = nearbyStopsCommand.getMaxStops();\r\n\t\tif (maxStops == INVALID_MAX_STOPS || maxStops <= 0)\r\n\t\t{\r\n\t\t\tthrow new IllegalArgumentException(\"Command max stops is invalid. \"\r\n\t\t\t + \"Cannot create get nearby stops SQL statement.\");\r\n\t\t}\r\n\r\n\t\tint vicinity = nearbyStopsCommand.getVicinityMeters();\r\n\t\tif (vicinity == INVALID_VICINITY || vicinity < 0)\r\n\t\t{\r\n\t\t\tthrow new IllegalArgumentException(\"Command vicinity is invalid. \"\r\n\t\t\t + \"Cannot create get nearby stops SQL statement.\");\r\n\t\t}\r\n\r\n\t\t// Set the values in the query\r\n\t\tsetCoord(coord);\r\n\t\tsetMaxStops(maxStops);\r\n\t\tsetVicinityMeters(vicinity);\r\n\t}", "title": "" }, { "docid": "85611f617ea8a507e806d64dadeda780", "score": "0.52591395", "text": "private boolean checkXYFieldInput(){\n\t\t//check to make sure user isn't inputting spaces\n\t\tif(xMousePosField.getText().trim().isEmpty() || yMousePosField.getText().trim().isEmpty()){\n\t\t\tshowErrorMessage(\"Incorrect input for x/y fields\");\n\t\t}\n\t\ttry{\n\t\t\t//not actually using these values - just checking to make sure we can do this for later\n\t\t\tInteger.parseInt(xMousePosField.getText().trim());\n\t\t\tInteger.parseInt(yMousePosField.getText().trim());\n\t\t} catch(NumberFormatException e){ \n\t\t\tshowErrorMessage(\"Incorrect input for x/y fields\");\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "6b66f530d910d3fbbc60017b00c39f2f", "score": "0.52582633", "text": "private State checkc(State state) throws DatatypeException, IOException {\n if (state.context.length() == 0) {\n state = appendToContext(state);\n }\n state.current = state.reader.read();\n state = appendToContext(state);\n state = skipSpaces(state);\n boolean expectNumber = true;\n\n for (;;) {\n switch (state.current) {\n default:\n if (expectNumber)\n reportNonNumber('c', state.current, state.context);\n return state;\n\n case '+':\n case '-':\n case '.':\n case '0':\n case '1':\n case '2':\n case '3':\n case '4':\n case '5':\n case '6':\n case '7':\n case '8':\n case '9':\n break;\n }\n\n state = checkArg('c', \"x1 coordinate\", state);\n state = skipCommaSpaces(state);\n state = checkArg('c', \"y1 coordinate\", state);\n state = skipCommaSpaces(state);\n state = checkArg('c', \"x2 coordinate\", state);\n state = skipCommaSpaces(state);\n state = checkArg('c', \"y2 coordinate\", state);\n state = skipCommaSpaces(state);\n state = checkArg('c', \"x coordinate\", state);\n state = skipCommaSpaces(state);\n state = checkArg('c', \"y coordinate\", state);\n\n state = skipCommaSpaces2(state);\n expectNumber = state.skipped;\n }\n }", "title": "" }, { "docid": "30b729747a279513635070eb9a380591", "score": "0.52493817", "text": "public boolean ValidateAllCells()\n\t{\n\t\tString temp,temp2;\n\t\t\n\t\t\n\t\tfor(int r=0;r<view.ROWCOUNT-1;r++)\t\n\t\t for(int c=1;c<7;c++)\n\t \t { \n\t\t temp2=view.GetData(view.table, r, c);\n\t\t temp=temp2.trim();\n\t\t if(temp.length()==0) continue;\n\t\t if(temp.contains(\",\")) \n\t\t \t\t { String parts[]=temp.split(\",\");\n\t\t \t\t for(int i=0;i<parts.length;i++)\n\t\t \t\t\t { \n \t\t\t \n\t\t \t\t\t \n\t\t \t\t\t if(parts[i].length()!=7 || !parts[i].contains(\"(\") || !parts[i].contains(\")\"))\n\t\t \t\t\t { \n\t\t \t\t\t \t if(ValidationDialog(temp))\n\t\t \t\t\t \t {\n\t\t \t\t\t view.SetData(CorrectedText, view.table,r,c);\n\t\t \t\t\t break;\n\t\t \t\t\t } // if parts[i] ends\n\t\t \t\t\t \t else return false;\n\t\t \t } //if parts[i] ends\n\t\t \t\t\t \n\t\t \t\t\t \n\t\t \t\t\t \t\n\t\t \t\t\t \n\t\t \t\t\t } //for loop i ends \n\t\t \t\t } //// if comma ends\n\t\t else\n\t\t if(temp.length()!=7)\n\t \t\t { if(ValidationDialog(temp))\n\t \t\t \t\t{ view.SetData(CorrectedText, view.table,r,c); \n\t \t\t } //if ends\n\t \t\t else return false;\n\t \t\t }\n\t\t \t\t \n\t\t } //for loop ends\n\t\treturn true;\n\t}", "title": "" }, { "docid": "b6864d75ebc530637c15c15c884e64ca", "score": "0.5249239", "text": "private boolean isValidSquare(int row, int col) {\n\t\t\n\t\tint width = getWidth();\n \n if (row >= width || row < 0) {\n\t\t\tSystem.out.println(\"Row is not within grid bounds\");\n\t\t\treturn false;\n\t\t}\n\t\tif (col >= width || col < 0) {\n\t\t\tSystem.out.println(\"Col is not within grind bounds\");\n\t\t\treturn false;\n\t\t}\n\t\telse {\n\t\t\treturn true;\n }\n\t\t\n }", "title": "" }, { "docid": "a795fcb36fea4ea9f42297133061f841", "score": "0.5247124", "text": "public boolean isValidSquare(int row, int column){\n if (row < 0 || column < 0){\n return false;\n }\n if (row >= this.row || column >= this.column ){\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "ee1ae9ce15abd9bb5d44d100931dec1b", "score": "0.5246879", "text": "@Override\r\n \t\tpublic boolean isCellEditable(int row, int col) {\r\n \t\t\t// only bottom right is editable\r\n \t\t\tif (row > 0 && col > 0) {\r\n \t\t\t\treturn true;\r\n \t\t\t} else {\r\n \t\t\t\treturn false;\r\n \t\t\t}\r\n \t\t}", "title": "" }, { "docid": "c9f2d02aa3a9b3fe3c4d0d3326c4274d", "score": "0.5244531", "text": "@Override\n\tpublic boolean isCellEditable(final int row, final int col) {\n\t\treturn ( col == 0 || col == 2 );\n\t}", "title": "" }, { "docid": "2a7aac8350646604dc309a77ac4de52d", "score": "0.52418876", "text": "@Override\r\n\t\t\tpublic boolean isCellEditable(int row, int column) {\n\t\t\t\tif (column==2) return true; else return false;\r\n\t\t\t}", "title": "" }, { "docid": "0f6529f59742b32e0fac7d3ba2ed4f91", "score": "0.52396214", "text": "public boolean isValueTitleOperation(int noRow, int noCol){\n //return (noRow == 0 && noCol > nbColDs && noCol < this.nbCols -1 ) || (noCol == 0 && noRow > nbRowDs && noRow < this.nbRows - 1);\n return isValueTitleOperationCol(noRow, noCol) || isValueTitleOperationRow(noRow, noCol);\n }", "title": "" }, { "docid": "29837aa5f34093fd0590af8aca774d1f", "score": "0.5237434", "text": "@Test\n public void testSanity() {\n Table table = createTableStructure(3, \"|\", fill(new String[3], \"Field\"));\n RowGroup rowGroup = table.getLastRowGroup();\n Row row = rowGroup.newRow();\n row\n .newLeftCol(\"1\")\n .newLeftCol(\"1\")\n .newLeftCol(\"1\");\n\n List<String> result = validateTable(table, true);\n\n assertThat(result)\n .hasSize(4)\n .containsExactly(\n \"\",\n \"Field0|Field1|Field2\",\n \"------|------|------\",\n \"1 |1 |1\");\n }", "title": "" }, { "docid": "021c21f19eddad33d26b7635bc644713", "score": "0.5234423", "text": "private boolean validCoordinates(int x, int y){\n if (x >= board.length || x < 0) return false;\n if (y >= board[0].length || y < 0) return false;\n return true;\n }", "title": "" }, { "docid": "b78848a412ed82a8e3c51f281020ee1b", "score": "0.5231845", "text": "private void checkBounds(int row, int col) {\n if (row < 0 || col < 0 || size <= row || size <= col) {\n throw new IndexOutOfBoundsException(\"row or column are out of bounds.\");\n }\n }", "title": "" }, { "docid": "ded48055df1cfd1105a37002b345d755", "score": "0.52305686", "text": "public static final boolean isValidCommand(String command) {\n\t\tif (command.matches(\"(\\\\d+)|(\\\\d*x\\\\d+)\") ) {\n\t\t\treturn true;\n\t\t} \n\t\tif (command.matches(\"((\\\\d+)|(\\\\d+x\\\\d+))-c(\\\\@\\\\d+x\\\\d+)?\")) {\n\t\t\treturn true;\n\t\t} \n\t\treturn false;\n\t}", "title": "" }, { "docid": "ad4eaad30947687629fdbd40f1157a6f", "score": "0.52288866", "text": "public boolean isValidBoard(String [][] mat, String[] position)\r\n\t{\n\t\tString temp = \"\";\r\n\t\tif (position.length == 2)\r\n\t\t{\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tint x = Integer.parseInt(position[0]);\r\n\t\tint y = Integer.parseInt(position[1]); //probably enters here \r\n\t\t/*\r\n\t\tif (position[2].equals(\"h\"))\r\n\t\t{\r\n\t\t\tif (y > 0 && (y+1+bestWord.length()) < 15 && x > 0 && x < 15)\r\n\t\t\t{\r\n\t\t\t\tif (!mat[x][y-1].equals(\"\"))\r\n\t\t\t\t{\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tif (!mat[x][y+1+bestWord.length()].equals(\"\"))\r\n\t\t\t\t{\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (position[2].equals(\"h\"))\r\n\t\t{\r\n\t\t\tif (y > 0 && (y+1+bestWord.length()) < 15 && x > 0 && x < 15)\r\n\t\t\t{\r\n\t\t\t\tif (!mat[x-1][y].equals(\"\"))\r\n\t\t\t\t{\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\tif (!mat[x+1+bestWord.length()][y].equals(\"\"))\r\n\t\t\t\t{\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t*/\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "8850cbdc00970eff6edd17f9c5cc1c43", "score": "0.52287126", "text": "public boolean isCellEditable(int row,int column){\n return false;//can not be edited any more\n }", "title": "" }, { "docid": "cdfa5fce73626d7e9c005ebdcebf0601", "score": "0.52260417", "text": "@Test\r\n\tpublic void testCheckRows() {\n\t\tGrid g = new Grid();\r\n\t\t// full bottom row\r\n\t\tfor (int col = 0; col < Grid.WIDTH; col++) {\r\n\t\t\tg.set(Grid.HEIGHT - 1, col, Color.GREEN);\r\n\t\t}\r\n\t\t// add two squares above the bottom row\r\n\t\tg.set(Grid.HEIGHT - 2, 3, Color.RED);\r\n\t\tg.set(Grid.HEIGHT - 3, 3, Color.RED);\r\n\t\t// remove the full row\r\n\t\tg.checkRows();\r\n\t\t// check that the grid has been updated correctly\r\n\t\tfor (int row = 0; row < Grid.HEIGHT; row++) {\r\n\t\t\tfor (int col = 0; col < Grid.WIDTH; col++) {\r\n\t\t\t\t// check the square at (row,col)\r\n\t\t\t\t// must have: (18,3) and (19,3) set\r\n\t\t\t\t// and all of the others not set\r\n\t\t\t\tif ((row == 18 || row == 19) && col == 3) {\r\n\t\t\t\t\tassertTrue(g.isSet(row, col));\r\n\t\t\t\t} else {\r\n\t\t\t\t\tassertFalse(g.isSet(row, col));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e4e0b31e848ab2c68f32350c9b89c2d0", "score": "0.5219207", "text": "public boolean isCellEditable(int row, int col){\r\n return false;\r\n }", "title": "" }, { "docid": "c67bec6fa118d667c697a7d6391e322f", "score": "0.52184385", "text": "private boolean isValid(List<Integer> column, int curr) {\n\t int row = column.size();\n\t for (int i = 0; i < column.size(); i++) {\n\t if (column.get(i) == curr) {\n\t return false;\n\t }\n\t // If it's on the same diagonal line, then the absolute values of (row - column) of the two queens' are the same. e.g. (0, 1) & (1, 0)\n\t if (Math.abs(i - row) == Math.abs(column.get(i) - curr)) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }", "title": "" }, { "docid": "b0d234629de97ccd4e8247302a393c22", "score": "0.521427", "text": "public boolean isCellEditable(int row, int column)\n\t\t {\n\t\t return column == 4; \n\t\t }", "title": "" }, { "docid": "e74db909ee944659ccf8e3666edc7b73", "score": "0.5213922", "text": "private boolean validPosition(int[][] board, int x, int y) {\n\t\tif (x < board.length && x >= 0) {\n\t\t\tif (y < board[0].length && y >= 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "15838db14fd23a09ce669cf0aeaa921f", "score": "0.5208224", "text": "public void getRowColumn(String[] args){\n\t\tswitch(args.length){\n\t\tcase 0:\n\t\t\trow = 30;\n\t\t\tcolumn = 30;\n\t\t\tbreak;\n\t\tcase 1:\n\t\t\ttry{\n\t\t\t\trow = Integer.parseInt(args[0]);\n\t\t\t\tcolumn = 30;\n\t\t\t} \n\t\t\tcatch(NumberFormatException e){\n\t\t\t\tSystem.err.println(\"Arguments must be integer.\");\n\t\t\t\tSystem.exit(1);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\ttry{\n\t\t\t\trow = Integer.parseInt(args[0]);\n\t\t\t\tcolumn = Integer.parseInt(args[1]);\n\t\t\t} \n\t\t\tcatch(NumberFormatException e){\n\t\t\t\tSystem.err.println(\"Arguments must be integer.\");\n\t\t\t\tSystem.exit(1);\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(\"row = \" + row + \"; column = \" + column);\n\t}", "title": "" }, { "docid": "00349413ad50bf5d8381bdb4a8b4e322", "score": "0.520819", "text": "public boolean isCellEditable(int row, int col) {\n if (col < 1) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }", "title": "" }, { "docid": "00349413ad50bf5d8381bdb4a8b4e322", "score": "0.520819", "text": "public boolean isCellEditable(int row, int col) {\n if (col < 1) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }", "title": "" }, { "docid": "579ad75eca99a8b0fd54599ab50440c4", "score": "0.52024543", "text": "private boolean isGraphDimLegal(Integer row, Integer col) {\n\t\tif (row < 0 || col < 0 || row >= this.dgraphSize\n\t\t\t\t|| col >= this.dgraphSize) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "210823625d3dad10178256822345822b", "score": "0.5199254", "text": "private int askColumn() {\n System.out.print(\"Column: \");\n int column;\n\n while (true) {\n try {\n column = Integer.parseInt(getInput());\n if(column < 0 || column > 4)\n System.out.print(\"Invalid column. Choose a number between 0 and 4: \");\n else break;\n } catch (NumberFormatException e) {\n System.out.println(\"Invalid integer. Try again. \");\n System.out.print(\"Column: \");\n }\n }\n\n return column;\n }", "title": "" }, { "docid": "ef830193208c686ca9271a81e93aca96", "score": "0.5196508", "text": "public boolean rowCheck(int index, int num);", "title": "" }, { "docid": "9d8039e6bbd32527b49255a42ada1292", "score": "0.5194031", "text": "@Override\r\n\tpublic boolean isCellEditable(int row, int col) {\n\t\treturn (col == 2);\r\n\t}", "title": "" }, { "docid": "3ef1abb9ec01ce087ac64d3ebef8f3cd", "score": "0.51911354", "text": "private boolean safe(int row, int col, int number)\r\n {\r\n return !(isInRow(row, number) || isInCol(col, number) || isInBox(row, col, number));\r\n }", "title": "" } ]
92f4ba08fecbd61ab9dfb37b885eed66
Test case number: 36 / 19 covered goals: Goal 1. org.apache.commons.math.util.MathUtils.factorial(I)J: I3 Branch 56 IFGE L442 true Goal 2. org.apache.commons.math.util.MathUtils.factorial(I)J: I28 Branch 57 IF_ICMPLE L445 true Goal 3. org.apache.commons.math.util.MathUtils.factorialDouble(I)D: I3 Branch 58 IFGE L473 true Goal 4. org.apache.commons.math.util.MathUtils.factorialDouble(I)D: I28 Branch 59 IF_ICMPGE L476 false Goal 5. Branch org.apache.commons.math.util.MathUtils.factorialDouble(I)D: I3 Branch 58 IFGE L473 true in context: org.apache.commons.math.util.MathUtils:factorialDouble(I)D Goal 6. Branch org.apache.commons.math.util.MathUtils.factorialDouble(I)D: I28 Branch 59 IF_ICMPGE L476 false in context: org.apache.commons.math.util.MathUtils:factorialDouble(I)D Goal 7. org.apache.commons.math.util.MathUtils.factorial(I)J: Line 442 Goal 8. org.apache.commons.math.util.MathUtils.factorial(I)J: Line 445 Goal 9. org.apache.commons.math.util.MathUtils.factorial(I)J: Line 449 Goal 10. org.apache.commons.math.util.MathUtils.factorialDouble(I)D: Line 473 Goal 11. org.apache.commons.math.util.MathUtils.factorialDouble(I)D: Line 476 Goal 12. org.apache.commons.math.util.MathUtils.factorialDouble(I)D: Line 477 Goal 13. org.apache.commons.math.util.MathUtils.factorialDouble(I)D Goal 14. org.apache.commons.math.util.MathUtils.factorialDouble(I)D Goal 15. Weak Mutation 574: org.apache.commons.math.util.MathUtils.factorial(I)J:442 ReplaceComparisonOperator >= > > Goal 16. Weak Mutation 587: org.apache.commons.math.util.MathUtils.factorial(I)J:445 ReplaceComparisonOperator == Goal 17. Weak Mutation 598: org.apache.commons.math.util.MathUtils.factorialDouble(I)D:473 ReplaceComparisonOperator >= > > Goal 18. Weak Mutation 609: org.apache.commons.math.util.MathUtils.factorialDouble(I)D:476 ReplaceComparisonOperator >= > 1 Goal 19. org.apache.commons.math.util.MathUtils.factorialDouble(I)D:positive
[ { "docid": "9baf9e479aa57ef0d4745d02ea3249a9", "score": "0.6560086", "text": "@Test\n public void test036() throws Throwable {\n double double0 = MathUtils.factorialDouble(0);\n }", "title": "" } ]
[ { "docid": "0ffedf8518ccc721693d391e86db3712", "score": "0.6780504", "text": "@Test\n public void test035() throws Throwable {\n double double0 = MathUtils.factorialDouble(31);\n }", "title": "" }, { "docid": "518865ad1eb833d8c08d79053c182996", "score": "0.6723686", "text": "@Test\n public void test114() throws Throwable {\n double double0 = MathUtils.factorialLog(0);\n }", "title": "" }, { "docid": "5ad71cb061939035ab86efa8f02b306e", "score": "0.65309876", "text": "@Test\n public void test055() throws Throwable {\n double double0 = MathUtils.factorialLog(1123);\n }", "title": "" }, { "docid": "84fe6af51bac61de311c97387723e979", "score": "0.6234881", "text": "@Test\n public void test056() throws Throwable {\n long long0 = MathUtils.factorial(13);\n }", "title": "" }, { "docid": "6fcb75d6a9b96591a57ff11c526245a2", "score": "0.62046814", "text": "@Test\n public void test113() throws Throwable {\n // Undeclared exception!\n try { \n MathUtils.factorial((-658));\n } catch(IllegalArgumentException e) {\n //\n // must have n >= 0 for n!\n //\n assertThrownBy(\"org.apache.commons.math.util.MathUtils\", e);\n }\n }", "title": "" }, { "docid": "a93b4634abb4a768edbeab4e2bfc1de9", "score": "0.6194581", "text": "@Test\n public void testGetZeroCount0() throws UbiveloxException\n {\n assertEquals(24, Factorial.getZeroCount(400, 17));\n System.out.println(Factorial.getZeroCount(Long.MAX_VALUE, Long.MAX_VALUE));\n System.out.println(Factorial.getZeroCount(Integer.MAX_VALUE, Integer.MAX_VALUE));\n assertEquals(222222222221l, Factorial.getZeroCount(77777777777777l, 71 * 71 * 71 * 71 * 71));\n assertEquals(24976807249l, Factorial.getZeroCount(77777777777777l, 1039 * 1039 * 1039));\n assertEquals(37465210874l, Factorial.getZeroCount(77777777777777l, 1039 * 1039));\n assertEquals(74930421748l, Factorial.getZeroCount(77777777777777l, (1039)));\n assertEquals(13634220, Factorial.getZeroCount(777777777777l, 13 * 22 * 57047));\n assertEquals(4326358, Factorial.getZeroCount(246801467923l, 13 * 22 * 57047));\n assertEquals(134043, Factorial.getZeroCount(2468014679l, 13 * 17 * 18413));\n assertEquals(551145, Factorial.getZeroCount(123456789, 2 * 3 * 5 * 13 * 13 * 113 * 113));\n assertEquals(117576, Factorial.getZeroCount(9876543, 2 * 13 * 5 * 5 * 7 * 29 * 29 * 29));\n assertEquals(1443, Factorial.getZeroCount(52000, 13 * 13 * 13));\n assertEquals(80, Factorial.getZeroCount(6800, 2 * 13 * 5 * 5 * 7 * 29 * 29 * 29));\n assertEquals(7, Factorial.getZeroCount(30, 15));\n assertEquals(6, Factorial.getZeroCount(30, 16));\n assertEquals(13, Factorial.getZeroCount(30, 12));\n assertEquals(3, Factorial.getZeroCount(25, 14));\n assertEquals(10, Factorial.getZeroCount(25, 12));\n assertEquals(10, Factorial.getZeroCount(25, 12));\n assertEquals(5, Factorial.getZeroCount(25, 18));\n assertEquals(10, Factorial.getZeroCount(25, 12));\n assertEquals(5, Factorial.getZeroCount(25, 18));\n assertEquals(1, Factorial.getZeroCount(20, 19));\n assertEquals(1, Factorial.getZeroCount(20, 17));\n assertEquals(4, Factorial.getZeroCount(20, 16));\n assertEquals(4, Factorial.getZeroCount(20, 15));\n assertEquals(2, Factorial.getZeroCount(20, 14));\n assertEquals(3, Factorial.getZeroCount(25, 14));\n assertEquals(1, Factorial.getZeroCount(20, 13));\n assertEquals(18, Factorial.getZeroCount(40, 12));\n assertEquals(4, Factorial.getZeroCount(20, 9));\n assertEquals(6, Factorial.getZeroCount(20, 8));\n\n }", "title": "" }, { "docid": "45db57572672fa62d2d5fd7670e9b467", "score": "0.6072543", "text": "public static void main(String[] args) {\n int n = 5;\n long expected = 120;\n long actual = MathUtility.getFactorial(n);\n System.out.println(\"5! expected: \" + expected + \"; actual: \" + actual);\n\n n = 0;\n expected = 1;\n actual = MathUtility.getFactorial(n);\n System.out.println(\"0! expected: \" + expected + \"; actual: \" + actual);\n }", "title": "" }, { "docid": "8431e8f031f8c021eb01638e46219b42", "score": "0.6047073", "text": "@Test\n public void test140() throws Throwable {\n long long0 = MathUtils.binomialCoefficient(2775, (-558));\n }", "title": "" }, { "docid": "2f69289f67e1e607ab9bf6360dfb9b11", "score": "0.59993035", "text": "@Test\n public void testFactorial() {\n System.out.println(\"factorial\");\n Double expResult = new Double(\"24\");\n Double result = Calcular.factorial(new Double(\"4\"));\n assertEquals(expResult, result);\n }", "title": "" }, { "docid": "93c3ef4813f999b4c029b01e92bae771", "score": "0.59510684", "text": "@Test\n public void test127() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(3513, 341);\n }", "title": "" }, { "docid": "0e198b82af6dc4a4e20c67d66a325f0f", "score": "0.58755887", "text": "@Test\n public void test144() throws Throwable {\n long long0 = MathUtils.binomialCoefficient(3109, 0);\n }", "title": "" }, { "docid": "475b2e4bda8cf3f57b8e6c4277bbe889", "score": "0.586805", "text": "@Test\n public void test058() throws Throwable {\n long long0 = MathUtils.binomialCoefficient(0, (-95));\n }", "title": "" }, { "docid": "dfa6fab690c4acc42ae22299f5534e1c", "score": "0.5851422", "text": "@Test\n public void shouldReturnCorrectValue() {\n long result = Factorial.factorialI(4);\n //then\n Assert.assertEquals(result, 24);\n }", "title": "" }, { "docid": "24c006f52d7a3a0a57bc89e2dea3d1fd", "score": "0.58363783", "text": "@Test\n public void test112() throws Throwable {\n // Undeclared exception!\n try { \n MathUtils.factorial(1744);\n } catch(ArithmeticException e) {\n //\n // factorial value is too large to fit in a long\n //\n assertThrownBy(\"org.apache.commons.math.util.MathUtils\", e);\n }\n }", "title": "" }, { "docid": "3766f3fd4982a7f6d3b47d81e48785ed", "score": "0.58310854", "text": "@Test\n public void test111() throws Throwable {\n // Undeclared exception!\n try { \n MathUtils.factorialDouble((-1));\n } catch(IllegalArgumentException e) {\n //\n // must have n >= 0 for n!\n //\n assertThrownBy(\"org.apache.commons.math.util.MathUtils\", e);\n }\n }", "title": "" }, { "docid": "f4dfd2457288e3e356ae2a1109e91022", "score": "0.5811967", "text": "@Test\n public void shouldReturnCorrectValueForOne() {\n long result = Factorial.factorialI(1);\n //then\n Assert.assertEquals(result, 1);\n }", "title": "" }, { "docid": "8ab8ff3637c6b15580dceb2cbec93790", "score": "0.5804669", "text": "@Test\n public void test() {\n for (long p : lprimeFactor(N).keySet())\n if (p > ans)\n ans = p;\n check(6857);\n }", "title": "" }, { "docid": "62363980cebded89140b182f2878b17e", "score": "0.57989335", "text": "public static final double factorial(double r8) {\n /*\n r6 = 4607182418800017408; // 0x3ff0000000000000 float:0.0 double:1.0;\n r4 = 0;\n r3 = (r8 > r4 ? 1 : (r8 == r4 ? 0 : -1));\n if (r3 >= 0) goto L_0x000b;\n L_0x0008:\n r4 = 9221120237041090560; // 0x7ff8000000000000 float:0.0 double:NaN;\n L_0x000a:\n return r4;\n L_0x000b:\n r4 = 4640185359819341824; // 0x4065400000000000 float:0.0 double:170.0;\n r3 = (r8 > r4 ? 1 : (r8 == r4 ? 0 : -1));\n if (r3 > 0) goto L_0x0023;\n L_0x0014:\n r4 = java.lang.Math.floor(r8);\n r3 = (r4 > r8 ? 1 : (r4 == r8 ? 0 : -1));\n if (r3 != 0) goto L_0x0023;\n L_0x001c:\n r2 = (int) r8;\n r0 = r8;\n r3 = r2 & 7;\n switch(r3) {\n case 0: goto L_0x0040;\n case 1: goto L_0x0038;\n case 2: goto L_0x0036;\n case 3: goto L_0x0034;\n case 4: goto L_0x0032;\n case 5: goto L_0x0030;\n case 6: goto L_0x002e;\n case 7: goto L_0x002c;\n default: goto L_0x0023;\n };\n L_0x0023:\n r4 = lgamma(r8);\n r4 = java.lang.Math.exp(r4);\n goto L_0x000a;\n L_0x002c:\n r8 = r8 - r6;\n r0 = r0 * r8;\n L_0x002e:\n r8 = r8 - r6;\n r0 = r0 * r8;\n L_0x0030:\n r8 = r8 - r6;\n r0 = r0 * r8;\n L_0x0032:\n r8 = r8 - r6;\n r0 = r0 * r8;\n L_0x0034:\n r8 = r8 - r6;\n r0 = r0 * r8;\n L_0x0036:\n r8 = r8 - r6;\n r0 = r0 * r8;\n L_0x0038:\n r3 = FACT;\n r4 = r2 >> 3;\n r4 = r3[r4];\n r4 = r4 * r0;\n goto L_0x000a;\n L_0x0040:\n r3 = FACT;\n r4 = r2 >> 3;\n r4 = r3[r4];\n goto L_0x000a;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.javia.arity.MoreMath.factorial(double):double\");\n }", "title": "" }, { "docid": "6497354af8e0102bb55096843d72ad72", "score": "0.5796275", "text": "public static void main(String[] args) {\n\r\n \tint n=10;\r\n \tint a=7;\r\n \tint b=6;\r\n \tint c=8;\r\n \tint expected= 28;\r\n \t\r\n \tSolution sl = new Solution();\r\n \tint actual = sl.nthUglyNumber(n, a, b, c);\r\n System.out.println(actual + \" = \" + expected);\r\n \r\n System.out.println(\"LCM of 8 and 12 = \" + sl.lcm(8, 12));\r\n \r\n System.out.println(\"GCD of 8 and 12 = \" + sl.gcd(8, 12));\r\n \r\n }", "title": "" }, { "docid": "a7daf4528044a80859cf433f34e0aea9", "score": "0.579359", "text": "@Test\r\n public void testFactorial() {\r\n System.out.println(\"factorial\");\r\n double numero = 0.0;\r\n int expResult = 0;\r\n int result = PruebaActividad1.factorial(numero);\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "457485183dee02c69ffc9da7def9d4e4", "score": "0.5789871", "text": "@Test\n public void test110() throws Throwable {\n // Undeclared exception!\n try { \n MathUtils.factorialLog((-151));\n } catch(IllegalArgumentException e) {\n //\n // must have n > 0 for n!\n //\n assertThrownBy(\"org.apache.commons.math.util.MathUtils\", e);\n }\n }", "title": "" }, { "docid": "d54c581ddf7266dd3869b9ac1d27f48c", "score": "0.57773525", "text": "@Test // bien ham nay thanh main; shift F6 ddeer chay\n public void testFactorialGivenRightArgumentReturnsGoodResult(){\n int n = 5;\n long expected = 120; \n long actual = MathUtility.getFactorial(n);\n \n assertEquals(expected, actual);\n assertEquals(720, MathUtility.getFactorial(6));// 6! dung la 720\n assertEquals(24, MathUtility.getFactorial(4));\n assertEquals(6, MathUtility.getFactorial(3));\n assertEquals(2, MathUtility.getFactorial(2));\n assertEquals(1, MathUtility.getFactorial(1));\n assertEquals(1, MathUtility.getFactorial(0));\n }", "title": "" }, { "docid": "b206f88b585d5b7595ca739fdee42e58", "score": "0.5765942", "text": "static void solution() {\n\t\tint ans = 1;\n\t\twhile (true) {\n\t\t\tHashSet<Long> pfactors1 = getDistinctFactors(ans);\n\t\t\tif (pfactors1.size() == 4) {\n\t\t\t\tHashSet<Long> pfactors2 = getDistinctFactors(ans + 1);\n\t\t\t\tif (pfactors2.size() == 4) {\n\t\t\t\t\tHashSet<Long> pfactors3 = getDistinctFactors(ans + 2);\n\t\t\t\t\tif (pfactors3.size() == 4) {\n\t\t\t\t\t\tHashSet<Long> pfactors4 = getDistinctFactors(ans + 3);\n\t\t\t\t\t\tif (pfactors4.size() == 4) {\n\t\t\t\t\t\t\tHashSet<Long> currentPrimeFactors = pfactors1;\n\t\t\t\t\t\t\tfor (long i : pfactors2) {\n\t\t\t\t\t\t\t\tif (currentPrimeFactors.contains(i))\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\tcurrentPrimeFactors.add(i);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (currentPrimeFactors.size() != 8)\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tfor (long i : pfactors3) {\n\t\t\t\t\t\t\t\tif (currentPrimeFactors.contains(i))\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\tcurrentPrimeFactors.add(i);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (currentPrimeFactors.size() != 12)\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tfor (long i : pfactors4) {\n\t\t\t\t\t\t\t\tif (currentPrimeFactors.contains(i))\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\tcurrentPrimeFactors.add(i);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (currentPrimeFactors.size() == 16)\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "title": "" }, { "docid": "0ad924e3ee9b6e4beba0203443724996", "score": "0.5750584", "text": "@Test\n public void shouldReturnCorrectValueForZero() {\n long result = Factorial.factorialI(0);\n //then\n Assert.assertEquals(0, 0);\n }", "title": "" }, { "docid": "130ab3b4f15d2b6a9f42121848a1ed52", "score": "0.5731747", "text": "@Test\n public void test126() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(2052, 1954);\n }", "title": "" }, { "docid": "5b04245fc621226d27b66ecf60cf9325", "score": "0.5729423", "text": "public static void main(String[] args) {\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage des arguments de -100 jusqu'a 100 :\");\n\t\tSystem.out.println();\n\t\tfor(int i = -100; i <= 100; i++) {\n\t\t\tSystem.out.println(\"appel \" + i\n\t\t\t\t\t+ ((FactorielleRecurce.getFactorial(i)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(i));\n\t\t}\n\t\tint compteur = 0;\n\t\tint ncompteur = 0;\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"factorielle de 0 doit etre 1 :\");\n\t\tString s = \"0\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == 1) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"factorielle de 1 doit etre 1 :\");\n\t\ts = \"1\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == 1) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"factorielle de 5 doit etre 120 :\");\n\t\ts = \"5\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == 120) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"factorielle de 15 doit etre 1307674368000 :\");\n\t\ts = \"15\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == 1307674368000l) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"factorielle de 20 doit etre 2432902008176640000 :\");\n\t\ts = \"20\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == 2432902008176640000l) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"factorielle de 21 doit retourner erreur -2 :\");\n\t\ts = \"21\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == -2) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"factorielle de -1 doit retourner erreur -1 :\");\n\t\ts = \"-1\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == -1) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"factorielle de -5 doit retourner erreur -1 :\");\n\t\ts = \"-5\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == -1) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage des arguments String (attendu -3) :\");\n\t\ts = \"Lorem ispum\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == -3) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage des arguments nombre + String (attendu -2) :\");\n\t\ts = \"54624 ispum\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == -2) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage des arguments nombre + espaces en arriere :\");\n\t\ts = \"5 \";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == 120) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage des arguments nombre + espaces devant :\");\n\t\ts = \" 5\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == 120) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage des arguments vides (attendu -3) :\");\n\t\ts = \"\";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == -3) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage des espaces comme argument (attendu -3) :\");\n\t\ts = \" \";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == -3) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage des signes comme argument (attendu -3) :\");\n\t\ts = \" / * - + \";\n\t\tSystem.out.println(\"appel \\\"\" + s + \"\\\"\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(s)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(s));\n\t\tif(FactorielleRecurce.getFactorial(s) == -3) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage de (long)long comme argument :\");\n\t\tlong l = 5L;\n\t\tSystem.out.println(\"appel \" + l + \"L\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(l)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(l));\n\t\tif(FactorielleRecurce.getFactorial(l) == 120) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"************************\");\n\t\tSystem.out.println(\"passage de (long)long comme argument :\");\n\t\tl = 5555555555555555555L;\n\t\tSystem.out.println(\"appel \" + l + \"L\"\n\t\t\t\t+ ((FactorielleRecurce.getFactorial(l)<0)?\" : erreur signalé !\":\" \\tOK\")\n\t\t\t\t + \" -> reponse : \"+ FactorielleRecurce.getFactorial(l));\n\t\tif(FactorielleRecurce.getFactorial(l) == -2) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t\tSystem.out.println(\"tests passés : \" + ++compteur);\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");ncompteur++;}\n\t\t\n\t\tSystem.out.println(\"\\n\\tTotal tests passés OK : \" + compteur);\n\t\tSystem.out.println(\"\\tTotal tests passés NOK : \" + ncompteur);\n\t\t/*\n\t\tSystem.out.println(\"****************************************************\");\n\t\tSystem.out.println(\"Test de test (ne pas tenir compte !!!)\");\n\t\tif(false) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");}\n\t\tif(true) {\n\t\t\tSystem.out.println(\"----------------Test OK\");\n\t\t}\n\t\telse {System.err.println(\"----------------Test NOK\");}\n\t\t*/\n\t}", "title": "" }, { "docid": "e0c7924b17a6e92ed92e07138363a568", "score": "0.57228506", "text": "@Test\n @Ignore(\"for profiling\")\n public void test_large_cases_just_running_them() {\n for (int n = 11; n < 16; n++) {\n numberOfSolutionsFor(n, n);\n }\n }", "title": "" }, { "docid": "4ea9ba2d490015115f983155d859094e", "score": "0.5713029", "text": "@Test\n public void test147() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(63, (byte)11);\n }", "title": "" }, { "docid": "b5b6e17ea61c312689d454c616d6fe11", "score": "0.5684909", "text": "public static void main(String[] args) {\r\n\t\tint[][] data = readingData(); \r\n\t\t\r\n\t\t/*\r\n\t\tint[] factors = new int[4]; // the 4 options to get to 1\r\n\t\treadingNumbers(factors);\r\n\r\n\t\tint[] data = new int[4];\r\n\t\tint sum = data[0];\r\n\t\tString[] steps = new String[sum + 1];\r\n\r\n\t\tint[] solutions = new int[sum + 1];\r\n\r\n\t\tfor (int num : data) {\r\n\t\t\tSystem.out.print(num + \" \");\r\n\t\t}\r\n\r\n\t\tfactors[0] = 1;\r\n\t\tfor (int i = 1; i < data.length; i++) {\r\n\t\t\tfactors[i] = data[i];\r\n\t\t}\r\n\r\n\t\t// going through the 4 options\r\n\t\tfor (int factor : factors) {\r\n\t\t\tfor (int i = 1; i < solutions.length; i++) {\r\n\t\t\t\tsolutions[1] = 0;\r\n\t\t\t\tif (factor == 1) {\r\n\t\t\t\t\tsolutions[i] = solutions[i - 1] + 1;\r\n\t\t\t\t\tsteps[i] += \"subtract \" + factor;\r\n\t\t\t\t} else if (i >= factor && i % factor != 0 && solutions[i / factor] + 1 > solutions[i]) { // factor can't\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// be a\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// multiple\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// of i or\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// else you\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// get to 0\r\n\t\t\t\t\tsolutions[i] = solutions[i / factor] + 1;\r\n\t\t\t\t\tsteps[i] = \"divide by \" + factor;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t \r\n\t\tSystem.out.println(\"The steps taken to reach \" + sum + \" were: \");\r\n\r\n\t\t// okay, I know the printing steps part doesn't work, but I would have created\r\n\t\t// an individual counter per factor, and in the end use that to tell me how many\r\n\t\t// times I used each factor.\r\n\r\n\t\tfor (int i = 0; i < steps.length; i++) {\r\n\t\t\tif (i == steps.length - 1) {\r\n\t\t\t\tSystem.out.println(\"and \" + steps[i]);\r\n\t\t\t}\r\n\t\t\tSystem.out.print(steps[i] + \", \");\r\n\t\t}\r\n\r\n\t\tSystem.out.print(\", using \" + solutions[sum] + \" steps.\");\r\n*/\r\n\t}", "title": "" }, { "docid": "e0c48a2806f4b96bb5e36defa057d798", "score": "0.5680606", "text": "@Test\n public void test057() throws Throwable {\n double double0 = MathUtils.binomialCoefficientDouble(1393, 4);\n }", "title": "" }, { "docid": "ea1d9b9c5f092856ffbba95313f06863", "score": "0.5679975", "text": "@Test\n\tpublic void testFactorial() {\n\t\tFactorial factorial = new Factorial();\n\t\tint result = factorial.calc(5);\n\n\t\tassertThat(result, is(120));\n\t}", "title": "" }, { "docid": "155898346bf66382acc69d2f19cd136b", "score": "0.56415653", "text": "@Test\n public void testLogPdf() {\n System.out.println(\"logPdf\");\n assertEquals(Math.log(18.0 / 25.0), new Dirichlet(toDenseVec(2, 3, 1)).logPdf(toDenseVec(3.0 / 10.0, 2.0 / 10.0, 5.0 / 10.0)), 1e-13);\n assertEquals(Math.log(42.0 / 25.0), new Dirichlet(toDenseVec(2, 3, 1)).logPdf(toDenseVec(7.0 / 10.0, 2.0 / 10.0, 1.0 / 10.0)), 1e-13);\n assertEquals(Math.log(96.0 / 25.0), new Dirichlet(toDenseVec(2, 3, 1)).logPdf(toDenseVec(4.0 / 10.0, 4.0 / 10.0, 2.0 / 10.0)), 1e-13);\n\n // If it dosnt sum to 1, its not a possible value\n assertEquals(-Double.MAX_VALUE, new Dirichlet(toDenseVec(2, 3, 1)).logPdf(toDenseVec(5.0 / 10.0, 4.0 / 10.0, 2.0 / 10.0)), 1e-13);\n assertEquals(-Double.MAX_VALUE, new Dirichlet(toDenseVec(2, 3, 1)).logPdf(toDenseVec(1.0 / 10.0, 4.0 / 10.0, 2.0 / 10.0)), 1e-13);\n assertEquals(-Double.MAX_VALUE, new Dirichlet(toDenseVec(2, 3, 1)).logPdf(toDenseVec(-4.0 / 10.0, 4.0 / 10.0, 2.0 / 10.0)), 1e-13);\n assertEquals(-Double.MAX_VALUE, new Dirichlet(toDenseVec(2, 3, 1)).logPdf(toDenseVec(-4.0 / 10.0, 4.0 / 10.0, 10.0 / 10.0)), 1e-13);\n }", "title": "" }, { "docid": "acec71903611099e69d5d7d59a34d64a", "score": "0.56225884", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n JRip jRip0 = new JRip();\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n LinkedList<String> linkedList0 = new LinkedList<String>();\n linkedList0.add(\"\\nNo pruning: growing a rule ...\");\n Attribute attribute0 = new Attribute(\"!<jJ:'Gy6kK2\", linkedList0, 102);\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>(102);\n attribute0.enumerateValues();\n Instances instances0 = new Instances(\"\", arrayList0, 0);\n CostMatrix costMatrix0 = new CostMatrix(1);\n Attribute attribute1 = new Attribute(\"VCJb&Rj:gpc+^HBo\", linkedList0, (-56));\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n InputMappedClassifier inputMappedClassifier0 = new InputMappedClassifier();\n jRip_NominalAntd0.accu = 3.0;\n inputMappedClassifier0.getModelHeader(instances0);\n jRip_NominalAntd0.splitData(instances0, 4, 3);\n jRip_NominalAntd0.copy();\n assertEquals(3.0, jRip_NominalAntd0.getAccu(), 0.01);\n }", "title": "" }, { "docid": "bb9331d8517fcd457095bb2263eabebf", "score": "0.5614696", "text": "@Test\n public void testProblem12() {\n final List<Long> triangleNumbers = getTriangleNumbers(13000);\n\n long mostFactors = 0L;\n long bestNumber = 0L;\n\n for (Long triangleNumber : triangleNumbers) {\n final Set<Long> factors = new Factors().getFactors(triangleNumber);\n if (factors.size() > 500) {\n System.out.println(\"number\" + triangleNumber);\n System.out.println(\"factor count \" + factors.size());\n return;\n }\n if (factors.size() > mostFactors) {\n mostFactors = factors.size();\n bestNumber = triangleNumber;\n }\n }\n\n fail(\"not found :(\" + \"Best so far: \" + bestNumber + \"(\" + mostFactors + \")\");\n }", "title": "" }, { "docid": "7c203bc2076378550baa2a0e828413c7", "score": "0.5614087", "text": "public static void main(String[] args) throws Exception {\n // Some variables for sizing test numbers in bits\n int order1 = 100;\n int order2 = 60;\n int order3 = 1800; // #bits for testing Karatsuba and Burnikel-Ziegler\n int order4 = 3000; // #bits for testing Toom-Cook\n int order5 = 1000000; // #bits for testing Schoenhage-Strassen\n int order6 = 3500000; // #bits for testing Barrett\n \n if (args.length >0)\n order1 = (int)((Integer.parseInt(args[0]))* 3.333);\n if (args.length >1)\n order2 = (int)((Integer.parseInt(args[1]))* 3.333);\n if (args.length >2)\n order3 = (int)((Integer.parseInt(args[2]))* 3.333);\n if (args.length >3)\n order4 = (int)((Integer.parseInt(args[3]))* 3.333);\n if (args.length >4)\n order5 = (int)((Integer.parseInt(args[4]))* 3.333);\n if (args.length >5)\n order6 = (int)((Integer.parseInt(args[5]))* 3.333);\n \n prime();\n nextProbablePrime();\n \n arithmetic(order1); // small numbers\n arithmetic(order3); // Karatsuba / Burnikel-Ziegler range\n arithmetic(order4); // Toom-Cook range\n arithmetic(order5); // SS range\n arithmetic(order6); // Barrett range\n \n divideAndRemainder(order1); // small numbers\n divideAndRemainder(order3); // Karatsuba / Burnikel-Ziegler range\n divideAndRemainder(order4); // Toom-Cook range\n divideAndRemainder(order5); // SS range\n divideAndRemainder(order6); // Barrett range\n \n pow(order1);\n \n bitCount();\n bitLength();\n bitOps(order1);\n bitwise(order1);\n \n shift(order1);\n \n byteArrayConv(order1);\n \n modInv(order1); // small numbers\n modInv(order3); // Karatsuba / Burnikel-Ziegler range\n modInv(order4); // Toom-Cook range\n \n modExp(order1, order2);\n modExp2(order1);\n \n stringConv();\n serialize();\n \n if (failure)\n throw new RuntimeException(\"Failure in BigIntegerTest.\");\n }", "title": "" }, { "docid": "7587661e398a3d92b3b56435d1f10c75", "score": "0.5587831", "text": "@Test\n public void test130() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(0, 0);\n }", "title": "" }, { "docid": "e3a905e79629e054d3ee9bf2776f8725", "score": "0.5571765", "text": "private boolean b(ctx paramctx)\r\n/* 116: */ {\r\n/* 117:123 */ int j = Math.min(paramctx.b(), paramctx.c());\r\n/* 118:124 */ int k = (this.d == 0) && (this.e == 0) ? 1 : 0;\r\n/* 119: */ int i1;\r\n/* 120: */ int m;\r\n/* 121:128 */ if (this.h)\r\n/* 122: */ {\r\n/* 123:129 */ int n = MathUtils.smallestEncompassingPowerOfTwo(this.d);\r\n/* 124:130 */ i1 = MathUtils.smallestEncompassingPowerOfTwo(this.e);\r\n/* 125:131 */ int i2 = MathUtils.smallestEncompassingPowerOfTwo(this.d + j);\r\n/* 126:132 */ int i3 = MathUtils.smallestEncompassingPowerOfTwo(this.e + j);\r\n/* 127: */ \r\n/* 128:134 */ int i4 = i2 <= this.f ? 1 : 0;\r\n/* 129:135 */ int i5 = i3 <= this.g ? 1 : 0;\r\n/* 130:137 */ if ((i4 == 0) && (i5 == 0)) {\r\n/* 131:138 */ return false;\r\n/* 132: */ }\r\n/* 133:141 */ int i6 = n != i2 ? 1 : 0;\r\n/* 134:142 */ int i7 = i1 != i3 ? 1 : 0;\r\n/* 135:144 */ if ((i6 ^ i7) != 0) {\r\n/* 136:146 */ m = i6 == 0 ? 1 : 0;\r\n/* 137: */ } else {\r\n/* 138:149 */ m = (i4 != 0) && (n <= i1) ? 1 : 0;\r\n/* 139: */ }\r\n/* 140: */ }\r\n/* 141: */ else\r\n/* 142: */ {\r\n/* 143:153 */ int n = this.d + j <= this.f ? 1 : 0;\r\n/* 144:154 */ i1 = this.e + j <= this.g ? 1 : 0;\r\n/* 145:156 */ if ((n == 0) && (i1 == 0)) {\r\n/* 146:157 */ return false;\r\n/* 147: */ }\r\n/* 148:161 */ m = (n != 0) && ((k != 0) || (this.d <= this.e)) ? 1 : 0;\r\n/* 149: */ }\r\n/* 150:165 */ int n = Math.max(paramctx.b(), paramctx.c());\r\n/* 151:166 */ if (MathUtils.smallestEncompassingPowerOfTwo((m != 0 ? this.e : this.d) + n) > (m != 0 ? this.g : this.f)) {\r\n/* 152:167 */ return false;\r\n/* 153: */ }\r\n/* 154: */ cty localcty;\r\n/* 155:171 */ if (m != 0)\r\n/* 156: */ {\r\n/* 157:172 */ if (paramctx.b() > paramctx.c()) {\r\n/* 158:173 */ paramctx.d();\r\n/* 159: */ }\r\n/* 160:177 */ if (this.e == 0) {\r\n/* 161:178 */ this.e = paramctx.c();\r\n/* 162: */ }\r\n/* 163:181 */ localcty = new cty(this.d, 0, paramctx.b(), this.e);\r\n/* 164:182 */ this.d += paramctx.b();\r\n/* 165: */ }\r\n/* 166: */ else\r\n/* 167: */ {\r\n/* 168:185 */ localcty = new cty(0, this.e, this.d, paramctx.c());\r\n/* 169:186 */ this.e += paramctx.c();\r\n/* 170: */ }\r\n/* 171:189 */ localcty.a(paramctx);\r\n/* 172:190 */ this.c.add(localcty);\r\n/* 173: */ \r\n/* 174:192 */ return true;\r\n/* 175: */ }", "title": "" }, { "docid": "eb45ccc37512aece5cd0a3f4ab1600d9", "score": "0.55681884", "text": "@Test\n public void test() {\n\n // iterative\n assert 4 == Math.pow(2,2);\n assert 64 == Math.pow(2, 6);\n assert 1000 == Math.pow(10, 3);\n\n // iterative\n Assert.assertEquals(4, method(2, 2));\n Assert.assertEquals(64, method(2, 6));\n Assert.assertEquals(1000, method(10, 3));\n\n // recursive\n Assert.assertEquals(64, methodR(2, 6));\n Assert.assertEquals(64, method(2, 6));\n Assert.assertEquals(1000, methodR(10, 3));\n }", "title": "" }, { "docid": "8e0ad0bbbdd35a3119bf7d70b7183791", "score": "0.5556462", "text": "@Test(timeout = 4000)\n public void test27() throws Throwable {\n JRip jRip0 = new JRip();\n LinkedList<String> linkedList0 = new LinkedList<String>();\n Attribute attribute0 = new Attribute(\"!j9ZajF#\\\"Y*\");\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n JRip.NumericAntd jRip_NumericAntd1 = (JRip.NumericAntd)jRip_NumericAntd0.copy();\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(0.0, jRip_NumericAntd1.getMaxInfoGain(), 0.01);\n assertNotSame(jRip_NumericAntd1, jRip_NumericAntd0);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NumericAntd1.getAttrValue(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertFalse(jRip0.getDebug());\n assertEquals(Double.NaN, jRip_NumericAntd1.getSplitPoint(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd1.getAccuRate(), 0.01);\n }", "title": "" }, { "docid": "2a1b972bb45fa761e9201b17e68c595c", "score": "0.555343", "text": "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint Test_Case = Integer.parseInt(br.readLine());\n\t\tint[] input_num = new int[Test_Case +1];\n\t\tint max = 0;\n\t\tfor(int i = 1;i<Test_Case+1;i++) {\n\t\t\tinput_num[i] = Integer.parseInt(br.readLine());\n\t\t\tif(max < input_num[i]) max = input_num[i];\n\t\t}\n\t\tinput_num[0] = 0;\n\t\tint mod = 1000000009;\n\t\tint[][] dp = new int[max+1][4];\n\t\tfor(int i =0;i<=max;i++) {\n\t\t\tdp[i][0] = 0;\n\t\t}\n\t\tfor(int i = 0; i<4;i++) {\n\t\t\tfor(int j =0;j<4;j++) {\n\t\t\t\tdp[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\tdp[1][1] = 1;\n\t\tdp[2][2] = 1;\n\t\tdp[3][3] = 1;\n\t\tdp[3][1] = 1;\n\t\tdp[3][2] = 1;\n\t\tfor(int i=4;i<=max;i++) {\n\t\t\tdp[i][1] = (dp[i-1][2] + dp[i-1][3])%mod;\n\t\t\tdp[i][2] = (dp[i-2][1] + dp[i-2][3])%mod;\n\t\t\tdp[i][3] = (dp[i-3][1] + dp[i-3][2])%mod;\n\t\t}\n\t\tfor(int i = 1; i<=Test_Case;i++) {\n\t\t\tint sum = ((dp[input_num[i]][1] + dp[input_num[i]][2])%mod + dp[input_num[i]][3])%mod;\n\t\t\tsb.append(sum + \"\\n\");\n\t\t\tsum = 0;\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "title": "" }, { "docid": "7448c2783d42207e034faf836abe076b", "score": "0.553512", "text": "@Test\n public void test129() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(1933, 0);\n }", "title": "" }, { "docid": "069ea9eeabfd204299ba4b2d964d9ef1", "score": "0.55306315", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n JRip.RipperRule jRip_RipperRule1 = (JRip.RipperRule)jRip_RipperRule0.copy();\n assertEquals(2, jRip0.getOptimizations());\n assertNotSame(jRip_RipperRule1, jRip_RipperRule0);\n assertEquals(3, jRip0.getFolds());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals((-1.0), jRip_RipperRule1.getConsequent(), 0.01);\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "e548f48cd75430c192f92c569100cb67", "score": "0.55293185", "text": "private static Number factorial(Number n) {\n if (n == null) return Double.NaN;\n try{ Number d = n.doubleValue();\n if (d.floatValue() < 0) throw new UnsupportedOperationException(\"factorial of negatives is not supported\");;\n// if (n instanceof Scalar) throw new UnsupportedOperationException(\"factorial of scalars is not supported\");\n// if (Math.abs((d.doubleValue() + 0.5) % 1 - 0.5) > Math.pow(10, -1 * magPrecision)) return gammaFunc(d); //at low n, gammaFunc is not very accurate\n if (d.floatValue() > 1) return (d.floatValue() <= 10) ? Math.round(d.floatValue()) * Math.round(factorial(Math.round(d.floatValue()) - 1).floatValue()): NaryProduct(\"x\",\"x\",1, n);\n if (Math.pow(Math.round( d.floatValue()),2) == Math.round(d.floatValue())) return 1; // d is 0 or 1\n } catch (StackOverflowError ex) { System.out.println(\"StackOverFlowError at factorial method in functions.java\"); }\n return Double.NaN;\n }", "title": "" }, { "docid": "b8e4568c7578c0e999bdebd24d6f00de", "score": "0.5503201", "text": "public static void main2(String[] args) {\n \t\t\n \t\tMultiplicativeProposal proposalDistribution = new MultiplicativeProposal();\n \t\t//LogisticProposal proposalDistribution = new LogisticProposal();\n \t\t//GaussianProposal proposalDistribution = new GaussianProposal();\n \t\t//GammaDistribution n = new GammaDistribution(2,0.5);\n \t\tBetaDistribution n = new BetaDistribution(2,5);\n \t\t\n \t\tint ITERS = 100000;\n \t\t//double var = 3.5; // LogisticProposal\n \t\t//double var = 0.6; // GaussianProposal\n \t\tdouble var = 2.5; // MultiplicativeProposal\n \t\tdouble oldParam = 0.5; \n \t\tdouble[] params = new double[ITERS]; \n \t\tdouble MIN_PARAM = 0;\n \t\tdouble MAX_PARAM = 1; // Beta\n \t\t//double MAX_PARAM = Double.POSITIVE_INFINITY; // Gamma\n \t\tint acc = 0;\n \t\t\n \t\tfor (int i=0; i<ITERS; i++) {\t\t\t\t\t\t\n \t\t\t\n \t\t\tif (i>0) oldParam = params[i-1];\n \t\t\t\n \t\t\tproposalDistribution.updateProposal(var,oldParam);\n \t\t\t\n \t\t double newParam = proposalDistribution.sample();\t\t\t\t\t\t\n \t\t \n \t\t if (newParam <= MIN_PARAM || newParam > MAX_PARAM) {\n \t\t \tparams[i] = oldParam;\n \t\t \tcontinue;\n \t\t }\n \t\t \n \t\t double logProposalRatio = -proposalDistribution.logDensity(newParam);\n \t\t \n \t\t proposalDistribution.updateProposal(var,newParam);\n \t\t\n \t\t logProposalRatio += proposalDistribution.logDensity(oldParam);\n \t\t\t\t \n \t\t double logLikeRatio = Math.log(n.density(newParam)) - Math.log(n.density(oldParam));\n \t\t \n \t\t //System.out.println(oldParam+\"\\t\"+newParam+\"\\t\"+logProposalRatio+\"\\t\"+logLikeRatio);\n \n \t\t if (Math.log(Utils.generator.nextDouble())< (logLikeRatio + logProposalRatio)) {\n \t\t \tparams[i] = newParam;\n \t\t \tacc++;\n \t\t }\n \t\t else {\n \t\t \tparams[i] = oldParam; \n \t\t }\n \t\t}\n \t\tSystem.out.println(\"Acceptance rate = \"+((double)acc/(double)ITERS));\n \t\ttry {\n \t\t\tFileWriter output = new FileWriter(\"multiplicativeTest.txt\");\n \t\t\tfor (int i=0; i<ITERS; i++) {\n \t\t\t\toutput.write(params[i]+\"\\n\");\n \t\t\t}\n \t\t} catch (IOException e) {}\t\n \n \t}", "title": "" }, { "docid": "bc4fce15f106d6e627b1c056232db837", "score": "0.5494212", "text": "public static void main(String[] args) {\n\t\tint[] factorials = new int[10];\n\t\tfor (int f = 0; f < 10; f++)\n\t\t\tfactorials[f] = factorial.getFactorial(f);\n\t\t\n\t\t//below is for my personal reference\n\t\tArrayList<Integer> curious = new ArrayList<Integer>();\n\t\tint finalSum = 0;\n\t\t\n\t\t//NOTE - not sure how to calculate upper bound here; just increased until there were no more\n\t\t//curious numbers found\n\t\tfor (int i = 3; i < 10000000; i++) {\n\t\t\tint temp = i, sum = 0;\n\t\t\twhile (temp > 0) {\n\t\t\t\tint rem = temp % 10;\n\t\t\t\tsum += factorials[rem];\n\t\t\t\ttemp /= 10;\n\t\t\t}\n\t\t\t//System.out.println(i + \", \" + sum);\n\t\t\tif (i == sum) {\n\t\t\t\tfinalSum += i;\n\t\t\t\tcurious.add(i);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int j: curious)\n\t\t\tSystem.out.print(j + \",\");\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"finalSum: \" + finalSum);\n\t\t\n\t}", "title": "" }, { "docid": "62c77f15e20ed2f8077a7de811656135", "score": "0.5488644", "text": "@Test\n public void test143() throws Throwable {\n long long0 = MathUtils.binomialCoefficient((short)102, (short)1);\n }", "title": "" }, { "docid": "23345303ec0449ff597f2e31695d8eee", "score": "0.5478235", "text": "public static void main(String[] args) {\n String bigNumber = \"7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450\";\n\n //Problem8 p = new Problem8();\n\n // save our maximum product- it can be no larger than 9**CONSEC_LENGTH\n int maxProduct = 0;\n\n // loop through length of string, minus CONSEC_LENGTH\n for (int i = 0; i < (bigNumber.length() - CONSEC_LENGTH); ++i) {\n //System.out.println(\"i: \" + i);\n\n // assemble our substring\n String consecStr = bigNumber.substring(i, i+CONSEC_LENGTH);\n\n int currProduct = 1;\n // loop through substring\n for (int j = 0; j < consecStr.length(); ++j) {\n // convert char to integer, find product of substring\n int currInt = Character.digit(consecStr.charAt(j), 10);\n currProduct *= currInt;\n }\n\n // greater than max? save it.\n if (currProduct > maxProduct) {\n System.out.println(\"new max: \" + currProduct + \" .. substring was: \" + consecStr);\n maxProduct = currProduct;\n }\n }\n\n // output our max product\n System.out.println(\"max product: \" + maxProduct);\n\n }", "title": "" }, { "docid": "669ee3532b45f6f3eca0aaefbbb82769", "score": "0.54747343", "text": "@Test\n public void testSolution() {\n System.out.println(\"solution\");\n // int[][] A = new int[][]{{1, 1}, {0, 1}};\n Challenge_2018_10_Krypton2018 instance = new Challenge_2018_10_Krypton2018();\n// int expResult = 0;\n// int result = instance.solution(A);\n// assertEquals(expResult, result);\n \n assertEquals(0, instance.solution(new int[][]{{1, 1}, {0, 1}}));\n assertEquals(1, instance.solution(new int[][]{{10}}));\n assertEquals(1, instance.solution(new int[][]{{1, 2, 0}, {10, 5, 3}, {5, 1, 2}}));\n assertEquals(1, instance.solution(new int[][]{{2, 10, 1, 3}, {10, 5, 4, 5}, {2, 10, 2, 1}, {25, 2, 5, 1}}));\n assertEquals(1, instance.solution(new int[][]{{10, 10, 10}, {10, 0, 10}, {10, 10, 10}}));\n assertEquals(2, instance.solution(new int[][]{{10, 1, 10, 1}, {1, 1, 1, 10}, {10, 1, 10, 1}, {1, 10, 1, 1}}));\n assertEquals(3, instance.solution(new int[][]{{10, 1, 10, 1}, {1, 1, 1, 10}, {10, 1, 10, 1}, {1, 10, 1, 10}}));\n // TODO review the generated test code and remove the default call to fail.\n // fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "231acff727f5808de466eea68dcaa8f3", "score": "0.5463932", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.checkErrorRateTipText();\n assertFalse(jRip0.getDebug());\n assertEquals(\"Whether check for error rate >= 1/2 is included in stopping criterion.\", string0);\n assertEquals(3, jRip0.getFolds());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n }", "title": "" }, { "docid": "64eb42d70ebd21d6cd2b98072ff20eca", "score": "0.5460186", "text": "@Test\n public void test014() throws Throwable {\n double double0 = MathUtils.log(0.0, 1142.7285337751543);\n }", "title": "" }, { "docid": "a64fe39c6faf931eb1c837c60a8f1370", "score": "0.5459925", "text": "@Test\n public void test128() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog((short)5, (short)1);\n }", "title": "" }, { "docid": "5e9a50902793e07971b856de0a9975dd", "score": "0.5457479", "text": "public double returnNotHalf() {\n<<<<<<< HEAD\n return 0.9;\n=======\n return 2.0;\n>>>>>>> 680a2f4c66929a94838986cf02ad9e46845f131f\n }\n\n /*\n 3. This method needs to return a String. Fix it to return a valid String.\n */\n public String returnName() {\n return \"\";\n }\n\n /*\n 4. This method currently returns an int. Change it so that it returns a double.\n */\n public double returnDoubleOfTwo() {\n<<<<<<< HEAD\n return 2.00;\n=======\n return 2.0;\n>>>>>>> 680a2f4c66929a94838986cf02ad9e46845f131f\n }\n\n /*\n 5. This method should return the language that you're learning. Change\n it so that it does that.\n */\n public String returnNameOfLanguage() {\n<<<<<<< HEAD\n return \"Java\";\n=======\n \t\t\n \n return \"\";\n>>>>>>> 680a2f4c66929a94838986cf02ad9e46845f131f\n }\n\n /*\n 6. This method uses an if statement to define what to return. Have it\n return true if the if statement passes.\n */\n public boolean returnTrueFromIf() {\n if(true) {\n return true;\n }\n\n return false;\n }\n\n /*\n 7. This method uses an if to check to make sure that one is equal\n to one. Make sure it returns true when one equals one.\n */\n public boolean returnTrueWhenOneEqualsOne() {\n if(1 == 1) {\n return true;\n }\n\n return false;\n }\n\n /*\n 8. This method checks a parameter passed to the method to see if it's\n greater than 5 and returns true if it is.\n */\n public boolean returnTrueWhenGreaterThanFive(int number) {\n if(number > 5) {\n<<<<<<< HEAD\n \treturn true;\n } else {\n\n }\n=======\n \t\treturn true;\n } \n>>>>>>> 680a2f4c66929a94838986cf02ad9e46845f131f\n return false;\n }", "title": "" }, { "docid": "94042f4928f04a085716509814dcc9d0", "score": "0.54454565", "text": "@Test\n public void test108() throws Throwable {\n int int0 = MathUtils.gcd((-2571), 0);\n }", "title": "" }, { "docid": "1aba2dab5da577b473a088f989e10e75", "score": "0.5444294", "text": "@Test\n public void test054() throws Throwable {\n int int0 = MathUtils.gcd(1, 145);\n }", "title": "" }, { "docid": "c7e2c84fd5c1c531c62c79cd3ca767be", "score": "0.54390055", "text": "@Test\n public void test56() throws Throwable {\n Complex complex0 = new Complex(Double.POSITIVE_INFINITY, 9.46452492584643E-8);\n Complex complex1 = complex0.sin();\n Complex complex2 = complex1.atan();\n List<Complex> list0 = complex1.nthRoot(2047);\n Complex complex3 = complex1.exp();\n Complex complex4 = complex1.subtract((double) 2047);\n Complex complex5 = complex3.add(complex0);\n Complex complex6 = complex3.sqrt();\n Complex complex7 = complex3.log();\n Complex complex8 = complex1.sqrt();\n Complex complex9 = Complex.valueOf(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);\n Complex complex10 = complex1.multiply((-158));\n Complex complex11 = complex1.cos();\n Complex complex12 = complex3.sin();\n int int0 = complex3.hashCode();\n Complex complex13 = (Complex)complex3.readResolve();\n Complex complex14 = complex3.divide((-2669.9908956));\n Complex complex15 = Complex.valueOf(0.0, 0.0);\n Complex complex16 = complex3.subtract(complex15);\n Complex complex17 = complex9.subtract(complex0);\n Complex complex18 = complex11.exp();\n Complex complex19 = complex3.pow(complex15);\n Complex complex20 = complex9.pow(Double.POSITIVE_INFINITY);\n Complex complex21 = complex15.subtract(1896.163003748);\n Complex complex22 = complex1.tan();\n boolean boolean0 = complex15.isInfinite();\n Complex complex23 = complex12.divide(complex10);\n boolean boolean1 = complex5.isInfinite();\n }", "title": "" }, { "docid": "c053c1d83352d9e71a1ea6d0c99f0441", "score": "0.5434872", "text": "@Test\n public void test142() throws Throwable {\n double double0 = MathUtils.binomialCoefficientDouble((byte)1, (-1));\n }", "title": "" }, { "docid": "83fe3759424da5961e8c93dd69825b56", "score": "0.5431295", "text": "@Test\n public void test048() throws Throwable {\n long long0 = MathUtils.mulAndCheck(316L, 4105L);\n }", "title": "" }, { "docid": "9f7253ced0488d5bbbeaa1625cf9c158", "score": "0.5424599", "text": "@Test\n public void test135() throws Throwable {\n double double0 = MathUtils.binomialCoefficientDouble(728, (byte)1);\n }", "title": "" }, { "docid": "df40bb4941158d00b6bced5bec7e2e49", "score": "0.54152364", "text": "@Test\n public void getFibonacciNumberReturnsNumberInFibonacciSequenceAtSpecifiedIndex() {\n assertEquals(BigInteger.ZERO, Task4.getFibonacciNumber(BigInteger.ZERO));\n System.out.println(\"The 0-th passed\");\n\n //check whether the method returns 1-st Fibonacci number\n assertEquals(BigInteger.ONE, Task4.getFibonacciNumber(BigInteger.ONE));\n System.out.println(\"The 1-th passed\");\n\n //starting from the 2-nd element till the limit\n for (BigInteger i = BigInteger.TWO, limit = Task4.getLimit().divide(BigInteger.valueOf(4));\n i.compareTo(limit) <= 0;\n i = i.add(BigInteger.ONE)){\n\n //getting potential i-th Fibonacci number\n BigInteger fibonacciNum = Task4.getFibonacciNumber(i);\n\n //it is known that if A is a Fibonacci number than either\n // (5 * (A ^ 2) + 4) or\n // (5 * (A ^ 2) - 4) is a perfect square\n BigInteger base = fibonacciNum.pow(2).multiply(BigInteger.valueOf(5)); //equals to ((A ^ 2) * 5)\n BigInteger expr1 = base.add(BigInteger.valueOf(4)); //equals to ((A ^ 2) * 5 + 4)\n BigInteger expr2 = base.add(BigInteger.valueOf(-4)); //equals to ((A ^ 2) * 5 - 4)\n boolean expr1IsPerfectSquare = expr1.equals(expr1.sqrt().pow(2));\n boolean expr2IsPerfectSquare = expr2.equals(expr2.sqrt().pow(2));\n\n //check whether it is true\n assertTrue(expr1IsPerfectSquare || expr2IsPerfectSquare);\n\n //it is known that if A is a Fibonacci number (starting from the 2-nd) then index is equals to\n // round(2.078087... * ln(A) + 1.672276...) for bigger value of A the approximation is more strict\n //where round(number) returns the nearest integer to the specified number\n BigInteger actual = BigDecimal.valueOf(2.078087).multiply(BigDecimalMath.log(new BigDecimal(fibonacciNum),\n new MathContext(100, RoundingMode.HALF_UP))).add(BigDecimal.valueOf(1.672276))\n .setScale(0, RoundingMode.HALF_UP).toBigInteger();\n\n //check whether the passed index is equal to the actual Fibonacci number index\n assertEquals(i, actual);\n //print message about the exact test case success\n System.out.println(\"The \" + i + \"-th passed\");\n\n }\n }", "title": "" }, { "docid": "3c81e22d7c1474fe45b1ea8d40c82c29", "score": "0.54113877", "text": "@Test\n public void shouldSolveProblem55() {\n assertThat(solve()).isEqualTo(249);\n }", "title": "" }, { "docid": "0faa3d86376afe1745dd2937e8b0f13f", "score": "0.5408758", "text": "@Test\n public void test091() throws Throwable {\n long long0 = MathUtils.mulAndCheck((-3117L), (-3117L));\n }", "title": "" }, { "docid": "44f09034b13fec9d82f1b7ddae7ebae9", "score": "0.54063636", "text": "@Test\r\n\t@Category(SlowTests.class)\r\n\tpublic void simpleAlphaBetaAndMinimax() {\n\t\tcompareSimpleAlphaBetaToMinimax(\"3r2k1/1p5p/6p1/p2q1p2/P1Q5/1P5P/1P6/5RK1 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"R7/P4k2/8/8/8/8/r7/6K1 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/6pp/3q1p2/3n1k2/1P6/3NQ2P/5PP1/6K1 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"2r5/1r6/4pNpk/3pP1qp/8/2P1QP2/5PK1/R7 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/k1b5/P4p2/1Pp2p1p/K1P2P1P/8/3B4/8 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"1k6/5RP1/1P6/1K6/6r1/8/8/8 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"6k1/5ppp/1q6/2b5/8/2R1pPP1/1P2Q2P/7K w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/p7/1ppk1n2/5ppp/P1PP4/2P1K1P1/5N1P/8 b - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/p3k1p1/4r3/2ppNpp1/PP1P4/2P3KP/5P2/8 b - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/k7/p7/3Qp2P/n1P5/3KP3/1q6/8 b - - 0 0\");\r\n\t\t\r\n// Long incomplete tests below this line\t\t\r\n//\t\ttestAgainstMinimax(\"r6k/p1Q4p/2p1b1rq/4p3/B3P3/4P3/PPP3P1/4RRK1 b - - 0 0\");\r\n//\t\ttestAgainstMinimax(\"2k5/pppr4/4R3/4Q3/2pp2q1/8/PPP2PPP/6K1 w - - 0 0\");\r\n//\t\ttestAgainstMinimax(\"r2k4/1pp2rpp/pn1b1p2/3n4/8/P4NB1/1PP3PP/2KRR3 w - - 0 0\");\r\n//\t\ttestAgainstMinimax(\"5r1k/4R3/p1pp4/3p1bQ1/3q1P2/7P/P2B2P1/7K w - - 0 0\");\r\n\t}", "title": "" }, { "docid": "edca96598d6029499da84d83870df42a", "score": "0.53997105", "text": "@Test\n public void test141() throws Throwable {\n // Undeclared exception!\n try { \n MathUtils.binomialCoefficient(1052, 17);\n } catch(ArithmeticException e) {\n //\n // overflow: multiply\n //\n assertThrownBy(\"org.apache.commons.math.util.MathUtils\", e);\n }\n }", "title": "" }, { "docid": "94bf85b901bad0ec3aa68c3fcf390e77", "score": "0.5398972", "text": "@Test(timeout = 4000)\n public void test33() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.size();\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n }", "title": "" }, { "docid": "d65821d7c786a61a7ad97f1d71c34a37", "score": "0.53946364", "text": "public static void main(String[] args) {\n\n\t\t\n\t\t\n\t\n\t\tSystem.out.println(\"expected true, actual \" + checkFactorials(getStringList(\"przyklad.txt\")).contains(\"145\"));\n\t\tSystem.out.println(\"expected 1, actual \" + checkFactorials(getStringList(\"przyklad.txt\")).size());\n\t\tSystem.out.println(\"expected 145, actual \" + checkFactorials(getStringList(\"przyklad.txt\")).get(0));\n\t\t\n\t\tSystem.out.println(\"expected: [2, 145, 1, 40585], actual: \" + checkFactorials(getStringList(\"liczby.txt\")).toString());\n\t\tSystem.out.println(\"expected: [2, 145, 1, 40585], actual: \" + checkFactorials(getStringList(\"liczby.txt\")));\n\t\tSystem.out.println(\"expected: [2, 145, 1, 40585], actual: \" + Arrays.toString(checkFactorials(getStringList(\"liczby.txt\")).toArray()));\n\n\t\t// prints: expected: [2, 145, 1, 40585], actual: [Ljava.lang.Object;@f6f4d33\n\t\tSystem.out.println(\"expected: [2, 145, 1, 40585], actual: \" + checkFactorials(getStringList(\"liczby.txt\")).toArray());\n\n\t\t// ---------- 4.2 Darek-----------------\n\t\t/*\n\t\t * System.out.println(\"expected 1, actual \" + getFactorial(0));\n\t\t * System.out.println(\"expected 1, actual \" + getFactorial(1));\n\t\t * System.out.println(\"expected 2, actual \" + getFactorial(2));\n\t\t * System.out.println(\"expected 6, actual \" + getFactorial(3));\n\t\t * System.out.println(\"expected 24, actual \" + getFactorial(4));\n\t\t */\n\n\t\t// System.out.println(\"expected false, actual \" + isFactorialEqualNumber(0)); //\n\t\t// 1 != 0\n\n\t\t/*\n\t\t * System.out.println(\"expected true, actual \" + isFactorialEqualNumber(\"1\"));\n\t\t * // 1 System.out.println(\"expected true, actual \" +\n\t\t * isFactorialEqualNumber(\"2\")); // 1 * 2\n\t\t * System.out.println(\"expected false, actual \" + isFactorialEqualNumber(\"3\"));\n\t\t * // 2 * 3 = 6 System.out.println(\"expected false, actual \" +\n\t\t * isFactorialEqualNumber(\"343\")); // 3! + 4! + 3! = 36\n\t\t * System.out.println(\"expected true, actual \" + isFactorialEqualNumber(\"145\"));\n\t\t */\n\n\t\t// String[] results = null;\n\n\t\t/*\n\t\t * results = getAllEqual(\"przyklad.txt\");\n\t\t * System.out.println(\"expected 1, actual length: \" + results.length);\n\t\t * System.out.println(\"expected 145, actual: \" + results[0]);\n\t\t */\n\n\t\t/*\n\t\t * results = getAllEqual(\"4.2/threeOutOfSixCorrect.txt\");\n\t\t * System.out.println(\"expected 3, actual length: \" + results.length);\n\t\t * System.out.println(\"expected 2, 145, 1, actual: \" +\n\t\t * Arrays.toString(results));\n\t\t * \n\t\t * results = getAllEqual(\"liczby.txt\");\n\t\t * System.out.println(\"expected ?, actual: \" + Arrays.toString(results));\n\t\t */\n\n\t\t// --------------------------4.3---------------------------\n\n\t\t/*\n\t\t * System.out.println(\"expexted [2], actual: \" + Arrays.toString(getNWDs(2,\n\t\t * 4))); System.out.println(\"expexted [4,2], actual: \" +\n\t\t * Arrays.toString(getNWDs(4, 4)));\n\t\t */\n\n\t\tSystem.out.println(\"expexted [9,3], actual: \" + Arrays.toString(getNWDs(9, 18)));\n\n\t\tSystem.out.println(\n\t\t\t\t\"expexted [2 ,4,6,10,2], actual: \" + getLongestSequence(Arrays.asList(3, 7, 4, 6, 10, 2, 5)));\n\t\tSystem.out.println(\n\t\t\t\t\"expexted [14 ,70,28,42,98], actual: \" + getLongestSequence(Arrays.asList(5, 70, 28, 42, 98, 1)));\n\n\t\tSystem.out.println(\"expexted [2 ,2,2,4], actual: \" + getLongestSequence(Arrays.asList(2, 2, 4)));\n\n\t\tSystem.out.println(\"expexted [2 ,2,4], actual: \" + getLongestSequence(Arrays.asList(2, 3, 2, 4)));\n\t\tSystem.out.println(\"expexted [9 ,9,18], actual: \" + getLongestSequence(Arrays.asList(9, 18)));\n\t\tSystem.out.println(\"expexted [2 ,2,2,4], actual: \" + getLongestSequence(Arrays.asList(2, 2, 4, 3)));\n\n\t\tSystem.out.println(\"expexted [10, 90,x, x, x, x], actual: \" + //\n\t\t\t\tgetLongestSequence(getIntegerList(\"przyklad.txt\")));\n\n\t\tSystem.out.println(\"expexted [????], actual: \" + getLongestSequence(getIntegerList(\"liczby.txt\")));\n\t\tSystem.out.println(getLongestSequence(getIntegerList(\"liczby.txt\")).size() - 1);\n\n\t\t// --------------------------------------------------------------------------\n\n\t}", "title": "" }, { "docid": "d134158701c0db7f9e296fc4fbb74fa0", "score": "0.5394606", "text": "@Test\n public void test133() throws Throwable {\n double double0 = MathUtils.binomialCoefficientDouble((byte)106, 61);\n }", "title": "" }, { "docid": "1448cb534fc8f0cbc2b3ef0b5e37a100", "score": "0.5388092", "text": "public boolean nextGeneration()\r\n/* 27: */ {\r\n/* 28: 79 */ long[] sequence = new long[this.currentPopulation_d.size()];\r\n/* 29: 85 */ if (this.configuration_d.runBatch_d == true)\r\n/* 30: */ {\r\n/* 31: 87 */ System.out.println(\"Run Batch = \" + this.configuration_d.runBatch_d);\r\n/* 32: 88 */ System.out.println(\"Exp Number = \" + this.configuration_d.expNumber_d);\r\n/* 33: */ }\r\n/* 34: */ try\r\n/* 35: */ {\r\n/* 36: 93 */ String outLine = \"\";\r\n/* 37: 94 */ String sCluster = \"\";\r\n/* 38: 95 */ String sAligned = \"\";\r\n/* 39: 97 */ for (int i = 0; i < this.currentPopulation_d.size(); i++) {\r\n/* 40: 98 */ sequence[i] = 0L;\r\n/* 41: */ }\r\n/* 42:126 */ boolean end = false;\r\n/* 43:127 */ while (!end)\r\n/* 44: */ {\r\n/* 45:129 */ end = true;\r\n/* 46:130 */ for (int i = 0; i < this.currentPopulation_d.size(); i++)\r\n/* 47: */ {\r\n/* 48:132 */ if (!this.currentPopulation_d.getCluster(i).isMaximum())\r\n/* 49: */ {\r\n/* 50:134 */ if (this.configuration_d.runBatch_d == true)\r\n/* 51: */ {\r\n/* 52:136 */ int exp = this.configuration_d.expNumber_d;\r\n/* 53:137 */ sCluster = \"\";\r\n/* 54:138 */ sAligned = \"\";\r\n/* 55:139 */ int[] n = this.currentPopulation_d.getCluster(i).getClusterVector();\r\n/* 56: */ \r\n/* 57:141 */ int[] c = new int[n.length];\r\n/* 58:143 */ for (int z = 0; z < n.length; z++) {\r\n/* 59:144 */ c[z] = n[z];\r\n/* 60: */ }\r\n/* 61:146 */ realignClusters(c);\r\n/* 62:148 */ for (int zz = 0; zz < n.length; zz++)\r\n/* 63: */ {\r\n/* 64:150 */ sAligned = sAligned + c[zz] + \"|\";\r\n/* 65:151 */ sCluster = sCluster + n[zz] + \"|\";\r\n/* 66: */ }\r\n/* 67:153 */ sequence[i] += 1L;\r\n/* 68:154 */ outLine = exp + \",\" + i + \",\" + sequence[i] + \",\" + this.currentPopulation_d.getCluster(i).getObjFnValue() + \",\" + sCluster + \",\" + sAligned;\r\n/* 69:155 */ this.configuration_d.writer_d.write(outLine + \"\\r\\n\");\r\n/* 70: */ }\r\n/* 71:159 */ getLocalMaxGraph(this.currentPopulation_d.getCluster(i));\r\n/* 72: */ }\r\n/* 73:162 */ if (!this.currentPopulation_d.getCluster(i).isMaximum()) {\r\n/* 74:164 */ end = false;\r\n/* 75: */ }\r\n/* 76:166 */ if (this.currentPopulation_d.getCluster(i).getObjFnValue() > getBestCluster().getObjFnValue()) {\r\n/* 77:169 */ setBestCluster(this.currentPopulation_d.getCluster(i).cloneCluster());\r\n/* 78: */ }\r\n/* 79: */ }\r\n/* 80: */ }\r\n/* 81:173 */ return end;\r\n/* 82: */ }\r\n/* 83: */ catch (Exception e) {}\r\n/* 84:176 */ return false;\r\n/* 85: */ }", "title": "" }, { "docid": "cd0858d4d5900a04ca9aad06f262e64b", "score": "0.5382277", "text": "@Test\n public void test134() throws Throwable {\n double double0 = MathUtils.binomialCoefficientDouble(0, (-1));\n }", "title": "" }, { "docid": "ddc835996844e24948575f4a4c37a851", "score": "0.5381115", "text": "public static void main(String args[] ) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int N = Integer.parseInt(line);\n for (int j = 0; j < N; j++) {\n //reading first test case condition\n\t\tint Q = Integer.parseInt(br.readLine());\n\t\tfor (int i = 0; i < Q; i++) {\n\t\t\tString currentNumber = br.readLine();\n \t\tint n = Integer.parseInt(currentNumber);\n\n\t\t\tif(specialCurrent(n)){\n\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tint specialLess=specialLess(n);\n\t\t\t\tint specialGreater=specialGreater(n);\n\t\t\t\n\t\t\t\tint absdiff1=Math.abs(n-specialLess);\n\t\t\t\tint absdiff2=Math.abs(n-specialGreater);\n\t\t\t\tif(absdiff1<absdiff2){\n\t\t\t\tSystem.out.println(absdiff1);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\tSystem.out.println(absdiff2);\n\t\t\t\t}\n\t\t\t}\t\t\n\t\t\t\t\n\t\t}\n\t\t\n\n }\n\t\n\n }", "title": "" }, { "docid": "9d227099353ac101d2b8c8c47a4f74b9", "score": "0.538071", "text": "@Test\n public void testLogP() {\n System.out.println(\"logP\");\n ChiSquareDistribution instance = new ChiSquareDistribution(20);\n instance.rand();\n assertEquals(Math.log(2.559896e-18), instance.logp(0.1), 1E-5);\n assertEquals(Math.log(1.632262e-09), instance.logp(1), 1E-5);\n assertEquals(Math.log(0.01813279), instance.logp(10), 1E-5);\n assertEquals(Math.log(0.0625550), instance.logp(20), 1E-5);\n assertEquals(Math.log(7.2997e-05), instance.logp(50), 1E-5);\n assertEquals(Math.log(5.190544e-13), instance.logp(100), 1E-5);\n }", "title": "" }, { "docid": "87e5e942902edd4bf95e5bcd69c89aa7", "score": "0.53710335", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"115-123\", 0);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n double double0 = jRip_NumericAntd0.getSplitPoint();\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n }", "title": "" }, { "docid": "146e57199a6387072a9e3f2f858a9d25", "score": "0.536975", "text": "@Test\n public void test041() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(1, Integer.MIN_VALUE);\n }", "title": "" }, { "docid": "af6682629cd44949b94105e6aa0bdd08", "score": "0.53680724", "text": "private int optimize(Goal goal) {\n int n;\n int n2 = 0;\n int n3 = 0;\n for (n = 0; n < this.mNumColumns; ++n) {\n this.mAlreadyTestedCandidates[n] = false;\n }\n int n4 = 0;\n n = n2;\n while (n == 0) {\n float f;\n int n5 = n3 + 1;\n Object object = goal.getPivotCandidate();\n n2 = n;\n Object object2 = object;\n n3 = n4++;\n if (object != null) {\n if (this.mAlreadyTestedCandidates[((SolverVariable)object).id]) {\n object2 = null;\n n3 = n4;\n n2 = n;\n } else {\n this.mAlreadyTestedCandidates[object.id] = true;\n n2 = n;\n object2 = object;\n n3 = n4;\n if (n4 >= this.mNumColumns) {\n n2 = 1;\n object2 = object;\n n3 = n4;\n }\n }\n }\n if (object2 != null) {\n f = Float.MAX_VALUE;\n n4 = -1;\n } else {\n n = 1;\n n4 = n3;\n n3 = n5;\n continue;\n }\n for (n = 0; n < this.mNumRows; ++n) {\n float f2;\n int n6;\n object = this.mRows[n];\n if (object.variable.mType == SolverVariable.Type.UNRESTRICTED) {\n n6 = n4;\n f2 = f;\n } else {\n f2 = f;\n n6 = n4;\n if (((ArrayRow)object).hasVariable((SolverVariable)object2)) {\n float f3 = ((ArrayRow)object).variables.get((SolverVariable)object2);\n f2 = f;\n n6 = n4;\n if (f3 < 0.0f) {\n f3 = -((ArrayRow)object).constantValue / f3;\n f2 = f;\n n6 = n4;\n if (f3 < f) {\n f2 = f3;\n n6 = n;\n }\n }\n }\n }\n f = f2;\n n4 = n6;\n }\n if (n4 > -1) {\n object = this.mRows[n4];\n object.variable.definitionId = -1;\n ((ArrayRow)object).pivot((SolverVariable)object2);\n object.variable.definitionId = n4;\n for (n = 0; n < this.mNumRows; ++n) {\n this.mRows[n].updateRowWithEquation((ArrayRow)object);\n }\n goal.updateFromSystem(this);\n try {\n this.enforceBFS(goal);\n n = n2;\n n4 = n3;\n n3 = n5;\n }\n catch (Exception exception) {\n exception.printStackTrace();\n n = n2;\n n4 = n3;\n n3 = n5;\n }\n continue;\n }\n n = 1;\n n4 = n3;\n n3 = n5;\n }\n return n3;\n }", "title": "" }, { "docid": "dad6f4588849bb085135d0c2063b5ff2", "score": "0.5355685", "text": "@Test\n public void test26() throws Throwable {\n Complex complex0 = Complex.valueOf(4058.9367);\n Complex complex1 = complex0.pow(4058.9367);\n Complex complex2 = complex1.reciprocal();\n Complex complex3 = complex1.sin();\n Complex complex4 = complex1.multiply(0);\n Complex complex5 = complex0.add(complex1);\n Complex complex6 = complex1.multiply(complex0);\n boolean boolean0 = complex0.isInfinite();\n Complex complex7 = complex6.pow(4058.9367);\n Complex complex8 = complex5.subtract((-1930.5956684063));\n double double0 = complex5.getImaginary();\n Complex complex9 = complex0.reciprocal();\n Complex complex10 = complex6.negate();\n }", "title": "" }, { "docid": "3dae57e130c0efc2d7a53e35a1d1cc66", "score": "0.53411716", "text": "public double questionNaive() {\n double mult = 1;\n for (int i = 11; i < 100; i++) {\n if (i % 10 == 0) continue;\n int down1 = i / 10;\n int down2 = i % 10;\n for (int j = 11; j < i; j++) {\n if (j % 10 == 0) continue;\n int up1 = j / 10;\n int up2 = j % 10;\n if (down1 == up1) {\n mult *= multiplier(i, down2, j, up2);\n }\n if (down1 == up2) {\n mult *= multiplier(i, down2, j, up1);\n }\n if (down2 == up1) {\n mult *= multiplier(i, down1, j, up2);\n }\n if (down2 == up2) {\n mult *= multiplier(i, down1, j, up1);\n }\n }\n\n }\n return 1 / mult;\n }", "title": "" }, { "docid": "f914185d358198a4a4e2346aad18ea1e", "score": "0.533377", "text": "public static void main(String[] args) {\n\tlong[] tests = { 1, 17, 16, 6 };\n\n\tfor (long s : tests) {\n\t Change m = Solution2.optimalChange2(s);\n\t Solution2.printResult(m, s);\n\t}\n }", "title": "" }, { "docid": "672574a30da7dacc0dc4874e660b4eaf", "score": "0.5332653", "text": "@Test\n public void test36() throws Throwable {\n Complex complex0 = Complex.valueOf(0.0);\n Complex complex1 = complex0.tan();\n Complex complex2 = Complex.valueOf(0.0);\n Complex complex3 = complex0.log();\n int int0 = complex0.hashCode();\n Complex complex4 = complex3.sqrt();\n Complex complex5 = Complex.valueOf(0.0, 0.0);\n Complex complex6 = complex0.tanh();\n Complex complex7 = complex3.subtract(complex0);\n Complex complex8 = Complex.valueOf(0.0);\n String string0 = complex6.toString();\n Complex complex9 = complex3.sin();\n Complex complex10 = complex6.tan();\n Complex complex11 = new Complex(0.0, (-1212.0));\n Complex complex12 = complex9.cosh();\n Complex complex13 = complex9.atan();\n Complex complex14 = complex12.multiply(complex3);\n Complex complex15 = complex1.multiply((-1621));\n }", "title": "" }, { "docid": "e2d29e11243d3cd59301a15c55760654", "score": "0.53280026", "text": "public static void main(String[] args) {\n final int N = Integer.parseUnsignedInt(args[0]);\n\n // Create, seed, and prime a random number generator\n Random rand = new Random(System.currentTimeMillis());\n for (int i = 0; i < 1000; i++) {\n rand.nextInt();\n }\n\n /* ******************* PROBLEM NUMBER 1 *********************** */\n System.out.println(\"===============================\\n\\tPROBLEM # 1\\n===============================\");\n\n // Create a pair of Rational variables and initialize them to 'null'\n Rational lhs = null, rhs = null;\n\n // Create two new Rational objects to perform operations on using random ints, with the denominator between one and\n // n, and the numerator between zero and n, and randomly assigned a positive or negative sign\n try {\n if (rand.nextBoolean()) {\n lhs = new Rational(rand.nextInt(N), rand.nextInt(N) + 1);\n } else {\n lhs = new Rational(rand.nextInt(N) * -1, rand.nextInt(N) + 1);\n }\n\n if (rand.nextBoolean()) {\n rhs = new Rational(rand.nextInt(N), rand.nextInt(N) + 1);\n } else {\n rhs = new Rational(rand.nextInt(N) * -1, rand.nextInt(N) + 1);\n }\n } catch (Exception e) {\n // If exception is thrown by the Rational constructor, one or both variables will be null, so print an error\n // message and exit\n e.printStackTrace(System.err);\n System.err.println(\"[Error]: Rational object creation failed. One or both are null.\");\n System.exit(1);\n }\n\n // Print the generated Rationals before performing operations to verify the output of the class's operation methods\n System.out.println(\"The LHS Rational == '\" + lhs.toString() + \"' and the RHS Rational == '\" + rhs.toString() + \"'\");\n\n /* Test the Rational.Add() method */\n try {\n Rational result = lhs.Add(rhs);\n System.out.println(\" Addition resulted in '\" + result.toString());\n } catch (Exception e) {\n System.err.println(e.getMessage());\n e.printStackTrace(System.err);\n }\n /* Test the Rational.Subtract() method */\n try {\n Rational result = lhs.Subtract(rhs);\n System.out.println(\" Subtraction resulted in '\" + result.toString());\n } catch (Exception e) {\n System.err.println(e.getMessage());\n e.printStackTrace(System.err);\n }\n /* Test the Rational.Multiply() method */\n try {\n Rational result = lhs.Multiply(rhs);\n System.out.println(\" Multiplication resulted in '\" + result.toString());\n } catch (Exception e) {\n System.err.println(e.getMessage());\n e.printStackTrace(System.err);\n }\n /* Test the Rational.Divide() method */\n try {\n Rational result = lhs.Divide(rhs);\n System.out.println(\" Division resulted in '\" + result.toString());\n } catch (Exception e) {\n System.err.println(e.getMessage());\n e.printStackTrace(System.err);\n }\n\n /* ******************* PROBLEM NUMBER 2 *********************** */\n System.out.println(\"\\n\\n===============================\\n\\tPROBLEM # 2\\n===============================\");\n\n ParkingMeter pm = new ParkingMeter(\n Integer.parseUnsignedInt(args[1]),\n Integer.parseUnsignedInt(args[2]),\n Integer.parseUnsignedInt(args[3])\n );\n/*\n // Test the ParkingMeter.GetMaxTime() method\n System.out.println(\"Max Time: \" + pm.GetMaxTime());\n\n // Test the ParkingMeter.GetRate() method\n System.out.println(\"Per Quarter Rate: \" + pm.GetRate());\n\n // Test the ParkingMeter.GetTimeRemaining() method\n System.out.println(\"Time Remaining At Start: \" + pm.GetTimeRemaining());\n\n // Use a set number of quarters\n int quarters = Integer.parseUnsignedInt(args[4]);\n\n // Test the ParkingMeter.AddTime() method\n pm.AddTime();\n quarters--;\n while (quarters > 0) {\n try {\n Thread.sleep(10000);\n System.out.println(\"Time Remaining After Sleep: \" + pm.GetTimeRemaining());\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n pm.AddTime();\n quarters--;\n }\n pm.Shutdown();\n*/\n /* ******************* PROBLEM NUMBER 3 *********************** */\n System.out.println(\"\\n\\n===============================\\n\\tPROBLEM # 3\\n===============================\");\n\n Car car = new Car(Float.parseFloat(args[5]), Float.parseFloat(args[6]));\n System.out.println(\"Fuel capacity for the car: \" + car.GetCapacity());\n System.out.println(\"Fuel efficiency for the car: \" + car.GetEfficiency());\n System.out.println(\"Maximum range for the car: \" + (car.GetEfficiency()*car.GetCapacity()));\n System.out.println(\"------------------\\nAdding gas to the car\\n------------------\");\n System.out.println(car.ReportGas());\n car.Drive(10.0F);\n car.AddGas(car.GetCapacity()*0.25F);\n System.out.println(car.ReportGas());\n System.out.println(\"With this much gas, the car can drive \" + (car.GetGas()*car.GetEfficiency()) + \" miles\");\n\n System.out.println(\"------------------\\nDriving until out of gas\\n------------------\");\n while(car.GetGas() > 0.0F){\n car.Drive(10.0F);\n System.out.println(\"\\t\" + car.ReportGas());\n }\n\n System.out.println(\"------------------\\nFilling up at a gas station until full\\n------------------\");\n car.AddGas(car.GetCapacity());\n System.out.println(\"\\t\" + car.ReportGas());\n System.out.println(\"------------------\\nDriving until out of gas\\n------------------\");\n while(car.GetGas() > 0.0F){\n car.Drive(10.0F);\n System.out.println(\"\\t\" + car.ReportGas());\n }\n\n /* ******************* PROBLEM NUMBER 4 *********************** */\n System.out.println(\"\\n\\n===============================\\n\\tPROBLEM # 4\\n===============================\");\n\n\n }", "title": "" }, { "docid": "35144cdc862bcc5a65dea0c411a879de", "score": "0.5325126", "text": "@Test\n public void testCalCodeToBreak() {\n ErrorView.display(this.getClass().getName(),\"calCodeToBreak\");\n ErrorView.display(this.getClass().getName(),\"testcase1\");\n double height = 50.0;\n double base = 100.0;\n GateControl instance = new GateControl();\n double expResult = 2500.0;\n double result = instance.calCodeToBreak(height, base);\n assertEquals(expResult, result,.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase2\");\n double height2 = -1.0;\n double base2 = 100.0;\n GateControl instance2 = new GateControl();\n double expResult2 = -1.0;\n double result2 = instance2.calCodeToBreak(height2, base2);\n assertEquals(expResult2, result2, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase3\");\n double height3 = 200.0;\n double base3 = -2;\n GateControl instance3 = new GateControl();\n double expResult3 = -2;\n double result3 = instance3.calCodeToBreak(height3, base3);\n assertEquals(expResult3, result3, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase4\");\n double height4 = 2000.0;\n double base4 = 250000.0;\n GateControl instance4 = new GateControl();\n double expResult4 = -2;\n double result4 = instance4.calCodeToBreak(height4, base4);\n assertEquals(expResult4, result4, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase5\");\n double height5 = 300000.0;\n double base5 = 5000.0;\n GateControl instance5 = new GateControl();\n double expResult5 = -1.0;\n double result5 = instance5.calCodeToBreak(height5, base5);\n assertEquals(expResult5, result5, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase6\");\n double height6 = 1.0;\n double base6 = 12.0;\n GateControl instance6 = new GateControl();\n double expResult6 = 6.0;\n double result6 = instance6.calCodeToBreak(height6, base6);\n assertEquals(expResult6, result6, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase7\");\n double height7 = 24.0;\n double base7 = 1.0;\n GateControl instance7 = new GateControl();\n double expResult7 = 12.0;\n double result7 = instance2.calCodeToBreak(height7, base7);\n assertEquals(expResult7, result7, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase8\");\n double height8 = 10000.0;\n double base8 = 2.0;\n GateControl instance8 = new GateControl();\n double expResult8 = 10000.0;\n double result8 = instance8.calCodeToBreak(height8, base8);\n assertEquals(expResult8, result8, 0.0001);\n }", "title": "" }, { "docid": "951bf69270ce3a734396c962a47056b8", "score": "0.532373", "text": "public void run()\r\n\t{\r\n\t\tString num = \"7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387493035890729629049156044077239071381051585930796086670172427121883998797908792274921901699720888093776657273330010533678812202354218097512545405947522435258490771167055601360483958644670632441572215539753697817977846174064955149290862569321978468622482839722413756570560574902614079729686524145351004748216637048440319989000889524345065854122758866688116427171479924442928230863465674813919123162824586178664583591245665294765456828489128831426076900422421902267105562632111110937054421750694165896040807198403850962455444362981230987879927244284909188845801561660979191338754992005240636899125607176060588611646710940507754100225698315520005593572972571636269561882670428252483600823257530420752963450\";\r\n\t\tSystem.out.println(num);\r\n\t\tint greatest = 0;\r\n\t\tfor(int i = 0; i < num.length()-5; i++){//O(5n) => O(n)\r\n\t\t\tString x = num.substring(i, i+5);\r\n\t\t\tint product = Integer.parseInt(x.substring(0, 1));\r\n\t\t\tfor(int j = 1; j < 5; j++){\r\n\t\t\t\tproduct *= Integer.parseInt(x.substring(j, j+1));\r\n\t\t\t}\r\n\t\t\tgreatest = (product > greatest) ? product : greatest;\r\n\t\t}\r\n\t\tSystem.out.println(\"The greatest product of 5 consecutive digits in the above number is \"+Integer.toString(greatest));\r\n\t}", "title": "" }, { "docid": "7d84fdf280179bfd0426cf1e16a88c2a", "score": "0.5320594", "text": "public void solve(int testNumber, LightScanner in, LightWriter out) {\n int testCases = in.ints();\n int[] ans = new int[1_000_000];\n int[] b = new int[1_000_000];\n boolean[] visited = new boolean[1_000_000];\n\n for (int testCase = 0; testCase < testCases; testCase++) {\n int n = in.ints();\n for (int i = 0; i < n; i++) {\n b[i] = i - in.ints();\n }\n\n if (n == 1) {\n out.print(\"1\\n1\\n\");\n continue;\n }\n\n int len = 0;\n for (int i = 0; i < n; i++) {\n visited[i] = false;\n }\n\n int cur = 0, start = -1;\n while (len <= n){\n if (visited[cur]) {\n start = cur;\n break;\n }\n visited[cur] = true;\n ans[len++] = cur;\n cur = b[cur];\n }\n\n if (start == -1) throw new RuntimeException();\n\n int startIndex = 0;\n while (ans[startIndex] != start) startIndex++;\n out.ans(len - startIndex).ln();\n for (int i = startIndex; i < len; i++) out.ans(ans[i] + 1);\n out.ln();\n }\n out.flush();\n }", "title": "" }, { "docid": "8c4d7a78aeed452604357beff9083e5f", "score": "0.53199476", "text": "@Test\n public void testCeilLogBase2() {\n \ttry {\n \t\tByteUtils.ceilLogBaseTwo(0);\n \t\tfail(\"Expected an illegal argument exception\");\n \t} catch (IllegalArgumentException expected) {} \n \ttry {\n \t\tByteUtils.ceilLogBaseTwo(-1);\n \t\tfail(\"Expected an illegal argument exception\");\n \t} catch (IllegalArgumentException expected) {} \n \ttry {\n \t\tByteUtils.ceilLogBaseTwo(-65537);\n \t\tfail(\"Expected an illegal argument exception\");\n \t} catch (IllegalArgumentException expected) {} \t\n \t\n \tassertEquals(\"ceil log base 2\", 0, ByteUtils.ceilLogBaseTwo(1));\n \tassertEquals(\"ceil log base 2\", 1, ByteUtils.ceilLogBaseTwo(2));\n \tassertEquals(\"ceil log base 2\", 2, ByteUtils.ceilLogBaseTwo(3));\n \tassertEquals(\"ceil log base 2\", 2, ByteUtils.ceilLogBaseTwo(4));\n \tassertEquals(\"ceil log base 2\", 3, ByteUtils.ceilLogBaseTwo(5));\n \tassertEquals(\"ceil log base 2\", 5, ByteUtils.ceilLogBaseTwo(31));\n \tassertEquals(\"ceil log base 2\", 5, ByteUtils.ceilLogBaseTwo(32));\n \tassertEquals(\"ceil log base 2\", 6, ByteUtils.ceilLogBaseTwo(33));\n \tassertEquals(\"ceil log base 2\", 6, ByteUtils.ceilLogBaseTwo(63));\n \tassertEquals(\"ceil log base 2\", 6, ByteUtils.ceilLogBaseTwo(64));\n \tassertEquals(\"ceil log base 2\", 7, ByteUtils.ceilLogBaseTwo(65));\n \tassertEquals(\"ceil log base 2\", 7, ByteUtils.ceilLogBaseTwo(127));\n \tassertEquals(\"ceil log base 2\", 7, ByteUtils.ceilLogBaseTwo(128));\n \tassertEquals(\"ceil log base 2\", 8, ByteUtils.ceilLogBaseTwo(129));\n \tassertEquals(\"ceil log base 2\", 8, ByteUtils.ceilLogBaseTwo(255));\n }", "title": "" }, { "docid": "ccc2cf15831be765d66103a878775db9", "score": "0.5319512", "text": "@Test\n public void test028() throws Throwable {\n double double0 = MathUtils.log(1.0, (-553.09368715371));\n }", "title": "" }, { "docid": "ad60410ccbb928e2278bd010c4f1d403", "score": "0.5316929", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.foldsTipText();\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(\"Determines the amount of data used for pruning. One fold is used for pruning, the rest for growing the rules.\", string0);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getUsePruning());\n }", "title": "" }, { "docid": "93f85cd8fa503da37751d548e0b38e9f", "score": "0.5315886", "text": "public void testJavaRandom()\n {\n \tint dimension = 1; // return 1 random number\n \tint seed = 1;\n \t\n \t\n \tRandomBase JavaRandomInst = new JavaRandom(dimension,seed, \"JavaRandom\");\n \t\n \t\n \t// test using montecarlo integration\n \t\n \tFunction expFunction = new Function() {\n \t\tpublic double fn(double x)\n \t\t{\n \t\t\tdouble xsquared = Math.pow(x, 2);\n \t\t\tdouble y = Math.exp(-xsquared);\n \t\t\t\n \t\t\treturn y;\n \t\t}\n \t\t\n \t};\n \t\n \tint numberOfSamples = numberOfIntegrationSamples;\n \n \tMonteCarloIntegration m = new MonteCarloIntegration(numberOfSamples);\n\t\tm.setFunctionToIntegrate(expFunction);\n\t\tm.setRandomGenerator(JavaRandomInst);\n\t \n\t \n\t double integral = m.calcIntegral();\n\t \n\t \n\t //from http://www.wolframalpha.com/widgets/view.jsp?id=8ab70731b1553f17c11a3bbc87e0b605\n\t double testvalue = 0.74682413281242;\n\t \n\t double toleranceUpper = 0.0025;\t//java random shows wide range of convergence\n\t double toleranceLower = 0.0005;\n\t \n\t double difference = Math.abs(integral-testvalue);\n\t \n\t assertTrue(difference < toleranceUpper);\n\t assertTrue(difference > toleranceLower);\n \t\n }", "title": "" }, { "docid": "52b24f39508ef7e3302d761673ed24ef", "score": "0.5309323", "text": "@Test\n public void test136() throws Throwable {\n double double0 = MathUtils.binomialCoefficientDouble((short)1, 0);\n }", "title": "" }, { "docid": "ec15fd205c93776139347d5ac7b10d7f", "score": "0.5308475", "text": "@Test(timeout = 4000)\n public void test20() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.optimizationsTipText();\n assertEquals(3, jRip0.getFolds());\n assertFalse(jRip0.getDebug());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(\"The number of optimization runs.\", string0);\n }", "title": "" }, { "docid": "85af61f4f2a5c1df49d4962e7ddeb264", "score": "0.5307266", "text": "private double factorial (double num)\r\n\t\t{\r\n\t\t\tif (num < 2) return 1;\r\n\t\t\telse \r\n\t\t\t{\r\n\t\t\t\tdouble res = 1;\r\n\t\t\t\twhile (num > 0) // Recursivitat en java = Suicidi. Don't try. Seriously\r\n\t\t\t\t{\r\n\t\t\t\t\tres *= num;\r\n\t\t\t\t\t--num;\r\n\t\t\t\t}\r\n\t\t\t\treturn res;\t\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "d6ac6a7cbb77e53cedd653316c343cb9", "score": "0.5306258", "text": "@Test\n public void test29() throws Throwable {\n Complex complex0 = Complex.valueOf(262.001, 262.001);\n double double0 = complex0.getArgument();\n Complex complex1 = complex0.negate();\n Complex complex2 = complex0.pow(262.001);\n Complex complex3 = complex0.multiply(0.7853981633974483);\n Complex complex4 = complex2.conjugate();\n Complex complex5 = Complex.valueOf(0.7853981633974483);\n Complex complex6 = complex2.multiply(complex0);\n Complex complex7 = complex1.pow(0.7853981633974483);\n Complex complex8 = complex0.exp();\n Complex complex9 = complex1.subtract(complex2);\n Complex complex10 = complex1.cosh();\n Complex complex11 = complex6.acos();\n Complex complex12 = complex0.divide(complex4);\n String string0 = complex4.toString();\n Complex complex13 = complex6.createComplex(262.001, 262.001);\n Complex complex14 = complex4.multiply(0);\n Complex complex15 = complex13.tanh();\n }", "title": "" }, { "docid": "55ada98a879a6e0074e824bbc99461e1", "score": "0.5305153", "text": "public boolean method_6351(ahb var1, Random var2, int var3, int var4, int var5) {\r\n int var7 = var2.nextInt(3) + var2.nextInt(3) + 5;\r\n String[] var10000 = class_752.method_4253();\r\n int var8 = 1;\r\n String[] var6 = var10000;\r\n int var25 = var4;\r\n if(var6 != null) {\r\n if(var4 >= 1) {\r\n label412: {\r\n var25 = var4 + var7 + 1;\r\n if(var6 != null) {\r\n if(var25 > 256) {\r\n break label412;\r\n }\r\n\r\n var25 = var4;\r\n }\r\n\r\n int var9 = var25;\r\n\r\n int var11;\r\n int var12;\r\n int var10001;\r\n label400:\r\n while(true) {\r\n var25 = var9;\r\n\r\n label397:\r\n while(var25 <= var4 + 1 + var7) {\r\n byte var10 = 1;\r\n var25 = var9;\r\n if(var6 == null) {\r\n break label400;\r\n }\r\n\r\n var10001 = var4;\r\n if(var6 != null) {\r\n if(var9 == var4) {\r\n var10 = 0;\r\n }\r\n\r\n var25 = var9;\r\n var10001 = var4 + 1 + var7 - 2;\r\n }\r\n\r\n if(var6 != null) {\r\n if(var25 >= var10001) {\r\n var10 = 2;\r\n }\r\n\r\n var25 = var3;\r\n var10001 = var10;\r\n }\r\n\r\n var11 = var25 - var10001;\r\n\r\n label394:\r\n do {\r\n var25 = var11;\r\n\r\n label391:\r\n while(true) {\r\n if(var25 > var3 + var10) {\r\n break label394;\r\n }\r\n\r\n var25 = var8;\r\n if(var6 == null) {\r\n continue label397;\r\n }\r\n\r\n if(var6 != null) {\r\n if(var8 == 0) {\r\n break label394;\r\n }\r\n\r\n var25 = var5 - var10;\r\n }\r\n\r\n var12 = var25;\r\n\r\n while(true) {\r\n if(var12 > var5 + var10) {\r\n break label391;\r\n }\r\n\r\n var25 = var8;\r\n if(var6 == null) {\r\n break;\r\n }\r\n\r\n if(var6 != null) {\r\n if(var8 == 0) {\r\n break label391;\r\n }\r\n\r\n var25 = var9;\r\n }\r\n\r\n label386: {\r\n if(var6 != null) {\r\n label384: {\r\n if(var25 >= 0) {\r\n var25 = var9;\r\n if(var6 == null) {\r\n break label384;\r\n }\r\n\r\n if(var9 < 256) {\r\n label374: {\r\n aji var13 = var1.getBlock(var11, var9, var12);\r\n byte var29 = this.method_6362(var13);\r\n if(var6 != null) {\r\n if(var29 != 0) {\r\n break label374;\r\n }\r\n\r\n var29 = 0;\r\n }\r\n\r\n var8 = var29;\r\n }\r\n\r\n if(var6 != null) {\r\n break label386;\r\n }\r\n }\r\n }\r\n\r\n var25 = 0;\r\n }\r\n }\r\n\r\n var8 = var25;\r\n }\r\n\r\n ++var12;\r\n if(var6 == null) {\r\n break label391;\r\n }\r\n }\r\n }\r\n\r\n ++var11;\r\n } while(var6 != null);\r\n\r\n ++var9;\r\n if(var6 != null) {\r\n continue label400;\r\n }\r\n break;\r\n }\r\n\r\n var25 = var8;\r\n break;\r\n }\r\n\r\n if(var6 != null) {\r\n if(var25 != 0) {\r\n label337: {\r\n aji var22 = var1.getBlock(var3, var4 - 1, var5);\r\n aji var30 = var22;\r\n Object var27 = class_1192.field_6027;\r\n if(var6 != null) {\r\n if(var22 == class_1192.field_6027) {\r\n break label337;\r\n }\r\n\r\n var30 = var22;\r\n var27 = class_1192.field_6028;\r\n }\r\n\r\n if(var30 != var27) {\r\n return false;\r\n }\r\n }\r\n\r\n var25 = var4;\r\n if(var6 != null) {\r\n if(var4 >= 256 - var7 - 1) {\r\n return false;\r\n }\r\n\r\n this.method_6353(var1, var3, var4 - 1, var5, class_1192.field_6028);\r\n var25 = var2.nextInt(4);\r\n }\r\n\r\n int var23 = var25;\r\n var11 = var7 - var2.nextInt(4) - 1;\r\n var12 = 3 - var2.nextInt(3);\r\n int var24 = var3;\r\n int var14 = var5;\r\n int var15 = 0;\r\n int var16 = 0;\r\n\r\n int var17;\r\n byte var31;\r\n label419: {\r\n while(true) {\r\n if(var16 < var7) {\r\n label421: {\r\n var17 = var4 + var16;\r\n var25 = var16;\r\n if(var6 != null) {\r\n var10001 = var11;\r\n if(var6 == null) {\r\n break;\r\n }\r\n\r\n if(var16 < var11) {\r\n break label421;\r\n }\r\n\r\n var25 = var12;\r\n }\r\n\r\n if(var6 != null) {\r\n if(var25 <= 0) {\r\n break label421;\r\n }\r\n\r\n var24 += class_1649.field_8587[var23];\r\n var25 = var14 + class_1649.field_8588[var23];\r\n }\r\n\r\n var14 = var25;\r\n --var12;\r\n }\r\n\r\n label290: {\r\n aji var18 = var1.getBlock(var24, var17, var14);\r\n if(var6 != null) {\r\n if(var18.method_2424() != awt.field_4170 && var18.method_2424() != awt.field_4179) {\r\n break label290;\r\n }\r\n\r\n this.method_6354(var1, var24, var17, var14, class_1192.field_6043, 0);\r\n }\r\n\r\n var15 = var17;\r\n }\r\n\r\n ++var16;\r\n if(var6 != null) {\r\n continue;\r\n }\r\n\r\n var16 = -1;\r\n } else {\r\n var16 = -1;\r\n }\r\n\r\n var25 = var16;\r\n var10001 = 1;\r\n break;\r\n }\r\n\r\n while(var25 <= var10001) {\r\n var31 = -1;\r\n if(var6 == null) {\r\n break label419;\r\n }\r\n\r\n var17 = -1;\r\n\r\n while(true) {\r\n if(var17 <= 1) {\r\n this.method_6368(var1, var24 + var16, var15 + 1, var14 + var17);\r\n ++var17;\r\n if(var6 == null) {\r\n break;\r\n }\r\n\r\n if(var6 != null) {\r\n continue;\r\n }\r\n }\r\n\r\n ++var16;\r\n break;\r\n }\r\n\r\n if(var6 == null) {\r\n break;\r\n }\r\n\r\n var25 = var16;\r\n var10001 = 1;\r\n }\r\n\r\n this.method_6368(var1, var24 + 2, var15 + 1, var14);\r\n this.method_6368(var1, var24 - 2, var15 + 1, var14);\r\n this.method_6368(var1, var24, var15 + 1, var14 + 2);\r\n this.method_6368(var1, var24, var15 + 1, var14 - 2);\r\n var31 = -3;\r\n }\r\n\r\n var16 = var31;\r\n\r\n byte var28;\r\n label270:\r\n while(true) {\r\n var25 = var16;\r\n var28 = 3;\r\n\r\n label267:\r\n while(var25 <= var28) {\r\n var25 = -3;\r\n if(var6 == null) {\r\n break label270;\r\n }\r\n\r\n var17 = -3;\r\n\r\n while(var17 <= 3) {\r\n var25 = Math.abs(var16);\r\n var28 = 3;\r\n if(var6 == null) {\r\n continue label267;\r\n }\r\n\r\n label261: {\r\n label260: {\r\n if(var6 != null) {\r\n if(var25 != 3) {\r\n break label260;\r\n }\r\n\r\n var25 = Math.abs(var17);\r\n var28 = 3;\r\n }\r\n\r\n if(var25 == var28 && var6 != null) {\r\n break label261;\r\n }\r\n }\r\n\r\n this.method_6368(var1, var24 + var16, var15, var14 + var17);\r\n }\r\n\r\n ++var17;\r\n if(var6 == null) {\r\n break;\r\n }\r\n }\r\n\r\n ++var16;\r\n if(var6 != null) {\r\n continue label270;\r\n }\r\n break;\r\n }\r\n\r\n var24 = var3;\r\n var14 = var5;\r\n var16 = var2.nextInt(4);\r\n var25 = var16;\r\n break;\r\n }\r\n\r\n if(var6 != null) {\r\n if(var25 != var23) {\r\n var17 = var11 - var2.nextInt(2) - 1;\r\n int var26 = 1 + var2.nextInt(3);\r\n var15 = 0;\r\n int var19 = var17;\r\n\r\n int var20;\r\n while(true) {\r\n if(var19 < var7) {\r\n var25 = var26;\r\n if(var6 == null || var6 == null) {\r\n break;\r\n }\r\n\r\n if(var26 > 0) {\r\n label429: {\r\n var25 = var19;\r\n var10001 = 1;\r\n if(var6 != null) {\r\n if(var19 < 1 && var6 != null) {\r\n break label429;\r\n }\r\n\r\n var25 = var4;\r\n var10001 = var19;\r\n }\r\n\r\n var20 = var25 + var10001;\r\n var24 += class_1649.field_8587[var16];\r\n var14 += class_1649.field_8588[var16];\r\n aji var21 = var1.getBlock(var24, var20, var14);\r\n if(var6 != null) {\r\n if(var21.method_2424() != awt.field_4170 && var21.method_2424() != awt.field_4179) {\r\n break label429;\r\n }\r\n\r\n this.method_6354(var1, var24, var20, var14, class_1192.field_6043, 0);\r\n }\r\n\r\n var15 = var20;\r\n }\r\n\r\n ++var19;\r\n --var26;\r\n if(var6 != null) {\r\n continue;\r\n }\r\n }\r\n }\r\n\r\n var25 = var15;\r\n break;\r\n }\r\n\r\n if(var6 == null) {\r\n return (boolean)var25;\r\n }\r\n\r\n if(var25 > 0) {\r\n var19 = -1;\r\n\r\n while(true) {\r\n if(var19 <= 1) {\r\n var31 = -1;\r\n if(var6 == null) {\r\n break;\r\n }\r\n\r\n var20 = -1;\r\n\r\n while(true) {\r\n if(var20 <= 1) {\r\n this.method_6368(var1, var24 + var19, var15 + 1, var14 + var20);\r\n ++var20;\r\n if(var6 == null) {\r\n break;\r\n }\r\n\r\n if(var6 != null) {\r\n continue;\r\n }\r\n }\r\n\r\n ++var19;\r\n break;\r\n }\r\n\r\n if(var6 != null) {\r\n continue;\r\n }\r\n }\r\n\r\n var31 = -2;\r\n break;\r\n }\r\n\r\n var19 = var31;\r\n\r\n label233:\r\n do {\r\n var25 = var19;\r\n var28 = 2;\r\n\r\n label230:\r\n while(true) {\r\n if(var25 > var28) {\r\n break label233;\r\n }\r\n\r\n var25 = -2;\r\n if(var6 == null) {\r\n return (boolean)var25;\r\n }\r\n\r\n var20 = -2;\r\n\r\n while(true) {\r\n if(var20 > 2) {\r\n break label230;\r\n }\r\n\r\n var25 = Math.abs(var19);\r\n var28 = 2;\r\n if(var6 == null) {\r\n break;\r\n }\r\n\r\n label169: {\r\n label168: {\r\n if(var6 != null) {\r\n if(var25 != 2) {\r\n break label168;\r\n }\r\n\r\n var25 = Math.abs(var20);\r\n var28 = 2;\r\n }\r\n\r\n if(var25 == var28 && var6 != null) {\r\n break label169;\r\n }\r\n }\r\n\r\n this.method_6368(var1, var24 + var19, var15, var14 + var20);\r\n }\r\n\r\n ++var20;\r\n if(var6 == null) {\r\n break label230;\r\n }\r\n }\r\n }\r\n\r\n ++var19;\r\n } while(var6 != null);\r\n }\r\n }\r\n\r\n var25 = 1;\r\n }\r\n\r\n return (boolean)var25;\r\n }\r\n\r\n var25 = 0;\r\n }\r\n\r\n return (boolean)var25;\r\n }\r\n }\r\n\r\n var25 = 0;\r\n }\r\n\r\n return (boolean)var25;\r\n }", "title": "" }, { "docid": "016803a7bef4f212a5c99a783ea3a788", "score": "0.52993894", "text": "public static int m3770c(java.lang.String r6, java.lang.String r7, java.lang.String r8) {\n /*\n r1 = 0;\n r0 = \"\";\n r0 = 365; // 0x16d float:5.11E-43 double:1.803E-321;\n if (r8 == 0) goto L_0x0018;\n L_0x0007:\n r2 = \"\";\n r2 = r2.equals(r8);\n if (r2 != 0) goto L_0x0018;\n L_0x000f:\n r0 = new java.lang.Integer;\n r0.<init>(r8);\n r0 = r0.intValue();\n L_0x0018:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"\";\n r2 = r2.append(r3);\n r2 = r2.append(r1);\n r2 = r2.toString();\n r2 = m3768b(r6, r7, r2);\n if (r2 == 0) goto L_0x0039;\n L_0x0031:\n r3 = \"\";\n r3 = r3.equals(r2);\n if (r3 == 0) goto L_0x003a;\n L_0x0039:\n return r1;\n L_0x003a:\n r3 = com.expensemanager.ExpenseManager.f3244t;\n r4 = java.util.Locale.US;\n r2 = m3744a(r2, r3, r4);\n r4 = new java.util.Date;\n r4.<init>();\n r4 = r4.getTime();\n r2 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1));\n if (r2 > 0) goto L_0x0039;\n L_0x004f:\n if (r1 >= r0) goto L_0x0039;\n L_0x0051:\n r1 = r1 + 1;\n goto L_0x0018;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.expensemanager.aba.c(java.lang.String, java.lang.String, java.lang.String):int\");\n }", "title": "" }, { "docid": "ee0a5293917e5372ffd81868ea6ff7cd", "score": "0.5294155", "text": "@Test\n public void test27() throws Throwable {\n Complex complex0 = new Complex(Double.POSITIVE_INFINITY, 9.46452492584643E-8);\n Complex complex1 = complex0.sin();\n Complex complex2 = complex0.atan();\n List<Complex> list0 = complex1.nthRoot(2047);\n Complex complex3 = complex1.exp();\n Complex complex4 = complex1.subtract((double) 2047);\n Complex complex5 = complex3.add(complex0);\n Complex complex6 = complex3.sqrt();\n Complex complex7 = complex1.sqrt();\n Complex complex8 = Complex.valueOf(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY);\n Complex complex9 = complex1.multiply((-158));\n Complex complex10 = complex1.cos();\n Complex complex11 = complex3.sin();\n int int0 = complex3.hashCode();\n Complex complex12 = (Complex)complex3.readResolve();\n Complex complex13 = complex3.divide((-2669.9908956));\n Complex complex14 = Complex.valueOf(0.0, 0.0);\n Complex complex15 = complex3.subtract(complex14);\n Complex complex16 = complex8.subtract(complex0);\n Complex complex17 = complex10.exp();\n Complex complex18 = complex3.pow(complex14);\n Complex complex19 = complex8.pow(Double.POSITIVE_INFINITY);\n Complex complex20 = complex14.subtract(1896.163003748);\n Complex complex21 = complex1.tan();\n boolean boolean0 = complex14.isInfinite();\n Complex complex22 = complex11.divide(complex9);\n boolean boolean1 = complex5.isInfinite();\n }", "title": "" }, { "docid": "bdcc134c5acd25c3c81e9ab6f0655b2b", "score": "0.5290166", "text": "@Test\n public void calculateGpaForSemester() {\n double temp = swe2slayers.gpacalculationapplication.controllers.SemesterController.calculateGpaForSemester(semester);\n\n java.math.BigDecimal bd = new java.math.BigDecimal(Double.toString(temp));\n bd = bd.setScale(1, java.math.RoundingMode.HALF_UP);\n temp = bd.doubleValue();\n\n // Assert that the GPA is what it should be\n assertTrue(temp==3.7);\n\n\n\n // ASSERTION 2\n\n // Semester has four courses, each with a grade of 50 which should amount to GPA of 2.0\n course1.setFinalGrade(50);\n course2.setFinalGrade(50);\n course3.setFinalGrade(50);\n course4.setFinalGrade(50);\n\n // Recalculate GPA\n temp = swe2slayers.gpacalculationapplication.controllers.SemesterController.calculateGpaForSemester(semester);\n\n bd = new java.math.BigDecimal(Double.toString(temp));\n bd = bd.setScale(1, java.math.RoundingMode.HALF_UP);\n temp = bd.doubleValue();\n\n // Assert that the GPA is what it should be\n assertTrue(temp==2.0);\n\n\n\n // ASSERTION 3\n\n // Semester has four courses, each with a grade of 30 which should amount to GPA of 1.3\n course1.setFinalGrade(30);\n course2.setFinalGrade(30);\n course3.setFinalGrade(30);\n course4.setFinalGrade(30);\n\n // Recalculate GPA\n temp = swe2slayers.gpacalculationapplication.controllers.SemesterController.calculateGpaForSemester(semester);\n\n bd = new java.math.BigDecimal(Double.toString(temp));\n bd = bd.setScale(1, java.math.RoundingMode.HALF_UP);\n temp = bd.doubleValue();\n\n // Assert that the GPA is what it should be\n assertTrue( temp==1.3);\n\n\n // ASSERTION 4\n\n // Courses are mixed and result in a GPA of 2.5\n course1.setFinalGrade(100); // 4.3\n course2.setFinalGrade(75); // 3.7\n course3.setFinalGrade(50); // 2.0\n course4.setFinalGrade(25); // 0\n\n // Recalculate GPA\n temp = swe2slayers.gpacalculationapplication.controllers.SemesterController.calculateGpaForSemester(semester);\n\n bd = new java.math.BigDecimal(Double.toString(temp));\n bd = bd.setScale(1, java.math.RoundingMode.HALF_UP);\n temp = bd.doubleValue();\n\n // Assert that the GPA is what it should be\n assertTrue(temp==2.5 );\n\n // Reset final grades\n course1.setFinalGrade(75);\n course2.setFinalGrade(75);\n course3.setFinalGrade(75);\n course4.setFinalGrade(75);\n\n }", "title": "" }, { "docid": "e046e271f330683264dcd858b3434a59", "score": "0.52767885", "text": "@Test(timeout = 4000)\n public void test107() throws Throwable {\n ResultMatrixSignificance resultMatrixSignificance0 = new ResultMatrixSignificance();\n ResultMatrixSignificance resultMatrixSignificance1 = new ResultMatrixSignificance(resultMatrixSignificance0);\n int int0 = 1314;\n String[] stringArray0 = new String[22];\n stringArray0[0] = \"(\";\n stringArray0[1] = \"*\";\n stringArray0[2] = \"(\";\n stringArray0[3] = \"v\";\n stringArray0[4] = \" \";\n int[][] intArray0 = new int[9][8];\n resultMatrixSignificance1.setStdDev(0, 1, 1314);\n ResultMatrixPlainText.main(stringArray0);\n resultMatrixSignificance1.getRevision();\n ResultMatrixCSV resultMatrixCSV0 = new ResultMatrixCSV(46, 1314);\n }", "title": "" }, { "docid": "66bb5677519f02beaaa01864bb02660f", "score": "0.5275225", "text": "@Test(timeout = 4000)\n public void test14() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setOptimizations(2104533975);\n System.setCurrentTimeMillis(0L);\n }", "title": "" }, { "docid": "fa540f44309b3912b3c0b0d52ea1a791", "score": "0.5273352", "text": "public String euler9() {\n\t\tfor (int a = 1; a + a + 1 + a + 1 + 1 <= 1000; a++) {\n\t\t\tfor (int b = a + 1; a + b + b + 1 <= 1000; b++) {\n\t\t\t\tfor (int c = b + 1; a + b + c <= 1000; c++) {\n\t\t\t\t\tif (Math.pow(a, 2) + Math.pow(b, 2) == Math.pow(c, 2) && (a + b + c) == 1000) {\n\t\t\t\t\t\treturn Long.toString(a * b * c);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn \"Fail\";\n\t}", "title": "" }, { "docid": "ff49f8e3409b37cbcdf18f4bd3e5cd55", "score": "0.527315", "text": "@Test(expected = IllegalArgumentException.class)\n public void testFactorialGivenWrongArgumentThrowException(){\n MathUtility.getFactorial(-5); //chay ham chu chua test\n MathUtility.getFactorial(21); // biet thua ham nem ra exception ta phai chup lai exception, neu co that. ham dung -> XANH\n MathUtility.getFactorial(-1);\n MathUtility.getFactorial(40);\n }", "title": "" }, { "docid": "39522970a4ef4d8623554c3d61b68016", "score": "0.52730703", "text": "@Test\n public void test090() throws Throwable {\n long long0 = MathUtils.mulAndCheck((-839L), 0L);\n }", "title": "" }, { "docid": "bd4ecc321f62e88aa7ef9c8ea541a4cb", "score": "0.52692246", "text": "public static void main(String[] args) {\n boolean[] canSkip = new boolean[NUMBERMAX]; // Defaults to {false}\n \n int numberCurrent, numberWithMostDivisors;\n int testDivisor;\n int currentDivisorCount, maxDivisorCount;\n String strDivisorsOfCurrent, strDivisorsOfMax;\n String strOtherNumbersWithMostDivisors;\n \n // Initialize max-divisor data.\n numberWithMostDivisors = -1; // Initialized to -1 for error detection.\n maxDivisorCount = 1;\n strDivisorsOfMax = \"\";\n strOtherNumbersWithMostDivisors = \"\";\n \n // Start with N = NUMBERMAX\n numberCurrent = NUMBERMAX;\n \n do {\n /* Don't factor number if we don't have to. Just skip it. */\n if ( canSkip[numberCurrent-1] ) { continue; }\n \n strDivisorsOfCurrent = Integer.toString( numberCurrent );\n currentDivisorCount = 1;\n\n // Factor it\n for ( testDivisor = numberCurrent-1; testDivisor>1; testDivisor-- ) {\n if ( numberCurrent % testDivisor == 0 ) {\n currentDivisorCount++;\n strDivisorsOfCurrent += \", \" + Integer.toString( testDivisor );\n /* No need to factor this number, as it will have at least one\n * fewer divisors than currentNumber.\n */\n canSkip[testDivisor-1] = true;\n }\n }\n\n // Is highest count of factors? Set max, remember factors.\n if ( currentDivisorCount >= maxDivisorCount ) {\n \n if ( currentDivisorCount == maxDivisorCount ) {\n if ( strOtherNumbersWithMostDivisors.length() > 2 ) {\n strOtherNumbersWithMostDivisors += \"\\n\";\n }\n strOtherNumbersWithMostDivisors += strDivisorsOfMax + \", 1\";\n }\n else\n strOtherNumbersWithMostDivisors = \"\"; // Reset.\n \n numberWithMostDivisors = numberCurrent;\n maxDivisorCount = currentDivisorCount;\n strDivisorsOfMax = strDivisorsOfCurrent; \n }\n\n } while ( --numberCurrent > 1 );\n \n // Output results.\n System.out.printf( \"The number under %d with the most divisors is %d.\"\n + \"%nIt has %d divisors, including 1 and itself, as follows:%n%s, 1%n\",\n NUMBERMAX,\n numberWithMostDivisors,\n maxDivisorCount+1,\n strDivisorsOfMax );\n \n if ( strOtherNumbersWithMostDivisors.length() > 2 ) {\n System.out.printf( \"%nThese numbers are in the same range and \"\n + \"also have %d divisors:\"\n + \"%n( listed as <number>, <list of number\\'s divisors> )\"\n + \"%n%s%n\",\n maxDivisorCount+1,\n strOtherNumbersWithMostDivisors );\n }\n \n// int numSkipped = 0;\n// for ( int i=0; i<NUMBERMAX; i++ ) {\n// if ( canSkip[i] ) { numSkipped++; }\n// }\n// System.out.printf( \"%nThis algorithm skipped %d of %d.%n\", numSkipped, NUMBERMAX );\n }", "title": "" }, { "docid": "8cdb0176d7891086563499f9773ffa7f", "score": "0.5265704", "text": "@Test(timeout = 4000)\n public void test18() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setDebug(false);\n jRip0.getDebug();\n Attribute attribute0 = new Attribute(\"rOEBC,|Nf0wG!I,GR\");\n attribute0.copy(\"\");\n int int0 = jRip0.getFolds();\n assertEquals(3, int0);\n assertFalse(jRip0.getDebug());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getUsePruning());\n }", "title": "" } ]
97109da1a9c9a845982f19428bbb2689
User should be able to click on Omega
[ { "docid": "9d5892b187c8354fb351414bb00d467b", "score": "0.0", "text": "@Test\n public void testViewOmega() {\n topBrands.ClickViewOmega();\n driver.navigate().back();\n driver.close();\n }", "title": "" } ]
[ { "docid": "ed40cb3b51bad92b58dfd401972e5815", "score": "0.63285595", "text": "public void clickOnDeluxeTrain() {\r\n\t clkNavicons.click();\r\n }", "title": "" }, { "docid": "b99f35835fd5fb92a7c148234b4680cf", "score": "0.6300149", "text": "private static void guidoTest ()\n{\n // if (Hardware.leftOperator.getRawButton(3) == true)\n // {\n // Hardware.armIntakeSolenoid.setForward(true);\n // }\n // else\n // {\n // Hardware.armIntakeSolenoid.setReverse(true);\n // }\n}", "title": "" }, { "docid": "14606ecb822e91ff1e80edb25372f9ab", "score": "0.6115901", "text": "@Override\r\n public void clicked(InputEvent event, float x, float y){\n juego.setScreen(new MenuPrincipal(juego));\r\n }", "title": "" }, { "docid": "e3175de65e7d71d7980d589cc359e53d", "score": "0.6052973", "text": "@Override\npublic void mousePressed(MouseEvent e)\n{\n\nif (e.getComponent().getName().equals(\"View IP\")) {viewIP();}\n\nif (e.getComponent().getName().equals(\"Oscope Canvas\")) {\n utControls.mousePressedOnScope(e);\n }\n\n}", "title": "" }, { "docid": "8d434af9b80b4a70169246a670623a98", "score": "0.60296565", "text": "@Override\n public void clicked(InputEvent event, float x, float y) {\n juego.setScreen(new MenuPrincipal(juego));\n }", "title": "" }, { "docid": "c5e3617f5c1ffa72bd6a0353fcc458d2", "score": "0.5995514", "text": "public void promotionicon() {\r\n\tthis.promotionicon.click(); \r\n}", "title": "" }, { "docid": "5d461edf6a27bc82f96481eae6021a1f", "score": "0.59731895", "text": "public void careersandpromotions() {\r\n\tthis.careersandpromotions.click(); \r\n}", "title": "" }, { "docid": "c42f94578e1f07a1fa74d5078ab72f8f", "score": "0.5908242", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString modelName = \"MegaManGANDownModel\";\n\t\t\t\topenGANModelPanel(modelName);\n\n\t\t\t}", "title": "" }, { "docid": "1b66690c17787d44a89850a6f9d51a59", "score": "0.5889326", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n menuAyuda.setSelected(false);\n // Se muestra la ventana de ayuda\n //ventanaEnLaQueEstaLaBarra.mostrarVentanaAyuda(); \n \n //*****helpBroker.showID(\"welcome\", \"javax.help.MainWindow\", \"main\");\n \t\n \tventanaAyuda.setCurrentID(nombrePaginaAyudaActual); \t\n \tventanaAyuda.setDisplayed(true);\n \t\n \t\n \t//ventanaAyuda.setDestroyOnExit(true); \t \n \n\n }", "title": "" }, { "docid": "d700eda7339746244a3499e5cfe0d231", "score": "0.5883591", "text": "private void showPopup(MouseEvent e) {\n Matrix matrix = visualizationPanel.getInverseTransformationMatrix();\n Position clickPosition=new Position(e.getX(),e.getY()).transform(matrix);\n\t\t\t\tDeviceID [] devices = clickAndPlayMobilitySource.getAddress(\n\t\t\t\t\t\tnew Rectangle(clickPosition, new Extent(5, 5))\n\t\t\t\t\t\t);\n\t\t\t\t// if at least one device is selected \n\t\t\t\tif (devices.length > 0) {\n\t\t\t\t\t// show the popup menu for the selected device\n\t\t\t\t\tselectedPopupMenuDevice = devices[0];\n\t\t\t\t\tjPopupMenu_device.setLabel(\n\t\t\t\t\t\t\t\"Actions on Device \" + selectedPopupMenuDevice\n\t\t\t\t\t\t\t);\n\t\t\t\t\t((JLabel) jPopupMenu_device.getComponent(0)).setText(\n\t\t\t\t\t\t\t\"Actions on Device \" + selectedPopupMenuDevice\n\t\t\t\t\t\t\t);\n\t\t\t\t\tjPopupMenu_device.show(\n visualizationPanel, \n e.getX(), \n e.getY()\n );\n//\t\t\t\t\tSystem.out.println(\n//\t\t\t\t\t\t\t\"you have selected device \" + devices[0] + \n//\t\t\t\t\t\t\t\" (position \" + clickPosition.toString() + \")\"\n//\t\t\t\t\t\t\t);\n\t\t\t\t} \n\t\t\t\telse {\n\t\t\t\t\t// show the popup menu for the visualization panel\n\t\t\t\t\tjPopupMenu_panel.show(\n\t\t\t\t\t\t\tvisualizationPanel, \n\t\t\t\t\t\t\te.getX(), \n\t\t\t\t\t\t\te.getY()\n\t\t\t\t\t\t\t);\n//\t\t\t\t\tSystem.out.println(\n//\t\t\t\t\t\t\t\"you have not selected any device (position \" + \n//\t\t\t\t\t\t\tclickPosition.toString() + \")\"\n//\t\t\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "e3610a88c3c94b4b043a1b6bf88424f9", "score": "0.58668286", "text": "public void act()\r\n {\r\n //musicaPortada.play();\r\n if (Greenfoot.mouseClicked(botonPortada))\r\n {\r\n Menu menu = new Menu(); \r\n Ayuda.musicaAyuda.stop();\r\n Greenfoot.setWorld(menu);\r\n \r\n }\r\n \r\n }", "title": "" }, { "docid": "d0a521efcbafc376caf43cf59ef166e8", "score": "0.5847042", "text": "private void onClick() {\n if (model.isAvailable() && isAlerting()) {\n final RoomView room = table.getRoom();\n ListMenuBtn btn = (ListMenuBtn) (MouseState.getCurrDraggedObj());\n ListMenuBar menuBar = (ListMenuBar) (room.getMenu());\n Developer newDev = (Developer) (btn.getModel());\n// img = ViewUtilities.DEV_IMG;\n alerting = false;\n\n model.setCurrDev(newDev);\n Player.getInstance().hireDeveloper(newDev);\n newDev.setEmployed(true);\n if (table.getIndexFromPosition(index) != -1) {\n newDev.setComputer(table.getComputers().\n get(table.getIndexFromPosition(index)).getModel());\n }\n\n if (model.getCurrDev().isFemale()) {\n img = ViewUtilities.FEMALE;\n } else {\n img = ViewUtilities.MALE;\n }\n\n// imgLabel.setIcon(new ImageIcon(img));\n\n room.stopDisplayAvaiSeats();\n room.setCursor(MouseState.getNormalMouseCursor());\n room.remove(btn.getButtonPanel());\n\n MouseState.setCurrState(MouseState.NORMAL);\n MouseState.setCurrDraggedObj(null);\n\n menuBar.removeItem(btn);\n RandDevGenerator.getThisWeekDevList().remove(newDev);\n\n// room.repaint(seatPanel.getBounds());\n\n System.out.println(\"Hire new developer successfull\");\n }\n }", "title": "" }, { "docid": "d272b9e417cdca0e544a34d174f39c71", "score": "0.5841531", "text": "private void simpleClick() {\r\n\t\trobot.mousePress(InputEvent.BUTTON1_MASK);\r\n\t\trobot.mouseRelease(InputEvent.BUTTON1_MASK);\r\n\t}", "title": "" }, { "docid": "3fbe37f36837ddd30f49de8f97c05913", "score": "0.58393556", "text": "private void clickTupaiSaldo(){\n }", "title": "" }, { "docid": "2a77d152cebc6a2b91812e583da35508", "score": "0.5818273", "text": "public void Adminclick() {\r\n\t\t\t\t\r\n\t\tdriver.findElement(Admin).click();\r\n\t\tLOG.info(\" Admin in clicked\");\r\n\t\r\n\t}", "title": "" }, { "docid": "e616c0fd164aed1ef65f029fced94c3c", "score": "0.5776315", "text": "public void clicked(){\n subviewFalsify();\n System.out.println(\"Game Entity View Was Clicked\");\n }", "title": "" }, { "docid": "df1be07158c22088fd57807c766514b5", "score": "0.5767769", "text": "public void act() {\n MouseInfo mouse = Greenfoot.getMouseInfo();\n if (mouse != null) {\n int mouseX = mouse.getX();\n int mouseY = mouse.getY();\n if (mouseX > 885 && mouseX < 935 && mouseY > 495 && mouseY < 555) {\n this.setImage(\"2_goahead.png\");\n if (Greenfoot.mouseClicked(this)) {\n\n IScreenHandler screen = world.getScreen();\n screen.setNextScreen(InformationScreen);\n }\n } else {\n this.setImage(\"2_selected.png\");\n }\n }\n }", "title": "" }, { "docid": "0a2d9917b2082285b1e80958b7ed7814", "score": "0.57637763", "text": "public void selectDev(MouseEvent event) {\r\n\r\n // to get the index of the slot\r\n int slot = Integer.parseInt(((Node) event.getSource()).getId().replaceAll(\"[^0-9]\", \"\"));\r\n ImageView[] devs = new ImageView[]{dev0, dev1, dev2};\r\n\r\n if (devs[slot].getImage() == null) return;\r\n\r\n info.put(\"prod\" + (slot + 1), \"yes\");\r\n List<String> input = Cards.getInputById(gui.getModelView().getTopId(gui.getModelView().getSlots(gui.getModelView().getName()).get(slot)));\r\n int i = 1;\r\n for (String res : input) {\r\n info.put(\"pos\" + (slot + 1) + i, choosePos(res));\r\n i++;\r\n }\r\n }", "title": "" }, { "docid": "e2d248b4d583b25a3915a438f47529f2", "score": "0.5747047", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n ocultarMenusDeUsuario();\n // Se oculta todo lo mostrado en la ventana\n ventanaEnLaQueEstaLaBarra.ocultarTodo();\n // Se deselecciona el menu\n menuLogout.setSelected(false);\n // Se resetea el usuario actual en la clase BBDD\n BBDD.logoutUsuarioConectado();\n // Volvemos a la pagina por defecto de la ayuda\n nombrePaginaAyudaActual = JAVAHELP_INDICE;\n // Se vuelve a mostrar el popup de login\n ventanaEnLaQueEstaLaBarra.pedirLogin();\n\n }", "title": "" }, { "docid": "a963ec8e8a63b9492fa752f0342ed462", "score": "0.5743917", "text": "public void openDoor() {\n\t\tvisible = false;\n\t}", "title": "" }, { "docid": "b7d6b64564b7e0e096bfc23fc92eaa71", "score": "0.5735242", "text": "void OpenLeftDoor() {\n\n\t}", "title": "" }, { "docid": "3be16ce00bf889f7d66f78a7aec1f962", "score": "0.57292134", "text": "public void click();", "title": "" }, { "docid": "c1e69d90f682d61028dd747924ed4fe8", "score": "0.57224584", "text": "@Override\n\tpublic void mouseClicked(MouseEvent e) {\n\t\thero.setFire(true);\n\t\t\n\t}", "title": "" }, { "docid": "6a1e005fcaf71ec7d46008f11ba64291", "score": "0.57217747", "text": "public void openespacevente(ActionEvent event) throws IOException {\n if (m.OblierSelectione(tc,\"un client\")) return;\n\n data.openbyclient=1;\n data.idclient=tc.getSelectionModel().getSelectedItem().getIdclient();\n\n m.openWindow(event,\"/interfaces/sample\",\"Espace vente\", 966, 670 ,true,true);\n }", "title": "" }, { "docid": "1077df2df4666ef1a2d7cf2f328521a1", "score": "0.57123196", "text": "public void click(Actor arg0, float arg1, float arg2) {\n\t\t\t\tgame.getOperatescreen().setParent(1);\n\t\t\t\tgame.setScreen(game.getOperatescreen());\n\t\t\t}", "title": "" }, { "docid": "446a346673069cc55cf3ef84ceb908fe", "score": "0.5682915", "text": "public abstract void onFloorButtonClick();", "title": "" }, { "docid": "c4ed1c83bb5f19ae1ce185e390de9ccd", "score": "0.56727135", "text": "@FXML\n private void farorePressed() throws IOException {\n mainClass.setDeityChoice(Deities.FARORE);\n mainClass.chooseScene(GUIs.VALUE_SETTING);\n }", "title": "" }, { "docid": "5ee3c2d20210d9f6fbb87119bdafb579", "score": "0.5669703", "text": "@Override\r\n\t\t\tpublic void onClick(int button) {\n\t\t\t\tApp game=(App)Gdx.app.getApplicationListener();\r\n\t\t\t\t((FightScreen)game.currentScreen).enterState(3);\r\n\t\t\t\twindow.setVisible(false);\r\n\t\t\t\tMagicSelectWindow magic=new MagicSelectWindow(window.model);\r\n\t\t\t\t((FightScreen)game.currentScreen).guiMgr.addActor(magic);\r\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "6ca320c7022f7c2cdff56b9a941b7080", "score": "0.5654385", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif (e.getSource() instanceof JMenuItem)\n\t\t{\n\t\t\tJMenuItem menuItem = ((JMenuItem)e.getSource());\n\t\t\tString label = menuItem.getText();\n\t\t\t\n\t\t\tSystem.out.print(label);\n\t\t\t\n\t\t\tif(label.equals(\"Otworz\")) {\n\t\t\t\tSystem.out.print(\"Open call\");\n\t\t\t\tint returnVal = fc.showOpenDialog(myView);\n\t\t\t\tif (returnVal == JFileChooser.APPROVE_OPTION) {\n\t\t\t\t\tfiles = fc.getSelectedFiles();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tfor (int ii=0; ii<files.length;ii++) {\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.print(\"Opened file \" + files[ii].getAbsolutePath() + \"\\n\");\n\t\t\t\t\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tdis = new DicomInputStream(files[ii]);\n\t\t\t\t\t\tdcm = dis.readDicomObject();\n\t\t\t\t\t} catch (IOException e1) {\n\t\t\t\t\t\t// ex\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif (dis != null) {\n\t\t\t\t\t\t\tCloseUtils.safeClose(dis);\n\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\tIterator<DicomElement> iter = dcm.datasetIterator();\n\t\t\t\t\twhile ( iter.hasNext() ) {\n\t\t\t\t\t\tDicomElement tag = iter.next();\n\t\t\t\t// print dicom tag\n\t\t\t\t\t\tSystem.out.println( tag );\n\t\t\t\t\t\t}\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tmainView.updateUI(files,this);\n\t\t\t}\n\t\t\t\n\t\t\tif(label.equals(\"Zamknij\")) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "c98adcb9ca34c0936cbc8a3b83abdaaf", "score": "0.5650114", "text": "public void funUseOfHome()\r\n {\n useofHome.click();\r\n new Select(useofHome).selectByVisibleText(\"Primary residence\");\r\n }", "title": "" }, { "docid": "141d380f28fac1f5860fb033bd17cc7d", "score": "0.56422305", "text": "public void event() {\r\n // Components.intakeSystem.activate();\r\n }", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c06ea8e70bb72a773dd8858fc9334a39", "score": "0.563596", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.5609039", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.5609039", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.5609039", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "a92b07cb27b75d367b1ce40b588d782e", "score": "0.5609039", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t}", "title": "" }, { "docid": "95175a9e0fb67babc72106047ff1550e", "score": "0.55860156", "text": "public void operatorControl(GenericHID OurJoystick)\r\n {\r\n boolean switchToArcadeDrive = false;\r\n \r\n while (isOperatorControl()) {\r\n switchToArcadeDrive = OurJoystick.getRawButton(1);\r\n if (switchToArcadeDrive == true) {\r\n OurRobot.arcadeDrive(OurJoystick); \r\n } else {\r\n OurRobot.tankDrive(Leftjoystick, RightJoystick); \r\n }\r\n } \r\n }", "title": "" }, { "docid": "cb1b4dd4fe139aac470ea1a97a1ace49", "score": "0.55853033", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString modelName = \"MegaManGANHorizontalModel\";\n\t\t\t\topenGANModelPanel(modelName);\n\t\t\t}", "title": "" }, { "docid": "8886f0ddf3790c4ae9ba524ac1d4b43b", "score": "0.5580126", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "16c613d3f6c0710f1c094485ab51f03f", "score": "0.55691373", "text": "public void ClickPi() {\n\t\topenCalculator();\n\t\tpiButton.click();\n\t}", "title": "" }, { "docid": "51725666cf8f772e5d77b783b921a174", "score": "0.5566211", "text": "@Override\n\tpublic void click() {\n\t\t\n\t}", "title": "" }, { "docid": "4e958976ca03b7c2749bd56369832fa2", "score": "0.55506176", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tprintMsg(\"Pressed Open menu option\");\n\t\t\t}", "title": "" }, { "docid": "acc68773b40ff7d7c79d2e02b952f079", "score": "0.55475545", "text": "public void this_mouseClicked(MouseEvent e) {\r\n if (e.getButton() == 3){\r\n JPopupMenu menuContextual = new JPopupMenu();\r\n JMenuItem cambiarLoockFeel = new JMenuItem(\"Cambiar Loock & Feel\");\r\n cambiarLoockFeel.addActionListener(new InterfaceGrafica_CambiarLoockFeel_actionAdapter(this));\r\n JMenuItem cambiarImagenFondo = new JMenuItem(\"Cambiar Imagen de Fondo\");\r\n cambiarImagenFondo.addActionListener(new InterfaceGrafica_cambiarImagenFondo_actionAdapter(this));\r\n JMenuItem ejecutarGC = new JMenuItem(\"Ejecutar Recolector de Basura\");\r\n ejecutarGC.addActionListener(new InterfaceGrafica_ejecutarGC_actionAdapter(this));\r\n JMenuItem mirarMemoria = new JMenuItem(\"Ver Informacion Memoria\");\r\n mirarMemoria.addActionListener(new InterfaceGrafica_verInformacionMemoria_actionAdapter(this));\r\n menuContextual.setBorder(BorderFactory.createEtchedBorder());\r\n menuContextual.add(cambiarLoockFeel);\r\n menuContextual.add(cambiarImagenFondo);\r\n menuContextual.add(mirarMemoria);\r\n menuContextual.add(ejecutarGC);\r\n menuContextual.show(this,e.getX(),e.getY());\r\n }\r\n }", "title": "" }, { "docid": "5a54c4b7235b3d309c4f95639802e69c", "score": "0.55449903", "text": "public void openGarageDoor(){\n this.door.open();\n this.print(\"Garage door opened\");\n }", "title": "" }, { "docid": "2033aa400c1fe64d316601c4e9eba225", "score": "0.5540166", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n // Obtain a reference to the user interface\n TheAnimatedPoseur singleton = TheAnimatedPoseur.getAnimatedPoseur();\n UserInterface gui = singleton.getGUI();\n \n // Turn on the outline toggle button\n gui.activateOutlineToggleButton();\n }", "title": "" }, { "docid": "601813c0195b900f8737c2d05f8931f7", "score": "0.5539033", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString modelName = \"MegaManGANUpModel\";\n\t\t\t\topenGANModelPanel(modelName);\n\n\t\t\t}", "title": "" }, { "docid": "63cd3d24001f326136762cec0033bec3", "score": "0.5537619", "text": "public void onClick(View v) {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(VOLCANO_URL));\n startActivity(browserIntent);\n }", "title": "" }, { "docid": "4995350c7854564d0d806ae7a053d285", "score": "0.55329406", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" }, { "docid": "be477471c4dde5800015f3629f766df2", "score": "0.5532299", "text": "public void openMenu() {\n \tif (getPageObject().getWebElementAnchorTogglemenu().isDisplayed()) {\n getPageObject().clickAnchorTogglemenu();\n }\n }", "title": "" }, { "docid": "4a4930fec7305b358d4459abfdc91b07", "score": "0.5531674", "text": "public void act()\r\n {\r\n if(Greenfoot.mouseClicked(this))\r\n {\r\n n1 = new Nivel1();\r\n Greenfoot.setWorld(n1);\r\n }\r\n }", "title": "" }, { "docid": "c68b3e5ce9d45d8c3d922f8ea14dcc31", "score": "0.5530416", "text": "@Dado(\"^Concorde com os termos$\")\n public void concorde_com_os_termos() throws Throwable {\n\n WebElement element = driver.findElement(By.id(\"cgv\"));\n element.click();\n generics.Evidencia(driver, scenarioName, ExecutionFolder);\n\n }", "title": "" }, { "docid": "1620df7144e0807d28d9c153e3f5789c", "score": "0.55242854", "text": "private void jBEncapsularMouseClicked(java.awt.event.MouseEvent evt) {\n\t\tmostrarOrden();\n\t}", "title": "" }, { "docid": "4a2a6d430b140a24a4dc18997469ba23", "score": "0.5523856", "text": "@Override\n\tpublic void clicked(GameRoom room, Creature creature) {\n\n\t}", "title": "" }, { "docid": "53b914f1d18f9e03e175bfdbd481443b", "score": "0.55203223", "text": "public void click() {\n\t\ton();\n\t\toff();\n\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.5519718", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.5519718", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.5519718", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.5519718", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.5519718", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.5519718", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.5519718", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "25e3461da0cea03cd0db73ead5b6f17a", "score": "0.5519718", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "8d2485bf4d19198b50adf47f89f94949", "score": "0.5513343", "text": "public void clickMoreMenuOption(){\n\n\tBurgerMenu_Option.click();\n}", "title": "" }, { "docid": "12c378d777f73c2e486307390b9aa4d0", "score": "0.551083", "text": "private void baiduNumOCRRadioMouseClicked(MouseEvent e) {\n panel1.setVisible(true);\n ocrMode = OCRMode.BAIDU;\n }", "title": "" }, { "docid": "c29d140fbfbed1826152fa6b6855f9b8", "score": "0.5509343", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n\n }", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.55078626", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.55078626", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.55078626", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.55078626", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.55078626", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "b006d98218a696364584606ff04d54b7", "score": "0.55078626", "text": "@Override\r\n\tpublic void mouseClicked(MouseEvent e) {\n\t\t\r\n\t}", "title": "" }, { "docid": "98a27a1374f8a4b74ca25a93a6167424", "score": "0.55008644", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "98a27a1374f8a4b74ca25a93a6167424", "score": "0.55008644", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "98a27a1374f8a4b74ca25a93a6167424", "score": "0.55008644", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "98a27a1374f8a4b74ca25a93a6167424", "score": "0.55008644", "text": "@Override\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "09bfc17679010310c23e56854ce9d26b", "score": "0.5500354", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "a1b17cf8f3e290e6e39e7f2b3fcdb4af", "score": "0.55002135", "text": "@Override\r\n\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\tadminView.getCl().show(adminView.getCardPanel(), \"1\");\r\n\t\t}", "title": "" }, { "docid": "30bed9811662ce05623ced0e6cb8cba2", "score": "0.55001813", "text": "public void openGate(){\n \tlinearServo.setPosition(0.75);\n }", "title": "" }, { "docid": "766fe32d06197524ffe631054299acdf", "score": "0.5499556", "text": "private void QuickMenuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_QuickMenuActionPerformed\n Quick.doClick();\n }", "title": "" }, { "docid": "efd16b080ed7783deaf7439d72929df7", "score": "0.5499208", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t \n\t\t\t}", "title": "" }, { "docid": "326860b8971f93c76df499d5b80c6575", "score": "0.54948026", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n open();\n }", "title": "" }, { "docid": "4a4be6bafbf156ba34623e201dab3c9e", "score": "0.5490585", "text": "public abstract void OpenDoors();", "title": "" }, { "docid": "870a50ea18e34611bea0fb6a695ac07c", "score": "0.54886097", "text": "public void mouseClicked(MouseEvent e) {\n \n }", "title": "" }, { "docid": "24446a148d69f422152d37db71917d47", "score": "0.5486526", "text": "public void adminEmployeePressed()\r\n {\r\n mainKeeper.adminEmployeeMenu();\r\n }", "title": "" }, { "docid": "ffc5a19954d8b5ed300398cd51a0c416", "score": "0.5476604", "text": "public void clickUserAgreementTab();", "title": "" }, { "docid": "498dd84e93c34dc383f498c1c777c33a", "score": "0.5476436", "text": "public void funAboutYou()\r\n {\n aboutYou.click();\r\n }", "title": "" }, { "docid": "6df3389479e97765ceb1a0b0e6325528", "score": "0.5472504", "text": "@Override\r\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "6df3389479e97765ceb1a0b0e6325528", "score": "0.5472504", "text": "@Override\r\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "6df3389479e97765ceb1a0b0e6325528", "score": "0.5472504", "text": "@Override\r\n\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "d6e858ea13034e639016efe53bcaf030", "score": "0.5472217", "text": "@Override\n\t\t\tpublic void DoClick(LComponent comp) {\n\n\t\t\t}", "title": "" }, { "docid": "936e5a025c1ae49f560ff7814403e98b", "score": "0.5467519", "text": "@Override\r\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t}", "title": "" } ]
e05f3b0d4769c60b6c4eb2fa61066617
Method working with envers, find is realized in audited tables
[ { "docid": "96121af8079437b5f0127a886382483b", "score": "0.0", "text": "private <T> T find(Class<T> entityClass, UUID entityId, Long revisionId) {\n\t\tAuditReader reader = this.getAuditReader();\n\n\t\treturn reader.find(entityClass, entityId, revisionId);\n\t}", "title": "" } ]
[ { "docid": "aed5dafd418fc72fac277aea957eb6c0", "score": "0.5781019", "text": "public default E onFind(E entity) {\n\t\treturn entity;\n\t}", "title": "" }, { "docid": "e281847e894e5e1d4e3f3b07a0268d0c", "score": "0.5476415", "text": "@Test\r\n public void testFind() throws Exception {\r\n MonitoriaEntity entity = data.get(0);\r\n MonitoriaEntity nuevaEntity = persistence.find(entity.getId());\r\n Assert.assertNotNull(nuevaEntity);\r\n Assert.assertEquals(entity.getId(), nuevaEntity.getId());\r\n Assert.assertEquals(entity.getIdMonitor(), nuevaEntity.getIdMonitor());\r\n Assert.assertEquals(entity.getTipo(), nuevaEntity.getTipo());\r\n \r\n }", "title": "" }, { "docid": "4f0ece36765dd874a489d90ab7eda556", "score": "0.5450874", "text": "public abstract T findEntityById(int id);", "title": "" }, { "docid": "438de7473958670880d1de1403b21bb3", "score": "0.54100484", "text": "public Employee findEmployee(IncomingReport incoming_report) throws IllegalArgumentException, DAOException;", "title": "" }, { "docid": "0e5fbfc594c1ed9a96b166e0efa17dbc", "score": "0.5312251", "text": "private Criteria createFindByEntity(int type, int id) {\n return null;\t\n }", "title": "" }, { "docid": "ba88c9f962f41b08896dc042a0e6ef5c", "score": "0.5300446", "text": "protected abstract String getEntityExistanceSQL(E entity);", "title": "" }, { "docid": "92850f340c4bbb3debae56d5e25a8ecc", "score": "0.5282227", "text": "@Override\n\tpublic Evento find(Evento entity) throws HibernateException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "bacdac772a29847db59d3e0c45e8f25e", "score": "0.523874", "text": "@Override\r\n\tpublic void find(Integer id) {\n\r\n\t}", "title": "" }, { "docid": "9380beb8e1f3292c62b05b7a3a564f14", "score": "0.52136105", "text": "@Override\r\n\t@Transactional\r\n\tpublic List<EmployeeMaster> searchbyEmployee4SA(String search_key) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\r\n\t\tList<EmployeeMaster> listcust = (List<EmployeeMaster>) sessionFactory.getCurrentSession()\r\n\t\t.createQuery(\"from EmployeeMaster WHERE obsolete ='N' and emp_name LIKE '%\" + search_key + \"%'\").list();\r\n\t\treturn listcust;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4f22d092fd11fdde1799097a73ba2652", "score": "0.51738685", "text": "public List<EspecieEntity> encontrarTodos(){\r\n Query todos =em.createQuery(\"select p from EspecieEntity p\");\r\n return todos.getResultList();\r\n }", "title": "" }, { "docid": "e52e9bee47ea67f264ce6b6a25e9f054", "score": "0.51726973", "text": "AuditoriaUsuario find(Object id);", "title": "" }, { "docid": "e34e2048c6dcbc2a2e2a8dc7379591df", "score": "0.51479685", "text": "public List<Record> executeNativeFinder(String queryName, Object context);", "title": "" }, { "docid": "0021f4f4bf8cb8c09250a62fe818f8de", "score": "0.514569", "text": "public Employee findEmployee(Long id);", "title": "" }, { "docid": "75a643f70327f6a38c716a71e09de9c8", "score": "0.5132783", "text": "public E findById(Serializable pk) ;", "title": "" }, { "docid": "82cf19aa40eea65e5f3106a657e40862", "score": "0.5131197", "text": "@Override\n\tpublic List<IdName> findEnterpriseByPy(String py) {\n\t\treturn enterpriseDAO.findEnterpriseByPy(py);\n\t}", "title": "" }, { "docid": "2dacbac76deb54da31b3e2d6a2b9c61b", "score": "0.5131087", "text": "@Override\n\tpublic void find() {\n\n\t}", "title": "" }, { "docid": "8117daa0edd1ad5f58b0ed3fd441f0b0", "score": "0.51211435", "text": "private void run(AuthordDao dao, EntityManager entityManager) {\n Author een = new Author(\"Bakker\");\n dao.save(een);\n Author twee = new Author(\"Smit\");\n dao.save(twee);\n Author drie = new Author(\"Meijer\");\n dao.save(drie);\n Author vier = new Author(\"Mulder\");\n dao.save(vier);\n Author vijf = new Author(\"de Boer\");\n dao.save(vijf);\n Author zes = new Author(\"Pieters\");\n dao.save(zes);\n\n /////////////////////////////////////////// --> delete author 2\n dao.delete(twee);\n\n /////////////////////////////////////////// --> update naam author 1\n dao.updateName(1, \"Hendriks\");\n dao.save(een);\n\n ////////////////////////////////////////// --> try setters\n drie.setHasDebuted(Boolean.TRUE);\n vijf.setHasDebuted(Boolean.TRUE);\n zes.setHasDebuted(Boolean.TRUE);\n dao.update(drie);\n dao.update(vijf);\n dao.update(zes);\n\n /////////////////////////////////////////// --> find by lastname\n log(dao.findBy(\"Meijer\"));\n\n /////////////////////////////////////////// --> enum\n een.setGenre(Genre.FICTION);\n dao.save(een);\n\n drie.setGenre(Genre.CHILDREN);\n dao.save(drie);\n\n vier.setGenre(Genre.BIOGRAPHY);\n dao.save(vier);\n\n vijf.setGenre(Genre.ROMANCE);\n dao.save(vijf);\n\n zes.setGenre(Genre.FICTION);\n dao.save(zes);\n\n ///////////////////////////////////////////////// --> unidirectional\n Publisher theBestPublisher = new Publisher(\"the Best Publisher\");\n Publisher eenAnderePublisher = new Publisher(\"een Andere Publisher\");\n Publisher deLaaststePublisher = new Publisher(\"de Laatste Publisher\");\n\n Dao<Publisher> publisherDao = new Dao<>(entityManager);\n publisherDao.save(theBestPublisher);\n publisherDao.save(eenAnderePublisher);\n publisherDao.save(deLaaststePublisher);\n\n een.setSignedBy(theBestPublisher);\n drie.setSignedBy(deLaaststePublisher);\n vier.setSignedBy(eenAnderePublisher);\n vijf.setSignedBy(theBestPublisher);\n zes.setSignedBy(deLaaststePublisher);\n\n dao.update(een);\n dao.update(drie);\n dao.update(vier);\n dao.update(vijf);\n dao.update(zes);\n\n List<Author> soft = dao.findByPublisher(\"best\");\n soft.forEach(this::log);\n\n ////////////////////////////////////////////////// --> bidirectional\n Dao assistantDao = new Dao(entityManager);\n\n Assistant assistant1 = new Assistant(\"Assistent 1\");\n Assistant assistant2 = new Assistant(\"Assistent 2\");\n Assistant assistant3 = new Assistant(\"Assistent 3\");\n assistantDao.save(assistant1);\n assistantDao.save(assistant2);\n assistantDao.save(assistant3);\n\n een.setAssistant(assistant3);\n drie.setAssistant(assistant2);\n vier.setAssistant(assistant2);\n vijf.setAssistant(assistant1);\n zes.setAssistant(assistant1);\n\n dao.update(een);\n dao.update(drie);\n dao.update(vier);\n dao.update(vijf);\n dao.update(zes);\n\n ////////////////////////////////////////////////// --> test one-to-many (Book testen)\n\n }", "title": "" }, { "docid": "f74d7180bb2f59c6b85974e2e1f2ba77", "score": "0.51111424", "text": "public interface AlertsRepository extends CrudRepository<Alert, Long> {\n Alert findByAlertsUuidAndTenantUuid(String alertsUuid, String tenantUuid);\n Page<Alert> findByTenantUuid(String tenantUuid,Pageable pageable);\n}", "title": "" }, { "docid": "68d8af456d475091328c1e42bb26e11f", "score": "0.5066577", "text": "Appliance[] find(Criteria[] criteria);", "title": "" }, { "docid": "909d69ba506d27d5fa6b879a969499ef", "score": "0.5052679", "text": "@SelectProvider(type = ServeInfoSqlProvider.class, method = \"findById\")\n ServeInfoDO findById(@Param(\"id\") Long id);", "title": "" }, { "docid": "73144b782eb683b7a5510c3f8efcaebd", "score": "0.504925", "text": "BehaveLog selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "31278c25226c6793dff91bbe8ee42eb5", "score": "0.5040681", "text": "FK findFrom(ENTITY entity);", "title": "" }, { "docid": "d8afff9f804483c1f9e19165e82662ed", "score": "0.50381875", "text": "@Test(expected = NullPointerException.class)\r\n public void fetchPostUsingFind() {\r\n //sunny day assert\r\n Post post = entityManager.find(Post.class, 2l);\r\n\r\n LOGGER.info(post.toString());\r\n //sunny day asserts\r\n assertNotNull(post);\r\n assertSame(\"Likes are same\", 15, post.getLikes());\r\n\r\n //rainy day test\r\n post = entityManager.find(Post.class, 25l);\r\n LOGGER.info(post.toString());\r\n }", "title": "" }, { "docid": "bf197bf69f72c7bc4bd53bc649e1db7a", "score": "0.5028127", "text": "@Test\r\n public void testFindAll() throws Exception {\r\n List<MonitoriaEntity> totalEntidades = persistence.findAll();\r\n Assert.assertEquals(data.size(), totalEntidades.size());\r\n for(MonitoriaEntity ent: totalEntidades){\r\n boolean encontro = false;\r\n for(MonitoriaEntity entity: data){\r\n if(ent.equals(entity)){\r\n encontro = true;\r\n }\r\n }\r\n Assert.assertTrue(true);\r\n }\r\n }", "title": "" }, { "docid": "9d43ccd01a2ac261d912f8e0eae1c74d", "score": "0.501909", "text": "java.util.List<AuditoriaUsuario> findAll();", "title": "" }, { "docid": "3f2330912002e782276dcc49d159d2c5", "score": "0.5017387", "text": "List<ProductInfo> findUpAll();", "title": "" }, { "docid": "c9fd92024bb1175da787d9af70cffd40", "score": "0.50134027", "text": "public static void main(String[] args) {\n\r\n\t\tEntityManager em = PersistanceManager.INSTANCE.getEntityManager();\r\n\t\tSystem.out.println(\"Print ALL\");\r\n\t\tQuery query = em.createQuery(\"FROM Employee e\");\r\n\t\tArrayList<Employee> result = (ArrayList<Employee>) query.getResultList();\r\n\t\tfor (Employee current : result)\r\n\t\t\tSystem.out.println(current.toString());\r\n\t\tSystem.out.println(\"Print id = 3\");\r\n\t\tQuery query1 = em.createQuery(\"FROM Employee e where e.id=3\");\r\n\t\tArrayList<Employee> result1 = (ArrayList<Employee>) query1.getResultList();\r\n\t\tfor (Employee current : result1)\r\n\t\t\tSystem.out.println(current.toString());\r\n\t\tSystem.out.println(\"Print Named Query \");\r\n\t\tArrayList<Employee> result2 = (ArrayList<Employee>) em.createNamedQuery(\"Employee.searchAll\").setParameter(\"empName\", \"D%\")\r\n\t\t\t\t.getResultList();\r\n\t\tfor (Employee current : result2)\r\n\t\t\tSystem.out.println(current.toString());\r\n\t}", "title": "" }, { "docid": "048b3a57782217e13ccd64adeb1183fd", "score": "0.50115186", "text": "@Override\n\tpublic List<T> find(T t) {\n try { \n if (logger.isDebugEnabled()) { \n logger.debug(\"开始删除实体:\" + t.getClass().getName()); \n } \n return hibernateTemplate.find( \"from \" + t.getClass().getName()); \n } catch (RuntimeException e) { \n logger.error(\"查找指定实体集合异常,实体:\" + t.getClass().getName(), e); \n throw e; \n } \n\t}", "title": "" }, { "docid": "be7f9337df015fb5e4f3d4ad285c6106", "score": "0.50058335", "text": "@Override\n\tpublic Enterprise findEnterpriseByUserName(String userName) {\n\t\treturn enterpriseDao.findEnterpriseByUserName(userName);\n\t}", "title": "" }, { "docid": "d38b87588bbdc8e7776aa6cdb36db327", "score": "0.5004964", "text": "@Override\n\tpublic Emp findbyId(int eid) {\n\t\treturn eb.findbyId(eid);\n\t}", "title": "" }, { "docid": "8dfbe9820e1daf0dc160d777c62a2c81", "score": "0.50020427", "text": "@Repository\npublic interface PersistenceAuditEventRepository extends MongoRepository<PersistentAuditEvent, String> {\n\n List<PersistentAuditEvent> findByPrincipalAndAuditEventDateAfterAndAuditEventType(String principle, Instant after, String type);\n\n Page<PersistentAuditEvent> findByAuditEventDateBetween(Pageable pageable, LocalDate fromDate, LocalDate toDate);\n}", "title": "" }, { "docid": "bf37bef41b176ff046fd692e33227a0e", "score": "0.49969307", "text": "@Override\r\n\t@Transactional\r\n\tpublic eventuales findById(Integer id) {\n\t\treturn dao.findById(id).get();\r\n\t}", "title": "" }, { "docid": "5f0e4cd50e9a3cd53a797298a1611a98", "score": "0.49813142", "text": "@Override\r\n\tpublic T findEntity(String hql, Object[] obj) throws Exception {\n\t\tList<T> list = this.find(hql, obj);\r\n\t\tif (list != null && list.size() > 0) {\r\n\t\t\treturn list.get(0);\r\n\t\t} else {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0f3d2adb432ff61dedd1882ec9e30a7f", "score": "0.49798054", "text": "public interface AuditService {\n\n List<Audit> findAll();\n\n}", "title": "" }, { "docid": "27583c567d5d1c0494bb626a5774b1e5", "score": "0.49778843", "text": "public Service findById(int theId);", "title": "" }, { "docid": "4b51c27a9c058fc515507527eb3ec3fd", "score": "0.49765143", "text": "public Invoice findById(long id);", "title": "" }, { "docid": "4a371b8c10b68b119e313f0b62d619be", "score": "0.49694252", "text": "Averia findAveriaById(Long id) throws BusinessException;", "title": "" }, { "docid": "b72754113182f17bed68a8c63d2511ae", "score": "0.4952304", "text": "@Override\n\tpublic FieldViewSet searchEntityByPk(final FieldViewSet fieldViewSet) throws DatabaseException {\n\t\ttry {\n\t\t\tfinal Iterator<IFieldLogic> iteradorPKs = fieldViewSet.getEntityDef().getFieldKey().getPkFieldSet().iterator();\n\t\t\twhile (iteradorPKs.hasNext()) {\n\t\t\t\tif (fieldViewSet.getFieldvalue(iteradorPKs.next()).isNull()) {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (fieldViewSet.getEntityDef().isInCache()\n\t\t\t\t\t&& !LogicDataCacheFactory.getFactoryInstance().getDictionaryCache(this.dictionaryName).getAllItems(fieldViewSet)\n\t\t\t\t\t\t\t.isEmpty()) {\n\t\t\t\treturn LogicDataCacheFactory.getFactoryInstance().getDictionaryCache(this.dictionaryName).getItem(fieldViewSet);\n\t\t\t}\n\t\t\treturn this.getDaoRef().getRecordByPrimaryKey(fieldViewSet, this.conn);\n\t\t}\n\t\tcatch (final DatabaseException exc1) {\n\t\t\tthrow exc1;\n\t\t} catch (ParseException e) {\n\t\t\t//e.printStackTrace();\n\t\t\tthrow new DatabaseException(\"Error parseando un dato: \" + e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "d249606b8bf1e3fb6a7d5b52bb880ff3", "score": "0.4946322", "text": "public Entity[] queryEntityInfo() throws UnifyException, SQLException {\n Bookmark bookmark = visual.getSelectBookmark();\n if (bookmark == null)\n return null;\n\n String catalogName= visual.getQueryCatalog();\n String schemaName = visual.getQuerySchema();\n\n String entityName = visual.getQueryEntity(); //ʵ��\n\n if(bookmark.getDbInfoProvider().getDatabaseMetaData().storesLowerCaseIdentifiers())\n {\n \tif(catalogName!=null)\n \t\tcatalogName = catalogName.toLowerCase();\n \tif(schemaName!=null)\n \t\tschemaName = schemaName.toLowerCase();\n \tif(entityName!=null)\n \t\tentityName = entityName.toLowerCase();\n }else if(bookmark.getDbInfoProvider().getDatabaseMetaData().storesUpperCaseIdentifiers())\n {\n \tif(catalogName!=null)\n \t\tcatalogName = catalogName.toUpperCase();\n \tif(schemaName!=null)\n \t\tschemaName = schemaName.toUpperCase();\n \tif(entityName!=null)\n \t\tentityName = entityName.toUpperCase();\n }\n// �����mysql��ݿ⣬����ѯ���������ݵ���Ϊ��д\n// if (catalogName != null&&!(bookmark.isMysql()))\n// \tcatalogName = catalogName.toUpperCase();\n// if (schemaName != null&&!(bookmark.isMysql()))\n// schemaName = schemaName.toUpperCase();\n// if (entityName != null&&!(bookmark.isMysql()))\n// entityName = entityName.toUpperCase();\n return queryEntityInfo(bookmark,catalogName, schemaName, entityName);\n }", "title": "" }, { "docid": "74e2a5e9a4761a06e744a6b3ac5e4180", "score": "0.49443826", "text": "public interface VideoDataRepository extends CrudRepository<VideoData, Long> {\n\n /**\n * find videos\n * @param recorderInfo\n * @return\n */\n public List<VideoData> findByRecorderInfo(RecorderInfo recorderInfo);\n}", "title": "" }, { "docid": "121fdbc8e814780f1bf250fe06083318", "score": "0.49436128", "text": "Iterable<Entry<K, V>> find(LegacyFindByCondition find);", "title": "" }, { "docid": "9215877f70216ae9677ffac5ce3a463b", "score": "0.49421903", "text": "@Override\n\tpublic List<UsuariosEntity> findAdmin(){\n\t\treturn (List<UsuariosEntity>) iUsuarios.findAdmin();\n\t}", "title": "" }, { "docid": "3059a9c7b1197d56ce5441fc9927457a", "score": "0.49409962", "text": "@Override\n\tpublic List<Entrust> select() {\n\t\treturn entrustServiceImpl.select();\n\t}", "title": "" }, { "docid": "709488628f60d0b3fd48e6191940064f", "score": "0.49409702", "text": "@Override\r\n\tpublic snstatus queryByDocId(String sn) {\n\t\treturn (snstatus)super.getHibernateTemplate().get(snstatus.class, sn); \r\n\t}", "title": "" }, { "docid": "d6eaa64c11e825c50ebaaa84bc7c3baa", "score": "0.4939509", "text": "public Collection<LogModel> selectLogByEmployee(EmployeeModel employee);", "title": "" }, { "docid": "eb36704c4863250d132eb32939c34c42", "score": "0.49390683", "text": "public abstract V getEntity();", "title": "" }, { "docid": "efeb47c1b1c35b19c9a89a39e74ab14c", "score": "0.4938093", "text": "public java.util.Collection allRetrieveAETs() \n throws javax.ejb.FinderException;", "title": "" }, { "docid": "c21b8637dd8287444569b3c9918d3c1e", "score": "0.49329388", "text": "public SfJdDocAudit selectByPrimaryKey(BigDecimal id, RequestMeta requestMeta) {\n SfJdDocAudit rtn=jdDocAuditMapper.selectByPrimaryKey(id);\r\n if(rtn==null)return null;\r\n SfEntrust e=sfEntrustService.selectByPrimaryKey(rtn.getEntrustId(), requestMeta);\r\n if(e!=null){\r\n rtn.setEntrust(e);\r\n } \r\n SfJdReport report=(SfJdReport)zcEbBaseService.queryObject(\"com.ufgov.zc.server.sf.dao.SfJdReportMapper.selectByEntrustId\", rtn.getEntrustId());\r\n// SfJdReport report=sfJdReportService.selectByPrimaryKey(id, requestMeta)\r\n rtn.setReport(report==null?new SfJdReport():report);\r\n rtn.setDetailLst(jdDocAuditDetailMapper.selectByPrimaryKey(id));\r\n List mlst=materialsTransferDetailMapper.selectByPrimaryKey(id);\r\n rtn.setMaterialLst(mlst==null?new ArrayList():mlst);\r\n rtn.setDbDigest(rtn.digest());\r\n return rtn;\r\n }", "title": "" }, { "docid": "31bae9cefea8346fd87705b32156c220", "score": "0.49218696", "text": "@Test\r\n public void testFind() throws Exception {\r\n Map props = new HashMap();\r\n// props.put(\"org.glassfish.ejb.embedded.glassfish.instance.root\",\r\n// \"/Applications/GlassFish/glassfishv3-webprofile/glassfish/domains/domain1\");\r\n props.put(EJBContainer.MODULES, new File[]{\r\n new File(\"web/WEB-INF/classes\"),\r\n new File(\"test/conf/\")\r\n });\r\n\r\n \r\n System.out.println(\"find\");\r\n String key = \"\";\r\n// EJBContainer container = javax.ejb.embeddable.EJBContainer.createEJBContainer();\r\n EJBContainer container = javax.ejb.embeddable.EJBContainer.createEJBContainer(props);\r\n LoginSessionBean instance = (LoginSessionBean)container.getContext().lookup(\"java:global/classes/LoginSessionBean\");\r\n Users expResult = null;\r\n Users result = instance.find(key);\r\n assertEquals(expResult, result);\r\n container.close();\r\n // TODO review the generated test code and remove the default call to fail.\r\n //fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "9e8f9537e69c73aadbc7a0abd1b0cc1a", "score": "0.49212465", "text": "Miss_control_log selectByPrimaryKey(String loginuuid);", "title": "" }, { "docid": "e2fa40e414a7732e933acb74a91b5679", "score": "0.4920871", "text": "public static void findByIn() {\n\t\tFindIterable<Document> findIterable = collection.find(in(\"status\", \"A\", \"D\"));\r\n\t\tprint(findIterable);\r\n\t}", "title": "" }, { "docid": "b2cd40345b203fb261bfcc58a0608cbb", "score": "0.4911899", "text": "@Override\n public void loadEntityDetails() {\n \tsuper.loadEntityDetails();\n }", "title": "" }, { "docid": "f775739ed738b7c080103d0afb33bff0", "score": "0.49113834", "text": "@Override\n\tpublic TransferResultInfo<?> find() {\n\t\ttry {\n\t\t\tgradeDao.init();\n\t\t\tList<Grade> list_grade = gradeDao.select(transferDbData);\n\t\t\tList<TransferGradeInfo> finalList = new ArrayList<TransferGradeInfo>();\n\t\t\tfor (Grade grade : list_grade) {\n\t\t\t\tTransferGradeInfo g = new TransferGradeInfo();\n\t\t\t\tg.setUid(grade.getUid());\n\t\t\t\tg.setName(grade.getName());\n\t\t\t\tg.setAdmissiontime(grade.getAdmissiontime());\n\t\t\t\tg.setGraduationtime(grade.getGraduationtime());\n\t\t\t\tg.setCreatetime(grade.getCreatetime());\n\t\t\t\tg.setCreateip(grade.getCreateip());\n\t\t\t\tif (grade.getAdmin() != null) {\n\t\t\t\t\tTransferAdminInfo createuser = new TransferAdminInfo();\n\t\t\t\t\tcreateuser.setUid(grade.getAdmin().getUid());\n\t\t\t\t\tcreateuser.setName(grade.getAdmin().getName());\n\t\t\t\t\tg.setCreateuser(createuser);\n\t\t\t\t}\n\t\t\t\tfinalList.add(g);\n\t\t\t}\n\t\t\tTransferResultInfo<List<TransferGradeInfo>> rs = new TransferResultInfo<List<TransferGradeInfo>>();\n\t\t\trs.setMsgType(ResultCodeStorage.type_success);\n\t\t\trs.setMsgCode(ResultCodeStorage.code_success);\n\t\t\trs.setMsgContent(finalList);\n\t\t\treturn rs;\n\t\t} catch (HibernateException e) {\n\t\t\t// TODO: handle exception\n\t\t\te.printStackTrace();\n\t\t\tTransferResultInfo<String> rs = new TransferResultInfo<String>();\n\t\t\trs.setMsgType(ResultCodeStorage.type_error);\n\t\t\trs.setMsgCode(ResultCodeStorage.code_err_dao_hibernate_query);\n\t\t\trs.setMsgContent(StringUtil.formatResultInfoMessage(ResultCodeStorage.code_err_dao_hibernate_query, e.getMessage()));\n\t\t\treturn rs;\n\t\t} catch (HibernateSessionNotInitializedException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tTransferResultInfo<String> rs = new TransferResultInfo<String>();\n\t\t\trs.setMsgType(ResultCodeStorage.type_error);\n\t\t\trs.setMsgCode(ResultCodeStorage.code_err_session_hibernate_empty);\n\t\t\trs.setMsgContent(StringUtil.formatResultInfoMessage(ResultCodeStorage.code_err_session_hibernate_empty, e.getMessage()));\n\t\t\treturn rs;\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tTransferResultInfo<String> rs = new TransferResultInfo<String>();\n\t\t\trs.setMsgType(ResultCodeStorage.type_error);\n\t\t\trs.setMsgCode(ResultCodeStorage.code_err_generic_server_internal_exception);\n\t\t\trs.setMsgContent(StringUtil.formatResultInfoMessage(ResultCodeStorage.code_err_generic_server_internal_exception, e.getMessage()));\n\t\t\treturn rs;\n\t\t} finally {\n\t\t\tgradeDao.close();\n\t\t}\n\t}", "title": "" }, { "docid": "b0d8332bb77c32f405a1bf4392bca2c9", "score": "0.49103436", "text": "EbayLmsLog selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "2c4d5547d5c6345bd97057b01963388d", "score": "0.4907274", "text": "@Override\r\n\tpublic T findEntity(String hql, List<Object> params) throws Exception {\n\t\tList<T> list = this.find(hql, params);\r\n\t\tif (list != null && list.size() > 0) {\r\n\t\t\treturn list.get(0);\r\n\t\t} else {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "594f91febb595ea44044e3baf07fcd37", "score": "0.49061912", "text": "public interface ContentUpgradeDao extends EntityObjectDao{\r\n\t/**\r\n\t * 新建时检测是否名字重复\r\n\t * @param name\r\n\t * @return\r\n\t */\r\n\tboolean obtainNameExists(String name);\r\n\t\r\n\t/**\r\n\t * 更新时检测是否有重复\r\n\t * @param name\r\n\t * @param uuid\r\n\t * @return\r\n\t */\r\n\tboolean obtainNameExists(String name, String uuid);\r\n\r\n\t/**\r\n\t * 获取指定关键词和分页信息的内容升级列表\r\n\t * @param keyword 查找的关键词\r\n\t * @param startPosition 起始位置\r\n\t * @param size 获取大小\r\n\t * @return\r\n\t */\r\n\tList<ContentUpgrade> loadContentUpgrades(String keyword, int startPosition, int size);\r\n\t\r\n\t/**\r\n\t * 获取指定关键词的数量\r\n\t * @param keyword 指定关键词\r\n\t * @return\r\n\t */\r\n\tint loadAmount(String keyword);\r\n\t\r\n\t\r\n\tList<ContentUpgrade> loadAllContentUpgrades();\r\n}", "title": "" }, { "docid": "b472d2ce6ae617e2eb6414d0baca0dbc", "score": "0.49044067", "text": "private static List<ArticleBean> transactionSearchSuggestedArticles(Transaction tx, String username, int limit)\n {\n List<ArticleBean> articles = new ArrayList<>();\n HashMap<String,Object> parameters = new HashMap<>();\n int quantiInflu = 0;\n parameters.put(\"username\", username);\n parameters.put(\"role\", \"influencer\");\n parameters.put(\"limit\", limit);\n\n String conInflu = \"MATCH (u:User{username:$username})-[f:FOLLOW]->(i:User{role:$role})-[p:PUBLISHED]-(a:Article) \" +\n \" RETURN a, i, p ORDER BY p.timestamp LIMIT $limit\";\n\n String nienteInflu = \"MATCH (i:User)-[p:PUBLISHED]->(a:Article)-[r:REFERRED]->(g:Game), (u:User) \" +\n \" WHERE NOT(i.username = u.username) AND \" +\n \" u.username=$username AND ((g.category1 = u.category1 OR g.category1 = u.category2) \" +\n \" OR (g.category2 = u.category1 OR g.category2 = u.category2))\" +\n \" RETURN distinct(a),i,p ORDER BY p.timestamp LIMIT $limit \";\n\n Result result;\n quantiInflu = UsersDBManager.transactionCountUsers(tx,username,\"influencer\");\n if(quantiInflu < 3)\n {\n result = tx.run(nienteInflu, parameters);\n }\n else\n {\n result = tx.run(conInflu, parameters);\n }\n while(result.hasNext())\n {\n Record record = result.next();\n List<Pair<String, Value>> values = record.fields();\n ArticleBean article = new ArticleBean();\n String author;\n String title;\n for (Pair<String,Value> nameValue: values) {\n if (\"a\".equals(nameValue.key())) {\n Value value = nameValue.value();\n title = value.get(\"title\").asString();\n article.setTitle(title);\n article.setId(value.get(\"idArt\").asInt());\n\n }\n if (\"i\".equals(nameValue.key())) {\n Value value = nameValue.value();\n author = value.get(\"username\").asString();\n article.setAuthor(author);\n\n }\n if (\"p\".equals(nameValue.key())) {\n Value value = nameValue.value();\n String timestamp = value.get(\"timestamp\").asString();\n article.setTimestamp(Timestamp.valueOf(timestamp));\n\n }\n }\n articles.add(article);\n }\n\n return articles;\n\n }", "title": "" }, { "docid": "26d72588a6873d8b1542e13a8ec8935d", "score": "0.4902764", "text": "@Override\r\n\tpublic Vtype findById(int id) {\n\t\tVtype v=null;\r\n\t\tHibernateUtil.getCurrentSession().beginTransaction();\r\n\t\ttry{\r\n\t\t\tv=this.vdao.findById(id);\r\n\t\t\tHibernateUtil.getCurrentSession().getTransaction().commit();\r\n\t\t}catch(Exception e){\r\n\t\t\ttry{\r\n\t\t\t\tHibernateUtil.getCurrentSession().getTransaction().rollback();\r\n\t\t\t}catch(Exception e1){\r\n\t\t\t\tthrow e1;\r\n\t\t\t}\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\treturn v;\r\n\t}", "title": "" }, { "docid": "9871480890d4891d38f6e8069d14a53a", "score": "0.48867676", "text": "@Override\r\n\t@Transactional\r\n\tpublic List<EmployeeMaster> searchDriver(String search_key) {\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\r\n\t\tList<EmployeeMaster> listemp = (List<EmployeeMaster>) sessionFactory.getCurrentSession()\r\n\t\t.createQuery(\"from EmployeeMaster WHERE obsolete ='N'\"\r\n\t\t\t\t+ \" AND empcategory LIKE '%Driver%'\"\t\r\n\t\t\t\t+ \"and emp_name LIKE '%\"+search_key+\"%'\").list();\r\n\t\treturn listemp;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "0ca268765a6bb8310be7fe792ba7bf90", "score": "0.48853645", "text": "public Entity2 findEntity2ById(String id) throws DaoException;", "title": "" }, { "docid": "0e5132591357ee407b06d18ee8ad33c5", "score": "0.4881787", "text": "Alimento loadAlimentoById(Long id) throws EntityNotFoundException;", "title": "" }, { "docid": "8519ec1131d9b24bc2aa923c5f747a38", "score": "0.48805538", "text": "E findById(K id);", "title": "" }, { "docid": "be9f803a4b1f88f6f54f6b8a3589e0e0", "score": "0.48798594", "text": "public static void findByEquility() {\n\t\t\r\n\t\tFindIterable<Document> findIterable = collection.find(eq(\"status\", \"D\"));\r\n\t\tprint(findIterable);\r\n\t}", "title": "" }, { "docid": "500b109635a806bfe1ae404b87c168fa", "score": "0.48795584", "text": "@Override\r\n\t@Transactional\r\n\tpublic List<EmployeeMaster> searchbyeyEmployeeforSA(String search_key) {\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\r\n\t\tList<EmployeeMaster> listemp = (List<EmployeeMaster>) sessionFactory.getCurrentSession()\r\n\t\t.createQuery(\"from EmployeeMaster WHERE obsolete ='N' and emp_name LIKE '%\" + search_key + \"%'\"\r\n\t\t\t\t+ \" OR empcategory LIKE '%\" + search_key + \"%' OR emp_code LIKE '%\" + search_key + \"%'\"\r\n\t\t\t\t+ \" OR branchModel.branch_name LIKE '%\" + search_key + \"%' OR emp_address1 LIKE '%\" + search_key + \"%'\"\r\n\t\t\t\t+ \" OR emp_address2 LIKE '%\" + search_key + \"%' OR location.location_name LIKE '%\" + search_key + \"%'\"\r\n\t\t\t\t+ \" OR location.address.city LIKE '%\" + search_key + \"%' OR location.address.district LIKE '%\" + search_key + \"%'\"\r\n\t\t\t\t+ \" OR location.address.state LIKE '%\" + search_key + \"%' OR emp_phoneno LIKE '%\" + search_key + \"%' OR emp_email LIKE '%\" + search_key + \"%' OR dob LIKE '%\"+ search_key + \"%'\"\r\n\t\t\t\t+ \" OR doj LIKE '%\" + search_key + \"%'\").list();\r\n\t\treturn listemp;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2e1545eef9d9a300be3330c62c4bd53c", "score": "0.48768517", "text": "public E find(MongoDBCritera critera);", "title": "" }, { "docid": "ff2fb4eb452d3a8c475dbb1286caa077", "score": "0.4872021", "text": "@Override\r\n\t@Transactional\r\n\tpublic List<EmployeeMaster> searchbyEmployee(String search_key) {\n\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\r\n\t\tList<EmployeeMaster> listcust = (List<EmployeeMaster>) sessionFactory.getCurrentSession()\r\n\t\t.createQuery(\"from EmployeeMaster WHERE obsolete ='N' \"\r\n\t\t\t\t+ \" AND user.role.role_Name <>'\" + constantVal.ROLE_SADMIN + \"' \"\r\n\t\t\t\t+ \" and emp_name LIKE '%\" + search_key + \"%'\").list();\r\n\t\treturn listcust;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4eabcd078059fa5dddb7b1193e1105ea", "score": "0.48688895", "text": "public IncomingReport find(Integer id) throws DAOException;", "title": "" }, { "docid": "a482d36e4b85a5357fa940fb98ea7d39", "score": "0.48667756", "text": "public find() {\n initComponents();\n loadTBL(\"select * from before_production order by date\");\n loadSupp();\n }", "title": "" }, { "docid": "a095717da0b3cca4a6e32b2c023ae716", "score": "0.48609823", "text": "public List<EntityPropertyLocation> find();", "title": "" }, { "docid": "4e24cfa68904aafd128fc80a0ab20d4a", "score": "0.48530415", "text": "@Override\r\n\tpublic T findEntity(Class<T> c, Serializable id) throws Exception {\n\t\treturn (T) this.getcurrentSession().get(c, id);\r\n\t}", "title": "" }, { "docid": "75c60455a7b75b758a1e4534d7e951e8", "score": "0.48527738", "text": "protected void checkFindByPrimaryKey(DetailAST aAST)\n {\n if (!Utils.hasPublicMethod(aAST, \"findByPrimaryKey\", false, 1))\n {\n final DetailAST nameAST = aAST.findFirstToken(TokenTypes.IDENT);\n log(\n aAST.getLineNo(),\n nameAST.getColumnNo(),\n \"missingmethod.bean\",\n new Object[] {\"Home interface\", \"findByPrimaryKey\"});\n }\n }", "title": "" }, { "docid": "36c4f82cfe19a5ed8a64458a7a64e197", "score": "0.4850795", "text": "@Repository\n@Transactional\npublic interface UserAnswerRepository extends MongoRepository<UserAnswer, String> {\n UserAnswer findByAid(long aid);\n\n List<UserAnswer> findUserAnswerByUidAndEid(long uid, long eid);\n}", "title": "" }, { "docid": "4b2ac8b24d5df6223c4b8c391fc3f6ba", "score": "0.48492602", "text": "public void testFindByEstado() {\n// Iterable<Servico> servicos = repo.findByEstado(EstadoEspecificacao.INCOMPLETO, NrMecanografico.valueOf(\"1001\"));\n// servicos.forEach(s -> System.out.println(s.identity()));\n }", "title": "" }, { "docid": "18c845079623eaeb081ce02e68f76d3e", "score": "0.4849047", "text": "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\tMasterAEnt masterAEnt = (MasterAEnt) ss.get(MasterAEnt.class, 1);\r\n\t\t\t\t//doing lazy-load\r\n\t\t\t\tmasterAEnt.getDetailAEntCol().size();\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest.this\r\n\t\t\t\t\t.manager\r\n\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\r\n\t\t\t\tSignatureBean signatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQUVudCIsImlzQ29sbCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoiZGV0YWlsQUVudENvbCIsInJhd0tleVZhbHVlcyI6WyIxIl0sInJhd0tleVR5cGVOYW1lcyI6WyJqYXZhLmxhbmcuSW50ZWdlciJdfQ\");\r\n\t\t\t\tCollection<DetailAEnt> detailAEntCol = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\t\t\t\tArrayList<DetailAEnt> detailAEntCuttedCol = new ArrayList<>();\r\n\t\t\t\tdetailAEntCuttedCol.add(new ArrayList<>(detailAEntCol).get(1));\r\n\t\t\t\tdetailAEntCuttedCol.add(new ArrayList<>(detailAEntCol).get(2));\r\n\t\t\t\tPlayerSnapshot<Collection<DetailAEnt>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailAEntCuttedCol);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\t\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "47358113a2c16a4f5f2505ba40f277bc", "score": "0.4848928", "text": "public interface RenLogEntityRepository extends JpaRepository<RenLogEntity, String> {\n\n List<RenLogEntity> findRenLogEntitiesByRtid(String rtid);\n\n}", "title": "" }, { "docid": "3318bf7545c0fc80432a74c476cdbf30", "score": "0.48467472", "text": "public interface XiaoShouContactDao extends EntityObjectDao {\n \n List<XiaoShouContact> findOverviewXiaoShouContact(String keyWords, String userUuid, String startTime, String endTime, String sortBy, String sortWay, String contactStatus, int startPosition, int pageSize);\n\n int findOverviewXiaoShouSize(String keyWords, String userUuid, String startTime, String endTime, String sortBy, String sortWay, String contactStatus);\n\n //查找重复的编号\n boolean findXiaoShouOrderDuplicate(String temp);\n\n //未付账单用户\n List<Object[]> obtainAllCompanyWithOnCreateBillOnLoginUser();\n\n //特定用户所有未付款history\n List<XiaoShouContactRentingFeeHistory> findSpecUserOnCreateBill(String selectCarrierUuid);\n\n /*******************************************扣款历史*******************************************/\n List<XiaoShouContactRentingFeeHistory> findXiaoShouHistory(List<String> historyUuids);\n\n List<XiaoShouContactRentingFeeHistory> obtainXiaoShouHistoryByVehicleNumber(String contactUuid, String vehicleNumber);\n}", "title": "" }, { "docid": "795a9b2221f7592b705adf73987ed1c3", "score": "0.48460987", "text": "public interface alertRepo {\n\n List<alerts> findAll();\n\n List<alerts> findAlertsFromVehicle(String vin);\n\n alerts create(alerts alert);\n}", "title": "" }, { "docid": "a480f9d89cb5632016d6822c4f6b9805", "score": "0.4845593", "text": "public Student findById(int theStudent_id);", "title": "" }, { "docid": "d10e1a8a678f1212c01c7b4a95c3ba3a", "score": "0.48454875", "text": "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\tMasterAEnt masterAEnt = (MasterAEnt) ss.get(MasterAEnt.class, 1);\r\n\t\t\t\t//doing lazy-load\r\n\t\t\t\tmasterAEnt.getDetailAEntCol().size();\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest.this\r\n\t\t\t\t\t.manager\r\n\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(true));\r\n\t\t\t\t\r\n\t\t\t\tSignatureBean signatureBean = PlayerManagerTest.this.manager.deserializeSignature(\"eyJjbGF6ek5hbWUiOiJvcmcuanNvbnBsYXliYWNrLnBsYXllci5oaWJlcm5hdGUuZW50aXRpZXMuTWFzdGVyQUVudCIsImlzQ29sbCI6dHJ1ZSwicHJvcGVydHlOYW1lIjoiZGV0YWlsQUVudENvbCIsInJhd0tleVZhbHVlcyI6WyIxIl0sInJhd0tleVR5cGVOYW1lcyI6WyJqYXZhLmxhbmcuSW50ZWdlciJdfQ\");\r\n\t\t\t\tCollection<DetailAEnt> detailAEntCol = PlayerManagerTest.this.manager.getBySignature(signatureBean);\r\n\t\t\t\tArrayList<DetailAEnt> detailAEntCuttedCol = new ArrayList<>();\r\n\t\t\t\tdetailAEntCuttedCol.add(new ArrayList<>(detailAEntCol).get(0));\r\n\t\t\t\tdetailAEntCuttedCol.add(new ArrayList<>(detailAEntCol).get(1));\r\n\t\t\t\tPlayerSnapshot<Collection<DetailAEnt>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailAEntCuttedCol);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\t\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "ee35753e2e289c6ce30a609e0995799e", "score": "0.48452625", "text": "public List<E> findAll() ;", "title": "" }, { "docid": "c00c4bfaf9c3c4ba7163479efe24f9c9", "score": "0.48403734", "text": "public Singer find(int singerId);", "title": "" }, { "docid": "c040f43257bf15afbade12e381a504e3", "score": "0.483808", "text": "@Override\n public SideDishEntity find(Long id) throws ObjectNotFoundUserException {\n return null;\n }", "title": "" }, { "docid": "02b6d2af4e46fc5d865992f2888ab4f3", "score": "0.48359337", "text": "@Override\n\tpublic Paciente find(Paciente entity) throws SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "89e5c8aaa52ca391a535063417de2969", "score": "0.4835728", "text": "int updateByPrimaryKeySelective(Engine record);", "title": "" }, { "docid": "311c3937e374f4e54240bcb62d6d19aa", "score": "0.48337314", "text": "public Poentity poentity_search_for_update(String id ) throws Exception {\n\n \t\t log.setLevel(Level.INFO);\n\t log.info(\"poentity_search_for_update service operation started !\");\n\n\t\ttry{\n\t\t\tPoentity the_Poentity;\n\n\t\t\tthe_Poentity = Poentity_Activity_dao.poentity_search_for_update(id);\n\n \t\t\tlog.info(\" Object returned from poentity_search_for_update service method !\");\n\t\t\treturn the_Poentity;\n\n\t\t}catch(Exception e){\n\n\t\t\tSystem.out.println(\"ServiceException: \" + e.toString());\n\t\t\tlog.error(\"poentity_search_for_update service throws exception : \"+ e.toString());\n\n\t\t}\n\t\treturn null;\n\n\n\n\t}", "title": "" }, { "docid": "d1b4daf5b92c6b0d5a1f7a676a9b30c6", "score": "0.4832937", "text": "@Override\n public DriverDO find(Long driverId) throws EntityNotFoundException {\n return findDriverChecked(driverId);\n }", "title": "" }, { "docid": "cadf0d19a5ea66316d966fab05134b69", "score": "0.48180667", "text": "@Override\n\tpublic List<String> getAllAuditedEntitiesNames() {\n\t\tif (this.allAuditedEntititesNames != null) {\n\t\t\t// return this.allAuditedEntititesNames;\n\t\t}\n\t\t//\n\t\tList<String> result = new ArrayList<>();\n\t\tSet<EntityType<?>> entities = entityManager.getMetamodel().getEntities();\n\t\tfor (EntityType<?> entityType : entities) {\n\t\t\tif (entityType.getJavaType() == null) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t// get entities methods and search annotation Audited in fields.\n\t\t\tif (getAuditedField(entityType.getJavaType().getDeclaredFields())) {\n\t\t\t\tresult.add(entityType.getJavaType().getCanonicalName());\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t//\n\t\t\t// TODO: add some better get of all class annotations\n\t\t\tAnnotation[] annotations = null;\n\t\t\ttry {\n\t\t\t\tannotations = entityType.getJavaType().newInstance().getClass().getAnnotations();\n\t\t\t} catch (InstantiationException | IllegalAccessException e) {\n\t\t\t\t// class is not accessible\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t// entity can be annotated for all class\n\t\t\tif (getAuditedAnnotation(annotations)) {\n\t\t\t\tresult.add(entityType.getJavaType().getCanonicalName());\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\t// sort entities by name\n\t\tCollections.sort(result);\n\t\t//\n\t\tthis.allAuditedEntititesNames = result;\n\t\treturn result;\n\t}", "title": "" }, { "docid": "717aa3c8d7c2879e609279da2987cb75", "score": "0.48176923", "text": "public abstract T findById(K id, Boolean isAdmin) throws ServiceException;", "title": "" }, { "docid": "fcc4c464bd5ccb6539582545c5574090", "score": "0.48166808", "text": "public IPATestStage ipateststage_search_for_update(long id, IPUser user) throws Exception {\n\t\t log.setLevel(Level.INFO);\n\t log.info(\"ipateststage_search_for_update Dao started operation!\");\n\n\t\ttry{\n\n\t\t\tQuery result = entityManager.\n\t\t\tcreateNativeQuery(search_for_update_IPATestStage,IPATestStage.class)\n\n\t\t\t.setParameter(\"id\", id);;\n\n\t\t\tArrayList<IPATestStage> IPATestStage_list =\t(ArrayList<IPATestStage>)result.getResultList();\n\n\t\t\tif(IPATestStage_list == null){\n\n\t\t\tlog.error(\"ipateststage_search_for_update Dao throws exception :\" + \"no IPATestStage found\" );\n\t\t\tthrow new Exception(\"no IPATestStage found\");\n\t\t\t}\n\t\t\tlog.info(\"Object returned from ipateststage_search_for_update Dao method !\");\n\t\t\treturn (IPATestStage) IPATestStage_list.get(0);\n\n\t\t}catch(Exception e){\n\n\t\t\t//new Exception(e.toString()); // this needs to be changed\n\t\t\tlog.error(\"ipateststage_search_for_update Dao throws exception : \"+e.toString());\n\n\t\t}\n\t\treturn null;\n\n\n\t}", "title": "" }, { "docid": "242fa35acd3ff47a817819be547fa991", "score": "0.48158085", "text": "Expertise findByName(String name);", "title": "" }, { "docid": "d1ba5def7520e8314ddc9ab9e88eb546", "score": "0.48087174", "text": "List<Event> findAllBy();", "title": "" }, { "docid": "b960870e0e4898239d623cec304c7b37", "score": "0.48080355", "text": "public interface CaseRepo extends MongoRepository<Case, String> {\n // Case findById(String id);\n List<Case> findByInternalId(String internalId);\n}", "title": "" }, { "docid": "ff99ee5f7c332507b56036412eb7b795", "score": "0.48047453", "text": "Employee findById(int id);", "title": "" }, { "docid": "0de7c67ac146c5d87475f0daa81250e3", "score": "0.48045772", "text": "public static List<Book> searchEBookByName(String name) throws HibernateException{\r\n \r\n session = sessionFactory.openSession();\r\n session.beginTransaction();\r\n\r\n Query query = session.getNamedQuery(\"INVENTORY_searchBookByName\").setString(\"name\", name);\r\n\r\n List<Book> resultList = query.list();\r\n \r\n session.getTransaction().commit();\r\n session.close();\r\n \r\n return resultList;\r\n \r\n }", "title": "" }, { "docid": "f872a08e07b261b87c75dbeffd67b536", "score": "0.4804544", "text": "public static void main(String[] args) {\n\t\tEntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory(\"pu_essai\");\r\n\t\tEntityManager em = entityManagerFactory.createEntityManager();\r\n\t\t/*\r\n\t\t * Livre l = em.find(Livre.class, 1); if (l != null){\r\n\t\t * System.out.println(l.getId() + \" \" + l.getTitre() + \" \" +\r\n\t\t * l.getAuteur()); } TypedQuery<Livre> query2 =\r\n\t\t * em.createQuery(\"select l from Livre l where l.titre='Germinal'\",\r\n\t\t * Livre.class); Livre l2 = query2.getResultList().get(0);\r\n\t\t * System.out.println(l2.getId() + \" \" + l2.getTitre() + \" \" +\r\n\t\t * l2.getAuteur());\r\n\t\t */\r\n\t\tQuery query3 = em.createQuery(\"select e.livres from Emprunt e where e.id=1\");\r\n\t\tList<Livre> result = query3.getResultList();\r\n\t\tfor (Livre l : result) {\r\n\t\t\tSystem.out.println(l.getId() + \" \" + l.getTitre() + \" \" + l.getAuteur());\r\n\t\t}\r\n\t\tTypedQuery<Emprunt> query4 = em.createQuery(\"select e from Emprunt e where e.client=3\", Emprunt.class);\r\n\t\tquery4.getResultList().forEach(e -> System.out.println(e.getId() + \" \" + e.getDate_debut() + \" \" + e.getDate_fin()));\r\n\t\tem.close();\r\n\t\tentityManagerFactory.close();\r\n\t}", "title": "" }, { "docid": "3217fd2a433e3d8a467e48ec5c1e357f", "score": "0.48045105", "text": "@Repository\npublic interface EnterprisesRepository extends JpaRepository<Enterprises, Long> {\n\n Enterprises findById(Long id);\n\n/* @Query(\"SELECT e.id,e.entpName,e.contactPerson,e.createdDate FROM Enterprises e\")\n List<Enterprises> findAllEnterprises();*/\n\n @Query(\"SELECT e FROM Enterprises e where e.id = :id\")\n Enterprises findEnterprise(@Param(\"id\") Long id);\n}", "title": "" }, { "docid": "865c06d805605bc81b8fdac15a76d1d3", "score": "0.4802092", "text": "static void searchProductDB() {\n\n int productID = Validate.readInt(ASK_PRODUCTID); // store product ID of user entry\n\n\n productDB.findProduct(productID); // use user entry as parameter for the findProduct method and if found will print details of product\n\n }", "title": "" }, { "docid": "ff06b8b9ccdabf2b201d01b3b3da0c20", "score": "0.48015916", "text": "ProEmployee selectByPrimaryKey(String id);", "title": "" }, { "docid": "a469f222d2fba226fd03037f9da5a666", "score": "0.4800173", "text": "Getter<ENTITY, FK> finder();", "title": "" }, { "docid": "4e105dc79a7e66256c8a26e6def317a8", "score": "0.47987115", "text": "@Repository\npublic interface EventRepository extends JpaRepository<Event, Integer> {\n\n @Query(\"select e from Event e where lower(e.title) like lower(concat('%',:search,'%'))\"\n + \" or e.author in (select u.userId from User u \"\n + \" where lower(u.firstName) like lower(concat('%',:search,'%')) \"\n + \" or lower(u.lastName) like lower(concat('%',:search,'%')))\"\n + \" or lower(e.description) like lower(concat('%',:search,'%'))\")\n List<Event> findByTitleOrAuthorOrDescription(\n @Param(\"search\") String search);\n\n @Query(\"select e from Event e where e.startTime between :startTime and :endTime\"\n + \" or e.endTime between :startTime and :endTime\")\n List<Event> findBetweenStartTimeAndEndTime(\n @Param(\"startTime\") Timestamp startTime,\n @Param(\"endTime\") Timestamp endTime);\n\n @Query(\"select e from Event e where e.author = (select u.userId from User u where u.email = :email)\")\n List<Event> findByAuthorEmail(@Param(\"email\") String email);\n \n}", "title": "" }, { "docid": "9cd339ba49932f3d9573b69c898bc3f4", "score": "0.47984892", "text": "@Override\r\n\t\t\tpublic Object doInTransaction(TransactionStatus arg0) {\n\t\t\t\t\r\n\t\t\t\tSqlLogInspetor sqlLogInspetor = new SqlLogInspetor();\r\n\t\t\t\tsqlLogInspetor.enable();\r\n\t\t\t\t\r\n\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\tList<DetailAEnt> detailAEntList = \r\n\t\t\t\t\t\thbSupport.createCriteria(ss, DetailAEnt.class)\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.masterA.id\"))\r\n\t\t\t\t\t\t\t.addOrder(OrderCompat.asc(\"compId.subId\")).list();\r\n\t\t\t\t\r\n\t\t\t\tList<DetailACompId> detailACompIdList = new ArrayList<>();\r\n\t\t\t\tfor (DetailAEnt detailAEnt : detailAEntList) {\r\n\t\t\t\t\tdetailACompIdList.add(detailAEnt.getCompId());\r\n\t\t\t\t\tPlayerManagerTest.this.manager.registerComponentOwner(DetailAEnt.class, detailAEnt.getCompId(), d -> d.getCompId());\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t.this\r\n\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t.overwriteConfigurationTemporarily(\r\n\t\t\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t\t\t.clone()\r\n\t\t\t\t\t\t\t\t\t\t\t.configSerialiseBySignatureAllRelationship(false));\r\n\t\t\t\t\r\n\t\t\t\tPlayerSnapshot<List<DetailACompId>> playerSnapshot = PlayerManagerTest.this.manager.createPlayerSnapshot(detailACompIdList);\r\n\t\t\t\t\r\n\t\t\t\tFileOutputStream fos;\r\n\t\t\t\ttry {\r\n\t\t\t\t\tfos = new FileOutputStream(generatedFileResult);\r\n\t\t\t\t\tPlayerManagerTest\r\n\t\t\t\t\t\t.this\r\n\t\t\t\t\t\t\t.manager\r\n\t\t\t\t\t\t\t\t.getConfig()\r\n\t\t\t\t\t\t\t\t\t.getObjectMapper()\r\n\t\t\t\t\t\t\t\t\t\t.writerWithDefaultPrettyPrinter()\r\n\t\t\t\t\t\t\t\t\t\t\t.writeValue(fos, playerSnapshot);\r\n\t\t\t\t\t\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\tthrow new RuntimeException(\"Unexpected\", e);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tsqlLogInspetor.disable();\r\n\t\t\t\t\r\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" } ]
f50e0bb3b2e3832a4301c584c79d388e
Entry point for initialization of any command flow. Invokes a certain dialog flow, manages interruptions and topic switch.
[ { "docid": "feb293b062233f17e59a7486744f036f", "score": "0.0", "text": "public List<SendMessage> startCommandFlow(long chatId, String command) {\n\t\tList<SendMessage> msgList = new ArrayList<>(); \n\t\tSendMessage msg = new SendMessage().setChatId(chatId);\n\t\tlogger.info(Long.toString(chatId) + \" \" + command);\n\t\tString noProfileText = \"Sorry, I can't give you such valuable information...\\n\"\n\t\t\t\t\t\t+ \"please, follow /start firstly!)\";\n\t\t\n\t\tif (command.equals(\"/help\")) {\n\t\t\tmsg = help(chatId);\n\t\t\tmsgList.add(msg);\n\t\t\treturn msgList;\n\t\t}\n\t\t\n\t\tif (command.equals(\"/forget\")) {\n\t\t\t// TODO:\n\t\t\tmsg.setText(\"ups, don't support it yet, your data will be sold to\"\n\t\t\t\t\t+ \"other companies, lol xD\");\n\t\t\tmsgList.add(msg);\n\t\t\treturn msgList;\n\t\t\t\n\t\t}\n\t\t\n\t\tif (command.equals(\"/stop\")) {\n\t\t\t// terminate current dialog flow\n\t\t\tfinishDialogFlow(chatId);\n\t\t\tmsg.setText(\"Alright, I got you!\");\n\t\t\tmsgList.add(msg);\n\t\t\treturn msgList;\n\t\t}\n\t\t\n\t\t// deal with topic switch\n\t\tif (currentDialogFlow.containsKey(chatId)) {\n\t\t\tlogger.info(\"Trying to switch the topic!\");\n\t\t\tmsg.setText(\"Hmm, seems you've changed the topic,\"\n\t\t\t\t\t\t\t\t+ \" are you sure you wanna stop? \"\n\t\t\t\t\t\t\t\t+ \"If yes, please, type /stop\");\n\t\t\tmsgList.add(msg);\n\t\t\treturn msgList;\n\t\t} \n\t\t\n\t\tswitch (command) {\n\t\t\tcase \"/start\":\n\t\t\t\tlogger.info(\"start...\");\n\t\t\t\tmsgList = start(chatId);\n\t\t\t\tbreak;\n\t\t\tcase \"/preferences\":\n\t\t\t\tif (userHasProfile.get(chatId) != null) {\n\t\t\t\t\tmsgList = preferences(chatId);\n\t\t\t\t} else {\n\t\t\t\t\tmsgList.add(msg.setText(noProfileText));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"/recommend\":\n\t\t\t\tif (userHasProfile.get(chatId) != null) {\n\t\t\t\t\tmsgList = recommend(chatId);\n\t\t\t\t} else {\n\t\t\t\t\tmsgList.add(msg.setText(noProfileText));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"/search_resort\":\n\t\t\t\tmsgList = searchResort(chatId);\n\t\t\t\tbreak;\n\t\t\tcase \"/info\":\n\t\t\t\tif (userHasProfile.get(chatId) != null) {\n\t\t\t\t\tmsgList = info(chatId);\n\t\t\t\t} else {\n\t\t\t\t\tmsgList.add(msg.setText(noProfileText));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tmsg.setText(\"I'm sorry, didn't get you. Could you repeat, please?\");\n\t\t\t\tmsgList.add(msg);\n\t\t}\n\t\t\n\t\t\n\t\tfor (SendMessage m: msgList) {\n\t\t\tlogger.info(m.getText());\n\t\t}\n\t\treturn msgList;\n\t}", "title": "" } ]
[ { "docid": "24aae581703d97f18302ff9b83536dbc", "score": "0.6416212", "text": "private void handleInitialisationSequence() {\n stage.show();\n // start perspective Observer worker thread\n // TODO create status daemon which observes\n // thread component on\n // failure and restarts if needed!!\n ((Thread) messageCoordinator)\n .start();\n ((Thread) componentDelegator)\n .start();\n ((Thread) messageDelegator)\n .start();\n // handle perspective\n log(\"3.3: workbench init perspective\");\n initComponents(null);\n }", "title": "" }, { "docid": "052073cda1a289fb59a9ef1cda373117", "score": "0.6098627", "text": "protected abstract void initCommand();", "title": "" }, { "docid": "94f19d1fac16fb762bcfc4b0e8d8c3bc", "score": "0.6074885", "text": "public void teleopInit() \n {\n if (autonomousCommand != null) autonomousCommand.cancel();\n }", "title": "" }, { "docid": "348181037c922f411a5b1ff53b046ab6", "score": "0.607404", "text": "protected void setup() {\r\n\t\t/*\r\n\t\t * Hello message.\r\n\t\t */\r\n\t\tSystem.out.println(this.getAID().getLocalName() + \": begin operation\");\r\n\t\t\r\n\t\t/* \r\n\t\t * Request sent to the tour guide. It uses TourGuideInitiator class to\r\n\t\t * make communication easier.\r\n\t\t */\r\n\t\tACLMessage initTourRequest = new ACLMessage(ACLMessage.REQUEST);\r\n\t\tinitTourRequest.setProtocol(FIPANames.InteractionProtocol.FIPA_REQUEST);\r\n\t\tinitTourRequest.setContent(\"request-tour-guide\");\r\n\t\t\r\n\t\t/*\r\n\t\t * The Profiler looks for the registered Tour Guides.\r\n\t\t */\r\n\t\t\r\n\t\tDFAgentDescription template = new DFAgentDescription(); \r\n\t\tServiceDescription sd = new ServiceDescription(); \r\n\t\tsd.setType(\"tour-guide\"); \r\n\t\ttemplate.addServices(sd);\r\n\t\ttry { \r\n\t\t\tDFAgentDescription[] result = DFService.search(this, template); \r\n\t\t\tfor (int i = 0; i < result.length; ++i) {\r\n\t\t\t\tinitTourRequest.addReceiver(result[i].getName()); \r\n\t\t\t\t}\r\n\t\t} catch (FIPAException fe) {\r\n\t\t\tfe.printStackTrace();\r\n\t\t\t}\r\n\t\t\r\n\t\tTourGuideInitiator initGuide = new TourGuideInitiator(this, initTourRequest);\r\n\t\t\r\n\t\t/*\r\n\t\t * Same as above, but with curator agent.\r\n\t\t */\r\n\t\tACLMessage detailTourRequest = new ACLMessage(ACLMessage.REQUEST);\r\n\t\tdetailTourRequest.setProtocol(FIPANames.InteractionProtocol.FIPA_REQUEST);\r\n\t\tdetailTourRequest.setContent(\"request-tour-details\");\r\n\r\n\t\t/*\r\n\t\t * The Profiler looks for the registered curators.\r\n\t\t */\r\n\t\t\r\n\t\ttemplate = new DFAgentDescription(); \r\n\t\tsd = new ServiceDescription(); \r\n\t\tsd.setType(\"curator\"); \r\n\t\ttemplate.addServices(sd);\r\n\t\ttry { \r\n\t\t\tDFAgentDescription[] result = DFService.search(this, template); \r\n\t\t\tfor (int i = 0; i < result.length; ++i) {\r\n\t\t\t\tdetailTourRequest.addReceiver(result[i].getName()); \r\n\t\t\t\t}\r\n\t\t} catch (FIPAException fe) {\r\n\t\t\tfe.printStackTrace();\r\n\t\t\t}\r\n\t\t\r\n\t\tCuratorInitiator initCurator = new CuratorInitiator(this, detailTourRequest);\r\n\t\t\r\n\t\t/*\r\n\t\t * State machine consists of two states:\r\n\t\t * 1. Communication with tour guide agent\r\n\t\t * 2. Communication with curator agent\r\n\t\t * 3. Final state\r\n\t\t * \r\n\t\t * It is constructed below.\r\n\t\t */\r\n\t\tOneShotBehaviour lastState = new OneShotBehaviour(this) {\r\n\t\t\tpublic void action() {}\r\n\t\t};\r\n\t\t\r\n\t\tFSMBehaviour fsm = new FSMBehaviour(this);\r\n\t\tfsm.registerFirstState(initGuide, STATE_GET_GUIDE);\r\n\t\tfsm.registerState(initCurator, STATE_GET_DETAILS);\r\n\t\tfsm.registerLastState(lastState, STATE_LAST);\r\n\t\tfsm.registerTransition(STATE_GET_GUIDE, STATE_GET_DETAILS, 0);\r\n\t\tfsm.registerTransition(STATE_GET_GUIDE, STATE_LAST, 1);\r\n\t\tfsm.registerDefaultTransition(STATE_GET_DETAILS, STATE_LAST);\r\n\t\t\r\n\t\t/*\r\n\t\t * Sequential behavior is constructed and added as default agent \r\n\t\t * behavior.\r\n\t\t */\r\n\t\tSequentialBehaviour seqBeh = new SequentialBehaviour(this);\r\n\t\tseqBeh.addSubBehaviour(fsm);\r\n\t\tseqBeh.addSubBehaviour(new OneShotBehaviour(this) {\r\n\t\t\tpublic void action() {\r\n\t\t\t\tSystem.out.println(myAgent.getAID().getLocalName() + \": closing\");\r\n\t\t\t}\r\n\t\t\tpublic int onEnd() {\r\n\t\t\t\tmyAgent.doDelete();\r\n\t\t\t\treturn super.onEnd();\r\n\t\t\t}\r\n\t\t});\r\n\t\taddBehaviour(seqBeh);\r\n\t}", "title": "" }, { "docid": "88bd078ae20066c8a63d6ec43475d68c", "score": "0.5999043", "text": "public void initDefaultCommand() \n {\n }", "title": "" }, { "docid": "fd723d45802af1159a4a2dfd5b3db955", "score": "0.5992066", "text": "public void teleopInit() {\n\t\tif (autonomousCommand != null) autonomousCommand.cancel();\n\t }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "af42f55254b14446361bb9c82052db5b", "score": "0.5987586", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "8d58b246b5677469001971b2aa3b8d1b", "score": "0.5981584", "text": "public void teleopInit() {\n if (autonomousCommand != null) autonomousCommand.cancel();\n }", "title": "" }, { "docid": "8d58b246b5677469001971b2aa3b8d1b", "score": "0.5981584", "text": "public void teleopInit() {\n if (autonomousCommand != null) autonomousCommand.cancel();\n }", "title": "" }, { "docid": "8d58b246b5677469001971b2aa3b8d1b", "score": "0.5981584", "text": "public void teleopInit() {\n if (autonomousCommand != null) autonomousCommand.cancel();\n }", "title": "" }, { "docid": "da3631376b98e7a47f1b0d4dab4d3129", "score": "0.5947146", "text": "protected void initDefaultCommand() { }", "title": "" }, { "docid": "c4bcd164b468c575f49adbe7767bed49", "score": "0.58916086", "text": "private void initializeInteraction() {\n MainMenuListener listener = new MainMenuListener();\n newButton.addActionListener(listener);\n loadButton.addActionListener(listener);\n quitButton.addActionListener(listener);\n }", "title": "" }, { "docid": "d855e556af6b5358d6aefba0b2df5686", "score": "0.5874616", "text": "public void autonomousInit() \n {\n \t// The following selects the user's choice from the Java SmartDashboard\n autonomousCommand = (Command) chooser.getSelected();\n \n // The following commented out example is how to use the LabVIEW Dashboard\n\t\t/* String autoSelected = SmartDashboard.getString(\"Auto Selector\", \"Default\");\n\t\tswitch(autoSelected) {\n\t\tcase \"My Auto\":\n\t\t\tautonomousCommand = new MyAutoCommand();\n\t\t\tbreak;\n\t\tcase \"Default Auto\":\n\t\tdefault:\n\t\t\tautonomousCommand = new ExampleCommand();\n\t\t\tbreak;\n\t\t} */\n \t\n \t// schedule the autonomous command (example)\n if (autonomousCommand != null) autonomousCommand.start();\n }", "title": "" }, { "docid": "3c7a303edc7d8e9568b6c926e16e8cea", "score": "0.5868756", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "3c7a303edc7d8e9568b6c926e16e8cea", "score": "0.5868756", "text": "public void initDefaultCommand() {\n }", "title": "" }, { "docid": "cbfc416f584920c64cda16b47b94ad5f", "score": "0.58533347", "text": "@Override\n\tpublic void autonomousInit() {\n\t\tCommand autonomousCommand = chooser.getSelected();\n\t\tautonomousCommand.start();\n\t}", "title": "" }, { "docid": "8a2c7b94fbc51ed1edc46764f5d983a5", "score": "0.58533156", "text": "public void initDefaultCommand() {\n\t}", "title": "" }, { "docid": "8a2c7b94fbc51ed1edc46764f5d983a5", "score": "0.58533156", "text": "public void initDefaultCommand() {\n\t}", "title": "" }, { "docid": "8a2c7b94fbc51ed1edc46764f5d983a5", "score": "0.58533156", "text": "public void initDefaultCommand() {\n\t}", "title": "" }, { "docid": "8a2c7b94fbc51ed1edc46764f5d983a5", "score": "0.58533156", "text": "public void initDefaultCommand() {\n\t}", "title": "" }, { "docid": "8a2c7b94fbc51ed1edc46764f5d983a5", "score": "0.58533156", "text": "public void initDefaultCommand() {\n\t}", "title": "" }, { "docid": "8a2c7b94fbc51ed1edc46764f5d983a5", "score": "0.58533156", "text": "public void initDefaultCommand() {\n\t}", "title": "" }, { "docid": "8a2c7b94fbc51ed1edc46764f5d983a5", "score": "0.58533156", "text": "public void initDefaultCommand() {\n\t}", "title": "" }, { "docid": "f0dcb5805826ffd569f618cc16f83c68", "score": "0.58481187", "text": "public void initDefaultCommand() {\n\n\t}", "title": "" }, { "docid": "f0dcb5805826ffd569f618cc16f83c68", "score": "0.58481187", "text": "public void initDefaultCommand() {\n\n\t}", "title": "" }, { "docid": "ad9543c43d4377b109a68eca78e89a2a", "score": "0.5842416", "text": "public void initDefaultCommand()\n\t{\n\t}", "title": "" }, { "docid": "2e55e62f1cd038815694ef244eccf7e0", "score": "0.58306295", "text": "@FXML\n\tprivate void initialize() {\n\t\tcurrentTurn.setText(\"Player\");\n\t\tCommunicatorTask communicatorTask = new CommunicatorTask(comm, this);\n\t\tThread communication = new Thread(communicatorTask);\n\t\tcommunication.start();\n\t}", "title": "" }, { "docid": "f21acec066f9c0c2d093de88e1d6c1a4", "score": "0.5812096", "text": "public void autonomousInit() {\n \tautonomousCommand = (Command)autoChooser.getSelected();\n \tif (autonomousCommand != null) autonomousCommand.start();\n }", "title": "" }, { "docid": "008d910a590c5a16f55c7b630b0e3f0c", "score": "0.5803302", "text": "@Override\n\tpublic void teleopInit() {\n\t\t// Ensure the autonomous commands are cancelled if not finished \n\t\t//if (autonomousCommand != null)\n\t\t//\tautonomousCommand.cancel();\n\t\t//DrivetrainSubsystem.getInstance().stopTrapezoidControl(); \t\n\t\t//DrivetrainSubsystem.getInstance().percentVoltageMode();\n \t//DrivetrainSubsystem.getInstance().resetEncoders();\n\t\tOI.initialize();\n\t\tRobotState.getInstance().setState(RobotState.State.TELEOP);\n\t // startTime = Timer.getFPGATimestamp();\n\t \n\t //TurretSubsystem.getInstance().getThread().startTurret();\n\t //start commands that use joysticks and dpads manually from Robot.java\n \t(new ArcadeDriveCommand()).start();\n \t\n \tif (!Robot.bot.getName().equals(\"ProgrammingBot\")){\n \t\t//(new TeleopTurretCommand()).start();\n \t//(new TeleopDeflectorCommand()).start();\n \t//(new CameraTurnCommand()).start();\n \t}\n\t}", "title": "" }, { "docid": "2bf9e67acac8f48d14491f9837a05696", "score": "0.580003", "text": "private void initialize() {\r\n\t\tthis.setSize(455, 274);\r\n\t\tthis.setTitle(\"tools\");\r\n\t\tthis.setContentPane(getJContentPane());\r\n\t\t\r\n\t\tgetCmdShowWorkTypeOutputType().setAction(new ActShowDlgWorkTypeOutputType());\r\n\t\tgetCmdShowUserMaint().setAction(new ActShowDlgUserMaint());\r\n\t\tgetCmdShowCheckPoint().setAction(new ActShowCheckPointMaint());\r\n\t\tgetCmdShowReviewStateType().setAction(new ActShowReviewStateTypeMaint());\r\n\r\n\t}", "title": "" }, { "docid": "cff84fd3d02e17cc79316a8483a03a42", "score": "0.5783392", "text": "public void start() {\n Scanner in = new Scanner(System.in); //InputStream\n Messages messages = new Messages();\n System.out.println(messages.welcomeMessage);\n optionMenu(in, messages);\n }", "title": "" }, { "docid": "65317790df6da6d51169444077f2dbd4", "score": "0.57749665", "text": "public void autonomousInit()\n\t{\n\t\t// Clear out any tasks from a previous practice/test\n\t\ttaskManager.ClearAllTasks();\n\t\ttaskManager.AddTask(new TaskPrepare(leadscrew, boom, leftHook, rightHook));\n\t//\ttaskManager.AddTask(new TaskClimb(leadscrew));\n\t}", "title": "" }, { "docid": "1c2e6f092d3dfd342186d8564b4df95f", "score": "0.575234", "text": "public void teleopInit() {\n\t\t// This makes sure that the autonomous stops running when\n\t\t// teleop starts running. If you want the autonomous to\n\t\t// continue until interrupted by another command, remove\n\t\t// this line or comment it out.\n\t\tif (autonomousCommand != null)\n\t\t\tautonomousCommand.cancel();\n\t}", "title": "" }, { "docid": "2684c28193d1e275dae35d778f06080e", "score": "0.57486814", "text": "public void initDefaultCommand() {\n \t\n }", "title": "" }, { "docid": "dfdd644499e2efdf5a7672974181a5a6", "score": "0.57479435", "text": "public void robotInit() \n {\n \t// Add items to the dashboard menu for the user to select\n chooser.addDefault(\"Default Auto\", new DoNothingCommand());\n chooser.addObject( \"Auto Test Drive\", new TestDriveCommand());\n chooser.addObject( \"1 Meter Forward\", new MoveCommand(RobotMap.FORWARD * 1.0, 0.05));\n chooser.addObject( \"1 Meter Backward\", new MoveCommand(RobotMap.BACKWARD * 1.0, 0.05)); \n chooser.addObject( \"45 deg Right\", new TurnCommand(RobotMap.RIGHT * 45.0, 1.0));\n chooser.addObject( \"45 deg Left\", new TurnCommand(RobotMap.LEFT * 45.0, 1.0)); \n chooser.addObject( \"Square\", new SquareCommand()); \n \n // Send the choose data to the dashboard so the user\n // will see the available choices\n SmartDashboard.putData(\"Autonomous Chooser\", chooser);\n }", "title": "" }, { "docid": "45af304f6f91c8895c72422570fc1188", "score": "0.57352656", "text": "private void initIDM() {\n outPrimary(\"Trying to connect to Phone Manager on IP: \" + ip + \":\" + PhoneConnection.PORT);\n conn = new PhoneConnection(ip, this, true); // set last param to true if not testing (false runs connection in null mode)\n outPrimary(\"Connected\");\n outPrimary(\"\");\n outPrimary(\"Starting Alice loader thread...\");\n Globals.fromFile();\n Classifier.fromFile();\n loader = new Loader();\n loader.setPriority(Thread.NORM_PRIORITY);\n loader.start();\n outPrimary(\"\");\n outPrimary(\"Opening database...\");\n users = new ManageUsers(this);\n outPrimary(\"Successfully collected user details\");\n outPrimary(\"\");\n outPrimary(\"Initialising speech engines...\");\n speak = new IDMSpeak(this);\n speak.waitTillReady();\n outSecondary(\"Bottoms\");\n speaker = new IDMSpeaker(this);\n outPrimary(\"Speech engines initialised\");\n }", "title": "" }, { "docid": "777cbc6a96bf8c7e5c803f8f200125b5", "score": "0.5716451", "text": "@FXML\n\tpublic void initialize() {\n\t\tthis.progressLabel.setVisible(false);\n\t\tthis.progress.setVisible(false);\n\t\tthis.buttonDisplay = new ButtonDisplay(stepBack, stepFurther, start, new Button(\"save\"),endCycleMenuItem, newCatalogue);\n\t\tthis.phases = new Phases(\n\t\t\t\tnew Welcome(userInputField, informationOutputArea, buttonDisplay, currentPhaseLabel),\n\t\t\t\tnew Test(userInputField, testOutputArea, buttonDisplay, currentPhaseLabel),\n\t\t\t\tnew Code(userInputField, codeOutputArea, buttonDisplay, currentPhaseLabel),\n\t\t\t\tnew CodeRefactor(userInputField, codeRefactorOutputArea, buttonDisplay, currentPhaseLabel),\n\t\t\t\tnew TestRefactor(userInputField, testRefactorOutputArea, buttonDisplay, currentPhaseLabel));\n\t\tthis.modeDisplay = new ModeDisplay(activatedModes, timeLeftTitle, timeLeft);\n\t\tthis.logic = initializeLogic();\n\t\tphases.setStates(Step.WELCOME);\n\t}", "title": "" }, { "docid": "90ba7b2f5e86341f9ed94790372d1db8", "score": "0.5707343", "text": "public void autonomousInit() {\n autonomousCommand = (Command) chooser.getSelected();\n \t\n \t// schedule the autonomous command \n if (autonomousCommand != null) autonomousCommand.start();\n }", "title": "" }, { "docid": "18fa15b222f4857aa2de77c2d6d3c81d", "score": "0.56877106", "text": "public void autonomousInit() {\n if (autonomousCommand != null) autonomousCommand.start();\n }", "title": "" }, { "docid": "2682647f39ea0a71e6616d75fa0ba107", "score": "0.5672535", "text": "private void execute() {\n\t\tLoginWindow w = new LoginWindow(new Object());\n\t\t//If the IM server is not running, client will not be initialized\n\t\t\n\t\tclient = new IMClient(null);\n\t\t\n\t\tSystem.out.println(\"Client successfully launched.\\n\"\n\t\t\t\t+ \"Enter message:\");\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "2d02039d95e1d59353afd41301daaa83", "score": "0.5659545", "text": "@PostConstruct\n public void init() throws FlowException {\n //context = new ViewFlowContext();\n Objects.requireNonNull(context, \"context\");\n dialog.setTransitionType(JFXDialog.DialogTransition.CENTER);\n dialog.show(root);\n\n simulateTasks();\n\n ready.addListener((ObservableValue<? extends Boolean> ov, Boolean t, Boolean readyValue) -> {\n if (Boolean.TRUE.equals(readyValue)) {\n Platform.runLater(() -> {\n logger.debug(\"Tasks completed. Now executes configureAndSetScene\");\n EffectUtils.fadeOut(dialog);\n dialog.close(); //this throws an exception\n try {\n ViewConfiguration viewConfiguration = new ViewConfiguration();\n viewConfiguration.setResources(ApplicationSettings.APPBUNDLE);\n Flow flow = new Flow(AppController.class, viewConfiguration);\n FlowHandler handler = new FlowHandler(flow, context, viewConfiguration);\n context.register(\"ContentFlowHandler\", handler);\n context.register(\"ContentFlow\", flow);\n drawer.setContent(handler.start(new ExtendedAnimatedFlowContainer(GuiApp.ANIM_DURATION, SWIPE_LEFT)));\n context.register(\"ContentPane\", drawer.getContent().get(0));\n //configureContent(AppController.class, drawer);\n } catch (Exception e) {\n logger.error(\"\", e);\n }\n });\n }\n });\n\n /*// side controller will add links to the content flow\n Flow sideMenuFlow = new Flow(SideMenuController.class);\n final FlowHandler sideMenuFlowHandler = sideMenuFlow.createHandler(context);\n drawer.setSidePane(sideMenuFlowHandler.start(new ExtendedAnimatedFlowContainer(containerAnimationDuration,\n SWIPE_LEFT)));*/\n }", "title": "" }, { "docid": "54c73e6a0b85027398ed49b4666beef7", "score": "0.565616", "text": "@Override\n\tpublic void teleopInit() {\n\t\tif (autonomousCommand != null)\n\t\t\tautonomousCommand.cancel();\n\t\tupdateDashboard();\n\t}", "title": "" }, { "docid": "8741f24c181dc4c02c4026c9c57f5d00", "score": "0.5654807", "text": "public void init() {\n MenuTracker menuTracker = new MenuTracker(input, tracker);\n menuTracker.fillMenu(\"Welcome to program Tracker...\");\n menuTracker.showMenuToConsole();\n int key = 0;\n do {\n key = input.ask(String.format(\"%sPlease, input number menu and press Enter: \", LS), 1, menuTracker.getSizeMenu());\n if (key != -1) {\n menuTracker.select(key);\n if (!menuTracker.isExit(key)) {\n menuTracker.showMenuToConsole();\n }\n }\n } while (!menuTracker.isExit(key));\n }", "title": "" }, { "docid": "23930ce84c8ba38b885369fd30e84e3a", "score": "0.56519574", "text": "public void init() {\n executor.execute(this::sendMessage);\n executor.execute(this::receiveMessage);\n }", "title": "" }, { "docid": "f89da1dc112e3908c94ea6717bfcf6aa", "score": "0.5621841", "text": "private void initCli() {\n this.dispatcher = new Dispatcher();\n this.scanner = new Scanner(System.in);\n this.mainMenu = new MainMenu();\n this.characterNameCreationMenu = new CharacterNameCreationMenu();\n this.characterRaceCreationMenu = new CharacterRaceCreationMenu();\n this.characterClassCreationMenu = new CharacterClassCreationMenu();\n this.characterWeaponCreationMenu = new CharacterWeaponCreationMenu();\n this.characterArmourCreationMenu = new CharacterArmourCreationMenu();\n this.characterAttributes = new HashMap<>();\n }", "title": "" }, { "docid": "86066bc41865430b89f92a0b9f933c66", "score": "0.55832064", "text": "private void initialize() {\r\n\t\tpropiedades();\r\n\t\teventos();\r\n\t\tmostrar();\r\n\t}", "title": "" }, { "docid": "1111de64a3c026be32a8a01603265c74", "score": "0.5576919", "text": "private void setUp() {\n this.setOnAction(new EventHandler<ActionEvent>() {\n\n @Override\n public void handle(ActionEvent t) {\n execute();\n }\n });\n }", "title": "" }, { "docid": "0af66ae0600957064426ce25f3192a1d", "score": "0.5576457", "text": "@Override\n public void autonomousInit() {\n // schedule the autonomous command (example)\n\n this.autonomousCommand = (Command) this.chooser.getSelected();\n if (this.autonomousCommand != null) {\n this.autonomousCommand.start();\n }\n }", "title": "" }, { "docid": "0ff000636b431db6d41e38392b3fb9d2", "score": "0.5571517", "text": "@Override\n public void teleopInit() {\n if (this.autonomousCommand != null) {\n this.autonomousCommand.cancel();\n }\n\n }", "title": "" }, { "docid": "b5c4e4f674f185af1017946cf12d5489", "score": "0.55685604", "text": "public void init()\n\t{\n\t\tgetPreferences();\n\t\tclearOutgoingQueue();\n\t\tfinal boolean [] finished = new boolean [] {false};\n\t\tfinal PrismsTransaction trans = getApp().getEnvironment().transact(PrismsSession.this,\n\t\t\tPrismsTransaction.Stage.initSession);\n\t\ttry\n\t\t{\n\t\t\tTrackNode track;\n\t\t\tfor(java.util.Map.Entry<String, AppPlugin> p : theStandardPlugins.entrySet())\n\t\t\t{\n\t\t\t\ttrack = trans.getTracker().start(\"PRISMS:Initializing \" + p.getKey());\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tp.getValue().initClient();\n\t\t\t\t} catch(Throwable e)\n\t\t\t\t{\n\t\t\t\t\tlog.error(\"Could not client-initialize \" + p.getKey(), e);\n\t\t\t\t\tJSONObject event = new JSONObject();\n\t\t\t\t\tevent.put(\"method\", \"error\");\n\t\t\t\t\tevent.put(\"message\",\n\t\t\t\t\t\t\"Could not initialize \" + p.getKey() + \": \" + e.getMessage());\n\t\t\t\t\tpostOutgoingEvent(event);\n\t\t\t\t} finally\n\t\t\t\t{\n\t\t\t\t\ttrans.getTracker().end(track);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tjava.util.Map.Entry<String, AppPlugin> [] plugins;\n\t\t\tsynchronized(thePlugins)\n\t\t\t{\n\t\t\t\tplugins = thePlugins.entrySet()\n\t\t\t\t\t.toArray(new java.util.Map.Entry [thePlugins.size()]);\n\t\t\t}\n\t\t\tfor(java.util.Map.Entry<String, AppPlugin> p : plugins)\n\t\t\t{\n\t\t\t\ttrack = trans.getTracker().start(\"PRISMS:Initializing plugin \" + p.getKey());\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tlong time = System.currentTimeMillis();\n\t\t\t\t\tp.getValue().initClient();\n\t\t\t\t\tlong newTime = System.currentTimeMillis();\n\t\t\t\t\tif(log.isDebugEnabled())\n\t\t\t\t\t{\n\t\t\t\t\t\tStringBuilder toPrint = new StringBuilder();\n\t\t\t\t\t\ttoPrint.append(\"Initialized plugin \");\n\t\t\t\t\t\ttoPrint.append(p.getKey());\n\t\t\t\t\t\ttoPrint.append(\" in \");\n\t\t\t\t\t\ttoPrint.append(org.qommons.QommonsUtils.printTimeLength(newTime - time));\n\t\t\t\t\t\tlog.debug(toPrint.toString());\n\t\t\t\t\t}\n\t\t\t\t} catch(Throwable e)\n\t\t\t\t{\n\t\t\t\t\tlog.error(\"Could not client-initialize plugin \" + p.getKey(), e);\n\t\t\t\t\tJSONObject event = new JSONObject();\n\t\t\t\t\tevent.put(\"method\", \"error\");\n\t\t\t\t\tevent.put(\"message\",\n\t\t\t\t\t\t\"Could not initialize plugin \" + p.getKey() + \": \" + e.getMessage());\n\t\t\t\t\tpostOutgoingEvent(event);\n\t\t\t\t} finally\n\t\t\t\t{\n\t\t\t\t\ttrans.getTracker().end(track);\n\t\t\t\t}\n\t\t\t}\n\t\t} finally\n\t\t{\n\t\t\tfinished[0] = true;\n\t\t\tgetApp().getEnvironment().finish(trans);\n\t\t}\n\t\trenew();\n\t}", "title": "" }, { "docid": "5ab41a110a4b5756bff7d43da0710a02", "score": "0.5565655", "text": "@FXML\n\tprivate void initialize() {\n\n\t\t// start\n\t\tstart.setOnAction(a -> {\n\t\t\tstatusLabel.setText(\"Status : [Running]\");\n\t\t\tinfoArea.appendText(\"Starting Speech Recognizer\\n\");\n\t\t\tspeechCalculator.startSpeechThread();\n\t\t});\n\n\t\t// stop\n\t\tstop.setOnAction(a -> {\n\t\t\tstatusLabel.setText(\"Status : [Stopped]\");\n\t\t\tinfoArea.appendText(\"Stopping Speech Recognizer\\n\");\n\t\t\tspeechCalculator.stopSpeechThread();\n\t\t});\n\n\t\t// restart\n\t\trestart.setDisable(true);\n\n\t\n\n\t}", "title": "" }, { "docid": "fe1bb370f781d1385cbec49190908fd3", "score": "0.5561793", "text": "@Override\n public void robotInit() {\n SmartDashboard.putData(drivetrain);\n SmartDashboard.putData(collector);\n SmartDashboard.putData(shooter);\n SmartDashboard.putData(pneumatics);\n SmartDashboard.putData(pivot);\n\n // This MUST be here. If the OI creates Commands (which it very likely\n // will), constructing it during the construction of CommandBase (from\n // which commands extend), subsystems are not guaranteed to be\n // yet. Thus, their requires() statements may grab null pointers. Bad\n // news. Don't move it.\n oi = new OI();\n\n // instantiate the command used for the autonomous period\n m_autoChooser = new SendableChooser<>();\n m_autoChooser.setDefaultOption(\"Drive and Shoot\", new DriveAndShootAutonomous());\n m_autoChooser.addOption(\"Drive Forward\", new DriveForward());\n SmartDashboard.putData(\"Auto Mode\", m_autoChooser);\n }", "title": "" }, { "docid": "cc7a81d0398495a03795c3ba69b3fb44", "score": "0.5549158", "text": "protected void init()\n\t{\n\t\t//~: send notification to Main Service\n\t\tServicesPoint.send(MainService.NAME, new SystemReady());\n\t}", "title": "" }, { "docid": "5f25123afd4651a6da287021b4f0e549", "score": "0.5549056", "text": "public void init()\n {\n // Register the policies\n onAsyncActionExecuteDelegate = policyComponent.registerClassPolicy(OnAsyncActionExecute.class);\n }", "title": "" }, { "docid": "79403599d8b2055ac1ec885566f5785c", "score": "0.5547926", "text": "@Override\n public void autonomousInit() {\n m_autonomousCommand = m_chooser.getSelected();\n\n \n\n // schedule the autonomous command (example)\n if (m_autonomousCommand != null) {\n m_autonomousCommand.start();\n }\n }", "title": "" }, { "docid": "391c05dcbdc92fd6bd93beb98b432d83", "score": "0.5543761", "text": "@Override\n public void initDefaultCommand() {\n }", "title": "" }, { "docid": "391c05dcbdc92fd6bd93beb98b432d83", "score": "0.5543761", "text": "@Override\n public void initDefaultCommand() {\n }", "title": "" }, { "docid": "391c05dcbdc92fd6bd93beb98b432d83", "score": "0.5543761", "text": "@Override\n public void initDefaultCommand() {\n }", "title": "" }, { "docid": "391c05dcbdc92fd6bd93beb98b432d83", "score": "0.5543761", "text": "@Override\n public void initDefaultCommand() {\n }", "title": "" }, { "docid": "391c05dcbdc92fd6bd93beb98b432d83", "score": "0.5543761", "text": "@Override\n public void initDefaultCommand() {\n }", "title": "" }, { "docid": "391c05dcbdc92fd6bd93beb98b432d83", "score": "0.5543761", "text": "@Override\n public void initDefaultCommand() {\n }", "title": "" } ]
6a6337ff33387fd3fa6348c9abb55510
/ renamed from: android.support.v4.media.session.c$a / compiled from: MediaControllerCompatApi21
[ { "docid": "8537e4e965f9579b6e70168d130cd60a", "score": "0.0", "text": "public interface C0524a {\n /* renamed from: a */\n void mo1705a();\n\n /* renamed from: a */\n void mo1706a(int i, int i2, int i3, int i4, int i5);\n\n /* renamed from: a */\n void mo1707a(Bundle bundle);\n\n /* renamed from: a */\n void mo1708a(CharSequence charSequence);\n\n /* renamed from: a */\n void mo1709a(Object obj);\n\n /* renamed from: a */\n void mo1710a(String str, Bundle bundle);\n\n /* renamed from: a */\n void mo1711a(List<?> list);\n\n /* renamed from: b */\n void mo1712b(Object obj);\n }", "title": "" } ]
[ { "docid": "fcce1a43efbd165c0656aef5dfd22182", "score": "0.70547867", "text": "public MediaController getMediaController();", "title": "" }, { "docid": "23d9ab5e93bc1fc4d96d55d25b052b67", "score": "0.6781201", "text": "protected void onMediaControllerConnected() {\n }", "title": "" }, { "docid": "02da73150859854fa6ca75a6b8fdd2b5", "score": "0.66426915", "text": "private void onMediaControllerConnected() {\n }", "title": "" }, { "docid": "4052992fb4e974e05e0599e19d642d53", "score": "0.6403952", "text": "public MediaStyle setMediaSession(MediaSession.Token token) {\n/* 3103 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "181d793422f1bb1f2b23424c3c3e1e1f", "score": "0.62540287", "text": "public interface FlingingController {\n /**\n * Gets the media controller through which we can send commands to the Cast device.\n */\n public MediaController getMediaController();\n\n /**\n * Subscribe or unsubscribe to changes in the MediaStatus.\n */\n public void setMediaStatusObserver(MediaStatusObserver observer);\n public void clearMediaStatusObserver();\n\n /**\n * Gets the current media time. Implementers may sacrifice precision in order to avoid a\n * round-trip query to Cast devices (see gms.cast.RemoteMediaPlayer's\n * getApproximateStreamPosition() for example).\n */\n public long getApproximateCurrentTime();\n}", "title": "" }, { "docid": "dd95b5a2f4e55ea563f36acaf4fc251b", "score": "0.6193565", "text": "private void initMediaSessions() {\n\n //TODO: Test on pre lollipop device\n mSession = new MediaSessionCompat(getApplicationContext(), \"Media Player Session\", new ComponentName(this, MediaPlayerService.class), null);\n\n try {\n mController = new MediaControllerCompat(getApplicationContext(), mSession.getSessionToken());\n } catch (RemoteException e) {\n e.printStackTrace();\n stopSelf();\n }\n\n mSession.setCallback(new MediaSessionCompat.Callback() {\n @Override\n public void onPlay() {\n super.onPlay();\n if (!mIsPreparing) {\n Log.d(LOG_TAG, \"onPlay\");\n sendMessageToServiceHandler(ACTION_PLAY);\n\n buildNotification(generateAction(android.R.drawable.ic_media_pause, \"Pause\", ACTION_PAUSE));\n broadcastMessage(ACTION_PLAY);\n }\n }\n\n @Override\n public void onPause() {\n super.onPause();\n Log.d(LOG_TAG, \"onPause\");\n\n sendMessageToServiceHandler(ACTION_PAUSE);\n\n buildNotification(generateAction(android.R.drawable.ic_media_play, \"Play\", ACTION_PLAY));\n broadcastMessage(ACTION_PAUSE);\n }\n\n\n @Override\n public void onSkipToNext() {\n super.onSkipToNext();\n Log.d(LOG_TAG, \"onSkipToNext\");\n\n broadcastMessage(ACTION_NEXT, PlayerFragment.TRACK_INDEX_KEY, mTrackPosition);\n sendMessageToServiceHandler(ACTION_NEXT);\n\n buildNotification(generateAction(android.R.drawable.ic_media_pause, \"Pause\", ACTION_PAUSE));\n }\n\n @Override\n public void onSkipToPrevious() {\n super.onSkipToPrevious();\n Log.d(LOG_TAG, \"onSkipToPrevious\");\n\n broadcastMessage(ACTION_PREVIOUS, PlayerFragment.TRACK_INDEX_KEY, mTrackPosition);\n sendMessageToServiceHandler(ACTION_PREVIOUS);\n\n buildNotification(generateAction(android.R.drawable.ic_media_pause, \"Pause\", ACTION_PAUSE));\n }\n\n @Override\n public void onStop() {\n super.onStop();\n Log.d(LOG_TAG, \"onStop\");\n broadcastMessage(ACTION_STOP);\n broadcastMessage(MEDIA_REPLY_TRACK_NOT_LOADED);\n mWifiLock.release();\n stopSelf();\n }\n\n @Override\n public void onSeekTo(long pos) {\n super.onSeekTo(pos);\n Log.d(LOG_TAG, \"onSeekTo\");\n sendMessageToServiceHandler(ACTION_SEEK, (int) pos);\n\n buildNotification(generateAction(android.R.drawable.ic_media_pause, \"Pause\", ACTION_PAUSE));\n broadcastMessage(ACTION_PLAY);\n\n }\n }\n );\n }", "title": "" }, { "docid": "327c305bcd102a65a5189cb62c09e368", "score": "0.6147154", "text": "MediaAdapter getMediaAdapter() {\n return mMediaAdapter;\n }", "title": "" }, { "docid": "b93736a29b46dbb4870e22cc4d5e1cc4", "score": "0.60228735", "text": "private void initializeMediaSession() {\n\n // Create a MediaSessionCompat.\n mMediaSession = new MediaSessionCompat(getContext(), TAG);\n\n // Enable callbacks from MediaButtons and TransportControls.\n mMediaSession.setFlags(\n MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS |\n MediaSessionCompat.FLAG_HANDLES_TRANSPORT_CONTROLS);\n\n // Do not let MediaButtons restart the player when the app is not visible.\n mMediaSession.setMediaButtonReceiver(null);\n\n // Set an initial PlaybackState with ACTION_PLAY, so media buttons can start the player.\n mStateBuilder = new PlaybackStateCompat.Builder()\n .setActions(\n PlaybackStateCompat.ACTION_PLAY |\n PlaybackStateCompat.ACTION_PAUSE |\n PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS |\n PlaybackStateCompat.ACTION_PLAY_PAUSE);\n\n mMediaSession.setPlaybackState(mStateBuilder.build());\n\n\n // MySessionCallback has methods that handle callbacks from a media controller.\n mMediaSession.setCallback(new MySessionCallback());\n\n // Start the Media Session since the activity is active.\n mMediaSession.setActive(true);\n\n }", "title": "" }, { "docid": "c338b5187b30791268f3e4b66c9e0955", "score": "0.59810555", "text": "private void initializeMediaSession() {\n\n // Create a MediaSessionCompat.\n mMediaSession = new MediaSessionCompat(this.getContext(), TAG);\n\n // Enable callbacks from MediaButtons and TransportControls.\n mMediaSession.setFlags(\n MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS |\n MediaSessionCompat.FLAG_HANDLES_TRANSPORT_CONTROLS);\n\n // Do not let MediaButtons restart the player when the app is not visible.\n mMediaSession.setMediaButtonReceiver(null);\n\n // Set an initial PlaybackState with ACTION_PLAY, so media buttons can start the player.\n mStateBuilder = new PlaybackStateCompat.Builder()\n .setActions(\n PlaybackStateCompat.ACTION_PLAY |\n PlaybackStateCompat.ACTION_PAUSE |\n PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS |\n PlaybackStateCompat.ACTION_PLAY_PAUSE);\n\n mMediaSession.setPlaybackState(mStateBuilder.build());\n\n\n // MySessionCallback has methods that handle callbacks from a media controller.\n mMediaSession.setCallback(new MySessionCallback());\n\n // Start the Media Session since the activity is active.\n mMediaSession.setActive(true);\n }", "title": "" }, { "docid": "ce5cf9a2dbb276ce2b8089851193d876", "score": "0.58656335", "text": "public static void m59a(Activity activity, MediaControllerCompat mediaControllerCompat) {\n if (activity instanceof C0474f) {\n ((C0474f) activity).putExtraData(new C0018b(mediaControllerCompat));\n }\n if (VERSION.SDK_INT >= 21) {\n MediaController mediaController = null;\n if (mediaControllerCompat != null) {\n mediaController = new MediaController(activity, (MediaSession.Token) mediaControllerCompat.mo76c().mo137Z());\n }\n activity.setMediaController(mediaController);\n }\n }", "title": "" }, { "docid": "ca6254d850bb97e100dc112153844cb1", "score": "0.5854225", "text": "public native MediaKeySession createSession();", "title": "" }, { "docid": "174b24a9f796005b61030e90d15dba2e", "score": "0.5795236", "text": "private void connectToSession(MediaSessionCompat.Token token) {\n try {\n // Create media controller\n mediaController = new MediaControllerCompat(this, token);\n\n // Save the controller\n MediaControllerCompat.setMediaController(this, mediaController);\n\n // Register a callback to stay in sync\n mediaController.registerCallback(controllerCallback);\n\n // Display initial state\n playerFragment.onPlaybackStateChanged(mediaController.getPlaybackState(), mediaController.getMetadata());\n onMediaControllerConnected();\n\n // Finish building UI\n playerFragment.buildTransportControls(this);\n } catch(RemoteException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "1566805fc45731453b6e117c0ac3bd60", "score": "0.5786106", "text": "private Media(Element media)\n {\n this.mediaElement = media;\n }", "title": "" }, { "docid": "8b5bd0c0761e2965c48417749d909ca7", "score": "0.5783575", "text": "@Override\n\tpublic void viewMedia() {\n\n\t}", "title": "" }, { "docid": "103ce46add7fb6a01fbfcd257161d6cb", "score": "0.5769698", "text": "public interface C0867f {\n\n /* renamed from: com.google.android.exoplayer2.h.f$a */\n public interface C0868a {\n /* renamed from: tm */\n C0867f mo2587tm();\n }\n\n /* renamed from: a */\n long mo2583a(C17665i c17665i);\n\n void close();\n\n Uri getUri();\n\n int read(byte[] bArr, int i, int i2);\n}", "title": "" }, { "docid": "2d235200fd31a40a97937b0e43fe4523", "score": "0.57662386", "text": "private void onCommand2Internal(@android.support.annotation.NonNull android.os.IBinder r10, @android.support.annotation.Nullable final android.support.v4.media.SessionCommand2 r11, final int r12, @android.support.annotation.NonNull final android.support.v4.media.MediaSessionLegacyStub.Session2Runnable r13) {\n /*\n r9 = this;\n java.lang.Object r0 = r9.mLock\n monitor-enter(r0)\n r1 = 0\n android.support.v4.util.ArrayMap<android.os.IBinder, android.support.v4.media.MediaSession2$ControllerInfo> r2 = r9.mControllers // Catch:{ all -> 0x0029 }\n java.lang.Object r2 = r2.get(r10) // Catch:{ all -> 0x0029 }\n android.support.v4.media.MediaSession2$ControllerInfo r2 = (android.support.v4.media.MediaSession2.ControllerInfo) r2 // Catch:{ all -> 0x0029 }\n r1 = r2\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n android.support.v4.media.MediaSession2$SupportLibraryImpl r0 = r9.mSession\n if (r0 == 0) goto L_0x0028\n if (r1 != 0) goto L_0x0015\n goto L_0x0028\n L_0x0015:\n java.util.concurrent.Executor r0 = r0.getCallbackExecutor()\n android.support.v4.media.MediaSessionLegacyStub$6 r2 = new android.support.v4.media.MediaSessionLegacyStub$6\n r3 = r2\n r4 = r9\n r5 = r11\n r6 = r1\n r7 = r12\n r8 = r13\n r3.<init>(r5, r6, r7, r8)\n r0.execute(r2)\n return\n L_0x0028:\n return\n L_0x0029:\n r2 = move-exception\n L_0x002a:\n monitor-exit(r0)\n throw r2\n L_0x002c:\n r2 = move-exception\n goto L_0x002a\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.v4.media.MediaSessionLegacyStub.onCommand2Internal(android.os.IBinder, android.support.v4.media.SessionCommand2, int, android.support.v4.media.MediaSessionLegacyStub$Session2Runnable):void\");\n }", "title": "" }, { "docid": "a4c80ab85f0e245824946bb1995ebb10", "score": "0.5746877", "text": "@Override\n public void onAudioInfoChanged(MediaControllerCompat.PlaybackInfo info) {\n }", "title": "" }, { "docid": "93c314636302fc3d4866e4ee2a634d9a", "score": "0.5744541", "text": "public interface IPlayerController {\n void toggle();\n void next();\n void play();\n void previous();\n void repeat();\n void seekTo(int position);\n void shuffle(boolean shuffle);\n boolean isShuffleEnabled();\n\n void resume();\n boolean canResume(long id);\n\n int getCurrentTrackPosition();\n void setCurrentTrackPosition(int position);\n\n boolean isMediaPlayerPlaying();\n\n void setMediaStore(MediaStore mediaStore);\n MediaStore getMediaStore();\n\n void addOnServiceConnectedListener(OnServiceConnectionListener listener);\n void addOnMediaErrorListener(OnMediaErrorListener errorListener);\n void addOnProgressListener(OnMediaProgressListener progressListener);\n void addOnMediaChangedListener(OnMediaChangedListener changedListener);\n void addOnMediaLoadingListener(OnMediaLoadingListener loadingListener);\n void unbindListeners();\n}", "title": "" }, { "docid": "a3e4ab34076a3e4c1fb5e4133d08c347", "score": "0.5617006", "text": "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:31:56.828 -0500\", hash_original_method = \"47AAB8ACF83F9E0950F4FC2EF0028588\", hash_generated_method = \"6E6D285462F56F2CE61E3592B6007605\")\n \nprotected View makeControllerView() {\n LayoutInflater inflate = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n mRoot = inflate.inflate(com.android.internal.R.layout.media_controller, null);\n\n initControllerView(mRoot);\n\n return mRoot;\n }", "title": "" }, { "docid": "80eb788581d80c4f8dc05fa7884369a0", "score": "0.5559386", "text": "public interface C32056d {\n\n /* renamed from: com.google.android.exoplayer2.h.d$a */\n public interface C8679a {\n }\n\n /* renamed from: tl */\n long mo52345tl();\n}", "title": "" }, { "docid": "3b053a6de32b3e025b766f9b9e4d5b49", "score": "0.55358243", "text": "public MediaController getMediaController() {\n return this.mPipMediaController;\n }", "title": "" }, { "docid": "9055e176c0de5c8f36aad41b926b4c1e", "score": "0.55347866", "text": "private ImsMedia() {\n initializemIsMediaLoopback();\n }", "title": "" }, { "docid": "8fc199faebf4e658a1bcfb1d057ed378", "score": "0.5519167", "text": "public static Object m2021a(Context context, Object obj) {\n return new MediaController(context, (Token) obj);\n }", "title": "" }, { "docid": "5a5d380d2d380c352992e86d02be7cb3", "score": "0.54920465", "text": "public void onReceiveResult(int i, Bundle bundle) {\n MediaControllerImplApi21 mediaControllerImplApi21 = (MediaControllerImplApi21) this.f42c.get();\n if (mediaControllerImplApi21 != null && bundle != null) {\n synchronized (mediaControllerImplApi21.f38b) {\n mediaControllerImplApi21.f41e.mo138a(C0052a.m380a(C0472e.m2509a(bundle, \"android.support.v4.media.session.EXTRA_BINDER\")));\n mediaControllerImplApi21.f41e.mo139a(C0989a.m5310a(bundle, \"android.support.v4.media.session.SESSION_TOKEN2\"));\n mediaControllerImplApi21.mo78a();\n }\n }\n }", "title": "" }, { "docid": "50d08d28f57a55ded693100ab8a36713", "score": "0.5421682", "text": "public static void m52762a(MediaPlayer mediaPlayer) {\n f33929a = mediaPlayer;\n }", "title": "" }, { "docid": "eaadae635f0a69badebc94dc2e56b924", "score": "0.5401778", "text": "Media addMedia(Media media);", "title": "" }, { "docid": "6c3e6af0f4b6ec4945176d5a12c28227", "score": "0.53746516", "text": "@Override // android.support.v4.media.MediaSession2.ControllerCb\n @NonNull\n public IBinder getId() {\n return this.mIControllerCallback.asBinder();\n }", "title": "" }, { "docid": "6eda1e8076072cf579285f646ff6d8a9", "score": "0.53705823", "text": "private synchronized TCMediaService getMediaService() {\n\tif (this.mediaService == null)\n\t\tthis.mediaService = new TCMediaService(this);\n\treturn this.mediaService;\n}", "title": "" }, { "docid": "bb9502716941a235cf7d7ab71be2c999", "score": "0.53620577", "text": "public interface OnConnectionListener {\n void onMediaButtonsConnected(PlayerService service);\n}", "title": "" }, { "docid": "b96e296b23f4195b621132adb23e5524", "score": "0.53545505", "text": "private void m131585X() {\n this.f107327m = new CameraModule(this, new C40288a() {\n /* access modifiers changed from: 0000 */\n /* renamed from: a */\n public final /* synthetic */ C7581n mo101882a() {\n VideoRecordNewActivity.this.finish();\n return null;\n }\n\n /* access modifiers changed from: 0000 */\n /* renamed from: b */\n public final /* synthetic */ C7581n mo101883b() {\n VideoRecordNewActivity.this.finish();\n return null;\n }\n\n /* renamed from: a */\n public final void mo100099a(int i) {\n if (VideoRecordNewActivity.this.f107335u == null || VideoRecordNewActivity.this.f107335u.getVisibility() != 8) {\n if (C43072du.m136640b()) {\n C43072du.m136639b(false);\n C43072du.m136637b(\"camera_success\");\n }\n VideoRecordNewActivity.this.f107275P = true;\n if (VideoRecordNewActivity.this.f107274O != null) {\n VideoRecordNewActivity.this.mo101848h();\n }\n VideoRecordNewActivity.this.f107334t.setOnFrameAvailableListener(new C45393e() {\n /* renamed from: a */\n public final boolean mo56383a() {\n return true;\n }\n\n /* renamed from: a */\n public final void mo56382a(EGLContext eGLContext, int i, int i2, int i3, int i4, long j) {\n String str;\n C41530am.m132280a(\"VideoRecordNewActivity => OnFrameAvailable\");\n StringBuilder sb = new StringBuilder(\" => asve OnFrameAvailable cost time: \");\n sb.append(System.currentTimeMillis() - C15454h.m45259a());\n sb.append(\" mode is \");\n if (C15454h.m45261b()) {\n str = \"sandbox \";\n } else {\n str = \"normal\";\n }\n sb.append(str);\n C41545b.m132307a().mo102189b(\"av_video_record_init\");\n C43063dm.m136615b();\n C41545b.m132307a().mo102190c(\"av_video_record_init\");\n VideoRecordNewActivity.this.f107334t.setOnFrameAvailableListener(null);\n if (VideoRecordNewActivity.this.f107277R) {\n VideoRecordNewActivity.this.f107277R = false;\n C41530am.m132280a(\"VideoRecordNewActivity => addFragment Open Camera Frame Optimize\");\n VideoRecordNewActivity.this.f107320f.post(new C41327cz(VideoRecordNewActivity.this));\n }\n VideoRecordNewActivity.this.mo101861r();\n }\n });\n }\n }\n\n /* renamed from: b */\n public final void mo100102b(int i) {\n VideoRecordNewActivity.this.f107327m.mo100075a(0.0f);\n if (C23536f.m77298a()) {\n C23539i n = C35574k.m114859a().mo70099n();\n C23532c cVar = new C23532c(VideoRecordNewActivity.this.f107290aa, true, true, false, true);\n n.mo61325a(cVar);\n return;\n }\n ((C39377i) VideoRecordNewActivity.this.f107326l.mo74909j()).mo74899b(C35563c.f93224F.mo70097l().mo74949b().mo74962a(VideoRecordNewActivity.this.f107321g.mo96542a(VideoRecordNewActivity.this.f107327m.mo100087f())));\n LiveData b = VideoRecordNewActivity.this.f107326l.mo74898b();\n if (b.getValue() != null && !((Boolean) b.getValue()).booleanValue()) {\n ((C39377i) VideoRecordNewActivity.this.f107326l.mo74909j()).mo74897a(true);\n }\n }\n\n /* renamed from: a */\n public final void mo100100a(int i, int i2) {\n if (!VideoRecordNewActivity.this.f107319e) {\n StringBuilder sb = new StringBuilder(\"w = \");\n sb.append(i);\n sb.append(\" h = \");\n sb.append(i2);\n C6893q.m21447a(\"zoom_info_log\", new C6869c().mo16887a(\"camera_preview_size\", sb.toString()).mo16888b());\n VideoRecordNewActivity.this.f107317c = i;\n VideoRecordNewActivity.this.f107318d = i2;\n if (!C47450e.m148163a()) {\n VideoRecordNewActivity.this.mo101853m();\n }\n VideoRecordNewActivity.this.f107319e = true;\n }\n }\n\n /* renamed from: a */\n public final void mo100101a(int i, int i2, String str) {\n StringBuilder sb = new StringBuilder(\"onCameraOpenFailed : errorCode,\");\n sb.append(i2);\n sb.append(\"msg :\");\n sb.append(str);\n sb.append(\" permission : \");\n sb.append(VideoRecordPermissionActivity.m131763a((Context) VideoRecordNewActivity.this));\n C43072du.m136632a(\"camera_error\", \"3\", sb.toString());\n if (VideoRecordNewActivity.this.f107270K) {\n VideoRecordNewActivity.this.mo101849i();\n } else {\n C41520af.m132256a(VideoRecordNewActivity.this, new C41325cx(this), new C41326cy(this));\n }\n }\n }, new C41294bu(this), this.f107334t);\n getLifecycle().mo55a(this.f107327m);\n this.f107320f.postDelayed(new C41295bv(this), 2000);\n }", "title": "" }, { "docid": "4970f661531da4f8dbc0a7405785396e", "score": "0.5343898", "text": "public void setMediaStatusObserver(MediaStatusObserver observer);", "title": "" }, { "docid": "5ac3228f48d4260e8b54dfcc72ff42b7", "score": "0.53420687", "text": "public void updateMediaController(List<MediaController> controllers) {\n MediaController mediaController = null;\n if (controllers != null && getState() != 0 && this.mPipComponentName != null) {\n int i = controllers.size() - 1;\n while (true) {\n if (i < 0) {\n break;\n }\n MediaController controller = controllers.get(i);\n if (controller.getPackageName().equals(this.mPipComponentName.getPackageName())) {\n mediaController = controller;\n break;\n }\n i--;\n }\n }\n if (this.mPipMediaController != mediaController) {\n this.mPipMediaController = mediaController;\n for (int i2 = this.mMediaListeners.size() - 1; i2 >= 0; i2--) {\n this.mMediaListeners.get(i2).onMediaControllerChanged();\n }\n if (this.mPipMediaController == null) {\n this.mHandler.postDelayed(this.mClosePipRunnable, 3000);\n } else {\n this.mHandler.removeCallbacks(this.mClosePipRunnable);\n }\n }\n }", "title": "" }, { "docid": "734b3fb067910723a420aa344de68261", "score": "0.5315551", "text": "MediaPlayerService getService() {\n return MediaPlayerService.this;\n }", "title": "" }, { "docid": "c02999124524c672aca4374a8d15f6a8", "score": "0.5313697", "text": "@Override\n\tpublic MediaInfo getMediaInfo() throws IllegalStateException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "510c5e1881c01d41b6077c062deb1f53", "score": "0.53089905", "text": "@Override // com.zhihu.android.sugaradapter.SugarHolder, com.zhihu.android.app.feed.p1083ui.holder.BaseFeedHolder, com.zhihu.android.app.feed.p1083ui.holder.template.BaseTemplateHolder, com.zhihu.android.app.feed.p1083ui.holder.BaseHolder\n /* renamed from: G_ */\n public void mo67118G_() {\n super.mo67118G_();\n VideoInlineVideoView videoInlineVideoView = this.f44071j;\n if (videoInlineVideoView != null) {\n videoInlineVideoView.mo113155g();\n }\n }", "title": "" }, { "docid": "b5e35bb9bd6bde01ed23cf19006ef8ed", "score": "0.53050816", "text": "@Override\n public void passMediaPlayer(Context context) {\n }", "title": "" }, { "docid": "595b3bb90c6df8296e9a3430db354d53", "score": "0.52723986", "text": "public void mo91a(MediaMetadataCompat mediaMetadataCompat) {\n }", "title": "" }, { "docid": "59d032c6e149baee9e1b34ef89f0a0d6", "score": "0.5270033", "text": "public interface AudioMediaStream extends MediaStream\n{\n\t/**\n\t * The name of the property which controls whether handling of RFC4733 DTMF packets should be\n\t * disabled or enabled. If disabled, packets will not be processed or dropped (regardless of\n\t * whether there is a payload type number registered for the telephone-event format).\n\t */\n\tpublic static String DISABLE_DTMF_HANDLING_PNAME\n\t\t\t\t= AudioMediaStream.class.getName() + \".DISABLE_DTMF_HANDLING\";\n\n\t/**\n\t * Registers a listener that would receive notification events if the remote party starts\n\t * sending DTMF tones to us.\n\t *\n\t * @param listener\n\t * the <code>DTMFListener</code> that we'd like to register.\n\t */\n\tpublic void addDTMFListener(DTMFListener listener);\n\n\t/**\n\t * Removes <code>listener</code> from the list of <code>DTMFListener</code>s registered to receive\n\t * events for incoming DTMF tones.\n\t *\n\t * @param listener\n\t * the listener that we'd like to unregister\n\t */\n\tpublic void removeDTMFListener(DTMFListener listener);\n\n\t/**\n\t * Registers <code>listener</code> as the <code>CsrcAudioLevelListener</code> that will receive\n\t * notifications for changes in the levels of conference participants that the remote party\n\t * could be mixing.\n\t *\n\t * @param listener\n\t * the <code>CsrcAudioLevelListener</code> that we'd like to register or <code>null</code> if\n\t * we'd like to stop receiving notifications.\n\t */\n\tpublic void setCsrcAudioLevelListener(CsrcAudioLevelListener listener);\n\n\t/**\n\t * Sets <code>listener</code> as the <code>SimpleAudioLevelListener</code> registered to receive\n\t * notifications for changes in the levels of the audio that this stream is sending out.\n\t *\n\t * @param listener\n\t * the <code>SimpleAudioLevelListener</code> that we'd like to register or <code>null</code> if\n\t * we want to stop local audio level measurements.\n\t */\n\tpublic void setLocalUserAudioLevelListener(SimpleAudioLevelListener listener);\n\n\t/**\n\t * Sets the <code>VolumeControl</code> which is to control the volume (level) of the audio received\n\t * in/by this <code>AudioMediaStream</code> and played back.\n\t *\n\t * @param outputVolumeControl\n\t * the <code>VolumeControl</code> which is to control the volume (level) of the audio\n\t * received in this <code>AudioMediaStream</code> and played back\n\t */\n\tpublic void setOutputVolumeControl(VolumeControl outputVolumeControl);\n\n\t/**\n\t * Sets <code>listener</code> as the <code>SimpleAudioLevelListener</code> registered to receive\n\t * notifications for changes in the levels of the party that's at the other end of this stream.\n\t *\n\t * @param listener\n\t * the <code>SimpleAudioLevelListener</code> that we'd like to register or <code>null</code> if\n\t * we want to stop stream audio level measurements.\n\t */\n\tpublic void setStreamAudioLevelListener(SimpleAudioLevelListener listener);\n\n\t/**\n\t * Starts sending the specified <code>DTMFTone</code> until the <code>stopSendingDTMF()</code> method is\n\t * called (Excepts for INBAND DTMF, which stops by itself this is why where there is no need to\n\t * call the stopSendingDTMF). Callers should keep in mind the fact that calling this method\n\t * would most likely interrupt all audio transmission until the corresponding stop method is\n\t * called. Also, calling this method successively without invoking the corresponding stop method\n\t * between the calls will simply replace the <code>DTMFTone</code> from the first call with that\n\t * from the second.\n\t *\n\t * @param tone\n\t * the <code>DTMFTone</code> to start sending.\n\t * @param dtmfMethod\n\t * The kind of DTMF used (RTP, SIP-INOF or INBAND).\n\t * @param minimalToneDuration\n\t * The minimal DTMF tone duration.\n\t * @param maximalToneDuration\n\t * The maximal DTMF tone duration.\n\t * @param volume\n\t * The DTMF tone volume. Describes the power level of the tone, expressed in dBm0 after\n\t * dropping the sign.\n\t */\n\tpublic void startSendingDTMF(DTMFTone tone, DTMFMethod dtmfMethod, int minimalToneDuration,\n\t\tint maximalToneDuration, int volume);\n\n\t/**\n\t * Interrupts transmission of a <code>DTMFTone</code> started with the <code>startSendingDTMF</code>\n\t * method. This method has no effect if no tone is being currently sent.\n\t *\n\t * @param dtmfMethod\n\t * the <code>DTMFMethod</code> to stop sending.\n\t */\n\tpublic void stopSendingDTMF(DTMFMethod dtmfMethod);\n}", "title": "" }, { "docid": "03b6ed9228d3456f1757ff1e4b2bae3b", "score": "0.52598065", "text": "@Override\n public void onConnected() {\n connectToSession(mediaBrowser.getSessionToken());\n }", "title": "" }, { "docid": "ed8c42ded6dd1cae04552442afb6c8e7", "score": "0.5258944", "text": "interface C0019c {\n /* renamed from: Z */\n List<QueueItem> mo77Z();\n\n PlaybackStateCompat getPlaybackState();\n }", "title": "" }, { "docid": "eef2601168a9114693e90d017ec9e22f", "score": "0.5218433", "text": "@Test\n @MediumTest\n public void testMediaCapture_basic() throws Throwable {\n CriteriaHelper.pollInstrumentationThread(\n () -> { return mTestWebLayer.isPermissionDialogShown(); });\n mCaptureCallback.mRequestedCountDown = new BoundedCountDownLatch(1);\n mCaptureCallback.mStateCountDown = new BoundedCountDownLatch(1);\n mTestWebLayer.clickPermissionDialogButton(true);\n\n mCaptureCallback.mRequestedCountDown.timedAwait();\n mCaptureCallback.mStateCountDown.timedAwait();\n Assert.assertTrue(mCaptureCallback.mAudio);\n Assert.assertTrue(mCaptureCallback.mVideo);\n\n mCaptureCallback.mStateCountDown = new BoundedCountDownLatch(1);\n TestThreadUtils.runOnUiThreadBlocking(\n () -> { mActivity.getTab().getMediaCaptureController().stopMediaCapturing(); });\n mCaptureCallback.mStateCountDown.timedAwait();\n Assert.assertFalse(mCaptureCallback.mAudio);\n Assert.assertFalse(mCaptureCallback.mVideo);\n }", "title": "" }, { "docid": "4fdbc2eb8c3187b3a35a71baf0afb43b", "score": "0.5191655", "text": "@RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN)\n public void playmediaplayer(){\n\n player.start();\n SettingsManager.getSharedInstance().setvaluewhenonpause = 1;\n SettingsManager.getSharedInstance().setmediaplayervalue = 1;\n\n RemoteViews views = new RemoteViews(getPackageName(),\n R.layout.status_bar);\n RemoteViews bigViews = new RemoteViews(getPackageName(),\n R.layout.staus_bar_expanded);\n\n\n views.setViewVisibility(R.id.status_bar_icon, View.VISIBLE);\n views.setViewVisibility(R.id.status_bar_album_art, View.GONE);\n bigViews.setImageViewBitmap(R.id.status_bar_album_art,\n Constants.getDefaultAlbumArt(this));\n\n Intent notificationIntent = new Intent(this, MainActivity.class);\n notificationIntent.setAction(Constants.ACTION.MAIN_ACTION);\n notificationIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK\n | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n PendingIntent pendingIntent = PendingIntent.getActivity(this, 0,\n notificationIntent, 0);\n\n Intent previousIntent = new Intent(this, RadioService.class);\n previousIntent.setAction(Constants.ACTION.PREV_ACTION);\n PendingIntent ppreviousIntent = PendingIntent.getService(this, 0,\n previousIntent, 0);\n\n Intent playIntent = new Intent(this, RadioService.class);\n playIntent.setAction(Constants.ACTION.PLAY_ACTION);\n PendingIntent pplayIntent = PendingIntent.getService(this, 0,\n playIntent, 0);\n\n Intent nextIntent = new Intent(this, RadioService.class);\n nextIntent.setAction(Constants.ACTION.NEXT_ACTION);\n PendingIntent pnextIntent = PendingIntent.getService(this, 0,\n nextIntent, 0);\n\n Intent closeIntent = new Intent(this, RadioService.class);\n closeIntent.setAction(Constants.ACTION.STOPFOREGROUND_ACTION);\n PendingIntent pcloseIntent = PendingIntent.getService(this, 0,\n closeIntent, 0);\n\n views.setOnClickPendingIntent(R.id.status_bar_play, pplayIntent);\n bigViews.setOnClickPendingIntent(R.id.status_bar_play, pplayIntent);\n\n views.setOnClickPendingIntent(R.id.status_bar_next, pnextIntent);\n bigViews.setOnClickPendingIntent(R.id.status_bar_next, pnextIntent);\n\n views.setOnClickPendingIntent(R.id.status_bar_prev, ppreviousIntent);\n bigViews.setOnClickPendingIntent(R.id.status_bar_prev, ppreviousIntent);\n\n views.setOnClickPendingIntent(R.id.status_bar_collapse, pcloseIntent);\n bigViews.setOnClickPendingIntent(R.id.status_bar_collapse, pcloseIntent);\n\n views.setImageViewResource(R.id.status_bar_play,\n R.drawable.apollo_holo_dark_pause);\n bigViews.setImageViewResource(R.id.status_bar_play,\n R.drawable.apollo_holo_dark_pause);\n\n views.setTextViewText(R.id.status_bar_track_name, \"Internet Radio\");\n bigViews.setTextViewText(R.id.status_bar_track_name, \"Internet Radio\");\n views.setTextViewText(R.id.status_bar_artist_name, streamname);\n bigViews.setTextViewText(R.id.status_bar_artist_name, streamname);\n bigViews.setTextViewText(R.id.status_bar_album_name, categoryName);\n notification = new Notification.Builder(this).build();\n notification.contentView = views;\n notification.bigContentView = bigViews;\n notification.flags = Notification.FLAG_ONGOING_EVENT;\n notification.icon = R.drawable.radio;\n notification.contentIntent = pendingIntent;\n startForeground(Constants.NOTIFICATION_ID.FOREGROUND_SERVICE, notification);\n }", "title": "" }, { "docid": "49b4637974ccd9ed33e5cdff4c36efcd", "score": "0.5184381", "text": "public interface ActorScreen {\n\n /* renamed from: a */\n public static final int f14727a = (VERSION.SDK_INT < 21 ? 30 : 90);\n\n /* renamed from: com.tv91.u.a.c$a */\n /* compiled from: ActorScreen */\n public interface C2357a extends DashboardView {\n /* renamed from: a */\n void mo17127a(boolean z);\n\n /* renamed from: c */\n void mo17128c(Runnable runnable);\n\n /* renamed from: d0 */\n void mo17129d0(List<Actor> list);\n\n /* renamed from: h */\n void mo17130h(Runnable runnable);\n\n /* renamed from: p */\n void mo17131p(Consumer<Actor> aVar);\n }\n}", "title": "" }, { "docid": "8f99bff49834a8a7f3ec193f1fd6deb8", "score": "0.5176082", "text": "private static CameraManager m3588a(Context context) {\n return (CameraManager) context.getSystemService(\"camera\");\n }", "title": "" }, { "docid": "fdd0e31b1c1721ed63f6c8cbeb52388a", "score": "0.5174971", "text": "public void updateMedia(View rv) {\n\t\tupateNameMedia((TextView) rv.findViewById(R.id.textNameMedia), (TextView) rv.findViewById(R.id.playArtistAlbumLabel));\n\t\tupdateVolumeMedia((SeekBar) rv.findViewById(R.id.seekBarPlaySound));\n\t\tupdateStateMedia((ImageButton) rv.findViewById(R.id.buttonPlay),(ImageButton) rv.findViewById(R.id.buttonRepeat),(ImageButton) rv.findViewById(R.id.buttonShuffle));\n\t\tupdateImageMedia((ImageView) rv.findViewById(R.id.mediaImage));\n }", "title": "" }, { "docid": "946588e3b61ba642291e502154e97bcf", "score": "0.51715124", "text": "@Override\n public boolean onInfo(MediaPlayer mp, int what, int extra) {\n\n switch (what) {\n case MediaPlayer.MEDIA_INFO_UNKNOWN:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_UNKNOWN\" + what);\n break;\n case MediaPlayer.MEDIA_INFO_VIDEO_TRACK_LAGGING:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_VIDEO_TRACK_LAGGING\" + what);\n break;\n case MediaPlayer.MEDIA_INFO_VIDEO_RENDERING_START:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_VIDEO_RENDERING_START\" + what);\n break;\n case MediaPlayer.MEDIA_INFO_BUFFERING_START:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_BUFFERING_START\" + what);\n break;\n case MediaPlayer.MEDIA_INFO_BUFFERING_END:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_BUFFERING_END\" + what);\n break;\n case MediaPlayer.MEDIA_INFO_BAD_INTERLEAVING:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_BAD_INTERLEAVING\" + what);\n break;\n case MediaPlayer.MEDIA_INFO_METADATA_UPDATE:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_METADATA_UPDATE\" + what);\n break;\n case MediaPlayer.MEDIA_INFO_NOT_SEEKABLE:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_NOT_SEEKABLE\" + what);\n break;\n case MediaPlayer.MEDIA_INFO_UNSUPPORTED_SUBTITLE:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_UNSUPPORTED_SUBTITLE\" + what);\n break;\n case MediaPlayer.MEDIA_INFO_SUBTITLE_TIMED_OUT:\n Log.i(\"logi\", \"INFO=MEDIA_INFO_SUBTITLE_TIMED_OUT\" + what);\n break;\n }\n return true;\n }", "title": "" }, { "docid": "ac2ebf319f283ee14385bc4f68d2a08f", "score": "0.5159755", "text": "public static void m52774l() {\n MediaPlayer mediaPlayer = f33929a;\n if (mediaPlayer != null) {\n mediaPlayer.stop();\n f33929a.reset();\n f33929a.release();\n f33929a = null;\n }\n }", "title": "" }, { "docid": "91b9322bcfaef833a88c24dcc19a9080", "score": "0.5144494", "text": "@Override\n\tpublic MediaInfo getMediaInfo() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "77e549e1d4ee7af25354876e2d4c5f1c", "score": "0.5138815", "text": "static MediaResult m35715i() {\n MediaResult mediaResult = new MediaResult(null, null, null, null, null, -1, -1, -1);\n return mediaResult;\n }", "title": "" }, { "docid": "f5d6b28e3ef59fcc462099ad386316e0", "score": "0.5135796", "text": "public interface MediaService {\n /**\n * Find a media by id.\n *\n * @param id\n * @return\n */\n Optional<Media> findMediaById(Long id);\n\n /**\n * List all the medias.\n *\n * @return\n */\n List<ListMedia> listMedias();\n\n /**\n * List all the medias of an album.\n *\n * @return\n */\n List<ListMedia> listAlbumMedias(Long albumId, MediaType type);\n\n /**\n * Add a new media.\n * @param album\n * @return\n */\n Media addMedia(Media media);\n\n /**\n * Update a media.\n * @param id\n * @param album\n */\n void updateMedia(Long id, Media media);\n\n /**Delete a media.\n *\n * @param id\n */\n void deleteMedia(Long id);\n\n\tList<FileDetailDto> listFiles(String folderPath) throws IOException;\n\n\tFile scale(File file, String folderPath, int width, int height) throws IOException;\n}", "title": "" }, { "docid": "362d28dedf2d9c7950252c4b8f8393c6", "score": "0.51316357", "text": "public MediaActionProvider(Context context) {\n super(context);\n mContext = context;\n }", "title": "" }, { "docid": "da17836ca444af52fcdccaab56cd76be", "score": "0.5118685", "text": "public final void accept(com.bamtech.sdk4.media.MediaItem r13) {\n /*\n r12 = this;\n com.bamtech.sdk4.media.PlaybackContext r0 = r12.$playbackContext\n if (r0 == 0) goto L_0x005b\n java.lang.String r2 = r0.getPlaybackSessionId()\n if (r2 == 0) goto L_0x005b\n r7 = 0\n r0 = 0\n if (r13 == 0) goto L_0x001d\n com.bamtech.sdk4.media.MediaAnalyticsKey r1 = com.bamtech.sdk4.media.MediaAnalyticsKey.CONVIVA\n java.util.Map r1 = r13.getTrackingData(r1)\n if (r1 == 0) goto L_0x001d\n java.lang.String r3 = \"fguid\"\n java.lang.Object r1 = r1.get(r3)\n goto L_0x001e\n L_0x001d:\n r1 = r0\n L_0x001e:\n boolean r3 = r1 instanceof java.lang.String\n if (r3 != 0) goto L_0x0023\n goto L_0x0024\n L_0x0023:\n r0 = r1\n L_0x0024:\n r9 = r0\n java.lang.String r9 = (java.lang.String) r9\n if (r13 == 0) goto L_0x0053\n com.bamtech.sdk4.internal.media.offline.OfflineMediaItem r13 = (com.bamtech.sdk4.internal.media.offline.OfflineMediaItem) r13\n java.util.List r8 = r13.getPlaylistVariants()\n com.bamtech.sdk4.internal.media.DefaultMediaManager r13 = r12.this$0\n com.bamtech.sdk4.media.DefaultQOSPlaybackEventListener r13 = r13.defaultQosPlaybackEventListener\n com.bamtech.sdk4.media.MediaPayloadFetchedEventData r0 = new com.bamtech.sdk4.media.MediaPayloadFetchedEventData\n r3 = 1\n com.bamtech.sdk4.media.MediaDescriptor r1 = r12.$mediaDescriptor\n java.lang.String r4 = r1.getPlaybackUrl()\n com.bamtech.sdk4.media.MediaDescriptor r1 = r12.$mediaDescriptor\n java.lang.String r5 = r1.getBasePlaybackScenario()\n r1 = 0\n java.lang.Boolean r6 = java.lang.Boolean.valueOf(r1)\n r10 = 0\n r11 = 0\n r1 = r0\n r1.<init>(r2, r3, r4, r5, r6, r7, r8, r9, r10, r11)\n r13.onEvent(r0)\n goto L_0x005b\n L_0x0053:\n kotlin.s r13 = new kotlin.s\n java.lang.String r0 = \"null cannot be cast to non-null type com.bamtech.sdk4.internal.media.offline.OfflineMediaItem\"\n r13.<init>(r0)\n throw r13\n L_0x005b:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bamtech.sdk4.internal.media.DefaultMediaManager$getCachedItem$5.accept(com.bamtech.sdk4.media.MediaItem):void\");\n }", "title": "" }, { "docid": "14859d70308698de94456988c5f6bb36", "score": "0.51061845", "text": "private void m48183d() {\n MediaCodec mediaCodec = this.f34792q;\n if (mediaCodec != null) {\n try {\n mediaCodec.stop();\n try {\n this.f34792q.release();\n if (this.f34799x != null) {\n this.f34799x.release();\n }\n this.f34799x = null;\n } catch (Exception e) {\n e.printStackTrace();\n }\n } catch (IllegalStateException e2) {\n e2.printStackTrace();\n this.f34792q.release();\n if (this.f34799x != null) {\n this.f34799x.release();\n }\n this.f34799x = null;\n } catch (Throwable th) {\n try {\n this.f34792q.release();\n if (this.f34799x != null) {\n this.f34799x.release();\n }\n this.f34799x = null;\n } catch (Exception e3) {\n e3.printStackTrace();\n }\n throw th;\n }\n this.f34792q = null;\n }\n }", "title": "" }, { "docid": "709d88be0a95969d84bbf35b597259b6", "score": "0.50999254", "text": "zzae(RemoteMediaClient remoteMediaClient, GoogleApiClient googleApiClient) {\n super(googleApiClient);\n this.zzauy = remoteMediaClient;\n }", "title": "" }, { "docid": "3274b9100601f5d74baf92ac19740d51", "score": "0.5089017", "text": "public String mo2640an() {\n return \"com.google.android.gms.cast.internal.ICastDeviceController\";\n }", "title": "" }, { "docid": "fbdba3f94261cce61770d39fb8552fc0", "score": "0.50678897", "text": "private void m131582U() {\n this.f107325k = new C40531d(this);\n this.f107323i = new C40499bk(this, this.f107334t);\n StickerModule stickerModule = new StickerModule(this, this, this, \"default\", this.f107334t.getMediaController(), this.f107334t.getEffectController(), this.f107334t.getCameraController(), new C41243ad(this), new C40997c() {\n /* renamed from: f */\n public final void mo101323f(FaceStickerBean faceStickerBean) {\n VideoRecordNewActivity.this.f107337w.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42588x.m135309a((Object) new C40500bl(VideoRecordNewActivity.this, VideoRecordNewActivity.this.f107334t.getEffectController())));\n VideoRecordNewActivity.this.f107327m.mo100083b(false);\n }\n\n /* renamed from: g */\n public final void mo101324g(FaceStickerBean faceStickerBean) {\n if (VideoRecordNewActivity.this.f107327m.mo100087f() != 0) {\n VideoRecordNewActivity.this.f107338x.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42586v.m135307b());\n }\n VideoRecordNewActivity.this.f107327m.mo100083b(true);\n VideoRecordNewActivity.this.f107327m.mo100077a(100);\n }\n\n /* renamed from: e */\n public final void mo101322e(FaceStickerBean faceStickerBean) {\n if (C6399b.m19946v()) {\n VideoRecordNewActivity.this.f107339y = true;\n VideoRecordNewActivity.this.mo101840c(VideoRecordNewActivity.this.f107286a.f99784t);\n }\n VideoRecordNewActivity.this.f107327m.mo100083b(false);\n if (!C23536f.m77298a()) {\n VideoRecordNewActivity.this.f107269J.mo96497a(!faceStickerBean.getTags().contains(\"disable_reshape\"), true);\n VideoRecordNewActivity.this.f107271L = faceStickerBean.getTags().contains(\"disable_smooth\");\n VideoRecordNewActivity.this.f107269J.mo96503b(!VideoRecordNewActivity.this.f107271L, true);\n }\n faceStickerBean.getTags().contains(\"disable_beautify_filter\");\n VideoRecordNewActivity.this.f107337w.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42588x.m135309a((Object) new C39945a()));\n VideoRecordNewActivity.this.f107263D.mo99341a(faceStickerBean);\n }\n\n /* renamed from: b */\n public final void mo101319b(FaceStickerBean faceStickerBean) {\n if (C6399b.m19946v()) {\n VideoRecordNewActivity.this.f107339y = true;\n VideoRecordNewActivity.this.mo101840c(VideoRecordNewActivity.this.f107286a.f99784t);\n }\n if (VideoRecordNewActivity.this.f107327m.mo100087f() != 0) {\n VideoRecordNewActivity.this.f107338x.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42586v.m135307b());\n }\n VideoRecordNewActivity.this.f107327m.mo100083b(false);\n if (!C23536f.m77298a()) {\n VideoRecordNewActivity.this.f107269J.mo96497a(false, true);\n VideoRecordNewActivity.this.f107269J.mo96503b(false, true);\n }\n VideoRecordNewActivity.this.f107271L = true;\n if (VideoRecordNewActivity.this.f107286a.f99784t && !C23536f.m77298a()) {\n VideoRecordNewActivity.this.mo101840c(false);\n VideoRecordNewActivity.this.f107286a.f99784t = false;\n }\n Point s = VideoRecordNewActivity.this.mo101863s();\n VideoRecordNewActivity.this.f107337w.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42588x.m135309a((Object) new C38465a(faceStickerBean, VideoRecordNewActivity.this.f107334t.getEffectController()).mo96379a(s.x, s.y)));\n }\n\n /* renamed from: c */\n public final void mo101320c(FaceStickerBean faceStickerBean) {\n C42588x xVar;\n if (C6399b.m19946v()) {\n VideoRecordNewActivity.this.f107339y = true;\n VideoRecordNewActivity.this.mo101840c(VideoRecordNewActivity.this.f107286a.f99784t);\n }\n if (!VideoRecordNewActivity.this.f107286a.f99784t && !C23536f.m77298a()) {\n VideoRecordNewActivity.this.mo101840c(true);\n VideoRecordNewActivity.this.f107286a.f99784t = true;\n }\n VideoRecordNewActivity.this.f107327m.mo100083b(false);\n if (!C23536f.m77298a()) {\n VideoRecordNewActivity.this.f107269J.mo96497a(!faceStickerBean.getTags().contains(\"disable_reshape\"), true);\n VideoRecordNewActivity.this.f107269J.mo96503b(!faceStickerBean.getTags().contains(\"disable_smooth\"), true);\n }\n VideoRecordNewActivity.this.f107271L = false;\n if (VideoRecordNewActivity.this.f107337w != null) {\n if (VideoRecordNewActivity.this.f107328n == null || C40496bh.m129444b(faceStickerBean)) {\n Point s = VideoRecordNewActivity.this.mo101863s();\n if (faceStickerBean.getTypes().contains(\"TouchGes\")) {\n xVar = C42588x.m135309a((Object) new C38465a(faceStickerBean, VideoRecordNewActivity.this.f107334t.getEffectController()).mo96379a(s.x, s.y));\n } else {\n xVar = C42588x.m135309a((Object) new C39945a());\n }\n VideoRecordNewActivity.this.f107337w.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) xVar);\n } else {\n VideoRecordNewActivity.this.f107337w.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42588x.m135309a((Object) VideoRecordNewActivity.this.f107328n.f104667b));\n }\n }\n }\n\n /* renamed from: d */\n public final void mo101321d(FaceStickerBean faceStickerBean) {\n if (faceStickerBean.getTags() != null) {\n if (C6399b.m19946v() && !C23536f.m77298a()) {\n VideoRecordNewActivity.this.f107339y = false;\n VideoRecordNewActivity.this.mo101840c(false);\n }\n VideoRecordNewActivity.this.f107327m.mo100083b(false);\n if (!C23536f.m77298a()) {\n VideoRecordNewActivity.this.f107269J.mo96497a(!faceStickerBean.getTags().contains(\"disable_reshape\"), true);\n VideoRecordNewActivity.this.f107271L = faceStickerBean.getTags().contains(\"disable_smooth\");\n VideoRecordNewActivity.this.f107269J.mo96503b(!VideoRecordNewActivity.this.f107271L, true);\n }\n faceStickerBean.getTags().contains(\"disable_beautify_filter\");\n if (VideoRecordNewActivity.this.f107328n != null) {\n VideoRecordNewActivity.this.f107337w.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42588x.m135309a((Object) VideoRecordNewActivity.this.f107328n.f104667b));\n return;\n }\n VideoRecordNewActivity.this.f107337w.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42588x.m135309a((Object) new C39945a()));\n }\n }\n\n /* renamed from: a */\n public final void mo101318a(FaceStickerBean faceStickerBean) {\n VideoRecordNewActivity.this.f107325k.mo100601a(faceStickerBean);\n if (C40496bh.m129441a(\"camera_front\", faceStickerBean)) {\n if (VideoRecordNewActivity.this.f107327m.mo100087f() != 1) {\n VideoRecordNewActivity.this.f107338x.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42586v.m135306a());\n }\n } else if (C40496bh.m129441a(\"camera_back\", faceStickerBean) && VideoRecordNewActivity.this.f107327m.mo100087f() != 0) {\n VideoRecordNewActivity.this.f107338x.mo103594a((Object) VideoRecordNewActivity.this, (C42155av) C42586v.m135307b());\n }\n if (faceStickerBean == FaceStickerBean.NONE || !faceStickerBean.getTypes().contains(\"AR\")) {\n ((RecordToolbarViewModel) C36113b.m116288a(VideoRecordNewActivity.this).mo91871a(RecordToolbarViewModel.class)).mo107183a(true);\n } else {\n ((RecordToolbarViewModel) C36113b.m116288a(VideoRecordNewActivity.this).mo91871a(RecordToolbarViewModel.class)).mo107183a(false);\n }\n if (VideoRecordNewActivity.this.f107267H != null) {\n if (faceStickerBean != FaceStickerBean.NONE && faceStickerBean.getTypes().contains(\"AR\")) {\n if (VideoRecordNewActivity.this.f107334t != null) {\n VideoRecordNewActivity.this.f107334t.mo56224a(C38479d.m123016a(VideoRecordNewActivity.this));\n }\n if (VideoRecordNewActivity.this.f107323i != null) {\n VideoRecordNewActivity.this.f107323i.mo100549a(0, VideoRecordNewActivity.this.f107267H.mo97904b(), VideoRecordNewActivity.this, (ViewGroup) VideoRecordNewActivity.this.f107267H.f33523b);\n }\n } else if (faceStickerBean != FaceStickerBean.NONE && C40496bh.m129444b(faceStickerBean)) {\n if (VideoRecordNewActivity.this.f107334t != null) {\n VideoRecordNewActivity.this.f107334t.mo56224a(C38479d.m123016a(VideoRecordNewActivity.this));\n }\n if (VideoRecordNewActivity.this.f107323i != null) {\n VideoRecordNewActivity.this.f107323i.mo100549a(1, VideoRecordNewActivity.this.f107267H.mo97904b(), VideoRecordNewActivity.this, (ViewGroup) VideoRecordNewActivity.this.f107267H.f33523b);\n }\n } else if (VideoRecordNewActivity.this.f107323i != null) {\n VideoRecordNewActivity.this.f107323i.mo100548a();\n }\n if (faceStickerBean == FaceStickerBean.NONE || !faceStickerBean.getTypes().contains(\"StabilizationOff\")) {\n if (!VideoRecordNewActivity.this.f107327m.f104644f.f55927a) {\n VideoRecordNewActivity.this.f107327m.f104644f.mo55995b(VideoRecordNewActivity.this.f107267H.mo97961N());\n VideoRecordNewActivity.this.f107267H.mo97896J().mo103594a((Object) VideoRecordNewActivity.this.f107267H, (C42155av) new C42585u(0));\n VideoRecordNewActivity.this.f107267H.mo97963P().mo103594a((Object) VideoRecordNewActivity.this.f107267H, (C42155av) new C42585u(0));\n }\n } else if (VideoRecordNewActivity.this.f107327m.f104644f.f55927a) {\n VideoRecordNewActivity.this.f107327m.f104644f.mo55991a(VideoRecordNewActivity.this.f107267H.mo97961N());\n VideoRecordNewActivity.this.f107267H.mo97896J().mo103594a((Object) VideoRecordNewActivity.this.f107267H, (C42155av) new C42585u(0));\n VideoRecordNewActivity.this.f107267H.mo97963P().mo103594a((Object) VideoRecordNewActivity.this.f107267H, (C42155av) new C42585u(0));\n }\n VideoRecordNewActivity.this.mo101865u().mo101947a(faceStickerBean, VideoRecordNewActivity.this.f107324j.mo100314f());\n }\n }\n }, new C41290bq(this), this.f107311av, this.f107312aw);\n this.f107324j = stickerModule;\n this.f107324j.mo100280a((C40998d) new C40998d() {\n /* renamed from: a */\n public final void mo100600a() {\n VideoRecordNewActivity.this.mo101837b(false);\n }\n\n /* renamed from: b */\n public final void mo100602b() {\n VideoRecordNewActivity.this.mo101829a(false);\n }\n });\n this.f107324j.mo100278a((C40995a) new C40995a() {\n /* renamed from: a */\n public final void mo101312a() {\n VideoRecordNewActivity.this.f107323i.mo100551b();\n }\n\n /* renamed from: b */\n public final void mo101313b() {\n VideoRecordNewActivity.this.f107323i.mo100552c();\n VideoRecordNewActivity.this.mo101855o();\n }\n });\n this.f107324j.mo100274a(this.f107263D);\n this.f107324j.mo100287a(this.f107264E);\n this.f107324j.mo100269a((View.OnClickListener) new C41291br(this));\n this.f107324j.mo100271a(this.f107284Y);\n List f = getSupportFragmentManager().mo2658f();\n if (C6311g.m19574b(f)) {\n List<Fragment> a = C41578z.m132409a(f, C41292bs.f107545a);\n if (C6311g.m19574b(a)) {\n C0633q a2 = getSupportFragmentManager().mo2645a();\n for (Fragment a3 : a) {\n a2.mo2587a(a3);\n }\n a2.mo2606d();\n }\n }\n }", "title": "" }, { "docid": "be0e7c5457ccf5d0a1a05ddc977b1b7b", "score": "0.5066783", "text": "private CameraPreview() {\n }", "title": "" }, { "docid": "5e87ad03118012f71fabf4d03adfd77a", "score": "0.50661665", "text": "public void initializeRemote() {\n\t\t// make sure there is only one registered remote\n\t\tunregisterRemote();\n\t\tif (MediaButtonReceiver.useHeadsetControls(mContext) == false)\n\t\t\treturn;\n\n\t\tmMediaSession = new MediaSession(mContext, \"SMPlayer\");\n\n\t\tmMediaSession.setCallback(new MediaSession.Callback() {\n\t\t\t@Override\n\t\t\tpublic void onPause() {\n\t\t\t\tMediaButtonReceiver.processKey(mContext, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_HEADSETHOOK));\n\t\t\t}\n\t\t\t@Override\n\t\t\tpublic void onPlay() {\n\t\t\t\tMediaButtonReceiver.processKey(mContext, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_HEADSETHOOK));\n\t\t\t}\n\t\t\t@Override\n\t\t\tpublic void onSkipToNext() {\n\t\t\t\tMediaButtonReceiver.processKey(mContext, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_NEXT));\n\t\t\t}\n\t\t\t@Override\n\t\t\tpublic void onSkipToPrevious() {\n\t\t\t\tMediaButtonReceiver.processKey(mContext, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PREVIOUS));\n\t\t\t}\n\t\t\t@Override\n\t\t\tpublic void onStop() {\n\t\t\t\t// We will behave the same as Google Play Music: for \"Stop\" we unconditionally Pause instead\n\t\t\t\tMediaButtonReceiver.processKey(mContext, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PAUSE));\n\t\t\t}\n\t\t});\n\n\t\tIntent intent = new Intent();\n\t\tintent.setComponent(new ComponentName(mContext.getPackageName(), MediaButtonReceiver.class.getName()));\n\t\tPendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);\n\t\t// This Seems to overwrite our MEDIA_BUTTON intent filter and there seems to be no way to unregister it\n\t\t// Well: We intent to keep this around as long as possible anyway. But WHY ANDROID?!\n\t\tmMediaSession.setMediaButtonReceiver(pendingIntent);\n\t\tmMediaSession.setFlags(MediaSession.FLAG_HANDLES_TRANSPORT_CONTROLS | MediaSession.FLAG_HANDLES_MEDIA_BUTTONS);\n\t}", "title": "" }, { "docid": "57cf334fe2d00891def3229f56d4dc21", "score": "0.50628495", "text": "public static void m52767e() {\n if (f33929a == null) {\n f33929a = new MediaPlayer();\n }\n if (f33931c == null) {\n f33931c = new Handler();\n }\n }", "title": "" }, { "docid": "38ab2054adb729050eece35bd4d3ae6b", "score": "0.50569755", "text": "private VideoCapturer getVideoCapturer() {\n return null;\n }", "title": "" }, { "docid": "5f6aea2c8f683f397ec739c42c8cd66d", "score": "0.50532293", "text": "public MediaPlayer getMediaPlayer() {\r\n return player;\r\n }", "title": "" }, { "docid": "a5661bbaa178311aa37fcf0626c6fb20", "score": "0.5052134", "text": "public static void playTap(){\n try {\n mediaPlayer = MediaPlayer.create(mActivity, R.raw.chime_up);\n mediaPlayer.setVolume(1.0f, 1.0f);\n mediaPlayer.setAudioStreamType(AudioManager.MODE_IN_COMMUNICATION);\n mediaPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {\n @Override\n public void onCompletion(MediaPlayer mp) {\n mp.reset();\n mp.release();\n\n // mReader.start();//.reset(mResetCompleteListener);\n\n }\n });\n mediaPlayer.start();\n }catch (Exception e){}\n }", "title": "" }, { "docid": "c1f4b174e4771b22c455e14f644244f0", "score": "0.50465226", "text": "private MediaProxy(Context context) {\n super(context);\n setProxyName(\"MediaProxy\");\n // mStorageManager = (StorageManager)\n // context.getSystemService(Context.STORAGE_SERVICE);\n contentResolver = context.getContentResolver();\n }", "title": "" }, { "docid": "89e0b6f49e96cbffa706c467b2313fdb", "score": "0.50428605", "text": "@Override\n public void onPrepared(MediaPlayer mediaPlayer) {\n\n }", "title": "" }, { "docid": "c55f4bf93e995ce72a54e8366c963ccd", "score": "0.5015063", "text": "@Override // com.zhihu.android.player.walkman.p1822ui.AudioPlayerFragment\n /* renamed from: b */\n public BasePlayerInfoViewModel mo83955b() {\n return new TTSPlayInfoViewModel(getActivity(), this.f60651b, this.f60653d, this.f60652c.author);\n }", "title": "" }, { "docid": "0d2161da1152d582dbfb043ce5985243", "score": "0.50140095", "text": "private PendingIntent createMediaButtonIntent() {\n KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE);\n Intent startingIntent = new Intent(getBaseContext(), MediaButtonReceiver.class);\n startingIntent.setAction(MediaButtonReceiver.NOTIFY_BUTTON_RECEIVER);\n startingIntent.putExtra(Intent.EXTRA_KEY_EVENT, event);\n\n return PendingIntent.getBroadcast(this, 0, startingIntent, 0);\n }", "title": "" }, { "docid": "6ef0ded8b58abb346407eee8eb45bfd5", "score": "0.5007339", "text": "public Media getMedia(long mediaId);", "title": "" }, { "docid": "9c3ea59df5187a8b6cf921468c47a2b1", "score": "0.4981825", "text": "public interface CameraInterface {\n SurfaceTexture getSurfaceTextureFromTextureView();\n Size getPreviewSize();\n Handler getBackgroundHandler();\n Surface getImageRenderSurface();\n int getRotation();\n}", "title": "" }, { "docid": "1ac6f337ce0ba32f22b9f2f94f5ef2d9", "score": "0.49762693", "text": "@Override\n public void onFinishInflate() {\n super.onFinishInflate();\n\n// final ImageButton playPauseToggle = (ImageButton) findViewById(R.id.play_pause_toggle);\n// playPauseToggle.setOnClickListener(\n// new OnClickListener() {\n// @Override\n// public void onClick(View v) {\n// if (mediaPlayer == null) {\n// return;\n// }\n//\n// if (mediaPlayer.isPlaying()) {\n// mediaPlayer.pause();\n// playPauseToggle.setBackgroundResource(R.drawable.play_button);\n// playPauseToggle.setContentDescription(getResources().getString(R.string.play_label));\n// } else {\n// mediaPlayer.start();\n// playPauseToggle.setBackgroundResource(R.drawable.pause_button);\n// playPauseToggle.setContentDescription(getResources().getString(R.string.pause_label));\n// }\n// }\n// });\n\n// statusText = findViewById(R.id.status_text);\n }", "title": "" }, { "docid": "6fb88d3e4697e65eacdf33d41554aba0", "score": "0.4964817", "text": "private ContentResolverCompat() {}", "title": "" }, { "docid": "96a1ca5668d29c63cd60069074ef2080", "score": "0.49625412", "text": "@UpnpAction(out = {@UpnpOutputArgument(name = \"PlayMedia\", stateVariable = \"PossiblePlaybackStorageMedia\", getterName = \"getPlayMediaString\"), @UpnpOutputArgument(name = \"RecMedia\", stateVariable = \"PossibleRecordStorageMedia\", getterName = \"getRecMediaString\"), @UpnpOutputArgument(name = \"RecQualityModes\", stateVariable = \"PossibleRecordQualityModes\", getterName = \"getRecQualityModesString\")})\n/* */ public abstract DeviceCapabilities getDeviceCapabilities(@UpnpInputArgument(name = \"InstanceID\") UnsignedIntegerFourBytes paramUnsignedIntegerFourBytes) throws AVTransportException;", "title": "" }, { "docid": "15980ab18823b7a77d8693498498fc6d", "score": "0.49613607", "text": "@Override\n public void onCameraMove() {\n }", "title": "" }, { "docid": "2b77a2469734c272607ff97d6f67b20b", "score": "0.4956673", "text": "@Override // com.google.android.exoplayer2.analytics.PlaybackSessionManager\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public synchronized void updateSessions(com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime r25) {\n /*\n // Method dump skipped, instructions count: 241\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager.updateSessions(com.google.android.exoplayer2.analytics.AnalyticsListener$EventTime):void\");\n }", "title": "" }, { "docid": "f618bc27f23a49e6be40c1891cf2e91a", "score": "0.49555072", "text": "public IIOMetadataController getController() {\n/* 822 */ return this.controller;\n/* */ }", "title": "" }, { "docid": "9364c8f83f8aa308b20bc186d2f275ab", "score": "0.4954754", "text": "private static com.google.android.exoplayer2.source.p379m0.C9213e m27208a(int r8, com.google.android.exoplayer2.source.dash.p376k.C9123i r9, boolean r10, java.util.List<com.google.android.exoplayer2.Format> r11, com.google.android.exoplayer2.p366s0.C8924q r12) {\n /*\n com.google.android.exoplayer2.Format r0 = r9.f20466a\n java.lang.String r0 = r0.f18348a0\n boolean r1 = m27209a(r0)\n if (r1 == 0) goto L_0x000c\n r8 = 0\n return r8\n L_0x000c:\n java.lang.String r1 = \"application/x-rawcc\"\n boolean r1 = r1.equals(r0)\n if (r1 == 0) goto L_0x001c\n com.google.android.exoplayer2.s0.x.a r10 = new com.google.android.exoplayer2.s0.x.a\n com.google.android.exoplayer2.Format r11 = r9.f20466a\n r10.<init>(r11)\n goto L_0x003b\n L_0x001c:\n boolean r0 = m27210b(r0)\n if (r0 == 0) goto L_0x0029\n com.google.android.exoplayer2.s0.t.e r10 = new com.google.android.exoplayer2.s0.t.e\n r11 = 1\n r10.<init>(r11)\n goto L_0x003b\n L_0x0029:\n r0 = 0\n if (r10 == 0) goto L_0x002f\n r0 = 4\n r2 = 4\n goto L_0x0030\n L_0x002f:\n r2 = 0\n L_0x0030:\n com.google.android.exoplayer2.s0.v.g r10 = new com.google.android.exoplayer2.s0.v.g\n r3 = 0\n r4 = 0\n r5 = 0\n r1 = r10\n r6 = r11\n r7 = r12\n r1.<init>(r2, r3, r4, r5, r6, r7)\n L_0x003b:\n com.google.android.exoplayer2.source.m0.e r11 = new com.google.android.exoplayer2.source.m0.e\n com.google.android.exoplayer2.Format r9 = r9.f20466a\n r11.<init>(r10, r8, r9)\n return r11\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.exoplayer2.source.dash.C9105h.C9107b.m27208a(int, com.google.android.exoplayer2.source.dash.k.i, boolean, java.util.List, com.google.android.exoplayer2.s0.q):com.google.android.exoplayer2.source.m0.e\");\n }", "title": "" }, { "docid": "fc202ca61e75cfdb61148fbfee67db29", "score": "0.4942935", "text": "public interface MultimediaControl {\n\n /**\n * Play the device.\n */\n public void play();\n\n /**\n * Stop the device.\n */\n public void stop();\n\n /**\n * Previous option on device.\n */\n public void previous();\n\n /**\n * Next option on device.\n */\n public void next();\n\n}", "title": "" }, { "docid": "19832eb46f94354417a0625feb93754d", "score": "0.49376744", "text": "@Override\n public void onPrepared(MediaPlayer mp) {\n //setup video controller view\n controller.setMediaPlayerControlListener(this);\n mLoadingView.setVisibility(View.GONE);\n mVideoSurface.setVisibility(View.VISIBLE);\n controller.setAnchorView((FrameLayout) findViewById(R.id.videoSurfaceContainer));\n controller.setGestureListener(this);\n mMediaPlayer.start();\n }", "title": "" }, { "docid": "b868102a2c19de51a924520608369f25", "score": "0.4935708", "text": "protected void check4MediaTimer() {\r\n\t}", "title": "" }, { "docid": "5cb67fff53e45ddd5573ddd8f39c7a12", "score": "0.4934998", "text": "@UpnpAction(out = {@UpnpOutputArgument(name = \"NrTracks\", stateVariable = \"NumberOfTracks\", getterName = \"getNumberOfTracks\"), @UpnpOutputArgument(name = \"MediaDuration\", stateVariable = \"CurrentMediaDuration\", getterName = \"getMediaDuration\"), @UpnpOutputArgument(name = \"CurrentURI\", stateVariable = \"AVTransportURI\", getterName = \"getCurrentURI\"), @UpnpOutputArgument(name = \"CurrentURIMetaData\", stateVariable = \"AVTransportURIMetaData\", getterName = \"getCurrentURIMetaData\"), @UpnpOutputArgument(name = \"NextURI\", stateVariable = \"NextAVTransportURI\", getterName = \"getNextURI\"), @UpnpOutputArgument(name = \"NextURIMetaData\", stateVariable = \"NextAVTransportURIMetaData\", getterName = \"getNextURIMetaData\"), @UpnpOutputArgument(name = \"PlayMedium\", stateVariable = \"PlaybackStorageMedium\", getterName = \"getPlayMedium\"), @UpnpOutputArgument(name = \"RecordMedium\", stateVariable = \"RecordStorageMedium\", getterName = \"getRecordMedium\"), @UpnpOutputArgument(name = \"WriteStatus\", stateVariable = \"RecordMediumWriteStatus\", getterName = \"getWriteStatus\")})\n/* */ public abstract MediaInfo getMediaInfo(@UpnpInputArgument(name = \"InstanceID\") UnsignedIntegerFourBytes paramUnsignedIntegerFourBytes) throws AVTransportException;", "title": "" }, { "docid": "e36a21e23c776c5c3155bf1ca28059a4", "score": "0.49338138", "text": "private final void m128262c(List<? extends MediaModel> list) {\n List<? extends MediaModel> list2 = list;\n Collection collection = list2;\n int size = collection.size();\n int i = 0;\n int i2 = 0;\n for (int i3 = 0; i3 < size; i3++) {\n if (((long) ((int) ((MediaModel) list2.get(i3)).f88159e)) <= this.f104311c) {\n C9738o.m28697a(this.f104310b, this.f104310b.getString(R.string.fkq, new Object[]{Long.valueOf(this.f104311c / 1000)}));\n return;\n }\n i += (int) ((MediaModel) list2.get(i3)).f88159e;\n if (((MediaModel) list2.get(i3)).f88158d == 4) {\n i2++;\n }\n }\n if (((long) i) <= this.f104311c) {\n C9738o.m28697a(this.f104310b, this.f104310b.getString(R.string.fkq, new Object[]{Long.valueOf(this.f104311c / 1000)}));\n } else if (i > 3600000) {\n C9738o.m28693a((Context) this.f104310b, (int) R.string.cap);\n } else {\n C33153d.m106972a().mo84906b();\n int size2 = collection.size();\n for (int i4 = 0; i4 < size2; i4++) {\n C33153d.m106972a().mo84905a((MediaModel) list2.get(i4));\n }\n m128259a(list2, i2, i);\n ShortVideoContext shortVideoContext = this.f104313e;\n if (shortVideoContext == null) {\n C7573i.m23583a(\"shortVideoContext\");\n }\n String str = shortVideoContext.f99788x;\n ShortVideoContext shortVideoContext2 = this.f104313e;\n if (shortVideoContext2 == null) {\n C7573i.m23583a(\"shortVideoContext\");\n }\n C39193g.m125128a(str, shortVideoContext2.f99787w);\n if (C39182e.m125104g() && list.size() > 1) {\n m128263d(list);\n } else if (list.size() <= 1 || !C40173d.m128359d()) {\n String str2 = ((MediaModel) list2.get(0)).f88156b;\n C7573i.m23582a((Object) str2, \"videosInfo[0].filePath\");\n mo99879a(str2, null);\n } else {\n m128260b();\n C40173d.m128355a(list2, new C40123b(this, list2));\n }\n }\n }", "title": "" }, { "docid": "6c7f297c8a2e6ab1f2a6a05faece39e9", "score": "0.49336627", "text": "public final void mo99879a(java.lang.String r6, java.util.List<? extends com.p280ss.android.ugc.aweme.shortvideo.AVMusic> r7) {\n /*\n r5 = this;\n android.content.Intent r6 = new android.content.Intent\n r6.<init>()\n java.lang.String r0 = \"from_music_detail\"\n java.lang.String r1 = \"single_song\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r2 = r5.f104313e\n if (r2 != 0) goto L_0x0012\n java.lang.String r3 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r3)\n L_0x0012:\n java.lang.String r2 = r2.f99788x\n boolean r1 = kotlin.jvm.internal.C7573i.m23585a(r1, r2)\n r2 = 0\n if (r1 != 0) goto L_0x0044\n java.lang.String r1 = \"task_platform\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r3 = r5.f104313e\n if (r3 != 0) goto L_0x0026\n java.lang.String r4 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r4)\n L_0x0026:\n java.lang.String r3 = r3.f99717V\n boolean r1 = kotlin.jvm.internal.C7573i.m23585a(r1, r3)\n if (r1 != 0) goto L_0x0044\n java.lang.String r1 = \"challenge\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r3 = r5.f104313e\n if (r3 != 0) goto L_0x0039\n java.lang.String r4 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r4)\n L_0x0039:\n java.lang.String r3 = r3.f99717V\n boolean r1 = kotlin.jvm.internal.C7573i.m23585a(r1, r3)\n if (r1 == 0) goto L_0x0042\n goto L_0x0044\n L_0x0042:\n r1 = 0\n goto L_0x0045\n L_0x0044:\n r1 = 1\n L_0x0045:\n r6.putExtra(r0, r1)\n java.lang.String r0 = \"creation_id\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r1 = r5.f104313e\n if (r1 != 0) goto L_0x0053\n java.lang.String r3 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r3)\n L_0x0053:\n java.lang.String r1 = r1.f99787w\n r6.putExtra(r0, r1)\n java.lang.String r0 = \"shoot_way\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r1 = r5.f104313e\n if (r1 != 0) goto L_0x0063\n java.lang.String r3 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r3)\n L_0x0063:\n java.lang.String r1 = r1.f99788x\n r6.putExtra(r0, r1)\n java.lang.String r0 = \"task_id\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r1 = r5.f104313e\n if (r1 != 0) goto L_0x0073\n java.lang.String r3 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r3)\n L_0x0073:\n java.lang.String r1 = r1.f99715T\n r6.putExtra(r0, r1)\n java.lang.String r0 = \"challenge_names\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r1 = r5.f104313e\n if (r1 != 0) goto L_0x0083\n java.lang.String r3 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r3)\n L_0x0083:\n java.util.ArrayList<java.lang.String> r1 = r1.f99716U\n java.io.Serializable r1 = (java.io.Serializable) r1\n r6.putExtra(r0, r1)\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r0 = r5.f104313e\n if (r0 != 0) goto L_0x0093\n java.lang.String r1 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r1)\n L_0x0093:\n com.ss.android.ugc.aweme.shortvideo.WorkSpace.Workspace r0 = r0.f99775k\n java.lang.String r1 = \"shortVideoContext.mWorkspace\"\n kotlin.jvm.internal.C7573i.m23582a(r0, r1)\n java.io.File r0 = r0.mo96317e()\n if (r0 == 0) goto L_0x00c2\n java.lang.String r0 = \"path\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r1 = r5.f104313e\n if (r1 != 0) goto L_0x00ab\n java.lang.String r3 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r3)\n L_0x00ab:\n com.ss.android.ugc.aweme.shortvideo.WorkSpace.Workspace r1 = r1.f99775k\n java.lang.String r3 = \"shortVideoContext.mWorkspace\"\n kotlin.jvm.internal.C7573i.m23582a(r1, r3)\n java.io.File r1 = r1.mo96317e()\n java.lang.String r3 = \"shortVideoContext.mWorkspace.musicFile\"\n kotlin.jvm.internal.C7573i.m23582a(r1, r3)\n java.lang.String r1 = r1.getAbsolutePath()\n r6.putExtra(r0, r1)\n L_0x00c2:\n com.ss.android.ugc.aweme.shortvideo.dw r0 = com.p280ss.android.ugc.aweme.shortvideo.C39360dw.m125725a()\n java.lang.String r1 = \"PublishManager.inst()\"\n kotlin.jvm.internal.C7573i.m23582a(r0, r1)\n java.util.List<com.ss.android.ugc.aweme.shortvideo.AVChallenge> r0 = r0.f102247b\n boolean r1 = com.bytedance.common.utility.C6311g.m19573a(r0)\n if (r1 != 0) goto L_0x00de\n java.lang.String r1 = \"av_challenge\"\n java.lang.Object r0 = r0.get(r2)\n java.io.Serializable r0 = (java.io.Serializable) r0\n r6.putExtra(r1, r0)\n L_0x00de:\n java.lang.String r0 = \"poi_struct_in_tools_line\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r1 = r5.f104313e\n if (r1 != 0) goto L_0x00e9\n java.lang.String r2 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r2)\n L_0x00e9:\n java.lang.String r1 = r1.f99704I\n r6.putExtra(r0, r1)\n java.lang.String r0 = \"micro_app_info\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r1 = r5.f104313e\n if (r1 != 0) goto L_0x00f9\n java.lang.String r2 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r2)\n L_0x00f9:\n com.ss.android.ugc.aweme.shortvideo.edit.MicroAppModel r1 = r1.f99762aw\n java.io.Serializable r1 = (java.io.Serializable) r1\n r6.putExtra(r0, r1)\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r0 = r5.f104313e\n if (r0 != 0) goto L_0x0109\n java.lang.String r1 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r1)\n L_0x0109:\n com.ss.android.ugc.aweme.tools.extension.b r0 = com.p280ss.android.ugc.aweme.shortvideo.C40005j.m127914b(r0)\n com.ss.android.ugc.aweme.tools.extension.Scene r1 = com.p280ss.android.ugc.aweme.tools.extension.Scene.RECORD\n com.ss.android.ugc.aweme.tools.extension.Scene r2 = com.p280ss.android.ugc.aweme.tools.extension.Scene.CUT\n com.p280ss.android.ugc.aweme.tools.extension.C42311e.m134569a(r6, r0, r1, r2)\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r0 = r5.f104313e\n if (r0 != 0) goto L_0x011d\n java.lang.String r1 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r1)\n L_0x011d:\n boolean r0 = r0.f99763ax\n if (r0 == 0) goto L_0x0124\n r0 = 1002(0x3ea, float:1.404E-42)\n goto L_0x0125\n L_0x0124:\n r0 = -1\n L_0x0125:\n r1 = r7\n java.util.Collection r1 = (java.util.Collection) r1\n boolean r1 = com.p280ss.android.ugc.aweme.base.utils.C23477d.m77081a(r1)\n if (r1 != 0) goto L_0x0142\n java.lang.String r1 = \"extra_stickpoint_music_list\"\n if (r7 == 0) goto L_0x013a\n java.util.ArrayList r7 = (java.util.ArrayList) r7\n java.io.Serializable r7 = (java.io.Serializable) r7\n r6.putExtra(r1, r7)\n goto L_0x0142\n L_0x013a:\n kotlin.TypeCastException r6 = new kotlin.TypeCastException\n java.lang.String r7 = \"null cannot be cast to non-null type java.util.ArrayList<com.ss.android.ugc.aweme.shortvideo.AVMusic>\"\n r6.<init>(r7)\n throw r6\n L_0x0142:\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r7 = r5.f104313e\n if (r7 != 0) goto L_0x014b\n java.lang.String r1 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r1)\n L_0x014b:\n java.lang.String r7 = r7.f99789y\n java.lang.CharSequence r7 = (java.lang.CharSequence) r7\n java.lang.String r1 = \"douplus\"\n java.lang.CharSequence r1 = (java.lang.CharSequence) r1\n boolean r7 = android.text.TextUtils.equals(r7, r1)\n if (r7 == 0) goto L_0x0172\n java.lang.String r7 = \"extra_mention_user_model\"\n com.ss.android.ugc.aweme.shortvideo.ShortVideoContext r1 = r5.f104313e\n if (r1 != 0) goto L_0x0164\n java.lang.String r2 = \"shortVideoContext\"\n kotlin.jvm.internal.C7573i.m23583a(r2)\n L_0x0164:\n com.ss.android.ugc.aweme.shortvideo.model.ExtraMentionUserModel r1 = r1.f99725aC\n java.io.Serializable r1 = (java.io.Serializable) r1\n r6.putExtra(r7, r1)\n java.lang.String r7 = \"enter_from\"\n java.lang.String r1 = \"douplus\"\n r6.putExtra(r7, r1)\n L_0x0172:\n android.app.Activity r7 = r5.f104310b\n android.content.Context r7 = (android.content.Context) r7\n com.p280ss.android.ugc.aweme.shortvideo.cut.VECutVideoActivity.C38648a.m123460a(r7, r6, r0)\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.shortvideo.mvtemplate.choosemedia.C40121ab.mo99879a(java.lang.String, java.util.List):void\");\n }", "title": "" }, { "docid": "423350e5d4ef970963fec3b4a01c8e8d", "score": "0.4931512", "text": "public interface MIX_MediaPlayer {\n void play();\n}", "title": "" }, { "docid": "3f51af01dbab9bf44f57a818a93903c7", "score": "0.4922331", "text": "private void setController(){\n controller = new MusicController(this);\n// if (controller == null)\n// controller = new MusicController(this);\n controller.setPrevNextListeners(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n playNext();\n }\n }, new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n playPrev();\n }\n });\n controller.setMediaPlayer(this);\n controller.setAnchorView(findViewById(R.id.belowsonglist));\n controller.setEnabled(true);\n }", "title": "" }, { "docid": "568c6d2b687629f2149b2ebc372b76cd", "score": "0.4916206", "text": "public static MediaDescriptionCompat a(Object obj) {\n Uri uri;\n Bundle bundle = null;\n if (obj == null || VERSION.SDK_INT < 21) {\n return null;\n }\n a aVar = new a();\n aVar.a(f.e(obj));\n aVar.c(f.g(obj));\n aVar.b(f.f(obj));\n aVar.a(f.a(obj));\n aVar.a(f.c(obj));\n aVar.a(f.d(obj));\n Bundle b2 = f.b(obj);\n String str = \"android.support.v4.media.description.MEDIA_URI\";\n if (b2 != null) {\n MediaSessionCompat.a(b2);\n uri = (Uri) b2.getParcelable(str);\n } else {\n uri = null;\n }\n if (uri != null) {\n String str2 = \"android.support.v4.media.description.NULL_BUNDLE_FLAG\";\n if (!b2.containsKey(str2) || b2.size() != 2) {\n b2.remove(str);\n b2.remove(str2);\n }\n aVar.a(bundle);\n if (uri == null) {\n aVar.b(uri);\n } else if (VERSION.SDK_INT >= 23) {\n aVar.b(g.a(obj));\n }\n MediaDescriptionCompat a2 = aVar.a();\n a2.f297i = obj;\n return a2;\n }\n bundle = b2;\n aVar.a(bundle);\n if (uri == null) {\n }\n MediaDescriptionCompat a22 = aVar.a();\n a22.f297i = obj;\n return a22;\n }", "title": "" }, { "docid": "0f6d60568c39589d21bd99e61e35a85e", "score": "0.49161562", "text": "public interface C39990e {\n\n /* renamed from: com.ss.android.ugc.aweme.shortvideo.guide.e$a */\n public static class C39991a implements C39990e {\n /* renamed from: a */\n public final void mo98265a(FrameLayout frameLayout) {\n }\n\n /* renamed from: a */\n public final void mo98266a(boolean z) {\n }\n }\n\n /* renamed from: a */\n void mo98265a(FrameLayout frameLayout);\n\n /* renamed from: a */\n void mo98266a(boolean z);\n}", "title": "" }, { "docid": "9bc072352fa2b1f138a8c545cdb1d549", "score": "0.49126217", "text": "public interface MediaPlayer {\n public void play(String audioType, String fileName);\n}", "title": "" }, { "docid": "9bc072352fa2b1f138a8c545cdb1d549", "score": "0.49126217", "text": "public interface MediaPlayer {\n public void play(String audioType, String fileName);\n}", "title": "" }, { "docid": "f415a39d3e1ad8e93deb5a5b5ffadea7", "score": "0.49045527", "text": "@Override\n public void onPlaybackParametersChanged(PlaybackParameters playbackParameters) {\n }", "title": "" }, { "docid": "4f775600b2e0a5dc67893cb7cdbb07c8", "score": "0.4895099", "text": "private List getMediaList() {\r\n List mediaList = null;\r\n if (this.getCoreSettings().isMediaEnabled()) {\r\n mediaList = this.getActiveMediaFeedsDao().readActiveMediaList(\"H\", 2);\r\n }\r\n return mediaList;\r\n }", "title": "" }, { "docid": "de6d80a954f7c5f519c9ab58ca0460aa", "score": "0.4890775", "text": "@Override\n public void start() {\n mediaPlayer.start();\n }", "title": "" }, { "docid": "80cff66d2d021eeb5d35484d8c2e4a68", "score": "0.4890489", "text": "public RewindSession(EmbeddedMediaPlayer video) {\n\t\tthis.video = video;\n\n\t}", "title": "" }, { "docid": "224ec7ccf22214bc3273c494415903a4", "score": "0.48874238", "text": "@Override\n public void onCameraOpenFailed(){\n }", "title": "" }, { "docid": "9637cae2eebbdcbecf7307395e767f31", "score": "0.48874205", "text": "@Override\n public void onMediaDownloaded(Ad ad) {\n }", "title": "" }, { "docid": "2ff404bdf51ba1d79034ce2250b2f9a4", "score": "0.48787576", "text": "public final com.google.android.gms.internal.ads.btb getVideoController() {\n /*\n r4 = this;\n android.os.Parcel r0 = r4.mo11432z()\n r1 = 26\n android.os.Parcel r0 = r4.mo11428a(r1, r0)\n android.os.IBinder r1 = r0.readStrongBinder()\n if (r1 != 0) goto L_0x0012\n r1 = 0\n goto L_0x0026\n L_0x0012:\n java.lang.String r2 = \"com.google.android.gms.ads.internal.client.IVideoController\"\n android.os.IInterface r2 = r1.queryLocalInterface(r2)\n boolean r3 = r2 instanceof com.google.android.gms.internal.ads.btb\n if (r3 == 0) goto L_0x0020\n r1 = r2\n com.google.android.gms.internal.ads.btb r1 = (com.google.android.gms.internal.ads.btb) r1\n goto L_0x0026\n L_0x0020:\n com.google.android.gms.internal.ads.btd r2 = new com.google.android.gms.internal.ads.btd\n r2.<init>(r1)\n r1 = r2\n L_0x0026:\n r0.recycle()\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.bry.getVideoController():com.google.android.gms.internal.ads.btb\");\n }", "title": "" }, { "docid": "7fcc0a23191fa1962e55861a1a5304de", "score": "0.48761868", "text": "@Override // android.support.v4.media.MediaSession2.ControllerCb\n public void onPlaybackInfoChanged(MediaController2.PlaybackInfo info) throws RemoteException {\n Bundle bundle = new Bundle();\n bundle.putBundle(\"android.support.v4.media.argument.PLAYBACK_INFO\", info.toBundle());\n this.mIControllerCallback.onEvent(\"android.support.v4.media.session.event.ON_PLAYBACK_INFO_CHANGED\", bundle);\n }", "title": "" }, { "docid": "3ebf7dbb2e285690717c11ba82aacee1", "score": "0.48687127", "text": "@Override\n public void onPlayabilityStateChanged(boolean isPlayable) {\n }", "title": "" }, { "docid": "4485dedeb36e5bba69199379c28ba18a", "score": "0.48627967", "text": "void replace (Media m);", "title": "" }, { "docid": "8fef0b8608a6c1b74782f7ffedce1140", "score": "0.48617393", "text": "public interface MediaPlayerListener {\n public void onRadioPlaying();\n}", "title": "" }, { "docid": "0fa435bd1eb5a003f7173a060014de5c", "score": "0.48561916", "text": "@Override\n public void surfaceCreated(SurfaceHolder holder) {\n\n mMediaPlayer = new MediaPlayer();\n mMediaPlayer\n .setOnBufferingUpdateListener(new OnBufferingUpdateListener() {\n\n @Override\n public void onBufferingUpdate(MediaPlayer mp, int percent) {\n // TODO Auto-generated method stub\n\n //Log.e(TAG, \"onBufferingUpdate:percent[\" + percent + \"]\");\n }\n\n });\n\n mMediaPlayer.setOnErrorListener(new OnErrorListener() {\n\n @Override\n public boolean onError(MediaPlayer mp, int what, int extra) {\n // TODO Auto-generated method stub\n\n Log.e(TAG, \"OnErrorListener:what[\" + what + \"]extra[\" + extra\n + \"]\");\n\n // notify ERROR to sender app when error happened?\n mFlintVideo.notifyEvents(FlintVideo.ERROR, \"Media ERROR\");\n \n mHandler.sendEmptyMessage(PLAYER_MSG_FINISHED);\n \n return false;\n }\n\n });\n\n mMediaPlayer.setOnInfoListener(new OnInfoListener() {\n\n @Override\n public boolean onInfo(MediaPlayer mp, int what, int extra) {\n // TODO Auto-generated method stub\n\n Log.e(TAG, \"OnInfoListener:what[\" + what + \"]extra[\" + extra\n + \"]\");\n\n mFlintVideo.setCurrentTime(mp.getCurrentPosition());\n\n switch (what) {\n case MediaPlayer.MEDIA_INFO_NOT_SEEKABLE:\n Toast.makeText(SimpleMediaPlayerActivity.this, \"The media cannot be seeked!\", Toast.LENGTH_SHORT).show();\n break;\n\n case MediaPlayer.MEDIA_INFO_VIDEO_RENDERING_START:\n mFlintVideo.notifyEvents(FlintVideo.PLAYING,\n \"Media is PLAYING\");\n break;\n case MediaPlayer.MEDIA_INFO_BUFFERING_START:\n mFlintVideo.notifyEvents(FlintVideo.WAITING,\n \"Media is WAITING\");\n break;\n case MediaPlayer.MEDIA_INFO_BUFFERING_END:\n if (mMediaPlayer.isPlaying()) {\n mFlintVideo.notifyEvents(FlintVideo.PLAYING,\n \"Media is PLAYING\");\n }else {\n Log.e(TAG, \"MEDIA_INFO_BUFFERING_END: waiting!!!?!\");\n\n // this should be a workaround for the seek issue of\n // VideoView in PAUSE state.\n mFlintVideo.notifyEvents(FlintVideo.SEEKED,\n \"Media is WAITING?\");\n mFlintVideo.notifyEvents(FlintVideo.PAUSE,\n \"Media is PAUSED?\");\n }\n break;\n }\n\n return false;\n }\n\n });\n\n mMediaPlayer.setOnPreparedListener(new OnPreparedListener() {\n\n @Override\n public void onPrepared(MediaPlayer mp) {\n // TODO Auto-generated method stub\n \n // All media file should first be loaded.\n mMediaLoaded = true;\n \n mMediaPlayer.start();\n \n Log.e(TAG, \"onPrepared![\" + mp.getDuration() + \"]\");\n\n // hide logo\n mLogo.setVisibility(View.GONE);\n\n // set Flint related\n mFlintVideo.setDuration(mp.getDuration());\n\n mFlintVideo.setPlaybackRate(1); // TODO\n\n mFlintVideo.setCurrentTime(mp.getCurrentPosition());\n\n mFlintVideo.notifyEvents(FlintVideo.LOADEDMETADATA,\n \"Media is LOADEDMETADATA\"); // READY\n // TO\n // PLAY\n }\n\n });\n\n mMediaPlayer.setOnSeekCompleteListener(new OnSeekCompleteListener() {\n\n @Override\n public void onSeekComplete(MediaPlayer mp) {\n // TODO Auto-generated method stub\n\n Log.e(TAG, \"onSeekComplete!\");\n\n // notify sender app this SEEKED event.\n mFlintVideo.notifyEvents(FlintVideo.SEEKED, \"Media SEEKED\");\n\n // fix play status issue in some tv sets.\n mFlintVideo.notifyEvents(FlintVideo.PLAYING, \"Playing Media??\");\n\n // notify sender app that our current status is in PAUSE state?\n //if (!mMediaPlayer.isPlaying()) {\n // mFlintVideo.notifyEvents(FlintVideo.PAUSE, \"Media PAUSED?\");\n //}\n }\n\n });\n\n mMediaPlayer.setOnCompletionListener(new OnCompletionListener() {\n\n @Override\n public void onCompletion(MediaPlayer mp) {\n // TODO Auto-generated method stub\n\n Log.e(TAG, \"onCompletion!\");\n\n mFlintVideo.setCurrentTime(mFlintVideo.getDuration());\n\n // notify sender app this media ended event.\n mFlintVideo.notifyEvents(FlintVideo.ENDED, \"Media ENDED\");\n\n mHandler.sendEmptyMessage(PLAYER_MSG_FINISHED);\n }\n });\n\n mMediaPlayer\n .setOnVideoSizeChangedListener(new OnVideoSizeChangedListener() {\n\n @Override\n public void onVideoSizeChanged(MediaPlayer mp, int width,\n int height) {\n\n changeVideoSizes(width, height);\n }\n });\n\n mMediaPlayer.setDisplay(mSurfaceHolder);\n }", "title": "" }, { "docid": "d5c442c11468548796ae0c464d7fa0f5", "score": "0.48559797", "text": "public interface Music {\n \n /**\n * returns the Media file\n * @return\n */\n Media getMusic();\n \n /**\n * gets path of the media file\n * @return\n */\n String getPath();\n \n /**\n * replaces media file with new m\n * \n * @param m\n */\n void replace (Media m);\n}", "title": "" }, { "docid": "6cd9c0129123df9d689d2d71431dd0ab", "score": "0.48531127", "text": "@Override\n public void onMediaDownloaded(Ad ad) {\n }", "title": "" } ]
8445405b074e74104bd90d257d83beaf
/ Switch to the iframe
[ { "docid": "0f58626b93e7572ae299f9eaab85d8ae", "score": "0.0", "text": "public Discussion enterDescription(String desc)\n\t{\n\t\tdriver.switchTo().frame(driver.findElement(ckeditor));\n\t\t\n\t\t/* Load in properties */\n\t\tConfigProperties config = new ConfigProperties();\n\t\t\n\t\t/* Set the implicit wait to zero */\n\t\tdriver.manage().timeouts().implicitlyWait(0, TimeUnit.SECONDS);\n\t\t\t\t\n\t\t//driver.findElement(descriptionEditorLocator).click();\n\t\tdriver.findElement(descriptionEditorLocator).clear();\n\t\t//driver.findElement(editBackgroundDetailsLocator).sendKeys(desc);\n\t\t((JavascriptExecutor) driver).executeScript( \"var div = document.getElementsByTagName (\\\"body\\\")[0];if (div.contentEditable == \\\"true\\\") {div.contentEditable = \\\"false\\\";var text=div.innerHTML;div.innerHTML = text+arguments[0];}\",desc);\n\t\t\n\t\t/* Reset the implicit wait */\n\t\tdriver.manage().timeouts().implicitlyWait(Long.parseLong(config.getConfigProperties().getProperty(\"TIMEOUT\")), TimeUnit.SECONDS);\n\t\t\n\t\t/* Switch back to the main page */\n\t\tdriver.switchTo().defaultContent();\n\t\t\n\t\treturn this;\n\t}", "title": "" } ]
[ { "docid": "b0266f4bd11140302b781522312fa16e", "score": "0.77493024", "text": "public void switchToFrame() {\n driver.switchTo().frame(\"mainpanel\");\n }", "title": "" }, { "docid": "d56b2e8bfb20bbe7745c8977a04c6a4c", "score": "0.7249109", "text": "public void switchToIframeByName(String frameName) {\r\n browser.switchTo().frame(frameName);\r\n }", "title": "" }, { "docid": "856626d978f63cf08888b49314f41205", "score": "0.7185006", "text": "public static void switchIFrame(WebElement index) {\n\t\tdriver.switchTo().frame(index);\n\t}", "title": "" }, { "docid": "d08989efcbbc5066a4858af5b56ad9ea", "score": "0.6986009", "text": "public void switchToQuizFrame(){\n\t\t\t\tSeleniumUtilModified.switchToFrame(quizFrame, driver);\n\t\t\t}", "title": "" }, { "docid": "f934e71252f0535f775e99661ab01bda", "score": "0.69085485", "text": "public void switchContentFrame1() {\n try {\n Thread.sleep(5000);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n driver.switchTo().frame(contentFrame1);\n }", "title": "" }, { "docid": "69635885d2482a371cf0a09ca38f8a01", "score": "0.6856879", "text": "public void switchFrame() {\n System.out.println(\"switchFrame\");\n String result = \"error\";\n String errorMessage = null;\n try {\n Driver.getCurrentDriver().switchTo().frame(findElement());\n result = \"pass\";\n } catch (Exception e) {\n e.printStackTrace();\n errorMessage = e.getMessage();\n }\n Driver.getReport().log(result, \"switchFrame\", this.getName() + \" (\" + this.getLocator().toString() + \")\", null, null, errorMessage);\n }", "title": "" }, { "docid": "e581fa573a32a605e5e212eed909fd99", "score": "0.68043286", "text": "public static void switchToParentFrame() {\r\n\t\ttry {\r\n\t\t\tdriver.switchTo().parentFrame();\r\n\t\t} catch (Exception ex) {\r\n\t\t\tAssert.fail(ex.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "593f84f7059f1337566ced6b9ce0cecb", "score": "0.6785591", "text": "public void setIframe(Boolean iframe) {\r\n\t\tthis.iframe = iframe;\r\n\t}", "title": "" }, { "docid": "a1b98010f3d7cd1f51c1d996890d727e", "score": "0.66928893", "text": "public void switchToIframeByElement(By element) {\r\n browser.switchTo().frame(browser.findElement(element));\r\n }", "title": "" }, { "docid": "f9be21f2124da89fbead6e764d9a63d5", "score": "0.66141653", "text": "public SwitchToFrame() {\n }", "title": "" }, { "docid": "6911d3f0781fd6f43306b54ef9a2bb91", "score": "0.6582773", "text": "Iframe addIframe();", "title": "" }, { "docid": "96f428be1dde89fb22040e06e1bd5666", "score": "0.64936614", "text": "private void switch_TabsFrame(){\r\n\t\tdriver.switchTo().defaultContent();\r\n\t\twaitAndSwitchToFrame(driver,\"main\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"core\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"split_bottom_old\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"split_bottom\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"footer\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"tabs\",60);\r\n }", "title": "" }, { "docid": "e79edf831c94e30218df467135c1b9d9", "score": "0.6493259", "text": "private void switchto_i_topframe(){\r\n\t\tdriver.switchTo().defaultContent();\r\n\t\twaitAndSwitchToFrame(driver,\"main\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"core\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"split_top\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"serverlist_right\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"i_top\",60);\r\n\t\r\n }", "title": "" }, { "docid": "7d409b5134698a25a3c07f47d8d2c685", "score": "0.64638126", "text": "private void returnToTopFrame(){\n driver.switchTo().parentFrame();\n }", "title": "" }, { "docid": "78ed2325f6b6a3e52f1a3c13678748ed", "score": "0.64167917", "text": "private void switchFindfrmFrame(){\r\n\t\tdriver.switchTo().defaultContent();\r\n\t\twaitAndSwitchToFrame(driver,\"main\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"core\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"body\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"split_top\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"findfrm\",60);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "dfad0411468ade2bc4777ccf3da1f582", "score": "0.63461936", "text": "public static void swtichFrame(String id) {\n\t\tdriver.switchTo().frame(id);\n\t}", "title": "" }, { "docid": "ee361cdb33465f5637ecf481d6bd27c6", "score": "0.6311408", "text": "public static void switchToFrameElement(WebElement element) {\r\n\t\ttry {\r\n\t\t\tWebdriverWait.waitForElementPresent(element);\r\n\t\t\tdriver.switchTo().frame(element);\r\n\t\t} catch (Exception ex) {\r\n\t\t\tAssert.fail(\"Error occured while switching to frame '\" + element.getTagName() + \"' \" + ex.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3dac3a609d156d9639b5b3f0d04881dc", "score": "0.62833303", "text": "public static void switchToDefaultFrame() {\r\n\t\ttry {\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t\tdriver.wait();\r\n\t\t} catch (Exception ex) {\r\n\t\t\tAssert.fail(ex.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0920069df73e5142505f553878a8e7c8", "score": "0.6233923", "text": "public void switchToFrame(String frameName) {\n\t\tlogger.debug(\"Looking for element locator.\" + frameName);\n\t\ttry {\n\t\t\twait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(frameName));\n\t\t\tlogger.debug(\"Elemnt locator found\" + frameName);\n\t\t} catch (Exception e) {\n\t\t\tlogger.error(\"Element locator id found-\" + frameName);\n\t\t\tAssert.fail(\"Frame name \" + frameName + \"not found\");\n\t\t}\n\t}", "title": "" }, { "docid": "f8420439e2824c8401857d3b6870fc5e", "score": "0.62098235", "text": "public void frameHandle() {\n\t\tdriver = new ChromeDriver();\n\t\t// By Name or Id\n\t\tdriver.switchTo().frame(\"frameName\");\n\t\t// By index\n\t\tdriver.switchTo().frame(2);\n\t\t// By WebElement\n\t\tdriver.switchTo().frame(driver.findElement(By.xpath(\"frameXpath\")));\n\n\t\tint noOfFrames = driver.findElements(By.xpath(\"iframe\")).size();\n\t\tfor (int i = 0; i < noOfFrames; i++) {\n\t\t\tdriver.switchTo().frame(i);\n\t\t\t// Do action\n\t\t\tdriver.switchTo().defaultContent();\n\t\t\tdriver.switchTo().parentFrame(); // ----Immediate Parent\n\t\t}\n\t}", "title": "" }, { "docid": "f0f301ec251f3aacebc9e5e85a949327", "score": "0.61307406", "text": "private void switchToVideoPanel(){\n videoBox.unlockVideoPlaying();\n studentDetailPanel.showQuestionList(questionReviewPanel.getQuestionList());\n questionReviewPanel = null;\n\n centerPanel.removeAll();\n centerPanel.add(videoBox.getView().getMainPanel());\n cardLayout.next(centerPanel);\n }", "title": "" }, { "docid": "524dbea36d9ea8b753f6ad347bf143f2", "score": "0.6060277", "text": "public void checkiFrame() {\n\n\t}", "title": "" }, { "docid": "05e5cf48784517624f10a045554b6071", "score": "0.60288215", "text": "public void setDefaultFrame() {\n\t\tdriver.switchTo().defaultContent();\n\t}", "title": "" }, { "docid": "91f2d0ef0ff92080dbd3723b9949430f", "score": "0.6013333", "text": "public Boolean getIframe() {\r\n\t\treturn iframe;\r\n\t}", "title": "" }, { "docid": "a4dff905b29765786234d02105daa246", "score": "0.6007874", "text": "public void getIntoFrame(int frame_index) {\r\n\t\t// driver.switchTo().frame(frame_index);\r\n\t\t\r\n\t\t\ttry {\r\n\t\t\t\tnew WebDriverWait(driver, 60).until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(frame_index));\t\t\t\t\r\n\t\t\t} catch (Exception msg) {\r\n\t\t\t\tATUReports.add(time +\" Switch to frame failed\", msg.getMessage(),\"True.\", \"False.\", LogAs.FAILED, new CaptureScreen(ScreenshotOf.BROWSER_PAGE));\r\n\t\t\t\tAssert.assertTrue(false);\t\t\t\t\r\n\t\t\t}\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "85ed82d0988c66358b6f55d17e48d2b7", "score": "0.60029733", "text": "public void sendIframeFour(String string) throws InterruptedException {\n\t\t\tSystem.out.println(iframeFour);\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t\tdriver.switchTo().frame(5);\r\n\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tthis.iframeThree.click();\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tdriver.switchTo().activeElement().sendKeys(\"Java\");\r\n\t\t\tSystem.out.println(\"Is editable??= \" + this.iframeThree.isEnabled());\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t}", "title": "" }, { "docid": "c9d71fc1ad619730adee027e8bb779d5", "score": "0.5996951", "text": "public void switchWindow()\n\t {\n\t\t try \n\t\t {\n\t\t\t BrowserConnection.ChromeConnector.driver.findElement(By.linkText(\"Switch Window\")).click();\n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t\t System.out.print(\"Switch Window\" + e);\n\t\t }\n\t }", "title": "" }, { "docid": "f32dbeb7545993ffff3f8952ce216d54", "score": "0.598888", "text": "public static void switchToFrame(String frameName) {\r\n\t\ttry {\r\n\t\t\tdriver.switchTo().frame(frameName);\r\n\t\t\tdriver.wait();\r\n\t\t} catch (Exception ex) {\r\n\t\t\tAssert.fail(\"Error occured while switching to frame '\" + frameName + \"' \" + ex.getMessage());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d41f2c148bd96363459a7a4220473fd8", "score": "0.59563094", "text": "public void sendIframeSeven(String string) throws InterruptedException {\n\t\t\tSystem.out.println(iframeSeven);\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t\tdriver.switchTo().frame(3);\r\n\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tthis.iframeSeven.click();\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tdriver.switchTo().activeElement().sendKeys(\"Java\");\r\n\t\t\tSystem.out.println(\"Is editable??= \" + this.iframeSeven.isEnabled());\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t}", "title": "" }, { "docid": "e27addecbbfb00d4f943fa8df4b8775d", "score": "0.5947718", "text": "public static void setFrameToDefault() {\r\n\t\tstaticWait(1);\r\n\t\tsDriver.switchTo().defaultContent();\r\n\t\tstaticWait(1);\r\n\t\t// CustomReporter.MessageLogger(\"Selected Frame : Default Content !\",\r\n\t\t// CustomReporter.status.Information);\r\n\t}", "title": "" }, { "docid": "df42573a4c52d77ab47815e7f2d7bfd8", "score": "0.5947335", "text": "public void switchToParentWindow() {\n\r\n\t}", "title": "" }, { "docid": "be5271ff69207511b7a448380324a290", "score": "0.5942732", "text": "public static void setFrameFromCurrent(WebElement frameElement) {\r\n\t\tstaticWait(1);\r\n\t\tsDriver.switchTo().frame(frameElement);\r\n\t\tstaticWait(1);\r\n\t\t// CustomReporter.MessageLogger(\"Selected Frame : \" +\r\n\t\t// logFormator(frameElement.toString()) + \" !\",\r\n\t\t// CustomReporter.status.Information);\r\n\t}", "title": "" }, { "docid": "79d3ab9e2d5d0b617d5f165d29cab3ba", "score": "0.59361356", "text": "public SwitchToFrame(final By element) {\n super(element);\n }", "title": "" }, { "docid": "bc48672aff3e71fd41ddfaa769dda358", "score": "0.5934373", "text": "public void sendIframeThree(String string) throws InterruptedException {\n\t\t\tSystem.out.println(iframeThree);\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t\tdriver.switchTo().frame(3);\r\n\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tthis.iframeThree.click();\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tdriver.switchTo().activeElement().sendKeys(\"Selenium testing\");\r\n\t\t\tSystem.out.println(\"Is editable??= \" + this.iframeThree.isEnabled());\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t}", "title": "" }, { "docid": "23a454ae203a9678c94e7cde9b7423e1", "score": "0.5933504", "text": "public void switchToFrame(By elementLocator) {\n\t\tlogger.debug(\"Looking for element locator....\" + elementLocator);\n\t\ttry {\n\t\t\twait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(elementLocator));\n\t\t\tlogger.debug(\"Elemnt locator found...\" + elementLocator);\n\t\t} catch (Exception e) {\n\t\t\tlogger.error(\"Element locator id found....\" + elementLocator);\n\t\t\tAssert.fail(\"Frame locator \" + elementLocator + \"not found.\");\n\t\t}\n\t}", "title": "" }, { "docid": "207d20061b47b53ce30587b60ff309a6", "score": "0.5917044", "text": "@Test\n public void p4_Iframe_practice(){\n driver.switchTo().frame(0);\n\n //2 - By Id or NAme : passing id attribute value\n driver.switchTo().frame(\"mce_0_ifr\");\n\n\n\n //3 - By webElement\n WebElement iframeElement = driver.findElement(By.xpath(\"//iframe[@id='mce_0_ifr']\"));\n driver.switchTo().frame(iframeElement);\n\n\n //locating paragraph\n WebElement expectedElement = driver.findElement(By.xpath(\"//p\"));\n\n //Assert that the com.cybertek.extrapractice.test elemenet is dispalyed on the page\n Assert.assertTrue(expectedElement.isDisplayed());\n\n\n }", "title": "" }, { "docid": "6d7e806ff9aa6d3df6a00bc0aedd22e0", "score": "0.58999705", "text": "public void enterFrame() {\n // switch to frame of video\n uiDriver.switchTo().frame(0);\n // sleep 2 seconds because even after the video image has loaded, the\n // video may not be in a\n // playable state\n uiDriver.sleep(2000);\n }", "title": "" }, { "docid": "6fe8d271d78a4d8f1b239f6ba8e70ed1", "score": "0.58635867", "text": "public void sendIframeEight(String string) throws InterruptedException {\n\t\t\tSystem.out.println(iframeEight);\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t\tdriver.switchTo().frame(5);\r\n\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tthis.iframeEight.click();\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tdriver.switchTo().activeElement().sendKeys(\"C\");\r\n\t\t\tSystem.out.println(\"Is editable??= \" + this.iframeEight.isEnabled());\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t}", "title": "" }, { "docid": "6e2e9c6c229bb210fbe63690e6478fb7", "score": "0.58532053", "text": "private void popup(String link){\n\t\tmyBrowser = new WebView();\n\t\tmyWebEngine = myBrowser.getEngine();\n\t\tmyWebEngine.load(link);\n\t\tVBox vbox = new VBox();\n\t\tScene scene = new Scene(vbox);\n\t\tStage stage = new Stage(); \n\t\tvbox.getChildren().addAll(myBrowser);\n\t\tVBox.setVgrow(myBrowser, Priority.ALWAYS);\n\t\tstage.setScene(scene);\n\t\tstage.setFullScreen(true);\n\t\tstage.setFullScreenExitHint(EXIT_MESSAGE);\n\t\tstage.setFullScreenExitKeyCombination\n\t\t(new KeyCodeCombination(KeyCode.Z, KeyCombination.CONTROL_DOWN));\n\t\tstage.show();\n\t}", "title": "" }, { "docid": "ec4c9ea50f207d23830de5a7281b3b50", "score": "0.58006185", "text": "public void sendIframeNine(String string) throws InterruptedException {\n\t\t\tSystem.out.println(iframeNine);\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t\tdriver.switchTo().frame(7);\r\n\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tthis.iframeNine.click();\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tdriver.switchTo().activeElement().sendKeys(\"C#\");\r\n\t\t\tSystem.out.println(\"Is editable??= \" + this.iframeNine.isEnabled());\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t}", "title": "" }, { "docid": "30104d5b6bed16792f445e19bbecf46d", "score": "0.58002746", "text": "public void switchToFrame(int frameIndex) {\n\t\tlogger.debug(\"Looking for element locator.....\" + frameIndex);\n\t\ttry {\n\t\t\twait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(frameIndex));\n\t\t\tlogger.debug(\"Elemnt locator found...\" + frameIndex);\n\t\t} catch (Exception e) {\n\t\t\tlogger.error(\"Element locator id found..\" + frameIndex);\n\t\t\tAssert.fail(\"Frame index \" + frameIndex + \" not found. \");\n\t\t}\n\n\t}", "title": "" }, { "docid": "f1f0f5f417b01b17742d63da065ce670", "score": "0.57385623", "text": "@Test\n public void testNestedFrames() {\n\n driver.findElement(By.xpath(\"/html/frameset/frame[1]\")).getText();\n\n //driver.switchTo().frame(\"frame-top\");\n //driver.switchTo().frame(\"<frame src=\\\"/frame_middle\\\" scrolling=\\\"no\\\" name=\\\"frame-middle\\\">\");\n\n //String middleContent = driver.findElement(By.id(\"content\")).getText();\n\n //Assert.assertEquals(middleContent, \"MIDDLE\");\n\n }", "title": "" }, { "docid": "c3c610353e00e550f318d529f092be0f", "score": "0.5733222", "text": "public static void setFrame(By frameElement) {\r\n\t\tsDriver.switchTo().defaultContent();\r\n\t\tsDriver.switchTo().frame(sDriver.findElement(frameElement));\r\n\t\tstaticWait(1);\r\n\t\t// CustomReporter.MessageLogger(\"Selected Frame : \" +\r\n\t\t// logFormator(frameElement.toString()) + \" !\",\r\n\t\t// CustomReporter.status.Information);\r\n\t}", "title": "" }, { "docid": "cec69da7553799ba0699dd9e9536784f", "score": "0.573044", "text": "public static void setFrame(String frameName) {\r\n\t\tstaticWait(1);\r\n\t\tsDriver.switchTo().defaultContent();\r\n\t\tsDriver.switchTo().frame(frameName);\r\n\t\tstaticWait(1);\r\n\t\t// CustomReporter.MessageLogger(\"Selected Frame : \" +\r\n\t\t// logFormator(frameName) + \" !\", CustomReporter.status.Information);\r\n\t}", "title": "" }, { "docid": "c0852abb07502bb9d18345c81027912a", "score": "0.5707877", "text": "public static void switchToFramesUsingIDAndName(WebDriver driver, String idOrName) {\n\t\tnew WebDriverWait(driver,10).until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(idOrName));\r\n\t}", "title": "" }, { "docid": "678b26a1010a6edb490c0b1dfa4cf4e3", "score": "0.5696485", "text": "public void sendIframeFive(String string) throws InterruptedException {\n\t\t\tSystem.out.println(iframeFive);\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t\tdriver.switchTo().frame(7);\r\n\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tthis.iframeThree.click();\r\n\t\t\tThread.sleep(3000);\r\n\t\t\tdriver.switchTo().activeElement().sendKeys(\"C\");\r\n\t\t\tSystem.out.println(\"Is editable??= \" + this.iframeFive.isEnabled());\r\n\t\t\tdriver.switchTo().defaultContent();\r\n\t\t}", "title": "" }, { "docid": "112ef49dbc65d39f650c4e5e4256a1e2", "score": "0.56790376", "text": "void changeFramePanel(JPanel newPanel)\n {\n gameFrame.setContentPane(newPanel);\n refreshFrame();\n }", "title": "" }, { "docid": "a3926ccdf4ade374aaa8b392db8754b7", "score": "0.56728196", "text": "public void changeToLoggedInWindow(){\r\n SystemDisplay topFrame = getTopFrame();\r\n topFrame.setUserButtons();\r\n changePanel(new AfterManagerLoginPanel());\r\n }", "title": "" }, { "docid": "696cec48cf3622572b540cd384b41301", "score": "0.5625284", "text": "public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"./drivers/chromedriver.exe\");\r\n\t\tChromeDriver driver=new ChromeDriver();\r\n\t\t// maximize the screen\t\r\n\t\tdriver.manage().window().maximize();\r\n\t\t// load the URL\r\n\t\tdriver.get(\"http://layout.jquery-dev.com/demos/iframe_local.html\");\r\n\t\t//enter in to the 1st frame\r\n\t\t//driver.switchTo().frame(\"frame1\");\r\n\t\t//driver.switchTo().frame(\"childIframe\");\r\n\t\t//driver.switchTo().frame(\"ui-layout-west ui-layout-pane ui-layout-pane-west\");\r\n\t\tdriver.findElementByXPath(\"(//body[@class='ui-layout-container']/div)[1]\");\r\n\t\t// inspect the close button\r\n\t\tdriver.findElementByXPath(\"((//div[@class='ui-layout-west ui-layout-pane ui-layout-pane-west']/p)/button)[1]\").click();\r\n\t\t//close the east iframe(outside frame)\r\n\t\tdriver.findElementByXPath(\"(//body[@class='ui-layout-container']/div)[2]\");\r\n\t\t//inspect the close button\r\n\t\tdriver.findElementByXPath(\"((//div[@class='ui-layout-east ui-layout-pane ui-layout-pane-east']/p)/button)[1]\").click();\r\n\t\tdriver.switchTo().frame(\"childIframe\");\r\n\t\t//driver.findElementByXPath(\"(//body[@class='ui-layout-container']/div)[2]\");\r\n\t\tdriver.findElementByLinkText(\"Close Me\").click();\r\n\r\n\t}", "title": "" }, { "docid": "e94ab709a53e61746da6e32cf649d9dd", "score": "0.5608109", "text": "public static void main(String[] args) throws InterruptedException {\n\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\",\"E:\\\\CLASS\\\\Automation\\\\chromedriver_win32\\\\chromedriver.exe\");\r\n\t\tWebDriver driver=new ChromeDriver();\r\n\t\tdriver.get(\"https://www.w3schools.com/js/default.asp\");\r\n\t\tdriver.manage().window().maximize();\r\n\t\tThread.sleep(5000);\r\n\t\t\r\n\t\tWebElement Alertpopup=driver.findElement(By.xpath(\"//a[text()=\\\"JS Popup Alert\\\"]\"));\r\n\t\tAlertpopup.click();\r\n\t\tThread.sleep(2000);\r\n\t\tWebElement Alert=driver.findElement(By.xpath(\"//a[@href=\\\"tryit.asp?filename=tryjs_alert\\\"]\"));\r\n\t\tAlert.click();\r\n\t\tThread.sleep(2000);\r\n\t\t\r\n\t\tString main=driver.getWindowHandle();\r\n\t\tSystem.out.println(main);//CDwindow-F9D33B68778C62BCF8CD72A6B5BCA41F\r\n\t\t\r\n\t\tArrayList<String> Address=new ArrayList<String>(driver.getWindowHandles());\r\n\t\tSystem.out.println(Address.get(0));//CDwindow-F9D33B68778C62BCF8CD72A6B5BCA41F\r\n\t\tSystem.out.println(Address.get(1));//CDwindow-7ABF48870C0B5A13686696415B1B601A\r\n\t\r\n\t\tdriver.switchTo().window(Address.get(1));//CDwindow-7ABF48870C0B5A13686696415B1B601A\r\n\t\tThread.sleep(4000);\r\n\t\t\r\n\t\tdriver.switchTo().frame(\"iframeResult\");\r\n\t\tThread.sleep(2000);\r\n\t\t\r\n\t\t\r\n\t\t//driver.switchTo().frame(AddOfFrame.get(1));\r\n\t\t//driver.switchTo().frame(\"//iframe[@id=\\\"iframeResult\\\"]\");\r\n\t\t//driver.switchTo().frame(\"(//iframe)[1]\");\r\n\t\t\r\n\t\tWebElement Tryit=driver.findElement(By.xpath(\"//button[text()=\\\"Try it\\\"]\"));\r\n\t\tTryit.click();\r\n\t\tThread.sleep(2000);\r\n\t\t\r\n\t\tString mainofChild=driver.getWindowHandle();\r\n\t\tSystem.out.println(mainofChild);//CDwindow-7ABF48870C0B5A13686696415B1B601A\r\n\t\t\r\n\t\tArrayList<String> AddOfFrame=new ArrayList<String>(driver.getWindowHandles());\r\n\t\tSystem.out.println(AddOfFrame.get(0));\r\n\t\tSystem.out.println(AddOfFrame.get(1));\r\n\t\tThread.sleep(3000);\r\n\t\t\r\n//\t\tAlert alt=driver.switchTo().alert();\r\n//\t\talt.accept();\r\n//\t\tSystem.out.println(alt.getText());\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "d907897f9ae118b1aa03dfcb72bd65b3", "score": "0.5604309", "text": "public static void swtichtochildwin() {\n\t\tdriver.switchTo().defaultContent();\n\t\t}", "title": "" }, { "docid": "a5ec841ea0c5c2b5b74294cde4b7e69b", "score": "0.5571548", "text": "public void show() {\r\n myBrowser.loadURL();\r\n stage.show();\r\n }", "title": "" }, { "docid": "4c11fcc3664c3fa02e8a10689bbdf924", "score": "0.5522899", "text": "public Ferdiframe() {\n initComponents();\n }", "title": "" }, { "docid": "045648dc34fbac4db9d6af55b07875ff", "score": "0.55125785", "text": "@Step(\"Открываем главную страницу\")\n public void openMainPage(){\n open(\"https://github.com\");\n }", "title": "" }, { "docid": "cc1c4d66ee172db4f245fa1842dfa52f", "score": "0.5501801", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed\n Frame f = (Frame)this.getParent().getParent().getParent().getParent();\n f.goSignIn();\n }", "title": "" }, { "docid": "10f746b223404c455ce26c259bdcafc1", "score": "0.54917276", "text": "public void switchToDefaultContent() {\r\n browser.switchTo().defaultContent();\r\n }", "title": "" }, { "docid": "63a70e214138671dc6014c4a6c11030a", "score": "0.54848593", "text": "private void swithSWDtabs(){\r\n\t\tdriver.switchTo().defaultContent();\r\n\t\twaitAndSwitchToFrame(driver,\"main\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"core\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"split_bottom_old\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"split_bottom\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"footer\",60);\r\n\t\twaitAndSwitchToFrame(driver,\"tabs\",60);\r\n\t}", "title": "" }, { "docid": "d2e845d052b7945e729435fed591836a", "score": "0.54549193", "text": "public void setFrame(int i) { currentFrame = i; }", "title": "" }, { "docid": "5a8546eb8cd8652f0d745f97df2b74d7", "score": "0.5454046", "text": "public void navigateto() {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"src/test/resources/executables/chromedriver.exe\");\r\n\t\tdriver = new ChromeDriver();\r\n\t\tdriver.get(\"https://www.expedia.com/\");\r\n\t}", "title": "" }, { "docid": "e55cd7df3db8e3e31a6c2f6324c44a51", "score": "0.54405504", "text": "@Precondition(\"getFrame() does not return null\")\n public void activateFrame() {\n final Window window = getFrame();\n \n if (window == null) {\n throw new IllegalStateException(\"Cannot activate frame '\"\n + getName() + \"' while window is null\");\n } else {\n window.activateFrame();\n }\n }", "title": "" }, { "docid": "165d7d5f09fef13ba207660bb6b4e61c", "score": "0.54365", "text": "public void startLoginFrame()\n\t{\n\t\tloginFrame = new LoginFrame(this);\n\t}", "title": "" }, { "docid": "d4c7412f2a570b80932b6b3fad39aa40", "score": "0.543451", "text": "public void switchtoChildWindow() {\n\t\ttry {\n\t\t\tString mainWindow = driver.getWindowHandle();\t\t\n\t\t\tSet<String> set = driver.getWindowHandles();\n\t\t\tIterator<String> itr = set.iterator();\n\t\t\twhile(itr.hasNext()) {\n\t\t\t\tString childWindow = itr.next();\n\t\t\t\tif(!mainWindow.equals(childWindow)) {\n\t\t\t\t\tdriver.switchTo().window(childWindow);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}", "title": "" }, { "docid": "d4cccfb77cf1a5924bda926b0cb3c11d", "score": "0.53838634", "text": "@Test\n\tpublic void NavigateToWindow() throws InterruptedException {\n\t\tdriver.findElement(By.xpath(\"//li[@class='youtube']\")).click();\n\n\t\tSet<String> windowsID = driver.getWindowHandles();\n\t\tIterator<String> itr = windowsID.iterator();\n\n\t\tString parentID = itr.next();\n\t\tString childID = itr.next();\n\n\t\tdriver.switchTo().window(childID);\n\t\tThread.sleep(3000);\n\n\t\tdriver.findElement(By.xpath(\"//input[@name='search_query']\")).sendKeys(\"Automation\");\n\t\tThread.sleep(3000);\n\t\tdriver.close();\n\n\t\tdriver.switchTo().window(parentID);\n\n\t\tdriver.findElement(By.xpath(\"//input[@name='search_query']\")).sendKeys(\"Automation\");\n\t\tThread.sleep(3000);\n\t\tdriver.close();\n\n\t}", "title": "" }, { "docid": "c52f2978bbdaf078f70b8bef5a268be4", "score": "0.5373386", "text": "public static void ToggleTwinFrames() {\n\t\t// determine which side is the active side\n\t\tint opposite = getOppositeSide();\n\t\tint current = getCurrentSide();\n\t\t_TwinFrames = !_TwinFrames;\n\n\t\t// if TwinFrames is being turned on\n\t\tif (_TwinFrames) {\n\t\t\t// if this is the first time TwinFrames has been toggled on,\n\t\t\t// load the user's first frame\n\t\t\tif (_VisitedFrames[opposite].size() == 0) {\n\t\t\t\tFrameIO.SuspendCache();\n\t\t\t\tsetCurrentFrame(FrameIO.LoadFrame(UserSettings.HomeFrame.get()), true);\n\t\t\t\tFrameIO.ResumeCache();\n\t\t\t} else {\n\t\t\t\t// otherwise, restore the frame from the side's back-stack\n\t\t\t\tsetCurrentFrame(FrameIO.LoadFrame(_VisitedFrames[opposite]\n\t\t\t\t\t\t.pop()), true);\n\t\t\t}\n\n\t\t\t// else, TwinFrames is being turned off\n\t\t} else {\n\t\t\t// add the frame to the back-stack\n\t\t\tFrame hiding = _CurrentFrames[opposite];\n\t\t\tFrameUtils.LeavingFrame(hiding);\n\t\t\t_VisitedFrames[opposite].add(hiding.getName());\n\t\t\t_CurrentFrames[opposite] = null;\n\t\t\t_CurrentFrames[current].refreshSize();\n\t\t}\n\t\tif (_CurrentFrames[current] != null)\n\t\t\t_CurrentFrames[current].refreshSize();\n\t\tif (_CurrentFrames[opposite] != null)\n\t\t\t_CurrentFrames[opposite].refreshSize();\n\n\t\tFrameGraphics.Clear();\n\t\tFrameGraphics.requestRefresh(false);\n\t\tFrameGraphics.Repaint();\n\t}", "title": "" }, { "docid": "a3e08b223af2ff348a41d9d04a3db632", "score": "0.5367166", "text": "@Override\n\tpublic void ejecutarFrame() {\n\t\t\n\t}", "title": "" }, { "docid": "65962f2bdda1d3cd02528c0f865957a9", "score": "0.5362337", "text": "public static void goTo() {\n Browser.driver.get(\"https://rahulshettyacademy.com/seleniumPractise/#/\");\n }", "title": "" }, { "docid": "62ae9a98e21fa7f330669791ddba7478", "score": "0.5355252", "text": "public static void browseWebpage(String url, Frame parent) {\n\t\ttry {\n\t\t\tURI uri = new URI(url);\n\t\t\tDesktop.getDesktop().browse(uri);\n\t\t} catch (UnsupportedOperationException e1) {\n\t\t\tJOptionPane.showMessageDialog(parent, \"Unable to open webpage\");\n\t\t} catch (IOException e1) {\n\t\t\tlog.error(\"Unable to open URL\");\n\t\t} catch (URISyntaxException e1) {\n\t\t}\n\t}", "title": "" }, { "docid": "6fa2f1e6887476fa6756bf013ae7a742", "score": "0.5347893", "text": "protected void reattachFrame () {\n }", "title": "" }, { "docid": "32c40afe69a75c9e89d0145e74174cd1", "score": "0.5342449", "text": "public void changePanel(JPanel p){\r\n SystemDisplay topFrame = getTopFrame();\r\n topFrame.setCurrentPanel(p);\r\n }", "title": "" }, { "docid": "291e98b8cde76e20d22ef3f375bfb2f9", "score": "0.5321117", "text": "@Override\n public void browse(Context context) {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(getUrl()));\n context.startActivity(browserIntent);\n }", "title": "" }, { "docid": "f83aec111cf56e06728ed63f5b32ce04", "score": "0.5295669", "text": "private void redirectToXibo(Activity context)\n {\n if(new Validations().isDisplayMultiCloudMode(context))\n {\n Intent launchFacebookApplication = context.getPackageManager().getLaunchIntentForPackage(context.getString(R.string.white_label_app_package));\n context.startActivity(launchFacebookApplication);\n // finish();\n }else\n {\n Toast.makeText(context,context.getString(R.string.error_msg_un_support_playing_mode),Toast.LENGTH_LONG).show();\n\n //if app not found redirect user to settings page ask user to change the settings or contact customer care\n context.startActivity(new Intent(context, PlayingModeSettingsActivity.class));\n context.finish();\n }\n\n\n }", "title": "" }, { "docid": "6949d8dc45b36816000c72cdcb90728f", "score": "0.52816373", "text": "public void backToMain() {\n\t\tnew MainPage(user).setVisible(true);\n\t}", "title": "" }, { "docid": "6b8229e04fa1d1a5de11fbb5a223cd75", "score": "0.52707875", "text": "private void viewCurrent() {\n Intent viewCurrent = new Intent(this, ViewMyPlaylists2.class);\n startActivity(viewCurrent);\n }", "title": "" }, { "docid": "684478f7b14ea259c366c96b50220d8f", "score": "0.5244571", "text": "private void openBrowserToVisit() {\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(getModel().getGitHubUrl()));\n getManagedContext().startActivity(intent);\n }", "title": "" }, { "docid": "96e0bc0251941b3b75abd29beb648a96", "score": "0.52424186", "text": "public void doFrame () {\n myListener.onFrame(myController);\n }", "title": "" }, { "docid": "06071b034ec74b68c7f9a5f6118809c2", "score": "0.5235331", "text": "public JFrame showInNewFrame() {\r\n if (m_frame == null) {\r\n m_frame = new JFrame();\r\n m_frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\r\n m_frame.setContentPane(getPanel());\r\n m_frame.pack();\r\n m_frame.setVisible(true);\r\n }\r\n return m_frame;\r\n }", "title": "" }, { "docid": "6f7d696f634f1d5abfa47ff9cd552999", "score": "0.5210374", "text": "public void setFrameContent(String frameContent){\n this.frameContent = frameContent;\n }", "title": "" }, { "docid": "8be2b96f577b714a39573cd145faa883", "score": "0.5202209", "text": "public RemoteWebDriver switchToParentWindow()\n{\ntry{\n//switching to parent window\ndriver=(RemoteWebDriver) driver.switchTo().window(parentWindow);\n}\ncatch(Exception ex){\nSystem.out.println(\"Error switching to remote webdriver \"+ ex);\n}\n \n return driver;\n}", "title": "" }, { "docid": "a264411c300cc55f5a5099aaecb7f5f5", "score": "0.5191394", "text": "public void newTurn(){\r\n\t\tframeMain.setVisible(false);\r\n\r\n\t\tString nextPlayer = playingBoard.getCurrentActor().getUser();\r\n\r\n\t\tfinal JFrame newTurnFrame = new JFrame(\"New Turn\");\r\n\t\tnewTurnFrame.setVisible(true);\r\n\t\tnewTurnFrame.setSize(mainFrameHeight/2,mainFrameWidth/2);\r\n\r\n\t\tJPanel panel = new JPanel(new FlowLayout());\r\n\r\n\t\tJButton ready = new JButton(nextPlayer+\", Click to take Turn\");\r\n\t\tready.addActionListener(new ActionListener(){\r\n\t\t\tpublic void actionPerformed(ActionEvent ev){\r\n\t\t\t\tnewTurnFrame.dispose();\r\n\t\t\t\tframeMain.setVisible(true);\r\n\t\t\t}});\r\n\r\n\t\tpanel.add(ready);\r\n\t\tnewTurnFrame.add(panel);\r\n\t\tnewTurnFrame.pack();\r\n\r\n\t\tDimension dimension = Toolkit.getDefaultToolkit().getScreenSize();\r\n\t\tint x = (int) ((dimension.getWidth() - newTurnFrame.getWidth()) / 2);\r\n\t\tint y = (int) ((dimension.getHeight() - newTurnFrame.getHeight()) / 2);\r\n\t\tnewTurnFrame.setLocation(x, y);\r\n\t}", "title": "" }, { "docid": "66f24a48c94f88b2de2398243f6fec59", "score": "0.5175718", "text": "public void goTo(String url){\r\n try {\r\n browser.get(url);\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "d006fd10c24c810f7ee959224221a32b", "score": "0.5171162", "text": "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tnew LoginFrame(\"登录\");\n\t\t\t\tdispose();\n\t\t\t}", "title": "" }, { "docid": "1aea61ba6c59474833e9f5c5c597346f", "score": "0.5170345", "text": "public void actionPerformed(ActionEvent e) {\n\t\t \tURL currentURL = webPane.getPage();\r\n\t\t \tDocument doc = webPane.getDocument();\r\n\t\t \tdoc.putProperty(Document.StreamDescriptionProperty, null);\r\n\t\t \twebPane.updatePage(currentURL, false, false);\r\n\t\t }", "title": "" }, { "docid": "085b1bec710c6cbcee992944bf67d2f3", "score": "0.5163151", "text": "public GUIFrame(String name) {\n super(name);\n SwingUtilities.invokeLater(this);\n\n }", "title": "" }, { "docid": "648636c237f84ca274e0bb4309ba0769", "score": "0.51480114", "text": "public void openUrl() {\n webDriver.get(\"https://jdi-testing.github.io/jdi-light/index.html\");\n }", "title": "" }, { "docid": "c830f49e2808de2833997ca10bdb463b", "score": "0.5144757", "text": "public String switchToFrameIndex(String locator, String data, String scrpath) {\n\t\tlogger.debug(\"Switching to frame \" + data);\n\n\t\ttry {\n\t\t\tint ind = (int) Double.parseDouble(data);\n\t\t\tdriver.switchTo().frame(ind);\n\t\t\tSystem.out.println(driver.getTitle());\n\t\t} catch (Exception e) {\n\t\t\textrep.log(LogStatus.FAIL, \"Not able to switch to frame\", \"Screen shot: \", scrpath + \".jpg\");\n\t\t\treturn Constants.KEYWORD_FAIL + \" -- Not able to switch to frame\" + e.getMessage();\n\n\t\t}\n\t\tif (configProperties.getProperty(\"screenshot_everystep\").equals(\"N\"))\n\t\t\textrep.log(LogStatus.PASS, locator + \" Switched to frame sucessfully\");\n\t\telse\n\t\t\textrep.log(LogStatus.PASS, locator + \" Switched to frame sucessfully\", \"Screen shot: \", scrpath + \".jpg\");\n\t\treturn Constants.KEYWORD_PASS;\n\t}", "title": "" }, { "docid": "4825104ab38271a5e11a9ed733d90bcb", "score": "0.5132277", "text": "public void setFrame(JFrame frame){\n personalFrame = frame;\n }", "title": "" }, { "docid": "449025d9f0eea5f66deafe0ea5b4d4d4", "score": "0.5126416", "text": "public void changeToLogin() {\r\n\t\tcardlayout.show(contentpane, \"loginpanel\");\r\n\t}", "title": "" }, { "docid": "794562b425fe2f8639d3a70a8a014304", "score": "0.51212424", "text": "public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"E:\\\\Chrome driver\\\\chromedriver.exe\");\r\n\t\tWebDriver driver=new ChromeDriver();\r\n\t\tdriver.manage().window().maximize();\r\n\t\t\r\n\t\tdriver.get(\"http://way2automation.com/way2auto_jquery/frames-and-windows.php#load_box\");\r\n\t\t//no.of frames\r\n\t\tList<WebElement>iframerlist=driver.findElements(By.tagName(\"iframe\"));\r\n\t\tdriver.switchTo().frame(0);\r\n\t\tdriver.findElement(By.linkText(\"New Browser Tab\")).click();\r\n\t\tdriver.findElement(By.linkText(\"New Browser Tab\")).click();\r\n\t\tdriver.findElement(By.linkText(\"New Browser Tab\")).click();\r\n\t\tString mainWindowHandle = driver.getWindowHandle();\r\n Set<String> allWindowHandles = driver.getWindowHandles();\r\n Iterator<String> iterator = allWindowHandles.iterator();\r\n\r\n // Here we will check if child window has other child windows and will fetch the heading of the child window\r\n while (iterator.hasNext()) {\r\n String ChildWindow = iterator.next();\r\n if (!mainWindowHandle.equalsIgnoreCase(ChildWindow)) {\r\n driver.switchTo().window(ChildWindow);\r\n WebElement text = driver.findElement(By.linkText(\"New Browser Tab\"));\r\n System.out.println(\"Heading of child window is \" + text.getText());\r\n }\r\n }\r\ndriver.quit();\r\n\t}", "title": "" }, { "docid": "6c279693d521b69c20281da47ae11042", "score": "0.51203114", "text": "public static void openURL (WebDriver ldriver, String URL) {\r\n\t\t\t\t\r\n\t\tldriver.manage().window().maximize();\t\t\r\n\t\tldriver.get(URL);\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e9313000595450ee5aebd970dd843f65", "score": "0.5117887", "text": "protected void attachFrame () {\n }", "title": "" }, { "docid": "ebc98c8c47e9c5916359d604d2c11f7b", "score": "0.5116698", "text": "private void showShiftFrame(){\n\n\t\tController.getInstance().event(Event.SHOW_SHIFT_FRAME,true);\n\t}", "title": "" }, { "docid": "b64edc4ccddc36ec0a5fdd5cdea4cb8d", "score": "0.51149446", "text": "public void setOldFrame (JFrame oldFrame){\n\t\tthis.oldFrame = oldFrame; //sets this window's frame\n\t}", "title": "" }, { "docid": "e1232a088e9610abdec9de802ed5d98a", "score": "0.5113426", "text": "@Override\r\n\t\t\tpublic void run() {\n new LoginFrame();\r\n\r\n }", "title": "" }, { "docid": "c4f5f8cecc576f1b5b12ef18ebf2590d", "score": "0.5103333", "text": "protected IWebDriverWrapper.ITargetLocatorWrapper switchTo() {\n return webDriverWrapper.switchTo();\n }", "title": "" }, { "docid": "91506ae72d7e15f485208b14e943e7eb", "score": "0.5095704", "text": "public static WebDriver waitForframeToBeAvailableAndSwitchToIt(WebDriver driver, WebElement element) {\n WebDriver frameDriver = null;\n try {\n long lngWaitTime = Long.parseLong(ExecutionConfig\n .getValue(Constants.OBJECT_WAIT_TIME));\n\n long lngWaitUnit = Long.parseLong(ExecutionConfig\n .getValue(Constants.WAIT_UNIT));\n\n String strFluentWaitFlag = ExecutionConfig\n .getValue(Constants.FLUENT_WAIT_FLAG);\n\n if (strFluentWaitFlag.equalsIgnoreCase(\"Y\")) {\n long lngPollingSeconds = Long.parseLong(ExecutionConfig\n .getValue(Constants.FLUENT_WAIT_POLLING_SECONDS));\n Wait<WebDriver> fluentWait = new FluentWait<WebDriver>(driver)\n .withTimeout(lngWaitTime * lngWaitUnit, TimeUnit.SECONDS)\n .pollingEvery(lngPollingSeconds * lngWaitUnit, TimeUnit.SECONDS)\n .ignoring(NoSuchElementException.class);\n\n frameDriver = fluentWait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(element));\n } else {\n frameDriver = new WebDriverWait(driver, lngWaitUnit)\n .until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(element));\n\n }\n } catch (Exception e) {\n log.error(e);\n }\n\n return frameDriver;\n }", "title": "" }, { "docid": "e9ce2507d751b28c32bd4ff41b4d1bbd", "score": "0.50901836", "text": "void navigateToNewUrl() {\n\t\tdriver.findElement(By.id(\"link\")).click();\n\t\tif(driver.getCurrentUrl().equals(\"http://automationbykrishna.com/\") && driver.getTitle().equals(\"Login Signup Demo\")) {\n\t\t\tSystem.out.println(\"Successfully Navigated to new URL\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"Not able to naviigate to http://automationbykrishna.com/ URL\");\n\t\t}\n\t}", "title": "" }, { "docid": "96e066b885fcdf69b8ac9912e8cd69ae", "score": "0.5086616", "text": "public void run() throws Exception {\n loginFrame.getConnectBtn().doClick();\r\n }", "title": "" }, { "docid": "96e066b885fcdf69b8ac9912e8cd69ae", "score": "0.5086616", "text": "public void run() throws Exception {\n loginFrame.getConnectBtn().doClick();\r\n }", "title": "" }, { "docid": "0b2db066a19f4a7a0777a429a80b3b3c", "score": "0.5082303", "text": "void setDocumentContent(String frameId, String html);", "title": "" }, { "docid": "56d3ddef9a12ce3f68f7cef0f40b4edb", "score": "0.5080483", "text": "private void showWeb(GUIStateId id, GUIStateData data) {\n\r\n }", "title": "" }, { "docid": "d27d7107abec5c1aaa5de972d1948f16", "score": "0.5079209", "text": "public static void main(String[] args) {\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"D:\\\\chromedriver_win32\\\\chromedriver.exe\");\n\t\tWebDriver driver = new ChromeDriver();\n\t\t\n\t\tdriver.get(\"https://demoqa.com/nestedframes\");\n\t\tint countiFrame=driver.findElements(By.tagName(\"iframe\")).size();\n\t\tSystem.out.println(countiFrame);\n\t\tWebElement frame1= driver.findElement(By.id(\"frame1\"));\n\t\tdriver.switchTo().frame(frame1);\n//\t\tSystem.out.println(frame1.getText());\n\t\t\n\n\t}", "title": "" } ]
1cb9ad80dc25872ba444a054ff15d7b0
Created by lvsj on 2015/9/27.
[ { "docid": "ea6f5a13bedb608de1736c122d9edc0d", "score": "0.0", "text": "public interface ISysSequenceCredit {\r\n List<Long> getSequence(String name, int nCount) throws Exception;\r\n Long getSequence(String name) throws Exception;\r\n SqlSessionTemplate getSqlSessionTemplate();\r\n void setSqlSessionTemplate(SqlSessionTemplate session);\r\n}", "title": "" } ]
[ { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.6191379", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.61308706", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "82ab90ffadf9b8d43e60c8510a33beba", "score": "0.6092607", "text": "@Override\r\n\tpublic void morirse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6057544", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "e3110a393bd4b870b4055aa9ed6efd87", "score": "0.6000826", "text": "@Override\n\tpublic void attaquer() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.5981857", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.5967679", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.59278715", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.591142", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.591142", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.5910774", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "a5f7a321f63abee65f0b9008f270490e", "score": "0.58332753", "text": "@Override\n\t\t\tpublic void competir() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "36a9185e11b8e732b645ef4e774244a1", "score": "0.582168", "text": "private static void perparfood() {\n\r\n\t}", "title": "" }, { "docid": "ec76ff8d70ced9d8135ad33b23353b4d", "score": "0.5816875", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "7756cbf76fd6363807e17834db326bbc", "score": "0.58025885", "text": "@Override\n\t\t\tpublic void avanzar() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.5773347", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5737508", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "f8978d93b84e5118882a4ff5e000e716", "score": "0.5729218", "text": "private void init() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.5714367", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.56940204", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.568986", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "bdceff0dc4130d850ab15d702b785449", "score": "0.56616104", "text": "@Override\n\tprotected void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.56293184", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.56293184", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "28fcdb48fa0b9890f9666ae29ef02f55", "score": "0.5626727", "text": "private void init() {\n\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.5624292", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "d3585587779dbdf33600e1670ca42099", "score": "0.5621193", "text": "@Override\n\tpublic void IngresoKromi() {\n\t}", "title": "" }, { "docid": "469c90392fb12e4553574135278541f5", "score": "0.56134015", "text": "@Override\n\tpublic void attck() {\n\t\t\n\t}", "title": "" }, { "docid": "92b8246d78d46bf0f60b46e17e797540", "score": "0.5609342", "text": "@Override\n\tpublic void init () {\n\t}", "title": "" }, { "docid": "0c1baa66e57a742b19c8ef24f031c945", "score": "0.55987936", "text": "private Composer()\t{ super();\t\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.5594659", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "70c63b539d1b6f883ad13008fbcaa6ce", "score": "0.5588259", "text": "@Override\n\tpublic void fiy(){\n\t\t\n\t}", "title": "" }, { "docid": "aeeb535b64abe2a1f23881b7a7733a2f", "score": "0.5576911", "text": "private static void first() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.5571791", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "7a64af47763e4842ef0277e0c557687f", "score": "0.5567795", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5565379", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "14f6250e215aa66dcffb123fd6b7fd74", "score": "0.55621725", "text": "@Override\n\tpublic void entzünden() {\n\n\t}", "title": "" }, { "docid": "977fff0c332b2452ea52e9c12f4524f3", "score": "0.5552131", "text": "@Override\n\tpublic void frapper() {\n\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.55490667", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5535215", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5535215", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5535215", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5535215", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5535215", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5535215", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9bee178f3f344211b2e3e20cc5eb0a44", "score": "0.5525375", "text": "private void gotopic() {\n }", "title": "" }, { "docid": "a22a3abb4b9b5de4ed8c054da445e9b0", "score": "0.5520029", "text": "@Override\r\n\tpublic void jugar() {\n\r\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.55186445", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.55128", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a49b2d411619c6f2680e9b0e8c21a20f", "score": "0.55096155", "text": "private void erledigt() {\n\t\t\r\n\t}", "title": "" }, { "docid": "267525a8240e720e8d91796596b7ff63", "score": "0.55023414", "text": "private void passTest3() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5491062", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5491062", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5491062", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5491062", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5d5d10ad4c7e074e7242a5e99cbb3efb", "score": "0.54902345", "text": "@Override\n public void initialize() \n {\n \n }", "title": "" }, { "docid": "e16d41ea385156816d3f3e3e31badebd", "score": "0.54824114", "text": "private void m52678v() {\n }", "title": "" }, { "docid": "29cde3f10dab87cebafdd9412ef4b29f", "score": "0.54730594", "text": "@Override\r\n\tpublic void embala() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cf878687d061d3b258dfe569210d47ed", "score": "0.5470512", "text": "@Override\n\tpublic void harden() {\n\t}", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5468651", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.5465545", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.5465545", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "0cd47ce21776ffa50dd678180ffe94e5", "score": "0.54625684", "text": "public void ayak() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d629c4ad6266d296b13a93bb0c7f8c66", "score": "0.5454148", "text": "@Override\r\n public void init()\r\n {\n\r\n }", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.54458815", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.5430222", "text": "private void init() {\n\t}", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.5430222", "text": "private void init() {\n\t}", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.5430222", "text": "private void init() {\n\t}", "title": "" }, { "docid": "691b15fed469ddc176b9c9e6151dea65", "score": "0.5419417", "text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "95be4fdee6d995b424f0a4e840e2c875", "score": "0.5415088", "text": "@Override\r\n\tpublic void init()\r\n\t{\r\n\t}", "title": "" }, { "docid": "af70f420bd21981aa44db6516064224d", "score": "0.5410985", "text": "@Override\n\tpublic int berechnen() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.5403332", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "9b56e05d631b1ea925ea2c139ee709ad", "score": "0.5402488", "text": "@Override\n\tpublic void adim7() {\n\n\t}", "title": "" }, { "docid": "0f7672ee5ac14b05f31da4e1e34d7b49", "score": "0.5394123", "text": "@Override\r\n\tpublic void test8() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "1bb2ba2fd698bfb2b8b88494f3d5649d", "score": "0.539377", "text": "@Override\n\tpublic void init()\n\t{\n\t}", "title": "" }, { "docid": "da4fa7e263bb2e6d703854259aaf6363", "score": "0.5376712", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "98dd411045fd2d1d89b5a730ede72786", "score": "0.537293", "text": "public void mo3758a() {\n }", "title": "" }, { "docid": "c2c1f0ca9c7029b85142a2ab9536d708", "score": "0.53539926", "text": "@Override\n\tpublic void attaque() {\n\t\t\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.5347433", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "94f32cdbe8afc400e05efbdb8d78c591", "score": "0.533533", "text": "@Override\r\n\tpublic void borc_hesapla() {\n\t\t\r\n\t}", "title": "" }, { "docid": "360bf42213adde0b962792c6cd6d8df7", "score": "0.5317507", "text": "@Override\r\n\t\tpublic void interg() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "235772828b460a414a66709e6096b938", "score": "0.531664", "text": "@Override\r\n protected void initialize() {\r\n }", "title": "" } ]
a501abebabf36033163d9c2100fdd63f
set the company id value.
[ { "docid": "0c112c4f129ec4d7c1ed7b94b14ac702", "score": "0.7049084", "text": "public void setCompanyIdValue(String companyIdValue)\n\t{\n\t\tthis.companyIdValue = companyIdValue;\n\t}", "title": "" } ]
[ { "docid": "bdd865b8209a3652a50d92025880651a", "score": "0.85012907", "text": "public void setCompanyId(Integer value) {\n this.companyId = value;\n }", "title": "" }, { "docid": "fb035daac1ce542339a6cb2e9190e864", "score": "0.8322167", "text": "public void setCompanyid(int newVal) {\n setCompanyid(new Integer(newVal));\n }", "title": "" }, { "docid": "c11fe16b92fa58cdc020be5fd5c3fbdb", "score": "0.8189897", "text": "public void setCompanyId(long companyId);", "title": "" }, { "docid": "7ab63e3f609323283d1d737c200e13eb", "score": "0.8139708", "text": "public void setCompanyId(String value) {\n setAttributeInternal(COMPANYID, value);\n }", "title": "" }, { "docid": "9049575dd6f6166ea032ef59d05284bf", "score": "0.80551046", "text": "public void setCompanyid(long newVal) {\n setCompanyid(new Long(newVal));\n }", "title": "" }, { "docid": "3d78798b53f26efa9b23d22842d8633f", "score": "0.80354714", "text": "public void setCompanyId(long companyId) {\r\n this.companyId = companyId;\r\n setChanged(true);\r\n }", "title": "" }, { "docid": "fa4c2a3adc44ad822d00a542d965989a", "score": "0.7926872", "text": "public void setCompanyid(Integer newVal) {\n if ((newVal != null && this.companyid != null && (newVal.compareTo(this.companyid) == 0)) || \n (newVal == null && this.companyid == null && companyid_is_initialized)) {\n return; \n } \n this.companyid = newVal; \n companyid_is_modified = true; \n companyid_is_initialized = true; \n }", "title": "" }, { "docid": "239fdc733029c78e6f9bce23c41535b3", "score": "0.7921373", "text": "@Override\n\t\t\tpublic void setCompanyid(int companyid) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c1d51c8c03d61f9e24dbd42a14f78f28", "score": "0.78370667", "text": "@Override\n\tpublic void setCompanyId(long companyId);", "title": "" }, { "docid": "c1d51c8c03d61f9e24dbd42a14f78f28", "score": "0.78370667", "text": "@Override\n\tpublic void setCompanyId(long companyId);", "title": "" }, { "docid": "c0451c91ed63140aaa21480c3dc6e164", "score": "0.78275645", "text": "public void setCompanyid(Long newVal) {\n if ((newVal != null && this.companyid != null && (newVal.compareTo(this.companyid) == 0)) || \n (newVal == null && this.companyid == null && companyid_is_initialized)) {\n return; \n } \n this.companyid = newVal; \n companyid_is_modified = true; \n companyid_is_initialized = true; \n }", "title": "" }, { "docid": "af0e4290d668e63531f5cdfe141ce13a", "score": "0.7784273", "text": "public void setCompany(int value) {\n this.company = value;\n }", "title": "" }, { "docid": "71142834d0e5e6c0d07fc3ccdee14765", "score": "0.7769844", "text": "public void setCompanyId(Company companyId) {\r\n this.companyId = companyId;\r\n }", "title": "" }, { "docid": "74bb6fbd36cc762dfbd19988b09d0a6e", "score": "0.77456033", "text": "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "74bb6fbd36cc762dfbd19988b09d0a6e", "score": "0.77456033", "text": "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "74bb6fbd36cc762dfbd19988b09d0a6e", "score": "0.77456033", "text": "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "74bb6fbd36cc762dfbd19988b09d0a6e", "score": "0.77456033", "text": "public void setCompanyId(Integer companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "240d7143bdbbe4cbaacaef811356e6b1", "score": "0.755333", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_ext_information.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "763ce4c14d026b6173727661bf5ff7fe", "score": "0.7512431", "text": "public void setCompanyId(Long companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "763ce4c14d026b6173727661bf5ff7fe", "score": "0.7512431", "text": "public void setCompanyId(Long companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "9782b21efed49bdaddd80ad1f5dbdedf", "score": "0.7372933", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_taskSession.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "171f613306bcba975e96d5f620fdae1d", "score": "0.7305535", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\tmodel.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "e82c8d18a4cdd0911141aaeab8914fb6", "score": "0.7278531", "text": "public long getCompanyId() {\r\n return companyId;\r\n }", "title": "" }, { "docid": "a06be0223e199ba9b89c48f3aca7ecfa", "score": "0.7250984", "text": "@Override\n public void setCompanyId(long companyId) {\n _correctiveAction.setCompanyId(companyId);\n }", "title": "" }, { "docid": "d3dcea5bf9b6b87ddb134ce537bf6685", "score": "0.724941", "text": "@Override\n public void setCompanyId(long companyId) {\n _gameScore.setCompanyId(companyId);\n }", "title": "" }, { "docid": "305c4ff097b0487fcfc79f6064f4e52c", "score": "0.72456664", "text": "public Long getCompanyId() {\r\n\t\treturn companyId;\r\n\t}", "title": "" }, { "docid": "c4928acbe1c248ca58df59fb20bdbe0b", "score": "0.7239608", "text": "public void setCompanyId(Long companyId) {\r\n\t\tthis.companyId = companyId;\r\n\t}", "title": "" }, { "docid": "93214aebee5470b0f5252febd4772122", "score": "0.72325146", "text": "public void setCompanyId(Long companyId) {\n if (!ObjectUtils.equals(companyId, this.companyId)) {\n getChangeLogInfo().put(\"companyId\", companyId);\n }\n this.companyId = companyId;\n }", "title": "" }, { "docid": "1474bee368fa8ff8d07906350c872876", "score": "0.7203907", "text": "public Integer getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "1474bee368fa8ff8d07906350c872876", "score": "0.7203907", "text": "public Integer getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "1474bee368fa8ff8d07906350c872876", "score": "0.7203907", "text": "public Integer getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "1474bee368fa8ff8d07906350c872876", "score": "0.7203907", "text": "public Integer getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "fd8c86f10b55cd6e7e3e6b2548b0b272", "score": "0.7202837", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_commitment.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "ae552ed2454e31722540310d50ffaa51", "score": "0.7202445", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_activityCoursePlace.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "e7a19b731bc9137e1d31203a14f1bb14", "score": "0.72001135", "text": "@Override\n public void setCompanyId(long companyId) {\n _employeeInterviewSchedule.setCompanyId(companyId);\n }", "title": "" }, { "docid": "4eaf27f4ec23ac4f588590458248e219", "score": "0.7165641", "text": "public Long getCompanyId() {\n\t\treturn companyId;\n\t}", "title": "" }, { "docid": "a3b15b3fb150c2fada334c04165b276b", "score": "0.7151642", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_macroscopeDocument.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "c76ee7f5e041e87eb7dd72e80c8c1c9a", "score": "0.7136375", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_purchaseOption.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "0a99c77d2c02351f2e3afbd4eec7f223", "score": "0.710874", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_location.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "ea9b019769a8702d8dfb625b650d971e", "score": "0.7106907", "text": "public Long getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "ea9b019769a8702d8dfb625b650d971e", "score": "0.7106907", "text": "public Long getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "ea9b019769a8702d8dfb625b650d971e", "score": "0.7106907", "text": "public Long getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "2ed7633f37f9477961aec4e68e10111e", "score": "0.7074311", "text": "public void setCompany(String company)\n {\n m_company = company;\n }", "title": "" }, { "docid": "9863daea77fc1ed7446555e255ac41ad", "score": "0.7062726", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_comment.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "604151471f791ef2f354bf144742c932", "score": "0.7060681", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_editionGallery.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "baa8920dcb148b11d0a1c3696c2c48ea", "score": "0.7055128", "text": "public String getCompanyIdValue()\n\t{\n\t\treturn companyIdValue;\n\t}", "title": "" }, { "docid": "da49ed09106850277a0725fe2155d8d7", "score": "0.70388526", "text": "public void setCompanyId(Long companyId) {\n\t\tthis.companyId = companyId;\n\t}", "title": "" }, { "docid": "aa4d02bae2eb9c58cbebc38c11a361bd", "score": "0.70358014", "text": "public Integer getCompanyId() {\n return this.companyId;\n }", "title": "" }, { "docid": "85b44a3b0789c74e942e35638c95dc4c", "score": "0.70309013", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_rule.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "71f1e1f86c708977c076d2464863700a", "score": "0.70250696", "text": "public void setCompanyId(BigDecimal companyId) {\n this.companyId = companyId;\n }", "title": "" }, { "docid": "e8526d129522932b933c35cbae94a7e2", "score": "0.69430846", "text": "@Override\n\tpublic long getCompanyId();", "title": "" }, { "docid": "e8526d129522932b933c35cbae94a7e2", "score": "0.69430846", "text": "@Override\n\tpublic long getCompanyId();", "title": "" }, { "docid": "fc6006b3b9e80ad2a073199b57e6a65a", "score": "0.69208926", "text": "public void setCompany(Company company) {\n this.company = company;\n }", "title": "" }, { "docid": "7c60be899f7d42d0c3af37067e37dafd", "score": "0.6888899", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn model.getCompanyId();\n\t}", "title": "" }, { "docid": "8276481cf82b291aa1cdf308fdbb7af7", "score": "0.6853119", "text": "public void setCompanyId(long companyId) {\n\t\t_instanceImage.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "45c6d5fc74c889ded41393886653a8fd", "score": "0.68315876", "text": "public Company getCompanyId() {\r\n return companyId;\r\n }", "title": "" }, { "docid": "00b3c6815211779b026bee68f0b4ef83", "score": "0.6830639", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_translation.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "5cecf2618b6a92254d46adbc7e35175a", "score": "0.6829979", "text": "public void setCompany(String company) {\n this.company = company;\n }", "title": "" }, { "docid": "dea7f1bfba76b2ed4b3cbb134d913508", "score": "0.68138105", "text": "@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_join.setCompanyId(companyId);\n\t}", "title": "" }, { "docid": "5ad421a278043bf13ec389fbe30a0251", "score": "0.67608255", "text": "public long getCompanyId();", "title": "" }, { "docid": "d84999ccce9bb1223df2fc7b7aed17b8", "score": "0.67226124", "text": "public void setCompany(Company company) {\n\n\t\tthis.company = company;\n\t}", "title": "" }, { "docid": "abae40a35b99ee45f8f28d3a662f3053", "score": "0.66835546", "text": "public Integer getCompanyid()\n {\n return companyid; \n }", "title": "" }, { "docid": "813912c9e0cf44e47896578e2c63935f", "score": "0.6677866", "text": "public Long getCompanyid()\n {\n return companyid; \n }", "title": "" }, { "docid": "efb4667417d3376b6f7709b63de6009d", "score": "0.66694295", "text": "public int getCompanyIdentifier() {\n return mCompanyIdentidier;\n }", "title": "" }, { "docid": "57ebdf9218e57cd4f03c99adeeca9511", "score": "0.6663195", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _ext_information.getCompanyId();\n\t}", "title": "" }, { "docid": "49d6222cc1df86a4d25e2dfce7c8984b", "score": "0.66416806", "text": "public void setCompanyCode(CompanyCodeID param) {\n localCompanyCodeTracker = param != null;\n\n this.localCompanyCode = param;\n }", "title": "" }, { "docid": "cf83c6cde039e81ba3fc0eafb5f9a412", "score": "0.6604725", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _purchaseOption.getCompanyId();\n\t}", "title": "" }, { "docid": "c9b5847ec47419a6c20c862dbecd4580", "score": "0.6575932", "text": "public void setCompanyIdLabel(String companyIdLabel)\n\t{\n\t\tthis.companyIdLabel = companyIdLabel;\n\t}", "title": "" }, { "docid": "844f0d30d8ae59669ba7b768b2eaa9f0", "score": "0.6564308", "text": "public BigDecimal getCompanyId() {\n return companyId;\n }", "title": "" }, { "docid": "8f927c71fe73b2c738689a46e08cc380", "score": "0.65598524", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _rule.getCompanyId();\n\t}", "title": "" }, { "docid": "42678a74ba52dce48cef34efd5bb5afb", "score": "0.6557159", "text": "private void setId(int value) {\n \n id_ = value;\n }", "title": "" }, { "docid": "a58c03b083484fb71e5d4048d32b26ee", "score": "0.6540576", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _location.getCompanyId();\n\t}", "title": "" }, { "docid": "21279b1239e4fe10955aecbad188642a", "score": "0.653929", "text": "public void setCompanyCode(CompanyCodeID param) {\n this.localCompanyCode = param;\n }", "title": "" }, { "docid": "21279b1239e4fe10955aecbad188642a", "score": "0.653929", "text": "public void setCompanyCode(CompanyCodeID param) {\n this.localCompanyCode = param;\n }", "title": "" }, { "docid": "2c1108a015bcc7fd21e9e2c8b50ccc41", "score": "0.65353644", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _commitment.getCompanyId();\n\t}", "title": "" }, { "docid": "2c2c188f413a0b06224c2a82f358a4d8", "score": "0.640891", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _taskSession.getCompanyId();\n\t}", "title": "" }, { "docid": "477900949ffb860586de78e41a7cc050", "score": "0.6401743", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _activityCoursePlace.getCompanyId();\n\t}", "title": "" }, { "docid": "d780338f207855a82c75adaaef8eb893", "score": "0.6383409", "text": "public void setId(long value) {\r\n this.id = value;\r\n }", "title": "" }, { "docid": "0c8275bd6109031e9cf7640b53c34245", "score": "0.6374402", "text": "@Override\n public long getCompanyId() {\n return _correctiveAction.getCompanyId();\n }", "title": "" }, { "docid": "be8c607127da0adf013faa73892a0bd3", "score": "0.63697827", "text": "public void setId(int value) {\r\n this.id = value;\r\n }", "title": "" }, { "docid": "be8c607127da0adf013faa73892a0bd3", "score": "0.63697827", "text": "public void setId(int value) {\r\n this.id = value;\r\n }", "title": "" }, { "docid": "78915a4d040d0cf2ac6a7d2a75c12b8b", "score": "0.63680935", "text": "private void setIdValue() {\n if (id == null && name != null && hostname != null) {\n id = hostname + name;\n }\n }", "title": "" }, { "docid": "a6be229b6f478964a34e2106a152880a", "score": "0.6363037", "text": "public void setIdBusiness( Long idBusiness ) {\n this.idBusiness = idBusiness;\n }", "title": "" }, { "docid": "c4413fec8caa38168c142151ef78a1bf", "score": "0.6334798", "text": "public void setCompany(String newVal) {\n if ((newVal != null && this.company != null && (newVal.compareTo(this.company) == 0)) || \n (newVal == null && this.company == null && company_is_initialized)) {\n return; \n } \n this.company = newVal; \n company_is_modified = true; \n company_is_initialized = true; \n }", "title": "" }, { "docid": "2d535cdf05e30de89978288da1bc43a3", "score": "0.63301957", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _translation.getCompanyId();\n\t}", "title": "" }, { "docid": "672422e713afdf64780c602ed898679e", "score": "0.6328456", "text": "@Override\n\tpublic long getCompanyId() {\n\t\treturn _comment.getCompanyId();\n\t}", "title": "" }, { "docid": "51e5dfeede2169b6642c80fddf219b90", "score": "0.6325765", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "48808dba48e8330c4ce16046cd99962b", "score": "0.631581", "text": "public void setId(long value) {\n this.id = value;\n }", "title": "" }, { "docid": "48808dba48e8330c4ce16046cd99962b", "score": "0.631581", "text": "public void setId(long value) {\n this.id = value;\n }", "title": "" }, { "docid": "48808dba48e8330c4ce16046cd99962b", "score": "0.631581", "text": "public void setId(long value) {\n this.id = value;\n }", "title": "" }, { "docid": "48808dba48e8330c4ce16046cd99962b", "score": "0.631581", "text": "public void setId(long value) {\n this.id = value;\n }", "title": "" }, { "docid": "a7e8d59c1b0538443cc6dfa78e0c73a3", "score": "0.62995845", "text": "public void setCompanyCodeID(\n org.apache.axis2.databinding.types.Token param) {\n if ((1 <= java.lang.String.valueOf(param).length()) &&\n (java.lang.String.valueOf(param).length() <= 4)) {\n this.localCompanyCodeID = param;\n } else {\n throw new java.lang.RuntimeException(\n \"Input values do not follow defined XSD restrictions\");\n }\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.62935185", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.62935185", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.62935185", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.62935185", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.62935185", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.62935185", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.62935185", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" }, { "docid": "dd941c0fac47c2be665ca9de3bc2951d", "score": "0.62935185", "text": "public void setId(int value) {\n this.id = value;\n }", "title": "" } ]
6509f470dfc272621c1efe01e2268ff1
actulizar el estado de los detalles registrados de cada paciente
[ { "docid": "4b65de45f67bc4ef5bcd970dd7bc9adf", "score": "0.0", "text": "void editEstado_Ambulancia() {\n try{\n con=Conexion.ConnectDB();\n //query para actualizar los productos de almacen\n String sql= \"update test_ambulancia set estado=0 where paciente='\" + lblidpaciente.getText()+ \"' and estado=1 \";\n pst=con.prepareStatement(sql);\n pst.execute();\n }catch(HeadlessException | SQLException ex){\n JOptionPane.showMessageDialog(this,ex);\n }\n }", "title": "" } ]
[ { "docid": "49bb2946125aaed89a3729e4687154cc", "score": "0.6850799", "text": "public void findPaciente() {\r\n if (getIdentificacion() != null) {\r\n if (!identificacion.isEmpty()) {\r\n\r\n //setPacienteSeleccionado(null);\r\n pacienteSeleccionado = pacientesFachada.buscarPorIdentificacion(getIdentificacion());\r\n if (pacienteSeleccionado == null) {\r\n imprimirMensaje(\"Error\", \"No se encontro el paciente\", FacesMessage.SEVERITY_ERROR);\r\n setHayPacienteSeleccionado(false);\r\n setDisplayPaciente(\"none\");\r\n } else {\r\n pacienteSeleccionado.setEdad(calcularEdad(pacienteSeleccionado.getFechaNacimiento()));\r\n setDisplayPaciente(\"block\");\r\n setPacienteSeleccionado(pacienteSeleccionado);\r\n setHayPacienteSeleccionado(true);\r\n //descomentar cuando los servicios dependen del genero, edad, zona y administradora del paciente\r\n //loadServicios(null);\r\n }\r\n } else {\r\n setPacienteSeleccionado(null);\r\n setDisplayPaciente(\"none\");\r\n setHayPacienteSeleccionado(false);\r\n }\r\n } else {\r\n setPacienteSeleccionado(null);\r\n setDisplayPaciente(\"none\");\r\n setHayPacienteSeleccionado(false);\r\n }\r\n limpiarServicioMotivoConsulta();\r\n //loadEvents();\r\n\r\n }", "title": "" }, { "docid": "772ad190c3dd254d7f8a36eaf4614606", "score": "0.6684135", "text": "private void mostrarEstadoObjetosUsados() {\n\n if (this.getElementoPila().getObjetos() != null && !this.getElementoPila().getObjetos().isEmpty()) {\n // CAMBIAR:\n // tipoTransaccionCatastral = (TipoTransaccionCatastral) this.obtenerObjetoDelElementoPila(0, TipoTransaccionCatastral.class);\n }\n // this.getTfNombre().setText(tipoTransaccionCatastral.getNombre());\n \n if (this.getLdpTipoTransaccionCatastral().getList() != null){\n Long filaSeleccionada = new Long(this.getElementoPila().getPosicionGlobal());\n System.out.println(\"filaSeleccionada :\" +filaSeleccionada);\n this.seleccionarFila(filaSeleccionada);\n }\n }", "title": "" }, { "docid": "f9ea0ca5d7d587182da7d46ae9e3d9ba", "score": "0.6438864", "text": "public void registrarNotaDeVenta(){\r\n\t\tif (notaVenta.getListaDetalles().size()>0) {\r\n\t\t\tnotaVenta.setFechaRegistro(new Date());\r\n\t\t\tnotaVenta.setCompania(sessionDao.getCompania());\r\n\t\t\tnotaVenta.setEstado(\"AC\");\r\n\t\t\tnotaVenta.setUsuarioRegistro(\"admin\");\r\n\t\t\tnotaVenta.setPrecioTotalBs(total);\r\n\t\t\t//FACTURACION\r\n\t\t\tcargarFacturaVenta();\r\n\t\t\t//CONTABILIDAD\r\n\t\t\tcargarContabilidad();\r\n\t\t\tVentaNotaVenta oT =notaVentaDao.registrar(notaVenta);\r\n\t\t\tif(oT!=null){\r\n\t\t\t\tloadDefault();\t\t\t\t\r\n\t\t\t\tcurrentPage = \"/pages/ventas/notaventa/list.xhtml\"; \r\n\t\t\t\tif(ordenDeLaboratorio!=null){\r\n\t\t\t\tordenDeLaboratorio.setEstado(\"AP\");\r\n\t\t\t\tordenLabDao.modificar(ordenDeLaboratorio);\r\n\t\t\t\t}\t\r\n\t\t\t\t}\r\n\t\t} else {\r\n\t\t\tFacesUtil.infoMessage(\"Informacion\", \"El detalle no debe estar vacio\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "cdd0839269894635d63b17b11976d0a6", "score": "0.64370155", "text": "private void mostrarEstadoObjetosUsados() {\n ObraSocial ObraSocial = new ObraSocial();\n\n\n if (this.getRequestBean1().getObjetoSeleccion() != null) {\n Object seleccionado = this.getRequestBean1().getObjetoSeleccion();\n // CAMBIAR: Crear los if necesarios para cada posible objeto a seleccionar.\n\n }\n try {\n ObraSocial = (ObraSocial) this.obtenerObjetoDelElementoPila(0, ObraSocial.class);\n\n\n } catch (Exception ex) {\n log(CASO_NAVEGACION + \"_ReiniciarError:\", ex);\n error(NOMBRE_PAGINA + \" - Reiniciar: \" + ex.getMessage());\n }\n this.getTfNombre().setText(ObraSocial.getNombre());\n \n if (this.getLdpObraSociales().getList() != null){\n Long filaSeleccionada = new Long(this.getElementoPila().getPosicionGlobal());\n System.out.println(\"filaSeleccionada :\" +filaSeleccionada);\n this.seleccionarFila(filaSeleccionada);\n }\n\n }", "title": "" }, { "docid": "131c6c3c102f9aa6255bf1f193560c56", "score": "0.6264326", "text": "private void atualizarTela() {\n\t\tSystem.out.println(\"\\n*** Refresh da Pagina / Consultando Todos os Registro da Tabela Refeicao\\n\");\n\t\trefeicao = new Refeicao();\n\t\tlistaRefeicao = refeicaoService.buscarTodos();\n\t\t\n\t}", "title": "" }, { "docid": "85ae2f104c1d9a4538e848e9d957a187", "score": "0.6246382", "text": "public void listarSolicitudPorDepartamentoParaAsignar(){//para Generar Asignacion de solicitud\r\n Solicitud_mcDAO solicitud;\r\n \r\n try{\r\n solicitud = new Solicitud_mcDAO();\r\n //Orden_internaDAO ordenInterna = new Orden_internaDAO();\r\n FacesContext contexto = FacesContext.getCurrentInstance(); //paraq entrar ql dom del navegador\r\n usuarioVive = (Usuario) contexto.getExternalContext().getSessionMap().get(\"usuario\");//llamo a la etiqueta usuario que es un objeto que ya debe\r\n listaSolicitudPorDepartamentoParaAsignar =solicitud.listarSolicitudPorDepartamentoUsuarioEnAsignacion(usuarioVive);\r\n \r\n }catch(Exception ex){\r\n System.out.println(\"Error en Solicitud_mc -> listarSolicitudPorDepartamentoParaAsignarSolicitud \"+ex);\r\n }\r\n }", "title": "" }, { "docid": "52448e79e5e272c43608da19a673b7e4", "score": "0.62431645", "text": "private void btnregistrarActionPerformed(java.awt.event.ActionEvent evt) {\n for(int i = 0 ; i < users.length ; i++){ \n if( users[i].comprobarPass(pass) != null){\n sesion = users[i].comprobarPass(pass);\n if(aulas[0].getEstadoaul().equals(\"libre\")){\n ClsVisita vs1 = new ClsVisita(contVisitas+1,aulas[0].getIdaul(),sesion.getIdusr(),now,\"entrada\");\n visitas[contVisitas] = vs1;\n contVisitas++;\n aulas[0].setEstadoaul(\"ocupado\");\n JOptionPane.showMessageDialog(rootPane, \"bienvenido: \"+sesion.getNombreusr()+\"\\nUsted ha ingresado al aula\"+aulas[0].getNombreaul()); \n }else{\n //System.out.println(\"entra\");\n if(sesion.getIdusr() == visitas[contVisitas-1].getIdusr()){\n ClsVisita vs1 = new ClsVisita(contVisitas+1,aulas[0].getIdaul(),sesion.getIdusr(),now,\"salida\");\n visitas[contVisitas] = vs1;\n contVisitas++;\n aulas[0].setEstadoaul(\"libre\");\n JOptionPane.showMessageDialog(rootPane, \"adios: \"+sesion.getNombreusr()+\"\\nUsted ha salido del aula\"+aulas[0].getNombreaul());\n }else{\n JOptionPane.showMessageDialog(rootPane, \"El aula esta ocupada por favor revise su horario\");\n } \n } \n }\n } \n if(sesion == null ){\n JOptionPane.showMessageDialog(rootPane, \"Usuario no registrado\");\n }else if(sesion.comprobarPass(pass) == null){ \n JOptionPane.showMessageDialog(rootPane, \"Usuario no registrado\");\n }\n \n limpiar();\n }", "title": "" }, { "docid": "b8fdb3a77ef01011deb321df38d17ddf", "score": "0.6236165", "text": "public void agregarEstudiante() {\n if (vista.EstudianteDatosCorrectos() == true) { \n try {\n int carnet = Integer.parseInt(vista.txtCarnet.getText());\n String nombreCompleto = vista.txtNombre.getText();\n String carrera = vista.txtCarrera.getText();\n String email = vista.txtEmail.getText();\n String telefono = vista.txtTelefono.getText();\n logicadenegocios = new Estudiante(carnet,nombreCompleto,carrera,email,telefono);\n Estudiante estudianteActual = dao.agregarEstudiante(logicadenegocios);\n if (estudianteActual != null) {\n vista.setVisible(false);\n JOptionPane.showMessageDialog(vista, \"Se agregó el estudiante exitosamente: \");\n vista.setVisible(true);\n } else {\n JOptionPane.showMessageDialog(vista, \"No es posible agregar el estudiante\");\n } } catch (SQLException ex) {\n Logger.getLogger(ControladorEstudiante.class.getName()).log(Level.SEVERE, null, ex);\n }\n } else {\n JOptionPane.showMessageDialog(vista, \"Todos lo datos son requeridos\"); \n }\n }", "title": "" }, { "docid": "629e2be211046d7fb79c35f88c3ef7cd", "score": "0.6200584", "text": "public void abrirGerenciamentoPedidosUtilizador()\r\n\t{\r\n\t\tthis.menuVisao.obterPainel().add(new GerenciarPedidosUtilizadorVisao());\r\n\t}", "title": "" }, { "docid": "4394f2aafe22e8b8d0e18503b19b5c70", "score": "0.6048122", "text": "public void carregarUltimosAcessos() {\n //aqui e adicionado o usuario selecionado\n ultimosAcessos = new LazyDataModelImpl<AcessoSistema>(\"dataHora DESC\", Restriction.equals(\"usuario\", getEntity()), acessoSistemaDAO);\n }", "title": "" }, { "docid": "d3951d4a6a06ab6f0b02889cad26592b", "score": "0.60427904", "text": "public void listarDatosPaciente(){\n databaseReference.child(\"Paciente\").addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n listaPaciente.clear();\n if (snapshot.exists()) {\n for(DataSnapshot objDataSnapshot: snapshot.getChildren()){\n Paciente objP = objDataSnapshot.getValue(Paciente.class);\n listaPaciente.add(objP);\n }\n }\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError error) {\n\n }\n });\n }", "title": "" }, { "docid": "8c1fadfbe083829780bc84aa8ec0573e", "score": "0.6033886", "text": "private void consultarVigencia() {\n accesoDatos = new AccesoDatos();\n vigencia = new Vigencia();\n vigencia.setActiva(true);\n vigencia = accesoDatos.consultarTodos(vigencia, Vigencia.class).get(0);\n }", "title": "" }, { "docid": "707ca325b765f471e366217bea8c783e", "score": "0.60044044", "text": "public void listaSolicitudDeUsuariosHistorialSeguimiento() {\r\n Solicitud_mcDAO miSolicituddao;\r\n \r\n try{\r\n miSolicituddao = new Solicitud_mcDAO();\r\n FacesContext contexto = FacesContext.getCurrentInstance(); //paraq entrar ql dom del navegador\r\n Usuario usuarioVive = (Usuario) contexto.getExternalContext().getSessionMap().get(\"usuario\");//llamo a la etiqueta usuario que es un objeto que ya debe\r\n \r\n \r\n listaSolicitudDeUsuariosHistorialSeguimiento = miSolicituddao.buscarSolucitudPorIdUsuarioParaMisSeguimientos(usuarioVive.getIdUsuario());\r\n }catch(Exception e){\r\n System.out.println(\"Error en HistorialSeguimiento BEAN -> listaHistorialSeguimiento \"+e);\r\n }\r\n }", "title": "" }, { "docid": "cf350a701a3e6fa09240942ae3c22ab7", "score": "0.6002991", "text": "@SuppressWarnings(\"unchecked\")\r\n\tprivate void gruposActivos(){\r\n\t\tpuestoDets=em.createQuery(\"Select d from ConcursoPuestoDet d \" +\r\n\t\t\t\t\" where d.concursoPuestoAgr.idConcursoPuestoAgr=:idGrupo\" +\r\n\t\t\t\t\" and d.activo=true\").setParameter(\"idGrupo\", idAgr).getResultList();\r\n\t\tcntGrupo=puestoDets.size();\r\n\t}", "title": "" }, { "docid": "53ff04adef1059ba39e993dbd299a52c", "score": "0.5982711", "text": "public void teslisresolemitida() {\n\n\t\tlogger.info(\"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\");\n\t\tList<Resolemitida> listInst = resolucionDAO.findResolucionemitidaByAllName();\n\t\tlogger.info(\"::: \" + listInst);\n\t\tfor (Resolemitida institution : listInst) {\n\t\t\tSystem.out.println(institution.getCodresolucion());\n\t\t\tSystem.out.println(institution.getResolucion().getNombre());\n\t\t\tSystem.out.println(institution.getDocente().getNombres());\n\t\t\tSystem.out.println(institution.getUsuario().getNombre());\n\t\t}\n\t\tSystem.out.println(\">>>>>>>\" + resolucionDAO.findResolucionemitidaByAllName());\n\t}", "title": "" }, { "docid": "8345143333338ca28addff92b952df0d", "score": "0.5976922", "text": "public void posicionesIniciales(){\n relojPrincipal.mark();\n listPlat=getObjects(Plataforma.class);\n listVida=getObjects(Vida2.class);\n listLlave=getObjects(Llave2.class);\n removeObjects(listPlat);\n if(listVida != null){ \n removeObjects(listVida);\n listVida.clear();\n }\n if(listLlave != null){\n removeObjects(listLlave);\n listLlave.clear();\n }\n listPlat.clear(); \n addObject(new Plataforma(),ANCHO/2,380);\n unicornio.setLocation(ANCHO/2,340);\n generaPlataformasIniciales();\n listPlat=getObjects(Plataforma.class);\n }", "title": "" }, { "docid": "ea1e79849770ba1f5d2afaf5b3b8a700", "score": "0.5964442", "text": "private boolean incluirPersonas(int solicitud) {\n/* 80 */ int posibleProveedor = 0;\n/* 81 */ SolicitudDAO rsSol = new SolicitudDAO();\n/* */ \n/* 83 */ SolicitudDTO regSol = rsSol.getSolicitud(solicitud);\n/* 84 */ if (regSol.getNumeroMacroservicio() > 0) {\n/* 85 */ regSol = rsSol.getSolicitud(regSol.getNumeroMacroservicio());\n/* 86 */ if (regSol != null) {\n/* 87 */ posibleProveedor = regSol.getEmpleadoCliente();\n/* */ }\n/* */ } \n/* 90 */ rsSol.close();\n/* */ \n/* */ \n/* 93 */ HTMLTableSectionElement hte = this.pagHTML.getElementPersonas();\n/* */ \n/* 95 */ SisUsuariosDAO rs = new SisUsuariosDAO();\n/* 96 */ Collection arr = rs.cargarDeServicio(solicitud);\n/* */ \n/* 98 */ Iterator iterator = arr.iterator();\n/* 99 */ boolean fondo = true;\n/* 100 */ while (iterator.hasNext()) {\n/* 101 */ SisUsuariosDTO reg = (SisUsuariosDTO)iterator.next();\n/* */ \n/* 103 */ HTMLElement eltr = (HTMLElement)this.pagHTML.createElement(\"tr\");\n/* */ \n/* 105 */ fondo = !fondo;\n/* 106 */ eltr.setAttributeNode(newAttr(\"class\", \"ct\" + (fondo ? \"1\" : \"2\")));\n/* */ \n/* 108 */ eltr.appendChild(newtd(\"\" + reg.getApellidos() + \" \" + reg.getNombres()));\n/* 109 */ eltr.appendChild(newtd(\"\" + reg.getNombreArea()));\n/* */ \n/* 111 */ HTMLElement tdMarca = (HTMLElement)this.pagHTML.createElement(\"td\");\n/* */ \n/* 113 */ HTMLInputElement checkbox = (HTMLInputElement)this.pagHTML.createElement(\"input\");\n/* 114 */ checkbox.setAttribute(\"type\", \"checkbox\");\n/* 115 */ checkbox.setName(\"Fun_\" + reg.getArea() + \"_\" + reg.getCodigoEmpleado());\n/* */ \n/* 117 */ if (posibleProveedor == reg.getCodigoEmpleado()) {\n/* 118 */ checkbox.setChecked(true);\n/* */ }\n/* */ \n/* 121 */ tdMarca.appendChild(checkbox);\n/* 122 */ eltr.appendChild(tdMarca);\n/* */ \n/* 124 */ hte.appendChild(eltr);\n/* */ } \n/* 126 */ return true;\n/* */ }", "title": "" }, { "docid": "6c09f368897936921c71173a69413f06", "score": "0.5950404", "text": "public void buscar() {\n try {\n// Usuario usuario = obtenerUsuarioLogeado();\n// if (usuario.getTipoUsuario().getNemonico().equals(RolesEnum.SUPER_ADMINISTRADOR.getNemonico())) {\n// this.listaInstituciones = institucionServicio.listarInstitucionesActivas(this.nombre, this.codigo,\n// this.desconcentrado);\n// this.listaInstituciones.addAll(institucionServicio.listarInstitucionesUsuario(usuario));\n// this.numeroInstitucion = this.listaInstituciones.size();\n// }\n//\n// if (usuario.getTipoUsuario().getNemonico().equals(RolesEnum.ADMINISTRADOR_INSTITUCION.getNemonico())) {\n// if (this.desconcentrado) {\n// this.listaInstituciones = institucionServicio.listarInstitucionesHijas(obtenerInstitucion(), 20,\n// false);\n// }\n// this.listaInstituciones.addAll(institucionServicio.listarInstitucionesUsuario(usuario));\n// this.numeroInstitucion = this.listaInstituciones.size();\n// }\n\n } catch (Exception e) {\n ponerMensajeError(NADA, \"No se puede listar los registros \" + e.getMessage());\n error(getClass().getName(), \"no se puede listar registros\", e);\n }\n }", "title": "" }, { "docid": "4e8f7bdb165c08e4ca5bd1060ce65e1e", "score": "0.5935064", "text": "private void listarPacientes() {\r\n\t\ttry {\r\n\t\t\tObject obj = JSONValue.parse(ApiAuthRest\r\n\t\t\t\t\t.getRequestGet(\"patient?q\"));\r\n\r\n\t\t\tJSONObject jsonObject = (JSONObject) obj;\r\n\r\n\t\t\tJSONArray arrayResult = (JSONArray) jsonObject.get(\"results\");\r\n\t\t\tint largoArray = arrayResult.size();\r\n\t\t\tlistaPacientes = new String[largoArray];\r\n\t\t\tlistaPacientesUuid = new String[largoArray];\r\n\t\t\tint contador;\r\n\t\t\tfor (contador = 0; contador < largoArray; contador++) {\r\n\t\t\t\tJSONObject registro = (JSONObject) arrayResult.get(contador);\r\n\t\t\t\tlistaPacientesUuid[contador] = ((String) registro.get(\"uuid\"));\r\n\t\t\t\tlistaPacientes[contador] = ((String) registro.get(\"display\"));\r\n\t\t\t\tLog.d(\"Pacientes encontrados\", \"Rows \" + contador\r\n\t\t\t\t\t\t+ \" => Result Tipo UUID:\" + listaPacientesUuid[contador]\r\n\t\t\t\t\t\t+ \" Display:\" + listaPacientes[contador]);\r\n\t\t\t}\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f442bd437e54ff495d719512e1164c9a", "score": "0.59276026", "text": "public void cargarFacturas() {\n try {\n personaDAO = new PersonaDAO();\n persona = new Persona();\n //Cargamos el nombre del cliente en el input\n persona = personaDAO.obtenerNombreClienteXIdentificacion(identificacion);\n\n //Este if nos permite verificar si existe o no un cliente.\n if (persona.getIdCliente() == 0) {\n\n mostrarMensajeInformacion(\"El Cliente No Existe o esta Inactivo\");\n\n } else {\n // En caso de que exista cargamos sus ventas\n listaVenta = new ArrayList<>();\n this.retencionDAO = new RetencionDAO();\n idCliente = persona.getIdCliente();\n\n //Instanciamos la clase AbonoDAO para usar un metodo\n AbonoDAO abonoDAO = new AbonoDAO();\n\n //Cargamos las ventas en el select one\n List<Retencion> r = retencionDAO.obtenerVentas(persona.getIdCliente());\n for (Retencion lret : r) {\n\n //Usamos la funcion de Abono Dao para concatenar la factura\n String numFactura = abonoDAO.obtenerConcatenacionFactura(\n lret.getIdSucursal(), lret.getPuntoEmision(),\n lret.getSecuencia());\n\n SelectItem ventasItem = new SelectItem(lret.getIdVenta(), numFactura);\n this.listaVenta.add(ventasItem);\n\n }\n //Este if valida si el cliente tiene o no cobros.\n if (listaVenta.isEmpty()) {\n mostrarMensajeInformacion(\"Ese cliente no tiene facturas\");\n } else {\n mostrarMensajeInformacion(\"Se Cargaron las Facturas de \" + persona.getRazonNombre());\n\n }\n }\n } catch (Exception ex) {\n System.out.println(\"Error: \" + ex.getMessage());\n }\n }", "title": "" }, { "docid": "563f99340d944f4b38f85ae518888c72", "score": "0.59220356", "text": "public void agregarDatosFicticios() {\n Usuario.usuarios.add(u1);\n Usuario.usuarios.add(u2);\n Usuario.usuarios.add(u3);\n //Agregar instancias de administradores\n Administrador.administradores.add(Admin1);\n Administrador.administradores.add(Admin2);\n //Agregar Eventos\n Evento.listaEventos.add(ConciertoGuns);\n Evento.listaEventos.add(PartidoBR);\n Evento.listaEventos.add(TeatroRJ);\n Evento.listaEventos.add(FestivalVerano);\n //Agregar boletas a eventos\n ConciertoGuns.agregarBoletas(BoletaGuns);\n PartidoBR.agregarBoletas(PBRBoletaPlatino, PBRBoletaVIP, PBRBoletaPreferencia);\n TeatroRJ.agregarBoletas(TRJBoletaPlatino, TRJBoletaVIP, TRJBoletaPreferencia);\n FestivalVerano.agregarBoletas(BoletaFest);\n //Agregar facturas a usuario 1 y pagar\n Factura1User1.agregarItem(Item1user1, Item2user1);\n Factura2User1.agregarItem(Item3user1, Item4user1);\n Factura1User1.pagarFactura();\n Factura2User1.pagarFactura();\n u1.agregarFactura(Factura1User1, Factura2User1);\n //Agregar factura a usuario2 y pagar\n Factura1User2.agregarItem(Item1user2, Item2user2);\n Factura1User2.pagarFactura();\n u2.agregarFactura(Factura1User2);\n }", "title": "" }, { "docid": "ae5312d47f87262a4692dfb1f596edeb", "score": "0.5906051", "text": "public void agregarRecepcionistas() {\n RecepcionistaDao recepcionista = new RecepcionistaDao();\n recepcionista.agregarRecepcionista(new Recepcionista(\"jfcardenase\", \"257995\"));\n recepcionista.agregarRecepcionista(new Recepcionista(\"sacortesh\", \"258006\"));\n recepcionista.agregarRecepcionista(new Recepcionista(\"earojasc\", \"258009\"));\n recepcionista.agregarRecepcionista(new Recepcionista(\"jummartinezro\", \"258012\"));\n recepcionista.agregarRecepcionista(new Recepcionista(\"agbernala\", \"258029\"));\n recepcionista.agregarRecepcionista(new Recepcionista(\"jdochoam\", \"258050\"));\n }", "title": "" }, { "docid": "29f13abeba9161d20f2bc55f74bbf692", "score": "0.5905721", "text": "public void MtdListarDatos() {\n String dni;\n dni = Principal.txtDni.getText();\n TbEmpleado objEE=new TbEmpleado();\n ClsNEmpleado objNE=new ClsNEmpleado();\n objEE.setDniEmpl(dni);\n if(objNE.MtdBuscarEmpleado(objEE)==true)\n {\n \n }\n else\n {\n JOptionPane.showMessageDialog(null, \"ERROR\");\n }\n }", "title": "" }, { "docid": "54f1972a10832101561c26cfa3d0c59a", "score": "0.58868873", "text": "public void iniciaAgendaUsers(){\n\t\t// Inicio agenda user logado\n\t\ttry{\n\t\t\t//Agendacita[] agev = this.agevdao.findWhereIdagendaEquals(this.agenda.getIdagenda());\n\t\t\t// Cargar los eventos por encima y por debajo de los dias especificados en LIMITE_INFERIOR y LIMITE_SUPERIOR respectivamente\n\t\t\tthis.agenda.getDiarios().clear();\n\t\t\tEvento[] evs = this.evdao.getNumtotalEventosFecha(UtilFechas.addDate(new Date(),LIMITE_INFERIOR), UtilFechas.addDate(new Date(),LIMITE_SUPERIOR), this.agenda.getIdagenda());\t\t\t\n\t\t\tfor(Evento e:evs){\t\t\t\t\n\t\t\t\tthis.agenda.getEventos().add(e);\n\t\t\t\tcargaEventoModelo(e,this.agenda);\n\t\t\t\t// Calculo de duracion de hueco\n\t\t\t\te.setHuecos(UtilAgenda.calculaNumeroHuecosEvento(e.getFechaini(), e.getFechafin(),this.TAM_HUECO));\n\t\t\t\t// Obtencion de tipo de generador si procede\n\t\t\t\te.setTipogen(UtilMapeos.obtenerTipoGeneradorEvento(e.getIdentificador()));\n\t\t\t\t// Conversior previa - quitarle la parte de hh:mm:ss y comprar solo fecha\n\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\"); // IMPORTANTE - MYSQL\n\t\t\t\t//SimpleDateFormat sdf = new SimpleDateFormat(\"dd/MM/yyyy\"); // ORACLE\n\t\t\t if(sdf.parse(sdf.format(e.getFechaini())).equals(sdf.parse(sdf.format(new Date()))))\n\t\t\t\t\tthis.agenda.getDiarios().add(e);\n\t\t\t}\n\t\t\t/*this.evs = this.evdao.findWhereIdusuarioEquals(lf.getSesionUsuario().getUsuario());\n\t\t\tfor(Evento e:this.evs)\n\t\t\t\tthis.agenda.getEventos().add(e);*/\n\t\t}catch(Exception e1){\n\t\t\tthis.pintaMensaje(Mensaje.SEVERIDAD_ERROR,\n\t\t\t\t\tthis.bundle.getString(\"citas_msg_error_cons_agenda\")+\": \"+ e1.getMessage());\n\t\t}\n\t\t// Recuperar usuarios de la aplicacion\n\t\t/*this.agendausers = new ArrayList<Agenda>();\n\t\t//this.agendausers.add(this.agenda);\n\t\ttry {\n\t\t\tArrAcceso[] users = this.accdao.findAll();\t\t\t\n\t\t\tfor(ArrAcceso u:users){\n\t\t\t\tif(!u.getUsuario().equals(this.usuario)){\n\t\t\t\t\tAgenda[] ag = this.agdao.findWhereIdusuarioEquals(u.getUsuario());\n\t\t\t\t\tif(ag.length>0){\n\t\t\t\t\t\tAgendacita[] agev = this.agevdao.findWhereIdagendaEquals(ag[0].getIdagenda());\n\t\t\t\t\t\tfor(Agendacita it:agev){\n\t\t\t\t\t\t\tEvento ev = this.evdao.findByPrimaryKey(it.getIdevento());\n\t\t\t\t\t\t\tag[0].getEventos().add(ev);\n\t\t\t\t\t\t\tcargaEventoModelo(ev,ag[0]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tag[0].setUser(u);\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tthis.agendausers.add(ag[0]);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tthis.evs = null;\n\t\t\t}\n\t\t\tthis.tamlist = this.agendausers.size();\n\t\t} catch (Exception e1) {\n\t\t\tthis.pintaMensaje(Mensaje.SEVERIDAD_ERROR,\n\t\t\t\t\t\"No se pueden inicializar agendas de usuarios. Error: \"\n\t\t\t\t\t\t\t+ e1.getMessage());\n\t\t}*/\n\t}", "title": "" }, { "docid": "4eb414333d1632779b39b73b433ecda5", "score": "0.5843315", "text": "private void accederGestionUsuarios(){\n //Preguntamos por la contraseña\n String contraseña = obtenerUsuario().formatearEntradaCadena(UIMensajes.g_Contraseña(), false);\n //Buscamos un posible empleado con los datos previamente especificados\n Empleado temp = (Empleado) Util.buscarCuentaEmpleado(obtenerUsuarios(),\n \"GESTION_USUARIOS\", contraseña);\n if(temp!=null){ //Si la contraseña es correcta\n UIMenuGestionUsuarios uig = new UIMenuGestionUsuarios(obtenerUsuarios(),\n obtenerProductos(), new UIGestionUsuarios((EpdoFinanciacion) temp,\n obtenerUsuario().obtenerDiaActual(), obtenerUsuario().obtenerMesActual(),\n obtenerUsuario().obtenerAñoActual()));\n }else{ //Si la contraseña NO es correcta\n //Avisa de fallo y vuelve al menu, \"contraseña incorrecta\"\n System.out.println(UIMensajes.mP_ContraseñaIncorrecta());\n volverMenu();\n }\n }", "title": "" }, { "docid": "23e02f1b2b52c60c938c8b1acea4336a", "score": "0.58370167", "text": "private boolean verificaVentanas(){\n\t int i=0;\n\t int j=0;\n\t boolean resp=false;\n\t while(i<cantPisos&&!resp){\n\t\t while(j<cantVentanas&&!resp){\n\t\t\t resp=ventanas.get(i).get(j).estaReparada();\n\t\t\t j+=1;\n\t\t }\n\t\t i+=1;\n\t }\n\t return resp;\n }", "title": "" }, { "docid": "1aa3b2475d78f9d527554f0e86d1dbe7", "score": "0.5825502", "text": "@Override\r\n\tpublic ArrayList<Paciente> recuperaAllPaciente() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "3a08ef9ca121d82f24d533f06fa0e5ad", "score": "0.58216697", "text": "public void BuscarGrupo() {\r\n try {\r\n // Inicializamos la tabla para refrescar todos los datos contenidos.\r\n InicializarTabla(_escuchador.session);\r\n Transaction tx = _escuchador.session.beginTransaction();\r\n List<Departamentos> tabla=rsmodel.lista;\r\n List<Departamentos> borrados = new <Departamentos>ArrayList();\r\n if(menuDepartamentos.campoDepartamentosBuscarCategorias.getSelectedItem().toString().equals(\"Todos los campos\")){\r\n for(Departamentos obj : tabla) {\r\n if(!obj.getCodigo().toString().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase()) && \r\n !obj.getNombre().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase()) && \r\n !obj.getDirector().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase()) && \r\n !obj.getNombre_director().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase()) && \r\n !obj.getApellido1_director().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase()) && \r\n !obj.getApellido2_director().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase()) && \r\n !obj.getDNI_director().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase())\r\n ){\r\n borrados.add(obj);\r\n }\r\n }\r\n }\r\n else if(menuDepartamentos.campoDepartamentosBuscarCategorias.getSelectedItem().toString().equals(\"Código del departamento\")){\r\n for(Departamentos obj : tabla) {\r\n if(!obj.getCodigo().toString().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase())){\r\n borrados.add(obj);\r\n }\r\n }\r\n }\r\n else if(menuDepartamentos.campoDepartamentosBuscarCategorias.getSelectedItem().toString().equals(\"Nombre del departamento\")){\r\n for(Departamentos obj : tabla) {\r\n if(!obj.getNombre().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase())){\r\n borrados.add(obj);\r\n }\r\n }\r\n }\r\n else if(menuDepartamentos.campoDepartamentosBuscarCategorias.getSelectedItem().toString().equals(\"Código del director\")){\r\n for(Departamentos obj : tabla) {\r\n if(!obj.getDirector().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase())){\r\n borrados.add(obj);\r\n }\r\n }\r\n }\r\n else if(menuDepartamentos.campoDepartamentosBuscarCategorias.getSelectedItem().toString().equals(\"Nombre del director\")){\r\n for(Departamentos obj : tabla) {\r\n if(!obj.getNombre_director().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase())){\r\n borrados.add(obj);\r\n }\r\n }\r\n }\r\n else if(menuDepartamentos.campoDepartamentosBuscarCategorias.getSelectedItem().toString().equals(\"Primer apellido del director\")){\r\n for(Departamentos obj : tabla) {\r\n if(!obj.getApellido1_director().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase())){\r\n borrados.add(obj);\r\n }\r\n }\r\n }\r\n else if(menuDepartamentos.campoDepartamentosBuscarCategorias.getSelectedItem().toString().equals(\"Segundo apellido del director\")){\r\n for(Departamentos obj : tabla) {\r\n if(!obj.getApellido2_director().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase())){\r\n borrados.add(obj);\r\n }\r\n }\r\n }\r\n else if(menuDepartamentos.campoDepartamentosBuscarCategorias.getSelectedItem().toString().equals(\"DNI del director\")){\r\n for(Departamentos obj : tabla) {\r\n if(!obj.getDNI_director().toLowerCase().contains(menuDepartamentos.campoDepartamentosBuscar.getText().toLowerCase())){\r\n borrados.add(obj);\r\n }\r\n }\r\n }\r\n tabla.removeAll(borrados);\r\n tx.commit();\r\n if(tabla.isEmpty()){tabla.add(new Departamentos(null));}\r\n rs=tabla;\r\n ControladorTabla registrosBuscados = new ControladorTabla(tabla);\r\n menuDepartamentos.getTablaDepartamentos().setModel(registrosBuscados);\r\n } catch (Exception e) {\r\n JOptionPane.showMessageDialog(null, e, \"Excepción\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n }", "title": "" }, { "docid": "5e97110630b37634b34f7d85e08f79bb", "score": "0.57991123", "text": "private void preencherListaAgentesDaTabela(){ \n //limpar a lista dos agentes\n Agente.listaDeAgentes.clear();\n for (int i = 0; i < tmAgentes.getRowCount(); i++) {\n try {\n Agente a = new Agente();\n a.setNmAgente(tmAgentes.getValueAt(i, 0).toString());\n a.setPerfilAgente(tmAgentes.getValueAt(i, 1).toString());\n a.setMetaDados(tmAgentes.getValueAt(i, 2).toString());\n Agente.listaDeAgentes.add(a);\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, e.getMessage());\n }\n } \n }", "title": "" }, { "docid": "b00fd6ac6bc4c851a14b17df4fda51fd", "score": "0.5799059", "text": "private void llamarAcciones(int opcion){\n \n \n ArrayList<Actividad> listaActividadSel = null;\n Actividad actividad;\n \n Object s[];\n\n //Cargar a una ArrayList los actividades seleccionados\n try{\n if(opSelActividades.isSelected()){\n if(listActividades.getSelectedValue()==null){\n\n JOptionPane.showMessageDialog(null,\n language.getProperty(\"err.actividad.noselect\"),\n language.getProperty(\"app.title\"),\n JOptionPane.WARNING_MESSAGE);\n return;\n\n }\n else{\n listaActividadSel = new ArrayList<Actividad>();\n s=listActividades.getSelectedValues();\n for(int i =0 ; i< s.length; i++)\n {\n String prova=s[i].toString();\n\n actividad = new Actividad();\n actividad.setTitol(prova);\n listaActividadSel.add(actividad);\n }\n\n }\n }\n\n Date data = null;\n String txt = txtData.getText();\n if(txt.equals(\"\"))\n {\n data=null;\n }\n else\n {\n\n SimpleDateFormat formato = new SimpleDateFormat(\"dd/MM/yyyy\");\n data = formato.parse(txt);\n }\n \n PnlListadoPersonalAcademico form = new PnlListadoPersonalAcademico(parent, true, manager, language, usuario ,data, listaActividadSel, opcion);\n form.setLocationRelativeTo(null);\n form.setVisible(true);\n\n }catch (Exception ex)\n {\n JOptionPane.showMessageDialog(null,\n language.getProperty(\"err.generic\") + \"\\n\" + language.getProperty(\"err.detail\") + \":\\n\\n\" + ex.getMessage(),\n language.getProperty(\"app.title\"),\n JOptionPane.ERROR_MESSAGE);\n\n\n }\n \n }", "title": "" }, { "docid": "cd00420e7d7344aa4e091430d4d99c6b", "score": "0.578683", "text": "public void envoyerInfos() {\n\t\ttry {\n\t\t\tenvoyer(new Paquet(TypePaquet.INFO_SALLE, infos).addShort(InetAddress.getLocalHost().getHostAddress()));\n\t\t} catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "7f94f7c7d54a4c6105c0fa535b013327", "score": "0.5771919", "text": "private void mostrarEstadoObjetosUsados() {\n \n Beneficiario beneficiario = null;\n Persona persona = null;\n ObraSocial obraSocial = null;\n Beneficiario.Vinculo vinculoBeneficiario = null;\n Beneficiario.Instruccion instruccionBeneficiario = null;\n String ocupacion = null;\n Double ingresos = null;\n String tipoSeleccion = null;\n String locTipoSeleccion = locTipoSeleccion = (String) this.obtenerObjetoDelElementoPila(3, String.class);\n \n \n if (this.getRequestBean1().getTipoSeleccion() != null) {\n tipoSeleccion = this.getRequestBean1().getTipoSeleccion();\n if (tipoSeleccion == \"TITULAR\"){\n this.getDdVinculo().setDisabled(true);\n } else if (tipoSeleccion == \"FAMILIAR\"){ \n this.getDdVinculo().setDisabled(false);\n this.getDdVinculo().setStyle(\"textField\");\n } \n this.getElementoPila().getObjetos().set(3, tipoSeleccion); \n } else if (locTipoSeleccion == \"TITULAR\"){\n this.getDdVinculo().setDisabled(true); \n this.getDdVinculo().setStyle(\"textFieldDisabled\");\n }\n \n\n// Beneficiario beneficiario = (Beneficiario) this.obtenerObjetoDelElementoPila(0, Beneficiario.class);\n// Persona persona = (Persona) this.obtenerObjetoDelElementoPila(1, Persona.class);\n// ObraSocial obraSocial = (ObraSocial) this.obtenerObjetoDelElementoPila(2, ObraSocial.class);\n\n // CAMBIAR: Obtener datos del Request y asignarlos a los textField\n// if (this.getRequestBean1().getObjetoABM() != null) {\n// Beneficiario = (Beneficiario) this.getRequestBean1().getObjetoABM();\n// this.getElementoPila().getObjetos().set(0, Beneficiario);\n//\n// }\n\n if (this.getRequestBean1().getObjetoSeleccion() != null) {\n Object seleccionado = this.getRequestBean1().getObjetoSeleccion();\n \n if (seleccionado instanceof Persona) {\n persona = (Persona) seleccionado;\n this.getElementoPila().getObjetos().set(1, persona);\n } else if (seleccionado instanceof ObraSocial) {\n obraSocial = (ObraSocial) seleccionado;\n this.getElementoPila().getObjetos().set(2, obraSocial);\n }\n // CAMBIAR: Crear los if necesarios para cada posible objeto a seleccionar.\n }\n//\n// if (this.getElementoPila().getObjetos() != null && !this.getElementoPila().getObjetos().isEmpty()) {\n// // CAMBIAR:\n// Beneficiario = (Beneficiario) this.obtenerObjetoDelElementoPila(0, Beneficiario.class);\n//\n// }\n\n int ind = 0;\n beneficiario = (Beneficiario) this.obtenerObjetoDelElementoPila(ind++, Beneficiario.class);\n persona = (Persona) this.obtenerObjetoDelElementoPila(ind++, Persona.class);\n obraSocial = (ObraSocial) this.obtenerObjetoDelElementoPila(ind++, ObraSocial.class);\n \n if (persona != null && persona.getIdPersona() != -1) {\n this.getTfPersona().setText(persona.toString());\n }\n if (obraSocial != null && obraSocial.getIdObraSocial() != -1) {\n this.getTfObraSocial().setText(obraSocial.getNombre());\n }\n \n this.getDdVinculo().setSelected(Util.getEnumNameFromString(String.valueOf(beneficiario.getVinculo())));\n this.getDdVinculoDefaultOptions().setSelectedValue(Util.getEnumNameFromString(String.valueOf(beneficiario.getVinculo())));\n \n this.getDdInstruccion().setSelected(Util.getEnumNameFromString(String.valueOf(beneficiario.getInstruccion())));\n this.getDdInstruccionDefaultOptions().setSelectedValue(Util.getEnumNameFromString(String.valueOf(beneficiario.getInstruccion())));\n \n this.getTfOcupacion().setText(beneficiario.getOcupacion());\n \n if (beneficiario.getIngresos() != null) {\n this.getTfIngresos().setText(beneficiario.getIngresos().toString());\n }\n this.getTfSalud().setText(beneficiario.getSalud());\n \n \n }", "title": "" }, { "docid": "1648b2df9b58452316b47edae36cfd05", "score": "0.5762118", "text": "private void listarPersonas() {\n\t\tSystem.out.println(\"******************************************\");\n\t\tfor (Persona tmp : ctrl.listarPersonas()) {\n\t\t\tSystem.out.println(\"[ID: \" + tmp.getIdentificador() + \", Nombre: \" + tmp.getNombre() + \", Apellido: \"\n\t\t\t\t\t+ tmp.getApellido() + \", Direccion: \" + tmp.getDireccion() + \", Comuna: \"\n\t\t\t\t\t+ buscaComuna(tmp.getIdComuna()) + \", Region: \" + buscaRegion(buscaIDRegion(tmp.getIdComuna()))\n\t\t\t\t\t+ \", ¿Activo?: \" + tmp.isActivo() + \"]\");\n\t\t}\n\t\tSystem.out.println(\"******************************************\");\n\t}", "title": "" }, { "docid": "2a7e14991468f9cfb88c566e9a663468", "score": "0.57566285", "text": "public void retirarPacientesConTurnoVencido() {\t\n\t\t\n\t\tIterator<Paciente> pacienteIt = pacientes.iterator();\n\t\tArrayList<Paciente> pacientesConTurnoVencido = new ArrayList<Paciente>();\n\t\t\n\t\twhile (pacienteIt.hasNext()) {\n\n\t\t\tPaciente pa = pacienteIt.next();\n\t\t\t\n\t\t\t\tif (pa.getFechaTurno() != null) {\n\t\t\t\t\t\n\t\t\t\t\tif (Fecha.hoy().posterior(pa.getFechaTurno()) && pa.getVacunaAsignada() != null) {\n\t\t\t\t\t\t// vacuna asignada disponible nuevamente en el stock\n\t\t\t\t\t\tpa.getVacunaAsignada().setDisponible(true);\n\t\t\t\t\t\tpacientesConTurnoVencido.add(pa);\n\t\t\t\t\t\tpacienteIt.remove();\n\t\t\t\t\t}\t\t\n\t\t\t }\n\t\t}\n\t\tretirarPacienteConTurno(pacientesConTurnoVencido);\n\t}", "title": "" }, { "docid": "4ecd8cef7943cc8b3f9f611c3cc886ef", "score": "0.5753835", "text": "public void listaValoresBoton() {\n RequestContext context = RequestContext.getCurrentInstance();\n //Si no hay registro seleccionado\n //if (vigenciaSeleccionada == null && indexPension < 0 && indexRetiro < 0) {\n if (vigenciaSeleccionada == null) {\n context.execute(\"seleccionarRegistro.show()\");\n } else {\n if (vigenciaSeleccionada != null) {\n if (cualCelda == 1) {\n //TiposTrabajadoresDialogo\n tipoTrabajadorSeleccionado = null;\n modificarInfoRegistroTipoTrabajador(listaTiposTrabajadores.size());\n context.update(\"formLovs:TipoTrabajadorDialogo\");\n context.execute(\"TipoTrabajadorDialogo.show()\");\n tipoActualizacion = 0;\n }\n }\n }\n }", "title": "" }, { "docid": "1e7f7bba8f05be1182834c5af2703eea", "score": "0.57505614", "text": "public boolean registrarFactura(){\n \n Helper.instance().clean();\n Scanner sc = new Scanner(System.in);\n Factura factura = new Factura();\n System.out.println(\"Ingrese el NIT del cliente.\");\n String id = sc.next();\n \n Cliente cliente = Cliente.instance().buscarCliente(id);\n \n if(cliente == null){\n System.out.println(\"Lo sentimos no encontramos al usuario en el sistema por favor ingresa sus datos.\");\n cliente = Cliente.instance().crear_cliente();\n }\n factura.setCliente(cliente);\n factura.setEmpleado(Login.instance().getUsuario_logueado());\n \n ArrayList<DetalleFactura> detalles = new ArrayList<DetalleFactura>();\n \n String choice = \"\";\n do{\n Helper.instance().clean();\n System.out.println(\"Factura Serie A \"+factura.getId()+\"\\n\\n\");\n \n \n System.out.println(\"NIT \"+factura.getCliente().getNIT());\n System.out.println(\"Cliente \"+factura.getCliente().getNombre()+\" \"+factura.getCliente().getApellido());\n \n System.out.println(\"Le atiende \"+factura.getEmpleado().getName()+\" \"+factura.getEmpleado().getLastName()+\"\\n\\n\");\n \n for(DetalleFactura detalle: detalles){\n System.out.println(\"ID(\"+detalle.getId()+\"): \"+detalle.getProducto().getTitulo()+\"(Q.\"+detalle.getProducto().getPrecio()+\")*\"+detalle.getCantidad()+\"..........Q.\"+detalle.getTotal());\n \n }\n \n \n \n System.out.println(\"\\n\\nOpciones\");\n System.out.println(\"1. Agregar Detalle\");\n System.out.println(\"2. Eliminar Detalle\");\n System.out.println(\"3. Terminar Facturacion\");\n System.out.println(\"4. Cancelar Factura\");\n \n choice = sc.next();\n \n switch(choice){\n case \"1\":\n \n //AGREGAR DETALLE A FACTURA\n DetalleFactura dtalle = new DetalleFactura();\n \n //BUSCAR PRODUCTO PARA AGREGARLO AL DETALLE\n Producto producto = null;\n\n do{\n System.out.print(\"Ingresa el codigo del producto \");\n producto = Producto.instance().buscar_producto(sc.nextInt());\n\n if(producto == null){\n System.out.println(\"\\n\\nEl producto no se encuentra en nuestros registros vuelve a intentar.\\n\\n\");\n }\n\n }while(producto == null);\n dtalle.setProducto(producto);\n\n System.out.print(\"Ingresa la cantidad.\\n\\n\");\n dtalle.setCantidad(sc.nextInt());\n dtalle.setTotal(dtalle.getProducto().getPrecio()*dtalle.getCantidad());\n\n detalles.add(dtalle);\n\n \n break;\n case \"2\":\n System.out.println(\"Escribe el ID del item a borrar\");\n int toErase = sc.nextInt();\n boolean hasErased =false;\n \n for (int i=detalles.size()-1;i>=0;i--) { \n if(detalles.get(i).getId() == toErase){\n detalles.remove(i);\n hasErased = true;\n }\n }\n \n if(hasErased){\n System.out.println(\"Se ha borrado el detalle.\");\n }else{\n \n System.out.println(\"NO se ha borrado el detalle. Intenta de nuevo.\");\n }\n \n break;\n \n case \"3\":\n \n break;\n \n case \"4\":\n return true;\n default:\n System.out.println(\"Por favor elija una opcion valida\");\n break;\n }\n \n \n }while(!choice.equals(\"3\"));\n \n factura.setDetalles(detalles);\n \n TipoPago tipoPago = null;\n do{\n System.out.println(\"\\n\\nSelecciona el tipo de Pago\");\n\n for(TipoPago pago:TipoPagoControlador.instance().getTipos_de_pago()){ \n System.out.println(pago.getId()+\". \"+pago.getFormaPago());\n }\n \n System.out.println(\"4. Cancelar factura\");\n \n int id_tipo_pago = sc.nextInt();\n \n if(id_tipo_pago == 4){\n return true;\n }\n \n tipoPago = TipoPagoControlador.instance().buscar(id_tipo_pago);\n \n \n if(tipoPago == null){\n System.out.print(\"\\n\\nSelecciona un tipo de pago valido\\n\\n\");\n }\n \n \n if(LineaCredito.instance().buscar_linea_credito(cliente.getNIT()) != null){\n System.out.print(\"\\n\\nEl usuario ya cuenta con una linea de credito activa por favor selecciona otro metodo de pago\\n\\n\");\n tipoPago = null;\n }\n \n }while(tipoPago == null);\n \n \n \n factura.setTipoPago(tipoPago);\n \n if(tipoPago.getId() == 3){\n LineaCredito.instance().crear_linea_credito(String.valueOf(factura.getId()), cliente.getNombre(), cliente.getNIT(), factura.getTotal().toString());\n }\n \n factura.setFecha(new Date());\n \n this.facturas.add(factura);\n \n return true;\n }", "title": "" }, { "docid": "a54714e244c2ccb43a32189ae7ce0db3", "score": "0.5744838", "text": "public void cargarUsuarios(int contador) {\n listadoRegistrado = new Usuario[contador];\n listadoJugadores = new Usuario[contador];\n coloracarUsuarios();\n actualizarListadoJugadores(JTableJugadores, listadoJugadores);\n actualizarListadoJugadores(JTableListadoRegistro, listadoRegistrado);\n\n }", "title": "" }, { "docid": "1f93b0c16a42f8d61e8a28ac4062d438", "score": "0.5725526", "text": "private void guardarEstadoObjetosUsados() {\n \n Beneficiario beneficiario = (Beneficiario) this.obtenerObjetoDelElementoPila(0, Beneficiario.class);\n Persona persona = (Persona) this.obtenerObjetoDelElementoPila(1, Persona.class);\n ObraSocial obraSocial = (ObraSocial) this.obtenerObjetoDelElementoPila(2, ObraSocial.class);\n String tipoSeleccion = (String) this.obtenerObjetoDelElementoPila(3, String.class);\n \n Beneficiario.Vinculo vinculoBeneficiario = null;\n Beneficiario.Instruccion instruccionBeneficiario = null;\n \n Object vinculoSelected = this.getDdVinculo().getSelected();\n Object instruccionSelected = this.getDdInstruccion().getSelected();\n Object ocupacion = this.getTfOcupacion().getText();\n Object ingresos = this.getTfIngresos().getText(); \n Object salud = this.getTfSalud().getText();\n\n //Validador v = new Validador();\n\n// if (monto != null && !monto.toString().equals(\"\") && v.esFlotante(monto.toString())) {\n// beneficiario.Monto(Double.valueOf(Double.parseDouble(monto.toString())));\n// }\n\n if ((vinculoSelected != null) && (vinculoSelected.toString().length() > 0) && tipoSeleccion == \"FAMILIAR\") {\n vinculoBeneficiario = Beneficiario.Vinculo.valueOf(vinculoSelected.toString());\n } else {\n vinculoBeneficiario = null;\n }\n beneficiario.setVinculo(vinculoBeneficiario);\n \n if ((instruccionSelected != null) && (instruccionSelected.toString().length() > 0)) {\n instruccionBeneficiario = Beneficiario.Instruccion.valueOf(instruccionSelected.toString());\n } else {\n instruccionBeneficiario = null;\n }\n beneficiario.setInstruccion(instruccionBeneficiario);\n \n if (ocupacion != null && ocupacion != \"\") {\n beneficiario.setOcupacion(ocupacion.toString());\n } else {\n beneficiario.setOcupacion(null);\n }\n \n if (ingresos != null && ingresos != \"\") {\n beneficiario.setIngresos(Conversor.getDoubleDeString(ingresos.toString()));\n } else {\n beneficiario.setIngresos(null);\n }\n \n if (salud != null && salud != \"\") {\n beneficiario.setSalud((salud.toString()));\n } else {\n beneficiario.setSalud(null);\n }\n \n if (persona != null && persona.getIdPersona() != -1) {\n beneficiario.setPersona(persona);\n } else {\n beneficiario.setPersona(null);\n }\n \n if (obraSocial != null && obraSocial.getIdObraSocial() != -1) {\n beneficiario.setObraSocial(obraSocial);\n } else {\n beneficiario.setObraSocial(null);\n }\n \n int ind = 0;\n this.getElementoPila().getObjetos().set(ind++, beneficiario);\n this.getElementoPila().getObjetos().set(ind++, persona);\n this.getElementoPila().getObjetos().set(ind++, obraSocial);\n }", "title": "" }, { "docid": "9df9641d0da3d5892c040f55b0afc10f", "score": "0.570902", "text": "public void doPedirDatos() {\r\n\t\tnotifyObservers(EventoLogin.PEDIR_DATOS_LOGIN);\r\n\t}", "title": "" }, { "docid": "0b677324dc24d146f00ebe6f07eee5d7", "score": "0.57046753", "text": "public boolean obraDisponivel(Obra obra){\n // quantidade de reservas da obra\n InterfaceDAO<TipoReserva> situacaoDAO = new HibernateDAO<TipoReserva>(TipoReserva.class, FacesContextUtil.getRequestSession());\n TipoReserva situacao = situacaoDAO.getEntity(TipoReserva.PENDENTE);\n DetachedCriteria criteria = DetachedCriteria.forClass(Reserva.class);\n criteria.add(Restrictions.eq(\"obra\", obra))\n .add(Restrictions.eq(\"tiporeserva\", situacao));\n InterfaceDAO<Reserva> reservaDAO = new HibernateDAO<Reserva>(Reserva.class, FacesContextUtil.getRequestSession());\n List<Reserva> reservasObra = reservaDAO.getListByDetachedCriteria(criteria);\n \n // quantidade de exemplares disponiveis\n DetachedCriteria criteria2 = DetachedCriteria.forClass(Exemplar.class);\n criteria2.add(Restrictions.eq(\"obra\", obra))\n .add(Restrictions.eq(\"disponivel\", Boolean.TRUE));\n InterfaceDAO<Exemplar> exemplarDAO = new HibernateDAO<Exemplar>(Exemplar.class, FacesContextUtil.getRequestSession());\n List<Exemplar> exemplaresDisp = exemplarDAO.getListByDetachedCriteria(criteria2);\n \n if((reservasObra == null || reservasObra.isEmpty()) && (exemplaresDisp == null || exemplaresDisp.isEmpty())){\n System.out.println(\"Reserva = null; exemplar = null\");\n return true;\n } else if((reservasObra != null && !reservasObra.isEmpty()) && (exemplaresDisp == null || exemplaresDisp.isEmpty())){\n System.out.println(reservasObra.size()+\" Reserva != null; exemplar = null\");\n return true;\n } else if((reservasObra == null || reservasObra.isEmpty()) && (exemplaresDisp != null && !exemplaresDisp.isEmpty())){\n System.out.println(\"Reserva = null; exemplar != null \"+exemplaresDisp.size());\n return false;\n }else if((reservasObra != null && !reservasObra.isEmpty()) && (exemplaresDisp != null && !exemplaresDisp.isEmpty())){\n System.out.println(reservasObra.size()+\"Reserva != null; exemplar != null\"+exemplaresDisp.size());\n if(reservasObra.size() >= exemplaresDisp.size())\n return true;\n else\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "14f777a5c076dbd11cd63451bdad8d7e", "score": "0.57015276", "text": "@Override\r\n\tpublic boolean cadastrarEquipamento(Usuario usuario) {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "9fed870183de78d61210ff1e1fb1bbee", "score": "0.5695271", "text": "private void detalle() throws Exception{\n pagina(\"contenido_cargo_detalle\");\n \n String oid = conectorParametroLimpia(\"oid\", \"\", true);\n \n DTOOID dto = new DTOOID();\n \n dto.setOid(new Long(oid));\n dto.setOidIdioma(UtilidadesSession.getIdioma(this));\n dto.setOidPais(UtilidadesSession.getPais(this));\n \n MareBusinessID id = new MareBusinessID(\"CCCRepDetalleCargos\");\n\t String formatoFechaSesion = UtilidadesSession.getFormatoFecha(this);\n\t Vector vec = new Vector();\n \n vec.add(dto);\n vec.add(id);\n \n DTODetalleCargos dtoDetalleCargos = (DTODetalleCargos)conectar(\"ConectorUA\",vec).objeto(\"dtoSalida\");\n \n RecordSet rsDatosLista = dtoDetalleCargos.getDatosLista();\n \n // Modificado Rafael Romero - SiCC 20070254 - 10/05/2007\n asignarAtributo(\"LABELC\", \"lbldtTotal\", \"valor\", rsDatosLista.getValueAt(0,8).toString());\n\n\t //CCC-04 jrivas 28/7/2008\n asignarAtributo(\"LABELC\", \"lblCodClientedt\", \"valor\", dtoDetalleCargos.getCodigoConsultora());\n asignarAtributo(\"LABELC\", \"lblNombredt\", \"valor\", dtoDetalleCargos.getApenom());\n asignarAtributo(\"LABELC\", \"lclCampaniat\", \"valor\", dtoDetalleCargos.getCampania());\n asignarAtributo(\"LABELC\", \"lblNumConsolidadot\", \"valor\", dtoDetalleCargos.getNumeroConsolidado());\n String numFact = \"\";\n\t if (dtoDetalleCargos.getNumeroFactura() != null && !dtoDetalleCargos.getNumeroFactura().esVacio()){\n\t\t for (int i = 0; i < dtoDetalleCargos.getNumeroFactura().getRowCount(); i++) {\n\t\t\tnumFact = numFact + dtoDetalleCargos.getNumeroFactura().getValueAt(i, 0) + \" <BR/>\";\n\t\t }\n\t }\n\t asignarAtributo(\"LABELC\", \"lblNumFacturat\", \"valor\", numFact);\n asignarAtributo(\"LABELC\", \"lblFechaFacturaciont\", \"valor\", this.formatFecha(dtoDetalleCargos.getFechaFacturacion(),formatoFechaSesion));\n\t asignarAtributo(\"LABELC\", \"lblChequeot\", \"valor\", dtoDetalleCargos.getIndicadorChequeo());\n asignarAtributo(\"LABELC\", \"lblImporteFletet\", \"valor\", dtoDetalleCargos.getImporteFletes());\n asignarAtributo(\"LABELC\", \"lblImpuestost\", \"valor\", dtoDetalleCargos.getImpuestos());\n asignarAtributo(\"LABELC\", \"lblSaldoPendCampaniat\", \"valor\", dtoDetalleCargos.getSaldoPendiente());\n asignarAtributo(\"LABELC\", \"lblPagosPosteriorest\", \"valor\", dtoDetalleCargos.getPagosPosteriores());\n asignarAtributo(\"LABELC\", \"lblPagosDiferidost\", \"valor\", dtoDetalleCargos.getPagosDiferidos());\n\n\t DruidaConector conLista = UtilidadesBelcorp.generarConector(\"LISTA\", rsDatosLista, rsDatosLista.getColumnIdentifiers());\n asignar(\"LISTADOA\", \"listado1\", conLista, \"LISTA\");\n \n \n }", "title": "" }, { "docid": "493a9a4c2687b0239f842bb3ab2e2447", "score": "0.5693329", "text": "void listar() {\n imprimir();\n if(objAlumno.numElementos() > 0) {\n imprimir(\"No. de control \\t Apellido pat. \\t Apellido mat. \\t Nombre \\t Semestre \\t\");\n for (int i=0; i<objAlumno.numElementos(); i++) {\n Alumno al = objAlumno.obtener(i);\n imprimir(al.getNoControl() + \"\\t\" + al.getApellidoPat() + \"\\t\" + al.getApellidoMat()\n + \"\\t\" + al.getNombre() + \"\\t\" + al.getSemestre()); \n }\n }\n else {\n mensaje(\"No existen alumnos registrados\");\n }\n \n }", "title": "" }, { "docid": "705fb82c055e2e96cb9289934f957928", "score": "0.5688532", "text": "private boolean validaDadosDemaisUsuarios() {\n\n Table usuariosTable = view.getUsersTable();\n Set<String> identificadoresUsuarios = new HashSet<>();\n\n for (Object itemID : usuariosTable.getItemIds()) {\n\n Item linha = usuariosTable.getItem(itemID);\n\n // Validates if the users are not already registered in the system\n String emailUsuario = (String) linha.getItemProperty(messages.getString(\"SignupView.usuariosTable.email\")).getValue(); // @ATENCAO\n System.out.println(\"usuario \" + emailUsuario);\n\n if (novoCadastro && model.verificaLoginExistente(emailUsuario)) {\n\n // Displays an error message indicating that this User already exists in the system\n Notification.show(messages.getString(\"SignupPresenter.mensagem.usuarioExistente\"), Notification.Type.WARNING_MESSAGE);\n\n return false;\n }\n\n // Validates if the user is no longer related to the same enterprise\n if (identificadoresUsuarios.contains(emailUsuario)) {\n // Displays an error message indicating that this User is duplicated\n Notification.show(messages.getString(\"SignupPresenter.mensagem.usuarioDuplicado\"), Notification.Type.WARNING_MESSAGE);\n\n return false;\n\n }\n identificadoresUsuarios.add(emailUsuario);\n }\n\n return true;\n\n }", "title": "" }, { "docid": "b2995b675a1e501bfcd5bbbbd7b1517f", "score": "0.568567", "text": "public void inicio(){\n for(int i=0; i<cantPisos;i++){\n ArrayList<Ventana> ventanasPiso=new ArrayList<Ventana>();\n for(int j=0;j<cantVentanas;j++){\n \t Ventana ventana=new Ventana(2,i,j);\n ventanasPiso.add(ventana);\n if(i==0&&j==2)ventana.esPuerta(true);\n if(i==1&&j==2)ventana.esCentral(true);\n }\n ventanas.add(ventanasPiso);\n }\n Usuario heroe=new Usuario(this);\n heroes.add(heroe);\n if(tiposPartida[0]==1){\n \theroes.add(new Usuario(this));\n }\n else if (tiposPartida[1]==1)heroes.add(new Candy(this,heroe));\n else heroes.add(new Calhoun(this,heroe));\n heroes.get(1).setPosJ(cantVentanas-1);\n obstaculos.add(new Ciguena(this));\n obstaculos.add(new Pato(this));\n obstaculos.add(new Ladrillo(this));\n obstaculos.add(new Ladrillo(this));\n obstaculos.add(new Ladrillo(this));\n sorpresas.add(new Pastel(this));\n sorpresas.add(new Kriptonita(this));\n sorpresas.add(new Bebida(this));\n ponerBarreras();\n }", "title": "" }, { "docid": "a8c91e40657f6e41cfa98167abda700d", "score": "0.5667032", "text": "public void mostrar() throws DataAccessException {\n //TABLA NIVEL GRADO\n GestorNivelGrado gestor = new GestorNivelGrado();\n Collection coleccion = gestor.mostrar(id_usuario);\n ArrayList registrobuscados = (ArrayList) coleccion;\n Iterator<NivelGrado> it = registrobuscados.iterator();\n while (it.hasNext()) {\n NivelGrado nivel = it.next();\n\n String num_nivelgrado = Integer.toString(nivel.getNum_nivelgrado());\n String titulo = nivel.getTitulo();\n String universidad = nivel.getUniversidad();\n String facultad = nivel.getFacultad();\n String aprobacion_tesis = Integer.toString(nivel.getAprobacion_tesis());\n String pais = nivel.getPais();\n String provincia = nivel.getProvincia();\n String ciudad = nivel.getCiudad();\n String area_conocimiento = nivel.getArea_conocimiento();\n String coneau = nivel.getConeau();\n String obtencion = Integer.toString(nivel.getObtencion());\n //AQUI MANDO LA PELICULA AL JTABLE\n Object[] nuevoNivel = {num_nivelgrado, titulo, universidad, facultad, aprobacion_tesis, pais, provincia, ciudad, area_conocimiento, coneau, obtencion};\n modelo1.addRow(nuevoNivel);\n }\n //TABLA NIVEL POSGRADO\n GestorNivelPosgrado gestor2 = new GestorNivelPosgrado();\n Collection coleccion2 = gestor2.mostrar(id_usuario);\n ArrayList registrobuscados2 = (ArrayList) coleccion2;\n Iterator<NivelPosgrado> it2 = registrobuscados2.iterator();\n while (it2.hasNext()) {\n NivelPosgrado posgrado = it2.next();\n\n String num_nivelposgrado = Integer.toString(posgrado.getNum_nivelposgrado());\n String nivel_posgrado = posgrado.getNivel_posgrado();\n String titulo = posgrado.getTitulo();\n String universidad = posgrado.getUniversidad();\n String facultad = posgrado.getFacultad();\n String aprobacion_tesis = Integer.toString(posgrado.getAprobacion_tesis());\n String pais = posgrado.getPais();\n String provincia = posgrado.getProvincia();\n String ciudad = posgrado.getCiudad();\n String area_conocimiento = posgrado.getArea_conocimiento();\n String coneau = posgrado.getConeau();\n String obtencion = Integer.toString(posgrado.getObtencion());\n //AQUI MANDO LA PELICULA AL JTABLE\n Object[] nuevoNivelPosgrado = {num_nivelposgrado, nivel_posgrado, titulo, universidad, facultad, aprobacion_tesis, pais, provincia, ciudad, area_conocimiento, coneau, obtencion};\n modelo2.addRow(nuevoNivelPosgrado);\n }\n //TABLA CURSO POSGRADO\n GestorCursoPosgrado gestor3 = new GestorCursoPosgrado();\n Collection coleccion3 = gestor3.mostrar(id_usuario);\n ArrayList registrobuscados3 = (ArrayList) coleccion3;\n Iterator<CursoPosgrado> it3 = registrobuscados3.iterator();\n while (it3.hasNext()) {\n CursoPosgrado cursop = it3.next();\n\n String num_curso = Integer.toString(cursop.getNum_curso());\n String curso = cursop.getCurso();\n String universidad = cursop.getUniversidad();\n String facultad = cursop.getFacultad();\n String anio = Integer.toString(cursop.getAnio());\n String carga_horaria = Integer.toString(cursop.getCarga_horaria());\n String pais = cursop.getPais();\n String provincia = cursop.getProvincia();\n String ciudad = cursop.getCiudad();\n String area_conocimiento = cursop.getArea_conocimiento();\n String coneau = cursop.getConeau();\n String obtencion = Integer.toString(cursop.getObtencion());\n\n Object[] nuevoCursoPosgrado = {num_curso, curso, universidad, facultad, anio, carga_horaria, pais, provincia, ciudad, area_conocimiento, coneau, obtencion};\n modelo3.addRow(nuevoCursoPosgrado);\n }\n }", "title": "" }, { "docid": "eacf04d7e5bdb61729b41bc4adf4abf4", "score": "0.56230724", "text": "private boolean validaDadosEmpresasColigadas() {\n\n final Table empresasColigadasTable = view.getAssociatedTable();\n Set<String> identificadoresEmpresasColigadas = new HashSet<>();\n\n for (Object itemID : empresasColigadasTable.getItemIds()) {\n\n Item linha = empresasColigadasTable.getItem(itemID);\n\n String cpfCnpjSubEmpresa = (String) linha.getItemProperty(messages.getString(\"SignupView.coligadasTable.email\")).getValue(); // @ATENCAO\n String nomeSubEmpresa = (String) linha.getItemProperty(messages.getString(\"SignupView.coligadasTable.nome\")).getValue(); // @ATENCAO\n char tipoPessoaSubEmpresa = 'J'; // @TODO: Get from view\n if (cpfCnpjSubEmpresa != null) {\n if (model.verificaEmpresaExistente(cpfCnpjSubEmpresa, tipoPessoaSubEmpresa)) {\n\n // Displays an error message indicating that this company exists in the system\n Notification.show(messages.getString(\"SignupPresenter.mensagem.empresaPreExistente\"), Notification.Type.WARNING_MESSAGE);\n\n return false;\n }\n }\n // Validates the sub company is no longer part of the same parent company\n if (identificadoresEmpresasColigadas.contains(nomeSubEmpresa)) {\n // Displays an error message indicating that this sub company\n // Was registered in duplicate\n Notification.show(messages.getString(\"SignupPresenter.mensagem.empresaColigadaDuplicada\"), Notification.Type.WARNING_MESSAGE);\n\n return false;\n\n }\n\n identificadoresEmpresasColigadas.add(nomeSubEmpresa);\n }\n\n return true;\n\n }", "title": "" }, { "docid": "23fd4c94a8f066592857792ef0e5e50e", "score": "0.56208646", "text": "private void leverEvenFenetreDepartVisible() {\t\r\n\t\tfor(VisibiliteFenDepartListener ecout : listeEcouteurs ) {\r\n\t\t\tecout.rendreFenetreDepartVisible();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "b2ea7737e412be2ce653e44911f2aac0", "score": "0.5620178", "text": "private void cargarUsuarios() {\n\n\t\t/////////////////////////// Creación objetos\n\t\t/////////////////////////// necesarios///////////////////////////\n\n\t\tPrendaBorrador prendaBorrador = new PrendaBorrador();\n\n\t\tPrenda prendaMusculosa1;\n\t\tPrenda prendaRemera1;\n\t\tPrenda prendaRemera2;\n\t\tPrenda prendaCamisa1;\n\t\tPrenda prendaCamisa2;\n\t\tPrenda prendaCampera1;\n\t\tPrenda prendaCampera2;\n\t\tPrenda prendaSaco1;\n\t\tPrenda prendaShort1;\n\t\tPrenda prendaPantalon1;\n\t\tPrenda prendaPantalon2;\n\t\tPrenda prendaOjotas1;\n\t\tPrenda prendaZapatilla1;\n\t\tPrenda prendaCalzado1;\n\t\tPrenda prendaCalzado2;\n\n\t\tGuardarropa guardarropa1 = new Guardarropa();\n\t\tGuardarropa guardarropa2 = new Guardarropa();\n\n\t\tDateTime fechaFutura = new DateTime().plusDays(1);\n\n\t\tTipoDeUsuario tipoDeUsuario = new UsuarioPremium();\n\t\tUsuario usuario1 = new Usuario(tipoDeUsuario);\n\t\tUsuario usuario2 = new Usuario(tipoDeUsuario);\n\n\t\t/////////////////////////// Usuario n°1///////////////////////////\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.MUSCULOSA);\n\t\tprendaBorrador.setMaterial(Material.ALGODON);\n\t\tprendaBorrador.setColor(new Color(13, 3, 41));\n\t\tprendaMusculosa1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.REMERA);\n\t\tprendaBorrador.setMaterial(Material.ALGODON);\n\t\tprendaBorrador.setColor(new Color(12, 34, 51));\n\t\tprendaRemera1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.REMERA);\n\t\tprendaBorrador.setMaterial(Material.SEDA);\n\t\tprendaBorrador.setColor(new Color(14, 20, 10));\n\t\tprendaRemera2 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.CAMISA);\n\t\tprendaBorrador.setMaterial(Material.ALGODON);\n\t\tprendaBorrador.setColor(new Color(0, 0, 0));\n\t\tprendaCamisa1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.CAMISA);\n\t\tprendaBorrador.setMaterial(Material.SEDA);\n\t\tprendaBorrador.setColor(new Color(75, 34, 1));\n\t\tprendaCamisa2 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.CAMPERA);\n\t\tprendaBorrador.setMaterial(Material.CORDEROY);\n\t\tprendaBorrador.setColor(new Color(0, 0, 0));\n\t\tprendaCampera1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.CAMPERA);\n\t\tprendaBorrador.setMaterial(Material.GABARDINA);\n\t\tprendaBorrador.setColor(new Color(33, 2, 24));\n\t\tprendaCampera2 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.SACO);\n\t\tprendaBorrador.setMaterial(Material.GABARDINA);\n\t\tprendaBorrador.setColor(new Color(13, 3, 41));\n\t\tprendaSaco1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.SHORT);\n\t\tprendaBorrador.setMaterial(Material.ALGODON);\n\t\tprendaBorrador.setColor(new Color(13, 3, 41));\n\t\tprendaShort1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.PANTALON);\n\t\tprendaBorrador.setMaterial(Material.CORDEROY);\n\t\tprendaBorrador.setColor(new Color(14, 20, 10));\n\t\tprendaPantalon1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.PANTALON);\n\t\tprendaBorrador.setMaterial(Material.JEAN);\n\t\tprendaBorrador.setColor(new Color(14, 24, 50));\n\t\tprendaPantalon2 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.OJOTAS);\n\t\tprendaBorrador.setMaterial(Material.GOMA);\n\t\tprendaBorrador.setColor(new Color(13, 3, 41));\n\t\tprendaOjotas1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.ZAPATILLA);\n\t\tprendaBorrador.setMaterial(Material.ALGODON);\n\t\tprendaBorrador.setColor(new Color(4, 24, 10));\n\t\tprendaZapatilla1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.ZAPATO);\n\t\tprendaBorrador.setMaterial(Material.CUERO);\n\t\tprendaBorrador.setColor(new Color(12, 24, 60));\n\t\tprendaCalzado1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.ZAPATO);\n\t\tprendaBorrador.setMaterial(Material.SINTETICO);\n\t\tprendaBorrador.setColor(new Color(14, 24, 50));\n\t\tprendaCalzado2 = prendaBorrador.crear();\n\n\t\tguardarropa1.incluirEnGuardarropa(prendaMusculosa1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaRemera1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaRemera2);\n\t\tguardarropa1.incluirEnGuardarropa(prendaCamisa1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaCamisa2);\n\t\tguardarropa1.incluirEnGuardarropa(prendaCampera1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaCampera2);\n\t\tguardarropa1.incluirEnGuardarropa(prendaSaco1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaShort1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaPantalon1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaPantalon2);\n\t\tguardarropa1.incluirEnGuardarropa(prendaOjotas1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaZapatilla1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaCalzado1);\n\t\tguardarropa1.incluirEnGuardarropa(prendaCalzado2);\n\n\t\tusuario1.agregarGuardarropa(guardarropa1);\n\n\t\tusuario1.agregarEvento(\"Casamiento\", fechaFutura, \"Buenos Aires\", TipoDeEvento.FORMAL);\n\t\tusuario1.agregarEvento(\"Cena familiar\", new DateTime(2029, 5, 30, 23, 00), \"Buenos Aires\",\n\t\t\t\tTipoDeEvento.INFORMAL);\n\t\tusuario1.agregarEvento(\"Salir con amigos\", fechaFutura, \"Buenos Aires\", TipoDeEvento.INFORMAL);\n\n\t\t/////////////////////////// Usuario n°2///////////////////////////\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.MUSCULOSA);\n\t\tprendaBorrador.setMaterial(Material.ALGODON);\n\t\tprendaBorrador.setColor(new Color(1, 1, 1));\n\t\tprendaMusculosa1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.REMERA);\n\t\tprendaBorrador.setMaterial(Material.ALGODON);\n\t\tprendaBorrador.setColor(new Color(45, 66, 10));\n\t\tprendaRemera1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.REMERA);\n\t\tprendaBorrador.setMaterial(Material.SEDA);\n\t\tprendaBorrador.setColor(new Color(44, 50, 11));\n\t\tprendaRemera2 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.CAMISA);\n\t\tprendaBorrador.setMaterial(Material.SINTETICO);\n\t\tprendaBorrador.setColor(new Color(12, 2, 46));\n\t\tprendaCamisa1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.CAMISA);\n\t\tprendaBorrador.setMaterial(Material.SEDA);\n\t\tprendaBorrador.setColor(new Color(9, 33, 3));\n\t\tprendaCamisa2 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.CAMPERA);\n\t\tprendaBorrador.setMaterial(Material.CORDEROY);\n\t\tprendaBorrador.setColor(new Color(12, 34, 4));\n\t\tprendaCampera1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.CAMPERA);\n\t\tprendaBorrador.setMaterial(Material.GABARDINA);\n\t\tprendaBorrador.setColor(new Color(3, 22, 44));\n\t\tprendaCampera2 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.SACO);\n\t\tprendaBorrador.setMaterial(Material.GABARDINA);\n\t\tprendaBorrador.setColor(new Color(0, 0, 0));\n\t\tprendaSaco1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.SHORT);\n\t\tprendaBorrador.setMaterial(Material.ALGODON);\n\t\tprendaBorrador.setColor(new Color(82, 31, 22));\n\t\tprendaShort1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.PANTALON);\n\t\tprendaBorrador.setMaterial(Material.GABARDINA);\n\t\tprendaBorrador.setColor(new Color(19, 41, 22));\n\t\tprendaPantalon1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.PANTALON);\n\t\tprendaBorrador.setMaterial(Material.JEAN);\n\t\tprendaBorrador.setColor(new Color(1, 2, 5));\n\t\tprendaPantalon2 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.OJOTAS);\n\t\tprendaBorrador.setMaterial(Material.GOMA);\n\t\tprendaBorrador.setColor(new Color(33, 32, 41));\n\t\tprendaOjotas1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.ZAPATILLA);\n\t\tprendaBorrador.setMaterial(Material.ALGODON);\n\t\tprendaBorrador.setColor(new Color(1, 1, 87));\n\t\tprendaZapatilla1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.ZAPATO);\n\t\tprendaBorrador.setMaterial(Material.CUERO);\n\t\tprendaBorrador.setColor(new Color(66, 12, 22));\n\t\tprendaCalzado1 = prendaBorrador.crear();\n\n\t\tprendaBorrador.setTipoDePrenda(TipoDePrenda.ZAPATO);\n\t\tprendaBorrador.setMaterial(Material.SINTETICO);\n\t\tprendaBorrador.setColor(new Color(33, 23, 53));\n\t\tprendaCalzado2 = prendaBorrador.crear();\n\n\t\tguardarropa2.incluirEnGuardarropa(prendaMusculosa1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaRemera1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaRemera2);\n\t\tguardarropa2.incluirEnGuardarropa(prendaCamisa1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaCamisa2);\n\t\tguardarropa2.incluirEnGuardarropa(prendaCampera1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaCampera2);\n\t\tguardarropa2.incluirEnGuardarropa(prendaSaco1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaShort1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaPantalon1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaPantalon2);\n\t\tguardarropa2.incluirEnGuardarropa(prendaOjotas1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaZapatilla1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaCalzado1);\n\t\tguardarropa2.incluirEnGuardarropa(prendaCalzado2);\n\n\t\tusuario2.agregarGuardarropa(guardarropa2);\n\n\t\tusuario2.agregarEvento(\"Reunion de trabajo\", fechaFutura, \"Buenos Aires\", TipoDeEvento.FORMAL);\n\t\tusuario2.agregarEvento(\"Fiesta con amigos\", new DateTime(2030, 2, 22, 23, 00), \"Buenos Aires\",\n\t\t\t\tTipoDeEvento.INFORMAL);\n\t\tusuario2.agregarEvento(\"Comida entre amigos\", fechaFutura, \"Buenos Aires\", TipoDeEvento.INFORMAL);\n\n\t\t/////////////////////////// Guardado de usuarios en\n\t\t/////////////////////////// repositorio///////////////////////////\n\n\t\tthis.usuarios.add(usuario1);\n\t\tthis.usuarios.add(usuario2);\n\t}", "title": "" }, { "docid": "989aa85251d94515bcce9a15d9d21cf6", "score": "0.5613828", "text": "public void llegaEstudiante(String nombre) {\r\n\t\ttry {\r\n\t\t\tAreaEspera.acquire();\r\n\t\t\tlistaEstudiantes.add(nombre);\r\n\t\t\tSystem.out.println(\"- [\" + nombre + \"] Agregado a la lista de espera\");\r\n\t\t\tAreaEspera.release();\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "594d6cbed57b1f0dd8f1df145bd6f31b", "score": "0.5606146", "text": "public void registrar() {\n\n\n MesaDao dao;\n\n try {\n if(mesa.getCantidad_comensales()==0)\n {\n addMessage(\"Ingrese la Catidad de Comensales\");\n }\n else\n { if(mesa.getUbicacion().equals(\"\"))\n {\n addMessage(\"Ingrese La Ubicacion de la Mesa\");\n }\n else\n {\n dao = new MesaDao();\n dao.registrar(mesa);\n }}\n } catch (Exception e) {\n System.out.println(e);\n }\n\n }", "title": "" }, { "docid": "68ea0d8f4162dcb3d553522a8e88100a", "score": "0.560582", "text": "@Override\r\n\tpublic List<Privilegio> findAllPrivilegioActive() throws SQLException, Exception {\n\t\tgetCurrentSession().getTransaction().begin();\r\n\t\tList<Privilegio> lista = new ArrayList<Privilegio>();\r\n\t\tQuery query = getCurrentSession().createQuery(\"from \"+Privilegio.class.getName()+\" c WHERE c.estado = 1 \"); \r\n\t\tif(query != null){\r\n\t\t\tlista = query.list();\r\n\t\t}\r\n\t\tgetCurrentSession().getTransaction().commit();\r\n\t\treturn lista;\r\n\t}", "title": "" }, { "docid": "8dc415e30b321b4626cbc0dcbceb668d", "score": "0.5605424", "text": "public void llenarDetalle() throws ServicioExcepcion {\n int contador = 0;\n int contador1 = 1;\n Integer tarifa = 0;\n String codigoPorcentaje = \"0\";\n BigDecimal trvIvaDet = BigDecimal.ZERO;\n for (TramiteValor tramite : getCajasRecBb().getListaTramiteValor()) {\n if (getCajasRecBb().getListaFacturaDetalle().size() > 1) {\n\n if (!getCajasRecBb().getEstado()) {\n FacturaDetalle detalle = crearDetalleFac(contador1).get(contador);\n getCajasRecBb().getListaFacturaDetalle().add(detalle);\n // addSuccessMessage(\"Tramite Agregado Correctamente\");\n calcularValoresFactura();\n\n }\n\n } else {\n FacturaDetalle detalle = crearDetalleFac(contador1).get(contador);\n if (tramite.getTrvIva().compareTo(BigDecimal.ZERO) == 0) {\n\n trvIvaDet = trvIvaDet.add(tramite.getTrvValor()).setScale(2, RoundingMode.DOWN);\n\n } else {\n BigDecimal tarifas = getCajasRecBb().getInstitucion().getInsIva().multiply(BigDecimal.valueOf(100));\n tarifa = tarifas.intValue();\n codigoPorcentaje = \"2\";\n trvIvaDet = trvIvaDet.add(getCajasRecBb().getInstitucion().getInsIva().multiply(tramite.getTrvValor())).setScale(2, RoundingMode.DOWN);\n }\n getCajasRecBb().getListaFacturaDetalle().add(detalle);\n System.out.println(\"base impuestos\" + detalle.getFdiBaseImponible());\n// addSuccessMessage(\"Tramite Agregado Correctamente\");\n calcularValoresFactura();\n }\n\n contador++;\n contador1++;\n }\n }", "title": "" }, { "docid": "9990f295acc6c2164c87985fbc89b14f", "score": "0.5594898", "text": "public void agregar() throws DataAccessException {\n\n if (nombre.getText().isEmpty() || apellido.getText().isEmpty() || cuil.getText().isEmpty() || fec_nac.getText().isEmpty() || grupo1.isSelected(null) || provincia.getText().isEmpty()\n || departamento.getText().isEmpty() || calle.getText().isEmpty() || num.getText().isEmpty() || cp.getText().isEmpty() || codareatel.getText().isEmpty() || numtel.getText().isEmpty() || email.getText().isEmpty()) {\n JOptionPane.showMessageDialog(null, \"Error: Campo vacio\");\n } else {\n Usuario usuario = new Usuario();\n GestorUsuario gestor = new GestorUsuario();\n usuario.setNombre(nombre.getText());\n usuario.setApellido(apellido.getText());\n usuario.setCuil(cuil.getText());\n if (rbtn1.isSelected() == true) {\n String sexo = \"Masculino\";\n usuario.setSexo(sexo);\n } else if (rbtn2.isSelected() == true) {\n String sexo = \"Femenino\";\n usuario.setSexo(sexo);\n }\n java.sql.Date sqlDate = gestor.fechaString(fec_nac.getText());\n usuario.setFec_nac(sqlDate);\n String pais = (String) combo1.getSelectedItem();//PAIS\n usuario.setPais(pais);\n usuario.setProvincia(provincia.getText());\n usuario.setDepartamento(departamento.getText());\n usuario.setCalle(calle.getText());\n usuario.setNum(Integer.parseInt(num.getText()));\n usuario.setPiso(piso.getText());\n usuario.setCodigo_postal(Integer.parseInt(cp.getText()));\n String telefono = codareatel.getText().concat(numtel.getText());\n usuario.setTelefono(Long.parseLong(telefono));\n String celular = codareacel.getText().concat(numcel.getText());\n usuario.setCelular(Long.parseLong(celular));\n usuario.setEmail(email.getText());\n String categoria = (String) combo4.getSelectedItem();//CATEGORIA\n usuario.setId_categoria(categoria);\n gestor.agregarUsuarioDatosPersonales(usuario, id_usuario);\n JOptionPane.showMessageDialog(null, \" Datos registrados con exito \");\n }\n }", "title": "" }, { "docid": "675c23b708258b4e8ee16ee3f169b145", "score": "0.55863774", "text": "private void solicitarListaActualizada() {\n\n\t\tResponseEntity<Departamento[]> respuesta = restTemplate.getForEntity(INIT_URL+\"/get/all\", Departamento[].class);\n\n\t\tStream<Departamento> consumer = Stream.of(respuesta.getBody());\n\n\t\tconsumer.forEach(departamentos:: add);\n\t\t\n\t\tdepartamentos.stream().forEach(System.out::println);\n\n\t}", "title": "" }, { "docid": "01938e329719d9da0a67819c3f3527c2", "score": "0.55757135", "text": "private void chargeJoueurs() {\r\n this.lJoueurs = (ArrayList)JoueurManager.getAll();\r\n }", "title": "" }, { "docid": "9ca6e3defdff2949acb21980fa202f2c", "score": "0.55731857", "text": "public void listarContadoAnticipoN(){\r\n\t\t\r\n\t\ttry {\r\n\t\t\tList<Funcionario> listaVendedor = null;\r\n\t\t\tList<ContadoAnticipo> listaRegistros;\r\n\t\t\tlistaContado = new ArrayList<>();\r\n\t\t\tString tipo;\r\n\t\t\tFuncionarioDao daoF = new FuncionarioDao();\r\n\t\t\tContadoAnticipoDao daoCA = new ContadoAnticipoDao();\r\n\t\t\tif(autenticacion.getTipoVendedor().equals(\"I\") ){\r\n\t\t\t\tlistaVendedor = daoF.listarVendedoresInternos();\r\n\t\t\t\ttipo = \"codVendedorInt\";\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tlistaVendedor = daoF.listarVendedores();\r\n\t\t\t\ttipo = \"codEspecialista\";\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tfor (Funcionario funcionario : listaVendedor) {\r\n\t\t\t\t\r\n\t\t\t\tif(funcionario.getEstado() == 1){\r\n\t\t\t\t\tLiquidacionDao daoL = new LiquidacionDao();\r\n\t\t\t\t\tList<Liquidacion> liquidacion = daoL.buscarLiquidacion(\"Contado y Anticipo\", funcionario.getId_funcionario());\r\n\t\t\t\t\tliquidar = (liquidacion.size() <= 0) ? \"false\" : \"true\";\r\n\t\t\t\t\tContadoAnticipo contado = new ContadoAnticipo();\r\n\t\t\t\t\tcontado.setCedula(funcionario.getPersona().getCedula());\r\n\t\t\t\t\tcontado.setNoPersonal(funcionario.getId_funcionario());\r\n\t\t\t\t\tcontado.setVendedor(funcionario.getPersona().getNombre());\r\n\t\t\t\t\tcontado.setComision(new BigDecimal(\"0.00\"));\r\n\t\t\t\t\tcontado.setLiquidar(liquidar);\r\n\t\t\t\t\tlistaRegistros = (tipo.equals(\"codVendedorInt\") )? daoCA.listaContadoInternos(funcionario.getId_funcionario(), fechaBusqueda, fechaBusquedaYear) : daoCA.listaContadoEspecialista(funcionario.getId_funcionario(), fechaBusqueda, fechaBusquedaYear); \r\n\t\t\t\t\tfor ( ContadoAnticipo contadoA : listaRegistros) {\r\n\r\n\t\t\t\t\t\tFuncionario fun = daoF.buscar(contadoA.getVendInterno());\r\n\t\t\t\t\t\tif( fun == null || fun.getEstado() != 1){\r\n\r\n\t\t\t\t\t\t\tcontado.setTotalRecaudo(contado.getTotalRecaudo() + contadoA.getTotalrecCA());\r\n\t\t\t\t\t\t\tcontado.setPorcentaje(new BigDecimal(\"0.50\"));\r\n\t\t\t\t\t\t\tcontado.setComision(contado.getComision().add(contado.getPorcentaje().multiply(BigDecimal.valueOf(contadoA.getTotalrecCA()/ 100))));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse{\r\n\t\t\t\t\t\t\tcontado.setTotalRecaudo(contado.getTotalRecaudo() + contadoA.getTotalrecCA());\r\n\t\t\t\t\t\t\tcontado.setPorcentaje(new BigDecimal(\"0.25\"));\r\n\t\t\t\t\t\t\tcontado.setComision(contado.getComision().add(contado.getPorcentaje().multiply(BigDecimal.valueOf(contadoA.getTotalrecCA()/ 100))));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tlistaContado.add(contado);\r\n\t\t\t\t}\r\n\t\t\t\tautenticacion.setFechaBusqueda(fechaBusqueda);\r\n\t\t\t\tautenticacion.setFechaBusquedaYear(fechaBusquedaYear);\r\n\t\t\t}\r\n\t\t} catch (RuntimeException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t\tMessages.addGlobalError(\"Error no se Cargo la lista de Contado \");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "06abea9f08a09d7a82e3b569b9d19fdd", "score": "0.55729777", "text": "private void guardar(){\n\t\tvp.getReg().clear();\n\t\tfor(int i=0; i<tablaRegalosSeleccionados.getRowCount(); i++)\n\t\t{\n\t\t\tfor(int j=0; j<vp.getRegalos().size(); j++)\n\t\t\t{\n\t\t\t\tif(tablaRegalosSeleccionados.getValueAt(i, 0).equals(vp.getRegalos().get(j).getDenominacion()))\n\t\t\t\t{\n\t\t\t\t\tvp.getReg().add(new Regalo(vp.getRegalos().get(j).getCodigo(), vp.getRegalos().get(j).getCategoria(),\n\t\t\t\t\t\t\tvp.getRegalos().get(j).getDenominacion(), vp.getRegalos().get(j).getValor()));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "7248cdad95da74960082d35870ccab79", "score": "0.55679405", "text": "protected void miTaberna() throws TabernaVaciaException {\n\t\tif (Gestion.taberna.size() != 0) {\n\t\t\tmiTaberna = new ListaPersonajes(Gestion.taberna);\n\t\t\tmiTaberna.setVisible(true);\n\t\t} else {\n\t\t\tthrow new TabernaVaciaException(\"No hay personajes en la Taberna\");\n\t\t}\n\t}", "title": "" }, { "docid": "b34eeb9d6689c8eb855c226f51878ff0", "score": "0.5565226", "text": "private void agregarTrabMonto(){\n \n /* DlgIngresoTrabajadores dlgIngresoTrab = new DlgIngresoTrabajadores(myParentFrame, \"\", true);\n dlgIngresoTrab.setVisible(true);\n \n if (FarmaVariables.vAceptar) {\n log.info(\"Trabajadores a Descontar: \" +VariablesInvDiario.vListaTrabParaDescuento);\n if(VariablesInvDiario.vListaTrabParaDescuento.size()>0){\n agregarAjuste();\n //ajustarProd();\n }else\n FarmaUtility.showMessage(this,\"No se realizo el ajuste\",txtProductos);\n }*/\n \n }", "title": "" }, { "docid": "186311b0976ee331e1f631099f28f1c5", "score": "0.55596435", "text": "protected void regolaViste() {\n /* variabili e costanti locali di lavoro */\n Vista unaVista = null;\n Campo unCampo = null;\n\n try { // prova ad eseguire il codice\n\n unaVista = this.getVista(VISTA_COMPLETA);\n unCampo = unaVista.getCampo(CAMPO_SIGLA);\n unCampo.getCampoLista().addOrdinePubblico(this.getCampo(CAMPO_NOME_ITALIANO));\n\n unaVista = this.getVista(VISTA_CATEGORIA_NOME);\n unCampo = unaVista.getCampo(CAMPO_SIGLA);\n unCampo.getCampoLista().setRidimensionabile(false);\n unCampo.setLarLista(70);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n }", "title": "" }, { "docid": "a4fbe31f8d45c1b20dcd5cf32b1f81f8", "score": "0.5555875", "text": "public boolean registrarDatos()\n\t{\n\t\treturn false;\n\t}", "title": "" }, { "docid": "11a951c2c908a741b49e568390e4cd4d", "score": "0.55528533", "text": "public void ingresarRegistroEnLista(MedioAlojamiento alojamiento) {\r\n listaAlojamientos.add(alojamiento);\r\n System.out.println(\"Se ingresa registro \" + alojamiento.getClass().getName());\r\n }", "title": "" }, { "docid": "8c270e3c71c00f71301a5dced0736a5b", "score": "0.55468965", "text": "private void actualizarListaEjercicios()\n {\n ejercicios = new ServicioEjercicio().getAll();\n adapter = new EjerciciosAdapter(ejercicios,(ActivityFlujo) getActivity(), getContext());\n rvEjercicios.setAdapter(adapter);\n adapter.notifyDataSetChanged();\n }", "title": "" }, { "docid": "0b6ca776cda33d8c971515e30fa2b251", "score": "0.5546345", "text": "@And(\"^Os dados do locador$\")\n\tpublic void dadosLocador() {\n\n\t\t// Clicar no botão Selecionar - Locador\n\t\tpage.clicarBotaoSelecionarLocador();\n\n\t\t// Escreve o nome do Cliente no campo Seleção - Locador\n\t\tpage.escreverNomeClienteLocadorPesquisarPessoa(get_nomeClienteLocador());\n\n\t\t// Clicar no botão Consultar\n\t\tpage.clicarBotaoConsultarLocador();\n\n\t\t// Clicar no link com o nome do Cliente - Locador\n\t\tpage.clicarLinkNomeClienteLocador(get_nomeClienteLocador());\n\n\t\t// Seleciono o texto do combo\n\t\tpage.clicarImovel();\n\n\t\tSystem.out.println(\"AND LOCADOR OK\");\n\t}", "title": "" }, { "docid": "8a06f8d529aaa6b07726d7c737e387ce", "score": "0.5546297", "text": "public void tesdniresolucionemitida() {\n\t\tlogger.info(\"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\" + resolucionDAO);\n\t\tString dni = \"vhg\";\n\t\tList<Resolemitida> listInst = resolucionDAO.finddnicodresoemida(dni);\n\t\tlogger.info(\"::: \" + listInst);\n\t\tfor (Resolemitida institution : listInst) {\n\t\t\t// assertEquals(\"vhg\", institution.getDocente().getDni());\n\t\t\tSystem.out.println(institution.getResolucion().getNombre());\n\t\t\tSystem.out.println(institution.getUsuario().getNombre());\n\t\t\t//// System.out.println(institution.getDocente().getNombres());\n\t\t\t//// System.out.println(institution.getUsuario().getNombre());\n\n\t\t}\n\t}", "title": "" }, { "docid": "ed0211ebbc78cf16eae37d1dda41054d", "score": "0.55451393", "text": "private void cargarEspecialidadesPrestadores() {\r\n setListaEspecialidades((List<SelectItem>) new ArrayList());\r\n List<CfgClasificaciones> lista = usuariosFachada.findEspecialidades();\r\n for (CfgClasificaciones especialidad : lista) {\r\n if (especialidad != null) {\r\n getListaEspecialidades().add(new SelectItem(especialidad.getId(), especialidad.getDescripcion()));\r\n }\r\n }\r\n }", "title": "" }, { "docid": "17171c39cf43306b67f21b4822f63a77", "score": "0.55442095", "text": "private void consulta_reserva(){\r\n if(this.reservas==null)\r\n print_string(\"nao exitem reservas\\n\");\r\n else{\r\n for(Reserva reserva:this.reservas)\r\n print_reserva(reserva);\r\n }\r\n \r\n }", "title": "" }, { "docid": "b6705d42503d1aa3a8473dbd42d60c04", "score": "0.5536622", "text": "private void consulta() {\n id_presupuesto = Integer.valueOf(JTextNumeroCirugia.getText());\n \n records = PresupuestoMgr.getPresupuestoById(id_presupuesto);\n if (records.size() > 0){\n records.stream().map((r) -> {\n presupuestoRecord = r.into(PRESUPUESTO);\n return r;\n }).map((r) -> {\n entidadRecord = r.into(ENTIDAD.as(\"lugarCirugia\"));\n return r;\n }).map((r) -> {\n prestacionRecord = r.into(PRESTACION);\n return r;\n }).forEach((r) -> {\n profesionalRecord = r.into(PROFESIONAL);\n });\n }\n if(presupuestoRecord.getFechacirugia() != null){\n this.jTextFechaCirugia.setText(format.format(presupuestoRecord.getFechacirugia()));\n } else {\n this.jTextFechaCirugia.setText(\"No detallada\");\n }\n if(entidadRecord.getNombre() != null){\n this.jTextLugarCirugia.setText(entidadRecord.getNombre());\n } else {\n this.jTextLugarCirugia.setText(\"No detallado\");\n }\n if(profesionalRecord.getNombre() != null){\n this.jTextProfesional.setText(profesionalRecord.getNombre());\n } else {\n this.jTextProfesional.setText(\"No detallado\");\n }\n if(prestacionRecord.getNombre() != null){\n this.jTextPrestacion.setText(prestacionRecord.getNombre());\n } else {\n this.jTextPrestacion.setText(\"No detallada\");\n }\n if((presupuestoRecord.getPaciente().compareTo(\"\") == 0) || presupuestoRecord.getPaciente() == null){\n this.jTextPaciente.setText(\"No detallado\");\n } else {\n this.jTextPaciente.setText(presupuestoRecord.getPaciente());\n }\n }", "title": "" }, { "docid": "13242396a9d32a0f653e4d33e3b21bc1", "score": "0.55357337", "text": "public void validarRegistroSeleccionadoRetirados() {\n RequestContext context = RequestContext.getCurrentInstance();\n context.reset(\"form:motivoRetiro\");\n context.reset(\"form:fechaRetiro\");\n context.reset(\"form:observacion\");\n boolean banderaValidacion = true;\n List<VigenciasTiposTrabajadores> listaVigenciaTiposTrabajadoresReal;\n listaVigenciaTiposTrabajadoresReal = administrarVigenciasTiposTrabajadores.vigenciasTiposTrabajadoresEmpleado(empleado.getSecuencia());\n VigenciasTiposTrabajadores vigenciaSeleccionadaRetirados = vigenciaSeleccionada;\n int tamanoTabla = listaVigenciaTiposTrabajadoresReal.size();\n int i = 0;\n while (banderaValidacion && (i < tamanoTabla)) {\n if (listaVigenciaTiposTrabajadoresReal.get(i).getSecuencia() == vigenciaSeleccionadaRetirados.getSecuencia()) {\n if (listaVigenciaTiposTrabajadoresReal.get(i).getTipotrabajador().getNombre().equalsIgnoreCase(\n vigenciaSeleccionadaRetirados.getTipotrabajador().getNombre())) {\n banderaValidacion = false;\n almacenarRetirado = true;\n }\n }\n i++;\n }\n if (banderaValidacion == true && guardado == false) {\n //Dialogo de almacenar el nuevo registro de retiro antes de realizar operaciones\n context.update(\"formularioDialogos:guardarNuevoRegistroRetiro\");\n context.execute(\"guardarNuevoRegistroRetiro.show()\");\n }\n }", "title": "" }, { "docid": "4368c2e9d7f4dbc347f561cfa1c23f2b", "score": "0.5534324", "text": "public void verificarDetalle(Tramite tramite) {\n if (getCajasRecBb().getListaFacturaDetalle().size() > 1) {\n for (FacturaDetalle detalleFac : getCajasRecBb().getListaFacturaDetalle()) {\n System.out.println(\"tramite \" + tramite.getTraNumero());\n System.out.println(\"tramite detalle \" + detalleFac.getFdtTraNumero());\n if (tramite.getTraNumero() == (detalleFac.getFdtTraNumero())) {\n getCajasRecBb().setEstado(Boolean.TRUE);\n break;\n }\n\n }\n }\n }", "title": "" }, { "docid": "c938c3ba3925eae3b737bc143f2ad38e", "score": "0.5532463", "text": "public void cargarRetenciones() {\n try {\n retencionDAO = new RetencionDAO();\n listaRetenciones = new ArrayList<>();\n System.out.println(this.idFactura);\n listaRetenciones = retencionDAO.obtenerRetenciones(this.idFactura);\n if (this.idFactura > 0 && !listaRetenciones.isEmpty()) {\n mostrarMensajeInformacion(\"Se Cargaron las Retenciones\");\n } else {\n mostrarMensajeError(\"No existen Retenciones\");\n }\n } catch (Exception ex) {\n System.out.println(\"Error: \" + ex.getMessage());\n }\n }", "title": "" }, { "docid": "7c8720ab3c132026e06e9557525ac267", "score": "0.55257803", "text": "public void seleccionar() {\n\t\tmantenimientoDepartamentos.setResult(entidadSeleccionado);\n\t\tmantenimientoDepartamentos.cerrarDialog();\n\t}", "title": "" }, { "docid": "0cb85fda1c4eca00bc36d42f3e1b6450", "score": "0.55123246", "text": "public void fecharPendencia(){\r\n\t\t\t\r\n\t\t\tif(!pendencia.getStatusPed().equalsIgnoreCase(\"Em aberto\")){\r\n\t\t\t\tSystem.out.println(pendencia);\r\n\t\t\t\tnew FecharPendenciaDao().fecharPendencias(pendencia);\r\n\t\t\t\tpendencia = new Pendencia();\r\n\t\t\t\tlistaPendencia = new ArrayList<Pendencia>();\r\n\t\t\t}else{\r\n\t\t\t\tSystem.out.println(\"Pendencia já esta em aberto, para fechar selecione fechar!\");\r\n\t\t\t\tFacesContext context = FacesContext.getCurrentInstance();\r\n\t\t\t\tcontext.addMessage(null, new FacesMessage(\"Atenção!\",\"Pendencia já está em aberto, para fechar selecione fechar!\"));\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "c39524fd800106f9c4baed857befce10", "score": "0.55104643", "text": "private static void guardarIndicadores() {\r\n\t\tfor (int i = 0; i < canciones.size(); i++) {\r\n\t\t\tfor (int j = 0; j < nombres.length; j++) {\r\n\t\t\t\tif (canciones.get(i).getName().toLowerCase().contains(nombres[j])) {\r\n//\t\t\t\t\tSystem.out.println(canciones.get(i).getName().toLowerCase() + \" n:\" + nombres[j] + \" en \" + j);\r\n\r\n\t\t\t\t\tif (j == 0)\r\n\t\t\t\t\t\tcancionMenuP = i;\r\n\t\t\t\t\telse if (j == 1)\r\n\t\t\t\t\t\tcancionCombate = i;\r\n\t\t\t\t\telse if (j == 2)\r\n\t\t\t\t\t\tcancionValhalla = i;\r\n\t\t\t\t\telse if (j == 3)\r\n\t\t\t\t\t\tcancionMenuUsuarios = i;\r\n\t\t\t\t\telse if (j == 4)\r\n\t\t\t\t\t\tesClick = i;\r\n\t\t\t\t\telse if (j == 5)\r\n\t\t\t\t\t\tesTirarMonedas = i;\r\n\t\t\t\t\telse if (j == 6)\r\n\t\t\t\t\t\tesSummon = i;\r\n\t\t\t\t\telse if (j == 7)\r\n\t\t\t\t\t\tesGolpe = i;\r\n\t\t\t\t\telse if (j == 8)\r\n\t\t\t\t\t\tcancionCreditos = i;\r\n\t\t\t\t\telse if (j == 9)\r\n\t\t\t\t\t\tesFallo = i;\r\n\t\t\t\t\telse if (j == 10)\r\n\t\t\t\t\t\tesVictoria = i;\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n//\t\tSystem.out.println(\"menup\" + cancionMenuP);\r\n//\t\tSystem.out.println(\"com\" + cancionCombate);\r\n//\t\tSystem.out.println(\"val\" + cancionValhalla);\r\n//\t\tSystem.out.println(\"menuUsu\" + cancionMenuUsuarios);\r\n//\t\tSystem.out.println(\"click\" + esClick);\r\n//\t\tSystem.out.println(\"tirar\" + esTirarMonedas);\r\n//\t\tSystem.out.println(\"sum\" + esSummon);\r\n//\t\tSystem.out.println(\"golpe\" + es_golpe);\r\n\t}", "title": "" }, { "docid": "02906d6e525af6a4217228c2963c8b78", "score": "0.55100733", "text": "void listado() {\n\t\tEntityManagerFactory fabrica = Persistence.createEntityManagerFactory(\"jpa_sesion01\");\n\t\tEntityManager em = fabrica.createEntityManager(); \n\t\t\n\t\t//TypedQuery<Usuario> consulta = em.createNamedQuery(\"Usuario.findAll\", Usuario.class);\n\t\t//List<Usuario> lstUsuarios =\tconsulta.getResultList();\n\t\t\n\t\tTypedQuery<Usuario> consulta = em.createNamedQuery(\"Usuario.findAllWithType\", Usuario.class);\n\t\tconsulta.setParameter(\"xtipo\", 1);\n\t\tList<Usuario> lstUsuarios =\tconsulta.getResultList();\n\t\t\n\t\t\n\t\tem.close();\n\t\t//pasar el listado a txt,....\n\t\tfor (Usuario u : lstUsuarios) {\n\t\t\ttxtS.append(u.getCodigo()+\"\\t\"+ u.getNombre()+\"\\t\"+u.getApellido()+ \"\\n\");\n\t\t}\n\t \n\t\t\n\t}", "title": "" }, { "docid": "7c50be6908022f929be8aa137c0c1407", "score": "0.5507777", "text": "private void obtenertitulos() throws SQLException {\n dbConexion cn = new dbConexion();\n Connection conn = cn.getConexion();\n ResultSet rs;\n String sql = \"SELECT idleccion , tituloteoria FROM leccion\";\n PreparedStatement pstm = conn.prepareStatement(sql);\n rs = pstm.executeQuery();\n\n while (rs.next()) {\n clsLeccion usu = new clsLeccion();\n usu.setId(rs.getInt(\"idleccion\"));\n usu.setTituloteoria(rs.getString(\"tituloteoria\"));\n cboTitulos.addItem(usu);\nSystem.out.println(\"este es hmtl \"+usu);\n }\n\n }", "title": "" }, { "docid": "1bbbff7b2ee178b8e3fbaf3cf8c4faa9", "score": "0.5507269", "text": "public void guardarPermiso() {\n\t\tList<SisPermiso> permisosPerf = servicioSisPermiso\n\t\t\t\t.buscarPermisoPorPerfil(sisPerfilVista.getNombrePerf());\n\t\tfor (SisPermiso item : permisosPerf) {\n\t\t\tservicioSisPermiso.eliminar(item);\n\t\t}\n\n\t\tsisPermisosPerfil = new ArrayList<SisPermiso>();\n\t\tfor (String menu : menusSeleccionados) {\n\t\t\t// Por cada menu seleccionado se crea un permiso\n\t\t\tSisPermiso permiso = new SisPermiso();\n\t\t\tpermiso.setSisPerfil(sisPerfilVista);\n\t\t\t// busco el menu en la base segun el string\n\t\t\tpermiso.setSisMenu(servicioSisMenu.buscarPorId(Integer\n\t\t\t\t\t.parseInt(menu)));\n\t\t\tpermiso.setTipoPerm(1);\n\t\t\tsisPermisosPerfil.add(permiso);\n\n\t\t}\n\n\t\t/*\n\t\t * for (String item : procedimientosSeleccionados) { SisPermiso permiso\n\t\t * = new SisPermiso(); permiso.setSisPerfil(sisPerfilVista);\n\t\t * permiso.setSisProcedimiento(servicioSisProcedimiento\n\t\t * .buscarPorId(Integer.parseInt(item))); permiso.setTipoPerm(2);\n\t\t * sisPermisosPerfil.add(permiso); }\n\t\t */\n\t\tdesmarcarDetallesPorMenu();\n\t\tfor (SisPermiso item : permisosDemeSeleccionados) {\n\t\t\titem.setSisPerfil(sisPerfilVista);\n\t\t\tsisPermisosPerfil.add(item);\n\n\t\t}\n\n\t\tfor (SisPermiso permiso : sisPermisosPerfil) {\n\n\t\t\tservicioSisPermiso.insertar(permiso);\n\n\t\t}\n\n\t\tsisPermisosPerfil = new ArrayList<SisPermiso>();\n\t}", "title": "" }, { "docid": "853e1e3c5e0e588e2de7e759900fa65d", "score": "0.5501437", "text": "public void obtenerTodos() {\r\n FacesContext contexto = FacesContext.getCurrentInstance();\r\n try {\r\n tipoCompList = tcf.findAll();\r\n } catch (Exception e) {\r\n contexto.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_FATAL, \"Error!\", e.getMessage()));\r\n }\r\n }", "title": "" }, { "docid": "b2122ebe4c9094b577d87f7b911bb45c", "score": "0.5496228", "text": "public static void initListeUser() {\n\t\tif(listeUtilisateur.isEmpty()){\r\n\t\t\ttry {\r\n\t\t\t\tUser newUser1 =new User(\"Laurent Palmier\",\"123456789\", \"Laurent.Palmier@Magnus.fr\", true, 1,\"Place de la mairie\", \"31470\", \"Fonsorbes\", 43.533329, 1.23333,\"Laurent Palmier\", 0, false, false);\r\n\t\t\t\tnewUser1.setId(1L);\r\n\t\t\t\tajouteUtilisateur(newUser1);\r\n\t\t\t\tSystem.out.println(\"user1 :\" + newUser1);\r\n\r\n\t\t\t\tUser newUser2 =new User(\"JF Yvart\",\"123456789\", \"jf.yvart@Magnus.fr\", true, 1,\"8 impasse du Cinsault\", \"31470\", \"Saint Lys\", 43.51667, 1.2,\"\",1,true,false );\r\n\t\t\t\tnewUser2.setId(2L);\r\n\t\t\t\tajouteUtilisateur(newUser2);\r\n\t\t\t\tSystem.out.println(\"user2 :\" + newUser2);\r\n\r\n\t\t\t\tUser newUser3 =new User(\"Sybille Cazaux\",\"123456789\", \"Sybille.Cazaux@Magnus.fr\", false, 1, \"Place de la mairie\", \"31000\", \"Toulouse\", 43.6042600, 1.4436700,\"\",2,false, false );\r\n\t\t\t\tnewUser3.setId(3L);\r\n\t\t\t\tajouteUtilisateur(newUser3);\r\n\t\t\t\tSystem.out.println(\"user3 :\" + newUser3);\r\n\r\n\t\t\t\tUser newUser4 =new User(\"Berger - Levrault\",\"123456789\", \"help.Covoiturage@Magnus.fr\", false, 1, \"64 av Edmond Rostand\", \"31000\", \"Toulouse\", 43.533329, 1.53333,\"\",3,true, false );\r\n\t\t\t\tnewUser4.setId(4L);\r\n\t\t\t\tajouteUtilisateur(newUser4);\r\n\t\t\t\tSystem.out.println(\"user4 :\" + newUser4);\r\n\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "d7a3fc83144dfc4f73774f531f910235", "score": "0.5489278", "text": "public void atualiza(){\n List<Pessoa> consulta = Query.all(Pessoa.class).get().asList();\n //Listar as pessoas\n PessoaListAdapter adapter = new PessoaListAdapter(this,consulta);\n\n lista.setAdapter(adapter);\n }", "title": "" }, { "docid": "e4a448cca31107cf11c6c1e3425102e2", "score": "0.54868644", "text": "public void agregarReglasDespedida(){\n \t reglas.add(new Regla(93,1,3,0,\"\",\"Me tengo que ir yendo...nos vemos en clases!\"));\n \t reglas.add(new Regla(94,1,0,0,\"\",\"Che, me tengo que ir de la pc...byes!\"));\n }", "title": "" }, { "docid": "ec35c064dfeca97015903190b25103e6", "score": "0.5486718", "text": "private void registrarTodo() {\n int errores = 0;\n\n if (pacientes.ficha_identificacion.Opciones.verificaNumControl(this.txtNumControl.getText())) {\n ErrorAlert a = new ErrorAlert(null, true);\n a.msj1.setText(\"El No. CONTROL que intentas registrar\");\n a.msj2.setText(\"ya existe.\");\n a.msj3.setVisible(false);\n a.setVisible(true);\n pacientes.Variables.PASO--;\n } else {\n //Registro de la FICHA DE IDENTIFICACIÓN\n pacientes.ficha_identificacion.Sentencias fichaIdent\n = new pacientes.ficha_identificacion.Sentencias();\n\n fichaIdent.setId_paciente(Integer.parseInt(this.lblID.getText()));\n fichaIdent.setN_control(this.txtNumControl.getText());\n String carrera = \"\";\n if (this.comboCarrera.getSelectedIndex() == 1) {\n carrera = \"IDC\";\n }\n if (this.comboCarrera.getSelectedIndex() == 2) {\n carrera = \"IGEM\";\n }\n if (this.comboCarrera.getSelectedIndex() == 3) {\n carrera = \"ISC\";\n }\n fichaIdent.setCarrera(carrera);\n fichaIdent.setNombre(this.txtNombre.getText());\n fichaIdent.setGenero(this.comboGenero.getSelectedItem().toString());\n fichaIdent.setEdad(this.txtEdad.getText());\n fichaIdent.setFecha_nacimiento(this.txtFechaNac.getFechaSeleccionada());\n fichaIdent.setLugar_nacimiento(this.txtLugarNac.getText());\n fichaIdent.setLugar_origen(this.txtOrigen.getText());\n fichaIdent.setDomicilio(this.txtDomicilio.getText());\n fichaIdent.setEstado_civil(this.comboCivil.getSelectedItem().toString());\n fichaIdent.setReligion(this.txtReligion.getText());\n\n if (!pacientes.ficha_identificacion.Opciones.registrar(fichaIdent)) {\n errores++;\n }\n\n //Registro de los ANTECEDENTES HEREDO-FAMILIARES\n pacientes.atecedentes_familiares.Sentencias ant_heredo\n = new pacientes.atecedentes_familiares.Sentencias();\n\n ant_heredo.setId(Integer.parseInt(this.lblID.getText()));\n ant_heredo.setHeredo_familiar(this.txtHerFam.getText());\n\n if (!pacientes.atecedentes_familiares.Opciones.registrar(ant_heredo)) {\n errores++;\n }\n\n //Registro de los ANTECEDENTES PERSONALES NO PATOLÓGICOS\n pacientes.atecedentes_personales.Sentencias ant_no_pat\n = new pacientes.atecedentes_personales.Sentencias();\n\n ant_no_pat.setId(Integer.parseInt(this.lblID.getText()));\n ant_no_pat.setAlimentacion(this.txtAlimentacion.getText());\n ant_no_pat.setHabitacion(this.txtHabitacion.getText());\n ant_no_pat.setHabitos_higienicos(this.txtHabitos.getText());\n\n if (!pacientes.atecedentes_personales.Opciones.registrar(ant_no_pat)) {\n errores++;\n }\n\n //Registro de los ANTECEDENTES GINÉCO-OBSTÉTRICOS\n pacientes.atecedentes_guineco_obstetricos.Sentencias ant_gin_obst\n = new pacientes.atecedentes_guineco_obstetricos.Sentencias();\n\n ant_gin_obst.setId(Integer.parseInt(this.lblID.getText()));\n ant_gin_obst.setMenarca(this.txtMenarca.getText());\n ant_gin_obst.setIvsa(this.txtIVSA.getText());\n ant_gin_obst.setNumero_parejas(Integer.parseInt(this.txtNumParejas.getText()));\n ant_gin_obst.setEmbarazos(Integer.parseInt(this.txtEmbarazos.getText()));\n ant_gin_obst.setMetodo_anticonceptivo(this.txtMetodos.getText());\n\n if (!pacientes.atecedentes_guineco_obstetricos.Opciones.registrar(ant_gin_obst)) {\n errores++;\n }\n\n //Registro de los ANTECEDENTES PERSONALES PATOLÓGICOS\n pacientes.antecedentes_patologicos.Sentencias ant_pat\n = new pacientes.antecedentes_patologicos.Sentencias();\n\n ant_pat.setId(Integer.parseInt(this.lblID.getText()));\n ant_pat.setEnfermedades_infecto(this.txtEnfermedades.getText());\n ant_pat.setCronico_degenerativas(this.txtCronico.getText());\n ant_pat.setAlergicos(this.txtAlergicos.getText());\n ant_pat.setQuirurgicos(this.txtQuirurgicos.getText());\n ant_pat.setTraumatologicos(this.txtTraumatologicos.getText());\n ant_pat.setTransfuciones(this.txtTansfusiones.getText());\n ant_pat.setConvulsiones(this.txtConvulsiones.getText());\n ant_pat.setAdicciones(this.txtAdicciones.getText());\n ant_pat.setHospitalizaciones(this.txtHospitalizaciones.getText());\n\n if (!pacientes.antecedentes_patologicos.Opciones.registrar(ant_pat)) {\n errores++;\n }\n\n //Registro de los SIGNOS VITALES Y SOMATOMETRIA\n pacientes.antecedentes_vitales.Sentencias sig_vitales\n = new pacientes.antecedentes_vitales.Sentencias();\n\n sig_vitales.setId(Integer.parseInt(this.lblID.getText()));\n sig_vitales.setPulso(this.txtPulso.getText());\n sig_vitales.setPresion(this.txtPresion.getText());\n sig_vitales.setTemperatura(this.txtTemperatura.getText());\n sig_vitales.setFrecuencia_respiratoria(this.txtFarecuencia.getText());\n sig_vitales.setPeso(this.txtPeso.getText());\n sig_vitales.setTalla(this.txtTalla.getText());\n sig_vitales.setIndice_masa_corporal(this.txtMasa.getText());\n sig_vitales.setTipo_sangre(this.txtTipoSangre.getText());\n\n if (!pacientes.antecedentes_vitales.Opciones.registrar(sig_vitales)) {\n errores++;\n }\n\n //Registro de INSPECCIÓN GENERAL (HABITUS EXTERIOR)\n pacientes.atecedentes_general.Sentencias generarl\n = new pacientes.atecedentes_general.Sentencias();\n\n generarl.setId(Integer.parseInt(this.lblID.getText()));\n generarl.setGeneral(this.txtInspeccionGen.getText());\n\n if (!pacientes.atecedentes_general.Opciones.registrar(generarl)) {\n errores++;\n }\n\n if (errores == 0) {\n this.btnSig.setVisible(false);\n this.btnAtras.setVisible(false);\n pasarNiveles(8);\n rSPanelsSlider1.slidPanel(2, pnlOcho, RSPanelsSlider.direct.Right);\n this.btnSig.setText(\"Siguiente\");\n\n pacientes.ficha_identificacion.Opciones.listar(\"\");\n pacientes.ficha_identificacion.Opciones.selecionaFila(this.lblID.getText());\n pacientes.ficha_identificacion.Opciones.extraerID();\n }\n }\n }", "title": "" }, { "docid": "7cde3c7d69208c01b7dd080f8f68d9a5", "score": "0.54801446", "text": "public boolean pacienteDadoDeAlta( TipoPaciente tipoDePaciente, String tipoDeDia){\n\t\n return false;\n}", "title": "" }, { "docid": "656e1334657d54063edca1cfd4f9b693", "score": "0.5474012", "text": "public viewEstoque() {\n initComponents();\n ReadTable();\n btnConcluir.setEnabled(false);\n btnCancelar.setEnabled(false);\n UsuariosDao userd = new UsuariosDao();\n for(UsuariosBeans user : userd.TodosUsuarioRead()){\n jComboEdiUsuario.setSelectedItem(null);\n jComboEdiUsuario.addItem(user);\n }\n }", "title": "" }, { "docid": "0898de4e474d3022cd66e4536d02223d", "score": "0.54703844", "text": "private void getAndAddDataToPersonList() {\n List<PersonDTO> tempPersonList = ServiceLocator.getInstance().getRemote(SessionRemote.class).getPersonRemote().getAllPersons();\n for (PersonDTO person : tempPersonList) {\n _personList.add(person);\n }\n }", "title": "" }, { "docid": "bfc2f6ca26f09b9a99ee7032022d1fd4", "score": "0.5469172", "text": "public void verificarLogin(TelaInicial telaInicial) {\n String email = jTextFieldEmail.getText();\n String senha = jPasswordField1.getText();\n \n try {\n UsuarioLoginDAO usuarioLoginDAO = new UsuarioLoginDAO();\n boolean aux = false;\n \n for(UsuarioLogin usuarioLogin : usuarioLoginDAO.getAll()) {\n if (usuarioLogin.getEmail().equalsIgnoreCase(email)) {\n if(usuarioLogin.getSenha().equalsIgnoreCase(senha)) {\n telaInicial.setUsuarioLogin(usuarioLogin);\n aux = true;\n JOptionPane.showMessageDialog(null, \"Login efetuado com sucesso!\");\n telaInicial.exibirMenu();\n }\n }\n }\n if(!aux) JOptionPane.showMessageDialog(null, \"Falha no login, tente novamente!\");\n } catch (Exception ex) {\n JOptionPane.showMessageDialog(null, ex);\n }\n }", "title": "" }, { "docid": "5d34a1c02446448f66f475d26836d847", "score": "0.5469059", "text": "public boolean pacienteDebeSerInternado(TipoPaciente tipoDePaciente){\n\t\n\treturn false;\n\t\n}", "title": "" }, { "docid": "7da9a90000c9390bb8cae95e633fd20e", "score": "0.5468713", "text": "public JFPrincipalAdministradorEmpleadosConsultar(ConexionBasesdeDatos conexion) {\n initComponents();\n this.conexion=conexion;\n this.closable=true;\n this.iconable=true;\n \n }", "title": "" }, { "docid": "11e77a15285f9520f8a8b59d9de6b0a7", "score": "0.5468393", "text": "private void chercherConsultantRecruteur() throws NomVideException\r\n\t{\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 1\", 10,TechEnumeration.Java));\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 2\", 10,TechEnumeration.DotNEt));\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 3\", 10,TechEnumeration.AngularJS));\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 4\", 10,TechEnumeration.Agile));\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 5\", 10,TechEnumeration.BigData));\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 6\", 10,TechEnumeration.Java));\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 7\", 10,TechEnumeration.DevOps));\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 8\", 10,TechEnumeration.Php));\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 9\", 10,TechEnumeration.Front));\r\n\t\tmaListeDeConsultantRecruteurs.add(new ConsultantRecruteur(\"consultant 10\", 10,TechEnumeration.BigData));\r\n\t}", "title": "" }, { "docid": "a5bc2346f7bfd5bd58d467df4d7d1cb7", "score": "0.54585433", "text": "public void BuscarRepresentante(){\r\n\t\tLiquidarOrdenesVentanillaMasiva[] vArregloRepresentante = null;\t\t\r\n\t\ttry {\r\n\t\t\tLiquidacionVentanillaMasivaStub stub = new LiquidacionVentanillaMasivaStub();\r\n\t\t\tString url = Utils.modificarUrlServicioWeb(stub._getServiceClient()\r\n\t\t\t\t\t.getOptions().getTo().getAddress());\r\n\t\t\tstub._getServiceClient()\r\n\t\t\t\t\t.getOptions()\r\n\t\t\t\t\t.setTo(new org.apache.axis2.addressing.EndpointReference(\r\n\t\t\t\t\t\t\turl));\r\n\t\t\tLiquidacionVentanillaMasivaStub.ObtenerOrdenes request = new LiquidacionVentanillaMasivaStub.ObtenerOrdenes();\r\n\t\t\tLiquidacionVentanillaMasivaStub.ObtenerOrdenesResponse response = stub.obtenerOrdenes(request);\r\n\t\t\tvArregloRepresentante = response.get_return();\r\n\t\t\tif (vArregloRepresentante != null) {\r\n\t\t\t\t_listaRegistrosRepresentantes = new ArrayList<LiquidarOrdenesVentanillaMasiva>();\r\n\t\t\t\t_montoTotal1 = 0;\r\n\t\t\t\tfor (int i = 0; i < vArregloRepresentante.length; i++) {\r\n\t\t\t\t\t_listaRegistrosRepresentantes.add(vArregloRepresentante[i]);\r\n\t\t\t\t\t_montoTotal1 = Double.parseDouble(_decimalFormat.format(_montoTotal1 + Double.parseDouble(vArregloRepresentante[i].getMontoCobrar())));\r\n\t\t\t\t}\r\n\t\t\t\t_dtgRegistrosRepresentante = true;\r\n\t\t\t\t_mensajeError1 = \" \";\r\n\t\t\t}else{\r\n\t\t\t\t_mensajeError1 = \"No existen órdenes para liquidar.\";\r\n\t\t\t}\r\n\t\t}catch(Exception ex){\r\n\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "33190ca3f814f971f49fd0bd6485e5a4", "score": "0.5450096", "text": "@Override\n public void getSavedEstudo() {\n List<Estudo> storedEstudo = new Select().from(Estudo.class).queryList();\n post(EstudoListEvent.READ_EVENT, storedEstudo);\n }", "title": "" }, { "docid": "4b634acceba36c0b2a488e50192fd87c", "score": "0.54485893", "text": "private void altaEmpleado(){\n\n Empleados emp = new Empleados();\n Usuarios us = new Usuarios();\n AltaEmpleado1 alta = new AltaEmpleado1(this,true, emp,us,controladorEmpleados.getEm());// se abre una ventana de alta que recibe como parametro un empleado y el entityManager del controlador\n alta.setVisible(true);\n // si se pulso el boton aceptar en la ventana de alta se persiste la entidad Empleados en el entitymanager con el controlador y se añade a la lista\n if(alta.isAcaptaAlta()){\n try {\n controladorEmpleados.getEm().persist(us);\n controladorEmpleados.create(emp);\n listaEmpleados.add(emp);\n jListEmpleados.setSelectedIndex(listaEmpleados.size()-1); // se selecciona la aacion en la tabla\n }catch (Exception ex) {\n Logger.getLogger(gesEmpleados.class.getName()).log(Level.SEVERE, null, ex);\n } \n btEliminar.setEnabled(false);\n btAlta.setEnabled(false);\n btModificar.setEnabled(false);\n btBuscar.setEnabled(false);\n jListEmpleados.setEnabled(false);\n btActualizar.setEnabled(false);\n btCancelar.setEnabled(true);\n\n }\n setNecesitaGuardar(alta.isAcaptaAlta());\n }", "title": "" }, { "docid": "9118fece8d7d5a7a6793e6b73763bb7a", "score": "0.54469824", "text": "public void listarAportaciones(ActionEvent event) {\r\n\t\tlog.info(\"-----------------------Debugging CreditoController.listarAportaciones-----------------------------\");\r\n\t\tCaptacionFacadeLocal facade = null;\r\n\t\ttry {\r\n\t\t\tfacade = (CaptacionFacadeLocal)EJBFactory.getLocal(CaptacionFacadeLocal.class);\r\n\t\t\tCaptacion o = new Captacion();\r\n\t\t\to.setId(new CaptacionId());\r\n\t\t\to.setCondicion(new Condicion());\r\n\t\t\to.getCondicion().setId(new CondicionId());\r\n\t\t\to.getId().setIntPersEmpresaPk(Constante.PARAM_EMPRESASESION);\r\n\t\t\to.getId().setIntParaTipoCaptacionCod(Constante.CAPTACION_APORTACIONES);\r\n\t\t\tif(intTipoFecha!=null && intTipoFecha!=0)\r\n\t\t\t\to.setIntTipoFecha(intTipoFecha);\r\n\t\t\tif(intIdEstadoAportacion!=0)\r\n\t\t\to.setIntParaEstadoSolicitudCod(intIdEstadoAportacion);\r\n\t\t\to.setStrDescripcion(strNombreAporte);\r\n\t\t\tif(intIdCondicionAportacion!=null && intIdCondicionAportacion!=0)\r\n\t\t\to.getCondicion().getId().setIntParaCondicionSocioCod(intIdCondicionAportacion);\r\n\t\t\tif(intIdTipoConfig!=0)\r\n\t\t\to.setIntParaTipoConfiguracionCod(intIdTipoConfig);\r\n\t\t\t\r\n\t\t\tString strFechaIni = (getDaFecIni()!=null)?Constante.sdf.format(getDaFecIni()):null;\r\n\t\t\tString strFechaFin = (getDaFecFin()!=null)?Constante.sdf.format(getDaFecFin()):null;\r\n\t\t\to.setStrDtFechaIni(strFechaIni);\r\n\t\t\to.setStrDtFechaFin(strFechaFin);\r\n\t\t\to.setDtInicio(daFecIni);\r\n\t\t\to.setDtFin(daFecFin);\r\n\t\t\tif(intIdTipoPersona!=-1)\r\n\t\t\t\to.setIntParaTipopersonaCod(intIdTipoPersona);\r\n\t\t\to.setIntTasaInteres(getChkTasaInt()==true?1:0);\r\n\t\t\to.setIntLimiteEdad(getChkLimEdad() ==true?1:0);\r\n\t\t\to.setIntVigencia(chkAportVigentes==true?1:null);\r\n\t\t\to.setIntAportacionVigente(getRbVigente());\r\n\t\t\t\r\n\t\t\tlistaCaptacionComp = facade.getListaCaptacionCompDeBusquedaCaptacion(o);\r\n\t\t} catch (BusinessException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (EJBFactoryException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2049fc429523cf8d8326a3b1f9b61481", "score": "0.54469436", "text": "public void buscarPerdedor() throws Exception\r\n {\r\n int indice = exposicion.obtenerPerdedor();\r\n if(indice >= 0)\r\n {\r\n pnlPerrosExposicion.seleccionarItem(indice);\r\n }\r\n else\r\n {\r\n throw new Exception(\"No se puede determinar el perro perdedor.\");\r\n }\r\n }", "title": "" }, { "docid": "ca8dc60cd31749c98da2aa494fae5a43", "score": "0.5437371", "text": "public MantenedorEscenaDetallesMB() {\n usuariosPemitidos = new LinkedList<UsuarioPojo>();\n accionesEscena = new LinkedList<AccionPojo>();\n }", "title": "" }, { "docid": "928c1e8fbd669fcdb33031d14a33bb37", "score": "0.543243", "text": "public void personDetail() {\n personname = currentPerson.getName();\n List<Person> persons = null;//me.getGeneralHelper().getPersonService().getAllPending(currentPerson);\n\n\n }", "title": "" }, { "docid": "0f4df4c25ea9f54c514229d33e7357ef", "score": "0.5429622", "text": "public void eventoFiltrar() {\n if (tipoLista == 0) {\n tipoLista = 1;\n }\n activarLOV = true;\n RequestContext.getCurrentInstance().update(\"form:listaValores\");\n modificarInfoRegistro(filtrarVTT.size());\n RequestContext context = RequestContext.getCurrentInstance();\n context.update(\"form:informacionRegistro\");\n }", "title": "" }, { "docid": "5631bc7f57538fb740096fc1347b63e9", "score": "0.542814", "text": "public void iniciarPartida() {\n this.partidaIniciada = true;\n refPantalla.addMessage(\"-Partida iniciada.\");\n refPantalla.addMessage(\"-Cada jugador debe lanzar los dados para determinar el orden de los turnos.\");\n }", "title": "" }, { "docid": "fdbccc67a5ddf074c5895506a285345e", "score": "0.5427023", "text": "public void actualizarPestanyaOfertas(){\n actualizarOfertas();\n actualizarTablaPedidosOferta();\n }", "title": "" }, { "docid": "b41ee6f2c4af04997b111a8032af4019", "score": "0.5425978", "text": "private void pesquisaCervejaPerso() {\n\t\tDefaultTableModel modelo = (DefaultTableModel)this.table.getModel();\r\n\t\tmodelo.setRowCount(0);\r\n\t\ttable.setModel(modelo);\r\n\t\t\r\n\t\tCervejaDao dao = new CervejaDao();\r\n\t\tString pesquisa = textPesquisa.getText();\r\n\t\ttry {\r\n\t\t\tList<Cerveja> lista = dao.pesquisaPerso(pesquisa, 0, 0, 0);\r\n\t\t\t\r\n\t\t\tfor (Cerveja cerveja : lista) {\r\n\t\t\t\tmodelo.addRow(\r\n\t\t\t\t\t\tnew Object[] {\r\n\t\t\t\t\t\t\t\tcerveja.getNome(),\r\n\t\t\t\t\t\t\t\tcerveja.getAmargor(),\r\n\t\t\t\t\t\t\t\tcerveja.getEstilo(),\r\n\t\t\t\t\t\t\t\tcerveja.getPais()\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Erro consultando: \"+e.getMessage());\r\n\t\t}\r\n\t}", "title": "" } ]
8612eceb6780183f3bcb82c2b829f54f
Game has been won by any player.
[ { "docid": "df192b63b294bb1e027cb20bd7b0d1bf", "score": "0.6735889", "text": "public boolean gameHasBeenWonByAnyPlayer(Set<Player> players) {\r\n\t\t\r\n\t\tboolean gameHasBeenWon = false;\r\n\t\t\r\n\t\tfor (Player p : players) {\r\n\t\t\tgameHasBeenWon = gameHasBeenWonByCurrentPlayer(p.getCurrentSquare());\r\n\t\t\tif (gameHasBeenWon) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn gameHasBeenWon;\r\n\t}", "title": "" } ]
[ { "docid": "db8b887369ab2b2ed7ee36251344f324", "score": "0.8006255", "text": "private boolean hasWonGame() {\n // TODO check if the user has won the game\n return false;\n\n }", "title": "" }, { "docid": "06b72d5309b8734765aea1fdd0ef492a", "score": "0.7642412", "text": "public void won() {\n wonGames++;\n wonPoints++;\n }", "title": "" }, { "docid": "002a6efe2d213401a0e08657272b3577", "score": "0.74369687", "text": "private void isGameOver() {\r\n\t\tif (this.game.isGameOver() == -1) {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"It's a tie!\");\r\n\t\t\tthis.numberOfTies++;\r\n\t\t\tthis.resetGame();\r\n\t\t}\r\n\t\tif (this.game.isGameOver() == 1) {\r\n\t\t\tif (this.game.getWinner() == this.player) {\r\n\t\t\t\tthis.numberOfWins++;\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"You won!\");\r\n\t\t\t} else if (this.game.getWinner() == this.computer) {\r\n\t\t\t\tthis.numberOfLosses++;\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"You Lost :(\");\r\n\t\t\t}\r\n\t\t\tthis.resetGame();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f8d3e85fc305f83b3609959728b342f2", "score": "0.74365157", "text": "public boolean won() {\n if(this.getScore() >= PigGame.GOAL)\n return true;\n else\n return false;\n }", "title": "" }, { "docid": "4787d2209da95d723e5a379b7fe8d7d2", "score": "0.7410109", "text": "public void gameIsWon(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e0b42f557da8122d5be2ec9afa28e215", "score": "0.73755175", "text": "public boolean isGameWon() {\n\t\treturn this.isGameWon;\n\t}", "title": "" }, { "docid": "5088d5f845f6d7bdd3fa54c862677d57", "score": "0.73164386", "text": "@Override\n\tpublic void youWin() {\n\t\tgame.setStatus(\"win\");\n\t}", "title": "" }, { "docid": "06550ee29e34e9e7ca9959e8d805c152", "score": "0.7309553", "text": "public boolean isGameWon() {\n return gameWon;\n }", "title": "" }, { "docid": "6c969c5a13dbc4e96f37231a8faf8c83", "score": "0.72719175", "text": "public boolean isGameWon() {\n return countdown.getCurrentValue() > 0 && currentPhase.equals(Phase.FINISHED);\n }", "title": "" }, { "docid": "0f791e067ad7c9213608d7ad850a1c58", "score": "0.727113", "text": "private void gameWon()\n {\n\n }", "title": "" }, { "docid": "a7b53dd2d3ffabe2e46b172d73ab4ebd", "score": "0.7270151", "text": "boolean isGameOver();", "title": "" }, { "docid": "a7b53dd2d3ffabe2e46b172d73ab4ebd", "score": "0.7270151", "text": "boolean isGameOver();", "title": "" }, { "docid": "2804b8887afbf97e1a8e365cf0d0f860", "score": "0.72656494", "text": "public void gameWon() {\r\n WAMNetworkClient.dPrint( '!' + GAME_WON );\r\n\r\n dPrint( \"You won! Yay!\" );\r\n this.model.gameWon();\r\n this.stop();\r\n }", "title": "" }, { "docid": "af5a0304d76d1661d0fd8dca071bb29f", "score": "0.72628003", "text": "private boolean isGameOver()\r\n\t{\r\n\t\tfor (int i = 0; i < NUM_PLAYERS; i++)\r\n\t\t{\r\n\t\t\tif ( players[i].checkAndSetIfWinner() )\r\n\t\t\t{\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "29b6286672d128ef434c853f13a7ff65", "score": "0.7247337", "text": "public static void winGame() {\n\t\t\n\n\t\tif(Map.enemies.isEmpty() && Map.getTickCount() >= 100)\n\t\t{\n\t\t\t//A jatekos nyert, flag beallitasa.\n\t\t\tgameStatus = 3;\n\t\t\t\n\t\t\tJOptionPane.showMessageDialog(null, \"A jateknak vege! On nyert!\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "title": "" }, { "docid": "f9391e18643843301037c547c84195fd", "score": "0.72306895", "text": "public boolean gameOver() {\n\t\tif(!grid.player.isAlive())\n\t\t{\n\t\t\tgameFinished = true;\n\t\t\tSystem.out.println(\"\\nGame Over. You suck!\");\n\t\t}\n\t\treturn gameFinished;\n\t}", "title": "" }, { "docid": "5b2b97ae0d3048733810f5966bc436e0", "score": "0.7230011", "text": "private void win(Player player) {\n CoreEngine.fireMessage(player + \" wins the game !\",\n HMMUserInterface.WARNING_MESSAGE);\n }", "title": "" }, { "docid": "d0fcf20181fc88f88c6deec296ecf5cb", "score": "0.7196081", "text": "static boolean gameOver() {\r\n return checkWinner(\"X\") || checkWinner(\"O\") || getLegalMoves().isEmpty();\r\n }", "title": "" }, { "docid": "0a62a572ed375ac576069c5f982abb9b", "score": "0.7188672", "text": "@Override\r\n\tprotected boolean gameOver() {\n\t\treturn ingame;\r\n\t}", "title": "" }, { "docid": "341aaa19e56a4851db41ea7e1051f8a5", "score": "0.7160562", "text": "public synchronized boolean didIWin() {\n\t\tif (gameStateMachine.amIInGame()) {\n\t\t\tif (players.keySet().size() == 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tfor (Player player : players.values()) {\n\t\t\t\tif (player.getState() == PlayerState.LOST && !gameStateMachine.isMyself(player)) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "a9a3cc96db319c92ae379b92a0dd0024", "score": "0.7138268", "text": "private void hasPlayerWon() {\n\t\t//if won, ask to go to next level\n\t\tif (goalReached()) {\n\t\t\t//check best score\n\t\t\tint currentScore = currentState.getMoves().size();\n\t\t\tint bScore = sr.getScore(level);\n\t\t\tif (bScore == -1) {\n\t\t\t\t//set new score\n\t\t\t\tsr.updateScore(level, currentScore);\n\t\t\t}\n\t\t\telse if (bScore > currentScore) {\n\t\t\t\t//set new score also\n\t\t\t\tsr.updateScore(level, currentScore);\n\t\t\t}\n\t\t\tif (level != NUMLEVELS) {\n\t\t\t\t//make a pop up asking to move on to next level\n\t\t\t\t//or exit the game\n\t\t\t\tint reply = JOptionPane.showConfirmDialog(null, \"Level Passed, continue?\",\n \"Next Level?\", JOptionPane.YES_NO_OPTION);\n\t\t\t\tif (reply == JOptionPane.YES_OPTION)\n\t\t\t\t{\n\t\t\t\t\tContainer container = getContentPane();\n\t\t\t\t\tcontainer.remove(playPanel);\n\t\t\t\t\tcontainer.remove(scorePanel);\n\t\t\t\t\tlevel++;\n\t\t\t\t\tgenerateLevel(String.valueOf(level));\n\t\t\t\t\t//updateScore();\n\t\t\t\t\tcontainer.repaint();\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t}\n\t\t\t//if level is 10 do something else\n\t\t\telse {\n\t\t\t\t//make pop up\n\t\t\t\t//congratulate and exit\n\t\t\t\tJOptionPane.showMessageDialog(null, \"You won the last level, Exiting!\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "eb877455497d1d3b5a8ae7a983e823c8", "score": "0.70890427", "text": "public boolean isGameWon() {\n\n if(_current == Player.BLACK) {\n\n for(int i=0; i<=_board.length-1 ; i++) {\n\n //Piece found, Black didn't win yet!\n if(_board[i] < 0)\n return false;\n }\n }\n\n //White all pieces are 6-\n else if(_current == Player.WHITE) {\n\n for (int i = 0; i <= _board.length - 1; i++) {\n\n //Piece found, White didn't win yet!\n if (_board[i] > 0)\n return false;\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "a10ff4abdbae99fdfb9f21eee3bfbe5c", "score": "0.7076642", "text": "private void somethingHappenedToGame() {\n /* Checking for possible win or loss */\n if(game.getLocal().hasWon())\n inputActive = false;\n if(game.getLocal().isDead())\n inputActive = false;\n }", "title": "" }, { "docid": "9d6c87a98bb91cac3af4415125365e98", "score": "0.70681375", "text": "public boolean gameOver() {\n return board.getValidMoves(side).isEmpty();\n }", "title": "" }, { "docid": "f7a06d53d093088481fbf93da2b272aa", "score": "0.70639706", "text": "boolean won(){\r\n return currentScore >= PigGame.GOAL;\r\n }", "title": "" }, { "docid": "b5e6e2c2bc85d70c12c892172fa7bbde", "score": "0.70570576", "text": "public boolean getGamePlayerWon()\n {\n return ctrlDomain.getGamePlayerWon();\n }", "title": "" }, { "docid": "55f1cd9951a21855488c77aaf81f37f2", "score": "0.7035272", "text": "public boolean scoreReached() {\r\n\t\tint winScore = settings.getInt(\"score-to-win\");\r\n\t\treturn (hillTimer.getBlueScore() >= winScore || hillTimer.getRedScore() >= winScore);\r\n\t}", "title": "" }, { "docid": "cc86dee2232ef75e2c4dc2668e163d69", "score": "0.7034668", "text": "private void announceGameWinner()\n {\n\n }", "title": "" }, { "docid": "0bda433e08ecc7b8019f939b8a9b52db", "score": "0.7025414", "text": "public boolean isOver() {\r\n\t\tif (alivePlayers.size()<=1){\r\n\t\t\treturn true;\r\n\t\t} else{\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6747798d55e83dfb99d31826b386e25d", "score": "0.7016371", "text": "public Boolean getGameWon() {\r\n\t\treturn gameWon;\r\n\t}", "title": "" }, { "docid": "8a8492eafc186326c645063e14b00661", "score": "0.7003057", "text": "public boolean isGameOver() {\r\n return game.isGameOver();\r\n }", "title": "" }, { "docid": "89ea299234f08ad5c059c71e06073f38", "score": "0.69993955", "text": "public boolean isGameOver ()\n {\n return gameOver;\n }", "title": "" }, { "docid": "81603f74e9a18c64ec96b8d48190b72a", "score": "0.6992728", "text": "public boolean isGameOver() {\n return game.isGameOver();\n }", "title": "" }, { "docid": "55fdca931c7b4a50f1c3b26196c5da3f", "score": "0.69903874", "text": "boolean gameOver() {\n if (_count == SQUARES && noMoreMoves(_board)\n || winningTile()) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "67b81ce363865d4ff2174ff1f5c31bb8", "score": "0.6966195", "text": "@Override\n\tprotected String checkIfGameOver() {\n\t\t\n\t\t// get the value of the counter\n\t\tint counterVal = this.gameState.getCounter();\n\t\t\n\t\tif (counterVal >= TARGET_MAGNITUDE) {\n\t\t\t// counter has reached target magnitude, so return message that\n\t\t\t// player 0 has won.\n\t\t\treturn playerNames[0]+\" has won.\";\n\t\t}\n\t\telse if (counterVal <= -TARGET_MAGNITUDE) {\n\t\t\t// counter has reached negative of target magnitude; if there\n\t\t\t// is a second player, return message that this player has won,\n\t\t\t// otherwise that the first player has lost\n\t\t\tif (playerNames.length >= 2) {\n\t\t\t\treturn playerNames[1]+\" has won.\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn playerNames[0]+\" has lost.\";\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\t// game is still between the two limit: return null, as the game\n\t\t\t// is not yet over\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "7ca14af550c6fa4d74bc1af1232f0761", "score": "0.69648504", "text": "public boolean gameOver(){\r\n\t\t//Booleans for if the player has lost or the cpu has lost\r\n\t\tboolean playerLost = true;\r\n\t\tboolean cpuLost = true;\r\n\t\t//Loop through each spot in the player's board\r\n\t\tfor (int i=0;i<10;i++){\r\n\t\t\tfor (int j=0;j<10;j++){\r\n\t\t\t\t//If there is still a spot with a '+' (unhit ship spot)\r\n\t\t\t\tif (playerBoard[i][j] == '+'){playerLost = false;} //Player did not lose\r\n\t\t\t}\r\n\t\t}\r\n\t\t//Loop through each spot in the cpu's board\r\n\t\tfor (int i=0;i<10;i++){\r\n\t\t\tfor (int j=0;j<10;j++){\r\n\t\t\t\t//If there is still a spot with a '+' (unhit ship spot)\r\n\t\t\t\tif (cpuBoard[i][j] == '+'){cpuLost = false;} //Cpu did not lose\r\n\t\t\t}\r\n\t\t}\r\n\t\t//If player lost or cpu lost, game is over\r\n\t\tif (playerLost==true || cpuLost==true){return true;}\r\n\t\t//If not, game is not over\r\n\t\telse{return false;}\r\n\t}", "title": "" }, { "docid": "1446fe746d4fdbba56d4c5b617a6b0f4", "score": "0.69641095", "text": "public void gameWon() {\n\t\t((GameCanvasDraw) myCanvasDraw).setEndMsg(\"YOU WON!\");\n\t\tmyCanvasDraw.tick(69);\n\t\tgameClock.removeUpdatable(gameMap);\n\t\tgameClock.stop();\n\t}", "title": "" }, { "docid": "c48a9d856b60574cf7c781c8e177e958", "score": "0.69632393", "text": "public boolean winner(){\n return game.winner();\n }", "title": "" }, { "docid": "dc6a513437cad81e3087e42de9a07238", "score": "0.6961095", "text": "private static boolean checkForOverallGameWin(ArrayList<Player> players) {\n\r\n\t\t\r\n\t\tif (players.size() == 1) { //if there is only one player left then we have a game winner\r\n\t\t\tSystem.out.println();\r\n\t\t\tSystem.out.println(\"Player \" + players.get(0).getPlayerID() + \" has won the game.\");\r\n\t\t\twinnerID = players.get(0).getPlayerID();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "65ecf237e9b66322554c5025f8fc2960", "score": "0.6960625", "text": "public boolean isGameIsWon() {\n return gameIsWon;\n }", "title": "" }, { "docid": "9b43fb26db0e05460ef9f6c4f8d19e44", "score": "0.69528353", "text": "private boolean isGameOver() {\n\t\treturn charakter.getCurrentLP() <= 0;\n\t}", "title": "" }, { "docid": "4ce893c5cee4ec4837cf367430cffa31", "score": "0.6950955", "text": "private void displayerWinningPlayer() {\n Pit[] board = model.getBoard();\n\n int player1Marbles = board[Model.PLAYER_ONE_MANCALA].getStones();\n int player2Marbles = board[Model.PLAYER_TWO_MANCALA].getStones();\n if (player1Marbles > player2Marbles) {\n JOptionPane.showMessageDialog(this, \"GAME OVER! \\n Player 1 Wins!\");\n } else if (player2Marbles > player1Marbles) {\n JOptionPane.showMessageDialog(this, \"GAME OVER! \\n Player 2 Wins!\");\n } else {\n JOptionPane.showMessageDialog(this, \"GAME OVER! \\n We are all winners!\");\n }\n }", "title": "" }, { "docid": "8651b59794e28fbd43dd60db5fd1638e", "score": "0.6940217", "text": "private void determineGameWinner() {\n if (playerCurrentScore > computerCurrentScore) {\n playerTotalWins+=1;\n System.out.println(\"You Win!\");\n } else if (playerCurrentScore < computerCurrentScore) {\n computerTotalWins+=1;\n System.out.println(\"You Lose!\");\n } else {\n System.out.println(\"It's a Tie!\");\n }\n }", "title": "" }, { "docid": "090fdfce8585b4f85f7773fb0c51c7b2", "score": "0.6929438", "text": "public boolean hasWon() {\r\n\t\treturn won;\r\n\t}", "title": "" }, { "docid": "71fccf86b56e3754524074fc6afc2723", "score": "0.69254637", "text": "public synchronized boolean isGameFinished() {\n\t\tif (players.keySet().size() == 0) {\n\t\t\treturn false;\n\t\t}\n\t\tfor (Player player : getAllPlayersInfo()) {\n\t\t\tif (player.getState() == PlayerState.WON || player.getState() == PlayerState.LOST) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c5f6e6d8937a7427167b937cacd27d73", "score": "0.6923155", "text": "public boolean isGameOver()\n\t{\n\t\treturn lives < 0;\n\t}", "title": "" }, { "docid": "2b2f252f62eec48b19e7c0494117d989", "score": "0.6920057", "text": "public boolean isGameOver() {\n return gameOver;\n }", "title": "" }, { "docid": "2b2f252f62eec48b19e7c0494117d989", "score": "0.6920057", "text": "public boolean isGameOver() {\n return gameOver;\n }", "title": "" }, { "docid": "a44736fa44ba39ad42b5c7c14fdd935c", "score": "0.6917495", "text": "public boolean isGameOver() {\r\n\t\treturn lives < 0;\r\n\t}", "title": "" }, { "docid": "495eeacf3d04c6dc216ea3599987cc6e", "score": "0.6906753", "text": "public boolean isGameOver() \n\t{\n\t\treturn gameOver;\n\t}", "title": "" }, { "docid": "467e44177a06ee58a7f8e2efded6d208", "score": "0.68889326", "text": "public boolean isGameOver() {\n return status != GameStatus.RUNNING;\n }", "title": "" }, { "docid": "3b4212e51ecbc430498a259263d34862", "score": "0.6888721", "text": "public boolean isGameOver()\n\t{\n\t\treturn gameOver;\n\t}", "title": "" }, { "docid": "b9308975f14232c79338013400c3c093", "score": "0.68826336", "text": "protected abstract boolean isGameOver();", "title": "" }, { "docid": "860c9b8d6b620cd6f6c3ec35ee2d42e2", "score": "0.6879854", "text": "private void playerWins() {\n playerPoints++;\n Toast.makeText(this, \"You win!\", Toast.LENGTH_SHORT).show();\n updatePointsText();\n resetBoard();\n }", "title": "" }, { "docid": "ec343f9ab071308a88b5a9352f8fb780", "score": "0.68760675", "text": "public boolean gameOver(){\n if (player.currentState == Mario.States.DEAD && player.getStateTimer() > 3){\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "e3e5a308412f22013c5011efda99f88a", "score": "0.6868563", "text": "public void winCondition(){\n\t\tint nuetralSpace = 0;\n\t\tint playerOne = 0;\n\t\tint playerTwo = 0;\n\t\tfor(int row = 0; row < BOARD_HEIGHT; row++) {\n\t\t\tfor(int column = 0; column < BOARD_WIDTH; column++) {//counts how many spaces are unclaimed\n\t\t\t\tif(board[row][column].getState() == 0) nuetralSpace++;\n\t\t\t\tif(board[row][column].getState() == 1) playerOne++;\n\t\t\t\tif(board[row][column].getState() == 2) playerTwo++;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tif(playerOne == 0 ||nuetralSpace == 0||playerTwo == 0 ) {\n\t\t\tthis.toString();\n\t\t\tSystem.out.println(\"GAME OVER!!! THAT WAS FUN!!!\");\n\t\t\tthis.gameOver = true;\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "43edc7704b70e0f8e018178c9ac88c9d", "score": "0.6857567", "text": "public void checkWinCondition(){\n if (playerList.get(currentPlayerIndex).getPlayerHand().isEmpty()){\n secondHeader.setText(\"Player \" + (currentPlayerIndex +1) + \" has finished the game! The game is restarting, remaining players get ready!\");\n displayCurrentCardText.setText(\"\");\n playerList.get(currentPlayerIndex).setPlayerGameStatus(false);\n finishedPlayerList.add((currentPlayerIndex +1));\n finishedPlayers += 1;\n currentTrumpName = null;\n for (Player aPlayer : playerList) {\n aPlayer.setPlayerTurnStatus(true);\n }\n playerPassCount = 0;\n }\n else {\n if (currentTrumpName.equals(\"The Geophysicist\") || currentTrumpName.equals(\"The Geologist\") || currentTrumpName.equals(\"The Mineralogist\") || currentTrumpName.equals(\"The Gemmologist\") || currentTrumpName.equals(\"The Petrologist\") || currentTrumpName.equals(\"The Miner\")) {\n currentPlayerIndex -= 1;\n }\n }\n currentPlayerIndex += 1;\n if (currentPlayerIndex == playerCount){\n currentPlayerIndex = 0; }\n runGame();\n }", "title": "" }, { "docid": "416bb842e9b04f23f7bf2ae60cc8711a", "score": "0.6845458", "text": "public void playerWon(Player player);", "title": "" }, { "docid": "d277596d3e3fa1e08d5e27f667591a23", "score": "0.683789", "text": "public boolean gameOver(){\n if(protagonist.currentState == Protagonist.State.DEAD && protagonist.getStateTimer() > 2) {\n return true;\n }\n else\n return false;\n }", "title": "" }, { "docid": "aa562fb766a9feb6410379b833d4d0f7", "score": "0.68373835", "text": "@Override\n\tpublic void hasWon(char playerMark) throws RemoteException {\n\t\tthis.game.gameFinished();\n\t\t// Change the status message to indicate that the game is finished\n\t\tthis.game.setStatusMessage(\"Player \" + playerMark + \" won!\");\n\t}", "title": "" }, { "docid": "5c736a1caf2d68199de3f2af38fad6ea", "score": "0.6836393", "text": "public void gameOverCheck() {\n\t\tif (getRoamingAstronauts() <= 0) {\n\t\t\tg.gameOver(this);\n\t\t}\n\t}", "title": "" }, { "docid": "2457dd5cdc882b62cc1f3924c28ca708", "score": "0.683405", "text": "public GameState checkGameState(){\n if (players.stream().allMatch(p -> !p.isAlive()))\n return GameState.RobotsWon;\n else if (robots.size() == 0)\n return GameState.PlayersWon;\n else\n return GameState.Running;\n }", "title": "" }, { "docid": "beaaf04399c39517e8a7c971eebce44f", "score": "0.68332034", "text": "public void allPhasesOver() {\n\t\tgame.playerHasWon(null);\n\t}", "title": "" }, { "docid": "944f97f9b25825f4f42c8cdfa0c622bb", "score": "0.6830749", "text": "@Override\n public boolean hasWinner() {\n return currentPlayer().getHandSize() == 0;\n }", "title": "" }, { "docid": "d5a031ecad64fd539de16b440a9c0ce9", "score": "0.682548", "text": "private void playerWon() {\n game.isOver(); //end the game\n TDM.playWin() ;\n long elapsed = game.elapsedTime();\n long fastest = game.fastestTime();\n if ( elapsed<fastest ) {\n editor.putLong(\"FastestTime\",elapsed);\n editor.commit();\n game.setFastestTime(elapsed);\n }\n game.setDistanceRemaining(0);\n }", "title": "" }, { "docid": "3fe9ed8a3d4338b9fc164c8c47d64fd1", "score": "0.6814064", "text": "public int isGameOver() {\r\n\t\t// If game is quit inside of interface.\r\n\t\tif (boardInterface.isGameQuit()) {\r\n\t\t\tSystem.out.print(\"\");\r\n\t\t\t//quit game here\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\t\r\n\t\t// If a player has more than 6 of his nine pieces taken\r\n\t\tif (!isPlacement) {\r\n\t\t\tif (myBoard.piecesOnSide(0) > 6 || myBoard.piecesOnSide(1) > 6) {\r\n\t\t\t\tif (boardInterface.isGameReset()){\r\n\t\t\t\t\t// Game was reset from winner menu\r\n\t\t\t\t\treturn 3;\r\n\t\t\t\t}\r\n\t\t\t\treturn 0; // Game is over\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (boardInterface.isGameReset()){\r\n\t\t\t// Game was reset from in game menu\r\n\t\t\treturn 2;\r\n\t\t}\r\n\r\n\t\treturn -1;\r\n\t}", "title": "" }, { "docid": "c0c964ac0d50fa2bdf5d5ff0dde7f0c3", "score": "0.68115497", "text": "public boolean wonGame() {\n\n\t\tif (snakeSquares.size() == (maxX * maxY) - SnakeGame.numberOfWalls) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4b38b3621eedbe9d09b27ff00300eaeb", "score": "0.6809432", "text": "boolean hasGame();", "title": "" }, { "docid": "4b38b3621eedbe9d09b27ff00300eaeb", "score": "0.6809432", "text": "boolean hasGame();", "title": "" }, { "docid": "494f80080893d0ac774af2d2c250ac36", "score": "0.68062234", "text": "public void gameOver() {\n\t\tgameOver = true;\n\t}", "title": "" }, { "docid": "8029dd786712fac780a5eea97b965242", "score": "0.6805912", "text": "public void gameOver(boolean won) {\n\t\tgame.setScreen(new GameOverScreen(game, truckNum, won));\n\t}", "title": "" }, { "docid": "ad55cb6d87db063b9e15a5c94642639e", "score": "0.6802683", "text": "public void roundWin(){\n\t\t//to say opponent fainted\n\t\tSystem.out.println(enemyPoke.getName() + \" fainted!\");\n\t\tcurrentPoke.displayInfo();\n\t\tSystem.out.println(\"\\nNext battle start\\n\");\n\t\twon = true;\n\t}", "title": "" }, { "docid": "1995fc558cc3d6a5213c2819444156fd", "score": "0.6802458", "text": "public void checkPlayerWin(Map map) {\r\n \t//checks if win conditions have been met and the player is on an exit tile to print if the user has won or lost\r\n \tif (map.getMapLocation(getXCoord(), getYCoord()) == 'E' && getGoldOwned() >= map.getGoldRequired()) {\r\n \t\tSystem.out.println(\"WIN\");\r\n \t}\r\n \telse {\r\n \t\tSystem.out.println(\"LOSE\");\r\n \t}\r\n }", "title": "" }, { "docid": "51e298bfd04f10940e43edd99271e04a", "score": "0.680003", "text": "public boolean isGameOver() {\n\n if(isWinner(\"R\") || isWinner(\"Y\") || getEmptyLocs().size() == 0)\n return true;\n else\n return false;\n\n }", "title": "" }, { "docid": "b74d55ca7cd9df8d6e6b3ca91cc4ac0c", "score": "0.6799687", "text": "public void lost() {\n lostGames++;\n }", "title": "" }, { "docid": "0e101d47b8466840a780c70dd4e6e305", "score": "0.67913663", "text": "@Override\n protected void checkGameOver() {\n }", "title": "" }, { "docid": "7fc8ab645130b2c8bdecf513cbbed6ef", "score": "0.67892426", "text": "public boolean isGameOver() {\r\n return false;\r\n }", "title": "" }, { "docid": "56961edb931a73bb5f3e8c0b028ed05c", "score": "0.6780723", "text": "public boolean gameOver() {\n return killRing.next == null;\n }", "title": "" }, { "docid": "f9d042890bbbeaebfcc56642bad91e87", "score": "0.6779425", "text": "public void winConditions() {\n\t\tif (pongApplication.leftScore == 10 && pongApplication.isLeft()\n\t\t\t\t&& !pongApplication.isMultiplayer()) {\n\t\t\tLog.d(TAG, \"player wins on left side\");\n\t\t\tmainPanel.getThread().onPause();\n\t\t\twin_frag.show(fragmentManager, \"winning\");\n\t\t} else if (pongApplication.rightScore == 10\n\t\t\t\t&& !pongApplication.isLeft()\n\t\t\t\t&& !pongApplication.isMultiplayer()) {\n\t\t\t// // Player is one the rightside and scores the target score\n\t\t\tLog.d(TAG, \"player wins on right side\");\n\t\t\tmainPanel.getThread().onPause();\n\t\t\twin_frag.show(fragmentManager, \"winning\");\n\n\t\t} else if (pongApplication.isMultiplayer()\n\t\t\t\t&& pongApplication.getLeftScore() == 10\n\t\t\t\t|| pongApplication.isMultiplayer()\n\t\t\t\t&& pongApplication.getRightScore() == 10) {\n\t\t\t// // Finally if there is a multiplayer game, there are no points\n\t\t\t// // gained. Or half points. Or no bonuses or something\n\t\t\t// NO POINTS\n\t\t\tLog.d(TAG,\n\t\t\t\t\t\"multiplayer activates\" + pongApplication.isMultiplayer());\n\t\t\tmainPanel.getThread().onPause();\n\t\t\tmulti_frag.show(fragmentManager, \"Multi-Win\");\n\n\t\t} else if (!pongApplication.isLeft() && pongApplication.leftScore == 10\n\t\t\t\t&& !pongApplication.isMultiplayer()) {\n\t\t\t// Check if the left score is 1, and the player is not there, then\n\t\t\t// the comp won\n\t\t\tLog.d(TAG, \"comp wins on left side\");\n\t\t\tmainPanel.getThread().onPause();\n\t\t\tlose_frag.show(fragmentManager, \"losing\");\n\t\t} else if (pongApplication.rightScore == 10 && pongApplication.isLeft()\n\t\t\t\t&& !pongApplication.isMultiplayer()) {\n\t\t\t// If the right reaches the target score, and the player is on the\n\t\t\t// left,\n\t\t\t// then the AI/comp wins\n\t\t\tLog.d(TAG, \"player wins on right side\" + pongApplication.isLeft()\n\t\t\t\t\t+ \"isLeft\");\n\t\t\tmainPanel.getThread().onPause();\n\t\t\tlose_frag.show(fragmentManager, \"losing\");\n\t\t}\n\n\t}", "title": "" }, { "docid": "53827be28df2253fe7b96f821027df09", "score": "0.6772154", "text": "protected abstract Player checkWinner();", "title": "" }, { "docid": "19fda0d18b421c71b871d9a63bb840bf", "score": "0.6765969", "text": "static boolean gameOver() {\n return board.getRedPieces().size() == 0 || board.getBlackPieces().size() == 0;\n }", "title": "" }, { "docid": "358e7a2d91faef527d735ec5f7785d28", "score": "0.6757344", "text": "public boolean isGameOver(){\r\n \t// checks to see if 5 rounds were completed\r\n \tif (this.roundNumber > 5){\r\n \t\treturn true;\r\n \t}\r\n \telse{\r\n \t\treturn this.gameOver;\r\n \t}\r\n \t\r\n }", "title": "" }, { "docid": "894b71ae7458edfdfd95615b93a911ec", "score": "0.6747843", "text": "public void winByOpponent() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "a1b072a6f069eeb68977bb4f232bcde8", "score": "0.67474395", "text": "public boolean isGameOver() {\r\n // if the current gamePosition lays in the GOAL array or both players energy is at zero\r\n return (GOAL.contains(gamePosition) || (player1.getCurrentEnergy() == 0 && player2.getCurrentEnergy() == 0));\r\n }", "title": "" }, { "docid": "dc59e36dd20a54115c1dfc764841f6ab", "score": "0.6746539", "text": "public boolean isGameOver() {\n\t\treturn gameIsOver;\n\t}", "title": "" }, { "docid": "d679edd95f4fddee144f4809486a3704", "score": "0.67348385", "text": "public int getGamesWon()\r\n {\r\n int totWon = 0;\r\n for( Game g : games )\r\n {\r\n if( g.getGameResult() == 1 ){ totWon += 1; }\r\n }\r\n return totWon;\r\n }", "title": "" }, { "docid": "fe0c8ea089eb6e43729431fef4ae175c", "score": "0.67345417", "text": "private boolean hasWonGame() {\n // TODO\n if (mGameState != PuzzleGameState.PLAYING) {\n return false;\n }\n int rowsCount = mPuzzleGameBoard.getRowsCount();\n int colsCount = mPuzzleGameBoard.getColumnsCount();\n\n for (int i = 0; i < rowsCount; i++){\n for (int j = 0; j < colsCount; j++){\n if (!(mPuzzleGameBoard.getTile(i, j).getOrderIndex() == i*rowsCount + j)){\n return false;\n }\n\n }\n }\n return true;\n }", "title": "" }, { "docid": "ac06259a6fd47af08032d37c37dbde4c", "score": "0.6734329", "text": "static boolean isGameOver() {\n return m_GameOver;\n }", "title": "" }, { "docid": "c00ae0b03bc454a6a33b8ffe8016920f", "score": "0.6731411", "text": "public void gameIsLost(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e5c57d203a89723806c88f70527a2646", "score": "0.6729361", "text": "public void checkWin() {\n\t\tif (winner != null) {\n\t\t\tif (winner == player1) {\n\t\t\t\tbatch.draw(winnerRed, GameHelper.BOARD_START_X, GameHelper.BOARD_START_Y);\n\t\t\t} else {\n\t\t\t\tbatch.draw(winnerYellow, GameHelper.BOARD_START_X, GameHelper.BOARD_START_Y);\n\t\t\t}\n\t\t\tendGame();\n\t\t}\n\t}", "title": "" }, { "docid": "5cec989ad80d9d8c217766cfc974050a", "score": "0.67279655", "text": "private int whoWon()\r\n\t{\r\n\t\tfor (int i = 0; i < NUM_PLAYERS; i++)\r\n\t\t{\r\n\t\t\tif ( players[i].checkAndSetIfWinner() )\r\n\t\t\t{\r\n\t\t\t\treturn i;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn -99;\r\n\t}", "title": "" }, { "docid": "7bdf61788bfd6cd6310bd407a5bc70c3", "score": "0.67249846", "text": "public boolean checkWinCondition() {\n\t\t\n\t\tif(grid.player.hasBriefcase()){\n\t\t\tgameWon = true;\n\t\t\tgameFinished = true;\n\t\t\tSystem.out.println(\"\\nYou won the game! Good Job!\\n\");\n\t\t}\n\t\treturn gameWon;\n\t}", "title": "" }, { "docid": "bcb2e19bd038ab31caa7e62ed492b36a", "score": "0.67189413", "text": "public boolean gameIsOver()\n {\n for(PitRow rowOfPits : pitsForEachPlayers)\n {\n if(rowOfPits.hasNoMarbles())\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "5d776b81a343e412cb2148e64d8b5ccd", "score": "0.67185056", "text": "private void gameOver() {\n\t\tresetGame();\n\t}", "title": "" }, { "docid": "438e12162b3c146f79583dd2f678d98b", "score": "0.6714789", "text": "public void checkWinner() {\n\t\t\n\t}", "title": "" }, { "docid": "45d62c7de0a4bc3fd83b3962c64fea6f", "score": "0.6712224", "text": "public boolean isGameOver() {\n\t\t// 1. there is no tiles in bag.\n\t\t// 2. all the players hit pass button\n\t\tif (bag.getNormalTileSize() == 0) {\n\t\t\treturn true;\n\t\t} else if (pass == players.size()) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c3db3f3669f712f8f49835a64876c36e", "score": "0.6706728", "text": "boolean hasPlayer();", "title": "" }, { "docid": "c3db3f3669f712f8f49835a64876c36e", "score": "0.6706728", "text": "boolean hasPlayer();", "title": "" }, { "docid": "d30d14f1827b18288ec69edfff2f7a7f", "score": "0.67043984", "text": "private void checkForGameOver() {\n // Game is over if timer reaches zero.\n if( remainingTimeMillis <= 0 ) {\n // Prevent negative clock.\n remainingTimeMillis = 0;\n // Flag Game Over and pause it.\n gameIsOver = true;\n gameIsPaused = true;\n\n // Play an appropriate sound.\n SoundUtility.getInstance().playGameOver();\n SoundUtility.getInstance().stopMusic();\n }\n }", "title": "" }, { "docid": "a7f5fa363428c268142fe8a87757b21b", "score": "0.6695127", "text": "public void isGameOver()\r\n {\r\n // put your code here\r\n boolean player1 = true;\r\n boolean player2 = true;\r\n for(int i = 0; i < game.length; i++)\r\n {\r\n for(int j = 0; j < game.length; j++)\r\n {\r\n Piece temp = getPieceAt(j,i);\r\n if(temp != null)\r\n {\r\n if(temp.getTeam() == 1)\r\n {\r\n player1 =false;\r\n }\r\n else\r\n {\r\n player2 = false;\r\n }\r\n }\r\n }\r\n }\r\n if(player1)\r\n {\r\n System.out.println(\"Red Player Wins\");\r\n }\r\n\r\n if(player2)\r\n {\r\n System.out.println(\"Black Player Wins\");\r\n }\r\n }", "title": "" } ]
3aff21c5fcadf51b3c0127568b6c5d07
Method yang mengembalikan byte blank location.
[ { "docid": "9b6f0d112b41f1ecdafc82e1ebca233e", "score": "0.7440762", "text": "public byte getBlankLocation() {\n return blankLocation;\n }", "title": "" } ]
[ { "docid": "f90bd7c85f2a79efde00d08e8a2aed5e", "score": "0.6122034", "text": "public void O0000OoO() {\r\n }", "title": "" }, { "docid": "b83bc29fd5820194cf53490b29e79b67", "score": "0.6046487", "text": "public void zeroize() {\n int i;\n\n setCipherBankPos(\"OOOOO\");\n setControlBankPos(\"OOOOO\");\n return;\n }", "title": "" }, { "docid": "b8bad748adefb5dc6280e448dc6a5d6d", "score": "0.5811152", "text": "@Override\r\n\t\t\tpublic int getOffset() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "1455e39f0e5e731291aa92bc9cb97c36", "score": "0.5755682", "text": "public void O0000Ooo() {\r\n }", "title": "" }, { "docid": "1e50900b38237040a2378e59e2e2f665", "score": "0.5658755", "text": "protected void nothing()\n\t{\n\n\t}", "title": "" }, { "docid": "c007a8b220f858668ee06629d1ebedcd", "score": "0.5587729", "text": "private void setEndMessageZeroBytesByOpcode(short opcode){\n /* int endMessageZeroBytes=\n -2 as a default state. it should be changed after this method.\n -1 if the message contains only opcode.\n 0 if the message contains opcode and string(of 2 bytes) --without-- '\\0' char for the end of the message.\n 1 if the message contains opcode and string --with a single-- '\\0' char for the end of the message.\n 2 if the message contains opcode and string (that splits by '\\0' char to 2 substrings) --with two-- '\\0' chars\n and second appear of the '\\0' char represents the end of the message.\n */\n switch(opcode) {\n case 1:\n case 2:\n case 3: { // On this cases the the next bytes should contains '\\0' when the second appear of '\\0' its the end message char.\n endMessageZeroBytes = 2;\n break;\n }\n case 8: {\n endMessageZeroBytes = 1;\n break;\n }\n case 5:\n case 6:\n case 7:\n case 9:\n case 10: {//message contains only opcode and courseName in the total exactly 4 bytes.\n endMessageZeroBytes = 0;\n break;\n }\n case 4: // message contains only opcode\n case 11: {\n endMessageZeroBytes = -1;\n break;\n }\n\n }\n }", "title": "" }, { "docid": "4ebc6d9af35e68ac65adbe8b2f05d627", "score": "0.55288136", "text": "public void checkBlankSpace()\r\n\t{\r\n\t\tif (xOffset < 0) xOffset = 0;\r\n\t\telse if(xOffset > handler.getWorld().getWidth() * Tile.WIDTH - Game.width)\r\n\t\t{\r\n\t\t\txOffset = handler.getWorld().getWidth() * Tile.WIDTH - Game.width;\r\n\t\t}\r\n\t\tif (yOffset < 0) yOffset = 0;\r\n\t\telse if(yOffset > handler.getWorld().getHeight() * Tile.HEIGHT - Game.height)\r\n\t\t{\r\n\t\t\tyOffset = handler.getWorld().getHeight() * Tile.HEIGHT - Game.height;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "50f57a7c47e398dd38272c5171c684a1", "score": "0.5526907", "text": "public void mo35173b() {\n this.f30861c.sendEmptyMessage(0);\n }", "title": "" }, { "docid": "5cbed2aa9f6b2c2b71c8db095f62df2a", "score": "0.551641", "text": "public void mo17484a() {\n this.f2434c.sendEmptyMessage(0);\n }", "title": "" }, { "docid": "6a15d4b9b16ebfa3c718407384f5eae6", "score": "0.54994607", "text": "@Override\r\n\t\t\tpublic int getLength() {\n\t\t\t\treturn 0;\r\n\t\t\t}", "title": "" }, { "docid": "b9d2ae9001ccaf8b66d2c4e0cb851e76", "score": "0.5494192", "text": "com.google.protobuf.ByteString\n getNoBytes();", "title": "" }, { "docid": "47bfb4e5380d2db4075e50d567e8d706", "score": "0.5486287", "text": "@Override\n\tpublic int length() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "71a6182c933a37d3abc997685f626f42", "score": "0.54470587", "text": "public void clear() {\n\t\t\tfor(int c = 0; c < field.length; c++) field[c] = (byte)0;\n\t\t}", "title": "" }, { "docid": "0fdd59bbacf04462755c793f1e054ba7", "score": "0.5433339", "text": "@Test\n public void testInDataMappingReturnsNullForByteData()\n {\n testInDataMapping(MY_BYTE_IN_DATA_MAPPING, BYTE_INIT_VALUE);\n }", "title": "" }, { "docid": "72bb04f969c042839134f50d781f0b67", "score": "0.5417067", "text": "@Test\n public void testInDataPathReturnsNullForByteData()\n {\n testInDataPath(MY_BYTE_IN_DATA_PATH, BYTE_INIT_VALUE);\n }", "title": "" }, { "docid": "3f30566f548d65fed967bfe4c9e02a6d", "score": "0.54169446", "text": "@Override\n public String posicionar(String _posicao) {\n return null;\n }", "title": "" }, { "docid": "b8284d244a8a0c0d0486e30877d5265f", "score": "0.54096305", "text": "@Override\n\tpublic int getLength() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "b8284d244a8a0c0d0486e30877d5265f", "score": "0.54096305", "text": "@Override\n\tpublic int getLength() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "b8284d244a8a0c0d0486e30877d5265f", "score": "0.54096305", "text": "@Override\n\tpublic int getLength() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "7755fd1bb082de6be481ffecbad1569d", "score": "0.54038024", "text": "@Override\n\t\tpublic void nothing() {\n\n\t\t}", "title": "" }, { "docid": "24638e45a39a8e4a61c56c8795901ac0", "score": "0.5397735", "text": "public static void zero(int len)\n {\n top();\n noose();\n stalk(len);\n base();\n }", "title": "" }, { "docid": "45b489fb98b8d35238da432943fdc740", "score": "0.5393073", "text": "public String emptyMethod() {\n return null;\n }", "title": "" }, { "docid": "63f38aeeef90a5245c29ef08641e3dd3", "score": "0.53899455", "text": "public void testGetPieceEmpty() {\n \tCcGameBoard board = new CcGameBoard(2);\n \tPosition temp = new Position(5,5);\n \tassertNull(board.getPiece(temp));\n }", "title": "" }, { "docid": "1cdb0478d0b3b284977ed31e1430c1ea", "score": "0.53818196", "text": "private char[] getBarcode1() {\n\treturn null;\r\n}", "title": "" }, { "docid": "ed40c9c61f673198b27f5aa05ceb0cf5", "score": "0.5379406", "text": "public Character getZeroCharacter() {\r\n \t// TODO Not Implemented yet\r\n \treturn null;\r\n }", "title": "" }, { "docid": "7c4032b65bcdbcbf33bd86aad608d927", "score": "0.5379286", "text": "public void mo17488b() {\n this.f2434c.sendEmptyMessage(1);\n }", "title": "" }, { "docid": "ecbd908d87d6a482ad5a13bfebabf26e", "score": "0.53764373", "text": "static void zero_extend() {\n\t\tboolean b = true;\n\t\tchar c = 50;\n\t\tint ic = c;\n\t}", "title": "" }, { "docid": "ee4ab295c9c45b62b9c245f8f77092cc", "score": "0.5375108", "text": "public void fichier() { this.emptyColumn(1); }", "title": "" }, { "docid": "d3d141c46cb9b251f7f7e72fb5071aff", "score": "0.53628004", "text": "@Override\r\n public int getDataBits() {\n return 0;\r\n }", "title": "" }, { "docid": "965dfc46b52ec3066c7e9dc92e2faac1", "score": "0.53503716", "text": "@Test\n\tpublic final void testMissingOffsets() {\n\t\tRawLineLocRef rawLoc = new RawLineLocRef(\"1\",\n\t\t\t\tnew ArrayList<LocationReferencePoint>(), null);\n\t\tLocationReference locRef = XML_ENCODER.encodeData(rawLoc);\n\t\tassertFalse(locRef.isValid());\n\n\t}", "title": "" }, { "docid": "a000a12ebad9405f2457a1c452082816", "score": "0.53471786", "text": "private static boolean isEmpty(int position){\n\t\treturn GameView.boardPosition.get(position).getText().equals(\" \");\n\t}", "title": "" }, { "docid": "bded55b76adf828a90ad15e5fd2ea363", "score": "0.53389513", "text": "@Test\n public void testZeroBuf() {\n allocator.getEmpty().print(new StringBuilder(), 0, BaseAllocator.Verbosity.LOG_WITH_STACKTRACE);\n }", "title": "" }, { "docid": "cd75dbaaf7371dcbd87184f637ce8290", "score": "0.53350204", "text": "@Test\n public void testPrint() {\n try {\n io.print(null);\n io.print(\"\");\n io.print(\"ääööö asdf\");\n\n } catch (Exception ex) {\n fail(\"Printtaus ei onnistu\");\n }\n }", "title": "" }, { "docid": "fd5c9b25a1092075b6dd9d4950fe97fd", "score": "0.5323465", "text": "public EmptyBead(int x, int y, int z) {\n isEmpty = true;\n colour = PlayerColour.EMPTY;\n beadId = -1;\n xCoord = x;\n yCoord = y;\n zCoord = z;\n }", "title": "" }, { "docid": "d561f5635d98e178ef862e7da29e3d40", "score": "0.53135806", "text": "@Test\n public void testCivicLocationEmptyBuffer() {\n CivicLocation civicLocation = new CivicLocation(sEmptyBuffer, sUsCountryCode);\n\n boolean valid = civicLocation.isValid();\n\n assertFalse(valid);\n }", "title": "" }, { "docid": "a9566195a1d43bc6918a0953d38d6fac", "score": "0.53079885", "text": "protected IFtVerificationPoint emptyVP() \n\t{\n\t\treturn vp(\"empty\");\n\t}", "title": "" }, { "docid": "cb2e302141a4a628a8a6748bb767a8f9", "score": "0.5306582", "text": "public Tile setEmptyTile(String loc){\n\t\t int[] coordinate = this.map(loc);\n\t\t return this.board[coordinate[0]][coordinate[1]] = new Tile.EmptyTile(loc); \n\t }", "title": "" }, { "docid": "fa8fdee603465da9a38c932679191a70", "score": "0.5305211", "text": "Boolean empty(){\r\n \t\tif(this.oz == 0){\r\n \t\t\treturn true;\r\n \t\t}else {\r\n \t\t\treturn false;\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "3b25bb1a7464d40d10a7e10781491737", "score": "0.530472", "text": "public void appendNull() {\r\n\t\tensureCanAddNMoreChars(4);\r\n\t\tappendChars(__null__);\r\n\t}", "title": "" }, { "docid": "ad5eb4144088e718c879536d122fd62e", "score": "0.5303643", "text": "private void blank() {\n txt_pass.setText(null);\n txtKonfirm.setText(null);\n\n }", "title": "" }, { "docid": "c38100bcd293aecded1a94ea2d68ed7e", "score": "0.52964324", "text": "public void testLocationNameZero()\n {\n loc.setLocation(0);\n assertEquals(\"Bathroom\", stor.locationName(0));\n }", "title": "" }, { "docid": "e1c0c97fff33c3c27b696ec64b179685", "score": "0.5295947", "text": "public UndeterminedByte(String label) {\n this.label = label;\n }", "title": "" }, { "docid": "93876a1403d22b83e3f8f75d8173790d", "score": "0.52819806", "text": "public void setNoTileTile(@Nullable byte[] noTileTile) {\n this.noTileTile = noTileTile;\n }", "title": "" }, { "docid": "871094680c4037002ed5ffa81dbbdde1", "score": "0.5280398", "text": "@java.lang.Override\n public com.google.protobuf.ByteString\n getNoBytes() {\n java.lang.Object ref = no_;\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 no_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "a33f8c917f6c31aff358d1badd9e07cd", "score": "0.52782625", "text": "public EmptyLayout() {\n\tsuper((StringBuilder)null);\n\tinitHeaders();\n\t}", "title": "" }, { "docid": "cb2f4103206eacb0e29a321240a15dff", "score": "0.5272892", "text": "public SquarePosition() {\n _sentinel = true;\n }", "title": "" }, { "docid": "6850fc3ed943b8633bb73f0c50489912", "score": "0.5266903", "text": "@Test\r\n public void testEmptyL1() {\n \tBinson b = new Binson();\r\n \tbyte[] expected = new byte[]{0x40, 0x41};\r\n \tAssert.assertArrayEquals(expected, b.toBytes());\r\n }", "title": "" }, { "docid": "ac9dc73dea424f3893afe8c828b37b39", "score": "0.52660054", "text": "public com.google.protobuf.ByteString\n getNoBytes() {\n java.lang.Object ref = no_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n no_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "c9e65e892d3d2baa7772c75ff84322a7", "score": "0.5261722", "text": "public MyData zero() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "a6cc84ef912c877216430cc18c2a1701", "score": "0.52567333", "text": "@Override\r\n\tpublic String pope() {\r\n\t\treturn \"\";\r\n\t}", "title": "" }, { "docid": "7ba754f5b2351c5eed207fbccb82a9d8", "score": "0.5252715", "text": "public TypeCharNullTerminated() {\n super(true, true);\n }", "title": "" }, { "docid": "486ac3191405129661e35163cd261b43", "score": "0.5249593", "text": "public void mo35176c() {\n this.f30861c.sendEmptyMessage(1);\n }", "title": "" }, { "docid": "43d8c75f851ea98ed3670fdca50dc743", "score": "0.5244189", "text": "void addDummy() {\r\n addDummyByte = true;\r\n }", "title": "" }, { "docid": "f0eea5a3c0584c39572883c7cd630c06", "score": "0.52393436", "text": "public static void escreveZero(byte[] simbolo, int offset) {\n escreveOndaSenoide(simbolo, offset, ZERO, AMPLITUDE);\n }", "title": "" }, { "docid": "5062d0641131ff2ea69ab22a830d90f9", "score": "0.52392733", "text": "public EmptyPacket() \n\t { \n\t \t// need this constructor\n\t }", "title": "" }, { "docid": "64b0faa976b78552e6a4c433e9434165", "score": "0.5237858", "text": "BinaryRegion() {\n\t}", "title": "" }, { "docid": "ec84d254bc1160ae0968ac4ff9e75a35", "score": "0.5230976", "text": "@Test\r\n public void testGuessingLogicWithEmptyCordinate() {\r\n model.createBoard();\r\n model.createShipsWithstaticData();\r\n boolean res = model.guessShipPosition(\"B1\");\r\n assertEquals(\"Test cordinate with empty posiiton\", false, res);\r\n }", "title": "" }, { "docid": "df741d565e84fff8741c910ecb86e62d", "score": "0.52209646", "text": "@Override\n\tpublic char elementChar(int[] coords) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "7f9df49b545cdd8c86c3567d0be47586", "score": "0.5215216", "text": "@Test\r\n public void testEmptyL2() {\n \tBinson b = new Binson().put(\"\", new Binson());\r\n \tbyte[] expected = new byte[]{0x40, 0x14, 0x00, 0x40, 0x41, 0x41};\r\n \tAssert.assertArrayEquals(expected, b.toBytes());\r\n }", "title": "" }, { "docid": "ac8ab3708c47a5ad1908a2c81e3e00b4", "score": "0.52136916", "text": "private void generateEmptyFunc(SourceWriter writer) {\n writer.println(\"private native void \" + EMPTY_FUNC + \"() /*-{\");\n writer.println(\"}-*/;\");\n writer.println();\n }", "title": "" }, { "docid": "20c694c9061434eb21bd16f6e5420b75", "score": "0.520484", "text": "public void appendNo() {\r\n\t\tensureCanAddNMoreChars(2);\r\n\t\tappendChars(__no__);\r\n\t}", "title": "" }, { "docid": "bfb710489165c43cc4f59e9bdec55d21", "score": "0.5199487", "text": "public void clearBytes() {\n bytes = null;\n }", "title": "" }, { "docid": "2c1bd5a36d891cdde6f021353d2887af", "score": "0.5197684", "text": "public Line8B(Line8B originalLine)\n {\n super (\"NoName\");\n this.start = (new Point (originalLine.getStart ()));\n this.end = (new Point (originalLine.getEnd ()));\n }", "title": "" }, { "docid": "e0a5f4e8b542e8dd45a139cca9178f20", "score": "0.51869667", "text": "default byte[] toBytes() {\n return new byte[0];\n }", "title": "" }, { "docid": "7400b6795fcd52e41f3daeab2ce46ea1", "score": "0.5181599", "text": "public V01x00() {\n super();\n }", "title": "" }, { "docid": "2006599c7f9845015bb72a08a0bfaeec", "score": "0.5180471", "text": "@Test\n public void testCivicLocationNullBuffer() {\n CivicLocation civicLocation = new CivicLocation(null, sUsCountryCode);\n\n boolean valid = civicLocation.isValid();\n\n assertFalse(valid);\n }", "title": "" }, { "docid": "ea0eb18a313fb3cd041bbf9a9e1cd186", "score": "0.5176082", "text": "Tile() {\n letter = 0;\n blank = 0;\n newly = false;\n }", "title": "" }, { "docid": "d6ebc3687c2ead3a2048cf59b59ae876", "score": "0.51648945", "text": "public Builder setNoBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n no_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "175640c207af5881dcd1137561c75d50", "score": "0.51628065", "text": "@Override\n\t public int getDataLength()\n\t {\n\t\treturn 0;\n\t }", "title": "" }, { "docid": "86b1f590208a6bc81926414207701e15", "score": "0.51515275", "text": "private static int indexOfZeroByte(byte[] bytes) {\r\n return indexOfZeroByte(bytes, 0);\r\n }", "title": "" }, { "docid": "83c04702a69ca89d7902163cf9e3da55", "score": "0.51494485", "text": "private Raster getBlankTile() {\n if (blankTile == null) {\n blankTile = constantTile(0);\n }\n return blankTile;\n }", "title": "" }, { "docid": "faf3db17a31bb0f7ed928b6e691ccb29", "score": "0.5148274", "text": "public void mo40332b() {\n this.f34088a.setError(null);\n this.f34082N.setText(\"\");\n this.f34084P = false;\n }", "title": "" }, { "docid": "e5479f0e48de0aea692778682b344d29", "score": "0.514809", "text": "public void O00000o0(byte[] bArr) {\r\n this.O00000o = bArr;\r\n }", "title": "" }, { "docid": "000dc5c0a78a2cdd520331faddd410bd", "score": "0.514623", "text": "private static void zeroArray(byte[] b) {\n for (int i=0; b!=null && i<b.length; i++) {\n b[i] = 0;\n }\n }", "title": "" }, { "docid": "33f30af66b2e04fea1d2cd37af9fcacb", "score": "0.5137723", "text": "public void nullify() {\n\t\t\n\t}", "title": "" }, { "docid": "586b13552a451c6800f2c2169d6d7fc6", "score": "0.5137217", "text": "public EmptyCell(int png, double newX, double newY) {\n\t\tsuper(png);\n\t\tposition = new Vector2D(newX*img.getWidth(), newY*img.getHeight());\n\t\tsupport = false;\n\t}", "title": "" }, { "docid": "a65d1e4df5cee3b9f872a990e4bf42a1", "score": "0.51363057", "text": "@Override\n\tpublic boolean is_empty() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "84c36e25e62950d2055666c00ad2b831", "score": "0.5131115", "text": "private void displayNoVipsCell() {\n\t}", "title": "" }, { "docid": "7c42751abd8475538b469921e485baa5", "score": "0.51236427", "text": "private Exception NullPointerException(String a_la_verga) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }", "title": "" }, { "docid": "8267b07497f413c686fb6be6de4c00a3", "score": "0.51235837", "text": "@Override\n public boolean isFull() {\n return false;\n }", "title": "" }, { "docid": "039ac550e6ab57aed4f64bd3e4eb8aa6", "score": "0.5120803", "text": "public Location()\n\t{\n\t\txPos = 0;\n\t\tyPos = 0;\n\t}", "title": "" }, { "docid": "3ab666541b88ab8074ee19d7f3c137ce", "score": "0.5119584", "text": "public NullExpression(SourceLocation location) {\r\n\t\tsuper(location);\r\n\t}", "title": "" }, { "docid": "9f161079357b1179b6af33c239697450", "score": "0.51188064", "text": "private void clearPosition() {\n \n position_ = 0;\n }", "title": "" }, { "docid": "2f04c248171e7917eefee82f3bfdf65b", "score": "0.5118233", "text": "private void zeroElOffset() {\n\t\tif (controller==null) {\n\t\t\treturn;\n\t\t}\n\t\tDouble azOffset=controller.getOffsetAz().getValue();\n\t\tcontroller.offsetAzEl(azOffset,0);\n\t}", "title": "" }, { "docid": "d886f2ff4d85d4960b81744c65919d65", "score": "0.5117843", "text": "public EmptyCell(int x, int y) {\n\t\tsuper(x, y);\n\t\tsetOccupied(false);\n\t\tsetDisplayColor();\n\t}", "title": "" }, { "docid": "fca8f4dd4db204aa3acb672ea9a66361", "score": "0.5112062", "text": "public void setNolab( Byte nolab )\n {\n this.nolab = nolab;\n }", "title": "" }, { "docid": "01cbdd1225f2933a43a7961a93a9f21a", "score": "0.51098657", "text": "@Override\n\tpublic Glyph getGlyph(int charCode) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ff56c305070a550166ff67c15d13ce67", "score": "0.51064193", "text": "com.google.protobuf.ByteString\n getNoWithVetoBytes();", "title": "" }, { "docid": "a925305f135ac276e3e9d5ab9bb399b2", "score": "0.51062465", "text": "public void testLocationNameNone()\n {\n loc.setLocation(20);\n assertEquals(\"Hole\", stor.locationName(20));\n }", "title": "" }, { "docid": "16de916fe4cb85a04e8f338b8975f1db", "score": "0.5098552", "text": "private final char _verifyNoLeadingZeroes()\n/* */ throws IOException\n/* */ {\n/* 1572 */ if (this._inputPtr < this._inputEnd) {\n/* 1573 */ char ch = this._inputBuffer[this._inputPtr];\n/* */ \n/* 1575 */ if ((ch < '0') || (ch > '9')) {\n/* 1576 */ return '0';\n/* */ }\n/* */ }\n/* */ \n/* 1580 */ return _verifyNLZ2();\n/* */ }", "title": "" }, { "docid": "f9610191dc364ab03dadf4e2db3d9005", "score": "0.50965047", "text": "public void clear()\r\n/* 104: */ {\r\n/* 105:101 */ clearData();\r\n/* 106: */ }", "title": "" }, { "docid": "d02fe15d68f4e361e00efbbc7b1768d5", "score": "0.5094611", "text": "@Override\r\n\t\t\tpublic String getLocation() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "d02fe15d68f4e361e00efbbc7b1768d5", "score": "0.5094611", "text": "@Override\r\n\t\t\tpublic String getLocation() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "eac4ca8438ebf83f0e533e457c4da7f7", "score": "0.50935787", "text": "com.google.protobuf.Empty getBlank();", "title": "" }, { "docid": "61a952ea7aa9128337c5b962bf97e2f1", "score": "0.5090867", "text": "java.lang.String getDogblankcode() throws java.rmi.RemoteException;", "title": "" }, { "docid": "b8109d3ea8e9b54b8f44a712ede9f0d8", "score": "0.5087666", "text": "@Override\r\n public int getStopBits() {\n return 0;\r\n }", "title": "" }, { "docid": "cb11d65e43314bf90afc9e9ec9fb5f5a", "score": "0.50872886", "text": "@Override\n\tpublic Boolean isFilled() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "38e9c67c9e3f88771ca03d09bc7bfe6f", "score": "0.5084995", "text": "@Override\n\tpublic String address() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "827b706b6d59313f8dbb03054c64ec2d", "score": "0.50846833", "text": "Board(){\r\n\t\tempty=9;\r\n\t}", "title": "" }, { "docid": "e80d1494028cdcf9d43fb5b0a0d32ff5", "score": "0.50841135", "text": "public int getLineOfOffset( final int arg0 ) throws BadLocationException {\n return 0;\n }", "title": "" } ]
f5586c21af67545c6c544abcd998b206
/ getting single employee by id
[ { "docid": "9efe09d899d3fafb9ba3a5dab9bf4135", "score": "0.7995561", "text": "@GetMapping(\"/employees/{id}\")\n\tpublic ResponseEntity<Object> gettingEmployee(@PathVariable(value = \"id\") Long employeeID) {\n\t\tEmployee emp = employeeDAO.getEmployee(employeeID);\n\t\tif (emp == null) {\n\t\t\treturn ResponseEntity.notFound().build();\n\t\t} else {\n\t\t\treturn ResponseEntity.ok().body(emp);\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "b5ce7acebedd3845c2971bd456f82f33", "score": "0.87026244", "text": "Employee getEmployeeById(Long id) throws DataNotFoundException;", "title": "" }, { "docid": "fc62b5c84a76c95cf2296c1823a6f109", "score": "0.86908144", "text": "public Employee getById(int id);", "title": "" }, { "docid": "d16e2f1077974a5fef0c670db5295d8d", "score": "0.85398173", "text": "public Employee getEmployeeById(Integer id){\n\n return this.employeeCrudInterface.getById(id);\n\n }", "title": "" }, { "docid": "2cadbbc87b380955c747633d0455d833", "score": "0.8500562", "text": "Employee findById(Integer id);", "title": "" }, { "docid": "2fca4e506c87952032782dc8ac93e0c0", "score": "0.8487682", "text": "Employee getEmployee(Long employeeId);", "title": "" }, { "docid": "d96f8658ae9a157cfdc704a661c730c9", "score": "0.84424764", "text": "@Override\r\n\tpublic Employee getEmployee(int id) {\n\t\tEmployee emp= empRepo.findByid(id);\r\n\t\treturn emp;\r\n\t\r\n\t}", "title": "" }, { "docid": "39cd35dedde5f09f4c3f05ae3ec04e1b", "score": "0.8436861", "text": "employee getEmployeedetailsbyID(String employeeID);", "title": "" }, { "docid": "71c27ecd6325d983e81e272e9fec84cc", "score": "0.84109426", "text": "public Employee getOne(Integer id) {\r\n\t\treturn this.employeeRepository.getOne(id);\r\n\t}", "title": "" }, { "docid": "a385a9431b4f028a6280ed454785c54e", "score": "0.8389808", "text": "@Override\r\n\tpublic Emp getEmployeeById(String id) {\n\t\tOptional<Emp> optional = emprepo.findById(id);\r\n\t\tEmp employee = null;\r\n\t\tif (optional.isPresent()) {\r\n\t\t\temployee = optional.get();\r\n\t\t} else {\r\n\t\t\tthrow new RuntimeException(\" Employee not found for id :: \" + id);\r\n\t\t}\r\n\t\treturn employee;\r\n\t}", "title": "" }, { "docid": "f43af4032daf57d3f0e652b4e41f237b", "score": "0.8383468", "text": "@Override\n\tpublic Employee getEmployee(Long id) {\n\t\treturn dao.getEmployee(id);\n\t}", "title": "" }, { "docid": "8279232f84265f1bd601ba4023fbff84", "score": "0.83568734", "text": "@GetMapping(\"/getEmployee/{id}\")\n\tpublic Employee findById(@PathVariable int id) {\n\n\t\tOptional<Employee> employeeFound = employeeRepository.findById(id);\n\n\t\tif (employeeFound.isPresent()) {\n\n\t\t\treturn employeeFound.get();\n\t\t}\n\n\t\treturn null;\n\t}", "title": "" }, { "docid": "7881db5ece4c0179b43d46dbbe8e6d59", "score": "0.8277266", "text": "public Employee getEmployee(final Integer id) {\r\n\t\tlogger.info(\"Repository Layer Invoked::EmployeeRepoImplement {}\");\r\n\t\tlogger.info(\"Retriving the Employee is processing method name::getEmployee\");\r\n\t\tlogger.info(\"Argument::\" + id);\r\n\t\treturn jdbctemplate.query(Queries.QUERYFORGETTINGEMPLOYEE, new PreparedStatementSetter() {\r\n\t\t\tpublic void setValues(PreparedStatement ps) throws SQLException {\r\n\t\t\t\tps.setInt(1, id);\r\n\t\t\t}\r\n\t\t}, new RowMapper<Employee>() {\r\n\t\t\tpublic Employee mapRow(ResultSet resultSet, int rowNum) throws SQLException {\r\n\t\t\t\tEmployee employee = new Employee();\r\n\t\t\t\temployee.setId(resultSet.getInt(1));\r\n\t\t\t\temployee.setAge(resultSet.getInt(2));\r\n\t\t\t\temployee.setFirstName(resultSet.getString(3));\r\n\t\t\t\temployee.setLastName(resultSet.getString(4));\r\n\t\t\t\temployee.setAddress(resultSet.getString(5));\r\n\t\t\t\temployee.setBloodGroup(resultSet.getString(6));\r\n\t\t\t\temployee.setDepartmentName(resultSet.getString(7));\r\n\t\t\t\temployee.setEmployeeType(resultSet.getString(8));\r\n\t\t\t\treturn employee;\r\n\t\t\t}\r\n\r\n\t\t}).get(0);\r\n\t}", "title": "" }, { "docid": "7147f63feee5c066f9a682e0a0f2461a", "score": "0.8275501", "text": "@Override\r\n\tpublic Employee findById(int id) {\n\t\treturn ed.findById(id);\r\n\t}", "title": "" }, { "docid": "0894fa1d4817a918fbc5ab51500b7b99", "score": "0.82724404", "text": "@GetMapping(\"/employee/{id}\")\n\tpublic Employee getEmployee(@PathVariable int id) {\n\t\treturn employeesRepo.get(id);\n\t}", "title": "" }, { "docid": "a5b567be02d6a88c4aed6ec72628e993", "score": "0.8252268", "text": "@Override\n\tpublic Employee findById(int id) {\n\t\treturn getByKey(id);\n\t}", "title": "" }, { "docid": "1842ae9809371da4a29859ac705cb8ec", "score": "0.8227315", "text": "@Override\r\n\tpublic Employee findEmployeeById(Integer id) {\n\t\tEmployee selectById = dao.selectById(id);\r\n\t\t\r\n\t\treturn selectById;\r\n\t}", "title": "" }, { "docid": "cc1fb76dd3ebe62b9d7b4ff2281eb509", "score": "0.8227197", "text": "@GetMapping(\"/employee/{id}\")\r\n\tpublic ResponseEntity<Employee> getEmployeebyId(@PathVariable(value = \"id\") Long employeeId)\r\n\t\tthrows ResouraceNotFoundExecption{\r\n\t\t\r\n\t\tEmployee employee = employeerepository.findById(employeeId)\r\n\t\t\t\t.orElseThrow(() -> new ResouraceNotFoundExecption(\"Employee id not found in this id :: \" + employeeId ));\r\n\t\t\t\treturn ResponseEntity.ok().body(employee);\r\n\t\t\t\r\n\t}", "title": "" }, { "docid": "b632614ee5fc4673595230cdeca45448", "score": "0.82129866", "text": "@GetMapping(\"/employees/{id}\")\n\tpublic ResponseEntity<Model> getEmployeeById(@PathVariable(value=\"id\") Long empid){\n\t\t\n\t\tModel emp=(Model) employeeDAO.findOne(empid);\n\t\t\n\t\tif(emp==null) {\n\t\t\treturn ResponseEntity.notFound().build();\n\t\t}\n\t\treturn ResponseEntity.ok().body(emp);\n\t\t\n\t}", "title": "" }, { "docid": "0a5f669cc30d22f10f56a5ac43014fc2", "score": "0.8198518", "text": "@GetMapping(path=\"e/{employeeId}\", produces = MediaType.APPLICATION_JSON_VALUE) // /api/greetings/x\n // where x is some int\n\tpublic Employee getEmployeeById(@PathVariable(name=\"employeeId\", required = true) Integer id) {\n \t\n \tSystem.out.println(id);\n \t\n \tlogger.info(\"Listing Employee with id:\" + id);\n \t\n\t\treturn employeeDAO.getById(id);\n\t}", "title": "" }, { "docid": "c8b6daa3a959619b9bdd9a77a9bb3b7c", "score": "0.8188159", "text": "public Employee findEmployee(int id){\n\t\tEntityTransaction et = em.getTransaction();\n\t\tet.begin();\n\t\t\n\t\tEmployee emp = em.find(Employee.class, id);\n//\t\tSystem.out.println(emp);\n//\t\tSystem.out.println(emp.getAddresses());\n//\t\tsession.get(Employee.class, 1);\n\t\t\n\t\t//\n\n//\t\ttx.commit();\n//\t\tsession.close();\n\t\tet.commit();\n\t\treturn emp;\n\t}", "title": "" }, { "docid": "46d9109ecfa27239c8c09bee3a9b7c05", "score": "0.81754637", "text": "public Employee findById(Long id) {\n\n return (Employee) setOperations.members(\"employee\").stream()\n .filter(x -> ((Employee) x).getId().equals(id))\n .findFirst().orElse(null);\n }", "title": "" }, { "docid": "41c29b9d231bdaaf3e5b3df7dfc7eea9", "score": "0.8168216", "text": "public Employee getById(Integer id) {\r\n\t\treturn emps.get(id);\r\n\t}", "title": "" }, { "docid": "8c5a2f8c93471e677ff9b8ff81a84150", "score": "0.8145142", "text": "@GetMapping(value = \"/{id}\", produces = { \"application/json\" })\n\tpublic Emp getById(@PathVariable int id) {\n\t\tEmp e = null;\n\t\tOptional<Emp> op = dao.findById(id);\n\t\tif (op.isPresent())\n\t\t\te = op.get();\n\t\treturn e;\n\t}", "title": "" }, { "docid": "ca1f7d9b7f7796795ed0305e7a3b5d2c", "score": "0.81077564", "text": "public Employees findEmployeeById(long empId);", "title": "" }, { "docid": "b798644f8187f773ac33890bf1aff539", "score": "0.8103262", "text": "public Employee getEmployee(int employeeId) {\n return sessionFactory.getCurrentSession().get(\n Employee.class, employeeId);\n }", "title": "" }, { "docid": "8c8446ebda62777bee2fc51b7a04f729", "score": "0.80875856", "text": "@Override\n\tpublic Employee getEmployeeById(Long empId) {\n\t\treturn employeeDao.getOne(empId);\n\t}", "title": "" }, { "docid": "1a92001b85de781104b5c2fc3de710c9", "score": "0.808439", "text": "public Employee getEmployee(int id) {\n\t\treturn new Employee(\"Hafez Hamdy\", 1500d);\r\n\t}", "title": "" }, { "docid": "b6e6b708f8910e44e288b1fdd0e2162a", "score": "0.80692357", "text": "@Override\n\tpublic Employee getEmplooyeById(ObjectId _id) {\n\t\treturn employeeRepository.findBy_id(_id);\n\t}", "title": "" }, { "docid": "71400688e4eb451f7e33d573a740e3c8", "score": "0.8061815", "text": "@GetMapping(path = \"/employee/{id}\")\n public ResponseEntity<EmployeeResponse> getEmployeeById(@PathVariable(value = \"id\") Long id) throws EmployeeException {\n return new ResponseEntity<>(employeeService.findById(id), HttpStatus.OK);\n }", "title": "" }, { "docid": "19835e94b05c3689a07a4d3c37cf42c0", "score": "0.8047355", "text": "@GetMapping(\"/employee/{empId}\")\n\tpublic Employee getEmployeeById(@PathVariable Integer empId) {\n\t\treturn empService.getEmployeeByIdService(empId);\n\t\n\t}", "title": "" }, { "docid": "c4774fa9c8ba61e1ed1e2577ee61f2c6", "score": "0.8042417", "text": "@GetMapping(\"/employees/{id}\")\n\tpublic ResponseEntity<Employee> getEmployeeById(@PathVariable long id) {\n\t\t//if record not exists in data base then throws exception using orElseThrow\n\t\tEmployee emp = empRepo.findById(id).orElseThrow(() -> new ResourceNotFoundException(\"Employee Not Fund\"));\n\t\treturn ResponseEntity.ok(emp);\n\t}", "title": "" }, { "docid": "a1f4f07cd7f9844cfc99292c8b480a9a", "score": "0.800437", "text": "@Override\r\n\tpublic Employee searchEmployee(int id) {\n\t\treturn employeeDAO.searchEmployee(id);\r\n\t}", "title": "" }, { "docid": "b37645eae09a26b6af4d3809f8749a8b", "score": "0.79988563", "text": "@Override\n\tpublic Employee getEmployeeById(int id) {\n\t\tSession session = entityManager.unwrap(Session.class);\n\t\t\n\t\t// get the employee\n\t\tEmployee employee = session.get(Employee.class, id);\n\t\t\n\t\t//return the employee\n\t\treturn employee;\n\t}", "title": "" }, { "docid": "5d75230c8287a84214aea7b58c03dfee", "score": "0.7989978", "text": "Result<Employee> getEmployeeById(long id);", "title": "" }, { "docid": "198364786ced75e8affc769bb550e41e", "score": "0.79851913", "text": "@Override\n\tpublic Employee getEmployeeById(int emp_id) {\n\t\treturn employeeDaoImpl.getEmployeeById(emp_id);\n\t}", "title": "" }, { "docid": "ec8d3774c836deb9e0f6871990bd941a", "score": "0.79826885", "text": "@GetMapping(\"employee/{id}\")\n public ResponseEntity<Employee> getEmployeeById(@PathVariable(value = \"id\") Long id) throws ResourceNotFoundException {\n Employee employee = repository.findById(id).orElseThrow(() ->\n new ResourceNotFoundException(\"Employee not found with this id :\" + id));\n return ResponseEntity.ok().body(employee);\n }", "title": "" }, { "docid": "aa8c8a1e7ab1b526ef255f716987f94a", "score": "0.7967052", "text": "@GetMapping(path = \"/employees/{id}\")\n\tpublic ResponseEntity<? extends Object> getEmployeeById(@PathVariable(name = \"id\") Long id) {\n\t\tOptional<Employee> employee = null;\n\n\t\ttry {\n\t\t\temployee = employeeRepository.findById(id);\n\n\t\t} catch (Exception e) {\n\t\t\treturn ResponseEntity.of(Optional.of(employee));\n\t\t}\n\t\tif (employee != null) {\n\t\t\treturn ResponseEntity.ok().body(employee);\n\t\t}\n\t\treturn new ResponseEntity<>(HttpStatus.NOT_FOUND);\n\t}", "title": "" }, { "docid": "44521de6ab592dbab5959c2bfd0f699c", "score": "0.7960387", "text": "public Employee findById(int theId);", "title": "" }, { "docid": "fc62e8a02fb394603f7e8986a64bd4d3", "score": "0.79242057", "text": "public Employee getEmployeeById(int id) {\n String sql = \"select * from employee2 where id=?\";\n Employee employee = (Employee) jdbcTemplate.queryForObject(sql, new Object[]{id}, new RowMapper() {\n @Override\n public Employee mapRow(ResultSet rs, int rowNum) throws SQLException {\n Employee employee = new Employee();\n employee.setId(rs.getInt(1));\n employee.setName(rs.getString(2));\n employee.setDept(rs.getString(3));\n employee.setAge(rs.getInt(4));\n return employee;\n }\n });\n return employee;\n }", "title": "" }, { "docid": "a2f6f0d900c65659e79932bc100802a0", "score": "0.7922663", "text": "public Optional<Employee> findById(int id) {\n return employeeDao.findById(id);\n }", "title": "" }, { "docid": "e9d696ff960da8a5630d7dc189316a6b", "score": "0.7908963", "text": "@Override\n\tpublic Response getEmployeeById(long empId) {\n\t\tEmployee employee = empRepository.findById(empId).orElseThrow(() -> \n\t\t\tnew EmployeeException(HttpStatus.NO_CONTENT.value(), \"Employee Not Found\"));\n\t\treturn new Response(HttpStatus.OK.value(), employee.toString());\n\t}", "title": "" }, { "docid": "08568426cf71a2414ae2336448471011", "score": "0.7892509", "text": "Employee findEmployeeById(int id) throws DataAccessException;", "title": "" }, { "docid": "8e7ce0b5568ac64a71bae73826dc08ff", "score": "0.789088", "text": "public Employees getAnEmployee(int employeeId)\r\n {\r\n Query q = em.createQuery(\"SELECT e FROM Employees e WHERE e.id = :id\");\r\n return (Employees) q.setParameter(\"id\", employeeId).getSingleResult();\r\n }", "title": "" }, { "docid": "e5d445911e2a2d81cd22caac03eee52d", "score": "0.78871804", "text": "@Override\r\n\tpublic Employee findOne(long empId) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "875ad4b3331cb19072946cc0f342d133", "score": "0.78719646", "text": "public Employee getEmployee(String employeeId) throws EmployeeNotFoundException {\n Employee employee;\n if (employeeRepository.existsById(employeeId)) {\n employee = employeeRepository.findById(employeeId).get();\n return employee;\n } else {\n throw new EmployeeNotFoundException(environment.getProperty(\"errors.emptyDatabase\"));\n }\n }", "title": "" }, { "docid": "b201a31cf5563bc2ce81b0cfb96a70ef", "score": "0.7867459", "text": "@Override\n\tpublic Employee findById(int emp_id) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ac8492277ec45a4b138bcb479303fed4", "score": "0.7860787", "text": "@Override\n\tpublic Employee empFindById(int theId) {\n\t\tOptional<Employee>result = employeeRepository.findById(theId);\n\t\tEmployee emp=null;\n\t\tif(result.isPresent()) {\n\t\t\temp=result.get();\n\t\t}else {\n\t\t\tthrow new RuntimeException(\"Data not found \"+theId);\n\t\t}\n\t\treturn emp;\n\t}", "title": "" }, { "docid": "ba12e3f84152be2ead358a23ee74721b", "score": "0.7859417", "text": "public static Employee get_employee_by_id(int employee_id) {\n Employee employee = null;\n Session hibernate_session = HibernateUtil.getSessionFactory().openSession();\n try {\n hibernate_session.beginTransaction();\n employee = (Employee) hibernate_session.get(Employee.class, employee_id);\n } catch (Exception e) {\n hibernate_session.flush();\n hibernate_session.close();\n }\n hibernate_session.flush();\n hibernate_session.close();\n return employee;\n }", "title": "" }, { "docid": "0a548f4eab73b774b07c8e21fe6848ce", "score": "0.78549564", "text": "@GetMapping(\"employee/{id}\")\r\n\tpublic ResponseEntity<Employee> getEmployeeById(@PathVariable (value=\"id\") long employeeId) throws ResourceNotFoundException {\r\n\t\t\r\n\t\t\r\n\t\t Employee employee=EmpRepo.findById(employeeId).\r\n\t\t orElseThrow(()-> new ResourceNotFoundException(\"Employee not found for this id :: \"+ employeeId+\"\"));\r\n\t\t\r\n\t\treturn ResponseEntity.ok().body(employee);}", "title": "" }, { "docid": "9cdadd19e0a6a4cc4589ce54b2985bde", "score": "0.7834278", "text": "@GetMapping(\"/employees/{id}\")\n public ResponseEntity<Employee> getEmployeeById(@PathVariable Integer id) {\n Employee employee = employeeRepository.findById(id)\n .orElseThrow(() -> new ResourceNotFoundException(\"Employee not exist with id :\" + id));\n return ResponseEntity.ok(employee);\n }", "title": "" }, { "docid": "9531e8554c28de51aa1d96b5d5fe1adf", "score": "0.7819089", "text": "@Override\n\tpublic Employee getEmployee(int empId) {\n\t\tSession currentSession = entityManager.unwrap(Session.class);\n\t\t\n\t\tEmployee employee = currentSession.get(Employee.class, empId);\n\t\t\n\t\treturn employee;\n\t}", "title": "" }, { "docid": "423f500a99e635963680f33dee0e0e82", "score": "0.7804153", "text": "public static Employee getEmployeeId(int id){\n\t\n\tEmployee emp = new Employee();\n\t\n\ttry {\n\t\tString sql = \"SELECT * FROM `employee` WHERE id=?\";\n\t\tConnection con = DBInfo.getConnection();\n\t\tPreparedStatement preparedStatement = (PreparedStatement) con.prepareStatement(sql);\n\t\t\n\t\tpreparedStatement.setInt(1, id);\n\t\tResultSet resultSet = preparedStatement.executeQuery();\n\t\t\n\t\tif (resultSet.next()) {\n \t\t\t\n\t\t\temp.setId(resultSet.getInt(1));\n\t\t\temp.setEmpname(resultSet.getString(2));\n\t\t\temp.setPassword(resultSet.getString(3));\n\t\t\temp.setDepartment(resultSet.getString(4));\n\t\t\temp.setSalary(resultSet.getFloat(5));\n\t\t\temp.setAddress(resultSet.getString(6));\n\t\t}\n\n\t\t\n\t\tcon.close();\n\t\t\n\t} catch (SQLException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\t\n\treturn emp;\n\t\n}", "title": "" }, { "docid": "b7eb6550e50718de9b7c79fc1022d19c", "score": "0.77971184", "text": "Employee findEmployeeByIdFetchUser(int id) throws DataAccessException;", "title": "" }, { "docid": "6721c570305d128545ebe46ab8ccb914", "score": "0.7780205", "text": "public Employee findById(int id) {\n\t\tEmployee user = null;\n\t\ttry (Session session = sessionFactoryObj.openSession()) {\n\t\t\tuser = session.get(Employee.class, id);\n\t\t} catch (HibernateException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn user;\n\t}", "title": "" }, { "docid": "30fa0a87c68009f9a89b5a04d35e5e52", "score": "0.777551", "text": "@GetMapping( value=\"/{id}\", produces=\"application/json\")\n\tpublic Emp getEmp(@PathVariable int id) {\n\t Optional<Emp> fetched =\tdao.findById(id);\n\t if (fetched.isPresent())\n\t\t return fetched.get();\n\t else\n\t\t return null;\n\t}", "title": "" }, { "docid": "ab8512c1c920640f2099e0875c1e84bc", "score": "0.7769371", "text": "@Override\n public Employee findEmployee(int theId) {\n Session currentSession = entityManager.unwrap(Session.class);\n // get the employee\n Employee theEmployee = currentSession.get(Employee.class, theId);\n // return the result\n return theEmployee;\n }", "title": "" }, { "docid": "f37b7bffa70f9dad8d9ea8e9bd88df81", "score": "0.7768806", "text": "@Override\n\tpublic Employee findById(Integer eid) {\n\t\tEmployee employee = employeeDao.findById(eid);\n\t\treturn employee;\n\t}", "title": "" }, { "docid": "2d380a5db1ad2c4c42e444aa37f39528", "score": "0.77584225", "text": "@GetMapping(\"/getEmployee/{empId}\")\n public ResponseEntity<Employee> getUser(@PathVariable Integer empId) {\n try {\n Employee employee = employeeService.getEmployee(empId);\n return new ResponseEntity<Employee>(employee, HttpStatus.OK);\n } catch (NoSuchElementException ne) {\n return new ResponseEntity<Employee>(HttpStatus.NOT_FOUND);\n }\n }", "title": "" }, { "docid": "460390119d0258587823849a577224fd", "score": "0.77377474", "text": "@Override\n\tpublic Employee findEmployeeById(int employeeId) {\n\t\treturn employeeRepository.findEmployeeById(employeeId);\n\t}", "title": "" }, { "docid": "46e9b640b62da05ad0e902626d5319f2", "score": "0.77366406", "text": "public Employee getById(int empNo) {\r\n return employeeDaoImpl.getById(empNo);\r\n }", "title": "" }, { "docid": "15bd10558757527a7310e92392ca0cab", "score": "0.77319", "text": "public Employee getEmpbyEid(int empId)throws empException;", "title": "" }, { "docid": "0550658c942d6f22054e818b44d5ee5a", "score": "0.7717205", "text": "public Employee findEmployeeById(int id) {\n\n\t\tfor (Employee emp_i : this.listEmployee) {\n\t\t\tif (id == emp_i.getEmployeeNumber()) {\n\t\t\t\treturn emp_i;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "3adf566fa08699bad5b2fafda7623457", "score": "0.7702197", "text": "@GetMapping(value = \"/employee/{id}\")\n public ResponseEntity<RestResponseDto> getByEmployeeId(@PathVariable Long id) {\n try {\n Employee employee = employeeService.getEmployeeById(id);\n if (employee.getLastName().isEmpty()) {\n restResponseDto.setResponse(Response.NO_INFORMATION);\n restResponseDto.setMessage(\"Employee is not available by Id \" +id);\n restResponseDto.setDetail(null);\n return new ResponseEntity<>(restResponseDto, HttpStatus.BAD_REQUEST);\n } else {\n restResponseDto.setResponse(Response.SUCCESS);\n restResponseDto.setMessage(\"Successfully Retrieved\");\n restResponseDto.setDetail(employee);\n return ResponseEntity.ok(restResponseDto);\n }\n\n } catch (Exception e) {\n restResponseDto.setResponse(Response.FAILURE);\n restResponseDto.setMessage(\"Employee is not Found by Id \"+id);\n return new ResponseEntity<>(restResponseDto, HttpStatus.EXPECTATION_FAILED);\n }\n }", "title": "" }, { "docid": "e3d14dd5319e4e420dd53e07962d2d41", "score": "0.7698558", "text": "@Override\n\t@Transactional\n\tpublic Employee findById(int id) {\n\t\tOptional<Employee> optionalFindById = empSpringDataDao.findById(id);\n\t\tEmployee emp=null;\n\t\tif(optionalFindById.isPresent())\n\t\t\temp=optionalFindById.get();\n\t\treturn emp;\n\t}", "title": "" }, { "docid": "69cec9efabf3c90f22aa7f140d19793b", "score": "0.7696384", "text": "public Employee getEmployeeById(int employeeId) {\n\t\treturn employeeDao.getEmployeeById(employeeId);\n\t}", "title": "" }, { "docid": "0aa527eb1e8606f8729e3f6c0b56080f", "score": "0.76888204", "text": "public Employee fetchEmployee(int empId) {\n\t\tEmployee employee = null;\n\t\tSessionFactory factory = HibernateUtil.createSessionFactory();\n\t\tSession session = factory.openSession();\n\t\t/*get(class, primaryKey) class is the entity class name & primary key is the value for the primary key column\n\t\tinternally it generate select * from employee where emp_id = empId, returns employee object if id is present\n\t\telse returns null\n\t\t */\n\t\temployee = session.get(Employee.class, empId); // get() method initializes other properties of Employee automatically\n\t\tsession.close();\n\t\tfactory.close();\n\t\treturn employee;\n\t}", "title": "" }, { "docid": "ab66dbe8385f3d91184c91b2535505f4", "score": "0.7688704", "text": "public Optional<Employee> getEmployeeById(Long empId){\n return employeeRepository.findById(empId);\n }", "title": "" }, { "docid": "8ebaad85276f182fd9ade889e6113434", "score": "0.76582074", "text": "public Employee findEmployee(String employeeId){\r\n for(Employee employee: employees){\r\n if(employee.toString().equals(employeeId)){\r\n return employee;\r\n }\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "abb8ea2cd972a51584e13224b8af346f", "score": "0.7653825", "text": "@Override\r\n\tpublic Employee getEmployeeById(int eid) throws EmployeeNotFoundException {\n\t\tif(!EmployeeValidator.validateIsEmployeeIdInDatabase(databaseImpl, eid)) {\t\r\n\t\t\tlog.debug(commonErrorLogs.FINDINGERROREMPLOYEEIDNOTFOUND.getLogMessage());\r\n\t\t\tthrow new EmployeeNotFoundException(commonErrorLogs.FINDINGERROREMPLOYEEIDNOTFOUND.getLogMessage());\r\n\t\t}\r\n\t\t\r\n\t\tEmployee employee = databaseImpl.getEmployeeById(eid).get(0); //the list will only contain one employee\r\n\t\t\t\t\t\t\t\t\t\t\t\t//the single getter method doesn't work properly, so I use this\r\n\t\t\r\n\t\tlog.info(EmployeeMessageManager.getVal(\"foundEmployee\"));\r\n\t\treturn employee; \r\n\t}", "title": "" }, { "docid": "89664effbd4eb101adc321d8382cd14f", "score": "0.760825", "text": "Employee findByEmpId(String empId);", "title": "" }, { "docid": "8a465eeafc98cc274109184b70be2952", "score": "0.75997764", "text": "@Override\n\tpublic Employee findById(int Id) {\n\t\tOptional<Employee> result = empRepo.findById(Id);\n\t\tEmployee theEmp = null;\n\t\tif( result.isPresent() ) {\n\t\t\ttheEmp = result.get();\n\t\t}else {\n\t\t\tthrow new RuntimeException( \"Did not find Employee Id - \"+ Id );\n\t\t}\n\t\treturn theEmp;\n\t}", "title": "" }, { "docid": "bb5ef6e106da8776e7ca2ae04f8d9fc3", "score": "0.75710857", "text": "@GetMapping(\"/Employees/{id}\")\n\tpublic Employee getNoteById(@PathVariable(value = \"id\") int id) {\n\t return repository.findById(id).orElse(null);\n\t}", "title": "" }, { "docid": "8d76b289378f94e576cdd80171596d4b", "score": "0.7516429", "text": "public Employee get(int id) throws SQLException {\n\t\tsf = HibernateUtil.getSessionFactory();\n\t\tSession session = sf.openSession();\n\n\t\tsession.beginTransaction();\n\n\t\tEmployee employee = (Employee) session.get(Employee.class, id);\n\n\t\tsession.getTransaction().commit();\n\t\tsession.close();\n\t\treturn employee;\n\t}", "title": "" }, { "docid": "86fd17ee0623293265ae5326d18c5260", "score": "0.7512857", "text": "public Employee findById(String empId) throws Exception {\n\t\tif (empId != null) {\n\t\t\treturn mongoTemplate.findOne(new Query(Criteria.where(\"empId\").is(new Long(empId))), Employee.class);\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b3f7988846305896adc5c55e4ee566c7", "score": "0.748397", "text": "@Override\n\tpublic Employee getEmployeeById(int empId) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9428a4c9579727a30d50429149ac20f3", "score": "0.746989", "text": "@Override\r\n\tpublic Employee getEmployeeByID(String employeeID) {\r\n\r\n\t\treturn actionOnEmployee(employeeID).get(0);\r\n\t}", "title": "" }, { "docid": "ae68f5a9061f2977b55645b8bb148669", "score": "0.745514", "text": "@GetMapping(\"/users/{id}\")\n public ResponseEntity<Users> getEmployeeById(@PathVariable Long id) {\n Users employee = usersRepository.findById(id)\n .orElseThrow(() -> new ResourceNotFoundException(\"Employee not exist with id :\" + id));\n return ResponseEntity.ok(employee);\n }", "title": "" }, { "docid": "cc22ebb5673e4a39e529c40e9c3b6dac", "score": "0.7450734", "text": "Employee selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "cc22ebb5673e4a39e529c40e9c3b6dac", "score": "0.7450734", "text": "Employee selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "ee7faca9f6d295dc0a9b140b956f7620", "score": "0.7449513", "text": "@GET\n @Path(\"{id}\")\n @Produces(\"application/json\")\n public Response getEmployeeById(@PathParam(\"id\") int id) {\n SessionFactory factory = HibernateUtil.getSessionFactory();\n Session session = factory.getCurrentSession();\n try {\n session.getTransaction().begin();\n\n Query<Employee> query = session.createNamedQuery(\"Employee.findById\", Employee.class);\n query.setParameter(\"id\", id);\n Employee employee = query.getSingleResult();\n\n session.getTransaction().commit();\n session.close();\n\n return Response.ok(employee, MediaType.APPLICATION_JSON_TYPE).build();\n } catch (Exception e) {\n session.getTransaction().rollback();\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "47b77adfce601155d8cc4c6404feca41", "score": "0.7449347", "text": "@Override\n\tpublic Employee findBy_id(String id) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "1ebabc0e5e76f45710e7333cf4cfbf14", "score": "0.74462414", "text": "@GET\r\n\t@Produces({ \"application/json\", \"application/xml\" })\r\n\t@Path(\"{empId}\")\r\n\tpublic Employee findById(@PathParam(\"empId\") String empId) {\r\n\t\t// logic goes here\r\n\r\n\t\tSystem.out.println(\"Path Parameter Value : \" + empId);\r\n\r\n\t\t// setting dummy data to reponse\r\n\t\tEmployee emp = new Employee();\r\n\t\temp.setEmpId(Integer.parseInt(empId));\r\n\t\temp.setEmpName(\"Charles\");\r\n\t\temp.setEmpSalary(55000.00);\r\n\r\n\t\t// return employee object\r\n\t\treturn emp;\r\n\t}", "title": "" }, { "docid": "982c3079116b1c974d3ec94ffc6fffe2", "score": "0.7411408", "text": "public Employee getEmployeeById(int id) throws EmployeeSystemException {\n\t\tEmployee employee = null;\n\t\tConnection connection = ConnectionFactory.getConnection();\n\t\ttry {\n\t\t\tPreparedStatement preparedStatement = connection.prepareStatement(GET_EMPLOYEE_BY_ID_QUERY);\n\t\t\tpreparedStatement.setInt(1,id);\n\t\t\tResultSet resultSet = preparedStatement.executeQuery();\n\t\t\tif(resultSet.next()) {\n\t\t\t\temployee = new Employee();\n\t\t\t\temployee.setName(resultSet.getString(\"name\"));\n\t\t\t\temployee.setEmail(resultSet.getString(\"email\"));\n\t\t\t\temployee.setAddress(resultSet.getString(\"address\"));\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\tthrow new EmployeeSystemException(\"Exception while getting Employee Description \"+e.getMessage());\n\t\t\t} finally {\n\t\t\t\tConnectionFactory.closeConnection(connection);\n\t\t\t}\n\t\treturn employee;\n\t}", "title": "" }, { "docid": "955458b59148e251c6b3290f142fe170", "score": "0.7397683", "text": "Employee findEmployeeByIdFetchProjectsAndUser(int id) throws DataAccessException;", "title": "" }, { "docid": "a70305088d20b1a46efecd13b6c07ea4", "score": "0.7389402", "text": "@Override\r\n\tpublic Employee findEmployeeById(int id) {\n\t\temployees=impl1.readFromFile();\r\n\t\t for(Employee var:employees)\r\n\t\t {\r\n\t\t\t if(var.getEmpid()==id)\r\n\t\t\t \t \r\n\t\t\t return var;\r\n\t\t }\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "8b773fbf25246e883fe5caefe388aa29", "score": "0.7374397", "text": "@Override\r\n\tpublic Employe getEmploye(Integer id) {\n\t\tSession session = HibernateUtil.getSessionFactory().getCurrentSession();\r\n\t\tsession.beginTransaction();\t\r\n\t\t\r\n\t\tEmploye user = (Employe) session.load(Employe.class, id);\r\n\t\treturn user;\r\n\t}", "title": "" }, { "docid": "f9e5c63bb7aa89a9f5015cafcc196b48", "score": "0.7363424", "text": "public Exame findById(Long id) {\n\t\tOptional<Exame> obj = repository.findById(id);\n\t\t//return obj.get();\n\t\t//usa lambda\n\t\treturn obj.orElseThrow(() -> new ResourceNotFoundException(id));\n\t}", "title": "" }, { "docid": "f58ccf0842c517756ac7262b93e01caf", "score": "0.734651", "text": "public EmployeeBo getEmployeeById(long id) {\n EmployeeBo result = null;\n LOG.info(\"Started executing getEmployeeById\");\n CriteriaBuilder cb = entityManager.getCriteriaBuilder();\n\n CriteriaQuery<EmployeeBo> cq = cb.createQuery(EmployeeBo.class);\n Root<EmployeeBo> employee = cq.from(EmployeeBo.class);\n cq.select(employee);\n\t\t/*\n cq.where(cb.and(cb.equal(accountInfo.get(ID), accountNumber),\n cb.equal(accountInfo.get(SORT_CODE), sortCode)));\n\t\t*/\n\t\tcq.where(cb.equal(employee.get(ID), id));\t\t\n\t\t\t\t\n\t\t\t\t\n TypedQuery<EmployeeBo> q = entityManager.createQuery(cq);\n List<EmployeeBo> employeeBos = q.getResultList();\n\n if (employeeBos != null && employeeBos.size() > 0) {\n result = employeeBos.get(0);\n }\n LOG.info(\"Finished executing getEmployeeById\");\n return result;\n\n }", "title": "" }, { "docid": "29c0d31e0f2ae8c3f0b991431ca76528", "score": "0.7345521", "text": "public Employee getCurrentEmployee(String id) {\r\n\t\t\r\n\t\tEmployee newEmployee = null;\r\n\t\tString query = null;\r\n\t\tString contactID = null;\r\n\t\tString addressID = null;\r\n\t\tString contactInfoID = null;\r\n\t\tString lastName = null;\r\n\t\tString firstName = null;\r\n\t\tString streetAddress = null;\r\n\t\tString city = null;\r\n\t\tString state = null;\r\n\t\tString zipCode = null;\r\n\t\tString unitNumber = null;\r\n\t\tString description = null;\r\n\t\tString phoneNumber = null;\r\n\t\tString cellPhone = null;\r\n\t\tString email = null;\r\n\t\tString title = \"Employee\";\r\n\r\n\t\tquery = \"select employee_id, e.address_id, e.contact_info_id, last_name, first_name, \" +\r\n\t\t\t\t\"street_address, city, state, zip_code, unit_number, description, \" +\r\n\t\t\t\t\"phone_number, cell_phone, email \" +\r\n\t\t\t\t\"from employees e join address a on e.address_id = a.address_id \" +\r\n\t\t\t\t\"join contact_info ci on e.contact_info_id = ci.contact_info_id \" +\r\n\t\t\t\t\"where employee_id = '\" + id + \"';\";\r\n\r\n\t\tStatement stmt = null;\r\n\t\t\t\t\t\r\n\t\tconnObj = DatabaseWriter.getDBConnection();\r\n\r\n\t\ttry {\t\r\n\t\t\tstmt = connObj.createStatement();\r\n\t\t\tResultSet rs = stmt.executeQuery(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcontactID = rs.getString(1);\r\n\t\t\t\taddressID = rs.getString(2);\r\n\t\t\t\tcontactInfoID = rs.getString(3);\r\n\t\t\t\tlastName = rs.getString(4);\r\n\t\t\t\tfirstName = rs.getString(5);\r\n\t\t\t\tstreetAddress = rs.getString(6);\r\n\t\t\t\tcity = rs.getString(7);\r\n\t\t\t\tstate = rs.getString(8);\r\n\t\t\t\tzipCode = rs.getString(9);\r\n\t\t\t\tunitNumber = rs.getString(10);\r\n\t\t\t\tdescription = rs.getString(11);\r\n\t\t\t\tphoneNumber = rs.getString(12);\r\n\t\t\t\tcellPhone = rs.getString(13);\r\n\t\t\t\temail = rs.getString(14);\r\n\t\t\r\n\t\t\t\tnewEmployee = new Employee(contactID, addressID, contactInfoID, lastName,\r\n\t\t\t\t\tfirstName, streetAddress, city, state, zipCode, unitNumber,\r\n\t\t\t\t\tdescription, phoneNumber, cellPhone, email, title);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (SQLException e) {\r\n\t\t\tSystem.out.println(e.toString());\r\n\t\t}\r\n\r\n\t\tDatabaseWriter.closeConnection(connObj);\r\n\r\n\t\treturn newEmployee;\r\n\t}", "title": "" }, { "docid": "3f2f880c6f7f091d61b3fbd3ef72e2dc", "score": "0.7343994", "text": "SysEmployee selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "929871880d4a9c7c0a2857f8dcccdee1", "score": "0.7340402", "text": "public generated.tables.pojos.Employee fetchOneById(Integer value) {\n return fetchOne(Employee.EMPLOYEE.ID, value);\n }", "title": "" }, { "docid": "3ed7976691483836320265400453a07c", "score": "0.7337735", "text": "@Override\n public EmployeeData getEmployeePayRollDataById(int empId) {\n log.info(\"Inside getEmployeePayRollDataById() Method of the EmpPayRollService Class!\");\n Optional<EmployeeData> employeeData = empPayRollRepository.findById(empId);\n if (employeeData.isEmpty()) {\n throw new EmployeeDataNotFoundException(\"Employee Data is Not Available\");\n }\n return employeeData.get();\n }", "title": "" }, { "docid": "d66510d119de8d9824b5bebb87659d89", "score": "0.7318418", "text": "public int getEmployeeId();", "title": "" }, { "docid": "5d82ce51e36ae0f5484fba64034de414", "score": "0.73135865", "text": "@GetMapping(\"/{id}\")\n\tpublic Mono<Employee> getEmployee(@PathVariable String id) {\n\t\tLOGGER.debug(\"getEmployee id:\", id);\n\n\t\tif(!StringUtils.isNumeric(id)) {\n\t\t\tLOGGER.debug(\"getEmployee validation failed\");\n\t\t\tthrow new EmployeeServiceValidationError(\"Id Not valid\");\n\t\t}\n\t\t\t\t\n\t\tLOGGER.debug(\"getEmployee from service\");\n\t\treturn this.employeeService.getEmployee(Long.parseLong(id));\n\t}", "title": "" }, { "docid": "14a0a432cde24e9068a76661b13db4d4", "score": "0.727121", "text": "List<Employee> findEmployeesByDepartmentId(Integer id);", "title": "" }, { "docid": "17baaf41c53d888b910cde0393ae4391", "score": "0.7267352", "text": "Employeeinfo selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "6b8843790fb6ce1e7003ce2ef02df45a", "score": "0.7241991", "text": "public static Employee findByEmployeeId(int eid) {\n\t\tString qry = \"Select * from employee_details where emp_id=?\";\n\n\t\ttry {\n\t\t\tpst = getConnection().prepareStatement(qry);\n\t\t\tpst.setInt(1, eid);\n\t\t\trs = pst.executeQuery();\n\t\t\tif (rs.next()) {\n\t\t\t\teRec = new Employee();\n\t\t\t\teRec.setEmpId(rs.getInt(\"emp_id\"));\n\t\t\t\teRec.setName(rs.getString(\"name\"));\n\t\t\t\teRec.setAddress(rs.getString(\"address\"));\n\t\t\t\teRec.setSkillId(rs.getInt(\"SkillID\"));\n\t\t\t\teRec.setEmailId(rs.getString(\"emailId\"));\n\t\t\t\teRec.setCityId(rs.getInt(\"cityid\"));\n\t\t\t\teRec.setCellNo1(rs.getInt(\"cellno1\"));\n\t\t\t\teRec.setCellNo2(rs.getInt(\"cellno2\"));\n\t\t\t\teRec.setDateOfJoining(rs.getDate(\"date_of_joining\"));\n\t\t\t\teRec.setPinCode(rs.getInt(\"pincode\"));\n\n\t\t\t\treturn eRec;\n\t\t\t}\n\t\t} catch (ClassNotFoundException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn null;\n\n\t}", "title": "" }, { "docid": "bdefd8942d0a3351f5c27bcd02613448", "score": "0.72326565", "text": "@Override\n\tpublic Employee findByIdUsingMap(int id) {\n String sql = \"SELECT * FROM employees WHERE ID = ?\";\n Map<String,Object> singleRow = jdbcTemplate.queryForMap(sql, id);\n Employee obj = new Employee();\n obj.setId((int)singleRow.get(\"ID\"));\n obj.setName((String)singleRow.get(\"Name\"));\n return obj;\n }", "title": "" }, { "docid": "4df56b4836d27d3ce6d0c72602ab2dd1", "score": "0.7229731", "text": "@GetMapping(\"/stages/{id}\")\n\tpublic ResponseEntity<Stage> getEmployeeById(@PathVariable(value=\"id\") Long empid){\n\t\t\n\t\tStage emp=stageDAO.findOne(empid);\n\t\t\n\t\tif(emp==null) {\n\t\t\treturn ResponseEntity.notFound().build();\n\t\t}\n\t\treturn ResponseEntity.ok().body(emp);\n\t\t\n\t}", "title": "" }, { "docid": "032289a48b19129581113372d139632e", "score": "0.7216834", "text": "public EmployeeTraining findById(Integer id) throws\n\t EntityNotFoundException;", "title": "" } ]
ca7bc5baca186c4da6bb93876395f901
Call the method when the curve is changed too.
[ { "docid": "ed6d048da73de89c249f1adb63e67956", "score": "0.0", "text": "@Override\n\tpublic void setGap(int gap) {\n\t\tif(inValidLocus())\n\t\t\treturn;\n\t\tif(gap <= 0 || gap > 100){\n\t\t\tgap = GAP_DEFAULT;\n\t\t}\n\t\tthis.gap = gap;\n\t\tlocus.segmentIncres[curveIndex] = gap / (float)100;\n\t}", "title": "" } ]
[ { "docid": "ac2cc8115463b5106b468c55262ba437", "score": "0.73752207", "text": "private void setCurve(Curve curve) {\r\n\tCurve oldValue = fieldCurve;\r\n\tfieldCurve = curve;\r\n\t//firePropertyChange(\"curve\", oldValue, curve);\r\n}", "title": "" }, { "docid": "cfe55d9f0ca92ed60ad31e23a7b670b5", "score": "0.63316447", "text": "public void setChanged();", "title": "" }, { "docid": "2679836a61f99e62d9f6e6f10fcc5438", "score": "0.62915134", "text": "public void stateChanged(final ChangeEvent theEvent) {\r\n myDrawPanel.setStroke(getValue());\r\n }", "title": "" }, { "docid": "66849db387c4277f29b325ea13056dc2", "score": "0.6273492", "text": "@Override\n\tpublic void msgHereIsChange(double change) {\n\t\t\n\t}", "title": "" }, { "docid": "4eebb9dd4b8a081dbac3da036e7acc9e", "score": "0.61988705", "text": "public void change(float x, float y){\n\n\n }", "title": "" }, { "docid": "aa1828a404534ec000f7efd49b641823", "score": "0.61274916", "text": "@Override\r\n public void stateChanged(final ChangeEvent theEvent) {\r\n //final int value = mySlider.getValue();\r\n myLineWidth = mySlider.getValue();\r\n }", "title": "" }, { "docid": "b79df8c7e58c3d844d92fc5932dc7348", "score": "0.5998688", "text": "@Override\n\t\tpublic void update(Observable arg0, Object arg1) {\n\t\t\tthis.repaint();\n\t\t}", "title": "" }, { "docid": "58441a646c2cd64553efd42f9e4c813f", "score": "0.5955998", "text": "public void fireDataChanged();", "title": "" }, { "docid": "dc270b76e0155695c4928d4fea4f9947", "score": "0.59532315", "text": "public void updatedLegendEvent() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4f630c1c9fbb5d2147a6e77d46448123", "score": "0.59446937", "text": "public void priceChanged() {\n\t\tsetChanged();\n\t\t//if notifyObservers() was called without first calling setChanged(), the observers would NOT be notified\n\t\t// notice we aren't sending a data object with the notifyObservers() call. That means we're using the PULL model\n\t\tnotifyObservers();\n\t}", "title": "" }, { "docid": "a808cccd01e4946cd59cd5ee617d1c56", "score": "0.5912424", "text": "void fireValueChanged(@NotNull VALUE pNewValue);", "title": "" }, { "docid": "120fd1ba2b1cd81296fd91ce4a6bcd8f", "score": "0.588691", "text": "public void calibrateLineSensors();", "title": "" }, { "docid": "08616d7464253223e13f271ec08d63b6", "score": "0.5857542", "text": "@Override\n public void update(Observable o, Object arg) {\n grillePanel.repaint();\n }", "title": "" }, { "docid": "1a8dbae646d6accf3a9105b7978fa62b", "score": "0.5842979", "text": "@Override\r\n\t\tpublic void changed(ObservableValue<? extends Number> observable, Number yOld, Number yNew)\r\n\t\t{\n\t\t\tdouble yFinal = yNew.doubleValue() - yOld.doubleValue();\r\n\r\n\t\t\t// Lines at the bottom will stretch downward\r\n\t\t\tlineLB.setStartY(lineLB.getStartY() + yFinal);\r\n\t\t\tlineLB.setEndY(lineLB.getEndY() + yFinal);\r\n\t\t\tlineRB.setStartY(lineRB.getStartY() + yFinal);\r\n\t\t\tlineRB.setEndY(lineRB.getEndY() + yFinal);\r\n\t\t\t\r\n\t\t\t// Increase height of squares\r\n\t\t\tupperSquare.setHeight(upperSquare.getHeight() + yFinal);\r\n\t\t\tlowerSquare.setHeight(lowerSquare.getHeight() + yFinal);\r\n\t\t}", "title": "" }, { "docid": "87f89cf22f90e7bdebe8faf953ac301d", "score": "0.5835187", "text": "public void curveTo(float anX1, float aY1, float anX2, float aY2, float anX3, float aY3)\n{\n getPainter().curveTo(anX1, aY1, anX2, aY2, anX3, aY3);\n}", "title": "" }, { "docid": "a2df9ae0332e9e088c4c27da8635e4fd", "score": "0.582445", "text": "public void graphicChanged(GraphicsObject changedObject){\r\n repaint();\r\n }", "title": "" }, { "docid": "622d369f2f32dbdc1315576d552cf4ec", "score": "0.58168036", "text": "@Override\r\n\tpublic void update(Observable o, Object arg) {\r\n\t\tif (arg instanceof SimulationStartedEvent) {\r\n\t\t\tstart();\r\n\t\t} else if (arg instanceof ClientFilledEvent) {\r\n\t\t\tonClientFilledEvent((ClientFilledEvent)arg);\r\n\t\t} else if (arg instanceof Fill || arg instanceof PartialFill) {\r\n\t\t\tonTrade((Fill)arg);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "448651c870c6fc84ceb5bc524f959994", "score": "0.58125186", "text": "protected void fireChange(){\r\n }", "title": "" }, { "docid": "4d6c831d5f26f32f32d245b7e38a3b7b", "score": "0.57986563", "text": "private void onScalerChanged()\n {\n // process on scaler change\n\n }", "title": "" }, { "docid": "b7e84f1ce1ba2d304d01978f472d07a9", "score": "0.57784593", "text": "public void meterChanged(DataMeter source);", "title": "" }, { "docid": "2457918cbd5cb6d50f55a9adf6d5a9f0", "score": "0.5762466", "text": "@Override\n public void update(Observable o, Object arg) {\n repaint();\n }", "title": "" }, { "docid": "00f2019b290034514003a827d982cdff", "score": "0.5757183", "text": "@Override\n\tpublic void update(Observable o, Object arg) {\n\t\tthis.repaint();\n\t}", "title": "" }, { "docid": "033ae9ba23a211572048300f3e62509f", "score": "0.5755144", "text": "public void fireUpdate(ParameterName param) {\r\n\t\tfor (GeometryViewListener g : listeners) {\r\n\t\t\tg.updateParameter(this, this.getCurrentObject(), param);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8184641af13378c64e44e5b83e4c2144", "score": "0.5753294", "text": "private void update(Object arg) {\n\t\tsetChanged();\n\t\tnotifyObservers();\n\t}", "title": "" }, { "docid": "c05c13d7fcb017259783b1d5e8d1ff2d", "score": "0.5749576", "text": "public void objectsChanged(DrawingModel source, int index0, int index1);", "title": "" }, { "docid": "6d5466d7742029c116da611a20a9a054", "score": "0.57494056", "text": "@Override\r\n\t\tpublic void changed(ObservableValue<? extends Number> observable, Number xOld, Number xNew)\r\n\t\t{\n\t\t\tdouble xFinal = xNew.doubleValue() - xOld.doubleValue();\r\n\r\n\t\t\t// Lines on the right will expand right, left will stay put\r\n\t\t\tlineRT.setStartX(lineRT.getStartX() + xFinal);\r\n\t\t\tlineRT.setEndX(lineRT.getEndX() + xFinal);\r\n\t\t\tlineRB.setStartX(lineRB.getStartX() + xFinal);\r\n\t\t\tlineRB.setEndX(lineRB.getEndX() + xFinal);\r\n\t\t\t\r\n\t\t\t// Increase width of squares\r\n\t\t\tupperSquare.setWidth(upperSquare.getWidth() + xFinal);\r\n\t\t\tlowerSquare.setWidth(lowerSquare.getWidth() + xFinal);\r\n\r\n\t\t}", "title": "" }, { "docid": "b031ba9dd9f9bb3835b8a0a8ccc307f5", "score": "0.57461387", "text": "public void fireUpdate(ParameterName param, ObjectDescription obj) {\r\n\t\tfor (GeometryViewListener g : listeners) {\r\n\t\t\tg.updateParameter(this, obj, param);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e5e4ba6cb8f0f2c2ff813c1f1f554500", "score": "0.57460284", "text": "public void notifyAngleChange()\n throws AmiException\n {\n if ( mMethodOnAngleChange != null )\n mMethodOnAngleChange.onData();\n }", "title": "" }, { "docid": "7230084de32778540bd9a25c0d071a78", "score": "0.5733246", "text": "void interestOpsChanged() {\n }", "title": "" }, { "docid": "68dc51adf1c0d23f30c94b38194a8674", "score": "0.5728884", "text": "private void changeAndNotify() {\n\t\tthis.setChanged();\n\t\tthis.notifyObservers();\n\t}", "title": "" }, { "docid": "e574ab5a4dd035ef9698e2a0770299b0", "score": "0.5718442", "text": "public void setPlot2D(Plot2D plot2D) {\r\n\tPlot2D oldValue = fieldPlot2D;\r\n\tfieldPlot2D = plot2D;\r\n\tfirePropertyChange(\"plot2D\", oldValue, plot2D);\r\n}", "title": "" }, { "docid": "6a3a7db73b58f78b643681f6b3e1eca1", "score": "0.5711346", "text": "@Override\n\tprotected void redrawChart()\n\t{\n\n\t}", "title": "" }, { "docid": "ecef43741ddcfa168dd0ddb41bf21f13", "score": "0.5709531", "text": "@Override\n public void onUpdate(float value) {\n }", "title": "" }, { "docid": "6772c3b5c5519b939c49521dc960a403", "score": "0.57033026", "text": "@Override\r\n\tpublic void modelChanged(DShapeModel model) {\n\t\t\r\n\t\tpaintComponent();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "575eeae4fe52bb650c26ccc44ea81503", "score": "0.5702685", "text": "@Override\n \tpublic void propertyChange(PropertyChangeEvent evt) {\n \t\tif (evt.getSource() == getGraphicalRepresentation()) {\n \t\t\t// We just want here to track events such as object moving, just to flag the resource as modified\n \t\t\t// Ignore focused or selected events, because goal here is to mark resource as modified\n \t\t\tif (!evt.getPropertyName().equals(GraphicalRepresentation.Parameters.isFocused.name())\n \t\t\t\t\t&& !evt.getPropertyName().equals(GraphicalRepresentation.Parameters.isSelected.name())) {\n \t\t\t\t// System.out.println(\"setChanged() because of \" + evt.getPropertyName() + \" evt=\" + evt);\n \t\t\t\tsetChanged();\n \t\t\t}\n \t\t} else {\n \t\t\t// In this case, we really need to update object, because an object involved in the computing of\n \t\t\t// the label for instance has changed\n \t\t\tupdate();\n \t\t}\n \t}", "title": "" }, { "docid": "1bbbdcddd8efb911a0fe8f9e8200a917", "score": "0.5684484", "text": "protected void paintUpdated(VecShape shape){\n for(VecCanvas observer: observers){\n (observer).updateShapes(shape);\n }\n }", "title": "" }, { "docid": "8ecf071dc0ab50a0bd7f43756cfb10a9", "score": "0.567747", "text": "public void update() {\n \t\t// System.out.println(\"Update in DiagramElement \" + this + \", text=\" + getLabelValue());\n \t\tupdateDependingObjects();\n \t\tsetChanged();\n \t\tnotifyObservers(new ElementUpdated(this));\n \t}", "title": "" }, { "docid": "ffea6a3875e7eb426408f188f07cc3dd", "score": "0.566961", "text": "public void updatedLegend(LegendDataObject leg) {\n\t\t\r\n\t}", "title": "" }, { "docid": "2f18e095b2765ca23e9506f72a1f2b87", "score": "0.5661107", "text": "public void rangeChanged(TimePeriod period)\n\t{\n\t}", "title": "" }, { "docid": "2206edea616fe4f2f008a40ea5f305f6", "score": "0.5653714", "text": "void change();", "title": "" }, { "docid": "b9d3ef1a7d48e0b64b6e960b07222333", "score": "0.5643173", "text": "@Override\r\n\tpublic void valueForPathChanged(TreePath arg0, Object arg1) {\n\t\t\r\n\t}", "title": "" }, { "docid": "54dea0eb918832434b569c45c2bf02c5", "score": "0.56340396", "text": "public void setValue(double newValue) { value.setValue(newValue); }", "title": "" }, { "docid": "9e22d5c8c6f472c700d256b0bcd525bc", "score": "0.56071186", "text": "@Override\n public void stateChanged(final ChangeEvent theEvent)\n { \n myDrawPanel.setThickness(thicknessSlider.getValue()); \n }", "title": "" }, { "docid": "d8bc92fe7b8542787ee7b3afc9a2aafe", "score": "0.5603101", "text": "public void measurementsChanged();", "title": "" }, { "docid": "5ec0598b42328c2da221ad39f30cc160", "score": "0.5602316", "text": "private void measurementsChanged() {\n\t\tsetChanged();\r\n notifyObservers();\r\n\t}", "title": "" }, { "docid": "fe975e10b5f46a9c760983d7bd69d623", "score": "0.5583719", "text": "@Override\n\tpublic void firepointchanged(TwoDCoordinate coordinate) {\n\t\tif(coordinate!=null)\n\t\t{\n\t\t\tfirepoint.add(coordinate);\n\t\t\t//this.addpoint(coordinate);\n\t\t}\n\t}", "title": "" }, { "docid": "266f6a48c5c394064b16ee59e9ce8b54", "score": "0.55799276", "text": "void stateChanged();", "title": "" }, { "docid": "2a6986dfb22462b3e6a43e299138f9fc", "score": "0.5579139", "text": "@Override\n \tpublic void update(Observable o, Object arg) {\n \t\tupdate();\n \t}", "title": "" }, { "docid": "35d10518770cc217bd6ce026202ebca1", "score": "0.55714506", "text": "@Override\n public void differentiate() {\n SeriesMath.differentiate(data, samprate);\n onModify();\n }", "title": "" }, { "docid": "7fd70a503c245c82840925743646adf5", "score": "0.55673724", "text": "@Override\r\n public void stateChanged(ChangeEvent e) {\n canvas.light.suradnice[0] = (Integer) lightX.getValue()/10;\r\n canvas.repaint();\r\n }", "title": "" }, { "docid": "cd78dedd3754d868890e41e7c70257ba", "score": "0.5567086", "text": "void onAnimationValueChanged(boolean newValue);", "title": "" }, { "docid": "c0c1bff9c339c9ee466dea72aba441de", "score": "0.5564881", "text": "private void stateChanged()\r\n\t\t{\r\n\t\t setChanged();\r\n\t\t notifyObservers();\r\n\t\t}", "title": "" }, { "docid": "75cf102f7ebb48c2e6527820af24a222", "score": "0.55619633", "text": "public void fireModelChange()\n {\n for (PVTableModelListener listener : listeners)\n listener.modelChanged();\n }", "title": "" }, { "docid": "afe44b32d9368ef1268fa206dd7dfa5f", "score": "0.5550266", "text": "public void changed(ObservableValue ov, Number value, Number new_value) {\n statDiceSize.set(diceVal.get(new_value.intValue()));\n }", "title": "" }, { "docid": "bd4a6438f94f1bf991b3d87fa973f0da", "score": "0.5544926", "text": "@Override\n public void changed(ObservableValue<? extends Number> observableValue, Number number, Number t1) {\n Main.changetempformat(t1);\n Main.getViews().get(ViewName.INITIAL).show();\n Main.temperatureGraph.reloadGraph();\n }", "title": "" }, { "docid": "d158c9434c1dd9e0ad73d5e3c00a21d5", "score": "0.55419385", "text": "void onValueChanged();", "title": "" }, { "docid": "fafc23b58708ef12ababd1fec8bb367b", "score": "0.5537509", "text": "public final void notifyChange() {\n }", "title": "" }, { "docid": "1ffaecd9f261611aa8d842087aeadf88", "score": "0.55336404", "text": "@Override\n public void notifyObserver() {\n for (Observer observer : observers) {\n observer.update(0.1, 0.2, 0.3);\n }\n }", "title": "" }, { "docid": "b11cf796988e558b281bb38d45783c66", "score": "0.55328286", "text": "public abstract void update(double delta);", "title": "" }, { "docid": "b11cf796988e558b281bb38d45783c66", "score": "0.55328286", "text": "public abstract void update(double delta);", "title": "" }, { "docid": "50bf4835bcdbdd5b8eb2dee06901bb3d", "score": "0.5527924", "text": "public void update()\n {\n previousActivation = activation;\n if (externallyFired)\n {\n fired = true;\n activation = 1.0;\n }\n else\n {\n excitation = excitation / \n (excitation \n + net.Kr * net.numPreviouslyFired\n + net.Ki * net.numForcedToFire\n + net.K0);\n\n if (excitation > 0.5) \n {\n fired = true; \n activation = 1;\n }\n else\n {\n fired = false;\n activation = activation * net.preserveParameter;\n }\n }\n excitation = 0;\n externallyFired = false;\n }", "title": "" }, { "docid": "1d090c9804d5b9e7de6a1bf2e6b23a52", "score": "0.5524663", "text": "public void measurementsChanged()\n\t\t{\n\t\t\tnotifyObservers();\n\t\t}", "title": "" }, { "docid": "d0bbb3b5f1e101ea89c84eaca608b58a", "score": "0.55240905", "text": "public void notifyScaleChanged();", "title": "" }, { "docid": "85e8d9d35cbfd5db8fecad947b75abdb", "score": "0.5522508", "text": "private void fireValueChanged() {\n\t\tObject[] array = getListeners();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tIPropertySheetEntryListener listener = (IPropertySheetEntryListener) array[i];\n\t\t\tlistener.valueChanged(this);\n\t\t}\n\t}", "title": "" }, { "docid": "4dc605114d3c74c018b99cc73603ce75", "score": "0.55223244", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif(func.isGraphing() == false)\r\n\t\t\t\t\tfunc.setGraphing(true);\r\n\t\t\t\telse\r\n\t\t\t\t\tfunc.setGraphing(false);\r\n\t\t\t\tmainApp.getGraphObj().repaint();\r\n\t\t\t}", "title": "" }, { "docid": "a010972e8e57ba9f6e5164ad9bd2db18", "score": "0.55183953", "text": "protected void updateShape(){}", "title": "" }, { "docid": "df484bd9242fa28751030f0d52e99ab6", "score": "0.5516083", "text": "@Override\n\tpublic void updateChart(Chart chart) {\n\t\t\n\t}", "title": "" }, { "docid": "56ffc7719af9ba4ef2c0b8eccf39e58d", "score": "0.55131906", "text": "@Override\n\tpublic void setChangedProperty(boolean value) {\n\t\tsynchronized (this) {\n\t\t\tvisualPropertyChanged = value;\n\t\t}\n\t\tif (value) {\n\t\t\tANode parent = getParent();\n\t\t\twhile (parent != null) {\n\t\t\t\tif (parent.getValue() != null && parent.getValue() instanceof JRChangeEventsSupport) {\n\t\t\t\t\t// We can't set the property on the element directly because even if it follow the hierarchy\n\t\t\t\t\t// there will be problem with elements inside the subeditors. Firing an event on the jr object\n\t\t\t\t\t// instead will end to propagate the update to every model binded to the jr object\n\t\t\t\t\tJRChangeEventsSupport parentEvents = (JRChangeEventsSupport) parent.getValue();\n\t\t\t\t\tparentEvents.getEventSupport().firePropertyChange(MGraphicElement.FORCE_GRAPHICAL_REFRESH, null, null);\n\t\t\t\t\t// We can exit the cycle since the setChangedProperty on the parent will propagate the\n\t\t\t\t\t// refresh on the upper levels\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tparent = parent.getParent();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "6cc55f79266235d819cb6cd25eac4cd2", "score": "0.55098844", "text": "public void ptrChanged() {\n }", "title": "" }, { "docid": "feeebaa2af66ed430ffd8444023a030c", "score": "0.5502195", "text": "@Override\r\n\t\t\t\t\tprotected boolean updating(PSignal newvalue) {\n\t\t\t\t\t\tstartTimer();\r\n\t\t\t\t\t\treturn super.updating(newvalue);\r\n\t\t\t\t\t}", "title": "" }, { "docid": "c7bbffb86b56423f56204f15e3e3aa29", "score": "0.54978555", "text": "public void updatedLegend(Legend leg) {\n\t\t\r\n\t}", "title": "" }, { "docid": "095c415da78fef989a411a09ee1ca76a", "score": "0.5496438", "text": "public void update(Observable o, Object arg)\n{\n\trepaint();\n}", "title": "" }, { "docid": "76c6c9a6c0b22009a024ec7a72bc244f", "score": "0.5495754", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent event) {\r\n\t\t//Calling the method \"update\" we created about\r\n\t\t//this method is called according to our timer function\r\n\t\tupdate();\t\r\n\t\t//repaints the graphics based on the new position data every time\r\n\t\t//this method is called\r\n\t\trepaint();\r\n\t}", "title": "" }, { "docid": "6be5fe1b62da6125b5a8f616fc79fc91", "score": "0.54913616", "text": "private void repaintOnChange() {\n if (!history.empty()) {\n clear();\n\n for (MyStroke stroke : history) {\n updateCanvas(stroke);\n }\n } else {\n clear();\n }\n }", "title": "" }, { "docid": "3a5c0b6cda54d2b7170a5ae2eebd0a1c", "score": "0.5484104", "text": "public void colorPointChanged() {\n System.out.println(\"JavaScript changed color points\");\n // run in Swing event dispatching thread\n SwingUtilities.invokeLater(new Runnable() {\n @Override\n public void run() {\n readIDWPoints(true);\n }\n });\n }", "title": "" }, { "docid": "e64d3d0cce416d1c19535ac7be7cb145", "score": "0.5483043", "text": "public void setScale(double newScale) {\r\n\tdouble oldScale = scale;\r\n\tscale = newScale;\r\n\tfirePropertyChange(\"scale\",oldScale,scale);\r\n\tinvalidate();\r\n\t//repaint();\r\n}", "title": "" }, { "docid": "91b45d8530e7e341749a66c0f6a1b2ef", "score": "0.54743594", "text": "public void onModify() {\n statistics = null;\n\n for (final TimeSeries.SeriesListener listener : listeners) {\n listener.dataChanged(data);\n }\n }", "title": "" }, { "docid": "c771c76e439c8677a03278eae22a139b", "score": "0.546896", "text": "public void setCurve(int axis, double value) {\n\t\twrap.setCurve(axis, value);\n\t}", "title": "" }, { "docid": "8f9b9feb99d4279adce758a8c812d0a2", "score": "0.54646176", "text": "public void notifyChanged() {\n setChanged();\n notifyObservers();\n }", "title": "" }, { "docid": "db68d297f52d40c5bd6dd1fffe00dacf", "score": "0.54628384", "text": "@Override\r\n public void algorithmChanged(SeriesAlgorithm oldAlgorithm, SeriesAlgorithm newAlgorithm) {\n properties.apply(meaView, getChart(), true);\r\n popupMenu.updateData();\r\n\r\n setRefreshBuffer(true);\r\n repaint();\r\n }", "title": "" }, { "docid": "22087f727a1eda7ecc501674bd75e4ed", "score": "0.5455953", "text": "@Override\r\n\tpublic void historicalDataUpdate(int arg0, Bar arg1) {\n\r\n\t}", "title": "" }, { "docid": "dcd91142240ae404f3e0117a5c0f0ee7", "score": "0.54554963", "text": "public void setChanged(boolean changed);", "title": "" }, { "docid": "10f150442ad4f181fd503b59e2a53594", "score": "0.54553115", "text": "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t\tfloat val = slider.getValue();\n\t\t\t\tupdatePos(val);\n\n\t\t\t}", "title": "" }, { "docid": "cd724a02229fbcc54c91123fdd8546bd", "score": "0.5444605", "text": "protected void chartDidDeepChange(PropChange aPC)\n {\n // Forward to ChartHelper\n _chartHelper.chartPartDidChange(aPC);\n\n // Handle PointStyle, TagStyle: Repaint\n Object src = aPC.getSource();\n if (src instanceof PointStyle || src instanceof TagStyle)\n repaint();\n\n // Handle Marker change\n if (aPC.getSource() instanceof Marker) {\n relayout();\n }\n\n // Trigger reset\n resetLater();\n }", "title": "" }, { "docid": "ecd8b82cd7f778862582ab2f2a6a34f0", "score": "0.54374325", "text": "public void onStep() {\n\t\tsimulation.smoothUpdate((long)(1e9 * timeDilationSlider.getValue()));\n\t}", "title": "" }, { "docid": "bba0cdac6839905c93a3b591889762d7", "score": "0.54331577", "text": "@Override\r\n public void update(Observable o, Object arg) {\r\n setChanged();\r\n notifyObservers();\r\n }", "title": "" }, { "docid": "9cf2bf923218593b9791a66658c7a346", "score": "0.54325575", "text": "private void stateChanged() {\r\n setChanged();\r\n notifyObservers();\r\n }", "title": "" }, { "docid": "a031f5b51daf9daf4a7ba466b3a38781", "score": "0.54320353", "text": "public void update() {\n yPoint += yChange;\n yPoint = constrain(yPoint, batHeight /2, drawHeight - batHeight /2);\n }", "title": "" }, { "docid": "f0d771382a3f7b9b7cb34e503f12f344", "score": "0.5429878", "text": "private void setplot2D1(Plot2D newValue) {\r\n\tif (ivjplot2D1 != newValue) {\r\n\t\ttry {\r\n\t\t\tcbit.plot.Plot2D oldValue = getplot2D1();\r\n\t\t\t/* Stop listening for events from the current object */\r\n\t\t\tif (ivjplot2D1 != null) {\r\n\t\t\t\tivjplot2D1.removeChangeListener(ivjEventHandler);\r\n\t\t\t}\r\n\t\t\tivjplot2D1 = newValue;\r\n\r\n\t\t\t/* Listen for events from the new object */\r\n\t\t\tif (ivjplot2D1 != null) {\r\n\t\t\t\tivjplot2D1.addChangeListener(ivjEventHandler);\r\n\t\t\t}\r\n\t\t\tconnPtoP2SetSource();\r\n\t\t\tconnEtoM1(ivjplot2D1);\r\n\t\t\tfirePropertyChange(\"plot2D\", oldValue, newValue);\r\n\t\t\t// user code begin {1}\r\n\t\t\t// user code end\r\n\t\t} catch (java.lang.Throwable ivjExc) {\r\n\t\t\t// user code begin {2}\r\n\t\t\t// user code end\r\n\t\t\thandleException(ivjExc);\r\n\t\t}\r\n\t};\r\n\t// user code begin {3}\r\n\t// user code end\r\n}", "title": "" }, { "docid": "bdd2d464d8377207bcc22b13d4943091", "score": "0.5429849", "text": "@Override\n public final void valueForPathChanged(javax.swing.tree.TreePath path, Object newValue) {\n treeModel.valueForPathChanged(path, newValue);\n }", "title": "" }, { "docid": "23708ab5a470d8a9f1a96794ad357ad2", "score": "0.5428345", "text": "public void fire(T arg) {\n\t\tsetChanged();\n\t\tsuper.notifyObservers(arg);\n\t}", "title": "" }, { "docid": "f06f8c4c968c3bcd03afef652ca94366", "score": "0.5427972", "text": "@Override\n\tpublic void shapeChanged( RenderedManifestation manifestation )\n\t{\n\n\t}", "title": "" }, { "docid": "eb5c07d79fa7a8e9b89a6b93e9364de9", "score": "0.5425151", "text": "@Override\n public void actualizar() {\n gauge.setValueAnimated(motor.getVelocidad());\n }", "title": "" }, { "docid": "eac69b8436420f6b720a3376564c0304", "score": "0.541854", "text": "public void redraw() {}", "title": "" }, { "docid": "35a11de48d6a83c038e703d6447d7ea4", "score": "0.5417169", "text": "protected void onChanged() { }", "title": "" }, { "docid": "d84cfb7523358fc0187a216d387041b8", "score": "0.5416258", "text": "@Override\r\n\tprotected void doUpdate(RcplEvent event) {\n\r\n\t}", "title": "" }, { "docid": "60c8bc7d33e040f1091f4a3971f4acdc", "score": "0.5408194", "text": "void onStepValueChanged(StepValueChangedEvent event);", "title": "" }, { "docid": "d1d8b530cbf0a78ad7520c2011d2c4ae", "score": "0.54046875", "text": "@Override\r\n\t\t\t\t\tprotected boolean updating(PSignal newvalue) {\n\t\t\t\t\t\tstopTimer();\r\n\t\t\t\t\t\treturn super.updating(newvalue);\r\n\t\t\t\t\t}", "title": "" }, { "docid": "82e78a4867ff6e00ca78ce2e1fc94116", "score": "0.5391717", "text": "@Override\n public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3) {\n super.curveTo(x1, y1, x2, y2, x3, y3);\n }", "title": "" }, { "docid": "25df73e2b2cf4d5a3374b9690f4122ec", "score": "0.53888893", "text": "@Override\n public void update(Observable o, Object arg) {\n setChanged();\n notifyObservers();\n }", "title": "" }, { "docid": "06a1113c9f1fd6463835079ba711abfc", "score": "0.5386774", "text": "public void update(Object observable) {\n repaint();\n }", "title": "" } ]
d9d40f45e1728e243ee2f94a489a4519
This Method initializes rowValue just before filling matrix
[ { "docid": "27361a08f3f41eaa11af683965a89f5d", "score": "0.72865486", "text": "private static void setInitialRowValue() {\n\t\tisInside = true;\n\t\trowVal = -1;\n\t}", "title": "" } ]
[ { "docid": "cd2d8da4b7d188fad3a9de4063210f61", "score": "0.66422117", "text": "private void init() {\n for (int row = 0 ; row < getRows() ; row++)\n for (int col = 0 ; col < getCols() ; col++)\n setValue(row, col, 0);\n }", "title": "" }, { "docid": "bc7924d34ce5a5a09fa07f737e8880ca", "score": "0.6344135", "text": "void fillRow(int rowIdx, int attr) {\n\n RowData rowdata = new RowData(cols);\n\n int[] val = new int[cols];\n\n for (int i = 0; i < cols; ++i) {\n val[i] = attr;\n }\n\n rowdata.set(val);\n\n gridMap.setRow(rowIdx, rowdata);\n }", "title": "" }, { "docid": "a1b4a31a7a9cc1a0114c331e45bd59fa", "score": "0.61811227", "text": "private void setBlockFromRow(int row_id, int col_id, double value){\n if(value==0) return;\n FeatureVector row = getRow(row_id);\n if(row==null){\n row = new FeatureVector();\n this._row.put(row_id,row);\n }\n row.add(col_id,value);\n row_change(row_id);\n }", "title": "" }, { "docid": "362ba218eec8d3fe31fe5fed6c3a8d06", "score": "0.6120016", "text": "public void addInitial(int row, int col, int value) {\r\n\t\tif((row>=0)&&(row<=9)&&(col>=0)&&(col<=9)&&(value>=1)&&(value<=9))\r\n\t\t{\r\n board[row][col]=value;\r\n initialBoard[row][col]=value; \r\n cellChangeable[row][col]=true;\r\n }\r\n\t}", "title": "" }, { "docid": "6091c7b24be7f1baf3af3213721184dd", "score": "0.6090292", "text": "public void fillMatrix()\n {\n // Used to get Random values\n ThreadLocalRandom rand = ThreadLocalRandom.current();\n\n // Iterates through and adds a random number into the Matrix until it is full\n for (int i = 0; i < this.matrix.length; i++)\n {\n for (int j = 0; j < this.matrix[i].length; j++)\n {\n // Creates a random number and adds it to the i,j index of the Matrix\n this.matrix[i][j] = rand.nextInt(-30, 30);\n }\n }\n }", "title": "" }, { "docid": "c7472ddff8a41eb6ab79f2535e6c3af0", "score": "0.6018373", "text": "public void setValue(int row, int column, double value) {\n\t\tif (this.getValue(row, column) == value) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tint rl = Ai[column].length; //current row length\n\t\t\n\t\tdouble[] rx = new double[rl+1]; //incase row is zero\n\t\tint[] ri = new int[rl+1]; //incase row is zero\n\t\tint j = 0; //this will point to rx/ri\n\t\tboolean done = false;\n\t\tfor (int i = 0; i < rl; i++) {\n\t\t\tint index = Ai[column][i];\n\t\t\tdouble oldvalue = Ax[column][i];\n\t\t\tif (row == index) {\n\t\t\t\tAx[column][i] = value;\n\t\t\t\treturn;\n\t\t\t} else if (row > index) {\n\t\t\t\tri[j] = index;\n\t\t\t\trx[j] = oldvalue;\n\t\t\t\tj++;\n\t\t\t} else if (row < index) {\n\t\t\t\tif (!done) {\n\t\t\t\t\tri[j] = row;\n\t\t\t\t\trx[j] = value;\n\t\t\t\t\tj++;\n\t\t\t\t\tdone = true;\n\t\t\t\t}\n\t\t\t\tri[j] = index;\n\t\t\t\trx[j] = oldvalue;\n\t\t\t\tj++;\n\t\t\t}\n\t\t}\n\t\tif (!done) {\n\t\t\tri[j] = row;\n\t\t\trx[j] = value;\n\t\t\tdone = true;\n\t\t}\n\t\tAi[column] = ri;\n\t\tAx[column] = rx;\n\t\t\n/*\t\t//we must extend the row arrays (rx, ri)\n\t\tdouble[] rx = new double[rl+1];\n\t\tint[] ri = new int[rl+1];\n\t\tint j = 0;\n\t\tfor (int i = 0; i < rl; i++) {\n\t\t\tif (Ai[column][i] < row) {\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.arraycopy(Ai[column], 0, ri, 0, rl);\n\t\tSystem.arraycopy(Ax[column], 0, rx, 0, rl);\n\t\trx[rl] = value;\n\t\tri[rl] = row;\n\t\tAi[column] = ri;\n\t\tAx[column] = rx;*/\n\t}", "title": "" }, { "docid": "f3da322ea49a58b1ee12d8d4916fea21", "score": "0.6010731", "text": "public static void initialize()\r\n\t{\n\t\tfor(int i=0; i< row; i++)\r\n\t\t{\r\n\t\t\tfor(int j=0; j< col; j++)\r\n\t\t\t{\r\n\t\t\t\t//arr[i][j] = count;\r\n\t\t\t\tarr[i][j] = 0;\r\n\t\t\t\t//count++;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9fd068fb8ba4ffd895e3af73f86bc0dc", "score": "0.59688336", "text": "private static void fillMatrix(int[][] matrixObj) {\n\t\trowVal++;\n\t\tfor (int j = 0; j < arrList.size(); j++)\n\t\t\tmatrixObj[rowVal][j] = arrList.get(j);\n\t\tarrList.clear();\n\t}", "title": "" }, { "docid": "6fee992e928a49fabbcccfd0160f9675", "score": "0.59321904", "text": "public final void setRow(int row, double[] v) {\n/* 1186 */ switch (row) {\n/* */ case 0:\n/* 1188 */ this.m00 = v[0];\n/* 1189 */ this.m01 = v[1];\n/* 1190 */ this.m02 = v[2];\n/* 1191 */ this.m03 = v[3];\n/* */ return;\n/* */ \n/* */ case 1:\n/* 1195 */ this.m10 = v[0];\n/* 1196 */ this.m11 = v[1];\n/* 1197 */ this.m12 = v[2];\n/* 1198 */ this.m13 = v[3];\n/* */ return;\n/* */ \n/* */ case 2:\n/* 1202 */ this.m20 = v[0];\n/* 1203 */ this.m21 = v[1];\n/* 1204 */ this.m22 = v[2];\n/* 1205 */ this.m23 = v[3];\n/* */ return;\n/* */ \n/* */ case 3:\n/* 1209 */ this.m30 = v[0];\n/* 1210 */ this.m31 = v[1];\n/* 1211 */ this.m32 = v[2];\n/* 1212 */ this.m33 = v[3];\n/* */ return;\n/* */ } \n/* */ \n/* 1216 */ throw new ArrayIndexOutOfBoundsException(VecMathI18N.getString(\"Matrix4d4\"));\n/* */ }", "title": "" }, { "docid": "5ddeee5d99b702e6f971cd7f0b134590", "score": "0.58844477", "text": "private void initializeFirstRowOfMatrix(long[][] matrix, int realWidth) {\r\n\t\tfor (int i = 0; i < matrix[0].length; i++) {\r\n\t\t\tmatrix[0][i] = calculatePixelEnergy(i, 0, realWidth);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "01485b8c20375a613ff59ca8713d15fc", "score": "0.57874125", "text": "public T setRow(int row, float v[]) {\n switch (row) {\n case 0:\n m00 = v[0];\n m01 = v[1];\n m02 = v[2];\n m03 = v[3];\n break;\n case 1:\n m10 = v[0];\n m11 = v[1];\n m12 = v[2];\n m13 = v[3];\n break;\n case 2:\n m20 = v[0];\n m21 = v[1];\n m22 = v[2];\n m23 = v[3];\n break;\n case 3:\n m30 = v[0];\n m31 = v[1];\n m32 = v[2];\n m33 = v[3];\n break;\n default:\n throw new ArrayIndexOutOfBoundsException();\n }\n return (T) this;\n }", "title": "" }, { "docid": "06d19ab07af0ecfd9cebbc7bceb13815", "score": "0.5707208", "text": "public T setElement(int row, int column, float value) {\n final int i = (row * 4) + column;\n switch (i) {\n case 0:\n m00 = value;\n break;\n case 1:\n m01 = value;\n break;\n case 2:\n m02 = value;\n break;\n case 3:\n m03 = value;\n break;\n case 4:\n m10 = value;\n break;\n case 5:\n m11 = value;\n break;\n case 6:\n m12 = value;\n break;\n case 7:\n m13 = value;\n break;\n case 8:\n m20 = value;\n break;\n case 9:\n m21 = value;\n break;\n case 10:\n m22 = value;\n break;\n case 11:\n m23 = value;\n break;\n case 12:\n m30 = value;\n break;\n case 13:\n m31 = value;\n break;\n case 14:\n m32 = value;\n break;\n case 15:\n m33 = value;\n break;\n default:\n throw new ArrayIndexOutOfBoundsException();\n }\n return (T) this;\n }", "title": "" }, { "docid": "1928475b009fefcb09df145bc3b39da2", "score": "0.56885034", "text": "public void setRow(int x){\n\t\trow = x;\n\t}", "title": "" }, { "docid": "a10cdd823e602511eb890937a884fa65", "score": "0.5684233", "text": "public void setRow(int i, int[] row) {\n\t\tif(getRowSize() != row.length || i >= getColSize()) {\n\t\t\tSystem.out.println(\"Checkagain!\");\n\t\t}\n\t\telse {\n\t\tfor(int j = 0; j < row.length; j++)\n\t\telements[i][j] = row[j];\n\t}\n\t}", "title": "" }, { "docid": "e1ef0fa58181a9f9d8105d34a01fbd16", "score": "0.56839895", "text": "public void setRow(int rowIndex, double[] vals) {\n\t\tfor (int col = 0; col < data[0].length; col++) {\n\t\t\tdata[rowIndex][col] = vals[col];\n\t\t\n\t\t\n\t}\n\t}", "title": "" }, { "docid": "850637cd024966a8e05bd52fa52f87aa", "score": "0.5652071", "text": "public final void setElement(int row, int column, double value) {\n/* 468 */ switch (row) {\n/* */ \n/* */ case 0:\n/* 471 */ switch (column) {\n/* */ \n/* */ case 0:\n/* 474 */ this.m00 = value;\n/* */ return;\n/* */ case 1:\n/* 477 */ this.m01 = value;\n/* */ return;\n/* */ case 2:\n/* 480 */ this.m02 = value;\n/* */ return;\n/* */ case 3:\n/* 483 */ this.m03 = value;\n/* */ return;\n/* */ } \n/* 486 */ throw new ArrayIndexOutOfBoundsException(VecMathI18N.getString(\"Matrix4d0\"));\n/* */ \n/* */ \n/* */ \n/* */ case 1:\n/* 491 */ switch (column) {\n/* */ \n/* */ case 0:\n/* 494 */ this.m10 = value;\n/* */ return;\n/* */ case 1:\n/* 497 */ this.m11 = value;\n/* */ return;\n/* */ case 2:\n/* 500 */ this.m12 = value;\n/* */ return;\n/* */ case 3:\n/* 503 */ this.m13 = value;\n/* */ return;\n/* */ } \n/* 506 */ throw new ArrayIndexOutOfBoundsException(VecMathI18N.getString(\"Matrix4d0\"));\n/* */ \n/* */ \n/* */ \n/* */ case 2:\n/* 511 */ switch (column) {\n/* */ \n/* */ case 0:\n/* 514 */ this.m20 = value;\n/* */ return;\n/* */ case 1:\n/* 517 */ this.m21 = value;\n/* */ return;\n/* */ case 2:\n/* 520 */ this.m22 = value;\n/* */ return;\n/* */ case 3:\n/* 523 */ this.m23 = value;\n/* */ return;\n/* */ } \n/* 526 */ throw new ArrayIndexOutOfBoundsException(VecMathI18N.getString(\"Matrix4d0\"));\n/* */ \n/* */ \n/* */ \n/* */ case 3:\n/* 531 */ switch (column) {\n/* */ \n/* */ case 0:\n/* 534 */ this.m30 = value;\n/* */ return;\n/* */ case 1:\n/* 537 */ this.m31 = value;\n/* */ return;\n/* */ case 2:\n/* 540 */ this.m32 = value;\n/* */ return;\n/* */ case 3:\n/* 543 */ this.m33 = value;\n/* */ return;\n/* */ } \n/* 546 */ throw new ArrayIndexOutOfBoundsException(VecMathI18N.getString(\"Matrix4d0\"));\n/* */ } \n/* */ \n/* */ \n/* */ \n/* 551 */ throw new ArrayIndexOutOfBoundsException(VecMathI18N.getString(\"Matrix4d0\"));\n/* */ }", "title": "" }, { "docid": "e9cdf85014f98201746dc223c7e01ed7", "score": "0.5647241", "text": "public T setRow(int row, Tuple4f v) {\n switch (row) {\n case 0:\n m00 = v.x;\n m01 = v.y;\n m02 = v.z;\n m03 = v.w;\n break;\n case 1:\n m10 = v.x;\n m11 = v.y;\n m12 = v.z;\n m13 = v.w;\n break;\n case 2:\n m20 = v.x;\n m21 = v.y;\n m22 = v.z;\n m23 = v.w;\n break;\n case 3:\n m30 = v.x;\n m31 = v.y;\n m32 = v.z;\n m33 = v.w;\n break;\n default:\n throw new ArrayIndexOutOfBoundsException();\n }\n return (T) this;\n }", "title": "" }, { "docid": "a5ede4d12b478391e9e09969402dcd1a", "score": "0.56038845", "text": "public Matrix ( int rows, int cols, double value )\n //////////////////////////////////////////////////////////////////////\n {\n this ( rows, cols );\n\n for ( int row = 0; row < rows; row++ )\n for ( int col = 0; col < cols; col++ )\n {\n data [ row ] [ col ] = value;\n }\n }", "title": "" }, { "docid": "f73ce79a37e2a6c43374d05146cc6ec3", "score": "0.56030196", "text": "public void setRow(int row){\n this.row = row;\n }", "title": "" }, { "docid": "a41859028d69ecd2f0528b8a5230a156", "score": "0.5594921", "text": "private void setCacheRow(long k, double value) {\n\t\tif (Tools.DEBUG) {\n\t\t\t// Bound checking\n\t\t\tif (k > boundingRow.length()) {\n\t\t\t\tTools.shouldNotHappen(\"The index k=\" + k + \" is out of bound, should be =< \" + boundingRow.length());\n\t\t\t}\n\t\t}\n\t\t// Index correction 1->0\n\t\tboundingRow.set(k - 1, value);\n\t}", "title": "" }, { "docid": "faf875687d7ba954799c5d19c8b1e848", "score": "0.55682135", "text": "public final void setRow(int row, Vector4d v) {\n/* 1145 */ switch (row) {\n/* */ case 0:\n/* 1147 */ this.m00 = v.x;\n/* 1148 */ this.m01 = v.y;\n/* 1149 */ this.m02 = v.z;\n/* 1150 */ this.m03 = v.w;\n/* */ return;\n/* */ \n/* */ case 1:\n/* 1154 */ this.m10 = v.x;\n/* 1155 */ this.m11 = v.y;\n/* 1156 */ this.m12 = v.z;\n/* 1157 */ this.m13 = v.w;\n/* */ return;\n/* */ \n/* */ case 2:\n/* 1161 */ this.m20 = v.x;\n/* 1162 */ this.m21 = v.y;\n/* 1163 */ this.m22 = v.z;\n/* 1164 */ this.m23 = v.w;\n/* */ return;\n/* */ \n/* */ case 3:\n/* 1168 */ this.m30 = v.x;\n/* 1169 */ this.m31 = v.y;\n/* 1170 */ this.m32 = v.z;\n/* 1171 */ this.m33 = v.w;\n/* */ return;\n/* */ } \n/* */ \n/* 1175 */ throw new ArrayIndexOutOfBoundsException(VecMathI18N.getString(\"Matrix4d4\"));\n/* */ }", "title": "" }, { "docid": "a6c97361cb69bfdfa2540fcbc7fecef2", "score": "0.55676085", "text": "protected abstract void initValues();", "title": "" }, { "docid": "3f68c07ff86208a43fddf8c567c6f6de", "score": "0.5566887", "text": "public void setValue(int value, int row, int column) {\n matrix[row][column] = value;\n }", "title": "" }, { "docid": "35cd7a9d6ff9444f8a3a915ce451cdf0", "score": "0.5558228", "text": "private void initializeArray(int[][] array) {\n\t\tfor (int i = 0; i < rows; i++) {\n\t\t\tfor (int j = 0; j < columns; j++) {\n\t\t\t\t// Set the current cell's value to 0\n\t\t\t\tarray[i][j] = 0;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "300cc3f5ffee023977519bdd392c8515", "score": "0.55492496", "text": "private void initializeMatrix(List<List<Integer>> matrix)\n {\n for (int row = 0; row < matrixSize; row++)\n {\n matrix.add(new ArrayList<>(matrixSize));\n for (int column = 0; column < matrixSize; column++)\n {\n matrix.get(row).add(1000000);\n if(row == column)\n {\n matrix.get(row).set(column,0);\n }\n }\n }\n }", "title": "" }, { "docid": "13a4fa264c3b825ad81e7c39a945585f", "score": "0.5549078", "text": "private void setDefaultTileValues(int lineNb, int columnNb) {\n this.tileValues = new int[lineNb * columnNb];\n for(int value : tileValues) {\n value = -1;\n }\n }", "title": "" }, { "docid": "7f7e215f21be2237c1186b145f3f94ce", "score": "0.55390394", "text": "@Override\n public void setValue(KeyValueRow value) {\n if (Objects.isNull(previousRole)) {\n previousRole = value.getKey();\n previousCardinality = value.getValue();\n }\n row.setModel(value);\n }", "title": "" }, { "docid": "2d0837ab2e86d11ebeb8d5ec17b846c5", "score": "0.552583", "text": "public ComplexMatrix(final int numrows, final Field.Complex initValue){\n\tthis(numrows,numrows,initValue);\n }", "title": "" }, { "docid": "e04e8f82871448235626a98f6bc5cc8f", "score": "0.5512176", "text": "public final void getRow(int row, double[] v) {\n/* 672 */ if (row == 0) {\n/* 673 */ v[0] = this.m00;\n/* 674 */ v[1] = this.m01;\n/* 675 */ v[2] = this.m02;\n/* 676 */ v[3] = this.m03;\n/* 677 */ } else if (row == 1) {\n/* 678 */ v[0] = this.m10;\n/* 679 */ v[1] = this.m11;\n/* 680 */ v[2] = this.m12;\n/* 681 */ v[3] = this.m13;\n/* 682 */ } else if (row == 2) {\n/* 683 */ v[0] = this.m20;\n/* 684 */ v[1] = this.m21;\n/* 685 */ v[2] = this.m22;\n/* 686 */ v[3] = this.m23;\n/* 687 */ } else if (row == 3) {\n/* 688 */ v[0] = this.m30;\n/* 689 */ v[1] = this.m31;\n/* 690 */ v[2] = this.m32;\n/* 691 */ v[3] = this.m33;\n/* */ } else {\n/* */ \n/* 694 */ throw new ArrayIndexOutOfBoundsException(VecMathI18N.getString(\"Matrix4d2\"));\n/* */ } \n/* */ }", "title": "" }, { "docid": "fff628f92bdb13d8db6aa46f3b5e5140", "score": "0.55106497", "text": "private void addBlockFromRow(int row_id, int col_id, double value){\n if(value==0) return;\n FeatureVector row = getRow(row_id);\n if(row==null){\n row = new FeatureVector();\n this._row.put(row_id,row);\n }\n row.add(col_id,row.get(col_id)+value);\n row_change(row_id);\n }", "title": "" }, { "docid": "edaa89f99fdd21167c134fe63ac61581", "score": "0.5509136", "text": "private void fillMatrix()\n throws LingManagerException\n {\n for(int x = 0; x < m_matrix.length; x++)\n {\n for(int y = 0; y < m_matrix[x].length; y++)\n {\n m_dpFunction.setCellScore(x, y, this);\n }\n }\n }", "title": "" }, { "docid": "920255260805bde43dc8313eb76e1e95", "score": "0.55090004", "text": "public void setRow(int row)\n\t{\n\t\tthis.myRow = row;\n\t}", "title": "" }, { "docid": "d32ecd2c8495ed9f29de64c8b78d832d", "score": "0.5507608", "text": "public void setRow(int row) {\r\n this.row = row;\r\n }", "title": "" }, { "docid": "5e1d51112c4790ac2ff5a1115d6c2090", "score": "0.5504957", "text": "@Override\n public void setValue(int row, int col, Object value) {\n // FILL IN CODE\n }", "title": "" }, { "docid": "9f22be83249d2016ad52404f1b099ac2", "score": "0.5504375", "text": "private int[] initNewRow(String row) {\n\t\tString[] sp = row.split(\",\");\n\t\tint[] newrow = new int[sp.length];\n\t\tfor (int i = 0; i < newrow.length; i++) {\n\t\t\tnewrow[i] = Integer.parseInt(sp[i]);\n\t\t\tassIncr();\n\t\t}\n\t\treturn newrow;\n\t}", "title": "" }, { "docid": "aabe37aad9344382e9046ae479976033", "score": "0.5491541", "text": "public StandardAlgo()\r\n {\r\n mat = new int[Row_Column][Row_Column];\r\n }", "title": "" }, { "docid": "e30a8deca0677d073a410981b16664ae", "score": "0.5481964", "text": "public void setRow(int r){\n\t\trow = r;\n\t}", "title": "" }, { "docid": "7191864e4fed277df3c062a6d5ce7dcb", "score": "0.5475443", "text": "public final void setRow(int row, double x, double y, double z, double w) {\n/* 1103 */ switch (row) {\n/* */ case 0:\n/* 1105 */ this.m00 = x;\n/* 1106 */ this.m01 = y;\n/* 1107 */ this.m02 = z;\n/* 1108 */ this.m03 = w;\n/* */ return;\n/* */ \n/* */ case 1:\n/* 1112 */ this.m10 = x;\n/* 1113 */ this.m11 = y;\n/* 1114 */ this.m12 = z;\n/* 1115 */ this.m13 = w;\n/* */ return;\n/* */ \n/* */ case 2:\n/* 1119 */ this.m20 = x;\n/* 1120 */ this.m21 = y;\n/* 1121 */ this.m22 = z;\n/* 1122 */ this.m23 = w;\n/* */ return;\n/* */ \n/* */ case 3:\n/* 1126 */ this.m30 = x;\n/* 1127 */ this.m31 = y;\n/* 1128 */ this.m32 = z;\n/* 1129 */ this.m33 = w;\n/* */ return;\n/* */ } \n/* */ \n/* 1133 */ throw new ArrayIndexOutOfBoundsException(VecMathI18N.getString(\"Matrix4d4\"));\n/* */ }", "title": "" }, { "docid": "52ae0108bc22e00d68817bfd8919a8e5", "score": "0.5474935", "text": "public void setRow(int row) {\n this.row = row;\n }", "title": "" }, { "docid": "7d9838842b70eff3c2220a52a5ea5dac", "score": "0.54699415", "text": "private CellValues() {}", "title": "" }, { "docid": "114667da17b4dd306cfdf13b423e9e1d", "score": "0.5460447", "text": "public Mat3 setRow(Vec3 v, int row)\n {\n switch (row)\n {\n case 0: a = v.x;\n b = v.y;\n c = v.z; return this;\n case 1: d = v.x;\n e = v.y;\n f = v.z; return this;\n case 2: g = v.x;\n h = v.y;\n i = v.z; return this;\n default: throw new ArrayIndexOutOfBoundsException();\n }\n }", "title": "" }, { "docid": "9a6a6214654216c888d083c1ce24f710", "score": "0.54503095", "text": "@Override \r\n public void startRow(int rowNum) {\n outputMissingRows(rowNum - currentRow - 1); \r\n // Prepare for this row \r\n firstCellOfRow = true; \r\n currentRow = rowNum; \r\n currentCol = -1; \r\n }", "title": "" }, { "docid": "dd72b0c8eb1e567d60650e1445f9df1c", "score": "0.54414135", "text": "public void setRow(int row) {\r\n\t\tthis.row = row;\r\n\t}", "title": "" }, { "docid": "d2a07206ae1faf6bbdafed958f29e8aa", "score": "0.54269195", "text": "private void setColVals() {\n\t\t\tmColumnEndPoints = new float[] {300.0f, 300.0f, 300.0f, 1000.0f, 600.0f, 300.0f, 600.0f, 1000.0f, 900.0f, 300.0f, 900.0f, 1000.0f};\n\t\t}", "title": "" }, { "docid": "1e5a9ac556a41fc50f130dd05b48c717", "score": "0.54207975", "text": "static int[][] initArray(int rows, int columns) {\n\r\n int[][] matrix = new int[rows][columns];\r\n int k = 0;\r\n\r\n for(int i = 0; i < rows; i++){\r\n for(int j = 0; j < columns; j++){\r\n matrix[i][j] = k++;\r\n }\r\n }\r\n return matrix; // change to the real return value!\r\n }", "title": "" }, { "docid": "16b387d9a0602abea910d800b3a3cd39", "score": "0.5416698", "text": "public void setRows( ValueExpression __rows ){\r\n\t\t\tthis._rows = __rows;\r\n\t }", "title": "" }, { "docid": "8c44c4b1f4e50ba662814133e23b8b73", "score": "0.54089534", "text": "protected void initialize_x_values() {\n\t\tx_values = new int[tuple_count()];\n\t\tif (! (x_values != null && x_values.length == tuple_count())) {\n\t\t\tthrow new Error(\"Postcondition violated:\\n\" +\n\t\t\t\t\"x_values != null && x_values.length == tuple_count()\");\n\t\t}\n\t}", "title": "" }, { "docid": "78258d3c500eeeedbe185b6d5e7e6e3d", "score": "0.5405321", "text": "public T setRow(int row, float x, float y, float z, float w) {\n switch (row) {\n case 0:\n m00 = x;\n m01 = y;\n m02 = z;\n m03 = w;\n break;\n case 1:\n m10 = x;\n m11 = y;\n m12 = z;\n m13 = w;\n break;\n case 2:\n m20 = x;\n m21 = y;\n m22 = z;\n m23 = w;\n break;\n case 3:\n m30 = x;\n m31 = y;\n m32 = z;\n m33 = w;\n break;\n default:\n throw new ArrayIndexOutOfBoundsException();\n }\n return (T) this;\n }", "title": "" }, { "docid": "636238e9db8fa5fe56941bb66c63a952", "score": "0.5391808", "text": "Matrix assignRow(int row, Vector other);", "title": "" }, { "docid": "c4e4a931d46e6ec84e4dd314cc6da166", "score": "0.5372673", "text": "@Override\n public void reinitValue(DataReader in, EntryValueInt value) throws IOException\n {\n value.reinit(in.readInt(), /* array position */\n in.readInt(), /* data value */\n in.readLong() /* SCN value */);\n }", "title": "" }, { "docid": "e4c9005962a3191660da9ff5c188f882", "score": "0.53638804", "text": "void initialize(){\r\n states=new int[rowSize][colSize];\r\n cells=new HashMap<>();\r\n for(int i=0;i<rowSize;i++){\r\n for(int j=0;j<colSize;j++){\r\n states[i][j]=(int)Math.round(Math.random());\r\n }\r\n }\r\n }", "title": "" }, { "docid": "183b785d566c65c80d4d9145a5ff398c", "score": "0.5356076", "text": "@Override\r\n public Object getValueAt(int numLin, int numCol){\r\n return matrizTable[numLin][numCol];\r\n }", "title": "" }, { "docid": "086e95de03f3181dd46b79ef7c1ec842", "score": "0.5334558", "text": "void setQuick(int row, int column, double value);", "title": "" }, { "docid": "9b34d4542a8d4e1d0e8615032d24e855", "score": "0.5334137", "text": "public void setValue(int row, int column, double value) {\n values[row][column] = value;\n }", "title": "" }, { "docid": "66796a6372e5258a4d6af6eda8f51a6a", "score": "0.5332485", "text": "public void setValueAt(Object value, int row, int col) {\r\n\r\n double t = (double) Math.round(Double.parseDouble(String.valueOf(value)) * 100000d) / 100000d; //round input value to 5 decimel places\r\n data[row][col] = t; //set value in edited cell\r\n\r\n double tData = 0;\r\n\r\n //loop to calculate new total\r\n for (int i = 0; i < r; i++) {\r\n tData += Double.parseDouble(String.valueOf(data[row][i + 1]));\r\n }\r\n double total = (double) Math.round(tData * 100000d) / 100000d; //round total value to 5 decimel places\r\n data[row][r + 1] = total; //set value in total cell\r\n\r\n fireTableRowsUpdated(row, row); //update row\r\n }", "title": "" }, { "docid": "cf3dd13b591bb5e04b70552607719b88", "score": "0.53195494", "text": "public void setFirstRow(int row){\n record.setFirstRow(row);\n }", "title": "" }, { "docid": "3f4fe3c631586c2abba03f5f454fe063", "score": "0.5313325", "text": "@Override\r\n\tpublic void startRow(int rowNum) {\n\t\tthis.row = new AligoVO();\r\n\t\tcurrColNum = 0;\r\n\t}", "title": "" }, { "docid": "9712d2ea89aae3af42a4f8f84bdb6e35", "score": "0.530469", "text": "@Override\r\n protected double initValue()\r\n {\r\n return computeValue();\r\n }", "title": "" }, { "docid": "9712d2ea89aae3af42a4f8f84bdb6e35", "score": "0.530469", "text": "@Override\r\n protected double initValue()\r\n {\r\n return computeValue();\r\n }", "title": "" }, { "docid": "bd649f29a6f3aca462c9de7342d35a14", "score": "0.53017056", "text": "private void init() {\n for (int rowIndex = 0; rowIndex < mineFieldData.getRows(); rowIndex++) {\n Row row = new Row();\n for (int colIndex = 0; colIndex < mineFieldData\n .getCols(); colIndex++) {\n Cell cell = new Cell();\n row.add(cell);\n cell.addCellClickListener(this::cellClick);\n }\n add(row);\n }\n }", "title": "" }, { "docid": "37223ff39b5d9a6b36e43ddf509c5384", "score": "0.52996755", "text": "public final void setAt(int row, int column, float value) {\n\t\tassert row >= 0 && row < 4 && column >= 0 && column < 4;\n\t\tvalues[row * 4 + column] = value;\n\t}", "title": "" }, { "docid": "02c990646f26005592d7a244e19684a2", "score": "0.529604", "text": "public void cellInitillize(){\r\n for(j=0; j<noOfRows; j++) {\r\n cells[j] = new Cell(j, columnNo, spreadsheet);\r\n }\r\n }", "title": "" }, { "docid": "d4fa8a92d89a4b683fc77cb4780a7ae2", "score": "0.5287935", "text": "public void setRow(int rowNumber, GeoCasCell casCell) {\n\t \n }", "title": "" }, { "docid": "a65c6d61d9e8d4092074a5fc092b956b", "score": "0.5280798", "text": "private void myInitializationStuff()\n {\n // Will allow everything to draw \n setWillNotDraw(false);\n for(int i = 0; i < rows.length; i++) {\n int y = 55 + 67*i;\n rows[i] = new Row(y);\n }\n }", "title": "" }, { "docid": "1e80f75e9aa6f322a6d565bd66dfa26d", "score": "0.52771735", "text": "@Override\n public double initValue()\n {\n\n return computeValue();\n\n }", "title": "" }, { "docid": "608af303c2e05f0a5d67fb016e5ed0d8", "score": "0.52764225", "text": "public static void fill(){\n\t\t\tfor(int a = 0; a < matrix.length; a++){\n\t\t\t\tfor(int b = 0; b < matrix[a].length; b++){\n\t\t\t\t\tmatrix[a][b] = Integer.toString(total);\n\t\t\t\t\ttotal++;\n\t\t\t\t\tif(b == 0){\n\t\t\t\t\t\tmatrix[a][b] = matrix[a][b] + \"F\";\n\t\t\t\t\t}\n\t\t\t\t\tif(b == 5){\n\t\t\t\t\t\tmatrix[a][b] = matrix[a][b] + \"B\";\n\t\t\t\t\t}\n\t\t\t\t\tcurrentSize[a] += 1;\n\t\t\t\t}\n\t\t\t}\n\t}", "title": "" }, { "docid": "706e912ae0318f0a783f8822098b90e5", "score": "0.52685404", "text": "public void giveValue(){\n\t\tfor(int i=0;i<this.rows;i++){\n\t\t\tfor(int j=0;j<this.columns;j++){\n\t\t\t\t\tif(!matrix[i][j].isBomb){\n\t\t\t\t\tmatrix[i][j].value=this.bombsAround(matrix[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "d5fa00f744b0f40433e7b20790553840", "score": "0.526451", "text": "private void setBlockFromCol(int row_id, int col_id, double value){\n if(value==0) return;\n FeatureVector col = getCol(col_id);\n if(col==null){\n col = new FeatureVector();\n this._col.put(col_id,col);\n }\n col.add(row_id,value);\n col_change(col_id);\n }", "title": "" }, { "docid": "0d6b27a7258fc9c59648399a65ea3879", "score": "0.52615607", "text": "public void set(int row_id, int col_id, double value){\n if(value==0) return;\n setBlockFromRow(row_id, col_id, value);\n }", "title": "" }, { "docid": "61fc9abf611af5e56c76138f9e9825bb", "score": "0.5260141", "text": "public void setValueAt(Object value, int row, int col)\r\n/* 70: */ {\r\n/* 71: 78 */ if (this.data.size() == row) {\r\n/* 72: 79 */ row--;\r\n/* 73: */ }\r\n/* 74: 81 */ if (col == 2)\r\n/* 75: */ {\r\n/* 76: 82 */ String id = String.valueOf(getValueAt(row, 0));\r\n/* 77: 83 */ BigDecimal valorModificacion = (BigDecimal)value;\r\n/* 78: 85 */ if (valorModificacion.doubleValue() >= 0.0D)\r\n/* 79: */ {\r\n/* 80: 86 */ ((Object[])this.data.get(row))[col] = value;\r\n/* 81: */ try\r\n/* 82: */ {\r\n/* 83: 88 */ calculaImpuestosProducto(valorModificacion, id, true);\r\n/* 84: */ }\r\n/* 85: */ catch (Exception ex)\r\n/* 86: */ {\r\n/* 87: 90 */ Logger.getLogger(NotaDebitoTableModel.class.getName()).log(Level.SEVERE, null, ex);\r\n/* 88: */ }\r\n/* 89: */ }\r\n/* 90: */ else\r\n/* 91: */ {\r\n/* 92: 93 */ ((Object[])this.data.get(row))[col] = BigDecimal.ZERO;\r\n/* 93: */ }\r\n/* 94: */ }\r\n/* 95: */ else\r\n/* 96: */ {\r\n/* 97: 96 */ ((Object[])this.data.get(row))[col] = value;\r\n/* 98: */ }\r\n/* 99: 98 */ fireTableCellUpdated(row, col);\r\n/* 100: */ }", "title": "" }, { "docid": "a417a52036a94bdefd858e16eb0aa687", "score": "0.52492756", "text": "public NDMatrix(int rows, int cols, double value) {\n if (value == 0.0)\n A = Nd4j.zeros(rows, cols);\n else if (value == 1.0)\n A = Nd4j.ones(rows, cols);\n else\n A = Nd4j.zeros(rows, cols).addi(value);\n }", "title": "" }, { "docid": "0476ca8c82c37458510d016545cd7807", "score": "0.5244774", "text": "private void initialize() {\n for (int artificialVar = 0; artificialVar < numArtificialVariables; artificialVar++) {\n int row = getBasicRow(getArtificialVariableOffset() + artificialVar);\n subtractRow(0, row, 1.0);\n }\n }", "title": "" }, { "docid": "9e5b3df015c01da644dbf4d698e760ff", "score": "0.524329", "text": "public void initialize(){\n for(int row = 0; row < NUMROWS; row++){\n for(int col = 0; col < NUMCOLS; col++){\n this.board[row][col] = EMPTY;\n }\n }\n }", "title": "" }, { "docid": "2b1b0aa0e9b18d36293781c3b1b8c480", "score": "0.523721", "text": "public IntegerMatrix(int numrows, int numcols, int initValue) {\n this(numrows, numcols);\n assign(initValue);\n }", "title": "" }, { "docid": "3bb2fd3b8818f4510f218d4a3b943ce6", "score": "0.5236342", "text": "public Cell(int val){\n setValue(val); \n }", "title": "" }, { "docid": "2c6255508903640afedb9a75a0fd91f2", "score": "0.52333283", "text": "public Matrix()\n {\n this.rows = 0;\n this.columns = 0;\n this.matrix = new double[this.rows][this.columns];\n }", "title": "" }, { "docid": "bf74196f50f57c5425d68a635ef75738", "score": "0.5231477", "text": "private void incrRows() {\n if (rows == 0) {\n this.firstRowTime = computeRelativeTime();\n }\n rows++;\n }", "title": "" }, { "docid": "7ad68a48107c4096f916b41b488f20d4", "score": "0.52077425", "text": "public void fillMatrix (){\n \t\n int e, d, row, upperLeft, immediateLeft, lowerLeft;\n boolean isBottomRow=false;\n\t\tupperLeft=immediateLeft=lowerLeft=-1;\n \n for (e=0; e<=k; e++){ //iterate over each column\n\n \tfor (d= (e*-1)+1; d <= n-m; d++){ //iterate over select rows\n \t\t \t\n \t\t System.out.println(\"\\nlogical d: \" + d + \" physical d: \" + transform(d,k) + \" e: \" + e);\n \t\t\t\n \t\t //all elements in the first physical column have their left values initialized to -1,\n \t\t //as specified in the first initialization step of the Landau-Vishkin paper\n \t\t \tif (e==0){ \n \t\t\t\tupperLeft=immediateLeft=lowerLeft=-1;\n \t\t\t\tSystem.out.println(\"Immediate left (initialized): \" + immediateLeft);\n \t\t\t\tSystem.out.println(\"Lower left (initialized): \" + lowerLeft);\n \t\t\t\tSystem.out.println(\"Upper left (initialized): \" + upperLeft);\n \t\t\t\t\n \t\t\t}\n \t\t\t\n \t\t \t//all elements not in the first physical column must actually look for their left values\n \t\t\telse{ \n\n \t\t\t\timmediateLeft=matrix[transform(d, k)][e-1];\n \t\t\t\tSystem.out.println(\"Immediate left: \" + matrix[transform(d, k)][e-1]);\n \t\t\t\t\n \t\t\t\t\tupperLeft=matrix[transform(d-1, k)][e-1];\n \t\t\t\tSystem.out.println(\"Upper left: \" + matrix[transform(d-1, k)][e-1]);\n \t\t\t\t\n \t\t\t\t\n \t\t\t\tif(transform(d, k)<transform(n-m, k)){//if the element is NOT in the bottom row\n\n \t\t\t\t\tlowerLeft=matrix[transform(d+1, k)][e-1]; //its lower left value can be read\n \t\t\t\tSystem.out.println(\"Lower left: \" + matrix[transform(d+1, k)][e-1]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\t//if the element is in the bottom row, its lower left element obviously cannot be read \t\t\t\t\n \t\t\t\telse{\n \t\t\t\t\t\n \t\t\t\t\tSystem.out.print (\"Cannot read from spot to bottom left at: \" + transform(d+1, k) + \" \");\n \t\t\t\t\tSystem.out.println (e-1);\n \t\t\t\t\tisBottomRow=true;\n \t\t\t\t}\n \t\t\t\t\n \t\t\t}//end else\n \t\t\t\n \t\t\t\n \t\t \t//if the element is on the bottom row, then row is computed as the max of only two left values\n \t\t\tif (isBottomRow=true){\n \t\t\t\trow = Math.max(upperLeft+1, immediateLeft+1);\n \t\t\t\tSystem.out.println(\"max: \" + row);\n \t\t\t\tisBottomRow=false;\n \t\t\t}\n \t\t\t\n \t\t\t//otherwise, row is computed by looking at three left values\n \t\t\telse{\n \t\t\t\t row = Math.max(Math.max(immediateLeft+1,lowerLeft),upperLeft+1);\n \t\t\t\t System.out.println(\"max: \" + row);\n \t\t\t}\n \t\t\t\n \t\t\trow = Math.min(row, m);\n \t\t\t\n \t\t\tSystem.out.println(\"m: \" + m);\n \t\t\tSystem.out.println(\"row: \"+row);\n \t\t\t\n \t\t\tint lcp= suffixArray.calculateLCP (str, row+d, row+n+1, n, m);\n \t\t\t\t\t//row+n+1 is the index in str that corresponds to the index of row in pattern \n \t\t\tSystem.out.println(\"lcp: \" + lcp);\n \t\t\t\n \t\t\tmatrix[transform(d, k)][e]= row + lcp;\n \t\t\tSystem.out.println(\"matrix element: \" + matrix[transform(d, k)][e]);\n \t\t\t\n \t}//end for\n }//end for\n }", "title": "" }, { "docid": "296d58a0af84311a6e089e395f09269c", "score": "0.52069396", "text": "private void initMatrix()\n throws LingManagerException\n {\n for(int x = 0; x < m_matrix.length; x++)\n {\n for(int y = 0; y < m_matrix[x].length; y++)\n {\n m_matrix[x][y] = new DpMatrixCell(x, y);\n }\n }\n\n// // initialize cells (0,y) and (x,0)\n// for(int x = 1; x < m_matrix.length; x++)\n// {\n// m_matrix[x][0].setScoreAndLink(0, m_matrix[x - 1][0]);\n// }\n \n// for(int y = 1; y < m_matrix[0].length; y++)\n// {\n// m_matrix[0][y].setScoreAndLink(0, m_matrix[0][y - 1]);\n// }\n }", "title": "" }, { "docid": "cd8eacefd661b2e6b3ae1c9f697826ee", "score": "0.52053046", "text": "public void SetValue(int i, int j, int value) {\r\n\t\tmatrix[i][j] = value;\r\n\t}", "title": "" }, { "docid": "5296c57de88e8f0b6b83dc29bc131575", "score": "0.52025515", "text": "public void setrow(LinkedListCircular<Ponto> row){\n\t\tthis.row= row;\n\t}", "title": "" }, { "docid": "41775253076664cd46d6c65ab3565e66", "score": "0.52014226", "text": "private void init(int rows, int cols) {\n this.originLocation = new GridLocation(rows / 2, cols / 2);\n topLeftX = -1.0f * originLocation.row * gridSizeMetres;\n topLeftY = -1.0f * originLocation.col * gridSizeMetres;\n this.numRows = rows;\n this.numCols = cols;\n // Initialize the map colors.\n initColors();\n // Set up the matrix values.\n explored = new Matrix<Boolean>(rows, cols);\n explored.fill(false);\n this.propertyMaps = new HashMap<Property, Matrix<Float>>();\n for (Property prop : accessibleProperties) {\n if (prop == Property.NONE) continue;\n Matrix<Float> map = new Matrix<Float>(rows, cols);\n // Fill with 1.0 for no known property, 0.0 otherwise.\n map.fill(0.0f);\n propertyMaps.put(prop, map);\n }\n }", "title": "" }, { "docid": "438a3933cd4ebaa64ed0034e103baee7", "score": "0.51978385", "text": "public Mat3 setEntry(int row, int column, float v)\n {\n switch (row)\n {\n case 0: switch (column)\n {\n case 0: a = v; return this;\n case 1: b = v; return this;\n case 2: c = v; return this;\n default: throw new ArrayIndexOutOfBoundsException();\n }\n case 1: switch (column)\n {\n case 0: d = v; return this;\n case 1: e = v; return this;\n case 2: f = v; return this;\n default: throw new ArrayIndexOutOfBoundsException();\n }\n case 2: switch (column)\n {\n case 0: g = v; return this;\n case 1: h = v; return this;\n case 2: i = v; return this;\n default: throw new ArrayIndexOutOfBoundsException();\n }\n default: throw new ArrayIndexOutOfBoundsException();\n }\n }", "title": "" }, { "docid": "c4aa89776197776bed759c14e59188ea", "score": "0.51864594", "text": "public void setRowArray(net.opengis.gml.x32.AbstractGriddedSurfaceType.Rows.Row[] rowArray)\n {\n check_orphaned();\n arraySetterHelper(rowArray, ROW$0);\n }", "title": "" }, { "docid": "c73d0f8c3fc09eb39710d8575ee3ea30", "score": "0.5179738", "text": "protected abstract void set( DMatrix matrix, int row, int col, double value );", "title": "" }, { "docid": "34c8ec7bdd3a4cc7adeba3e2bb6b5e72", "score": "0.51783705", "text": "public double[] getRow(int row) {\r\n\treturn (double []) fieldValues.get(row);\r\n}", "title": "" }, { "docid": "65e942e23ab7fb0c9b5d5b2d4dbb618f", "score": "0.51591706", "text": "public void gegnerInitialisieren()\n\t{\n\t\tfor(int i=0; i<x; i++)\n\t\t{\n\t\t\tfor(int j=0; j<x; j++)\n\t\t\t{\n\t\t\t\tfeld[i][j] = 4;\t\t\t\t\t\t\t\t\t\t//Feld mit Unbekannt initialisieren\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f737f7fde118531e6ca13e3b58d2ebe9", "score": "0.5149221", "text": "private void populateData() {\n\n for (int i = 0; i < this.data[0].length; i++) {\n final float x = (float) i + 100000;\n this.data[0][i] = x;\n this.data[1][i] = 100000 + (float) Math.random() * COUNT;\n }\n\n }", "title": "" }, { "docid": "c97bfb1758d088c1a20f924eec49c913", "score": "0.51411575", "text": "public void testRowValueChangeHandlerWithoutRowCount() {\n MutableTableModel<Object> tableModel = getTableModel(false);\n\n // Add some listeners\n TestRowValueChangeHandler<Object> handler = new TestRowValueChangeHandler<Object>();\n tableModel.addRowValueChangeHandler(handler);\n\n // Set the row value\n {\n Object newValue = \"newValue\";\n tableModel.setRowValue(0, newValue);\n handler.assertRowIndex(0);\n handler.assertRowValue(newValue);\n assertEquals(TableModel.UNKNOWN_ROW_COUNT, tableModel.getRowCount());\n }\n\n // Set the row value passed the last index\n {\n Object newValue = \"newValue2\";\n tableModel.setRowValue(100, newValue);\n handler.assertRowIndex(100);\n handler.assertRowValue(newValue);\n assertEquals(TableModel.UNKNOWN_ROW_COUNT, tableModel.getRowCount());\n }\n }", "title": "" }, { "docid": "640e27793f78b9db282651a3e8369d41", "score": "0.5140852", "text": "@Override\n public final void setElement(final int row, final int column, final double value) {\n switch (row) {\n case 0: {\n switch (column) {\n case 0: m00 = value; return;\n case 1: m01 = value; return;\n }\n break;\n }\n case 1: {\n switch (column) {\n case 0: m10 = value; return;\n case 1: m11 = value; return;\n }\n break;\n }\n }\n throw new IndexOutOfBoundsException();\n }", "title": "" }, { "docid": "07be165bc4e28a575cc7c95cb75b55e7", "score": "0.5124969", "text": "public void setBlock(int row, int col, int value){\n blocks[3*(row - 1) + (col - 1)] = value;\n }", "title": "" }, { "docid": "e4f7c97b504e922a3ce3d949dd9d23ac", "score": "0.5119857", "text": "public void setRow( int aRowNum, final int [] V ) {\n checkRowIndex(aRowNum);\n if (V.length != numCols)\n throw new IllegalArgumentException(\"size of vector does not match with number of colums\");\n System.arraycopy(V, 0, re[aRowNum], 0, numCols);\n }", "title": "" }, { "docid": "318d5809c7292e7b335cb348a1d258bf", "score": "0.5119613", "text": "public static void setZeroes(int[][] matrix) {\n int rowLength = matrix.length -1;\n int colLength = matrix[0].length -1;\n\n boolean isFirstRowZero = false;\n\n /**\n * use first row and col as marker to fill 0 in all corrosponding row and col\n * position matrix[0][0] is shared so define a variable to track row\n * and use position matrix[0][0] to track col\n * */\n for (int row = 0; row <= rowLength; row++) {\n for (int col = 0; col <= colLength; col++) {\n if(matrix[row][col] == 0){\n matrix[0][col] = 0;\n\n if(row == 0){\n isFirstRowZero = true;\n }else {\n matrix[row][0] =0;\n }\n }\n }\n }\n\n //fill all row and col except first row and first col\n for (int row = 1; row <= rowLength; row++) {\n for (int col = 1; col <= colLength; col++) {\n if(matrix[0][col] == 0 || matrix[row][0] == 0){\n matrix[row][col] =0;\n }\n }\n }\n\n //fill first column\n if(matrix[0][0] == 0){\n for (int row = 0; row <= rowLength; row++) {\n matrix[row][0] = 0;\n\n }\n }\n\n //fill first row\n if(isFirstRowZero){\n for (int col = 0; col <= colLength; col++) {\n matrix[0][col] =0;\n }\n }\n }", "title": "" }, { "docid": "aef053fe5ce331020b31c4e97ccaf6db", "score": "0.5118437", "text": "void set(int row, int col, Number value) throws IllegalArgumentException;", "title": "" }, { "docid": "85aa826a66880e14c4ee0a3ad15d192f", "score": "0.510807", "text": "public void setGridCellVal(){\n for(int y=0;y<getGridCellArray().length;y++){\n for(int x=0;x<getGridCellArray()[0].length;x++){\n if(getGridCellArray()[y][x] == 7 || getGridCellArray()[y][x] == 8){\n ccModel.setGcModelObj(y, x, 1, getGridCellArray()[y][x]);\n }\n else\n ccModel.setGcModelObj(y, x, getGridCellArray()[y][x],-1);\n }\n }\n }", "title": "" }, { "docid": "bcfd31d2b1c0bc5ef07d92d2d4893e1e", "score": "0.51040643", "text": "void set(int row, int column, double value);", "title": "" }, { "docid": "9e9d3b7207384b5cc624e8d114347158", "score": "0.5103852", "text": "public void resetValues()\n {\n\t\n\tfor(int j =0;j<txtFields.size();++j){\n\t setValue(j,init_vals.elementAt(j));\n\t}\n }", "title": "" }, { "docid": "e4aa138e7376bacbe7b447b5c8823dd7", "score": "0.5100192", "text": "public Builder setRow(\n int index, io.dstore.engine.procedures.ImGetSimpleProductInfoPu.Response.Row value) {\n if (rowBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureRowIsMutable();\n row_.set(index, value);\n onChanged();\n } else {\n rowBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "0f5b744f7ab86ab166cf6e1b5fd09fe3", "score": "0.5100188", "text": "public void setRow( int aRowNum, final IntegerVector V ) {\n checkRowIndex(aRowNum);\n if (V.size() != numCols)\n throw new IllegalArgumentException(\"size of vector does not match with number of colums\");\n System.arraycopy(V.re, 0, re[aRowNum], 0, numCols);\n }", "title": "" }, { "docid": "646f0e812852fdbe6f83403e5250702f", "score": "0.5098072", "text": "public void setValueAt(Object value, int row, int column) {\n super.setValueAt(value, row, column);\n //calculate valuation\n calcValuation(row);\n fireTableCellUpdated(row, TBL_COLUMN_VALUE);\n }", "title": "" } ]
883c1fbcdd06dc72b973521a6316eed6
Created by user on 15.04.15.
[ { "docid": "9a50820e6f1d46c3ddbdf46f595a5ad0", "score": "0.0", "text": "public interface ChatConfig {\n int INCOMING_MESSAGE = 0;\n int OUTGOING_MESSAGE = 1;\n int SEND_STATUS_FAIL = 1;\n int STATUS_READ = 2;\n}", "title": "" } ]
[ { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.56723493", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "bde53ee3de9072b04cd122133e6162a1", "score": "0.5561644", "text": "public void soigner() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.54452115", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "04c0a4c3b41f5112e89f151d02135096", "score": "0.5407191", "text": "private static void auto() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.53511214", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.53511214", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.53511214", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.53511214", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.53511214", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.53511214", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "73505425d75fccf0aaca07c596941abd", "score": "0.5323373", "text": "static private void herd() {\n\t\t\n\t}", "title": "" }, { "docid": "a21047eaafcc2c1ada6326bfbe33e0ad", "score": "0.53087777", "text": "@Override\r\n public void alquilar() {\n }", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.52911735", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "f13a29996996a34a710d85285e104a7f", "score": "0.5288124", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "96950fcd6668067c4f88772215663192", "score": "0.52750975", "text": "private void init() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.5257908", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "34b43810a805e0d48661629f62b35f2b", "score": "0.5256576", "text": "@Override\r\n\tpublic void 위험물회피() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.5247592", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "f5fd4f1b89ecbb54b8b64a1b9e40552c", "score": "0.52265817", "text": "protected void mo7431b() {\n }", "title": "" }, { "docid": "b5dec8709a9a146ca6e5962661476057", "score": "0.5222622", "text": "private Semitones() {\n \n }", "title": "" }, { "docid": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.52221286", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5216997", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "28fcdb48fa0b9890f9666ae29ef02f55", "score": "0.5195817", "text": "private void init() {\n\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5191217", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5191217", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "86ed6713ba8e5a54203c31fb8f461898", "score": "0.5189166", "text": "protected boolean func_70814_o() { return true; }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5177668", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5177668", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5177668", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5177668", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5177668", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5177668", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "4ff7fd5d2a0aebc561e81557b528262a", "score": "0.5153777", "text": "@Override\n\tprotected void initialize() {\n\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.5138985", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "6ba5badabb09f55bd648ba4977358e14", "score": "0.51380646", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.51379627", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.51379627", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.51379627", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.51379627", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.51379627", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.51379627", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.51379627", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.51379627", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "40a41a107fa03a270a78b03d0bcf910d", "score": "0.5129141", "text": "private void ergebnisAuswerten() {\n\n\t}", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5124652", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "c5fa2315669c0925b60762f7cca5f0f6", "score": "0.51140136", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.5103113", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "6f28b858823f2e868517ee6030db6fc1", "score": "0.51011664", "text": "private Kontobewegung() {}", "title": "" }, { "docid": "1d4f71b71db1c79dfd50a9e0bfb7c928", "score": "0.5092161", "text": "@Test\n\t\tpublic void testBugOne() {\n\t\t}", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.50906265", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "90586632a4af36d51003a1554ebef902", "score": "0.5086608", "text": "public void mo24205Oz() {\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5067791", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5067791", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5067791", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c47723cc77bfdfbeac347959926f9a12", "score": "0.5051568", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.50440496", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "9cfaa3732a81a4bdf6bdf8bf01d9780f", "score": "0.5042935", "text": "@Override\n\tpublic void freshStart() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5041575", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5041575", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5041575", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5041575", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "c18c3127184f8abd7be145ddb9d4c3e6", "score": "0.50413567", "text": "@Override\r\n\tpublic void 온도내리기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "099c702d1600d91871f63d5522fae998", "score": "0.5034481", "text": "@Override\n public int creationState() {\n return 0;\n }", "title": "" }, { "docid": "65c4a5c5ce1d414b09a3707800659edc", "score": "0.50337094", "text": "@SuppressWarnings(\"unused\")\r\n\tprivate Praezision () {}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.50303805", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.50303805", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.50303805", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "547c78689e54ebf8a887c5f60840ef15", "score": "0.5029138", "text": "public static void initate() {\n\n\t}", "title": "" }, { "docid": "fdbf96893589fef5cdd1a8fe92e98938", "score": "0.5017645", "text": "@Override\n\tpublic void enfria() {\n\n\t}", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.5016368", "text": "private void init() {\n\t}", "title": "" }, { "docid": "3d37e97c095b7641401d1030517e15e2", "score": "0.50050056", "text": "@Override\n protected void PostInit() {}", "title": "" }, { "docid": "6827ba40809e6f9bad9a043036edaa04", "score": "0.50003755", "text": "@Override\r\n\tpublic void dormir() {\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.49908984", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.49908984", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.49908984", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.49908984", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "296d9735cfb810561e2eb82c473c8eee", "score": "0.49893627", "text": "private void init(){ \n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.49888575", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "f448e47f2da25727e964a3718545f012", "score": "0.49846897", "text": "public final void mo93547c() {\n }", "title": "" }, { "docid": "da4fa7e263bb2e6d703854259aaf6363", "score": "0.4979723", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "da4fa7e263bb2e6d703854259aaf6363", "score": "0.4979723", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "da4fa7e263bb2e6d703854259aaf6363", "score": "0.4979723", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "42539b6d8dad8cecaaed102679795b3a", "score": "0.49795577", "text": "@Override\n\tpublic void freshStart() {\n\t\t// TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "6cfde2be0b51f55a421cdc3e28609c66", "score": "0.4975613", "text": "@Override\n\tprotected void salario() {\n\t\t\n\t}", "title": "" }, { "docid": "83c17378086426b4324c4ea8c160e29d", "score": "0.49753222", "text": "@Override\r\n\tpublic void provjeri() {\n\r\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.4973327", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "b2a793cd2e6ec37a2fdb27c90d87a493", "score": "0.49656424", "text": "@Override\r\n\tprotected void initialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2b1e81a080804916a788413031e651f", "score": "0.49634618", "text": "public void mo39596a() {\n }", "title": "" }, { "docid": "c2b1e81a080804916a788413031e651f", "score": "0.49634618", "text": "public void mo39596a() {\n }", "title": "" }, { "docid": "8e056894cd061aea767d71a9c1b43d97", "score": "0.49594688", "text": "@Override\n\tpublic void init(){\n\t}", "title": "" }, { "docid": "1b6ae1f9acb8e538994b7d00bae50317", "score": "0.49536082", "text": "@Override\n\tprotected void skirmish() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.49526474", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9ee6be05232928533401d708d518b6ed", "score": "0.49444768", "text": "@Override\r\n\t\t\tpublic void enginetype() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "daba94f504f92bd4e5e53ebdc78836b1", "score": "0.49402776", "text": "private void init() {\n\t\n }", "title": "" }, { "docid": "a6647faeda8c1e22a468378493e0ae37", "score": "0.4934534", "text": "@Override\n\tprotected void horaAlmoco() {\n\t\t\n\t}", "title": "" }, { "docid": "191357e57206f89201d1ce4e81b40f4a", "score": "0.49288663", "text": "private GYRO() {}", "title": "" }, { "docid": "1868603f8fc90c98d4821053d40dbc64", "score": "0.49226207", "text": "@Override\n\tprotected void exInitAfter() {\n\n\t}", "title": "" }, { "docid": "81488a3212e9004be8808ba15e91f1a5", "score": "0.49203965", "text": "public final void mo93546b() {\n }", "title": "" }, { "docid": "be7fe029e888247c941f2029abdc3c13", "score": "0.49148753", "text": "@Override\r\n\tprotected void beforeRunning() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a672d2d2a4b7bb037f7f20d62ff1f55e", "score": "0.49119616", "text": "@Override\n\tpublic void ss() {\n\t\t\n\t}", "title": "" }, { "docid": "3fb97b46c147b19f8180197325c66d34", "score": "0.49110636", "text": "@Override\n public void quite() {\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a21fea6a9dbcf0b0069184cfa072acda", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tSystem.out.println(\"Introduc el numero\");\n\t\tint n = scanner.nextInt();\n\t\tSystem.out.println(calcularBinario(n));\n\t\tscanner.close();\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "title": "" }, { "docid": "63918b2e510c9040bbddcac00095b41a", "score": "0.6605982", "text": "private void recuperation() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "6a98c5d2724fce37914819c5694da3c3", "score": "0.6509783", "text": "@Override\r\n\tpublic void anular() {\n\r\n\t}", "title": "" }, { "docid": "dae8b602ea36995333bfb23acf8fc88d", "score": "0.6496443", "text": "@Override\n\tpublic void respire() {\n\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "f099266a753a2faacd6b8dfa57904378", "score": "0.64321727", "text": "@Override\r\n\tpublic void courrir() {\n\t}", "title": "" }, { "docid": "69ade76a69c0f6c07e66b5d0e5136eb3", "score": "0.6425563", "text": "@Override\r\n\tpublic void grabar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1068dc3e7725abba37b41c9a52dee06b", "score": "0.6386121", "text": "@Override\r\n\tpublic void tatmak() {\n\r\n\t}", "title": "" }, { "docid": "6141981a3ecff744fc5ac85a76ccce98", "score": "0.63590497", "text": "@Override\r\n\tpublic void avlan() {\n\t\t\r\n\t}", "title": "" }, { "docid": "98fb55d46118273a6e8a6d23841c620d", "score": "0.6327681", "text": "@Override\n\tpublic void eati() {\n\t\t\n\t}", "title": "" }, { "docid": "0792d032a803e20f3b87637fd91001d5", "score": "0.62811846", "text": "@Override\n\tpublic void getSugary() {\n\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.6276059", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b7cead8eab6faf887c06d3b10c67267c", "score": "0.620242", "text": "@Override\n\t\t\tprotected void readyRun() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "a8ee8a5581ce765ec4ab398c0459e014", "score": "0.61750215", "text": "@Override\r\n\tpublic void koklama() {\n\r\n\t}", "title": "" }, { "docid": "0e69410f7365f8e3379273ee4419fb49", "score": "0.6149904", "text": "@Override\r\n\tprotected void init() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "d65d6c17fb978c0d576ada2c03cd49fe", "score": "0.61387193", "text": "@Override\n\tpublic void apagar() {\n\t\t\n\t}", "title": "" }, { "docid": "8bae22ac805011d799a49bd7b5316540", "score": "0.612467", "text": "@Override\n public int describeContents() {\n // Auto-generated method stub\n return 0;\n }", "title": "" }, { "docid": "8c5b7f2508d01c106c784ecca7153f46", "score": "0.6119395", "text": "@Override\n\tvoid comer() {\n\t\t\n\t}", "title": "" }, { "docid": "7bc643d9ac7542f10430da7f200395d4", "score": "0.610188", "text": "@Override\n\tpublic void fiyat() {\n\t\t\n\t}", "title": "" }, { "docid": "7dadb1a7e45c020b2193294044375a9d", "score": "0.60646844", "text": "@Override\r\n \tpublic void init() {\n \t\t\r\n \t}", "title": "" }, { "docid": "04771723ee2c07e5fa5fe8c322190beb", "score": "0.60607964", "text": "@Override\n\tpublic void affichage() {\n\t\t\n\t}", "title": "" }, { "docid": "b7f027eb6ff62218a28c15c608504db7", "score": "0.6055265", "text": "@Override\n\tpublic void cafeteria() {\n\t\t\n\t}", "title": "" }, { "docid": "ae645a2585d37e320a8854cbd4c60db8", "score": "0.60353535", "text": "@Override\n\tpublic void afficher() {\n\n\t}", "title": "" }, { "docid": "9dd1bbd8c949b94d0e93b83bfc68c88a", "score": "0.6021345", "text": "@Override\n\tpublic void aeronoticalinfo() {\n\t\t\n\t}", "title": "" }, { "docid": "2762ca3c2d0df2e43c2974f74b6f5794", "score": "0.6013198", "text": "public void mo23507LF() {\n }", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124713", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5983872", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "119b459aa82980ed18ed9f73e4c0c1f6", "score": "0.5970375", "text": "public void mo8248e() {\n }", "title": "" }, { "docid": "c7fe9cc2a6c42140d48d92c4796a998c", "score": "0.5924626", "text": "@Override\r\n\t\t\t\t\t\tpublic void visitEnd() {\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "092f51e9c99cd4188e1aae23e1830dfd", "score": "0.58991617", "text": "protected void func_70626_be() {}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.5891585", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "4790ff4cb67532ccdfaae8968e73fbc3", "score": "0.58832747", "text": "@Override\n protected void initData() {\n\n\n }", "title": "" }, { "docid": "023182f0f855d46c66b41a6d83583efa", "score": "0.5871911", "text": "@Override\r\n\tpublic void singen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d96d27dfdf5b1a8cc8b8a7627c83bc1", "score": "0.5869012", "text": "@Override\n public void afficher() {\n\n }", "title": "" }, { "docid": "298aa14afe5846b172f76bcf90564013", "score": "0.58663046", "text": "@Override\n\tprotected void initAfterData() {\n\t\t\n\t}", "title": "" }, { "docid": "e065a728f99482f0172c0250b07109a9", "score": "0.58587575", "text": "public void MIENTRAS() {\r\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "6c15d2233a095a738527f0099df0e328", "score": "0.58534765", "text": "@Override\n\tprotected void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7da3b15ef60da758589933b21890a100", "score": "0.5835782", "text": "@Override\n\t\t\tpublic void buscar() {\n\n\t\t\t}", "title": "" }, { "docid": "d56c498b25d1ea77dc09f49efcf80f6c", "score": "0.58347356", "text": "@Override\r\n\tpublic void aumentaFatorAcidade() {\n\r\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "da813fa08844d9ea0dcf6109d766cb06", "score": "0.5810359", "text": "@Override\n public void geefOpleidingNiveau() {\n }", "title": "" }, { "docid": "d1236089c8974701d0acd37b2cad6d5b", "score": "0.5809914", "text": "@Override\n\tpublic void init(){\n\t\t\n\t}", "title": "" }, { "docid": "ac3fa8f374744c1d8419fb42b093eb87", "score": "0.58098364", "text": "@Override\n public void ATOM() {\n\n }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "17bf5dfb3822657f7beb964bbcaf351d", "score": "0.58010787", "text": "private void getdata() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c1cba83b623b4186565c3383ace251b9", "score": "0.5798524", "text": "@Override\n public void RES() {\n\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.5793788", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "04320a5131c4ec5a83b61f5170f3303b", "score": "0.578828", "text": "private void refreash() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "96aa62cb7c02dc761fce03adeea3bae6", "score": "0.5768868", "text": "public void consumidor() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "f76cff0faf8f5cac2bb5c9fa073b3900", "score": "0.5732497", "text": "private static void ispisiRemi() {\n\t\t\n\t}", "title": "" }, { "docid": "0da844a8d21284fc890b9866b17625b3", "score": "0.5729389", "text": "public void auton() {\r\n\r\n\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "3b42107e523d1f2c0adecfee5c69fe91", "score": "0.5726736", "text": "@Override\r\n\t\t\tpublic String toString() {\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "e0989255fd1af22841693489e1afa33b", "score": "0.57214063", "text": "public void mo24349a() {\n }", "title": "" }, { "docid": "b860b78be8e10589ee5bd58e2ab7be8e", "score": "0.57196456", "text": "@Override\r\n\tpublic void autonomous() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "08ff281f85800b58e0eb77195be25bfc", "score": "0.5708199", "text": "public void finito() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "24b649f4fd4e2e8f4e195b19c09f4c8b", "score": "0.56936413", "text": "@Override\n public void FUNMAYORQ() {\n\n }", "title": "" }, { "docid": "b3c7aad07c4af0cfec14c4b0f0f289ef", "score": "0.5692504", "text": "@Override\n\tpublic void arb() {\n\n\t}", "title": "" }, { "docid": "8657ef720f12b2480d4363be4e46781e", "score": "0.5691313", "text": "protected boolean method_4310() {\r\n return true;\r\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "45fd99bd8793c6d67c4f276a27b4fdca", "score": "0.5685153", "text": "@Override public int getDefensa(){\n\n return 0;\n\n }", "title": "" } ]
45b5e012346a585ddcbcbf09cd9244cc
TODO More logics to be implemented here
[ { "docid": "516bd2c92c838f66eb7ceabcd808e209", "score": "0.0", "text": "public static Destination createFrom(Phone value){\n\t\t\tif (value.getCanReceiveSMS()){\n\t\t\t\treturn new Destination(value.getDialingNumber(), DestinationType.SMS);\n\t\t\t}\n\t\t\telse{\n\t\t\t\treturn new Destination(value.getDialingNumber(), DestinationType.PHONE);\n\t\t\t}\n\t\t}", "title": "" } ]
[ { "docid": "063ae6a38469d06ddf88fd9af6522171", "score": "0.6420603", "text": "@Override\r\n\tpublic void guru() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.63449186", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.63392144", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f4bccec648e6eb25ae6f4d7165ffc5a1", "score": "0.6124211", "text": "@Override\n\t\t\tpublic void Goruntule() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "4d9e164e4e911df1380f4618e0fe7a08", "score": "0.60084426", "text": "OI (){\n\t\t\n\t}", "title": "" }, { "docid": "08b636378df4f4038ace51abb0d0ba04", "score": "0.59746075", "text": "@Override\r\n\tpublic void request() {\n\t\t\r\n\t}", "title": "" }, { "docid": "12104bcdcc776dd1fc9415fbc08ab9a4", "score": "0.5897909", "text": "private ExtentTS() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.5894975", "text": "protected void method_3848() {}", "title": "" }, { "docid": "d4e15b200c2022658af267c700b34269", "score": "0.5847569", "text": "@Override\n\tpublic void anlegen() {\n\t\t\n\t}", "title": "" }, { "docid": "6754b5dbf617cd4b6315568f4ba45bc3", "score": "0.58469385", "text": "@Override\n protected void initialize() {}", "title": "" }, { "docid": "5435fed6c0a9345524c30343d8ed9829", "score": "0.5786603", "text": "@Override\r\n\tpublic void entrenar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57719713", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57719713", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "a2392cc71aaf87bc730f13f37ecdb439", "score": "0.5764714", "text": "private void apparence()\r\n\t\t{\r\n\t\t//Rien\r\n\t\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.5760041", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "efaf1962840c7f5346e81dc22773c34b", "score": "0.57589144", "text": "@Override\n protected void init() {\n\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.5734581", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "df970d9257b3282612e3b7ad881bca60", "score": "0.57279027", "text": "protected void bhjp5027AcedeMhjj027a() {\n }", "title": "" }, { "docid": "42693116fba02f3f07be1ab752c6d9bc", "score": "0.5721068", "text": "@Override\r\n\tpublic void concentrarse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3082ef05aec8dc343ca108ab345f43a", "score": "0.5698996", "text": "@Override\r\n\tpublic void morir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.567892", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "a6e9388ba580a030c48b527221f8e81a", "score": "0.5677038", "text": "@Override\n\tpublic void actuar() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.56401724", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "1a4f9aa6f736074c80c425a66e966e33", "score": "0.5618858", "text": "@Override\n\tpublic void acariciar() {\n\n\t}", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.5601231", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "9ed343d9b9eb8bd223508c88858abf48", "score": "0.56009907", "text": "@Override\n\tprotected void init() throws Exception {\n\t\t\n\t}", "title": "" }, { "docid": "1f4988c898d552b0a5965dcb636a68ca", "score": "0.55912256", "text": "@Override\r\n\tpublic void correr() {\n\t\t\r\n\t}", "title": "" }, { "docid": "79434840a1497982c86bb9b36527139d", "score": "0.5567481", "text": "@Override\n\tpublic void init() {}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5566309", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.5566309", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "9e8629ced62a55ad1be791787c89f9d2", "score": "0.5561941", "text": "@Override\r\n\tpublic void process() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b6296d9cb06e3094b2a07ffb1a50fe1e", "score": "0.55551195", "text": "@Override\n\tpublic void acariciar() {\n\t}", "title": "" }, { "docid": "b7026792f4497bfcada6c43399e85e01", "score": "0.5554327", "text": "@Override\r\n\tpublic void kellton() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8648511042e2a7fd608e085a1fcb7ccf", "score": "0.55487454", "text": "@Override\r\n\tpublic void operation() {\n\r\n\t}", "title": "" }, { "docid": "817efc043b4e1d7ba918f254f9fa5ae6", "score": "0.55422676", "text": "@Override\n public void taunt() {\n\n }", "title": "" }, { "docid": "498caa100e4da54d90cbe60444c9580e", "score": "0.55418044", "text": "@Override\n\n protected void initialize() {\n \t\n }", "title": "" }, { "docid": "91bd67fab28a493021bd6f1f7b3e5e0a", "score": "0.5540693", "text": "@Override\n public void dirve() {\n\n }", "title": "" }, { "docid": "cf106c4357acca188056c470b50f748c", "score": "0.55400276", "text": "private Singletone() {}", "title": "" }, { "docid": "a28fd0cb7be83cfd93a8a530df5c0534", "score": "0.5538537", "text": "@Override\n\tprotected void processLogic() {\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5532157", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5532157", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5532157", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5532157", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5532157", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5532157", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5532157", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5532157", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ac47e1dd502db6c8d2ce1a5b93b4a11b", "score": "0.55283445", "text": "@Override\n\tpublic void use() {\n\t\t\n\t}", "title": "" }, { "docid": "b086aa458043018db12ea6c8dbfcc7c2", "score": "0.55234444", "text": "@Override\r\n\tprotected void processInit() {\n\r\n\t}", "title": "" }, { "docid": "ad4d9339a0e3b347b6df9466d063badd", "score": "0.55201536", "text": "public void piocher(){\n\t\t\n\t}", "title": "" }, { "docid": "ae30dbef1bef884f29604e955e5f8439", "score": "0.5504085", "text": "@Override\n\tpublic void aeronauticalInfo() {\n\n\t}", "title": "" }, { "docid": "12c148d05fe753983614cee07240d8f6", "score": "0.5503625", "text": "@Override\n\t\t\t\tpublic void ll() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5500471", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5500471", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "7ba2946d983bb1e7f8bf10a547e6dc3f", "score": "0.5488915", "text": "public void mo14489d() {\n }", "title": "" }, { "docid": "f6a68fd4160f59c850808e7dc0162714", "score": "0.5488475", "text": "@Override\n protected void initialize() {\n \t\n }", "title": "" }, { "docid": "7e9d1e5f400a0110bd2ef9d3ed8135c0", "score": "0.54794556", "text": "@Override\r\n\tpublic void use() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fa32f830910aeae71dc86bf338a8b0fc", "score": "0.5477058", "text": "@Override\n\tpublic void genrator() {\n\n\t}", "title": "" }, { "docid": "6fed06ffe2e91abbfbbdd113a68a37f2", "score": "0.5476176", "text": "public void resolver() {\r\n\r\n\t\t\r\n\t\t\t\t\r\n\r\n\t}", "title": "" }, { "docid": "e58b18580efb996e86a2a2e3852d4b8d", "score": "0.54714155", "text": "private TypicalHomework() {}", "title": "" }, { "docid": "8f2adb7cdec5fdcb8ef5d50637d47e23", "score": "0.5456934", "text": "@Override\n public void apply() {\n\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5454025", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5454025", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5454025", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5454025", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5454025", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "a59d3a080703df0c29632666d64e3e65", "score": "0.54526025", "text": "@Override\n\tprotected void initialize()\n {\n }", "title": "" }, { "docid": "d695cc24077eb20db5d0c2214515e085", "score": "0.54384667", "text": "@Override\n public void correr() {\n }", "title": "" }, { "docid": "04d0aeb098081b73e97a99da1b060497", "score": "0.5436003", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "04d0aeb098081b73e97a99da1b060497", "score": "0.5436003", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "c2702ba4f5b0186761ca308cae3343e0", "score": "0.5435565", "text": "@Override\n\tpublic void onIncomingMessage() {\n\t\t\n\t}", "title": "" }, { "docid": "3b88f51693028fba4d1b56aa7f56c51c", "score": "0.5433757", "text": "@Override\n\tpublic void beforeRead() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.5425958", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "5c40bd2e5c1d492aac9d5983bf52d2e3", "score": "0.54211986", "text": "@Override\n\tpublic void vericar() {\n\t\t\n\t}", "title": "" }, { "docid": "1b06127bb3026966264ea5193a779876", "score": "0.54203326", "text": "@Override\n\t\t\t\t\t\t\t\t\t\tpublic void run() {\n\n\t\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "582acaef2e3110454651d58f22c1b299", "score": "0.5418993", "text": "public void mo14492g() {\n }", "title": "" }, { "docid": "e0484a0369823567b49e79228c2162ea", "score": "0.54095066", "text": "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "title": "" }, { "docid": "c68792e5615e251dcb09818c050c3fe2", "score": "0.5409373", "text": "@Override\n\t\t\tpublic void start() {\n\n\t\t\t}", "title": "" }, { "docid": "bd9b859f3a9c1a1565a6602ccdbe7e59", "score": "0.54067135", "text": "@Override\n\tpublic void fiyatt() {\n\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5403886", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5403886", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b3f9c067f346cd98a7d7370c6b0f9f9", "score": "0.539919", "text": "@Override\n \tpublic void visit() {\n \t\tsuper.visit();\n \t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.5394593", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.5394593", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "24ceb1b7890c17791839d3a2649acb8b", "score": "0.5394593", "text": "@Override\n\tprotected void initialize() {\n\t}", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5390676", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "325772492a3687d36605303ffc30d8ac", "score": "0.5384267", "text": "@Override\n\tpublic void abastecer() {\n\t}", "title": "" }, { "docid": "7c9e376ac0ba47a6aab607a9b783dd58", "score": "0.5373556", "text": "@Override\n\tpublic void accionSi() {\n\t\t\n\t}", "title": "" }, { "docid": "a6691139984030f01dbe58e2ac54116d", "score": "0.5372484", "text": "@Override\n public void initialize() {\n \n \n }", "title": "" }, { "docid": "ffff0b1150af5c416cb843ad0a91e857", "score": "0.5370977", "text": "@Override\r\n\tprotected void processTarget() {\n\r\n\t}", "title": "" } ]
297ba61e968c8cac461c7337ca746edf
Calculates jaccard index for two vectors
[ { "docid": "c139197cd4b3f912a9996081391ec6de", "score": "0.76767933", "text": "public double calculateIndex(String[] vector1, String[] vector2){\n //Calculate the number of intersections\n double intersecValue = intersecCalc(vector1, vector2);\n //Calculate the size of the union\n double unionValue = unionCalc(vector1,vector2,intersecValue);\n //Calculate Jaccard Index by the formula:\n // |IntersectionValue| / |UnionValue|\n double jaccardIndex = intersecValue/unionValue;\n //Returns the index found\n return jaccardIndex;\n }", "title": "" } ]
[ { "docid": "a7b3515d47785f8e966f0ff81099c96c", "score": "0.7037503", "text": "public static double getJaccard(Counter index1, Counter index2,\r\n double threshold) {\r\n double min, max, s_min = 0, s_max = 0, bound = 0;\r\n double upper_max = Math.max(index1.totalCount, index2.totalCount);\r\n double upper_union = index1.totalCount + index2.totalCount;\r\n int c1, c2, s_c1 = 0, s_c2 = 0;\r\n\r\n for (int key : index1.keySet()) {\r\n c1 = index1.getCount(key);\r\n c2 = index2.getCount(key);\r\n min = Math.min(c1, c2);\r\n max = Math.max(c1, c2);\r\n s_min += min;\r\n s_max += max;\r\n s_c1 += c1;\r\n s_c2 += c2;\r\n\r\n // Early threshold break for pairwise counter comparison\r\n bound += max - min;\r\n if ((upper_max - bound) / upper_max < threshold)\r\n return 0;\r\n else if (s_min / upper_union >= threshold)\r\n return 1;\r\n }\r\n\r\n return s_min\r\n / (s_max + (index1.totalCount - s_c1) + (index2.totalCount - s_c2));\r\n }", "title": "" }, { "docid": "833c24529b96606c17e89d22c0c61c20", "score": "0.6432036", "text": "public double jaccard(String str1,String str2,int k) {\n\n\t\tint[] hashArray1 = ShinglestoHashes(toShingle(str2,k));\n\t\tint[] hashArray2 = ShinglestoHashes(toShingle(str1,k));\n\t\tSet<Integer> set1 = new TreeSet<Integer>();\n\t\tSet<Integer> set2 = new TreeSet<Integer>();\n\n\t\tfor(int e : hashArray1) {\n\t\t\tset1.add(e);\n\t\t}\n\n\t\tfor(int f : hashArray2) {\n\t\t\tset2.add(f);\n\t\t}\n\n\t\tSet<Integer> intersecao = new TreeSet<Integer>();\n\t\tintersecao.addAll(set1);\n\t\tintersecao.retainAll(set2);\n\n\t\tSet<Integer> uniao = new TreeSet<Integer>();\n\t\tuniao.addAll(set1);\n\t\tuniao.addAll(set2);\n\n\t\tif (uniao.isEmpty()) {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn (double) intersecao.size() / (double )uniao.size();\n\t}", "title": "" }, { "docid": "bd218c05d4ad100ca99a16d58e9b9d6a", "score": "0.63921845", "text": "public double jaccard(String str1,String str2) {\n\n\t\tint[] hashArray1 = ShinglestoHashes(toShingle(str2));\n\t\tint[] hashArray2 = ShinglestoHashes(toShingle(str1));\n\t\tSet<Integer> set1 = new TreeSet<Integer>();\n\t\tSet<Integer> set2 = new TreeSet<Integer>();\n\n\t\tfor(int e : hashArray1) {\n\t\t\tset1.add(e);\n\t\t}\n\n\t\tfor(int f : hashArray2) {\n\t\t\tset2.add(f);\n\t\t}\n\n\t\tSet<Integer> intersecao = new TreeSet<Integer>();\n\t\tintersecao.addAll(set1);\n\t\tintersecao.retainAll(set2);\n\n\t\tSet<Integer> uniao = new TreeSet<Integer>();\n\t\tuniao.addAll(set1);\n\t\tuniao.addAll(set2);\n\n\t\tif (uniao.isEmpty()) {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn (double) intersecao.size() / (double )uniao.size();\n\t}", "title": "" }, { "docid": "2a1c1c59e41027ee2ffc31a2262181a5", "score": "0.6122846", "text": "public double jaccardSimilarity(Ranking other, int cutoff) {\n\n HashSet<String> ids = new HashSet<String>(2*size());\n for (int i = 0; i < Math.min(size(), cutoff); i++) {\n ids.add(getID(i));\n }\n\n HashSet<String> idsOther = new HashSet<String>(2*other.size());\n for (int i = 0; i < Math.min(other.size(), cutoff); i++) {\n idsOther.add(other.getID(i));\n }\n\n HashSet<String> union = new HashSet<String>(ids);\n union.addAll(idsOther);\n\n if (union.size() == 0) {\n return 0.0;\n }\n\n HashSet<String> intersection = new HashSet<String>(ids);\n intersection.retainAll(idsOther);\n\n return (double)intersection.size() / union.size();\n }", "title": "" }, { "docid": "73f42b603e83ac6c327bc1561ee601de", "score": "0.5702568", "text": "public StringBuilder computeJaccard(\r\n\t\t\tList<HashMap<String, Vector<Integer>>> holdoutList) {\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\tJaccard jacc = new Jaccard();\r\n\t\tDouble jaccOnLabels = 0.0;\r\n\t\tDouble jaccOnSet = 0.0;\r\n\t\tHashMap<String, Vector<Double>> jaccOnSets = new HashMap<>();\r\n\t\tint iterations = 0;\r\n\t\tfor (int i = 0; i < holdoutList.size() - 1; i++) {\r\n\t\t\tHashMap<String, Vector<Integer>> ho1 = holdoutList.get(i);\r\n\t\t\tfor (int j = i + 1; j < holdoutList.size(); j++) {\r\n\t\t\t\tbuilder.append(\"pair (\" + i + \",\" + j + \")\\n\");\r\n\r\n\t\t\t\tHashMap<String, Vector<Integer>> ho2 = holdoutList.get(j);\r\n\t\t\t\tbuilder.append(\"\\tjaccard_labels=\"\r\n\t\t\t\t\t\t+ jacc.calc(ho1.keySet().toArray(), ho2.keySet()\r\n\t\t\t\t\t\t\t\t.toArray()) + \"\\n\");\r\n\r\n\t\t\t\t// get cluster names from first set\r\n\t\t\t\tSet<String> cluster_names = new HashSet<String>();\r\n\t\t\t\tcluster_names.addAll(ho1.keySet());\r\n\t\t\t\tcluster_names.addAll(ho2.keySet());\r\n\r\n\t\t\t\tDouble jaccOnPair = 0.0;\r\n\t\t\t\tfor (String name : cluster_names) {\r\n\t\t\t\t\tVector<Integer> ho1_objects = (ho1.get(name) == null) ? new Vector<Integer>()\r\n\t\t\t\t\t\t\t: ho1.get(name);\r\n\t\t\t\t\tVector<Integer> ho2_objects = (ho2.get(name) == null) ? new Vector<Integer>()\r\n\t\t\t\t\t\t\t: ho2.get(name);\r\n\t\t\t\t\tbuilder.append(\"\\tjaccard_on_set(\" + name + \")=\"\r\n\t\t\t\t\t\t\t+ jacc.calc(ho1_objects, ho2_objects) + \"\\n\");\r\n\r\n\t\t\t\t\tif (!jaccOnSets.containsKey(name)) {\r\n\t\t\t\t\t\tVector<Double> v = new Vector<>();\r\n\t\t\t\t\t\tv.add(jacc.calc(ho1_objects, ho2_objects));\r\n\t\t\t\t\t\tjaccOnSets.put(name, v);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tVector<Double> v = jaccOnSets.get(name);\r\n\t\t\t\t\t\tjaccOnSets.remove(name);\r\n\t\t\t\t\t\tv.add(jacc.calc(ho1_objects, ho2_objects));\r\n\t\t\t\t\t\tjaccOnSets.put(name, v);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tjaccOnPair += jacc.calc(ho1_objects, ho2_objects);\r\n\t\t\t\t}\r\n\t\t\t\tbuilder.append(\"\\tjaccard_on_set_average=\" + jaccOnPair\r\n\t\t\t\t\t\t/ cluster_names.size() + \"\\n\");\r\n\r\n\t\t\t\tjaccOnLabels += jacc.calc(ho1.keySet().toArray(), ho2.keySet()\r\n\t\t\t\t\t\t.toArray());\r\n\t\t\t\tjaccOnSet += jaccOnPair / cluster_names.size();\r\n\t\t\t\titerations++;\r\n\t\t\t}\r\n\t\t}\r\n\t\tbuilder.append(\"#####\\n# Totals\\n####\\n\");\r\n\t\tbuilder.append(\"avg_jaccard_labels=\" + jaccOnLabels / iterations + \"\\n\");\r\n\t\tbuilder.append(\"avg_jaccard_objects=\" + jaccOnSet / iterations + \"\\n\");\r\n\r\n\t\tfor (Entry<String, Vector<Double>> entry : jaccOnSets.entrySet()) {\r\n\t\t\tDouble counter = 0.0;\r\n\t\t\tfor (Double d : entry.getValue()) {\r\n\t\t\t\tcounter += d;\r\n\t\t\t}\r\n\t\t\tbuilder.append(\"avg_jaccard_cluster(\" + entry.getKey() + \")=\"\r\n\t\t\t\t\t+ counter / entry.getValue().size() + \"\\n\");\r\n\t\t}\r\n\t\treturn builder;\r\n\t}", "title": "" }, { "docid": "549d911fec7af1062dd5dc0dcc020d8f", "score": "0.5685085", "text": "public StringBuilder computeJaccard2(List<Pair<?,?>> folds) \r\n\t{\r\n\t\tStringBuilder builder = new StringBuilder();\r\n\t\tJaccard jacc = new Jaccard();\r\n\t\tDouble jaccOnLabels = 0.0;\r\n\t\tDouble jaccOnSet = 0.0;\r\n\t\t\r\n\t\tHashMap<String, Vector<Double>> jaccOnSets = new HashMap<>();\r\n\r\n\t\tfor (int i=0; i < folds.size(); i++)\r\n\t\t{\r\n\t\t\tPair<?,?> fold = folds.get(i);\r\n\t\t\t\r\n\t\t\t// locally copy set A\r\n\t\t\tHashMap<String, Vector<Integer>> ho1 = (HashMap<String, Vector<Integer>>) fold.getFirst();\r\n\t\t\t// locally copy set B\r\n\t\t\tHashMap<String, Vector<Integer>> ho2 = (HashMap<String, Vector<Integer>>) fold.getSecond();\r\n\t\t\tbuilder.append(\"pair (A,B) of fold=\" + (i+1) + \"\\n\");\r\n\t\r\n\t\t\tbuilder.append(\"\\tjaccard_labels=\" + \r\n\t\t\t\t\tjacc.calc(ho1.keySet().toArray(), ho2.keySet().toArray()) + \"\\n\");\r\n\t\t\t\r\n\t\t\t// get cluster names from first set\r\n\t\t\tSet<String> cluster_names = new HashSet<String>();\r\n\t\t\tcluster_names.addAll(ho1.keySet());\r\n\t\t\t// get cluster names from second set\r\n\t\t\tcluster_names.addAll(ho2.keySet());\r\n\t\r\n\t\t\tDouble jaccOnPair = 0.0;\r\n\t\t\tfor (String name : cluster_names) \r\n\t\t\t{\r\n\t\t\t\tVector<Integer> ho1_objects = (ho1.get(name) == null) ? new Vector<Integer>()\r\n\t\t\t\t\t\t: ho1.get(name);\r\n\t\t\t\tVector<Integer> ho2_objects = (ho2.get(name) == null) ? new Vector<Integer>()\r\n\t\t\t\t\t\t: ho2.get(name);\r\n\t\t\t\tbuilder.append(\"\\tjaccard_on_set(\" + name + \")=\"\r\n\t\t\t\t\t\t+ jacc.calc(ho1_objects, ho2_objects) + \"\\n\");\r\n\t\r\n\t\t\t\tif (!jaccOnSets.containsKey(name)) {\r\n\t\t\t\t\tVector<Double> v = new Vector<>();\r\n\t\t\t\t\tv.add(jacc.calc(ho1_objects, ho2_objects));\r\n\t\t\t\t\tjaccOnSets.put(name, v);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tVector<Double> v = jaccOnSets.get(name);\r\n\t\t\t\t\tjaccOnSets.remove(name);\r\n\t\t\t\t\tv.add(jacc.calc(ho1_objects, ho2_objects));\r\n\t\t\t\t\tjaccOnSets.put(name, v);\r\n\t\t\t\t}\r\n\t\r\n\t\t\t\tjaccOnPair += jacc.calc(ho1_objects, ho2_objects);\r\n\t\t\t}\r\n\t\t\tbuilder.append(\"\\tjaccard_on_set_average=\" + \r\n\t\t\t\t\tjaccOnPair / cluster_names.size() + \"\\n\");\r\n\t\t\t\r\n\t\t\tjaccOnLabels += jacc.calc(ho1.keySet().toArray(), ho2.keySet()\r\n\t\t\t\t\t.toArray());\r\n\t\t\tjaccOnSet += jaccOnPair / cluster_names.size();\r\n\t\t}\r\n\t\r\n\t\t//end x folds\r\n\t\tbuilder.append(\"#####\\n# Totals\\n####\\n\");\r\n\t\tbuilder.append(\"avg_jaccard_labels=\" + jaccOnLabels / folds.size() + \"\\n\");\r\n\t\tbuilder.append(\"avg_jaccard_objects=\" + jaccOnSet / folds.size() + \"\\n\");\r\n\t\tfor (Entry<String, Vector<Double>> entry : jaccOnSets.entrySet()) \r\n\t\t{\r\n\t\t\tDouble counter = 0.0;\r\n\t\t\tfor (Double d : entry.getValue()) {\r\n\t\t\t\tcounter += d;\r\n\t\t\t}\r\n\t\t\tbuilder.append(\"avg_jaccard_cluster(\" + entry.getKey() + \")=\"\r\n\t\t\t\t\t+ counter / entry.getValue().size() + \"\\n\");\r\n\t\t}\r\n\t\treturn builder;\r\n\t}", "title": "" }, { "docid": "ea08943b280e9f2ff1346efb49cffc17", "score": "0.5568688", "text": "public static double jaccardSetSim (Set<String> set1, Set<String> set2) {\n\t\t\n\n\t\tint intersection = 0;\n\t\t\n\t\tfor (String s1 : set1) {\n\t\t\tfor (String s2 : set2) {\n\t\t\t\tif (s1.equals(s2)) {\n\t\t\t\t\tintersection += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tint union = (set1.size() + set2.size()) - intersection;\n\t\t\n\t\t//System.out.println(\"The union is \" + union);\n\t\t//System.out.println(\"The intersection is \" + intersection);\n\t\t\n\t\tdouble jaccardSetSim = (double) intersection / (double) union;\n\t\t\n\t\treturn jaccardSetSim;\n\t}", "title": "" }, { "docid": "0e76f85eba26283b89ed362ce76b9ebd", "score": "0.5534406", "text": "private int iguales(double i, double j){\n if(i == j)\n return 1;\n return -1;\n }", "title": "" }, { "docid": "db5c80f9b2eecbf85ef1a3d47b81d62c", "score": "0.55235136", "text": "@Test\n public void testDistance() {\n System.out.println(\"distance\");\n Set<Integer> a = new HashSet<Integer>();\n a.add(1);\n a.add(2);\n a.add(3);\n a.add(4);\n\n Set<Integer> b = new HashSet<Integer>();\n b.add(3);\n b.add(4);\n b.add(5);\n b.add(6);\n\n assertEquals(0.6666667, JaccardDistance.d(a, b), 1E-7);\n }", "title": "" }, { "docid": "9a6155425d1b46d7c876fc2377d707e5", "score": "0.54067683", "text": "static int index(int i, int j) {\n\t\t\treturn ((i << 3) + j);\n\t\t}", "title": "" }, { "docid": "74f83977102af9eefb87e20d83c6900a", "score": "0.5386314", "text": "public static double jaccardSetSim (Set<String> set1, Set<String> set2) {\n\t\tif (set1 == null || set2 == null){\n\t\t\treturn 0.0;\n\t\t}\n\n\t\tint size1 = set1.size();\n\t\tint size2 = set2.size();\n\t\tSet<String> unionSet = new HashSet<String>(set1);\n\t\tunionSet.addAll(set2);\n\t\tint union = unionSet.size();\n\t\tint intersection = size1 + size2 - union;\n\t\tdouble jaccardSetSim = (double) intersection / (double) union;\n\t\treturn jaccardSetSim;\n\t}", "title": "" }, { "docid": "8d7d3f3f98a1cb400cc18005166f3802", "score": "0.53828275", "text": "int findUniqueElementinTwoArray(int[] a, int[] b) {\r\n\t\tint result = 0;\r\n\t\tint i = 0;\r\n\t\t// assuming b's length is grater that a length\r\n\t\tfor (i = 0; i < a.length; i++) {\r\n\t\t\tresult ^= a[i] ^ b[i];\r\n\t\t}\r\n\t\treturn result ^ b[i];\r\n\t}", "title": "" }, { "docid": "46c01e13163be4a37e4f3e6332bec2f9", "score": "0.5299471", "text": "private double intersecCalc(String[] vector1, String[] vector2) {\n double intersecCounter = 0;\n \n //Compares each element of the first vector with each of the second\n for (int i = 0; i < vector1.length; i++) {\n String vector1Element = vector1[i];\n for (int j = 0; j < vector2.length; j++) {\n String vector2Element = vector2[j];\n if(vector1Element.equals(vector2Element)){\n //Counts everytime and element of the first vector intersect\n //with one of the second\n intersecCounter++; \n break;\n }\n }\n }\n //return the number of elements that intersected\n return intersecCounter;\n }", "title": "" }, { "docid": "10e63f10121f2109da92a783ddb75e8d", "score": "0.52572453", "text": "private byte getIndexOfPieceMatrix(int i, int j, int length) {\n if ((i < length) && (j < length))\n return 0;\n if (i < length)\n return 1;\n if (j < length)\n return 2;\n return 3;\n }", "title": "" }, { "docid": "4619a7a3d3713b2e9bfb9d274bd575b2", "score": "0.52560395", "text": "private int getIndexFromRowAndColumn(int i, int j) {\n return (j - 1) * n + i;\n }", "title": "" }, { "docid": "9a6ee81592f782807b6da658c4c55444", "score": "0.5230153", "text": "int lcs(int x, int y, String s1, String s2)\n {\n int[][] k = new int[x+1][y+1];\n\n for(int i = 1; i < x+1; i++) {\n\n \tfor(int j = 1; j < y+1; j++) {\n\n \t\tif (s1.charAt(i-1) == s2.charAt(j-1)) {\n \t\t\tk[i][j] = 1 + k[i-1][j-1];\n \t\t}\n \t\telse {\n \t\t\tk[i][j] = Math.max(k[i-1][j], k[i][j-1]);\n \t\t}\n \t}\n }\n return k[x][y];\n }", "title": "" }, { "docid": "68921ab7f42490b8ebbd43e41d29dd8e", "score": "0.5228402", "text": "abstract int getIndex(long[] arr, int a, int b, long v);", "title": "" }, { "docid": "fc8d102d9461027a228d62fd6371d8d8", "score": "0.51994574", "text": "int LCP(int x, int y) {\n if(x == y) return n - x;\n\n int rs = 0;\n for(int k = logN; k >= 0 && x < n && y < n; k--) {\n if(tree[k][x] == tree[k][y]) {\n x += (1 << k);\n y += (1 << k);\n rs += (1 << k);\n }\n }\n return rs;\n }", "title": "" }, { "docid": "2e04082ec2545940b69ede7eac98648d", "score": "0.5177675", "text": "public JavaPairRDD<Tuple2<Integer, Integer>, Double>\n\t\tcomputeJaccardSimilarities(JavaPairRDD<Tuple2<Integer, Movie>, \n\t\t\t\tTuple2<Integer, Movie>> \n\t\tcartProd) {\n\t\tJavaPairRDD<Tuple2<Integer, Integer>, Double> jaccardSimRdd = \n\t\t\t\tcartProd.mapToPair(x -> {\n\n\t\t\tint movie1Id = x._1._1;\n\t\t\tMovie movie1 = x._1._2;\n\n\t\t\tint movie2Id = x._2._1;\n\t\t\tMovie movie2 = x._2._2;\n\n\t\t\tMap<String, Integer> genreMap = new HashMap<>();\n\t\t\tint m11 = 0;\n\t\t\tint m10 = 0;\n\t\t\tint m01 = 0;\n\n\t\t\tList<String> m1Genres = movie1.getGenres();\n\t\t\tfor(String g : m1Genres)\n\t\t\t\tgenreMap.put(g, 1);\n\n\t\t\tList<String> m2Genres = movie2.getGenres();\n\t\t\tfor(String g : m2Genres) {\n\t\t\t\tif(m1Genres.contains(g))\n\t\t\t\t\tm11++;\n\t\t\t\telse\n\t\t\t\t\tm01++;\n\t\t\t}\n\n\t\t\tm10 = genreMap.size() - (m11 + m01);\n\n\t\t\tdouble jaccardSim = (m11 * 1.0) / (m10 + m11 + m01);\n\n\t\t\treturn new Tuple2<>(new Tuple2<>(movie1Id, movie2Id), jaccardSim);\n\n\t\t});\n\t\t\n\t\t/* JavaPairRDD<Tuple2<Integer, Integer>, Double> jaccardSimFilteredRdd = \n\t\t\t\tjaccardSimRdd.filter(x -> x._2 > 0.0); */\n\t\t\n\t\treturn jaccardSimRdd;\n\t}", "title": "" }, { "docid": "55d1ad87f754fcfc2206371c05308b28", "score": "0.5150327", "text": "private int mapIndices(int i, int j) {\n return (size * (i - 1)) + j - 1;\n }", "title": "" }, { "docid": "551f15cc5a56664abb5030ef611c76ab", "score": "0.51393706", "text": "public int theIndex(int[] carrots, int K){\n\t\tint[] cc = new int[carrots.length+1];\n\t\tfor(int i=0; i < carrots.length; i++){\n\t\t\tcc[i] = -carrots[i];\n\t\t}\n\t\tcc[carrots.length] = -0;\n\t\tArrays.sort(cc);\n\t\t/* now change sign :P */\n\t\tfor(int i=0; i < cc.length; i++){\n\t\t\tcc[i] = -1 * cc[i];\n\t\t}\n\n\t\tint count = 1;\n\t\tint index = 0;\n\n\t\tfor(int i=0; i < cc.length-1; i++){\n\t\t\tint reduction = (cc[i] - cc[i+1]) * count;\n\t\t\tK = K - reduction;\n\n\t\t\tif(K < 0){\n\t\t\t\tK = K + reduction;\n\t\t\t\tindex = K % count;\n\n\t\t\t\tif(index == 0) index = carrots.length;\n\t\t\t\t\n\t\t\t\telse index = index-1;\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(K == 0){\n\t\t\t\tindex = (count == 1)?count : count -1;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tcount++;\n\t\t}\n\n\t\treturn index;\n\t}", "title": "" }, { "docid": "749a9ceaa4d6e403613093a7c906e3bb", "score": "0.51252925", "text": "static int countCollinearFast(int[] a1, int[] a2, int[] a3)\r\n {\r\n \tsort(a3);\r\n \tint count = 0;\r\n \tfor( int i=0; i < a1.length; i++ )\r\n \t{\r\n \t\tfor( int j=0; j < a2.length; j++ )\r\n \t\t{\r\n \t\t\tint x = a1[i]*(Y2-Y3) + a2[j]*(Y3-Y1);\r\n \t\t\tif( binarySearch( a3, -x / (Y1-Y2) ) )\r\n \t\t\t{\r\n \t\t\t\tcount++;\r\n \t\t\t}\r\n \t\t}\r\n \t}\r\n \treturn count;\r\n }", "title": "" }, { "docid": "f5594d3526060488d83e92ec76df1e04", "score": "0.5122919", "text": "@Override\n public int indexOf(List<Object> keys) {\n return indexOf(keys.get(0)) * COMPOSE_MAGIC + indexOf(keys.get(1));\n }", "title": "" }, { "docid": "0328339c7c4d3892e3b9257485fe4ada", "score": "0.5110095", "text": "private int ccw(int[] a, int[] b, int[] c) {\n return (b[0] - a[0]) * (c[1] - a[1]) - (b[1] - a[1]) * (c[0] - a[0]);\n }", "title": "" }, { "docid": "75c7853d82f0fec2137209e0f6b0b0a7", "score": "0.507792", "text": "public int vectoint(MultiplicitiesVector v) {\n int sum = v.sum();\n List<MultiplicitiesVector> s = findMulVectorsSummingUpTo(sum);\n int padding = 0;\n if (sum != 0) {\n List<MultiplicitiesVector> initialElements = findMulVectorsSummingUpTo(sum - 1);\n padding = initialElements.size();\n s = s.subList(initialElements.size(), s.size());\n }\n return padding + s.indexOf(v);\n }", "title": "" }, { "docid": "7f82ebcc2bd6830f252de8ea804f3f71", "score": "0.5062948", "text": "public int sub(int[] i, int[] j, int[] k) {\n int n;\n n=0;\n while(n<this.places()){\n i[n] = j[n]-k[n];\n n = n + 1;\n }\n return 0;\n }", "title": "" }, { "docid": "4575cbcab047f0457efc6a92fcfc2df9", "score": "0.50475436", "text": "static int kmp(char[] h, char[] n) {\n int[] f = kmpTbl(n);\n int v = 0;\n if (h.length == 0) { return -1; }\n for (int i = 0; i < h.length; i++) {\n while (v > 0 && n[v] != h[i]) { v = f[v - 1]; }\n if (n[v] == h[i]) { v++; }\n if (v == n.length) { return i - n.length + 1; }\n }\n return -1;\n }", "title": "" }, { "docid": "5ab67334558f67867725a739e2abfa10", "score": "0.50377524", "text": "private static long m6187a(long j, long j2) {\n if (j == 0) {\n return j2;\n }\n return ((j / 4) * 3) + (j2 / 4);\n }", "title": "" }, { "docid": "18dad519f5434855bc931c542a144f4f", "score": "0.5018301", "text": "public int findplane(int a, int b){\r\n List<Integer> list1 = new ArrayList();\r\n List<Integer> list2 = new ArrayList();\r\n for(int i=0;i<surfaces.size();i++){\r\n if(num_in_plane(a, (int[][]) surfaces.get(i))){\r\n list1.add(i);\r\n }\r\n if(num_in_plane(b, (int[][]) surfaces.get(i))){\r\n list2.add(i);\r\n }\r\n }\r\n //find common index\r\n Collections.sort(list1);\r\n Collections.sort(list2); \r\n int x=0, y=0;\r\n while(x<list1.size() && y<list2.size()){\r\n if(list1.get(x)==list2.get(y)){\r\n //System.out.println(\"FOUND COMMON PLANE: \"+ list1.get(x) +\" \"+list2.get(y)+\" \"+x+\" \"+y);\r\n //display_plane((int[][]) surfaces.get(list1.get(x)));\r\n return list1.get(x);\r\n }\r\n else if(list1.get(x)<list2.get(y)){\r\n x++;\r\n }\r\n else if(list1.get(x)>list2.get(y)){\r\n y++;\r\n }\r\n }\r\n System.out.println(\"On different surfaces\");\r\n return -1; \r\n }", "title": "" }, { "docid": "f3a43cdc69701e785df049530e60f972", "score": "0.49989012", "text": "public static ArrayList<Integer> spacialNb(int m[][],ArrayList<Integer>adhPoints,int ad, ArrayList<ArrayList<Integer>> saliencyObjects,int r) {\n\t\tint col = m[0].length;\n\t\tint D = 0;\n\t\tArrayList<Integer> nbs = new ArrayList<Integer>();\n\t\tnbs.add(adhPoints.get(ad));\n\t\tint index[] = new int[2];\n\t index = tools.address2index(m, adhPoints.get(ad));\n\t int rr = (int) Math.pow(r, 2);\n\t // Add neighbors on the cross\n\t for (int i = 1; i<=r;i++){\n\t \tif (saliencyObjects.get(ad).contains(adhPoints.get(ad)-i)==true) {\n\t \t\tnbs.add(adhPoints.get(ad)-i);\n\t\t\t}\n\t \tif (saliencyObjects.get(ad).contains(adhPoints.get(ad)+i)==true) {\n\t \t\tnbs.add(adhPoints.get(ad)+i);\n\t\t\t}\n\t \tif (saliencyObjects.get(ad).contains(adhPoints.get(ad)-i*col)==true) {\n\t \t\tnbs.add(adhPoints.get(ad)-i*col);\n\t\t\t}\n\t \tif (saliencyObjects.get(ad).contains(adhPoints.get(ad)+i*col)==true) {\n\t\t \tnbs.add(adhPoints.get(ad)+i*col);\n\t\t\t}\n\t }\t \n\t for (int i = 1; i<=r; i++){\n\t \tfor (int j = 1;j<=r; j++){\n\t \t\tD = Math.abs((int) Math.pow(i, 2)-(int) Math.pow(j, 2));\n\t \t\tif (D<=rr&&saliencyObjects.get(ad).contains(tools.index2address(m, index[0]-i, index[1]-j))==true) {\n\t\t \t\t// Go up-left\n\t\t\t\t\tnbs.add(tools.index2address(m, index[0]-i, index[1]-j));\n\t\t\t\t}\n\t \t\telse if (D<=rr&&saliencyObjects.get(ad).contains(tools.index2address(m, index[0]-i, index[1]+j))==true) {\n\t\t \t // Go up-right\n\t\t\t\t\tnbs.add(tools.index2address(m, index[0]-i, index[1]+j));\n\t\t\t\t}\n\t \t\telse if (D<=rr&&saliencyObjects.get(ad).contains(tools.index2address(m, index[0]+i, index[1]-j))==true) {\n\t \t\t\t// Go down-left\n\t\t\t\t\tnbs.add(tools.index2address(m, index[0]+i, index[1]-j));\n\t\t\t\t}\n\t \t\telse if (D<=rr&&saliencyObjects.get(ad).contains(tools.index2address(m, index[0]+i, index[1]+j))==true) {\n\t \t\t\t// Go down-right\n\t\t\t\t\tnbs.add(tools.index2address(m, index[0]+i, index[1]+j));\n\t\t\t\t}\t \t\t\n\t \t\telse {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t \t}\n\t }\n\t\treturn nbs;\n\t}", "title": "" }, { "docid": "a2d282a66485b651ba322b033b2d9d56", "score": "0.4964176", "text": "public int compare(Competitor i, Competitor j){\n\tint T = 0;\n\tint k = T + i.s + i.b + i.r;\n\treturn j.b + j.r - (i.b + i.r); \n}", "title": "" }, { "docid": "d5e40d583db86da250ecad9eea91f603", "score": "0.49528012", "text": "private int g2p(int i, int j){\n return (i-1)*size + (j-1) + 1;\n }", "title": "" }, { "docid": "01d3a140bd810a761e71b359c9c2f6cd", "score": "0.49432665", "text": "public int getCubieIndex(byte[][] coordinate){\n if(coordinate.length==3){\n if(Arrays.equals(coordinate[0], CUBIES_LIST[0][0])||Arrays.equals(coordinate[1], CUBIES_LIST[0][0])||Arrays.equals(coordinate[2], CUBIES_LIST[0][0])){\n return 0;\n }\n else if(Arrays.equals(coordinate[0], CUBIES_LIST[1][0])||Arrays.equals(coordinate[1], CUBIES_LIST[1][0])||Arrays.equals(coordinate[2], CUBIES_LIST[1][0])){\n return 1;\n }\n else if(Arrays.equals(coordinate[0], CUBIES_LIST[2][0])||Arrays.equals(coordinate[1], CUBIES_LIST[2][0])||Arrays.equals(coordinate[2], CUBIES_LIST[2][0])){\n return 2;\n }\n else if(Arrays.equals(coordinate[0], CUBIES_LIST[3][0])||Arrays.equals(coordinate[1], CUBIES_LIST[3][0])||Arrays.equals(coordinate[2], CUBIES_LIST[3][0])){\n return 3;\n }\n else if(Arrays.equals(coordinate[0], CUBIES_LIST[4][0])||Arrays.equals(coordinate[1], CUBIES_LIST[4][0])||Arrays.equals(coordinate[2], CUBIES_LIST[4][0])){\n return 4;\n }\n else if(Arrays.equals(coordinate[0], CUBIES_LIST[5][0])||Arrays.equals(coordinate[1], CUBIES_LIST[5][0])||Arrays.equals(coordinate[2], CUBIES_LIST[5][0])){\n return 5;\n }\n else if(Arrays.equals(coordinate[0], CUBIES_LIST[6][0])||Arrays.equals(coordinate[1], CUBIES_LIST[6][0])||Arrays.equals(coordinate[2], CUBIES_LIST[6][0])){\n return 6;\n }\n else if(Arrays.equals(coordinate[0], CUBIES_LIST[7][0])||Arrays.equals(coordinate[1], CUBIES_LIST[7][0])||Arrays.equals(coordinate[2], CUBIES_LIST[7][0])){\n return 7;\n }\n }\n else if(coordinate.length==2){\n if(Arrays.equals(coordinate[0], CUBIES_LIST[8][0])||Arrays.equals(coordinate[1], CUBIES_LIST[8][0])){\n return 8;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[9][0])||Arrays.equals(coordinate[1], CUBIES_LIST[9][0])){\n return 9;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[10][0])||Arrays.equals(coordinate[1], CUBIES_LIST[10][0])){\n return 10;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[11][0])||Arrays.equals(coordinate[1], CUBIES_LIST[11][0])){\n return 11;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[12][0])||Arrays.equals(coordinate[1], CUBIES_LIST[12][0])){\n return 12;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[13][0])||Arrays.equals(coordinate[1], CUBIES_LIST[13][0])){\n return 13;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[14][0])||Arrays.equals(coordinate[1], CUBIES_LIST[14][0])){\n return 14;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[15][0])||Arrays.equals(coordinate[1], CUBIES_LIST[15][0])){\n return 15;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[16][0])||Arrays.equals(coordinate[1], CUBIES_LIST[16][0])){\n return 16;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[17][0])||Arrays.equals(coordinate[1], CUBIES_LIST[17][0])){\n return 17;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[18][0])||Arrays.equals(coordinate[1], CUBIES_LIST[18][0])){\n return 18;\n }\n if(Arrays.equals(coordinate[0], CUBIES_LIST[19][0])||Arrays.equals(coordinate[1], CUBIES_LIST[19][0])){\n return 19;\n }\n }\n return -1;\n }", "title": "" }, { "docid": "df31ff2ca3abd3ad2c43b2c077e71996", "score": "0.49357292", "text": "private static long calc (int i, int j) {\n return (MOD + hash[j+1] - ((hash[i] * x[j-i+1]) % MOD)) % MOD;\n }", "title": "" }, { "docid": "a4c8dffd8eedf80cf16a9b5267f9feae", "score": "0.49329963", "text": "private static int mergeAndCount(int left[], int right[], int result[]) {\n\t\tint a = 0; \n\t\tint b = 0; \n\t\tint k = 0;\n\t\tint count = 0; \n\n\t\twhile ((a < left.length) && (b < right.length)) {\n\t\t\tif (left[a] <= right[b]) {\n\t\t\t\tresult[k] = left[a++];\n\t\t\t} else { /* You have found inversions here. */\n\t\t\t\tresult[k] = right[b++];\n\t\t\t\tcount += left.length - a;\n\t\t\t}\n\t\t\tk++;\n\t\t}\n\n\t\tif (a == left.length) {\n\t\t\tfor (int i = b; i < right.length; i++) {\n\t\t\t\tresult[k++] = right[i];\n\t\t\t}\n\t\t} else {\n\t\t\tfor (int i = a; i < left.length; i++) {\n\t\t\t\tresult[k++] = left[i];\n\t\t\t}\n\t\t}\n\n\t\treturn count;\n\t}", "title": "" }, { "docid": "4e61a63c4e85a65ba9dce1e96f6918f4", "score": "0.49304914", "text": "private static int[] searchBruteForce(int[] ints, int target) {\n\n for (int i = 0; i < ints.length; i++) {\n for (int k = i+1; k < ints.length ; k++) {\n // to avoid integer overflow solving on the basis target = i + j ,i = target - j\n if ( ints[k] == target - ints[i]) {\n return new int[] {i,k};\n }\n\n }\n\n\n }\n throw new IllegalArgumentException(\"No pair found\");\n }", "title": "" }, { "docid": "49150106d2d9beb7aa9210748f248f00", "score": "0.49097574", "text": "public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n ArrayList<Integer[]> list = new ArrayList<>();\n ArrayList<Integer[]> list2 = new ArrayList<>();\n int r1 = input.nextInt();\n int c1 = input.nextInt();\n for (int i = 0; i < r1; i++) {\n for (int j = 0; j < c1; j++) {\n int num = input.nextInt();\n if (num != 0) {\n list.add(new Integer[]{i,j,num});\n }\n }\n }\n int r2 = input.nextInt();\n int c2 = input.nextInt();\n for (int i = 0; i < r2; i++) {\n for (int j = 0; j < c2; j++) {\n int num = input.nextInt();\n if (num != 0) {\n list2.add(new Integer[]{i,j,num});\n }\n }\n }\n\n int rr = 0,cc = 0,count = 0;\n int[][] res = new int[r1][c2];\n while (!list.isEmpty()&&count<list.size()) {\n int count1 = 0;\n while (count1 < list2.size()) {\n int result = 0;\n if (list.get(count)[1] == list2.get(count1)[0]) {\n result = list.get(count)[2]*list2.get(count1)[2];\n res[list.get(count)[0]][list2.get(count1)[1]] += result;\n }\n count1++;\n }\n count++;\n }\n\n for (int i = 0; i < r1; i++) {\n for (int j = 0; j < c2; j++) {\n System.out.print(res[i][j]+\" \");\n }System.out.println();\n }\n\n }", "title": "" }, { "docid": "03fc9a1fa66d66980f71165ee75110b5", "score": "0.48835135", "text": "public int[] intersect2222(int[] nums1, int[] nums2) {\n HashMap<Integer, Integer> lettersToCount = new HashMap<>();\n int[] small = nums1.length < nums2.length ? nums1 : nums2;\n int[] big = nums1.length >= nums2.length ? nums1 : nums2;\n\n for(int numb : small) {\n if(lettersToCount.containsKey(numb))\n lettersToCount.put(numb, lettersToCount.get(numb) + 1);\n else\n lettersToCount.put(numb, 1);\n }\n\n List<Number> res = new ArrayList<>();\n for (int numb : big) {\n if(lettersToCount.size() == 0) break;\n if(lettersToCount.containsKey(numb)) {\n res.add(numb);\n if(lettersToCount.get(numb) == 1) lettersToCount.remove(numb);\n else lettersToCount.put(numb, lettersToCount.get(numb) - 1);\n }\n }\n\n return res.stream().mapToInt(Number::intValue).toArray();\n }", "title": "" }, { "docid": "fa582a20e396806cad70b440a394cea2", "score": "0.48806298", "text": "static int f(int x,int v) {\t\t\t\t\t// x index, v value, j mid index\n\t\tSystem.out.println(x+\" \"+v);\n//\t\t��: 1, 5\t��: 3, 1\t��: 6, 1\t��: 13, 0\n\t\tif(x>=j)return x-j+1;\t\t\t\t\t// �ε��� �߰������� ũ�ų� ������ �߰���ŭ ���� +1\t��: 8==1\n//\t\t��\t\t��\t\t��\t\t��: 13-8+1 = 6\n\t\tint p=t[x*2];\t\t\t\t\t\t\t// p Ʈ�� ���ʳ�尪\n//\t\t�� = 4\t�� = 2\t�� = 1\n\t\tif(v<p)return f(x*2,v);\t\t\t\t\t// ����� ������ ���ʳ�忡,\n//\t\t��\t\t��\t\t��: 6, 1\t��: 14, 0\n\t\treturn f(x*2+1,v-p);\t\t\t\t\t// ũ�ų� ������ �����ʳ���\t���µ� �� p�� �� �ù�\n//\t\t��: 3, 1\t��: 13, 0\n\t}", "title": "" }, { "docid": "7171915c8d752700c23ee3aa33e9cbb9", "score": "0.48791155", "text": "public int index( Clave clave ){\n int hcode=clave.hashCode();\n double num= ((Math.sqrt(5.0) - 1.0)/2.0);//numero que se utiliza para mejor distribucion de las entradas en la tabla hash.\n double t = (Math.abs( hcode ) * num);//(this.numeroDatos+1); //valor absoluto de hash de objeto \n return ((int) ((t - (int)t) *( this.numeroSlots) ));\n }", "title": "" }, { "docid": "16b4fb1d3934d82d0ccf64639a88a9fe", "score": "0.48674852", "text": "private static void LCS(int[] a, int[] b, int n, int m){\n \tint[][] L = new int[n+1][m+1];\n \n for(int i=0; i <= n; i++){\n \tfor(int j=0; j <= m; j++){\n \t\t//LCS DP conditions\n \t\tif(i==0 || j==0){\n \t\t\tL[i][j] = 0;\n \t\t}else if(a[i-1] == b[j-1]){\n \t\t\tL[i][j] = 1 + L[i-1][j-1];\n \t\t}else{\n \t\t\tL[i][j] = Math.max(L[i-1][j], L[i][j-1]);\n \t\t}\n \t}\n }\n \n //Print to see the table\n for(int i=0; i < n; i++){\n \tfor(int j=0; j < m; j++){\n \t\tSystem.out.print(L[i][j] + \" \");\n \t}\n \tSystem.out.println();\n }\n \n System.out.println(\"Length of Longest common subsequence : \" + L[n][m]);\n \n //Print the Longest Common Subsequence\n int index = L[n][m];\n int[] lcs_result = new int[index];\n \n int i = n;\n int j = m;\n while(i > 0 && j > 0){\n \t//if last char same put in result\n \tif(a[i-1] == b[j-1]){\n \t\tlcs_result[index-1] = a[i-1];\n \t\ti--; j--; index--;\n \t}else if (L[i-1][j] > L[i][j-1]){\n \t\ti--;\n \t}else{\n \t\tj--;\n \t}\n }//end while\n \n for(int k=0; k < lcs_result.length; k++){\n \tSystem.out.print(lcs_result[k] + \" \");\n }\n }", "title": "" }, { "docid": "58eee668eadc8c8e2d1d2c040e52de02", "score": "0.48478064", "text": "public static void main(String[] args) {\n int[] i = {1,2,3,4,4,5,6,1};\n for(int j= i.length -1; j>=0; j--){\n\t int h=1;\n\t for(int k = j+1; k<i.length;k++){\n\t\t if(i[j] == i[k]){\n\t\t\t h+=1;\n\t\t\t System.out.println(i[j]+\" ->\"+h);\n\t\t }\n\t\t\t \n\t }\n }\n\t}", "title": "" }, { "docid": "251d418389760afaf509e00b40a75000", "score": "0.48447233", "text": "private int[][] lCSLength() {\n int m = x.length();\n int n = y.length();\n int[][] c = new int[m + 1][n + 1];\n // Inizializza la prima colonna a 0\n for (int i = 1; i <= m; i++) {\n c[i][0] = 0;\n }\n // Inizializza la prima riga a 0\n for (int j = 0; j <= n; j++) {\n c[0][j] = 0;\n }\n // Somma 1 alla casella della matrice quando i caratteri delle stringhe sono uguali\n for (int i = 1; i <= m; i++) {\n for (int j = 1; j <= n; j++) {\n if (x.charAt(i - 1) == y.charAt(j - 1)) {\n c[i][j] = c[i - 1][j - 1] + 1;\n } else if (c[i - 1][j] >= c[i][j - 1]) {\n c[i][j] = c[i - 1][j];\n } else {\n c[i][j] = c[i][j - 1];\n }\n }\n }\n return c;\n }", "title": "" }, { "docid": "168f52fda1ff39a24a0365aff192ddf7", "score": "0.4841854", "text": "public int[] intersect(int[] nums1, int[] nums2) {\n \n HashMap<Integer, Integer> map1 = new HashMap<>();\n List<Integer> list1 = new ArrayList<Integer>();\n \n for (int i : nums1)\n {\n // if key is not in map1, put that key in the map and value will be 1 which is there is 1 value in nums1\n // if the key is in map1, increase the value of that key(will be the count of key in nums1)\n if (!map1.containsKey(i)) map1.put(i, 1);\n else map1.put(i, map1.get(i) + 1);\n }\n \n for (int i : nums2)\n {\n if (map1.containsKey(i) && map1.get(i) > 0)\n {\n // this value is in map1\n list1.add(i);\n map1.put(i, map1.get(i) - 1);\n }\n }\n \n // convert ArrayList to array of intergers\n int[] result = new int[list1.size()];\n \n for (int i = 0; i < list1.size(); i++)\n {\n result[i] = list1.get(i);\n }\n return result;\n }", "title": "" }, { "docid": "6ae856639cd3fd3d1ac64db475bf3f64", "score": "0.48394743", "text": "public void findCommonElements(int[] a,int [] b,int[] c){\n int i,j,k;\n i=j=k=0;\n while(i<a.length-1 && j< b.length-1 && j<c.length-1){\n if(a[i]==b[j] && b[j]==c[k]){\n System.out.println(\"Common: \"+a[i]);\n i++;\n j++;\n k++;\n }else if(a[i]>b[j]){\n j++;\n }else if(b[j]>c[k]){\n k++;\n }else{\n i++;\n }\n\n }\n\n }", "title": "" }, { "docid": "0692d19a47247c0fbe44dd7accfa6f1c", "score": "0.4834787", "text": "void mo1710a(long j, long j2);", "title": "" }, { "docid": "1301afc756de8d31f6283b7362a4f16f", "score": "0.4827877", "text": "public void kasai() {\n int[] sufInv = new int[N];\n for (int i = 0; i < N; i++) {\n sufInv[order[i]] = i;\n }\n int k = 0;\n for (int i = 0; i < N; i++) {\n if (sufInv[i] == N-1) {\n k = 0;\n continue;\n }\n\n int j = order[sufInv[i]+1];\n while (i+k<N && j+k < N && nums[i+k]==nums[j+k]) {\n k++;\n }\n lcp[sufInv[i]] = k;\n if (k>0)\n k--;\n }\n }", "title": "" }, { "docid": "df6cd620940f85a5f612d426bf0f406d", "score": "0.4827873", "text": "long getIndex();", "title": "" }, { "docid": "df6cd620940f85a5f612d426bf0f406d", "score": "0.4827873", "text": "long getIndex();", "title": "" }, { "docid": "df6cd620940f85a5f612d426bf0f406d", "score": "0.4827873", "text": "long getIndex();", "title": "" }, { "docid": "5c8fb175afe0706150daed438cb94fd7", "score": "0.48173207", "text": "public int minDominoRotationsII(int[] A, int[] B) {\n int n = A.length;\n for (int i = 0, a = 0, b = 0; i < n && (A[i] == A[0] || B[i] == A[0]); ++i) {\n System.out.println(\"First\");\n if (A[i] != A[0]) a++;\n if (B[i] != A[0]) b++;\n System.out.println(\"a:\" + a + \" b:\" + b);\n if (i == n - 1) return Math.min(a, b);\n }\n\n for (int i = 0, a = 0, b = 0; i < n && (A[i] == B[0] || B[i] == B[0]); ++i) {\n System.out.println(\"Second\");\n if (A[i] != B[0]) a++;\n if (B[i] != B[0]) b++;\n System.out.println(\"a:\" + a + \" b:\" + b);\n if (i == n - 1) return Math.min(a, b);\n }\n return -1;\n }", "title": "" }, { "docid": "1dba5699ac66b2af1e84b03d5b56e477", "score": "0.4810042", "text": "private int find(int[] nums1, int i, int[] nums2, int j, int k) {\n\t\tif(i>=nums1.length)return nums2[j+k-1];\r\n\t\tif(j>=nums2.length)return nums1[i+k-1];\r\n\t\tif(k==1)return Math.min(nums1[i], nums2[j]);\r\n\t\tint m1 = i+k/2-1<nums1.length?nums1[i+k/2-1]:Integer.MAX_VALUE;\r\n\t\tint m2 = j+k/2-1<nums2.length?nums2[j+k/2-1]:Integer.MAX_VALUE;\r\n\t\t\r\n\t\tif(m1<m2)return find(nums1, i+k/2, nums2, j, k-k/2);\r\n\t\telse return find(nums1, i, nums2, j+k/2, k-k/2);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2ed66df1619802dd95a21c228b9c2616", "score": "0.4808591", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tchar[] word1={'I','N','D','I','A'};\r\n\t\tchar[] word2={'I','I','N','Z','D','A'};\r\n\t\tHashMap<Character,Integer> value=new HashMap<Character,Integer>();\r\n\r\n\t\tfor(char w:word1){\r\n\t\t\tif(value.containsKey(w)){\r\n\t\t\t\tint i=value.get(w);\r\n\t\t\t\tvalue.put(w, i+1);\r\n\t\t\t}else{\r\n\t\t\t\tvalue.put(w, 1);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tfor(char w1:word2){\r\n\t\t\tif(value.containsKey(w1)){\r\n\t\t\t\tint i=value.get(w1);\r\n\t\t\t\tvalue.put(w1, i-1);\r\n\t\t\t}else{\r\n\t\t\t\tvalue.put(w1, 1);\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(value);\r\n\t}", "title": "" }, { "docid": "8665ff02a1e7210b7f65be02787acfa8", "score": "0.47992322", "text": "@Override\n public int index(int i, int j) {\n int[] dims = dimensions();\n return i + (j - 1) * dims[1];\n }", "title": "" }, { "docid": "b33db3fc83069d1c1c266541f4719419", "score": "0.4792014", "text": "private boolean isCoveredBy(int i, int j) { \n int xFirst = countX(terms.get(i)), xSecond = countX(terms.get(j));\n if (xFirst >= xSecond) {\n return false;\n } \n \n String first = terms.get(i), second = terms.get(j);\n for (int t = 0; t < first.length(); ++t) {\n char charFirst = first.charAt(t);\n char charSecond = second.charAt(t);\n if (charSecond != 'x') {\n if (charFirst != charSecond) return false;\n } \n }\n return true;\n }", "title": "" }, { "docid": "7e44ba48e1ffd1b9415a9c4aa1f0fea9", "score": "0.4790685", "text": "public int NaiveLCSLength(String x, String y,int i, int j){\n\t\tNaiveCounter +=1;\n\t\tif(i<0 || j<0){\n\t\t\treturn 0;\n\t\t}\n\n\t\tif(x.charAt(i) == y.charAt(j)){\n\t\t\treturn NaiveLCSLength(x,y,i-1,j-1)+1;\n\t\t}else{\n\t\t\tint c1 = NaiveLCSLength(x,y,i-1,j);\n\t\t\tint c2 = NaiveLCSLength(x,y,i,j-1);\n\t\t\t\n\t\t\tif(c1 > c2){\n\t\t\t\treturn c1;\n\t\t\t}else{\n\t\t\t\treturn c2;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "90311c1efa12164c853a2efd8eeec762", "score": "0.47891045", "text": "private static int mcHelper(int[][] arr, int[][] g, int i, int j)\r\n {\r\n int mcsum = 0;\r\n for (int k = 0; k < 4; k++) {\r\n int a = g[i][k];\r\n int b = arr[k][j];\r\n mcsum ^= mcCalc(a, b);\r\n }\r\n return mcsum;\r\n }", "title": "" }, { "docid": "0888423919c4d701c263d1aed5d40299", "score": "0.47836822", "text": "private Integer getSolution2(int[] NA) {\n int n = NA.length;\n AtomicInteger count = new AtomicInteger(0);\n IntStream.range(0, n - 1).forEach(i -> {\n Integer leader1 = getLeader.apply(Arrays.copyOfRange(NA, 0, i + 1));\n Integer leader2 = getLeader.apply(Arrays.copyOfRange(NA, i + 1, n));\n if (leader1 != 1000000001 && leader2 != 1000000001 && leader1 == leader2) {\n count.getAndIncrement();\n }\n // Integer leader1 = getLeader.apply(Arrays.copyOfRange(NA, 0, i + 1));\n // if (1000000001 != leader1) {\n // Integer leader2 = getLeader.apply(Arrays.copyOfRange(NA, i + 1, n));\n // if (1000000001 != leader2 && leader1 == leader2) {\n // count.getAndIncrement();\n // }\n // }\n });\n return count.get();\n }", "title": "" }, { "docid": "d7414da9d635288f073b85959ea19ec8", "score": "0.47702837", "text": "void mo50425c(long j, int i);", "title": "" }, { "docid": "5e0751c537b41b521dde1cba73849419", "score": "0.4759862", "text": "public long dfs(int i, int j, int eq1, int eq2, String s1, String s2, String evil, int[] kmp, Long[][][][] dp){\n \n if (j == evil.length()) return 0;\n if (i == s1.length()) return 1;\n if (dp[i][j][eq1][eq2] != null) return dp[i][j][eq1][eq2];\n long res = 0L;\n for (char c = 'a'; c <= 'z'; c++){\n int nj = j; \n while (nj > 0 && evil.charAt(nj) != c){\n nj = kmp[nj-1];\n }\n if (evil.charAt(nj) == c) nj++;\n //System.out.println(nj);\n int neq1 = c > s1.charAt(i) ? 0:1;\n int neq2 = c < s2.charAt(i) ? 0:1;\n //System.out.println(c + \"Letter \" + neq1 + \" \" + neq2);\n if (eq1 == 0 && eq2 == 0){\n res += dfs(i+1, nj, 0, 0, s1, s2, evil, kmp, dp);\n res %= MOD;\n } else if (eq1 == 1 && eq2 == 1 && c >= s1.charAt(i) && c <= s2.charAt(i)){\n res += dfs(i+1, nj, neq1, neq2, s1, s2, evil, kmp, dp);\n res %= MOD;\n } else if (eq1 == 1 && eq2 == 0 && c >= s1.charAt(i)){\n \n res += dfs(i+1, nj, neq1, 0, s1, s2, evil, kmp, dp);\n res %= MOD;\n } else if (eq2 == 1 && eq1 == 0 && c <= s2.charAt(i)){\n res += dfs(i+1, nj, 0, neq2, s1, s2, evil, kmp, dp);\n res %= MOD;\n } \n }\n dp[i][j][eq1][eq2] = res;\n return res;\n }", "title": "" }, { "docid": "5a23449fbacaf08078ae44ce16ea4be7", "score": "0.47462708", "text": "public static void main(String[] args) {\nint arr1[]= {1,2,4,5,6,8,9};\nint arr2[]= {0,4,3,1,8,10};\nfor(int i=0;i<arr1.length;i++)\n{\n\tfor(int j=0;j<arr2.length;j++)\n\t{\n\t\tif(arr1[i]==arr2[j])\n\t\t{\n\t\t\tSystem.out.println(arr1[i]);\n\t\t}\n\t\t\t\n\t}\n}\n}", "title": "" }, { "docid": "2ba5ae508971c5abc5beee278e786f87", "score": "0.4744676", "text": "@Test\n void testCarryOver() {\n KMPStrategy kmp = new KMPStrategy(\"mamamia\");\n assertTrue(kmp.equalsCarryOver(new int[]{-1, 0, -1, 0, -1, 3, 0}));\n }", "title": "" }, { "docid": "972711d20f92b81920c8c7e6b6af83f6", "score": "0.47422275", "text": "static int travelAroundTheWorld(int[] a, int[] b, long c) {\n\n long req [] = new long[a.length];\n Arrays.fill(req,0);\n for (int i = a.length-1 ; i >= 0; i--) {\n if(b[i] > a[i]){\n req[i] = b[i]-a[i];\n }\n }\n for (int i = a.length-2 ; i >= 0; i--) {\n if(b[i]+req[i+1]-a[i] > 0){\n req[i] = b[i]+req[i+1]-a[i];\n }\n }\n\n if(b[a.length-1]+req[0]-a[a.length-1] > 0){\n req[a.length-1] = b[a.length-1]+req[0]-a[a.length-1];\n }\n\n\n for (int i = a.length-2 ; i >= 0; i--) {\n if(b[i]+req[i+1]-a[i] > 0){\n req[i] = b[i]+req[i+1]-a[i];\n }else{\n break;\n }\n }\n\n int count = 0;\n for (int i = 0; i < a.length ; i++) {\n if(req[i] == 0)\n count++;\n if(req[i]+a[i] > c){\n return 0;\n }\n }\n return count;\n }", "title": "" }, { "docid": "a9b1a852a5fe6212a012a9dff0001773", "score": "0.47347105", "text": "private long getGenericJoinCardinality(List<EqJoinConjunctScanSlots> eqJoinConjunctSlots,\n long lhsCard, long rhsCard) {\n Preconditions.checkState(joinOp.isInnerJoin() || joinOp.isOuterJoin());\n Preconditions.checkState(!eqJoinConjunctSlots.isEmpty());\n Preconditions.checkState(lhsCard >= 0 && rhsCard >= 0);\n\n long result = -1;\n for (EqJoinConjunctScanSlots slots : eqJoinConjunctSlots) {\n // Adjust the NDVs on both sides to account for predicates. Intuitively, the NDVs\n // should only decrease. We ignore adjustments that would lead to an increase.\n double lhsAdjNdv = slots.lhsNdv();\n if (slots.lhsNumRows() > lhsCard) {\n lhsAdjNdv *= lhsCard / slots.lhsNumRows();\n }\n double rhsAdjNdv = slots.rhsNdv();\n if (slots.rhsNumRows() > rhsCard) {\n rhsAdjNdv *= rhsCard / slots.rhsNumRows();\n }\n // A lower limit of 1 on the max Adjusted Ndv ensures we don't estimate\n // cardinality more than the max possible.\n long joinCard = CheckedMath.checkedMultiply(\n Math.round((lhsCard / Math.max(1, Math.max(lhsAdjNdv, rhsAdjNdv)))), rhsCard);\n if (result == -1) {\n result = joinCard;\n } else {\n result = Math.min(result, joinCard);\n }\n }\n Preconditions.checkState(result >= 0);\n return result;\n }", "title": "" }, { "docid": "9dee5c3b8e58e84482a90988d15b667b", "score": "0.4733043", "text": "static int zombieCluster(String[] zombies) {\n \tint count = 0;\n \tint[][] inputMatrix = getMatrix(zombies);\n \tint size = zombies.length;\n \tSet<Integer> cluster = new HashSet<>();\n \tcluster.add(0);\n \tfor (int i = 0; i < size; i++) {\n \t\tboolean matched = false;\n \t\tfor (int j = 0; j < size; j++ ) {\n \t\t\tint value = inputMatrix[i][j];\n \t\t\tif (value == 1 && !cluster.contains(j)) {\n \t\t\t\tif (i != j || cluster.size() == 0) {\n \t\t\t\t\tcluster.add(j);\n \t\t\t\t\tmatched = true;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tif (!matched) {\n \t\t\tcount ++;\n \t\t\tcluster = new HashSet<>();\n \t\t\tcluster.add(i + 1);\n \t\t}\n \t}\n \treturn count;\n }", "title": "" }, { "docid": "03c84297a87afa16afa7bd6d8cc2da67", "score": "0.472565", "text": "private static double compareTwoVectors(Point a1, Point a2, Point b1, Point b2) {\n return (a2.getX() - a1.getX()) * (b2.getY() - b1.getY()) - (b2.getX() - b1.getX()) * (a2.getY() - a1.getY());\n\n }", "title": "" }, { "docid": "b5609a4f717212d89989fa399825911f", "score": "0.47239825", "text": "public void lcsLength(byte[] a, byte[] b) {\n int m = a.length;\n int n = b.length;\n var C = new int[m + 1][n + 1];\n for (int i = 1; i <= m; i++) {\n for (int j = 1; j <= n; j++) {\n if (a[i - 1] == b[j - 1]) {\n C[i][j] = C[i - 1][j - 1] + 1;\n } else {\n C[i][j] = Math.max(C[i][j - 1], C[i - 1][j]);\n }\n }\n }\n this.result.C = C;\n this.result.len = C[m][n];\n }", "title": "" }, { "docid": "05cfdce6f7f42bad6248af3f002a200a", "score": "0.47238275", "text": "public int j() {\n return (this.j + 1) % this.i.length;\n }", "title": "" }, { "docid": "04c85403d530a044ed3b9ccb1ddbf869", "score": "0.47223827", "text": "public int lcs(String a, String b, int aLen, int bLen) { \n \n if (aLen == 0 || bLen == 0) \n return 0; \n \n if (a.charAt(aLen -1) == b.charAt(bLen -1)) // checking if last character is the same\n return 1 + lcs(a, b, aLen-1, bLen-1); \n else\n return Math.max(lcs(X, Y, aLen, bLen-1), lcs(X, Y, aLen-1, bLen)); \n}", "title": "" }, { "docid": "1faf9cabd8f1f93e504df6ef32087c9b", "score": "0.47158182", "text": "public int findLength(int[] A, int[] B) {\n int ret = 0;\n for(int i = B.length - 1; i > 0; i--){\n int counter = 0;\n for(int j = 0; j < A.length && i + j < B.length; j++){\n if(B[i+j] == A[j]) ret = Math.max(++counter, ret);\n else counter = 0;\n }\n }\n for(int i = 0; i < A.length; i++){\n int counter = 0;\n for(int j = 0; j < B.length && i + j < A.length; j++){\n if(A[i+j] == B[j]) ret = Math.max(++counter, ret);\n else counter = 0;\n }\n }\n return ret;\n }", "title": "" }, { "docid": "39a6ff31c5848c105261bd31512c2771", "score": "0.47074616", "text": "static int getTotalX(int[] a, int[] b) {\n \nint f = lcm(a);\n int l = gcd(b);\n int count = 0;\n for (int i = f, j = 2; i <= l; i = f * j, j++) {\n if (l % i == 0) {\n count++;\n }\n }\n return count;\n\n\n\n }", "title": "" }, { "docid": "69549a44d049e3753f081496146f6551", "score": "0.47034988", "text": "private static void kDiffMainPair(int[] array, int k) {\n\t\tint count = 0, valueA = 0, valueB = 0;\n\t\tfor(int i=0; i<array.length; i++){\n\t\t\tfor(int j=i+1; j<array.length; j++){\n\t\t\t\tif(Math.abs(array[i] - array[j]) == k){\n\t\t\t\t\tif((valueA == array[i] && valueB == array[j])\n\t\t\t\t\t || (valueB == array[i] && valueA == array[j])){\n\t\t\t\t\t\tvalueA = array[i];\n\t\t\t\t\t\tvalueB = array[j];\n\t\t\t\t\t\tif(count <= 0)\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t}else{\n\t\t\t\t\t\tvalueA = array[i];\n\t\t\t\t\t\tvalueB = array[j];\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}", "title": "" }, { "docid": "a2390ccd2b6c1c312d93781c1dd77bca", "score": "0.47005087", "text": "public static void main(String[] args) throws IOException{\n BufferedReader f = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n char[] a = f.readLine().toCharArray();\n char[] b = f.readLine().toCharArray();\n int[][] dp = new int[a.length+1][b.length+1];\n for(int i = 1; i <= a.length; i++) {\n dp[i][0] = i;\n }\n for(int i = 1; i <= b.length; i++) {\n dp[0][i] = i;\n }\n for(int i = 1; i <= a.length; i++) {\n for(int j = 1; j <= b.length; j++) {\n dp[i][j] = Math.min(dp[i-1][j-1]+(a[i-1] == b[j-1] ? 0 : 1), Math.min(dp[i][j-1]+1, dp[i-1][j]+1));\n }\n }\n out.println(dp[a.length][b.length]);\n f.close();\n out.close();\n }", "title": "" }, { "docid": "223c0e7350aab0202235ab21fafade3d", "score": "0.46931753", "text": "public static int convert_j(char chesscoord) {\n\t\t\tint j = 0;\n\t\t\tif (chesscoord == 'a') {\n\t\t\t\tj = 0;\n\t\t\t} else if (chesscoord == 'b') {\n\t\t\t\tj = 1;\n\t\t\t} else if (chesscoord == 'c') {\n\t\t\t\tj = 2;\n\t\t\t} else if (chesscoord == 'd') {\n\t\t\t\tj = 3;\n\t\t\t} else if (chesscoord == 'e') {\n\t\t\t\tj = 4;\n\t\t\t} else if (chesscoord == 'f') {\n\t\t\t\tj = 5;\n\t\t\t} else if (chesscoord == 'g') {\n\t\t\t\tj = 6;\n\t\t\t} else if (chesscoord == 'h') {\n\t\t\t\tj = 7;\n\n\t\t\t}\n\t\t\treturn j;\n\t\t}", "title": "" }, { "docid": "6afcadaa3c1af9caca8309677d2f7d95", "score": "0.46928382", "text": "public static int sort()\r\n\t{\r\n\t\tint[] into = new int[n];\r\n\t\tfor (int i = 0; i < n; i++)\r\n\t\t\tfor (int j = 0; j < n; j++)\r\n\t\t\t\tif (map[i][j])\r\n\t\t\t\t\tinto[j]++;\r\n\t\tint tag = 0;\r\n\t\tboolean determined = true;\r\n\t\twhile (tag < n)\r\n\t\t{\r\n\t\t\tboolean find = false;\r\n\t\t\tint next=-1;\r\n\t\t\tfor (int i = 0; i < n; i++)\r\n\t\t\t{\r\n\t\t\t\tif (into[i] == 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tif (find == false)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tfind = true;\r\n\t\t\t\t\t\tnext=i;\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\tdetermined=false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(find==false)\r\n\t\t\t{\r\n\t\t\t\treturn -1;//contradict\r\n\t\t\t}\r\n\t\t\tinto[next]=-1;\r\n\t\t\tp[tag++]=(char)('A'+next);\r\n\t\t\tfor(int i=0;i<n;i++)\r\n\t\t\t\tif(map[next][i])\r\n\t\t\t\t\tinto[i]--;\r\n\t\t}\r\n\t\tif(determined)\r\n\t\t\treturn 1;//ok\r\n\t\treturn 0;//not determin\r\n\t}", "title": "" }, { "docid": "c831a84a505a1d58d13591857980ce5b", "score": "0.46902663", "text": "static int commonChild(String s1, String s2) {\r\n \tchar[] s1Arr = s1.toCharArray();\r\n \tchar[] s2Arr = s2.toCharArray();\r\n \t\r\n \tint[][] n = new int[s1Arr.length + 1][s2Arr.length + 1];\r\n \tfor (int i = 1; i < n.length; i++) {\r\n \t\tfor (int j = 1; j < n[0].length; j++) {\r\n \t\t\tif(s1Arr[i-1] == s2Arr[j-1]) {\r\n \t\t\t\tn[i][j] = n[i-1][j-1] + 1;\r\n \t\t\t} else {\r\n \t\t\t\tn[i][j] = Math.max(n[i-1][j], n[i][j-1]);\r\n \t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n \t\r\n\t\treturn n[s1Arr.length][s2Arr.length];\r\n }", "title": "" }, { "docid": "0aa5509bf643b11cfc71f4bab6629a6c", "score": "0.46882096", "text": "static int[] kmpTbl(char[] n) {\n int f[] = new int[n.length];\n int v = 0;\n for (int i = 1; i < n.length; i++) {\n while (v > 0 && n[v] != n[i]) { v = f[v - 1]; }\n if (n[v] == n[i]) { v++; }\n f[i] = v;\n }\n return f;\n }", "title": "" }, { "docid": "e900b5a0a7ebcb42cea8af25981c5fcb", "score": "0.46879083", "text": "long index();", "title": "" }, { "docid": "8c5a9f6fdab02691f2000d78f5b2309c", "score": "0.4687833", "text": "public int[] intersect3333(int[] nums1, int[] nums2) {\n int[] small = nums1.length < nums2.length ? nums1 : nums2;\n int[] big = nums1.length >= nums2.length ? nums1 : nums2;\n Arrays.sort(small);\n\n List<Number> res = new ArrayList<>();\n for (int numb : big) {\n if(Arrays.binarySearch(small, numb) >= 0) {\n res.add(numb);\n }\n }\n\n return res.stream().mapToInt(Number::intValue).toArray();\n }", "title": "" }, { "docid": "af17470068b6a3fe1ea53895bc6611c7", "score": "0.46868956", "text": "boolean mo1735a(long j, long j2);", "title": "" }, { "docid": "41436746141cd7e12dbca5a3605de990", "score": "0.46850705", "text": "private double similarity(int i, int j) {\n if (i == 0 || j == 0) {\n // it's a gap (indel)\n return INDEL_SCORE;\n }\n\n return (str1.charAt(i - 1) == str2.charAt(j - 1)) ? MATCH_SCORE : MISMATCH_SCORE;\n }", "title": "" }, { "docid": "6dc06feca5bd69ecfbfca78572612633", "score": "0.46826744", "text": "public static float computeCorrelation(HashSet<Integer> vectorI, HashSet<Integer> vectorJ) {\r\n int cntr = 0;\r\n for (int k : vectorJ)\r\n if (vectorI.contains(k))\r\n cntr++;\r\n return cntr / (float) Math.sqrt(vectorI.size() * vectorJ.size());\r\n }", "title": "" }, { "docid": "2bfafe53d891d3019f7b9377b23284ce", "score": "0.46821183", "text": "private int convertGridUFIndex(int i, int j) {\n return (i-1)*size + j;\n }", "title": "" }, { "docid": "33dfcba1e7161f7a7a5fe5d321bb4f38", "score": "0.4679953", "text": "private void calculate(double[][] coordSet1, double[][]coordSet2){\n // now this is the bridge to the Jama package:\n Matrix a = new Matrix(coordSet1);\n Matrix b = new Matrix(coordSet2);\n\n\n// # correlation matrix\n\n Matrix b_trans = b.transpose();\n Matrix corr = b_trans.times(a);\n\n\n SingularValueDecomposition svd = corr.svd();\n\n // A = U*S*V'.\n\n\n Matrix u = svd.getU();\n // v is alreaady transposed ! difference to numermic python ...\n Matrix vt =svd.getV();\n\n Matrix vt_orig = (Matrix) vt.clone();\n Matrix u_transp = u.transpose();\n\n Matrix rot_nottrans = vt.times(u_transp);\n rot = rot_nottrans.transpose();\n\n // check if we have found a reflection\n\n //printMatrix(rot);\n\n double det = rot.det();\n //System.out.println(det);\n\n if (det<0) {\n vt = vt_orig.transpose();\n vt.set(2,0,(0 - vt.get(2,0)));\n vt.set(2,1,(0 - vt.get(2,1)));\n vt.set(2,2,(0 - vt.get(2,2)));\n\n Matrix nv_transp = vt.transpose();\n rot_nottrans = nv_transp.times(u_transp);\n rot = rot_nottrans.transpose();\n\n }\n\n Matrix cb_tmp = centroidB.times(rot);\n tran = centroidA.minus(cb_tmp);\n\n\n }", "title": "" }, { "docid": "dc7983b5a047fbfb78cc6a0fd33e0930", "score": "0.4676916", "text": "public static void main(String[] args) {\n\t\tint i,k=0;\r\n\t\tfor (i = 1; i <=1000000; i++) {\r\n\t\t\tString n = Integer.toString(i);\r\n\t\t\tString l = new StringBuffer(n).reverse().toString();\r\n\t\t\t\r\n\t\t\tif(n.equals(l))\r\n\t\t\t{\r\n\t\t\t\tStringBuffer br = new StringBuffer();\r\n\t\t\t\tint z=0;\r\n\t\t\t\tz=i;\r\n\t\t\t\twhile (z >= 1) {\r\n\t\t\t\t\tif (z % 2 != 0) {\r\n\t\t\t\t\t\tbr.append(1);\r\n\t\t\t\t\t} else if (z % 2 == 0) {\r\n\t\t\t\t\t\tbr.append(0);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tz = (z / 2);\r\n\t\t\t\t}\r\n\t\t\t\tString m=br.toString();\r\n\t\t\t\t\r\n\t\t\t\tString y=new StringBuffer(m).reverse().toString();\r\n\t\t\t\r\n\t\t\t\tif(m.equals(y))\r\n\t\t\r\n\t\t\t\t{\r\n\t\t\t\t\tk+=i;\r\n\t\t\t\t}\r\n\r\n\t\t\t} \r\n\t\r\n\t\t}\r\n\t\tSystem.out.println(k);\r\n\t}", "title": "" }, { "docid": "964d4199ca5be5bf759bb05b066b40b9", "score": "0.46766984", "text": "public static int LCS(char[] arr1 , char[] arr2 , int n , int m)\n\t{\n\t\tint L[][]= new int[n+1][m+1];\n\t\tfor(int i=0;i<=n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<=m;j++)\n\t\t\t{\n\t\t\t\t// if i=0 or j=0 , the size of common subsequence will also be zero\n\t\t\t\tif(i==0 || j==0)\n\t\t\t\t{\n\t\t\t\t\tL[i][j]=0;\n\t\t\t\t}\n\t\t\t\t// when the characters are same\n\t\t\t\telse if(arr1[i-1]==arr2[j-1])\n\t\t\t\t{\n\t\t\t\t\tL[i][j]=L[i-1][j-1]+1;\n\t\t\t\t}\n\t\t\t\t// when characters are different\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tL[i][j]=Math.max(L[i-1][j], L[i][j-1]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn L[n][m];\n\t\t\n\t}", "title": "" }, { "docid": "6421651a947767224d9f119cd6d5dfc5", "score": "0.46758157", "text": "static ArrayList<String> intersection (BinarySearchTree Tree1, BinarySearchTree Tree2 ){\n\n String [] Tree1Array= Tree1.inOrder(Tree1.getRoot()).split(\"<<\");\n String [] Tree2Array= Tree2.inOrder(Tree2.getRoot()).split(\"<<\");\n\n HashTable<String,Integer> compiles= new HashTable<>();\n\n ArrayList<String> result = new ArrayList<>();\n\n for ( String item: Tree1Array){\n if (! compiles.contain(item)){\n compiles.add(item,1);\n }else{\n compiles.add(item,compiles.get(item)+1);\n }\n }\n\n for ( String i: Tree2Array){\n if (! compiles.contain(i)){\n compiles.add(i,1);\n }else{\n\n compiles.add(i,compiles.get(i)+1);\n result.add(i);\n\n }\n }\n return result;\n\n\n }", "title": "" }, { "docid": "9ba61e5ba9b8a0ea9b47711237fd636b", "score": "0.46753812", "text": "private int helper(int[] a, int i, int j)\n\t{\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "aa3e421378be51e4701195ef368c31aa", "score": "0.46663356", "text": "public static int mcs(String xstr, String ystr){\n\t\tStringBuffer sb1 = new StringBuffer(xstr);\r\n\t\tsb1.insert(0, ' ');\r\n\t\txstr = sb1.toString();\r\n\t\tStringBuffer sb2 = new StringBuffer(ystr);\r\n\t\tsb2.insert(0, ' ');\r\n\t\tystr = sb2.toString();\r\n\t\t\r\n\t\tchar[] x = xstr.toCharArray();\r\n\t\tchar[] y = ystr.toCharArray();\r\n\t\t\r\n\t\tint[][] m = new int[x.length][y.length]; //max match before current chars\r\n\t\tint[][] l = new int[x.length][y.length]; //max match containing current chars\r\n\t\t\r\n\t\tfor(int i = 1; i < x.length;i++){\r\n\t\t\tfor(int j = 1; j < y.length; j++){\r\n\t\t\t\tl[i][j]= (x[i] == y[j]) ? l[i-1][j-1] + 1 : 0;\r\n\t\t\t\t\r\n\t\t\t\tint a;\r\n\t\t\t\tif(x[i] == y[j]){\r\n\t\t\t\t\ta = (l[i-1][j-1] + 1 > m[i-1][j-1]) ? l[i-1][j-1] + 1 : m[i-1][j-1];\r\n\t\t\t\t}else{\r\n\t\t\t\t\ta = m[i-1][j-1];\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tm[i][j] = max3(m[i-1][j], m[i][j-1],a);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t//MatrixCh.latex_2d(m, 0, 0);\r\n\t\t\r\n\t\t//System.out.println();\r\n\t\t\r\n\t\t//MatrixCh.latex_2d(l,0,0);\r\n\t\treturn m[x.length-1][y.length-1];\r\n\t}", "title": "" }, { "docid": "6b7c807f6023493c714775202a9da5d7", "score": "0.46599412", "text": "boolean mo1829a(int i, long j);", "title": "" }, { "docid": "e289aecd13f1da5301f1cd4af0715fa8", "score": "0.46562907", "text": "public static int ToSerialIndex(int i, int j, int rowLength)\n {\n return i*rowLength + j;\n }", "title": "" }, { "docid": "dcf106f9fda768962b170a250da4a4a8", "score": "0.46562028", "text": "public Boolean isCollided(Vec3 start1, Vec3 end1, Vec3 start2, Vec3 end2) {\n\t\tif ((start1.zCoord == start2.zCoord) && (end1.zCoord == end2.zCoord)) {\n\t\t\tif (((start1.xCoord - end1.xCoord) * (start2.yCoord - end2.yCoord)\n\t\t\t\t\t- (start1.yCoord - end1.yCoord) * (start2.xCoord - end2.xCoord)) <= 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tif ((start1.yCoord == start2.yCoord) && (end1.yCoord == end2.yCoord)) {\n\t\t\tif (((start1.xCoord - end1.xCoord) * (start2.zCoord - end2.zCoord)\n\t\t\t\t\t- (start1.zCoord - end1.zCoord) * (start2.xCoord - end2.xCoord)) <= 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tif ((start1.xCoord == start2.xCoord) && (end1.xCoord == end2.xCoord)) {\n\t\t\tif (((start1.zCoord - end1.zCoord) * (start2.yCoord - end2.yCoord)\n\t\t\t\t\t- (start1.yCoord - end1.yCoord) * (start2.zCoord - end2.zCoord)) <= 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t// Check if vectors in one plane\n\t\t/*\n\t\t * boolean x1 = false, x2 = false, y1 = false, y2 = false, z1 = false, z2 =\n\t\t * false; if(start1.xCoord == start2.xCoord) x1 = true; if(start1.yCoord ==\n\t\t * start2.yCoord) y1 = true; if(start1.zCoord == start2.zCoord) z1 = true;\n\t\t * \n\t\t * if(end1.xCoord == end2.xCoord) x2 = true; if(end1.yCoord == end2.yCoord) y2 =\n\t\t * true; if(end1.zCoord == end2.zCoord) z2 = true;\n\t\t * \n\t\t * if(x1 && y1 || x2 && y1 && y2) {//in z line if((start1.zCoord >=\n\t\t * start2.zCoord && end1.zCoord >= end2.zCoord) || (start1.zCoord <=\n\t\t * start2.zCoord && end1.zCoord >= end2.zCoord)|| (start1.zCoord >=\n\t\t * start2.zCoord && end1.zCoord <= end2.zCoord)) return true; }if(x1 && z1 && x2\n\t\t * && z2) {//in y place if((start1.yCoord >= start2.yCoord && end1.yCoord >=\n\t\t * end2.yCoord) || (start1.yCoord <= start2.yCoord && end1.zCoord >=\n\t\t * end2.yCoord)|| (start1.yCoord >= start2.yCoord && end1.zCoord <=\n\t\t * end2.yCoord)) return true; }if(y1 && z1 && y2 && z2) {//in x place\n\t\t * if((start1.xCoord >= start2.xCoord && end1.xCoord >= end2.xCoord) ||\n\t\t * (start1.xCoord <= start2.xCoord && end1.xCoord >= end2.xCoord)||\n\t\t * (start1.xCoord >= start2.xCoord && end1.xCoord <= end2.xCoord)) return true;\n\t\t * }\n\t\t */\n\t\treturn false;\n\t}", "title": "" }, { "docid": "1e9f75e97cb7c48b485c4defb06c2ac0", "score": "0.46560887", "text": "abstract int getIndex(double[] arr, int a, int b, double v);", "title": "" }, { "docid": "4a3ae9dc14e1fef0a3e4c366256c9b0e", "score": "0.46478713", "text": "public int minDominoRotations2(int[] A, int[] B) {\n \n int[] countA = new int[7]; // countA[i] records the occurrence of i in A.\n int[] countB = new int[7]; // countB[i] records the occurrence of i in B.\n int[] same = new int[7]; // same[k] records the occurrence of k, where k == A[i] == B[i].\n for (int i = 0; i < A.length; i++) {\n ++countA[A[i]];\n ++countB[B[i]];\n if (A[i] == B[i]) { ++same[A[i]]; }\n }\n for(int i=1; i<=6; i++) {\n if(countA[i] + countB[i] - same[i] == A.length) {\n return Math.min(countA[i], countB[i]) - same[i];\n }\n }\n return -1;\n }", "title": "" }, { "docid": "4d578d0db9e1c18106184defae1b7466", "score": "0.46455657", "text": "public int jumps(int k, int j) {\n int answer = 0;\n\n if(k < j){\n answer = k / 1;\n }else if(k == j){\n answer = 1;\n }else if(k > j){\n int remainder = k % j;\n int jump = (k-remainder) / j;\n answer = jump + remainder;\n }\n\n return answer;\n }", "title": "" }, { "docid": "1cde1c7f88a40baafcd11076be5a805f", "score": "0.46434295", "text": "public static int lcs_3(String s1 , String s2){\n\t\tint n = s1.length() , m = s2.length();\n\t\tint dp[][] = new int[n+1][m+1];\n\t\tfor(int i = 0 ;i < n + 1 ;i++)\n\t\t\tdp[i][0] = 0 ; // Not requrired as by defalut values are 0 \n\t\tfor(int j = 0 ;j < m + 1;j++)\n\t\t\tdp[0][j] = 0;\n\t\tfor(int i = 1;i < n + 1;i++){\n\t\t\tfor(int j = 1 ;j < m + 1;j++){\n\t\t\t\tif(s1.charAt ( i - 1) == s2.charAt(j - 1))\n\t\t\t\t\tdp[i][j] = 1 + dp[i-1][j-1];\n\t\t\t\telse\n\t\t\t\t\tdp[i][j] = Math.max(dp[i-1][j],dp[i][j-1]);\n\t\t\t}\n\t\t}\n\t\treturn dp[n][m];\n\t}", "title": "" }, { "docid": "5b67260a99eaada017887cccd778fed6", "score": "0.46400094", "text": "private int getID( int i , int j ) { return ( ( i * size ) + j ); }", "title": "" }, { "docid": "d2945cb6b3cc2212549f66870127e1d8", "score": "0.46373773", "text": "public static double jaroDistance(String s1, String s2) {\n if (s1.equals(s2))\n return 1.0;\n\n // Length of two Strings\n int len1 = s1.length(),\n len2 = s2.length();\n\n // Maximum distance upto which matching\n // is allowed\n int max_dist = (int) (Math.floor(Math.max(len1, len2) / 2) - 1);\n\n // Count of matches\n int match = 0;\n\n // Hash for matches\n int hash_s1[] = new int[s1.length()];\n int hash_s2[] = new int[s2.length()];\n\n // Traverse through the first String\n for (int i = 0; i < len1; i++) {\n for (int j = Math.max(0, i - max_dist);\n j < Math.min(len2, i + max_dist + 1); j++)\n if (s1.charAt(i) == s2.charAt(j) && hash_s2[j] == 0) {\n hash_s1[i] = 1;\n hash_s2[j] = 1;\n match++;\n break;\n }\n }\n if (match == 0)\n return 0.0;\n\n // Number of transpositions\n double t = 0;\n\n int point = 0;\n\n // Count number of occurances\n // where two characters match but\n // there is a third matched character\n // in between the indices\n for (int i = 0; i < len1; i++)\n if (hash_s1[i] == 1) {\n\n // Find the next matched character\n // in second String\n while (hash_s2[point] == 0)\n point++;\n\n if (s1.charAt(i) != s2.charAt(point++))\n t++;\n }\n\n t /= 2;\n double ans = (((double) match) / ((double) len1)\n + ((double) match) / ((double) len2)\n + ((double) match - t) / ((double) match))\n / 3.0;\n\n return ans * 100;\n }", "title": "" }, { "docid": "d32d06365b6a5930e7db3111b12133d6", "score": "0.462793", "text": "@Override public int compare(Object i, Object j)\n {\n int[] i0i1 = (int[])i;\n int[] j0j1 = (int[])j;\n float iZ = finalPolyCentersZ[i0i1[0]][i0i1[1]];\n float jZ = finalPolyCentersZ[j0j1[0]][j0j1[1]];\n // sort from increasing z to decreasing! that is because the z's got negated just before the projection!\n return iZ > jZ ? -1 :\n iZ < jZ ? 1 : 0;\n }", "title": "" }, { "docid": "2cf997b071004a1f048002682e00178d", "score": "0.46230707", "text": "public static int[] indekssortering(int[] a) {\n int[] temp = new int[a.length];\n int[] index = new int[a.length];\n System.arraycopy(a, 0, temp, 0 ,a.length);\n for (int i = 0; i < temp.length-1 ; i++) {\n bytt(temp, i, min(temp, i, temp.length));\n }\n for (int i = 0; i < temp.length; i++) {\n for (int j = 0; j < a.length ; j++) {\n if(temp[i] == a[j]){\n index[i] = j;\n }\n }\n }\n return index;\n }", "title": "" } ]
e5623496c9feb794edefa154cd9eaefb
Get the full path from the base directory of the FileSystemView.
[ { "docid": "e025d3e94595bc52bc45d5fb5167efee", "score": "0.0", "text": "String getAbsolutePath();", "title": "" } ]
[ { "docid": "8b4c1bcedca38e824076b163906bbf8e", "score": "0.69058895", "text": "public String getBase() {\n\t\tString path = StringUtils.defaultString(myBase);\n\t\tif (path.length() > 0 && path.charAt(path.length() - 1) == '/') {\n\t\t\tpath = path.substring(0, path.length() - 1);\n\t\t}\n\t\treturn path;\n\t}", "title": "" }, { "docid": "717908c91138f99497b1491ac76a75b9", "score": "0.67011744", "text": "Path getBaseDir();", "title": "" }, { "docid": "8f08ca9d7c7fdf4ccdf047a041009633", "score": "0.66069674", "text": "public File getBasedir() {\n return (baseDir != null) ? baseDir : getProject().resolveFile(\".\");\n }", "title": "" }, { "docid": "6fe3aad5f2b9100a34ea63e175594e1f", "score": "0.65958726", "text": "public String getFullLocationFileRoot()\n {\n return fullDirectory.getPath()+File.separator+getRootName();\n }", "title": "" }, { "docid": "fa8ba0f816dc6f7d6818b0473534ed33", "score": "0.6516546", "text": "File getBaseDir();", "title": "" }, { "docid": "6d13e42fb2675aa298d506414daa833e", "score": "0.64919156", "text": "public File getStorageFsBasePath() {\n\t\treturn new File(storageFsBasePath);\n\t}", "title": "" }, { "docid": "45bacd7f20e7852e1be84fa81182a3b2", "score": "0.6441376", "text": "String getRootPath();", "title": "" }, { "docid": "207c803676ceeb6d9884c56a82bf47eb", "score": "0.6439277", "text": "public abstract String getRootPath();", "title": "" }, { "docid": "2f22a50ffd3b376d38d7566a60d3ec6e", "score": "0.6342997", "text": "public java.lang.String getBasedir() {\n\t\treturn this._basedir;\n\t}", "title": "" }, { "docid": "f1cb6c05cd02636483e9a70df9de4fdb", "score": "0.62811905", "text": "public static String getBaseFilesystemDir() throws Exception {\r\n return ((ServletContext)FacesContext.getCurrentInstance().getExternalContext().getContext()).getRealPath(\"/\");\r\n }", "title": "" }, { "docid": "1b0bf50d8b9171547cc26ec17adab390", "score": "0.62340736", "text": "public String getBasePath()\n {\n return getApiClient().getBasePath();\n }", "title": "" }, { "docid": "6f26823d8c52375cd5dca21c3820c6dd", "score": "0.622707", "text": "public static String getLocalBasePath() {\n\t\treturn DataManager.localbase;\n\t}", "title": "" }, { "docid": "c09c7ecb465ce8797173ac4c248ae6d2", "score": "0.62045723", "text": "public String getBasePath() {\n return basePath;\n }", "title": "" }, { "docid": "3b666d7a9ae87c37523a52e507f9cf8a", "score": "0.6184117", "text": "private String getFilePath() {\n\t DropTargetEvent event = getCurrentEvent();\n\t if (event!=null&&event.data!=null) {\n\t final String fullPath = ((String[])event.data)[0];\t \n\t if (isFullPath) return fullPath;\n\t final String workspace= ResourcesPlugin.getWorkspace().getRoot().getLocation().toOSString();\n\t return fullPath.substring(workspace.length()+1, fullPath.length()).replace('\\\\', '/');\n\t \n\t } else {\n\t\t \n\t\t final IResource res = getSelected();\n\t\t if (res!=null) {\n\t\t\t final String fullPath = res.getRawLocation().toOSString();\n\t\t\t isFullPath = res.isLinked(IResource.CHECK_ANCESTORS);\n\t\t\t isFolder = res instanceof IContainer;\n\t\t\t if (isFullPath) {\n\t\t\t\t return fullPath;\n\t\t\t } else {\n\t\t\t\t final String workspace= ResourcesPlugin.getWorkspace().getRoot().getLocation().toOSString();\n final int workLen = workspace.length()+1;\n \t\t\t\t return fullPath.substring(workLen, fullPath.length()).replace('\\\\', '/');\n\t\t\t }\n\t\t }\n\t }\n\n\t return null;\n }", "title": "" }, { "docid": "bc7bf76d4bec3bc6d594c4b917760809", "score": "0.617093", "text": "java.lang.String getLocalPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.61637557", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.61637557", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.61637557", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.61637557", "text": "java.lang.String getPath();", "title": "" }, { "docid": "bdba4ce6bb8dcdcc6bdbc28f0cbc5da7", "score": "0.6126923", "text": "public static String getCurrentPath(){\n\t\treturn DataManager.localbase + slash + DataManager.projectFolder + slash + DataManager.versionFolder;\n\t}", "title": "" }, { "docid": "d27e843c5b17579241c23e487ceb0b50", "score": "0.61147404", "text": "public String getPathBaseFotos() {\n String path = System.getProperty(\"user.dir\");\r\n String pathBD = path+\"\\\\IMG\\\\\";\r\n return pathBD; \r\n }", "title": "" }, { "docid": "b8dd0f44f34a702935349094780e8de3", "score": "0.61043394", "text": "@Override\n\tpublic String getDst() {\n\t\treturn CONF.BASE_PATH;\n\t}", "title": "" }, { "docid": "03e3089452c7f9699ee176b99ac3617a", "score": "0.6091212", "text": "public String getPath() {\n\t\tString path = StringUtils.defaultString(myPath);\n\t\tif (path.length() > 0 && path.charAt(path.length() - 1) == '/') {\n\t\t\tpath = path.substring(0, path.length() - 1);\n\t\t}\n\t\treturn path;\n\t}", "title": "" }, { "docid": "474c06d44e92198cefa62ddc41fc8d10", "score": "0.6090475", "text": "protected IPath getBaseLocation() {\n return ResourcesPlugin.getWorkspace().getRoot().getLocation();\n }", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.6082372", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.6082372", "text": "public String getPath();", "title": "" }, { "docid": "a6a98d577efb836dc3aaa072ab5e1753", "score": "0.6066219", "text": "public String getFullPath() {\n return this.path + this.getFullName() + this.extension;\n }", "title": "" }, { "docid": "20bb838d4b4cc22539e77c35ffe9b6b9", "score": "0.6058306", "text": "@Override\n\tpublic String getBasePath()\n\t{\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8a0e398253023db2bbbc912f675d9efa", "score": "0.6051579", "text": "synchronized File getBaseDirectory()\n {\n return (downloaded != null) ? downloaded.getBaseDirectory() : null;\n }", "title": "" }, { "docid": "c54e545e6e4a819be7f5f1d3a90e88f9", "score": "0.60489017", "text": "public final String getCurrentPath() {\n StringBuilder result = new StringBuilder();\n addPathTo(result);\n return result.toString();\n }", "title": "" }, { "docid": "26d2d7ceaa8c5158e715247247c482f4", "score": "0.6047134", "text": "public String getRootFilepath() {\n String rootFilepath = \"\";\n try {\n rootFilepath = this.getClass().getClassLoader().getResource(\"/\").toURI().getPath() + \"/AppPlatFile\" + \"/\";\n } catch (URISyntaxException e) {\n e.printStackTrace();\n }\n return rootFilepath;\n }", "title": "" }, { "docid": "fb14a6be79a896854ed2ced0310f7543", "score": "0.6037064", "text": "public abstract String getPath();", "title": "" }, { "docid": "e71da6b117dc156ff423ec17aa420008", "score": "0.6036937", "text": "public String getLocationPath();", "title": "" }, { "docid": "3e2371b1d8cf6670da0eead3cbde6b67", "score": "0.603589", "text": "public String getPathBaseBaseDatos() {\n String path = System.getProperty(\"user.dir\");\r\n String pathBD = path+\"\\\\BD\\\\\";\r\n return pathBD; \r\n }", "title": "" }, { "docid": "ff29be69f214ed9d54b0d7b4275ae7ec", "score": "0.60239154", "text": "public String getAbsolutePath(String filename, String base, String subdir);", "title": "" }, { "docid": "11e3145a79ec2f7aa75889bb2d1e5366", "score": "0.6010947", "text": "protected abstract String getPath();", "title": "" }, { "docid": "4914eb4c7423cb7eebe6d57d84f87662", "score": "0.6003643", "text": "public String getSubDirectoryPath(){return fullDirectory.getPath(); }", "title": "" }, { "docid": "8ed3c45b4f1525b4b95f029446c1f752", "score": "0.6000602", "text": "public String getPath() {\n return getFile().getPath();\n }", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5999152", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5999152", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5999152", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5999152", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5999152", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5999152", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.5999152", "text": "String getPath();", "title": "" }, { "docid": "f9c59929aa2b51dc244bbbf97daaebeb", "score": "0.59770286", "text": "@Override\n\tpublic String getRealPath(String path) {\n\n\t\tif(!context.isFilesystemBased()){\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\tFile file = new File(basePath, path);\n\t\treturn file.getAbsolutePath();\n\t}", "title": "" }, { "docid": "974518b1c72898bf1aefad2b11487aed", "score": "0.59697545", "text": "public String getPath() {\n return virtualPath;\n }", "title": "" }, { "docid": "a1fc50aea92e616b369339cb5e660efc", "score": "0.59672606", "text": "public String buildIntroPath() {\n return BASE_DIR_PATH;\n }", "title": "" }, { "docid": "cf5e0bc92ee58653a2fb10c3133a0688", "score": "0.594839", "text": "public String getFullLocationFileName()\n {\n return fullDirectory.getPath()+File.separator+getFullFileName();\n }", "title": "" }, { "docid": "7174ceec56721ec712698a54f5b47e86", "score": "0.5946729", "text": "public FileSystemObject getCurrentPath() {\n return currentDir;\n }", "title": "" }, { "docid": "59c149db3cfa38f7059f498fe87db31a", "score": "0.5937796", "text": "String getRelativePath();", "title": "" }, { "docid": "6407401f346c5a67aecad078d1fabef4", "score": "0.59270376", "text": "protected File engineBase() {\n\t\tString base = System.getProperty(\"catalina.base\");\n\t\tif (base == null) {\n\t\t\tStandardEngine eng = (StandardEngine) this.getParent().getParent();\n\t\t\tbase = eng.getBaseDir();\n\t\t}\n\t\treturn (new File(base));\n\t}", "title": "" }, { "docid": "b9b1e34135d9fd189fddbe902074f03a", "score": "0.5901656", "text": "public String getPath() {\n return namespace + \"/\" + relativePath;\n }", "title": "" }, { "docid": "513b99064b36ea5ea283d4a5d0016e5c", "score": "0.58964604", "text": "public String getRootDir() {\n return fileRoot;\n }", "title": "" }, { "docid": "280c122fe2ee7996b91064d0656c515a", "score": "0.58932596", "text": "public File getFullLocationFile() { return new File(this.getFullLocationFileName());}", "title": "" }, { "docid": "ca1e65b75d769bc09a91cc63de381630", "score": "0.58726406", "text": "public String getCurrentPath() {\n if (rootPath.isEmpty()) {\n File curFile = new File(\"\");\n try {\n rootPath = curFile.getCanonicalPath();\n } catch (IOException e) {\n CommonUtil.getInstance().info(LOG_UTIL_NAME, \"get rootpath failed.\" + e.getMessage());\n }\n }\n return rootPath;\n }", "title": "" }, { "docid": "c6575629a0fc53db27fec0e8922dddf8", "score": "0.58632344", "text": "public String getPathName(){\n return filePanel.getFilePath();\n\n }", "title": "" }, { "docid": "5b5d6b425afa8cd086e650cbf1d6e792", "score": "0.58619046", "text": "public String getFullPath()\n {\n return fullPath;\n }", "title": "" }, { "docid": "cf07fc45e8da502219fcf4fbaec93fc8", "score": "0.58410746", "text": "@Override\n public String getBaseFilename() {\n return report.getBaseFilename();\n }", "title": "" }, { "docid": "319290d2a3558d8547ee0b9515b20675", "score": "0.58330536", "text": "public String getFullPath()\n {\n if (this.parent == null)\n {\n return \"/\";\n }\n return this.parent.getFullPath() + this.getName() + \"/\";\n }", "title": "" }, { "docid": "47c99528b676146b141991cd776c8de0", "score": "0.5816564", "text": "public String getContextPath() {\n\t\tString path = StringUtils.defaultString(myContextPath);\n\t\tif (path.length() > 0 && path.charAt(path.length() - 1) == '/') {\n\t\t\tpath = path.substring(0, path.length() - 1);\n\t\t}\n\t\treturn path;\n\t}", "title": "" }, { "docid": "52194912041916a11624326cd6d5616c", "score": "0.5810943", "text": "@Override\npublic String getBasePath()\n{\n\treturn null;\n}", "title": "" }, { "docid": "603fcfd3da23874c1a4367c89fcb8694", "score": "0.58103526", "text": "public String getFullPath() {\r\n\t\treturn fullPath;\r\n\t}", "title": "" }, { "docid": "d25c582a7d2e4534248e2585e165938b", "score": "0.5805913", "text": "public String getPhysicalPath() {\n return Env.getRealPath(getPath());\n }", "title": "" }, { "docid": "0b66b80117cf41299b5e06b7a8130a92", "score": "0.58018094", "text": "public String getPath(){\r\n\t\tString fullPath=\"\";\r\n\t\tif(this.parent!=null)\r\n\t\t\tfullPath = this.parent.getPath()+\"/\"+this.name;\r\n\t\telse \r\n\t\t\tfullPath =this.name;\r\n\t\treturn fullPath;\r\n\t}", "title": "" }, { "docid": "e8ff4cf5d566d3cdccca1ec0781b01a3", "score": "0.57931554", "text": "public final String getRootPath() {\n \t\treturn \"/\";\n \t}", "title": "" }, { "docid": "90cb1068d7496255620b201d342dbd52", "score": "0.5792536", "text": "public String getPath() {\n\t\treturn file.getAbsolutePath();\n\t}", "title": "" }, { "docid": "96a2c8d8c05a20f9827f6b2c2af4c1bb", "score": "0.57919437", "text": "public String getPathBaseImagenes() {\n String path = System.getProperty(\"user.dir\");\r\n String pathBD = path+\"\\\\IMG\\\\\";\r\n return pathBD; \r\n }", "title": "" }, { "docid": "6a559c523d3188adc398cd0b1ec679c3", "score": "0.57867837", "text": "public static String getLocalPath() {\n Path local = Paths.get(\"\").toAbsolutePath();\n return local.toString();\n }", "title": "" }, { "docid": "1f90e698d26e4cdc1b17eac84e73b157", "score": "0.5781758", "text": "private File getBaseDir( File path)\n {\n return\n path == null?\n baseDir_ :\n \n path.isAbsolute()?\n path :\n\n new File( baseDir_, path.getPath());\n }", "title": "" }, { "docid": "0068055fa5c907365b874168b66f3184", "score": "0.5781485", "text": "@Override\n public String getPath() {\n return path;\n }", "title": "" }, { "docid": "30db2f8bfbe367c9da116ad61de2b91b", "score": "0.5776118", "text": "static String getRootLocalPath() {\n return rootPath;\n }", "title": "" }, { "docid": "0df2135e39e7d2222ca4fd6da1865e7d", "score": "0.5768236", "text": "public abstract Path getRelativePath();", "title": "" }, { "docid": "b0faac3d347649fb93cfdd19bfa5c6e5", "score": "0.5764891", "text": "public final String getRootPath() {\r\n\t\treturn rootPath;\r\n\t}", "title": "" }, { "docid": "3ce6739878d872e7b7e913da96b3ec5f", "score": "0.5741987", "text": "public String getConfigBasePath();", "title": "" }, { "docid": "d5f8851f1a0283c9f62fa917eb84ac88", "score": "0.5737489", "text": "@Override\n protected String getViewBasePath() {\n //region your codes 2\n return \"/report/siteJackpot/\";\n //endregion your codes 2\n }", "title": "" }, { "docid": "b89376ccdd4a3e10b0e0d7e9168b697d", "score": "0.5720348", "text": "Path getCurrentDirectory();", "title": "" }, { "docid": "b5796e54086e77184d13d8c9933ded67", "score": "0.57185316", "text": "public String filePath() {\n\t\treturn file.getAbsoluteFile().toString();\n\t}", "title": "" }, { "docid": "af9ebdf561a092c519b41c540aae2b57", "score": "0.57097113", "text": "public String getFullFileRoot()\n {\n return getNameRoot()+sequenceString();\n }", "title": "" }, { "docid": "cad7133e440fb51e18a572e65f04c237", "score": "0.5695604", "text": "public String getFullLocationSimpleFileName()\n {\n return fullDirectory.getPath()+File.separator+basicRoot+ending+\".\"+extension;\n }", "title": "" }, { "docid": "b026c56d8483ee4ab3065ce28b4f8e39", "score": "0.56835735", "text": "public Path getPath() {\n return _fileStatus.get().getPath();\n }", "title": "" }, { "docid": "b5b14fd2921ada587d3419edec96ca86", "score": "0.5680721", "text": "public String getRootDirectoryPath(){return rootDirectory.getPath(); }", "title": "" }, { "docid": "86fef9159c0b400e008b841c96bd4fee", "score": "0.5680165", "text": "public String getVirtualPath() {\n return getVirtualPath(false);\n }", "title": "" }, { "docid": "f199d9640dcc44fdb9681de81e83b91c", "score": "0.56797606", "text": "public String getAbsolutePath();", "title": "" }, { "docid": "a81a58c4d8afdaae70c9cd0ec74fc993", "score": "0.56769264", "text": "private String getTestPath() {\n StringBuilder testPath = new StringBuilder(mDeviceTestPath);\n if (mTestModule != null) {\n testPath.append(FileListingService.FILE_SEPARATOR);\n testPath.append(mTestModule);\n }\n return testPath.toString();\n }", "title": "" }, { "docid": "d96fb53afae6c64c63688d2ab00cdf86", "score": "0.5675349", "text": "String getUfsPath() throws IOException {\n ClientFileInfo info = getCachedFileStatus();\n\n if (!info.getUfsPath().isEmpty()) {\n return info.getUfsPath();\n }\n\n return getUnCachedFileStatus().getUfsPath();\n }", "title": "" }, { "docid": "c7fd5b136d4dd088be5b7ef4abb6c969", "score": "0.5673175", "text": "public String getPath() {\r\n\treturn getPath(false) + File.separator;\r\n }", "title": "" }, { "docid": "53aa637a470bb11ddc686344305ede9f", "score": "0.56625575", "text": "public String getContextPath()\r\n {\r\n return m_path;\r\n }", "title": "" }, { "docid": "4a56df0c8444cb4e4d3cfaef1da246a6", "score": "0.5662179", "text": "public static String computeBasePath()\n{\n return computeBasePath(null);\n}", "title": "" }, { "docid": "94f6ff22dec5e2b114bedcab2f03099f", "score": "0.5658502", "text": "@Override\r\n\tpublic String getPath() {\n\t\treturn this.path;\r\n\t}", "title": "" }, { "docid": "b2b503c351a50f59db32f9b83dc8d23c", "score": "0.56560564", "text": "public java.lang.String getFullyQualifiedNamePath();", "title": "" }, { "docid": "719fd3c82900bdfc7018867b2a1db602", "score": "0.5647659", "text": "public String getBasePath(HttpServletRequest request) {\n\t\tString path = request.getContextPath();\n\t\tString port = \"\";\n\t\tif (request.getServerPort() != 80) {\n\t\t\tport = \":\" + request.getServerPort();\n\t\t}\n\t\tString basePath = request.getScheme() + \"://\" + request.getServerName()\n\t\t\t\t+ port + path + \"/\";\n\t\treturn basePath;\n\t}", "title": "" }, { "docid": "c3c4cdbeacf5b525977e1ea53a6ca3a7", "score": "0.5630127", "text": "public String printCurrentPath() {\n return printFsoPath(currentDir);\n }", "title": "" }, { "docid": "4aca6394b7652364b124a29b861a3cf9", "score": "0.5626573", "text": "String getBaseHomeDir();", "title": "" }, { "docid": "18a2b857cf339d5f05c7d3a17cb9446b", "score": "0.5613576", "text": "public static File getFileSystemPath(File base, UUID shardUuid)\n {\n String uuid = shardUuid.toString().toLowerCase(ENGLISH);\n return base.toPath()\n .resolve(uuid.substring(0, 2))\n .resolve(uuid.substring(2, 4))\n .resolve(uuid + FILE_EXTENSION)\n .toFile();\n }", "title": "" }, { "docid": "77a8f63aa85bdee4aab28adda6ec3172", "score": "0.56119376", "text": "@Nullable\n static String getRelativePath(File base, File file) {\n if (base == null || file == null) {\n return null;\n }\n if (!base.isDirectory()) {\n base = base.getParentFile();\n if (base == null) {\n return null;\n }\n }\n if (base.equals(file)) {\n return \".\";\n }\n\n final String filePath = file.getAbsolutePath();\n String basePath = base.getAbsolutePath();\n\n // TODO: Make this return null if we go all the way to the root!\n\n basePath =\n !basePath.isEmpty() && basePath.charAt(basePath.length() - 1) == separatorChar\n ? basePath\n : basePath + separatorChar;\n\n // Whether filesystem is case sensitive. Technically on OSX you could create a\n // sensitive one, but it's not the default.\n boolean caseSensitive = CURRENT_PLATFORM == PLATFORM_LINUX;\n Locale l = Locale.getDefault();\n String basePathToCompare = caseSensitive ? basePath : basePath.toLowerCase(l);\n String filePathToCompare = caseSensitive ? filePath : filePath.toLowerCase(l);\n if (basePathToCompare.equals(\n !filePathToCompare.isEmpty()\n && filePathToCompare.charAt(filePathToCompare.length() - 1)\n == separatorChar\n ? filePathToCompare\n : filePathToCompare + separatorChar)) {\n return \".\";\n }\n int len = 0;\n int lastSeparatorIndex = 0;\n // bug in inspection; see http://youtrack.jetbrains.com/issue/IDEA-118971\n //noinspection ConstantConditions\n while (len < filePath.length()\n && len < basePath.length()\n && filePathToCompare.charAt(len) == basePathToCompare.charAt(len)) {\n if (basePath.charAt(len) == separatorChar) {\n lastSeparatorIndex = len;\n }\n len++;\n }\n if (len == 0) {\n return null;\n }\n\n StringBuilder relativePath = new StringBuilder();\n for (int i = len; i < basePath.length(); i++) {\n if (basePath.charAt(i) == separatorChar) {\n relativePath.append(\"..\");\n relativePath.append(separatorChar);\n }\n }\n relativePath.append(filePath.substring(lastSeparatorIndex + 1));\n return relativePath.toString();\n }", "title": "" }, { "docid": "d4725ebd41dd661243db33490f1c72e9", "score": "0.56114566", "text": "public String getPath() {\r\n return path;\r\n }", "title": "" }, { "docid": "d4725ebd41dd661243db33490f1c72e9", "score": "0.56114566", "text": "public String getPath() {\r\n return path;\r\n }", "title": "" }, { "docid": "1e821d6ef21bcbcbfd4fc9ce7a1416b2", "score": "0.56107926", "text": "public String getPath() {\n return path;\n }", "title": "" }, { "docid": "f2ceb22130b2e2ff780850f440af0382", "score": "0.5606002", "text": "public String getFullyQualifiedNamePath()\n {\n return this.getSuperFrontEndAction().getFullyQualifiedNamePath();\n }", "title": "" }, { "docid": "2c37fa42cf6757f683af28c8f8b63089", "score": "0.56004816", "text": "public String getServersFilePath()\n\t{\n\t\tString s;\n\t\tPath currentRelativePath = Paths.get(\"\");\t\t\t \t//Create path object\n\t\ts = currentRelativePath.toAbsolutePath().toString(); \t//Get the path\n\t\ts = s.replace('\\\\', '/');\t\t\t\t\t\t\t \t//Replace the \\ with /\n\t\treturn s;\n\t}", "title": "" } ]
0c55b8399e75d6b5f0acccf1fe3ab413
Get a parsed name by its name key.
[ { "docid": "315ce3f48e0f2bcabb66c4e3c40d1325", "score": "0.8152038", "text": "ParsedName get(@Param(\"key\") int key);", "title": "" } ]
[ { "docid": "2d4561e3aae8a94cfe6afd0bbb2ac15e", "score": "0.7189653", "text": "ParsedName getByUsageKey(@Param(\"key\") int usageKey);", "title": "" }, { "docid": "c3b7fa624512159f1652c02106902f1b", "score": "0.6848846", "text": "public String getName(final String key) {\n\t\treturn key;\n\t}", "title": "" }, { "docid": "9f4d877d038d1e8b6396ae16b82fbe77", "score": "0.66308784", "text": "public String parseName(){\n int index = name.indexOf(\".\");\n String parsedName = name.substring(0, index);\n return parsedName;\n }", "title": "" }, { "docid": "9bca77a9049208b732c61acab9137c78", "score": "0.6552892", "text": "private String getName(String thisKey)\n\t{\n\t\tString thisValue = (String) theProperties.get(thisKey);\n\t\tif (thisValue != null)\n\t\t\treturn thisValue;\n\n\t\tString thisStringKey = (String) thisKey;\n\t\tint thisIndex = thisStringKey.lastIndexOf('.');\n\t\treturn thisIndex == -1 ? thisStringKey : thisStringKey.substring(thisIndex + 1);\n\t}", "title": "" }, { "docid": "6adb1e32de335539d9e9e67b2ee17892", "score": "0.6552452", "text": "String getKeyString(String name) {\n return name.substring(_key_index, _key_index + _key_length);\n }", "title": "" }, { "docid": "b3426db476957270db4713e9d2c4c734", "score": "0.6248236", "text": "public JamVal nameName() {\n AST prog = parser.parse();\n contextCheck(prog, null);\n return prog.accept(nameNameEvalVisitor);\n }", "title": "" }, { "docid": "897ce94d90a674afaeb842f483041863", "score": "0.6106361", "text": "SimpleString getName();", "title": "" }, { "docid": "2cdd77ccf4285f8983084a013f33d173", "score": "0.5929032", "text": "String getMemberName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.58316255", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.5831589", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.58315146", "text": "java.lang.String getName();", "title": "" }, { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.58315146", "text": "java.lang.String getName();", "title": "" }, { "docid": "4b5f8871ac654e3c3af0dad55e1fe804", "score": "0.57604086", "text": "String get(String key);", "title": "" }, { "docid": "4b5f8871ac654e3c3af0dad55e1fe804", "score": "0.57604086", "text": "String get(String key);", "title": "" }, { "docid": "4b5f8871ac654e3c3af0dad55e1fe804", "score": "0.57604086", "text": "String get(String key);", "title": "" }, { "docid": "a62a7cd807444a420ec2da608388ef53", "score": "0.5757594", "text": "private static String getKey(String key)\n {\n return key;\n }", "title": "" }, { "docid": "5d3c1328ba48057332f19b97b3dde1ac", "score": "0.5755434", "text": "Name getName();", "title": "" }, { "docid": "2e14a98020d1682cdd3c5af34d91e8d5", "score": "0.57452863", "text": "public String get(String key);", "title": "" }, { "docid": "2e14a98020d1682cdd3c5af34d91e8d5", "score": "0.57452863", "text": "public String get(String key);", "title": "" }, { "docid": "2e14a98020d1682cdd3c5af34d91e8d5", "score": "0.57452863", "text": "public String get(String key);", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.57010835", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.57010835", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.57010835", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.57010835", "text": "java.lang.String getKey();", "title": "" }, { "docid": "2b9de6d07eea2a0dfbda01d5cd672b4a", "score": "0.57010835", "text": "java.lang.String getKey();", "title": "" }, { "docid": "dcf2c2cc843598940a930286c45ad895", "score": "0.56972927", "text": "NameType getName();", "title": "" }, { "docid": "f010be496c35eab6131647d41f69f566", "score": "0.5657962", "text": "String getLinkName(String key, String value);", "title": "" }, { "docid": "a16d74c731fdf7cb4bd64bdcd5b2bd8e", "score": "0.56459016", "text": "public String getDataNameValue(String key) {\r\n return dataNames.get(key);\r\n }", "title": "" }, { "docid": "fc2ef9d694ee3e25a83870bd5c2627eb", "score": "0.5618347", "text": "String getValueString(String name) {\n int in_begin = _key_index + _key_length + 1;\n int out_end = in_begin + _value_length;\n return name.substring(in_begin, out_end);\n }", "title": "" }, { "docid": "0e3c2bc17f7ac018abfe28ce31b074fb", "score": "0.56140894", "text": "public JamVal nameName(AST prog) {\n\t contextCheck(prog, null);\n\t return prog.accept(nameNameEvalVisitor); \n }", "title": "" }, { "docid": "a81c45c741afbd94d7e15c78403102f3", "score": "0.5600543", "text": "String getFromName();", "title": "" }, { "docid": "cf027b0516819c740b8f9ec52ecb9af0", "score": "0.55962175", "text": "public String get(String name);", "title": "" }, { "docid": "6e0aae5938b6eebceb9400aeceb058fe", "score": "0.5588488", "text": "public Name parse(String name) throws NamingException {\n return new CompoundName(name.replace('.', '/'), syntax);\n }", "title": "" }, { "docid": "33562db5365655698f52bd6ebc6c1a80", "score": "0.5580924", "text": "public String getMemberName();", "title": "" }, { "docid": "60f16c42ff8839d581dd40ba70596ae8", "score": "0.55806476", "text": "private String getAttributeKeyValue(String key) {\n String prefix = key + '=';\n String attribute = getAttribute(prefix);\n return attribute != null ? attribute.substring(prefix.length()) : null;\n }", "title": "" } ]
29f2bcc5eb3910cbbcb1f1fb911f7604
This method returns the String representation of the filepath
[ { "docid": "d691e10d688b6400fc3dedbda4fdd834", "score": "0.0", "text": "public String getPath() {\n\t\treturn path;\n\t}", "title": "" } ]
[ { "docid": "cbb3ab2da9cc62c9a4510339c77d1103", "score": "0.8115557", "text": "java.lang.String getFilePath();", "title": "" }, { "docid": "c5b45c4cf0af55486d79ba96f7985388", "score": "0.76231307", "text": "public String toString() {\r\n\t\treturn path.toString();\r\n\t}", "title": "" }, { "docid": "1a98eb15594425a78d023e8bfcb51ae0", "score": "0.76070267", "text": "public String toString() {\n return m_file.getName().length() > 0 ? m_file.getName() : m_file.getPath();\n }", "title": "" }, { "docid": "49c24f29fc7f215fdec103be320c6c06", "score": "0.75895625", "text": "@Override\n public String toString(){\n return path.getFileName().toString();\n }", "title": "" }, { "docid": "de4da91c19b0ddc0e96235d91183bc95", "score": "0.7508911", "text": "public java.lang.String getFilePath() {\n java.lang.Object ref = filePath_;\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 filePath_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "a619ec611828a25ca6b76b84d482d5a9", "score": "0.7473388", "text": "String getFilePath();", "title": "" }, { "docid": "f6ad31962c626a3a1ea622f6bfe602bd", "score": "0.74109", "text": "public String getFile_path() {\r\n\t\treturn file_path.getText();\r\n\t}", "title": "" }, { "docid": "bf1c0070fffc32d2962414e378e68b37", "score": "0.73322326", "text": "public String toString() {\n\t\treturn path.toString().replace(\" \", \"\");\n }", "title": "" }, { "docid": "4ecd04eadbe7ca4ff7dc8565c6ce61f7", "score": "0.7327762", "text": "String path();", "title": "" }, { "docid": "4ecd04eadbe7ca4ff7dc8565c6ce61f7", "score": "0.7327762", "text": "String path();", "title": "" }, { "docid": "0acc6a739b610edb2403b02174571cfb", "score": "0.73189116", "text": "public java.lang.String getFilePath() {\n java.lang.Object ref = filePath_;\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 filePath_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "9f42419493d213ddf636b2e9793c7de9", "score": "0.7317669", "text": "@Override\n public String toString(){\n \n return this.getFile();\n }", "title": "" }, { "docid": "414a5513bf65f992a5bdb8dfdd960efe", "score": "0.7199436", "text": "StringBuilder path();", "title": "" }, { "docid": "22feb0264b6cf525cf36506b859465d6", "score": "0.7161896", "text": "public String getPath() {\n return path.toString();\n }", "title": "" }, { "docid": "7ad99238d586bd2c5a7c1278e91dfae8", "score": "0.71436864", "text": "public String getFilePath() {\n return file.getAbsolutePath();\n }", "title": "" }, { "docid": "76c213e06bc7a0ab0ffce7d7f901e637", "score": "0.7132029", "text": "public String getPathFile() {\n return file.getPath();\n }", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.7091092", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.7091092", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "f5962389f6e2ac7979fa0e8d3c06577e", "score": "0.7091092", "text": "java.lang.String getFileName();", "title": "" }, { "docid": "ccc9c67e469a616e56b53adf9db09834", "score": "0.7070421", "text": "java.lang.String getFilename();", "title": "" }, { "docid": "ccc9c67e469a616e56b53adf9db09834", "score": "0.7070421", "text": "java.lang.String getFilename();", "title": "" }, { "docid": "ccc9c67e469a616e56b53adf9db09834", "score": "0.7070421", "text": "java.lang.String getFilename();", "title": "" }, { "docid": "ccc9c67e469a616e56b53adf9db09834", "score": "0.7070421", "text": "java.lang.String getFilename();", "title": "" }, { "docid": "ccc9c67e469a616e56b53adf9db09834", "score": "0.7070421", "text": "java.lang.String getFilename();", "title": "" }, { "docid": "ccc9c67e469a616e56b53adf9db09834", "score": "0.7070421", "text": "java.lang.String getFilename();", "title": "" }, { "docid": "ccc9c67e469a616e56b53adf9db09834", "score": "0.7070421", "text": "java.lang.String getFilename();", "title": "" }, { "docid": "9e9ee55daf8c978c761b446871319cf5", "score": "0.70625794", "text": "@AutoEscape\n\tpublic String getPath();", "title": "" }, { "docid": "9e9ee55daf8c978c761b446871319cf5", "score": "0.70625794", "text": "@AutoEscape\n\tpublic String getPath();", "title": "" }, { "docid": "eaab6d394ae915e2f301a5d386317ce8", "score": "0.7039005", "text": "public String getFilePath() {\n return (String)getAttributeInternal(FILEPATH);\n }", "title": "" }, { "docid": "147206b3341e4f16985c88cd21a365bd", "score": "0.7034853", "text": "public String toString() {\r\n\t\tif (Files.isRegularFile(file)) {\r\n\t\t\treturn file.getFileName().toString();\r\n\t\t} else {\r\n\t\t\tthrow new ShellIOException(\"Error in FilterResult. Given path is not a file.\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "8d765d14df7a3c9307add18f3316629f", "score": "0.70064384", "text": "public String getStringValue() {\n File file = (File)getValue();\n if (file == null) {\n return null;\n }\n return file.getAbsolutePath() + File.separator;\n }", "title": "" }, { "docid": "5054ba190a8448b16e37715222b3c501", "score": "0.6997091", "text": "public String getPath() {\r\n\t\treturn this.file_location;\r\n\t}", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.697336", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.697336", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.697336", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.697336", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.697336", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.697336", "text": "String getPath();", "title": "" }, { "docid": "19c3b17aeb8f734a6c27d1f8e6803f76", "score": "0.697336", "text": "String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.69699556", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.69699556", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.69699556", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.69699556", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.69699556", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.69699556", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.69699556", "text": "java.lang.String getPath();", "title": "" }, { "docid": "7d1c4ccd8beb3a16c16e96928f88abb1", "score": "0.69699556", "text": "java.lang.String getPath();", "title": "" }, { "docid": "d0bf22ea096a5403ec71712df1ad2f73", "score": "0.69514126", "text": "@Override\n public String toString() {\n return path;\n }", "title": "" }, { "docid": "6126237bdc02c26e5d48aa003de8429a", "score": "0.69355565", "text": "public String toString() {\n\t\treturn fileName;\n\t}", "title": "" }, { "docid": "f3d605b4538c6da28d9f425df80690de", "score": "0.69258636", "text": "public String getAbsolutePath() { return getFile().getAbsolutePath();}", "title": "" }, { "docid": "7288c4ad7bcf2203ea5d12c428348001", "score": "0.6906936", "text": "Path getFilePath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.689684", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.689684", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.689684", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.689684", "text": "public String getPath();", "title": "" }, { "docid": "74ce14bffe865404dc2cb74158909dcd", "score": "0.689684", "text": "public String getPath();", "title": "" }, { "docid": "1e8eebf297f2106d35d0587796d9284e", "score": "0.6859157", "text": "public java.lang.String getFilePath () {\n\t\treturn filePath;\n\t}", "title": "" }, { "docid": "1dabf4df6f385977c9cc436c1840b390", "score": "0.6857061", "text": "@Override\n public String toString() {\n return getPath();\n }", "title": "" }, { "docid": "63e6b1b585208d82f8b884860a5b34e6", "score": "0.6854192", "text": "public static String getpath()\n\t{\n\t\treturn new File(\"\").getAbsolutePath();\n\t}", "title": "" }, { "docid": "926a6f1ea3489b7721a0bf52cfd4184d", "score": "0.68182397", "text": "String getFile();", "title": "" }, { "docid": "e384a649f5e0c452bca9d14953274453", "score": "0.6813658", "text": "public String getPathFile() {\r\n return pathFile;\r\n }", "title": "" }, { "docid": "f80a4080d4f49d499025483008f2a025", "score": "0.68115866", "text": "public String toString() {\n return this.fileName;\n }", "title": "" }, { "docid": "8147bb2ac1af13170550c06a964092b4", "score": "0.6808786", "text": "com.google.protobuf.ByteString\n getFilePathBytes();", "title": "" }, { "docid": "449b42ecc5a58625536b81d03a79e8d8", "score": "0.6804266", "text": "public String toString() {return (rootfile)? getAbsolutePath() : getName();}", "title": "" }, { "docid": "496202dd4219a01097eb86cdd69c0cbc", "score": "0.67900044", "text": "public String getFile();", "title": "" }, { "docid": "2820581aa700276da7b9d83bdf637097", "score": "0.6779981", "text": "public abstract String getFileString();", "title": "" }, { "docid": "815b1185fdb3a27cf2f2d8d93f9bef1c", "score": "0.677457", "text": "public String getFilePath(String fileName);", "title": "" }, { "docid": "477d614d7ec249ce02d2f96cc1c9c22c", "score": "0.6773431", "text": "public String getPath() {\r\n\t\treturn new StringBuilder(getElement().getParentElement().getAttributeValue(XMLMusicElement.ATTR_PATH))\r\n\t\t.append(File.separator).append(getFileName()).toString();\r\n\t}", "title": "" }, { "docid": "2d4070f2ec539fbdc3627f55b18a3b8c", "score": "0.67524487", "text": "public String name() {\n return fileName(path);\n }", "title": "" }, { "docid": "2a65e37c70976c5ed24b58b8bf9cf0c9", "score": "0.6742816", "text": "public com.google.protobuf.ByteString\n getFilePathBytes() {\n java.lang.Object ref = filePath_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n filePath_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "124bdad8266cc4073709c4612a884457", "score": "0.6739298", "text": "@Override\n\tpublic String getFilePath() {\n\t\treturn filepath;\n\t}", "title": "" }, { "docid": "8d0e1e8a62e8691bdbbacb505f159d8e", "score": "0.67291164", "text": "@Override\r\n public String toFilenameString() {\r\n return \"Not implemented yet\";\r\n }", "title": "" }, { "docid": "19c6dd93e306f338207841ed0a757a20", "score": "0.66958636", "text": "private static String getProjectPathString() {\n Path projectPath = Paths.get(\"\").toAbsolutePath();\n String projectPathString = projectPath.normalize().toString();\n return projectPathString;\n }", "title": "" }, { "docid": "9fb05327da4cf8410518154aa4a1e079", "score": "0.6692844", "text": "public String getAbsolutePath(){\n\t\treturn file.getAbsolutePath();\n\t}", "title": "" }, { "docid": "127de7b6e1258b23219e08aa31297201", "score": "0.6689273", "text": "@Override\r\n\t\tpublic String toString() {\r\n\t\t\t// hide root folder name (is already shown in window title)\r\n\t\t\tif (file.getAbsolutePath().equals(PackageCalculator.getInstance().rootPath)) {\r\n\t\t\t\treturn \"...\" + File.separator + file.getName();\r\n\t\t\t}\r\n\t\t\t// else return only filename\r\n\t\t\treturn file.getName();\r\n\t\t}", "title": "" }, { "docid": "095ac23c02cee13d7f8dbfd44fbc82d2", "score": "0.6677578", "text": "public String getFileName() {\n\t\tif (filePath == null) {\n\t\t\treturn DEFAULT_FILE_NAME;\n\t\t}\n\t\t\n\t\treturn filePath.getFileName().toString();\n\t}", "title": "" }, { "docid": "e69a0064b5db1fc492ab9fe3906fa9ad", "score": "0.66749114", "text": "public String GetFileName() {\n if(this.os.toLowerCase().equals(\"win\")) {\n return this.path.substring(this.path.lastIndexOf(\"\\\\\") + 1, this.path.length()).trim();\n }\n if(this.os.toLowerCase().equals(\"osx\")) {\n return this.path.substring(this.path.lastIndexOf(\"/\") + 1, this.path.length()).trim();\n }\n return null;\n }", "title": "" }, { "docid": "51bfb77b2b45a9a6e1ca933dfa308c13", "score": "0.6673525", "text": "public String getFilename()\r\n/* 94: */ {\r\n/* 95:166 */ return StringUtils.getFilename(this.path);\r\n/* 96: */ }", "title": "" }, { "docid": "a322ba6e02d436846d679181a4e4e98d", "score": "0.66686726", "text": "private String getFilePath() {\n\t\treturn G.PATH_SDCARD + G.getDirectoryPathByTag(\"genmetadata\") + MedusaStorageManager.generateTimestampFilename(TAG);\n\t}", "title": "" }, { "docid": "9ef10f1be6369cab37f8a4b1c70827c5", "score": "0.6657822", "text": "public com.google.protobuf.ByteString\n getFilePathBytes() {\n java.lang.Object ref = filePath_;\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 filePath_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "8d7b6a429bf5b19a5a6b2b4cdc5796ed", "score": "0.6657305", "text": "public abstract java.lang.String getFile();", "title": "" }, { "docid": "547ebff9eb5fc11734fffa6e4d7a7c57", "score": "0.6653629", "text": "public String getFileName() {\n String result = dir.getPath();\n if (!result.endsWith(\"/\"))\n result += \"/\";\n result += name;\n return result;\n }", "title": "" }, { "docid": "f6a63c707de497d4bb0d5ab093214ed2", "score": "0.6650146", "text": "public static String getFilePath() {\n return filePath;\n }", "title": "" }, { "docid": "5ad6922327ea57eeb7a7d6383c99de8c", "score": "0.66494536", "text": "String getPath(Object file);", "title": "" }, { "docid": "2feb0647293e6731ac3c28b81f1c3cda", "score": "0.6647513", "text": "public String getAbsolutePath()\r\n {\r\n return _file.getAbsolutePath();\r\n }", "title": "" }, { "docid": "36a31de75086d9ca28de09d94cfda056", "score": "0.6620027", "text": "@Override\n protected String filename() {\n return path.getFileName().toString();\n }", "title": "" }, { "docid": "7dbbb4e63611cefc59769ca19e5eb58b", "score": "0.66175556", "text": "public java.lang.String getPath() {\n java.lang.Object ref = path_;\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 path_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "7dbbb4e63611cefc59769ca19e5eb58b", "score": "0.6616853", "text": "public java.lang.String getPath() {\n java.lang.Object ref = path_;\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 path_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "7dbbb4e63611cefc59769ca19e5eb58b", "score": "0.6616853", "text": "public java.lang.String getPath() {\n java.lang.Object ref = path_;\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 path_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "7dbbb4e63611cefc59769ca19e5eb58b", "score": "0.6616853", "text": "public java.lang.String getPath() {\n java.lang.Object ref = path_;\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 path_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "7dbbb4e63611cefc59769ca19e5eb58b", "score": "0.66158533", "text": "public java.lang.String getPath() {\n java.lang.Object ref = path_;\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 path_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0af8bdfe877aace9cf3ef386ffcf6f71", "score": "0.6606975", "text": "public java.lang.String getPath() {\n java.lang.Object ref = path_;\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 path_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "cfc50b763adbd4f917d1807f5aa63d9f", "score": "0.65897346", "text": "public String getFileName();", "title": "" }, { "docid": "cfc50b763adbd4f917d1807f5aa63d9f", "score": "0.65897346", "text": "public String getFileName();", "title": "" }, { "docid": "cfc50b763adbd4f917d1807f5aa63d9f", "score": "0.65897346", "text": "public String getFileName();", "title": "" }, { "docid": "61a8ec1a6b74bf8a5bb8ffaf201d6f7b", "score": "0.6565043", "text": "public java.lang.String getPath() {\n java.lang.Object ref = path_;\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 path_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "36414970de09196f69b9f5c79debf315", "score": "0.653617", "text": "public String asPath() {\n return this.asPath;\n }", "title": "" }, { "docid": "13351879a0d4bec9653f708a1be0cf37", "score": "0.6534108", "text": "public String getAbsoluteFilePath(String filepath) {\r\n return getSavePathPrefix() + filepath;\r\n }", "title": "" }, { "docid": "7f8d6f7d7994ff37e056b3c3bcc146be", "score": "0.6513801", "text": "String getFilename();", "title": "" }, { "docid": "70a4d9b43e94c1d44b378dfa3f94d3d1", "score": "0.650818", "text": "@Override\n public String getPath() {\n String result;\n\n result = path.toString().substring(getRoot().getAbsolute().length());\n return result.replace(File.separatorChar, Filesystem.SEPARATOR_CHAR);\n }", "title": "" }, { "docid": "293bdb3cdc63dc2dd2e5cf8ebd82333c", "score": "0.6507476", "text": "@Nonnull public final String filename() {\n return isDirectory() ? \"\" : segments().get(segments().size() - 1);\n }", "title": "" } ]
cfff156441912b9dd7c68790d78d4e98
Default constructor of Builder.
[ { "docid": "a83cacd8d01a4b8d0edf220feacd0ea2", "score": "0.0", "text": "public Builder(@TetheringType final int type) {\n mBuilderParcel = new TetheringRequestParcel();\n mBuilderParcel.tetheringType = type;\n mBuilderParcel.localIPv4Address = null;\n mBuilderParcel.staticClientAddress = null;\n mBuilderParcel.exemptFromEntitlementCheck = false;\n mBuilderParcel.showProvisioningUi = true;\n mBuilderParcel.connectivityScope = getDefaultConnectivityScope(type);\n }", "title": "" } ]
[ { "docid": "d2a1dcdc1e9b25e918926fcfdd244a55", "score": "0.87913394", "text": "public Builder() {}", "title": "" }, { "docid": "d2a1dcdc1e9b25e918926fcfdd244a55", "score": "0.87913394", "text": "public Builder() {}", "title": "" }, { "docid": "d2a1dcdc1e9b25e918926fcfdd244a55", "score": "0.87913394", "text": "public Builder() {}", "title": "" }, { "docid": "fcfe4268a7b6c49bc994a6bbb43428c7", "score": "0.8684927", "text": "public Builder() {\n\n\t\t}", "title": "" }, { "docid": "19eb946ac819da03893c730192434cc4", "score": "0.862801", "text": "public Builder() { }", "title": "" }, { "docid": "d0108e9fbf2577cd54d246cb618322ed", "score": "0.85616386", "text": "public Builder() {\n }", "title": "" }, { "docid": "2174f7f5ac4bb257854259f5b5774944", "score": "0.8476754", "text": "public Builder() {\n }", "title": "" }, { "docid": "f69a167adba09bb01fb6838a418512e7", "score": "0.84639", "text": "Builder() {}", "title": "" }, { "docid": "1a4426f293bcf722e61ec9a2bc2bb6a3", "score": "0.8416721", "text": "protected Builder() {\n }", "title": "" }, { "docid": "bdacb92889362231d63bc4b0f692961f", "score": "0.83093363", "text": "public Builder()\n {\n }", "title": "" }, { "docid": "731e7f20e28658f5d450fb2e482ea290", "score": "0.8308469", "text": "private Builder() {\n\n\t\t}", "title": "" }, { "docid": "62c9d8cb0c9853caa6e7e1852c197419", "score": "0.8279963", "text": "private Builder() { }", "title": "" }, { "docid": "ad1713efae5d6f3faf41e42954758dfb", "score": "0.82554996", "text": "private Builder() {\n }", "title": "" }, { "docid": "5ca8fc7f825c028dc3e9b00016dddaf9", "score": "0.77668124", "text": "static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "5ca8fc7f825c028dc3e9b00016dddaf9", "score": "0.77668124", "text": "static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "a1f2de8253a5e7ee9fabe508f8a27e73", "score": "0.77227473", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "a1f2de8253a5e7ee9fabe508f8a27e73", "score": "0.77227473", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "9ec1b963ed0ad9912c3cb2184462f35c", "score": "0.7715772", "text": "public static Builder builder() {\r\n return new Builder();\r\n }", "title": "" }, { "docid": "d1321e8b0c1fd3464c7c2e49ca743760", "score": "0.77151245", "text": "public static Builder builder()\n {\n return new Builder();\n }", "title": "" }, { "docid": "f189c44dcac7dc3c17fd96629bdb1ae4", "score": "0.77080184", "text": "public static @NonNull Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "ccfdd07b42cbb7b242f804dff9d7ea94", "score": "0.76952964", "text": "public static Builder<?> builder() {\n return new Builder<>();\n }", "title": "" }, { "docid": "43c6a8cde7486a2e1c96ed7b82539e75", "score": "0.7691", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "43c6a8cde7486a2e1c96ed7b82539e75", "score": "0.7691", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "43c6a8cde7486a2e1c96ed7b82539e75", "score": "0.7691", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "43c6a8cde7486a2e1c96ed7b82539e75", "score": "0.7691", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "43c6a8cde7486a2e1c96ed7b82539e75", "score": "0.7691", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "43c6a8cde7486a2e1c96ed7b82539e75", "score": "0.7691", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "43c6a8cde7486a2e1c96ed7b82539e75", "score": "0.7691", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "43c6a8cde7486a2e1c96ed7b82539e75", "score": "0.7691", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "43c6a8cde7486a2e1c96ed7b82539e75", "score": "0.7691", "text": "public static Builder builder() {\n return new Builder();\n }", "title": "" }, { "docid": "be86b670f74677f80b4bbcb4d0e79b0e", "score": "0.76714534", "text": "public static Builder factory(){\n return new Builder();\n }", "title": "" }, { "docid": "c73ec6c84d58c362ca92135f5f05e4e2", "score": "0.76519537", "text": "public _Builder() {\n optionals = new java.util.BitSet(9);\n modified = new java.util.BitSet(9);\n mId = kDefaultId;\n mType = kDefaultType;\n mName = kDefaultName;\n }", "title": "" }, { "docid": "dfb1bc2dd6dcd738eaa595ae6c6052cf", "score": "0.7651864", "text": "public static _Builder builder() {\n return new _Builder();\n }", "title": "" }, { "docid": "70a8dfed31a6d286b8779bc3611c6197", "score": "0.7590488", "text": "public static Builder create() {\n\t\treturn new Builder();\n\t}", "title": "" }, { "docid": "70a8dfed31a6d286b8779bc3611c6197", "score": "0.7590488", "text": "public static Builder create() {\n\t\treturn new Builder();\n\t}", "title": "" }, { "docid": "f0bf7b38aa46a945d01f100ccd6322d4", "score": "0.75696254", "text": "Builder builder();", "title": "" }, { "docid": "918d182ea0e8f50573fb0f656e2a414b", "score": "0.7460737", "text": "public Builder() {\n mNativeBuilder = nCreateBuilder();\n mFinalizer = new BuilderFinalizer(mNativeBuilder);\n }", "title": "" }, { "docid": "154291fb94210b5350ffc5ff8de2b238", "score": "0.74243796", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "154291fb94210b5350ffc5ff8de2b238", "score": "0.74243796", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "e100405c8e8bfc0a3aa88684cc8d5737", "score": "0.7387914", "text": "public static Builder newBuilder() {\n return Builder.createDefault();\n }", "title": "" }, { "docid": "e100405c8e8bfc0a3aa88684cc8d5737", "score": "0.7387914", "text": "public static Builder newBuilder() {\n return Builder.createDefault();\n }", "title": "" }, { "docid": "e100405c8e8bfc0a3aa88684cc8d5737", "score": "0.7387914", "text": "public static Builder newBuilder() {\n return Builder.createDefault();\n }", "title": "" }, { "docid": "e100405c8e8bfc0a3aa88684cc8d5737", "score": "0.7387914", "text": "public static Builder newBuilder() {\n return Builder.createDefault();\n }", "title": "" }, { "docid": "f7922b2a570858e5a306cd31d05be32d", "score": "0.7360932", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "f7922b2a570858e5a306cd31d05be32d", "score": "0.7360932", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "f7922b2a570858e5a306cd31d05be32d", "score": "0.7360932", "text": "public static Builder newBuilder() {\n return new Builder();\n }", "title": "" }, { "docid": "29b850020944b78a9a80019213710ba0", "score": "0.736091", "text": "public DocumentBuilder() {\n\t\tdoc = new DefaultDocument();\n\t}", "title": "" }, { "docid": "4636e543129f299bddb903e241140d5c", "score": "0.7342756", "text": "public static Builder newBuilder() {\n\t\t\treturn new Builder();\n\t\t}", "title": "" }, { "docid": "4636e543129f299bddb903e241140d5c", "score": "0.7342756", "text": "public static Builder newBuilder() {\n\t\t\treturn new Builder();\n\t\t}", "title": "" }, { "docid": "4636e543129f299bddb903e241140d5c", "score": "0.7342756", "text": "public static Builder newBuilder() {\n\t\t\treturn new Builder();\n\t\t}", "title": "" }, { "docid": "4636e543129f299bddb903e241140d5c", "score": "0.7342756", "text": "public static Builder newBuilder() {\n\t\t\treturn new Builder();\n\t\t}", "title": "" }, { "docid": "4636e543129f299bddb903e241140d5c", "score": "0.7342756", "text": "public static Builder newBuilder() {\n\t\t\treturn new Builder();\n\t\t}", "title": "" }, { "docid": "4636e543129f299bddb903e241140d5c", "score": "0.7342756", "text": "public static Builder newBuilder() {\n\t\t\treturn new Builder();\n\t\t}", "title": "" }, { "docid": "4636e543129f299bddb903e241140d5c", "score": "0.7342756", "text": "public static Builder newBuilder() {\n\t\t\treturn new Builder();\n\t\t}", "title": "" }, { "docid": "5364b1515357bd6957b2bd504795db6c", "score": "0.73096037", "text": "public XMLDocumentBuilder() {\n\t}", "title": "" }, { "docid": "12d84112fc2b7b17a0b76a127bc71519", "score": "0.72067434", "text": "public Builder() {\n\t\t\tthis.status = Status.UNKNOWN;\n\t\t\tthis.details = new LinkedHashMap<>();\n\t\t}", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "2d40e8c3dbfc53aabd216b416b794ef6", "score": "0.7198479", "text": "private Builder() {\n super(SCHEMA$);\n }", "title": "" }, { "docid": "76a0f583b49deacd26d743b1350a58bc", "score": "0.71977115", "text": "public DatumBuilder() {\r\n datum = new Datum();\r\n }", "title": "" }, { "docid": "87cf778478c473c421f68ffa73121023", "score": "0.7189688", "text": "public Builder() {\n tableBuilder = ImmutableMap.builder();\n }", "title": "" }, { "docid": "7eb59a5a6789aa49b34453cbd79c0680", "score": "0.71682465", "text": "public EventBuilder() {\n name = new Name(DEFAULT_NAME);\n date = new Date(DEFAULT_DATE);\n note = new Note(DEFAULT_NOTE);\n toDate = new Date(DEFAULT_TO_DATE);\n fromDate = new Date(DEFAULT_FROM_DATE);\n }", "title": "" }, { "docid": "6cec54c6220a7e3584a0940632b0631c", "score": "0.7138936", "text": "public Builder() {\n this(new VectorsConfiguration());\n }", "title": "" }, { "docid": "7b02f368cf9bfd7e1009639899f5aa97", "score": "0.71145356", "text": "public Builder() {\n\t\t\tsuper(Defaults.NAME);\n\t\t\tindexName = Defaults.INDEX_NAME;\n\t\t\tindex = Defaults.INDEX;\n\t\t\tstore = Defaults.STORE;\n\t\t\tomitNorms = Defaults.OMIT_NORMS;\n\t\t\tomitTermFreqAndPositions = Defaults.OMIT_TERM_FREQ_AND_POSITIONS;\n\t\t}", "title": "" }, { "docid": "26d7343f1f12b86e4025288509483f18", "score": "0.71010506", "text": "public MetadataBuilder() {\n }", "title": "" }, { "docid": "66e27c269634054b57696c0aef3fa997", "score": "0.70691776", "text": "@Override\n public Builder builder() {\n throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "cbac2d747afe604a7e647fd368770b26", "score": "0.70488614", "text": "public static <T> Builder<T> empty() {\n\t\treturn new Builder<>(null, false);\n\t}", "title": "" }, { "docid": "00bc33928e71e619ecac53f05d880559", "score": "0.69912475", "text": "Builder<H> builder();", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4cb71268ed0e90973005c8419159f50b", "score": "0.0", "text": "private void Initialization() {\n\n ripple_1 = (RippleView) rootView.findViewById(R.id.ripple_1);\n ripple_2 = (RippleView) rootView.findViewById(R.id.ripple_2);\n ripple_3 = (RippleView) rootView.findViewById(R.id.ripple_3);\n\n singleStudent = (LinearLayout) rootView.findViewById(R.id.singleStudent);\n inflate_multiple = (LinearLayout) rootView.findViewById(R.id.inflate_multiple);\n multipleStudent = (LinearLayout) rootView.findViewById(R.id.multipleStudent);\n show_more = (TextView) rootView.findViewById(R.id.show_more);\n btnCheckIn = (Button) rootView.findViewById(R.id.btnCheckIn);\n\n headertitle = (TextView) rootView.findViewById(R.id.headertitle);\n headertitle1 = (TextView) rootView.findViewById(R.id.headertitle1);\n String title = \" <font ' color='#ffffff'>Waterworks Aquatics </font>\" + \"<small><font ' color='#f89522'>Beta</font></small>\";\n\n headertitle.setText(Html.fromHtml(title));\n show_more.setOnClickListener(new OnClickListener() {\n\n @Override\n public void onClick(View v) {\n // TODO Auto-generated method stub\n Intent i = new Intent(getActivity(), SeeMoreUpcomingLessons.class);\n startActivity(i);\n }\n });\n\n relMenu = (Button) rootView.findViewById(R.id.relMenu);\n relMenu.setOnClickListener(new OnClickListener() {\n\n @Override\n public void onClick(View v) {\n // TODO Auto-generated method stub\n DashBoardActivity.onLeft();\n }\n });\n err_msg = (TextView) rootView.findViewById(R.id.err_msg);\n remaining_title = (TextView) rootView.findViewById(R.id.remaining_title);\n\n st_name = (TextView) rootView.findViewById(R.id.st_name);\n inst_dp = (CircleImageView) rootView.findViewById(R.id.inst_DP);\n inst_name = (TextView) rootView.findViewById(R.id.inst_name);\n my_sch_btn = (TextView) rootView.findViewById(R.id.my_sch_btn);\n timing = (TextView) rootView.findViewById(R.id.timing);\n MenuName = getResources().getStringArray(R.array.menuoption);\n btn_my_schdl_card = (CardView) rootView.findViewById(R.id.btn_my_schdl_card);\n btn_buyMore_lsn_card = (CardView) rootView.findViewById(R.id.btn_buyMore_lsn_card);\n btn_schdl_lsn_card = (CardView) rootView.findViewById(R.id.btn_schdl_lsn_card);\n reschdl = (TextView) rootView.findViewById(R.id.reschdl);\n\n btn_my_schdl_card.setOnClickListener(new OnClickListener() {\n @Override\n public void onClick(View v) {\n new Handler().postDelayed(new Runnable() {\n @Override\n public void run() {\n ((DashBoardActivity) getActivity()).cancelLesson();\n }\n }, 100);\n }\n });\n\n btn_schdl_lsn_card.setOnClickListener(new OnClickListener() {\n @Override\n public void onClick(View v) {\n\n if (pastdue.equalsIgnoreCase(\"0\")) {\n Intent i = new Intent(getActivity(), ScheduleLessonFragement.class);\n startActivity(i);\n getActivity().overridePendingTransition(R.anim.zoom_out, R.anim.zoom_out);\n } else {\n showUnpaidClassInfom();\n }\n }\n });\n\n btn_buyMore_lsn_card.setOnClickListener(new OnClickListener() {\n @Override\n public void onClick(View v) {\n\n new Handler().postDelayed(new Runnable() {\n @Override\n public void run() {\n Intent seeMULIntent = new Intent(getActivity(), BuyMoreSwimLession.class);\n startActivity(seeMULIntent);\n getActivity().overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left);\n }\n }, 100);\n\n }\n });\n ripple_1.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener() {\n @Override\n public void onComplete(RippleView rippleView) {\n ((DashBoardActivity) getActivity()).cancelLesson();\n\n }\n });\n\n ripple_2.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener() {\n @Override\n public void onComplete(RippleView rippleView) {\n Intent i = new Intent(getActivity(), ScheduleLessonFragement.class);\n startActivity(i);\n getActivity().overridePendingTransition(R.anim.zoom_out, R.anim.zoom_out);\n\n }\n });\n\n ripple_3.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener() {\n @Override\n public void onComplete(RippleView rippleView) {\n Intent seeMULIntent = new Intent(getActivity(), BuyMoreSwimLession.class);\n startActivity(seeMULIntent);\n getActivity().overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left);\n }\n });\n\n btnCheckIn.setOnClickListener(new OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intentCheckin = new Intent(getActivity().getApplicationContext(), ActivityCheckin.class);\n startActivity(intentCheckin);\n getActivity().finish();\n }\n });\n reschdl.setOnClickListener(new OnClickListener() {\n\n @Override\n public void onClick(View v) {\n // TODO Auto-generated method stub\n\n new Handler().postDelayed(new Runnable() {\n @Override\n public void run() {\n ((DashBoardActivity) getActivity()).cancelLesson();\n }\n }, 100);\n// ((DashBoardActivity) getActivity()).cancelLesson();\n }\n\n });\n remaining_lay = (LinearLayout) rootView.findViewById(R.id.remaining_lay);\n adapter = new HomeGridMenuOptionAdapter(getActivity().getApplicationContext(), MenuName, imageId);\n grid_home_option = (GridView) rootView.findViewById(R.id.grid_home_grid);\n grid_home_option.setAdapter(adapter);\n typeFace();\n }", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.6646134", "text": "public void mo3640e() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "5314003d8592219f71035b81985fabc0", "score": "0.64631", "text": "@Override\n\tpublic void roule() {\n\t\t\n\t}", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.6461734", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f9de8c9acb961a9d05ed00de5fe361e7", "score": "0.60638905", "text": "@Override\n\tpublic void seRetrage() {\n\t\t\n\t}", "title": "" }, { "docid": "483ae2cb94563f8e11864a532e44b464", "score": "0.606149", "text": "@Override\r\n public void perturb() {\n \r\n }", "title": "" }, { "docid": "e41230eaa4480036f1db3ae4856b5e2c", "score": "0.6048755", "text": "@Override\n\tpublic void evoluer() {\n\t\t\n\t}", "title": "" }, { "docid": "1fd4f5b0b471084e004373c89c1cf248", "score": "0.6040993", "text": "@Override\r\n\tpublic void sen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "432a53d7cc7bff50c3cce7662418fe22", "score": "0.60228735", "text": "private static void daelijeom() {\n\t\t\n\t}", "title": "" }, { "docid": "feb1a9485d06df38283881186fb528a9", "score": "0.6014977", "text": "@Override\n \tprotected void initialize() {\n \n \t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.6005143", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "609ec2ff060d9d4cb0276468f482734d", "score": "0.59771466", "text": "public void mo89673a() {\n }", "title": "" }, { "docid": "f3ea867fdaa4b61546bfc393614a093c", "score": "0.59687567", "text": "@Override\n\tpublic void setingInicial() {\n\t\t\n\t}", "title": "" }, { "docid": "3211287bc24304a8ca2975647e8a262e", "score": "0.59549016", "text": "public void mo1702b() {\n }", "title": "" }, { "docid": "e98e1f8ddb7a94a5d95c29c94232f737", "score": "0.5943817", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2d61391fe8770661f25917f3770f2a26", "score": "0.5926535", "text": "@Override\n\t\tpublic void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a55a150557f80abcbd733ee3162b0661", "score": "0.5925673", "text": "private void m18301a() {\n }", "title": "" }, { "docid": "6a8c6480f9fa5ab89d0437d00ffffccc", "score": "0.591947", "text": "@Override\n public void tirer() {\n\n }", "title": "" }, { "docid": "8f8a1c1dfa100614be8cac1247e068d5", "score": "0.59192646", "text": "@Override\r\n\t\t\tpublic void work() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "619a28ba3c7707bdf8bb1451d5c3d12b", "score": "0.5910928", "text": "public void mo25069a() {\n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "3e6e2e657db69bfc88c40c8467801266", "score": "0.5899844", "text": "@Override\r\n\tpublic void ben() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1134c4caabd33b9bbd414763740fddde", "score": "0.5896682", "text": "@Override\n\tpublic void respirar() {\n\n\t}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "1dc1426b3b1c079ac18377166a6b34d3", "score": "0.5893354", "text": "@Override\n public int getOrder() {\n return 0;\n }", "title": "" }, { "docid": "f737e2251cf43d326f43b44297696e55", "score": "0.58891016", "text": "@Override\n\tpublic void patrol() {\n\n\t}", "title": "" }, { "docid": "de8c2aa495b8cdade7e8895e58745ea2", "score": "0.5887025", "text": "public void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "13e4409784fd6f872b474e6effe9726e", "score": "0.5879506", "text": "@Override\n protected void initialization() {\n\n\n\n }", "title": "" }, { "docid": "bafce2e94d56e61baeadcb37047f6035", "score": "0.5858384", "text": "@Override\n\tprotected void postprocess() {\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "cdf2a119ee69429ad4420d45c29db1b6", "score": "0.5849137", "text": "@Override\n\tpublic void netword() {\n\t\t\n\t}", "title": "" }, { "docid": "2bcac1bab4eaa6c9cc4cb7e33c684cef", "score": "0.5848443", "text": "public void mo1691a() {\n }", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "6ed3e363c02164bd00163fa46e2c48c2", "score": "0.58366287", "text": "@Override\n public void init_moduule() {\n \n }", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "b04ed49986fb3f4321a90ec19ab7f86d", "score": "0.57759553", "text": "@Override\n public void alistar() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57732296", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "10e00e5505d97435b723aeadb7afb929", "score": "0.57712233", "text": "@Override\n\tpublic void pintar2() {\n\t\t\n\t}", "title": "" }, { "docid": "683eea6c39ec4e6df90f6be05200559d", "score": "0.5769485", "text": "@Override\r\n public void confer(){\n \r\n }", "title": "" }, { "docid": "728d084a23664ecf9b5c04acb6367b9c", "score": "0.5769356", "text": "@Override\r\n\tpublic void descarnsar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "359987993ad84757f9d7a12eaf38d2d7", "score": "0.5769273", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "0e6111ae009ad752a364e5e9fb168e98", "score": "0.5768801", "text": "@Override\n\tpublic void volumne() {\n\t\t\n\t}", "title": "" }, { "docid": "3f651ef5a6fad17e313e8da4ea72b6e3", "score": "0.57645357", "text": "@Override\n\tpublic void CT() {\n\t\t\n\t}", "title": "" }, { "docid": "615018f0186427ab904e872db6726b2d", "score": "0.5759138", "text": "@Override\n public void init()\n {\n \n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e634836bc1d61a011e04bfb67a971792", "score": "0.5745885", "text": "@Override\r\n\tpublic void sair() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a7cff18dc205a0d79dbe54bb988e6894", "score": "0.57428306", "text": "public void emettreSon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "ac5a7a92eda66d2b7ef40199230fa4af", "score": "0.5731894", "text": "@Override\n\tpublic void arbeiteInPizzeria() {\n\n\t}", "title": "" }, { "docid": "d1c2c284b75d7d46145b6f407496cd96", "score": "0.5725441", "text": "@Override\n\t\tprotected void initParameters() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "65022f0bb57de78da8518cd156b102e6", "score": "0.57112384", "text": "private void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "216da885329e8d80cdc3490fda895c11", "score": "0.57087225", "text": "@Override\n\tpublic void yaz1() {\n\t\t\n\t}", "title": "" }, { "docid": "3c6f91c038ca7ffdab72b5c233b827c5", "score": "0.5705329", "text": "@Override\n\tprotected void initMethod() {\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f3e16954465fbae384d88f411211419", "score": "0.56972444", "text": "@Override\r\n public int E_generar() {\r\n return 0;\r\n }", "title": "" }, { "docid": "365a661b2084f764f5e458915ff735ac", "score": "0.56864643", "text": "@Override\n public int getMunition() {\n return 0;\n }", "title": "" }, { "docid": "40539b782464082aab77fae6b047eade", "score": "0.5681723", "text": "@Override\n\tprotected int get_count() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.56774884", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "5f628d368579dd40ef68362831006940", "score": "0.56769013", "text": "@Override\n\tpublic void fahreFahrzeug() {\n\n\t}", "title": "" }, { "docid": "5ae17f2516c21590c850e6758048effe", "score": "0.56625473", "text": "@Override\n public int getID()\n {\n return 0;\n }", "title": "" }, { "docid": "b8cd427648ea50c94f93c47d407d10a0", "score": "0.5660459", "text": "public void mo3639d() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
66f8efcadd71b66258fa84a226fcbbaa
puts all ingredients that the user chooses from in ingredients list
[ { "docid": "9489abe1787af2769c5f22b0dfbf644d", "score": "0.619478", "text": "private void fillIngredientsList(){\n ArrayList<String> veg = new ArrayList<>();\n veg.add(\"tomato\");\n veg.add(\"onion\");\n veg.add(\"bell pepper\");\n veg.add(\"corn\");\n veg.add(\"lettuce\");\n veg.add(\"carrots\");\n ArrayList<String> spices = new ArrayList<>();\n spices.add(\"pepper\");\n spices.add(\"salt\");\n spices.add(\"oregano\");\n spices.add(\"hot pepper\");\n spices.add(\"cinnamon\");\n spices.add(\"sugar\");\n ArrayList<String> meats = new ArrayList<>();\n meats.add(\"chicken breasts\");\n meats.add(\"meat cubes\");\n meats.add(\"minced meats\");\n meats.add(\"whole chicken\");\n meats.add(\"ribs\");\n meats.add(\"burgers\");\n meats.add(\"kofta\");\n ArrayList<String> diary = new ArrayList<>();\n diary.add(\"milk\");\n diary.add(\"yogurt\");\n diary.add(\"butter\");\n diary.add(\"white cheese\");\n diary.add(\"romi cheese\");\n diary.add(\"mozzarella\");\n diary.add(\"chedder\");\n ArrayList<String> seafoods = new ArrayList<>();\n seafoods.add(\"fish fillet\");\n seafoods.add(\"whole fish\");\n seafoods.add(\"shrimps\");\n seafoods.add(\"calimari\");\n seafoods.add(\"tuna\");\n ArrayList<String> sauces = new ArrayList<>();\n sauces.add(\"ketchup\");\n sauces.add(\"mayonnaise\");\n sauces.add(\"mustard\");\n sauces.add(\"caesar\");\n sauces.add(\"bbq\");\n\n general_ingredients.add(new Type_of_ingredients(\"vegetables\", veg));\n general_ingredients.add(new Type_of_ingredients(\"spices\", spices));\n general_ingredients.add(new Type_of_ingredients(\"meats\", meats));\n general_ingredients.add(new Type_of_ingredients(\"diary\", diary));\n general_ingredients.add(new Type_of_ingredients(\"seafoods\", seafoods));\n general_ingredients.add(new Type_of_ingredients(\"sauces\", sauces));\n }", "title": "" } ]
[ { "docid": "9712b9aee032b06067fbbd17819adbfe", "score": "0.7115986", "text": "private void showSelectedIngredients(){\n String all=\"\";\n for(int i=0;i<selected_ingredients.size();i++){\n all+=selected_ingredients.get(i);\n all+=\" \";\n }\n Toast.makeText(getBaseContext(),all,Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "a0f5e9cb73394bb93fc0d9cfbf051b47", "score": "0.6845515", "text": "public void setIngredients(String ingredients) {\n this.ingredients = ingredients;\n }", "title": "" }, { "docid": "c311729d24bc3b5d9e1616b698c6c2e3", "score": "0.67765486", "text": "public void getIngredients() {\n\t\tString str;\n\t\ttry (BufferedReader br = new BufferedReader(new FileReader(\"C:\\\\Users\\\\\" + System.getProperty(\"user.name\") + \"\\\\Documents\\\\recipefile\\\\recipefile.txt\"))) {\n\t\t\t// reading until we get #this.recipe\n\t\t\ttry {\n\t\t\t\tdo {\n\t\t\t\t\tstr = br.readLine();\n\t\t\t\t\tif (str.equals(this.recipe)) {\n\t\t\t\t\t\tthis.ingredients = br.readLine();\n\t\t\t\t\t\tSystem.out.println(this.ingredients);\n\t\t\t\t\t}\n\t\t\t\t} while (str != null);\n\t\t\t} catch (NullPointerException recipenotfound) {\n\t\t\t\tSystem.out.println(\"Recipe not found.\");\n\t\t\t}\n\t\t} catch (IOException filenotfound) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tSystem.out.println(\"File could not be found.\");\n\t\t\tSystem.exit(-1);\n\t\t}\n\t}", "title": "" }, { "docid": "df32d77903d8937eb5a3ad0b6c1ce668", "score": "0.6646762", "text": "public String imprimirListaIngredientes() {\n String lista = \"Lista de ingredientes: \\n\";\n for (int i = 0; i < listaIngredientes.size(); i++) {\n lista = lista + (i + 1) + \". \" + listaIngredientes.get(i).toString() + \"\\n\";\n }\n return lista;\n }", "title": "" }, { "docid": "4d0cb77d562f5f9b0bc8ea9ec06d8317", "score": "0.6462077", "text": "public List<Ingredient> allIngredients() throws IOException {\n return kitchenDao.retrieveIngredientsList();\n }", "title": "" }, { "docid": "883549f3e699ef44f5d1886127e449a4", "score": "0.6384215", "text": "public void showIngredients(int dozens)\n\t {\n\t\t double powderedSugar = 1.5;\n\t\t double butterOrMargarine = 1.0;\n\t\t double vanilla = 1.0;\n\t\t double almondExtract = 1.0;\n\t\t double egg = 1.0;\n\t\t double goldMedalFlour = 2.5;\n\t\t double bakingSoda = 1.0;\n\t\t double tartarCream = 1.0;\n\t\t \n\t\t //method to calculate required ingredients and print list\n\t System.out.println(\"list of ingredients for recipe \");\n\t System.out.println(\"Cups of powdered sugar: \"+powderedSugar*dozens/4);\n\t System.out.println(\"cup of Butter or margarine : \"+butterOrMargarine*dozens/4);\n\t System.out.println(\"Teaspoon of vanilla : \"+vanilla*dozens/4);\n\t System.out.println(\"Teaspoon of almond extract : \"+almondExtract*dozens/4);\n\t System.out.println(\"Egg : \"+egg*dozens/4);\n\t System.out.println(\"Cups of gold medal all purpose flour: \"+goldMedalFlour*dozens/4);\n\t System.out.println(\"Teaspoon of baking Soda : \"+bakingSoda*dozens/4);\n\t System.out.println(\"Teaspoon of tartar Cream : \"+tartarCream*dozens/4); \n\t \n\t }", "title": "" }, { "docid": "0b19bc9f4181311c319da0c6b6043034", "score": "0.62361854", "text": "public void printAvailableIngredientsQuantity() {\n ingredientStock.forEach((ingredient, quantity) -> System.out.println(ingredient+\" : \"+ quantity));\n }", "title": "" }, { "docid": "198c47a7b7fce169605c6524d3884da6", "score": "0.6219528", "text": "public void setIngredientsList(ArrayList<Ingredient> ingredientsList) {\n this.ingredientsList = ingredientsList;\n }", "title": "" }, { "docid": "9cf3d70b372ef1d362ce566018332114", "score": "0.6196871", "text": "public String getIngredients() {\n return this.ingredients;\n }", "title": "" }, { "docid": "e9650e4c1bac5c33458ba0673508198a", "score": "0.6160095", "text": "private void annadirIng(){\n pizza.addIng((String)selecIngredientes.getSelectedItem());\n texto.setText(pizza.ingredientes());\n texto.setText(texto.getText() + \"\\n numero ingredientes: \" + pizza.numIngredientes() + '\\n');\n }", "title": "" }, { "docid": "7227b8009ef49580f936af6676b061b1", "score": "0.61336005", "text": "public void setIngredientList(List<RecipeIngredient> ingredientList) {\n this.ingredientList = ingredientList;\n }", "title": "" }, { "docid": "4816485e8752375f1a7a05ee0e4f7711", "score": "0.61288095", "text": "public List<Ingrediente> verIngredientes(){\t\t\t\n\t\t\t\n\t\t\tList<Ingrediente> li=new ArrayList<Ingrediente>();\n\t\t\tfor(Ingrediente i: ingredientes)\n\t\t\t{\n\t\t\t\tif(i.getTipo().equals(TipoIngrediente.INGREDIENTE))\n\t\t\t\t{\n\t\t\t\t\tli.add(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn li;\t\t\n\t}", "title": "" }, { "docid": "5508bf6639124098d2fa990f54256cbf", "score": "0.6066028", "text": "public void printRecipe(){\r\n int i = 0;\r\n System.out.println(\"Reciepe contains:\");\r\n for (Ingredient ing : ingredientList){\r\n i++;\r\n System.out.println(i);\r\n ing.printItemDetails();\r\n \r\n }\r\n }", "title": "" }, { "docid": "1cbbae1b2cb230bc022c7830dd6c55ce", "score": "0.59675187", "text": "public void fetchIngredients(){\n for(Menu menu : menus) {\n int number = 0;\n String name = \"\";\n try {\n databaseConnector.buildConnection();\n sql = \"SELECT ingredient.name, ingredient.number, ingredient.consumed from menu_ingredient \" +\n \"INNER JOIN ingredient ON menu_ingredient.ingredient_number = ingredient.number \" +\n \"WHERE menu_number = \" + menu.number + \"\";\n ResultSet rs = databaseConnector.fetchData(sql);\n while (rs.next()) {\n number = rs.getInt(\"number\");\n name = rs.getString(\"name\");\n Ingredient ingredient = new Ingredient(name, number);\n menu.ingredients.add(ingredient);\n }\n databaseConnector.closeConnection();\n } catch (SQLException ex) {\n ex.fillInStackTrace();\n }\n }\n }", "title": "" }, { "docid": "22879ec3f42e9e5a1bc3ee6e048d6c63", "score": "0.5880843", "text": "public List<String> getIngredientNames(String name);", "title": "" }, { "docid": "71b87998ce6f727ea17293541f1b9a00", "score": "0.5853214", "text": "private void initIngredients() {\n // Crusts\n crust = new Ingredient(\"Crust\", \"Crust\", false);\n gfCrust = new Ingredient(\"Crust\", \"Crust\", true);\n // Sauces\n tomSauce = new Ingredient(\"Tomato Sauce\", \"Sauce\", false);\n gfTomSauce = new Ingredient(\"Tomato Sauce\", \"Sauce\", true);\n // Cheeses\n moz = new Ingredient(\"Mozzarella\", \"Cheese\", true);\n // Meats\n pep = new Ingredient(\"Pepperoni\", \"Meat\", true);\n sausage = new Ingredient(\"Sausage\", \"Meat\", true);\n ham = new Ingredient(\"Ham\", \"Meat\", true);\n bacon = new Ingredient(\"Bacon\", \"Meat\", true);\n chicken = new Ingredient(\"Chicken\", \"Meat\", true);\n // Veggies\n basil = new Ingredient(\"Basil\", \"Veggie\", true);\n olives = new Ingredient(\"Olives\", \"Veggie\", true);\n mushrooms = new Ingredient(\"Mushrooms\", \"Veggie\", true);\n spinach = new Ingredient(\"Spinach\", \"Veggie\", true);\n pineapple = new Ingredient(\"Pineapple\", \"Veggie\", true);\n garlic = new Ingredient(\"Roasted Garlic\", \"Veggie\", true);\n onions = new Ingredient(\"Onions\", \"Veggie\", true);\n peppers = new Ingredient(\"Bell Peppers\", \"Veggie\", true);\n }", "title": "" }, { "docid": "88e93231321ee61871655cdd33f841b1", "score": "0.58254194", "text": "public Iterator<Ingredient> getAllIngredients() {\n return ingredients.iterator();\n }", "title": "" }, { "docid": "25bcc72137fb13e2c7236f83d678905a", "score": "0.5816517", "text": "public void enterPurchases()\n {\n \tScanner scan = new Scanner(System.in);\n \tSystem.out.print(\"burgers -->\");\n \tburgers = scan.nextInt();\n \tSystem.out.print(\"hot dogs -->\");\n \thotdogs = scan.nextInt();\n \tSystem.out.print(\"chips -->\");\n \tchips = scan.nextInt();\n \tSystem.out.print(\"candy -->\");\n \tcandy = scan.nextInt();\n \tSystem.out.print(\"drinks -->\");\n \tdrinks = scan.nextInt();\n \tscan.close();\n }", "title": "" }, { "docid": "1bd8b28c8a597d7c279e1bf0cfe9c21b", "score": "0.5764032", "text": "public synchronized List<String> getIngredients(ImmutableMap<String, Integer> beverageIngredients) {\n List<String> unavailableItemsList = new ArrayList<>();\n beverageIngredients.forEach((ingredient, quantity) ->{\n if (getQuantity(ingredient) < quantity) {\n unavailableItemsList.add(ingredient);\n }\n });\n if(unavailableItemsList.size() == 0) {\n /* All required ingredients are available */\n beverageIngredients.forEach((ingredient, quantity) ->{\n getItem(ingredient, quantity);\n });\n }\n return unavailableItemsList;\n }", "title": "" }, { "docid": "0ff7b15f87f56def0eb2ef2cf1d1e719", "score": "0.57519567", "text": "@Override\n\tpublic Set<Ingredient> getAllIngredients() {\n\t\tSet<Ingredient> all_ingrediens = new HashSet<Ingredient>();\n\t\tfor(Dish d : selectedDishes){\n\t\t\tSet<Ingredient> ingredient = d.getIngredients();\n\t\t\tfor(Ingredient i : ingredient){\n\t\t\t\tall_ingrediens.add(i);\n\t\t\t}\n\t\t}\n\t\treturn all_ingrediens;\n\t}", "title": "" }, { "docid": "113bee12b1fac81254ba9cfc2d2fa7e8", "score": "0.5738297", "text": "public List<Ingredients> getIngredients() {\n return ingredients;\n }", "title": "" }, { "docid": "8309b79b4e3092896a60c9992a334b5d", "score": "0.57334757", "text": "public void ingredient() {\n Intent intent = new Intent(this, IngredientInput.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "8272366ce35b396f06d14183e0148cbe", "score": "0.5643902", "text": "public ArrayList<DishIngredient> getIngredients(ArrayList<DishIngredient> listOfIngredients);", "title": "" }, { "docid": "6e1df9fa0d1e3c420e5dea38275b483c", "score": "0.56199163", "text": "@Override\n public void cook() {\n boolean randomCookOrShout = new Random().nextBoolean();\n if (randomCookOrShout){\n MessageBroker.messageConsole(printRequestedIngredients(requestIngredients()));\n } else { // shouts\n MessageBroker.messageConsole(this + \" > Hey, Let's cook :)\");\n }\n }", "title": "" }, { "docid": "cbe4e81db609b52c5274923dabea6552", "score": "0.56043273", "text": "public String GetIngredientsListAsString(double portionsAmount, PrettyPrints pp) {\n String s = \"\";\n for (IngredientsListEntry ingredientsListEntry : ingredients) {\n s += \"\\n\" + pp.SurroundString(ingredientsListEntry.GetDetails(portionsAmount / portions), ' ');\n }\n return s;\n }", "title": "" }, { "docid": "1ad061c8618bb510562891948b79347f", "score": "0.559394", "text": "public ListIngredient ()\n\t{\n\t\tingredientList = new Ingredient[DEFAULT_MAX_INGREDIENT];\n\t\tnumIngredients = 0;\n\t}", "title": "" }, { "docid": "8f9f6a09fa41f4db4b780ba3452689a4", "score": "0.55870765", "text": "public void printFood() {\n\t\tSystem.out.println(\"These are your food items:\");\n\t\t\n\t\tif(listOfFood.size() == 0) {\n\t\t\tSystem.out.println(\"You currently have no food, visit the general store to buy some \\n\");\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < listOfFood.size(); i++) {\n\t\t\tFood currentFood = listOfFood.get(i);\n\t\t\tSystem.out.println(\"\\t\" +(i + 1) + \". \" + currentFood.name + \", +\" + currentFood.healthBoost + \" health to animals\");\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "59d8fe2ab17d6c757a4a1a9034e14746", "score": "0.55867344", "text": "public List<Ingredient> getAllIngredients(Integer id);", "title": "" }, { "docid": "f4640e9666bd3d80543c062d8541e4fc", "score": "0.55809826", "text": "public List<RecipeIngredient> getIngredientList() {\n return ingredientList;\n }", "title": "" }, { "docid": "ecc9bcf4adf8aac6c8afde8d9ec51d3a", "score": "0.5570172", "text": "public void inventory() {\n\t\tprint(\"Wheat = \" + p.num_wheat);\n\t\tprint(\"Meat = \" + p.num_meat);\n\t\tprint(\"Fruit = \" + p.num_fruit);\n\t\tprint(\"Alcohol = \" + p.num_alcohol);\n\t\tprint(\"\\nCash = $\" + p.cash);\n\t\tprint(\"Available Space = \" + p.available_space);\n\t\tprint(\"Guns = \" + p.num_guns);\n\t\tprint(\"Wagon Capacity = \" + p.capacity);\n\t\tprint(\"\\nEnter \\\"Back\\\" to return to menu\");\n\t\tInputStreamReader istream = new InputStreamReader(System.in);\n\t\tBufferedReader bufRead = new BufferedReader(istream);\n\t\ttry {\n\t\t\t@SuppressWarnings(\"unused\")\n\t\t\tString str = bufRead.readLine().trim();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tlist_options();\n\t}", "title": "" }, { "docid": "c1564cc953396a8fde2b624f80b756ae", "score": "0.55634", "text": "public ArrayList<Ingredient> getIngreds() {\n ArrayList<Ingredient> ingreds = new ArrayList<>();\n for (int i = 0; i < recipeIngredients.size(); i++) {\n ingreds.add(recipeIngredients.get(i).getIngredient());\n }\n return ingreds;\n }", "title": "" }, { "docid": "fc01a06c5e88feee28f0bc686b0cc5b6", "score": "0.55596614", "text": "public void addIngredient(Ingredient ingredient){\n ingredientsList.add(ingredient);\n }", "title": "" }, { "docid": "91d5587d867b3f061f5bf8ecb7ebc7ae", "score": "0.55553484", "text": "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int numberOfDays = in.nextInt();\n int numberOfIngredients = in.nextInt();\n\n List<String> ingredientList = new ArrayList<>();\n int sameCategoryCountRequired = (int) Math.ceil(numberOfIngredients * 3 / 5d);\n String resultString = \"\";\n\n for (int i = 0; i < numberOfDays; i++) {\n String resultStringInternal = \"-\";\n String ingredientId = in.next();\n ingredientList.add(ingredientId);\n long fiberCount = ingredientList.stream().filter(ing -> ing.contains(\"FIBER\")).count();\n long fatCount = ingredientList.stream().filter(ing -> ing.contains(\"FAT\")).count();\n long carbCount = ingredientList.stream().filter(ing -> ing.contains(\"CARB\")).count();\n\n // System.out.println(\"Ingredient List : \" + ingredientList.toString());\n\n // Only one major would present at a time as at the end the cooked ingredients are removed from ingredientList.\n boolean isFiberMajor = fiberCount >= sameCategoryCountRequired && ingredientList.size() >= numberOfIngredients;\n boolean isFatMajor = fatCount >= sameCategoryCountRequired && ingredientList.size() >= numberOfIngredients;\n boolean isCarbMajor = carbCount >= sameCategoryCountRequired && ingredientList.size() >= numberOfIngredients;\n\n if (isFiberMajor) {\n resultStringInternal = cook(ingredientList,numberOfIngredients, \"FIBER\");\n }\n\n if (isFatMajor) {\n resultStringInternal = cook(ingredientList,numberOfIngredients, \"FAT\");\n }\n\n if (isCarbMajor) {\n resultStringInternal = cook(ingredientList,numberOfIngredients, \"CARB\");\n }\n\n resultString += resultStringInternal;\n }\n System.out.println(resultString);\n }", "title": "" }, { "docid": "d03b7d202d5d003b50fd647ff927b349", "score": "0.5546927", "text": "public void AddIngredientToList (IngredientsListEntry ingredient) {\n ingredients.add(ingredient);\n }", "title": "" }, { "docid": "c3ca075e5e1d6da6a7a01f3b347b6b4b", "score": "0.55244195", "text": "private void getInstrumentsFromUser()throws IOException{\n\t\tString choice = \"y\";\n\t\twhile (!choice.toUpperCase().equals(\"N\")){\n\t\t\tgetInstrument(choice);\n\t\t\tSystem.out.println(\"Would you not like to add more instruments? (Y) to continue or (N) to quit?\");\n\t\t\tchoice = ConsoleUtils.getStringValue(\"Enter your choice (Y or N)\", inReader);\n\t\t}\n\t}", "title": "" }, { "docid": "91bd71d0634fe97e0f005cb4cba747d6", "score": "0.5513863", "text": "public ArrayList<String> getRecipesToString() {\n\t\tArrayList<String> s = new ArrayList<String>();\n\t\tfor (int i=0; i<userRecipes.size(); i++) {\n\t\t\ts.add(userRecipes.get(i).toString());\n\t\t}\n\t\treturn s;\n\t}", "title": "" }, { "docid": "a0a20fee5150ea1220fe40ef56332271", "score": "0.5513007", "text": "public List<Ingredient> getIngredients() {\n\t\treturn ingredients;\n\t}", "title": "" }, { "docid": "ffd26a7a2675021501f824500ad0db85", "score": "0.5488255", "text": "public void setIngredientsFromRecipe(Recipe recipe) {\n ArgumentsValidator.notNull(recipe);\n\n Collection<Ingredient> copyCollection;\n clearRecipe();\n\n copyCollection = IteratorConverter.toCollection(recipe.getIngredients());\n ingredients.addAll(copyCollection);\n\n copyCollection = IteratorConverter.toCollection(recipe.getAdditives());\n additives.addAll(copyCollection);\n }", "title": "" }, { "docid": "b5735a4b459e6aa583fb895e905f0638", "score": "0.5472479", "text": "public List<Ingredient> getAllTypeOfIngredient() {\n\n List<Ingredient> ingredients = new ArrayList<Ingredient>();\n for (Pizza piz : _pizzas) {\n List<Ingredient> ings = piz.getIngredients();\n //parcourire tous les ingedients de chaques pizza\n for ( Ingredient i : ings) {\n if(!ingredients.contains(i))\n ingredients.add(i);\n }\n }\n return ingredients;\n }", "title": "" }, { "docid": "eba6fc70fe7bd558fd2763acf197b322", "score": "0.5449055", "text": "@Override\n protected void initIngredientList() {\n super.ingredientList.add(new Water());\n super.ingredientList.add(new CocoaBean());\n super.ingredientList.add(new Sugar());\n }", "title": "" }, { "docid": "63ee3281b9e33fb8437b7e8743d8cb8a", "score": "0.54431015", "text": "public void agregarIngrediente(Ingrediente ingrediente){\n\t\tingredientes.add(ingrediente);\n\t}", "title": "" }, { "docid": "a22afed38cbffc9edb1018fe73267aed", "score": "0.54070956", "text": "public void showInventory() {\n\tItem I;\n\tboolean is;\n\tString isString;\n\tfor (int i=0; i<this.inventory.size(); i++)\n\t{\n\t\tI=this.inventory.get(i);\n\t\t\t\n\t\tSystem.out.println(\" \"+I.getName());\n\t}\n\t\n}", "title": "" }, { "docid": "2fbbdb04c257f2cb940ca9981f62cbbd", "score": "0.53818834", "text": "public ArrayList<String> getIngredientNames(){\n return (ArrayList) ingredients.stream().map((e) -> e.getKey().getName()).collect(Collectors.toList());\n }", "title": "" }, { "docid": "cb247dcb4412ae8a8a9fbaf3f02e5dd8", "score": "0.5367486", "text": "private String buildIngredients(int position) {\n StringBuilder makeList = new StringBuilder();\n makeList.append(ingredients.get(position).getQuantity()).append(\" \");\n makeList.append(ingredients.get(position).getMeasure()).append(\" - \");\n makeList.append(ingredients.get(position).getIngredient()).append(\"\\n\");\n return makeList.toString();\n }", "title": "" }, { "docid": "4235db18540e67b0ccaecf692f090805", "score": "0.5359819", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tif(e.getActionCommand() == \"display\") {\r\n\t\t\tString plate_color = belt.getPlateAtPosition(location).getColor().name();\r\n\t\t\tSushi type_sushi = belt.getPlateAtPosition(location).getContents();\r\n\t\t\tIngredientPortion[] ingredient_list = belt.getPlateAtPosition(location).getContents().getIngredients();\r\n\t\t\t//String[] ingredient_names = new String[ingredient_list.length];\r\n\t\t\tString[] ingredient_amounts = new String[ingredient_list.length];\r\n\t\t\t//String ingredients_and_amounts = \"\";\r\n\t\t\tif(type_sushi instanceof Roll) {\r\n\t\t\t\tfor(int i = 0; i < ingredient_list.length; i++) {\r\n\t\t\t\t\t//ingredient_names[i] = ingredient_list[i].getIngredient().getName();\r\n\t\t\t\t\tingredient_amounts[i] = ingredient_list[i].getAmount() + \" ounce of \" + ingredient_list[i].getIngredient().getName() + \"\\n\";\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tfor(int i = 0; i < ingredient_amounts.length; i++) {\r\n\t\t\t\t\tif(ingredient_amounts[i] != null) {\r\n\t\t\t\t\tfinal_ingreds.append(ingredient_amounts[i]) ;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t//final_ingreds.append(\"a\") ;\r\n\t\t\t\t//final_ingreds ;\r\n\t\t\t\t//System.out.println(\"roll\");\r\n\t\t\t}\r\n\t\t\telse if(type_sushi instanceof Sashimi) {\r\n\t\t\t\tfinal_ingreds.append(\"Sashimi\");\r\n\t\t\t}\r\n\t\t\telse if(type_sushi instanceof Nigiri) {\r\n\t\t\t\tfinal_ingreds.append(\"Nigiri\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tString chef_name = belt.getPlateAtPosition(location).getChef().getName();\r\n\t\t\tint age = belt.getAgeOfPlateAtPosition(location);\r\n\t\t\t\r\n\t\t\tJOptionPane.showMessageDialog(parent,\r\n\t\t\t \"Plate Color: \" + plate_color + \"\\n\" +\r\n\t\t\t \"Type of Sushi: \" + type_sushi.getName() + \"\\n\" +\r\n\t\t\t \"Ingredients: \\n\" + final_ingreds.toString() + \"\\n\" +\r\n\t\t\t \"Chef: \" + chef_name + \"\\n\" +\r\n\t\t\t \"Age of Plate: \" + age);\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "d56989de9511f6b34bfa1f0c498d1394", "score": "0.53581166", "text": "public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n String reply = \"\";\n String name = \"\";\n String names =\"\";\n do {\n System.out.println(\"Please enter guest name:\");\n name = scanner.nextLine();\n System.out.println(\"Do you want to enter new guest name:\");\n reply = scanner.nextLine();\n names += name + \", \";\n } while (reply.equalsIgnoreCase(\"yes\")) ;\n System.out.println(\"Guest's list: \" + names);\n }", "title": "" }, { "docid": "4c8f7635b0d12b4225b5eabe50dd87a7", "score": "0.5347279", "text": "public Set<Pair<Ingredient, Quantity>> getIngredients() {\n return ingredients;\n }", "title": "" }, { "docid": "b24d40fe52b506ad4257e4ff3ce87fc2", "score": "0.5294478", "text": "private void printMenuChoices()\n {\n System.out.println();\n System.out.println(\"\\t\\tMenu options\");\n System.out.println(\"Quit:\\t\\tQuit program\");\n System.out.println(\"PrintAll:\\t\\tPrint every product\");\n System.out.println(\"Search:\\t\\tSearch for product\");\n System.out.println(\"Show low stock:\\t\\tPrint low stock items\");\n System.out.println(\"Restock:\\t\\tRestock Products below 3\");\n \n }", "title": "" }, { "docid": "21b314fdfd4680de22ccb5f57a56f28e", "score": "0.52898276", "text": "@Generated(hash = 183837919)\n public synchronized void resetIngredients() {\n ingredients = null;\n }", "title": "" }, { "docid": "717ba55357e0c7580c3743bff1f82d13", "score": "0.52862394", "text": "private void addToList(){\n if(!_dataset.containsKey(\"Ingredients\")){\n Toast.makeText(getApplicationContext(),\"No Ingredients\",Toast.LENGTH_LONG).show();\n return;\n }\n\n ShopList list = _db.getShopList();\n ArrayList<Ingredient> ingredients = list.getIngredients();\n\n Toast.makeText(getApplicationContext(),\"Recipe Added To Shopping List\",Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "9fc7f7c16857df9ec89aabbb472ce797", "score": "0.5275147", "text": "public void updateList() throws IOException {\n\n ingredientList.clear();\n ingredientList.add(new ArrayList<>());\n addIngredientsToUpdatedList();\n }", "title": "" }, { "docid": "b6281949f620b5bf170ab25bae3b56ca", "score": "0.5268931", "text": "public void setIngredients( Map<String, Boolean> ingredients) {\n this.ingredients = ingredients;\n }", "title": "" }, { "docid": "d0c35b38a41838ab79a456426181ab98", "score": "0.52579814", "text": "public Salad(String name, List<Ingredient> ingredients) {\n this.ingredients = ingredients;\n this.name = name;\n }", "title": "" }, { "docid": "bc7d6585748038644b349383e0b1caf6", "score": "0.52503747", "text": "public static void FoodList(){\n\tString FoodList[]= {\"Shezwan Noodle\",\"Manchurian\",\"Red Habanero pepper\"};\n\t\t\n\t\n\t\t\n\t\tSystem.out.println(\" This is the Spicy Food Class\");\n\t\tRandom Foodforyou = new Random();\t\n\t\tint FoodRandomizer= Foodforyou.nextInt(FoodList.length);\n\t\n\t\tfor(int i = 0; i<=FoodList.length-1;i++){\n\t\t\t\n\t\t\tif(FoodList[i].equals(FoodList[FoodRandomizer])){\n\t\t\t\t\n\t\t\t\tSystem.out.println(FoodList[FoodRandomizer]);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\n\t}", "title": "" }, { "docid": "ee79148fb0e357419f0e2685954c892c", "score": "0.5242563", "text": "public void mainMenu() {\n\t\tint repeat = 0;\n\t\twhile (repeat != 1) {\n\n\t\t\tSystem.out.println(\"----------------------------------------------------------------------\");\n\t\t\tSystem.out.println(\"WELCOME TO THE VET CLINIC!\");\n\t\t\tSystem.out.println(\"----------------------------------------------------------------------\");\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.out.println(\"PRESS 1 TO LIST ALL STAFF\");\n\t\t\tSystem.out.println(\"PRESS 2 TO LIST STAFF BY CATEGORIES\");\n\t\t\tSystem.out.println(\"PRESS 3 TO LIST ALL ADMIN STAFF PERFORMING A CERTAIN TASK\");\n\t\t\tSystem.out.println(\"PRESS 4 TO SEARCH FOR A SPECIFIC MEMBER OF STAFF BY NAME\");\n\t\t\tSystem.out.println(\"PRESS 5 TO LIST ALL ANIMALS\");\n\t\t\tSystem.out.println(\"PRESS 6 TO LIST ANIMALS BY VARIOUS TYPES\");\n\t\t\tSystem.out.println(\"PRESS 7 TO SEARCH FOR A SPECIFIC ANIMAL BY NAME\");\n\t\t\tSystem.out.println(\"PRESS 8 TO EXIT THE PROMPT\");\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.out.println(\"----------------------------------------------------------------------\");\n\n\t\t\tint input = k.nextInt();\n\n\t\t\tswitch (input) {\n\t\t\tcase (1):\n\t\t\t\tlistAllStaff();\n\t\t\t\tbreak;\n\t\t\tcase (2):\n\t\t\t\tlistStaffByCategories();\n\t\t\t\tbreak;\n\t\t\tcase (3):\n\t\t\t\tSystem.out.println(\"TYPE IN THE TASK THE EMPLOYEE IS ASSIGNED TO\");\n\t\t\t\tString task = k.next();\n\t\t\t\tSystem.out.println(\"----------------------------------------------------------------------\");\n\t\t\t\tlistAdminTask(task);\n\t\t\t\tbreak;\n\n\t\t\tcase (4):\n\t\t\t\tSystem.out.println(\"TYPE IN THE NAME OF THE EMPLOYEE\");\n\t\t\t\tString name = k.next();\n\t\t\t\tSystem.out.println(\"----------------------------------------------------------------------\");\n\t\t\t\tnameSearch(name);\n\t\t\t\tbreak;\n\n\t\t\tcase (5):\n\t\t\t\tlistAllAnimals();\n\t\t\t\tbreak;\n\n\t\t\tcase (6):\n\t\t\t\tlistAnimalsByType();\n\t\t\t\tbreak;\n\t\t\tcase (7):\n\t\t\t\tSystem.out.println(\"TYPE IN THE NAME OF THE ANIMAL\");\n\t\t\t\tString animalName = k.next();\n\t\t\t\tSystem.out.println(\"----------------------------------------------------------------------\");\n\t\t\t\tanimalNameSearch(animalName);\n\t\t\t\tbreak;\n\t\t\tcase (8):\n\t\t\t\tSystem.out.println(\"----------------------------------------------------------------------\");\n\t\t\t\tSystem.out.println(\"GOODBYE! THANKS FOR USING OUR VET CLINIC SYSTEM!\");\n\t\t\t\trepeat++;\n\n\t\t\t}\n\n\t\t}\n\t}", "title": "" }, { "docid": "138a20f0452cd2ab328638ccbb36dbaf", "score": "0.5239844", "text": "public List<MenuIngredient> getIngredients(Long id) {\n \tOptional<Menu> menu = menuRepository.findById(id);\n \tMenu m = null;\n if (!menu.isPresent()) {\n throw new MenuNotFoundException(\"Menu record is not available...\");\n } else {\n \tm = menu.get();\n \treturn menuIngredientRepository.findByMenu(m);\n }\n }", "title": "" }, { "docid": "a0d3321c81ac34445873bfdfb72f7e2a", "score": "0.52297175", "text": "public String getMainIngredient() {\r\n \t\treturn MainIngredient;\r\n \t}", "title": "" }, { "docid": "3dbc225fa066c35c5f4fe28f165134c0", "score": "0.52280545", "text": "public void eatStuff() {\n\t\tSystem.out.println(\"yum \"+ favFood);\n\t}", "title": "" }, { "docid": "349986c940ac34f1479419c8b7cfe243", "score": "0.5227384", "text": "public List<Ingredient> getIngredientOf(Pizza pizza) {\n\n for (Pizza piz : _pizzas) {\n if (piz.getName().equals(pizza.getName())) {\n return piz.getIngredients();\n }\n }\n\n return null;\n }", "title": "" }, { "docid": "5900dd575df9a6c8a9c09de7334b5904", "score": "0.5218887", "text": "@Override\n\tpublic void harvest() {\n\t\tSystem.out.println(\"Sie haben \" + fruits + \" geerntet\");\n\t}", "title": "" }, { "docid": "f9929aa240dd3f19a781d75c6e24809b", "score": "0.51979923", "text": "private void showMenu()\n {\n boolean done = false;\n while(!done)\n {\n int choice;\n System.out.println(\"(1) Search by name, (2) Search by email, (3) Display all entries, (4) Exit\");\n \n try\n {\n choice = Integer.parseInt(input.nextLine());\n if(choice == 4)\n {\n done = true;\n }\n else\n {\n Option opt = options.get(choice);\n if(opt != null)\n {\n String query = null;\n if(opt.needs_input())\n {\n System.out.print(\"Enter search query: \");\n query = input.nextLine();\n }\n System.out.println(opt.do_option(query));\n }\n }\n }\n catch(NumberFormatException e)\n {\n // The user entered something non-numerical.\n System.out.println(\"Enter a number\");\n }\n }\n }", "title": "" }, { "docid": "ea47a82dcf0270e3dd050dea22608450", "score": "0.51898867", "text": "public Ingredient getIngredientByName(String name);", "title": "" }, { "docid": "76fef93d79ae8982aae7a9319ce95fd2", "score": "0.51887506", "text": "void item(){\r\n System.out.println(\"Welcome !!: \");\r\n System.out.println(\"Items category:\");\r\n System.out.println(\"[1] Men's clothing\");\r\n System.out.println(\"[2] Women's clothing\");\r\n System.out.println(\"[3] Shoes\"); \r\n System.out.println(\"[4] Accessories\"); \r\n System.out.println(\"----------------------------------------------\"); \r\n System.out.println(\"Select [1-4] Or Click [0] to Exit \\n\");\r\n }", "title": "" }, { "docid": "a4f7afac80bee02e2683f9c37284465a", "score": "0.51763284", "text": "public void setMainIngredient(String mainIngredient) {\r\n \t\tMainIngredient = mainIngredient;\r\n \t}", "title": "" }, { "docid": "7f0496e362ef80f09188cfa18d5468f2", "score": "0.5170962", "text": "public void ingresarIngrediente(View v){\n String ingrediente = etIngrediente.getText().toString();\n receta.getIngredientes().add(ingrediente);\n\n arrayAdapter = new ArrayAdapter(this, android.R.layout.simple_expandable_list_item_1, receta.getIngredientes());\n lvIngredientes.setAdapter(arrayAdapter);\n etIngrediente.setText(\"\");\n }", "title": "" }, { "docid": "2a58d9166226983c9ae5fb13223ee551", "score": "0.51694965", "text": "public String recipe() throws AlcoholNotFoundException{\n\n String str = \"\";\n boolean alcoholic = false;\n for(Liquid c : ingredients){\n if(c.getAlcoholPercent()> 0) {\n alcoholic = true;\n }\n str += String.format(\"%-8s | %.0f ml\\n\" , c.getName(), c.getVolume()*100);\n }\n if(!alcoholic) {\n throw new AlcoholNotFoundException(this.name);\n }\n return str;\n }", "title": "" }, { "docid": "c93efc97e0a2076a152fc8b7b82f8dbe", "score": "0.5167455", "text": "@GetMapping(\"/ingredients\")\n @RolesAllowed(\"bakmix-admin\")\n public ResponseEntity<List<Ingredient>> getAll() {\n List<Ingredient> ingredient = ingredientService.getAllNoPagination();\n log.info(\"Retrieved all ingredients\");\n return ResponseEntity.ok(ingredient);\n }", "title": "" }, { "docid": "833e223785069b05db9b890c9a4d775d", "score": "0.5160306", "text": "public static void startActionFetchIngredientsList(Context context, String ingredientList) {\n Intent intent = new Intent(context, RecipesUpdateService.class);\n intent.setAction(Constants.ACTION_APPWIDGET_UPDATE);\n intent.putExtra(Constants.EXTRA_INGREDIENT_LIST, ingredientList);\n context.startService(intent);\n Log.i(TAG, \"startService\");\n }", "title": "" }, { "docid": "f1d80e235dc3836008f0b0534b21e8f7", "score": "0.51457447", "text": "public void populateChoiceBoxes(ChoiceBox<String> microInput, ChoiceBox<String> microOutput, ChoiceBox<String> microEvent, ChoiceBox<String> microAction, ChoiceBox<String> microOutput2, ChoiceBox<String> microEvent2, ChoiceBox<String> colourSelect){\r\n microAction.getItems().add(\"Choose a Action\");\r\n microAction.getItems().add(\"Button\");\r\n microAction.getItems().add(\"Switch\");\r\n microAction.getItems().add(\"Potentiometer Value\");\r\n microAction.getItems().add(\"Temperature Value\");\r\n\r\n microEvent.getItems().add(\"Choose a Event\");\r\n microEvent.getItems().add(\"RGB Cycle\");\r\n microEvent.getItems().add(\"RGB Colour\");\r\n microEvent.getItems().add(\" Buzzer\");\r\n microEvent.getItems().add(\"LED Green\");\r\n microEvent.getItems().add(\"LED Red\");\r\n microEvent.getItems().add(\" Stop\");\r\n\r\n microEvent2.getItems().add(\"Choose a Event\");\r\n microEvent2.getItems().add(\"RGB Cycle\");\r\n microEvent2.getItems().add(\"RGB Colour\");\r\n microEvent2.getItems().add(\" Buzzer\");\r\n microEvent2.getItems().add(\"LED Green\");\r\n microEvent2.getItems().add(\"LED Red\");\r\n microEvent2.getItems().add(\" Stop\");\r\n\r\n colourSelect.getItems().add(\"Choose a Colour\");\r\n colourSelect.getItems().add(\"Red\");\r\n colourSelect.getItems().add(\"Green\");\r\n colourSelect.getItems().add(\"Blue\");\r\n colourSelect.getItems().add(\"Purple\");\r\n colourSelect.getItems().add(\"White\");\r\n\r\n microOutput.getItems().add(\"Choose a Device\");\r\n microOutput2.getItems().add(\"Choose a Device\");\r\n microInput.getItems().add(\"Choose a Device\");\r\n\r\n resetRecipe(microInput, microOutput, microEvent,microAction,microOutput2, microEvent2,colourSelect);\r\n }", "title": "" }, { "docid": "db748e011a5b906d7e6ddbd6c5f1b8df", "score": "0.5139894", "text": "public static void main(String[] args) throws IOException {\n\t\tList<InventoryList> list = new ArrayList<InventoryList>();\n\t\tList<Inventory> listin = new ArrayList<Inventory>();\n\t\tInventory inventory = new Inventory();\n\t\tString filename = \"E:\\\\BridgeLabz\\\\JavaPrograms\\\\src\\\\com\\\\bridgelabz\\\\oops\\\\inventory.json\";\n\t\tString str = OopsUtility.readJsonFile(filename);\n\t\tint count = 10;\n\t\tdo {\n\t\t\tSystem.out.println(\"Enter the choice\");\n\t\t\tSystem.out.println(\"1:Read and Display 2:Add and Write\"\n\t\t\t\t\t+ \" 3:Calculate the total price 4:Quit\");\n\t\t\tint choice = OopsUtility.userInt();\n\t\t\tswitch (choice) {\n\t\t\tcase 1:\n\t\t\t\ttry {\n\t\t\t\t\tlist = OopsUtility.userReadValue(str, InventoryList.class);\n\t\t\t\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\t\t\t\tInventoryList inList = list.get(i);\n\t\t\t\t\t\tSystem.out.println(\"Inventory name: \" + inList.getInventoryName());\n\t\t\t\t\t\tfor (int j = 0; j < inList.getListofInventories().size(); j++) {\n\t\t\t\t\t\t\tSystem.out.println(\"Name: \" + inList.getListofInventories().get(j).getName());\n\t\t\t\t\t\t\tSystem.out.println(\"Weight: \" + inList.getListofInventories().get(j).getWeight());\n\t\t\t\t\t\t\tSystem.out.println(\"Price: \" + inList.getListofInventories().get(j).getPrice());\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"---------------------------------------------------------------\");\n\t\t\t\t\t}\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tSystem.out.println(\"Enter data\");\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tint flag = 1;\n\t\t\t\tint flag1=0;\n\t\t\t\ttry {\n\t\t\t\t\tlist = OopsUtility.userReadValue(str, InventoryList.class);\n\t\t\t\t\twhile (flag == 1) {\n\t\t\t\t\t\tSystem.out.println(\"Enter the inventory name: \");\n\t\t\t\t\t\tString inName = OopsUtility.userString();\n\t\t\t\t\t\tif (!list.isEmpty()) {\n\t\t\t\t\t\t\tfor (InventoryList in : list) {\n\t\t\t\t\t\t\t\tif (inName.equals(in.getInventoryName())) {\n\t\t\t\t\t\t\t\t\tlistin = in.getListofInventories();\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t//Method 1- using non-static function of ApplicationUtility class\n\t\t\t\t\t\t\t\t\t//of com.bridgelabz.util package\n\t\t\t\t\t\t\t\t\tinventory = ApplicationUtility.insertData();\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tlistin.add(inventory);\n\t\t\t\t\t\t\t\t\tflag1=1;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (list.isEmpty()||flag1==0) {\n\t\t\t\t\t\t\tinventory = ApplicationUtility.insertData();\n\t\t\t\t\t\t\tlistin.add(inventory);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(\"Do you want to add more? if yes press 1 else 0\");\n\t\t\t\t\t\tflag = OopsUtility.userInt();\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"The entered element is added to the list\");\n\t\t\t\t\tString json = OopsUtility.userWriteValueAsString(list);\n\t\t\t\t\tOopsUtility.writeFile(json, filename);\n\t\t\t\t\tSystem.out.println(\"Inventory list has been written on to file\");\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tSystem.out.println(\"File is empty!\");\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase 3: try{\n\t\t\t\t\t\tlist = OopsUtility.userReadValue(str, InventoryList.class);\n\t\t\t\t\t\t\n\t\t\t\t\t\t//Method 2- using non-static function of ApplicationUtility class\n\t\t\t\t\t\t//of com.bridgelabz.util package\n\t\t\t\t\t\tApplicationUtility.calulatePrice(list);\n\t\t\t\t\t\t\n\t\t\t\t\t}catch(Exception e){\n\t\t\t\t\t\tSystem.out.println(\"File is empty!\");\n\t\t\t\t\t}\n\t\t\tcase 4:\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tcount--;\n\t\t} while (count != 0);\n\t}", "title": "" }, { "docid": "4fae004607c551e4d2d997d9959cd81a", "score": "0.51363564", "text": "public void Take() {\n\t\tfor(int i=0; i<numberOfChoices; i++){\n\t\t\tio.Output1(i+1 + \") \");\n\t\t\tString Answer = io.getInputString();\n\t\t\tresponse.setResponse(Answer);\n\t\t}\n\t}", "title": "" }, { "docid": "31e9bb5573c0bee27d260e80b9025879", "score": "0.51357234", "text": "Ingredients(Context context) {\n\t\tdbHelper = new DataBaseHelper(context, \"all_ingreds_db\"); //copy local database \"all_ingreds_db\" to work with this app\n\t\ttry {\n\t\t\tdbHelper.createDataBase();\n\n\t\t} catch (IOException ioe) {\n\t\t\tthrow new Error(\"Unable to create database\");\n\n\t\t}\n\n\t\ttry {\n\t\t\tdbHelper.openDataBase();\n\n\t\t} catch(SQLException sqle){\t\n\t\t\tthrow sqle;\n\n\t\t}\n\n\t\tall_ingreds = new ArrayList<String>();\n\t\tallergiesSuffered = new ArrayList<String>();\n\t\tall_allergies = new ArrayList<String>();\n\t\tCursor cursor = dbHelper.returnAllAllergies();\n\t\tfor(int i = 0; i < cursor.getCount(); i++) {\n\t\t\tcursor.moveToNext();\n\t\t\tall_allergies.add(cursor.getString(0).toLowerCase());\n\t\t}\n\t\t//\t\tall_allergies.add(\"eggs\");\n\t\t//\t\tall_allergies.add(\"fish\");\n\t\t//\t\tall_allergies.add(\"milk\");\n\t\t//\t\tall_allergies.add(\"peanuts\");\n\t\t//\t\tall_allergies.add(\"shellfish\");\n\t\t//\t\tall_allergies.add(\"soy\");\n\t\t//\t\tall_allergies.add(\"treenuts\");\n\t\t//\t\tall_allergies.add(\"wheat\");\t\n\t}", "title": "" }, { "docid": "431f6b32135b0ec4625a61e6978905e2", "score": "0.51341885", "text": "public void addIngredient(String name, int amount) {\n }", "title": "" }, { "docid": "277bcc27e382e43bd7e09943eac79578", "score": "0.5131897", "text": "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n //Greeting the customer\n System.out.println(\"\\n\\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\\n\\n\");\n System.out.println(\"Organic Groceries in Bulk\");\n System.out.println(\"\\n\\nAvailable in store today:\");\n System.out.println(\"- Fruit, $26.99;\");\n System.out.println(\"- Cheese, $22.99;\");\n System.out.println(\"- Dairy, $13.99;\");\n System.out.println(\"- Meat, $56.99;\");\n System.out.println(\"- Seafood, $38.99\");\n System.out.println(\"\\n\\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\\n\\n\");\n\n //defining the prices for each item available in store\n double fruitPrice = 26.99;\n double cheesePrice = 22.99;\n double dairyPrice = 13.99;\n double meatPrice = 56.99;\n double seafoodPrice = 38.99;\n \n //prompting the user to indicate which items they are purchasing\n System.out.println(\"In the order in which they appear on the list, and separated by spaces,\");\n System.out.println(\"please enter the quantities purchased of each item on the list:\");\n String quantities = in.nextLine();\n\n //splitting the user's input into five strings, one for item available\n //transforming each string into an integer\n String[] qty = quantities.split(\" \");\n int qtyFruit = Integer.parseInt(qty[0]);\n int qtyCheese = Integer.parseInt(qty[1]);\n int qtyDairy = Integer.parseInt(qty[2]);\n int qtyMeat = Integer.parseInt(qty[3]);\n int qtySeafood = Integer.parseInt(qty[4]);\n\n //tallying the prices of each item, according to the quantities the user entered\n double fruitSubtotal = qtyFruit * fruitPrice;\n double cheeseSubtotal = qtyCheese * cheesePrice;\n double dairySubtotal = qtyDairy * dairyPrice;\n double meatSubtotal = qtyMeat * meatPrice;\n double seafoodTotal = qtySeafood * seafoodPrice;\n\n double totalSansDiscount = fruitSubtotal + cheeseSubtotal + dairySubtotal + meatSubtotal + seafoodTotal;\n\n //if else blocks to determine the applicable discount and point promotion\n //the discount variable is the amount customer will pay, not the amount deducted\n int pointPromo;\n double discount;\n if (totalSansDiscount < 250) {\n discount = 0.9;\n pointPromo = 2;\n } \n else if (totalSansDiscount <= 500) {\n discount = 0.85;\n pointPromo = 2;\n }\n else {\n discount = 0.8;\n pointPromo = 3;\n }\n\n \n //determining the price with discount\n double totalPrice = discount * (totalSansDiscount - seafoodTotal) + seafoodTotal;\n\n //prompting the user for their membership status\n System.out.println(\"\\n\\nDo you have a membership? (Y/N)\");\n String memberStatus = in.next().toUpperCase();\n\n System.out.print(\"\\n\\nThe total price is \" + totalPrice + \". \");\n\n\n //Calculating the number of points accumulated for this bill\n if (memberStatus.equals(\"Y\")) {\n double points = pointPromo * totalPrice;\n int actualPoints = (int) Math.ceil(points);\n System.out.println(\"You will receive \" + actualPoints + \" points.\");\n }\n\n System.out.println(\"\\n\\nThanks for shopping! \\nSee you next time!\\n\\n\");\n\n }", "title": "" }, { "docid": "096dd0be5c2a6947bdd13a2787ff55d9", "score": "0.511997", "text": "public String toString() {\r\n String result = \"\";\r\n \r\n if (inventory.size() == 0) {\r\n result = \"You are not carrying anything.\";\r\n }\r\n else {\r\n result = \"You are carrying:\" + \"\\n\";\r\n }\r\n \r\n for (Item current : inventory) {\r\n String itemName = current.getName();\r\n \r\n if (current instanceof Ingredient) {\r\n Ingredient ingredient = (Ingredient)current;\r\n \r\n result += \" \" + ingredient.getNumberInGroup() + \" \" + itemName + \"\\n\";\r\n }\r\n else {\r\n result += \" \" + itemName + \"\\n\";\r\n }\r\n }\r\n \r\n return result;\r\n }", "title": "" }, { "docid": "1aa394460704ae833c9d41239eed9387", "score": "0.5116228", "text": "public static void main(String args[]){\n\t\tFile food = new File(\"foodList.txt\");\t\n\n\t\ttry (Scanner in = new Scanner(food)){\n\t\t\tString temp = \"\";\n\t\t\tint counter = 0;\n\t\t\twhile(in.hasNext()){\n\t\t\t\tString s = in.next();\n\t\t\t\tif(s.substring(s.length()-1).equals(\",\")){\n\t\t\t\t\tcounter += 1;\n\t\t\t\t\ttemp += s;\n\t\t\t\t\ttemp = temp.substring(0, temp.length()-1);\n\t\t\t\t\tif(counter % 4 == 0){\n\t\t\t\t\t\tSystem.out.println(temp);\n\t\t\t\t\t\ttemp = \"\";\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\ttemp += \" \";\n\t\t\t\t\t}\t\n\t\t\t\t}\n\t\t\t\telse if(counter % 4 == 3){\n\t\t\t\t\ttemp += s;\n\t\t\t\t\tSystem.out.println(temp);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\ttemp += s + \" \";\n\t\t\t\t}\t\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\n/*\t\tJFileChooser chooser = new JFileChooser();\n\t\tFileNameExtensionFilter filter = new FileNameExtensionFilter(\"TXT Files\", \"txt\");\n\t\tchooser.setFileFilter(filter);\n\t\tint returnVal = chooser.showOpenDialog(parent);\n\t\tif(returnVal == JFileChooser.APPROVE_OPTION){\n\t\t\tchooser.getSelectedFile().getName();\n\t\t}\n\n\t\tFile drink = new File(chooser.getSelectedFile().getName());\t\n*/\n//\t\tCollection<File> all = new ArrayList<File>();\n\t\t\n\t\tFile drink = new File(\"drinkListOne.txt\");\t\t\n//\t\ttry (Scanner sc = new Scanner(drink)){\n\t\ttry (Scanner in = new Scanner(drink)){\n\t\t\tin.useDelimiter(\", \");\n\t\t\tString temp = \"\";\n\t\t\twhile(in.hasNext()){\n\t\t\t\tString d = in.next();\n\t\t\t/*\tif(s.substring(s.length()-1).equals(\",\")){\n\t\t\t\t\tcounter += 1;\n\t\t\t\t\ttemp += s;\n\t\t\t\t\ttemp = temp.substring(0, temp.length()-1);\n\t\t\t\t}\n\t\t\t\telse if(counter % 4 == 3){\n\t\t\t\t\ttemp += s;\n\t\t\t\t\tSystem.out.println(temp);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\ttemp += s + \" \";\n\t\t\t\t}*/\n\t\t\t\tSystem.out.println(d);\t\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"error\");\n\t\t}\n\t}", "title": "" }, { "docid": "902479e06d5f39b7cfc327161f285e2f", "score": "0.51155424", "text": "private void addIngredientsToUpdatedList() throws IOException {\n\n BufferedReader ingredientReader = new BufferedReader(new FileReader(Files.ingredientsFile));\n int recipeIndex = 0;\n String line;\n String lastLine = null;\n boolean firstRead = true;\n boolean newListToAdd = false;\n\n uniqueIngredientsNameList.clear();\n uniqueIngredientsList.clear();\n Main.recipeListClass.getEmptyRecipesIndexList().clear();\n\n while ((line = ingredientReader.readLine()) != null) {\n line = line.trim();\n if (!line.isEmpty()) {\n if (newListToAdd) {\n // if newListToAdd trigger is true, a new list of ingredient is added to the lists that contains all those lists\n ingredientList.add(new ArrayList<>());\n newListToAdd = false;\n }\n }\n\n if (!firstRead) {\n // if it's not the first line from the file\n if (line.equals(Files.RECIPE_SEPARATOR)) {\n // if line is \"=\"\n if (!(lastLine.equals(Files.RECIPE_SEPARATOR))) {\n // if last line is NOT \"=\"\n if (ingredientList.get(recipeIndex).isEmpty()) {\n // if the recipe does not contain any good ingredients\n // a new list is gonna be added, after the current one gets removed\n newListToAdd = true;\n Main.recipeListClass.getEmptyRecipesIndexList().add(recipeIndex);\n recipeIndex++;\n continue;\n } else {\n lastLine = line;\n //emptyRecipe = true;\n }\n\n recipeIndex++;\n newListToAdd = true;\n\n continue;\n } else {\n continue;\n }\n }\n }\n\n firstRead = false;\n lastLine = line;\n\n String[] words = line.toLowerCase().split(\"\\\\\" + Files.MACRO_SEPARATOR); // 0 - name | 1 - P | 2 - C | 3 - F\n words[0] = words[0].trim();\n boolean isCorrupt = checkIngredient(words, line, recipeIndex);\n\n if (!isCorrupt) {\n // checks if the word is NOT corrupt\n addIngredientIntoList(line, recipeIndex, words);\n //emptyRecipe = addIngredientIntoList(line, recipeIndex, words);\n }\n\n }\n ingredientReader.close();\n\n for (int index = 0; index < ingredientList.size(); index++) {\n if (ingredientList.get(index).isEmpty()) {\n ingredientList.remove(index);\n index--;\n }\n }\n }", "title": "" }, { "docid": "263b7e57f497166f8a30fe5228d84a2e", "score": "0.5114513", "text": "public static void main(String[] args) throws Exception\n\t {\n\t GirardJ_Recipes c=new GirardJ_Recipes();\n\t try {\n\t \t \n\t //Ask user to input number of dozens of cookies\n\t String dozens = JOptionPane.showInputDialog(\"Enter number of dozens for your recipe\");\n\t \n\t //call method to show ingredients list\n\t c.showIngredients(Integer.parseInt(dozens));\n\t \n\t }catch(Exception e){\n\t System.err.println(\"Please provide input in integer format\");\n\t }\n\t }", "title": "" }, { "docid": "0bffe4e27537970fabac00b8131b3e4f", "score": "0.5112169", "text": "public void enterEggs() {\n\t\tScanner console = new Scanner(System.in);\n\t\tString shouldContinue;\n\t\tdouble weight;\n\t\tint size;\n\n\t\tdo {\n\t\t\tSystem.out.print(\"Enter egg weight: \");\n\t\t\tweight = console.nextDouble();\n\t\t\tconsole.nextLine();\n\t\t\tsize = sizeEgg(weight);\n\t\t\teggCounts[size] = eggCounts[size] + 1;\n\t\t\tSystem.out.print(\"Enter another egg weight? (Y/N) \");\n\t\t\tshouldContinue = console.nextLine();\n\t\t} while (shouldContinue.equalsIgnoreCase(\"Y\"));\n\t}", "title": "" }, { "docid": "514f9e7d3165a086a3826b16a73383e7", "score": "0.51117", "text": "public Ingredients() {\n\t\tingredients = new HashMap<String, Integer>();\n\t}", "title": "" }, { "docid": "006a483ff2ba689154fdf5a9dda6ecd4", "score": "0.51077706", "text": "public HashMap<String, Ingredient> getIngredients() {\n\tStatement st = initStatement();\n\tResultSet rs = query (st, \"SELECT * FROM ingredients\");\n\t\n\tHashMap <String, Ingredient> ingredients = new HashMap<String, Ingredient>();\n\ttry {\n\t\twhile (rs.next()) {\n\t\t\tif (rs.getString(\"Name\")!= null){\n\t\t\t\tIngredient i = new Ingredient (rs.getString(\"Name\"));\n\t\t\t\ti.setAmount(rs.getInt(\"Amount\"));\n\t\t\t\ti.setBlocked(rs.getBoolean(\"Blocked\"));\n\t\t\t\tByte b = rs.getByte(\"Diseases\");\n\t\t\t boolean bs[] = new boolean[8];\n\t\t\t bs[0] = ((b & 0x01) != 0);\n\t\t\t bs[1] = ((b & 0x02) != 0);\n\t\t\t bs[2] = ((b & 0x04) != 0);\n\t\t\t bs[3] = ((b & 0x08) != 0);\n\t\t\t bs[4] = ((b & 0x10) != 0);\n\t\t\t bs[5] = ((b & 0x20) != 0);\n\t\t\t bs[6] = ((b & 0x40) != 0);\n\t\t\t bs[7] = ((b & 0x80) == 0);\t\n\t\t\t\ti.setDisease(bs);\n\t\t\t\tingredients.put(i.getName(), i);\n\t\t\t}\n\t\t} ;\n\t\tcloseQuery(rs);\n\t} catch (SQLException e) {\n\t\te.printStackTrace();\n\t}\n\tcloseStatement(st);\n\treturn ingredients;\n}", "title": "" }, { "docid": "adcba2cbb4fcbf4979c9654ff4e9ca2e", "score": "0.51073575", "text": "public void printItems() {\n\t\tSystem.out.println(\"These are your items:\");\n\t\t\n\t\tif(listOfItems.size() == 0) {\n\t\t\tSystem.out.println(\"You currently have no items, visit the general store to buy some \\n\");\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < listOfItems.size(); i++) {\n\t\t\tCropItem currentItem = listOfItems.get(i);\n\t\t\tSystem.out.println(\"\\t\" +(i + 1) + \". \" + currentItem.name + \", -\" + currentItem.timeBoost + \"days to harvest for a crop\");\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "8587a10e14a2e818bd1e5c601941fe67", "score": "0.5101575", "text": "public static void snacksDispenser(){\n\t\tString[] foodSlots;\r\n\t\t\r\n\t\tfoodSlots = new String[10];\r\n\t\t\r\n\t\tfoodSlots[0] = \"Chips\";\r\n\t\tfoodSlots[1] = \"Cookies\";\r\n\t\tfoodSlots[2] = \"Snickers\";\r\n\t\tfoodSlots[3] = \"Twix\";\r\n\t\tfoodSlots[4] = \"Sweedish Fish\";\r\n\t\tfoodSlots[5] = \"Twizzlers\";\r\n\t\tfoodSlots[6] = \"Gum\";\r\n\t\tfoodSlots[7] = \"Mints\";\r\n\t\tfoodSlots[8] = \"Peanuts\";\r\n\t\tfoodSlots[9] = \"Pretzels\";\r\n\t\t\r\n\t\t\r\n\t\tint randomProduct = (int) (10*Math.random());\r\n\t\tSystem.out.println(\"The user has selected \" + foodSlots[randomProduct] );\r\n\t\tfoodInfo.snacksInfo();\r\n\t\t//System.out.println(Arrays.toString(foodSlots));\r\n\t}", "title": "" }, { "docid": "85326cf9d4cf418ebb77b65e4a2a27fe", "score": "0.5099215", "text": "private static void printPotionOptions() {\n\t\tSystem.out.println(); \n\t\tSystem.out.println(player.getPotionInventory()); \n\t\tSystem.out.println(); \n\t\tSystem.out.println(\"Which type of potion would you like to use?\"); \n\t\tSystem.out.println(\" 1 a Health Potion, \"); \n\t\tSystem.out.println(\" 2 a Mana Potion, or \"); \n\t\tSystem.out.println(\" 3 a Power Potion? \"); \n\t}", "title": "" }, { "docid": "e2fda048dd4cd31c5ffcc103b7cde78a", "score": "0.50903624", "text": "public List<String> getIngredientGroups();", "title": "" }, { "docid": "114fa78cff0e8e5fb60f5dd2ec708d1f", "score": "0.506713", "text": "public void setData(ArrayList<Ingredient> ingredients){\n\n // Refresh the recipe list and notify the loader\n mIngredients = ingredients;\n notifyDataSetChanged();\n }", "title": "" }, { "docid": "72c0c509cf16032fe1aa69aa32e29e9b", "score": "0.50630146", "text": "public void useCommand() {\n int counter = 0;\n System.out.println(\"Inventory:\");\n for (Item i : inv) {\n System.out.println(i.getItemDesc());\n }\n System.out.println(\"What item would you like to use?\");\n String use = input.nextLine().toLowerCase();\n if (use != \"quit\") {\n if (getPlayerCurrentHealth() == 100) {\n System.out.println(\"You are already at full health!\");\n } else if (use != \"quit\") {\n for (Item j : inv) {\n if (use.equals(j.getItemDesc())) {\n if (j instanceof Potion) {\n Potion myPotion = (Potion) j;\n myPotion.restoreHealth(myPotion, this);\n break;\n }\n }\n }\n } else {\n counter++;\n if (counter == inv.size()) {\n System.out.println(\"You don't have that item!\");\n }\n\n }\n }\n }", "title": "" }, { "docid": "1d96c802a7e617f111ee14f7355d09d3", "score": "0.5057322", "text": "@Override\n public void addIngredient(Ingredient ingredient) {\n Objects.requireNonNull(ingredient);\n ingredients.add(ingredient);\n }", "title": "" }, { "docid": "25a325afc26aff295d329a52dcaeac41", "score": "0.5047936", "text": "public void displayItems() { // static attribute used as method is not associated with specific object\n\t\t\t\t\t\t\t\t\t// instance\n\t\tSystem.out.println();\n\t\tfor (String theString : vm.inventory.keySet()) {\n\t\t\tSystem.out.println(theString + \" \" + vm.inventory.get(theString));\n\t\t}\n\t\t\n\n\t}", "title": "" }, { "docid": "1c189add7973ddee64cdf00f69910709", "score": "0.5046051", "text": "public static void populate (List<String> myArrayList, Set<String> mySet){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int i = 0; i < 7; i++){\n\t\t\tSystem.out.println(\"Please enter 7 animals\");\n\t\t\tString arrayAnimal = scanner.next();\n\t\t\t\n\t\t\t//Bad code when you want duplicate elements stored and displayed\n\t\t\tmyArrayList.add(arrayAnimal);\n\t\t\t\n\t\t\t//Good code when you want to display all elements the user inputs to the program even duplicates\n\t\t\tmySet.add(arrayAnimal);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "711d73d20de4732d9a706b947ff5017c", "score": "0.5043497", "text": "public void onClickLetsCook (View view){\n setLoadPrevSearch(false);\n\n Intent goToIngInput = new Intent(this, IngredientInput.class);\n\n startActivity(goToIngInput);\n }", "title": "" }, { "docid": "5b6b05081228a695fc773b22c196a1d1", "score": "0.5040044", "text": "public static void main(String[] args) {\n\t\tHashMap <String, Double> menu = new HashMap <String, Double>(); \n\t\tArrayList<String> orderNames = new ArrayList<String>(); \n\t\tArrayList<Double> orderPrices = new ArrayList<Double>(); \n\t\tArrayList<Integer> orderQuantity = new ArrayList<Integer>(); \n\t\tString order = \"\";\n\t\tint numItems = 0; \n\t\tScanner scan = new Scanner(System.in); \n\t\tchar ans = 'y'; \n\t\tboolean continueCheck = false; \n\t\tboolean quantityCheck = true; \n\t\tboolean included = false; \n\t\tboolean entryValidity = true; \n\t\t\n\t\tmenu.put(\"apple\", 0.99);\n\t\tmenu.put(\"banana\", 0.59);\n\t\tmenu.put(\"cauliflower\", 1.59);\n\t\tmenu.put(\"dragonfruit\", 2.19);\n\t\tmenu.put(\"Elderberry\", 1.79);\n\t\tmenu.put(\"figs\", 2.09);\n\t\tmenu.put(\"grapefruit\", 1.99);\n\t\tmenu.put(\"honeydew\", 3.49);\n\n\t\n\t\tSystem.out.println(\"Welcome to Guenter's Market!\\n\"); \n\t\tSystem.out.print(\"Item\"); \n\t\tSystem.out.printf(\"%21s\", \"Price\"); \n\t\tSystem.out.printf(\"%20s\", \"Quantity\");\n\t\tSystem.out.println(\"==============================\"); \n\t\tdisplayList(menu); \n\t\t\n\t\t\n\t\twhile (ans == 'y') {\n\t\t\tcontinueCheck = false; \n\t\t\tquantityCheck = true; \n\t\t\tentryValidity = true; \n\t\t\tSystem.out.println(\"\\nWhat item would you like to order? If you would like, you can just enter the first letter or a number, numbers correspond to each item in alphabetical order, irrespective of how the list appears.\"); // extended challenge\n\t\t\torder = scan.next(); \n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\ttry {\n\t\t\t\tswitch (Integer.parseInt(order)) {\n\t\t\t\tcase 1: \n\t\t\t\t\torder = \"apple\"; \n\t\t\t\t\tbreak; \n\t\t\t\tcase 2: \n\t\t\t\t\torder = \"banana\"; \n\t\t\t\t\tbreak; \n\t\t\t\tcase 3: \n\t\t\t\t\torder = \"cauliflower\"; \n\t\t\t\t\tbreak; \n\t\t\t\tcase 4: \n\t\t\t\t\torder = \"dragonfruit\"; \n\t\t\t\t\tbreak; \n\t\t\t\tcase 5: \n\t\t\t\t\torder = \"Elderberry\"; \n\t\t\t\t\tbreak; \n\t\t\t\tcase 6: \n\t\t\t\t\torder = \"figs\"; \n\t\t\t\t\tbreak; \n\t\t\t\tcase 7: \n\t\t\t\t\torder = \"grapefruit\"; \n\t\t\t\t\tbreak; \n\t\t\t\tcase 8: \n\t\t\t\t\torder = \"honeydew\"; \n\t\t\t\t\tbreak; \n\t\t\t\tdefault: \n\t\t\t\t\tbreak; \n\t\t\t\t}\n\t\t\t} catch (NumberFormatException e){\n\t\t\t\tfor (String s : menu.keySet()) {\n\t\t\t\t\tif (Character.toLowerCase(s.charAt(0)) == Character.toLowerCase((order.charAt(0)))) {\n\t\t\t\t\t\torder = s; \n\t\t\t\t\t\tentryValidity = false; \n\t\t\t\t\t} \n\t\t\t\t}\n\t\t\t\tif (entryValidity == true) {\n\t\t\t\t\tSystem.out.println(\"Error, that was not a valid entry, please enter again\"); \n\t\t\t\t\tcontinue; \n\t\t\t\t}\n\t\t\t\t\n\t\t\t} // allows user to enter a number or a letter. \n\t\t\t\n\t\t\t\n\t\t\twhile (quantityCheck == true) { \n\t\t\t\tSystem.out.println(\"How many \" + order + \"s would you like?\"); \n\t\t\t\tquantityCheck = false; \n\t\t\t\ttry {\n\t\t\t\t\tnumItems = scan.nextInt();\n\t\t\t\t\tif (numItems <= 0) {\n\t\t\t\t\t\tInputMismatchException e = new InputMismatchException(); \n\t\t\t\t\t\tthrow e; \n\t\t\t\t\t}\n\t\t\t\t} catch (InputMismatchException e) {\n\t\t\t\t\tSystem.out.print(\"Error, invalid quantity. \");\n\t\t\t\t\tquantityCheck = true; \n\t\t\t\t\tscan.nextLine(); \n\t\t\t\t\tcontinue; \n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\ttry {\n\t\t\t\tNoSuchElementException e = new NoSuchElementException(); \n\t\t\t\tif (menu.get(order) == null) {\n\t\t\t\t\tthrow e;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Adding \" + numItems + \" \" + order + \"s to cart at $\" + menu.get(order));\n\t\t\t\t\tfor (String key: orderNames) {\n\t\t\t\t\t\tif (order.equals(key)) {\n\t\t\t\t\t\t\tint indice = orderNames.indexOf(key); \n\t\t\t\t\t\t\torderQuantity.set(indice, orderQuantity.get(indice) + numItems); \n\t\t\t\t\t\t\tincluded = true; \n\t\t\t\t\t\t} \n\t\t\t\t\t} \n\t\t\t\t if (included == false) {\n\t\t\t\t\t orderNames.add(order); \n\t\t\t\t\t orderPrices.add(menu.get(order));\n\t\t\t\t\t orderQuantity.add(numItems);\n\t\t\t\t }\n\t\t\t\t}\n\t\t\t\t \n\t\t\t} catch (NoSuchElementException e) {\n\t\t\t\tSystem.out.println(\"Error, this item is not on our menu. Please try again and make sure to check your spelling: \"); \n\t\t\t\tcontinue; \n\t\t\t}\n\t\t\n\t\t\tincluded = false; \n\t\t\n\t\t\tIllegalArgumentException e = new IllegalArgumentException();\n\t\t\tSystem.out.println(\"Would you like to order anything else? Enter (y/n)\"); \n\t\t\t\n\t\t\twhile (continueCheck == false) { \n\t\t\t\n\t\t\t\tans = Character.toLowerCase(scan.next().charAt(0));\n\t\t\t\ttry { \n\t\t\t\t\t\n\t\t\t\t\tif (ans != 'y' && ans != 'n') {\n\t\t\t\t\t\tthrow e; \n\t\t\t\t\t} else {\n\t\t\t\t\t\tcontinueCheck = true; \n\t\t\t\t\t}\n\t\t\t\t} catch (IllegalArgumentException f) {\n\t\t\t\t\tSystem.out.println(\"Error, invalid input, please enter Y for yes, and N for no\"); \n\t\t\t\t\tcontinue; \n\t\t\t\t}\n\t\t\t}\n\t\t} \n\t\tSystem.out.println(\"\"); \n\t\tSystem.out.println(\"Thanks for your order!\\nHere's what you got:\"); \n\t\tdisplayList(orderNames, orderPrices, orderQuantity); \n\t\tSystem.out.println(\"Average price per item in order was $\" + averagePrice(orderPrices, orderQuantity)); \n\t\tSystem.out.println(\"Your most expensive item was: \" + orderNames.get(highestCost(orderPrices))); \n\t\tSystem.out.println(\"Your least expensive item was: \" + orderNames.get(lowestCost(orderPrices))); \n\t\t\n\t\tscan.close(); \n\n\t}", "title": "" }, { "docid": "659576940afdb7e7b6a8b24d98fc3ef8", "score": "0.5028856", "text": "public void ques02() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<String> list = new ArrayList<String>();\n\t\tlist.add(\"Kranti\");\n\t\tlist.add(\"budha mil gya\");\n\t\tlist.add(\"dilwale\");\n\t\tSystem.out.println(list.get(sc.nextInt()));\n\t\tsc.close();\n\t}", "title": "" }, { "docid": "6daec45cf675d8284f2a48edcb663a4b", "score": "0.5021762", "text": "public void refillAll() {\n for(Map.Entry<String, Ingredient> entry : ingredients.entrySet()){\n entry.getValue().refill();\n }\n }", "title": "" }, { "docid": "57649cef20bfc8f17f38752619c63b1a", "score": "0.50202376", "text": "@Override\n protected void eatSomePizza() {\n System.out.println(\"How much of the pizza do you want to eat and which pizza do you want to eat\");\n System.out.println(\"index\");\n Scanner indexWerePizzaIs = new Scanner(System.in);\n int index = indexWerePizzaIs.nextInt();\n System.out.println(\"numerator\");\n Scanner topOfFraction = new Scanner(System.in);\n int numerator = topOfFraction.nextInt();\n System.out.println(\"denominator\");\n Scanner bottomOfFraction = new Scanner(System.in);\n int denominator = bottomOfFraction.nextInt();\n\n Fraction amt = new Fraction(numerator,denominator);\n listOfPizzas.get(index).eatSomePizza(amt);\n if (listOfPizzas.get(index).getRemainingFraction().getNumerator() == 0 ||\n listOfPizzas.get(index).getRemainingFraction().getDenominator() == 0){\n listOfPizzas.remove(index);\n }\n\n }", "title": "" }, { "docid": "0feeeaec5edcb86a0802985ee9116c08", "score": "0.50202316", "text": "public void equipCommand() {\n System.out.println(\"Inventory:\");\n for (Item i : getInv()) {\n System.out.println(i.getItemDesc());\n }\n System.out.println(\"What item would you like to equip?\");\n String item = input.nextLine().toLowerCase();\n int counter = 0;\n if (item != \"quit\") {\n for (Item j : inv) {\n if (item.equals(j.getItemDesc())) {\n if (j instanceof Weapon && !j.isEquipStatus()) {\n Weapon mySword = (Weapon) j;\n setPlayerDmg(mySword.getWeaponDmg());\n System.out.println(\"You equip the \" + mySword.getItemDesc() + \". Your damage is now \" + (getPlayerDmg() + getPlayerLvl()));\n System.out.println(\"\");\n j.setEquipStatus(true);\n break;\n } else if (j instanceof Armor && !j.isEquipStatus()) {\n Armor myArmor = (Armor) j;\n setPlayerDef(getPlayerDef() + (myArmor.getArmorDefense()));\n System.out.println(\"You equip the \" + myArmor.getItemDesc() + \". Your defense is now \" + getPlayerDef());\n System.out.println(\"\");\n j.setEquipStatus(true);\n break;\n } else if (item.equals(j.getItemDesc()) && j.isEquipStatus()) {\n System.out.println(\"You already equipped that item!\");\n }\n } else {\n counter++;\n if (counter == inv.size()) {\n System.out.println(\"You don't have that item!\");\n }\n }\n }\n\n }\n\n }", "title": "" }, { "docid": "7f57ca2620f2b6b0852ab971f6da1b99", "score": "0.5020044", "text": "public static void imprimir(ArrayList <Vendedor> persona){\r\n \r\n int opcion = 0;\r\n Scanner sc = new Scanner(System.in);\r\n for(Vendedor vendedor1 : persona){\r\n System.out.println(\"Codigo: \" + vendedor1.getCodVendedor() + \"Nombres: \" + vendedor1.getNombres() + \"Apellidos:\" + \r\n vendedor1.getApellidos() + \"Cedula: \" + vendedor1.getCedula());\r\n }\r\n \r\n do{\r\n System.out.println(\"Digite uno de los dos codigos de vendedor disponibles: \");\r\n opcion = sc.nextInt();\r\n if(opcion == 1234 || opcion == 5678){\r\n System.out.println(\"Seleccion el vehiculo que desea vender: \");\r\n }\r\n }while(true);\r\n }", "title": "" }, { "docid": "c60282ed164d08cbfec9f04f205fe466", "score": "0.50190854", "text": "public void print() {\n if (list.size() == 0) {\n System.out.println(\"Whoops, there doesn't seem to be anything here at the moment!\");\n } else {\n System.out.println(\"Here are your degree choices:\");\n for(int i = 0; i < list.size(); i++) {\n System.out.println((i+1) + \". \" + list.get(i));\n }\n }\n }", "title": "" }, { "docid": "617b885f7f63c467ca28c11cd058abcf", "score": "0.5017209", "text": "public static void main(String[] args) {\n\n ArrayList<String> food = new ArrayList<String>(); //creating new arrayList\n food.add(\"pizza\"); //adding food name to array list\n food.add(\"hamburger\");\n food.add(\"hotdog\");\n\n food.set(0,\"sushi\"); //changing name of food at nr 0 to sushi\n food.remove(2); //removing foob nr 2 (hotdog)\n //food.clear(); //clearing array list\n\n for (int i = 0; i < food.size(); i++) { //loop to display all foodstored in array list\n System.out.println(food.get(i));\n }\n\n\n }", "title": "" }, { "docid": "09257df5be6533be366abd89a20fc805", "score": "0.49993038", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"Ingredient{\" +\n\t\t\t\t\"ingredientCode=\" + ingredientCode +\n\t\t\t\t\", soiFlag='\" + soiFlag + '\\'' +\n\t\t\t\t\", maintFunction='\" + maintFunction + '\\'' +\n\t\t\t\t\", ingredientCatDescription='\" + ingredientCatDescription + '\\'' +\n\t\t\t\t\", categoryCode=\" + categoryCode +\n\t\t\t\t\", ingredientDescription='\" + ingredientDescription + '\\'' +\n\t\t\t\t'}';\n\t}", "title": "" } ]
6873af4422e161e5b5260510a8b55044
Sets the product desired stock level
[ { "docid": "c24409727938fc9e81523244780f9473", "score": "0.68005043", "text": "public void setStock(int stock)\r\n {\r\n this.stock = stock;\r\n }", "title": "" } ]
[ { "docid": "3b0e36d4fd7301b213159239ebccd760", "score": "0.70274866", "text": "public void setStock(int pStock) {\n this.stock = pStock;\n }", "title": "" }, { "docid": "e438c35ca7285128586d2c00c24d2766", "score": "0.6726774", "text": "public void setStock(int stock){\n\t\tthis.stock = stock;\n\t}", "title": "" }, { "docid": "2d67c58270aba42c6b40eba6e6d9933b", "score": "0.6670106", "text": "public ProductStockLevel(String ean, int quantity) {\n this.ean = ean;\n this.quantity = quantity;\n }", "title": "" }, { "docid": "6eaf6afc78775108950d8b8c1f30291b", "score": "0.6665169", "text": "public void setStock(int stock) {\n this.stock = stock;\n }", "title": "" }, { "docid": "39f99ec16ea6619a5a8ec68a4cd2979b", "score": "0.66019994", "text": "public void setPowerLevel(int inpPowerLevel)\r\n {\r\n powerLevel = inpPowerLevel;\r\n }", "title": "" }, { "docid": "d6009d2283838df86ba00ae022d9de66", "score": "0.6503213", "text": "public void setStock(int Stock) {\n this.Stock = Stock;\n }", "title": "" }, { "docid": "07e5f87dfb5cd9383fec27bc867a8f98", "score": "0.6316558", "text": "public void setLevel(int inpLevel)\r\n {\r\n level = inpLevel;\r\n }", "title": "" }, { "docid": "3f06b79ae43feccc6dda74e0ccd687fb", "score": "0.624494", "text": "@Override\r\n\tpublic void setLevel(int level) {\n\t\t\r\n\t}", "title": "" }, { "docid": "08e11773e1606d84aab30d3c4ca505bc", "score": "0.62388986", "text": "public synchronized void setStock(Ingredient ingredient, Number quantity) {\n if(quantity == Integer.valueOf(-1)) {\n this.ingredientLevels.remove(ingredient);\n } else {\n this.ingredientLevels.put(ingredient, quantity);\n }\n\n serverInstance.notifyUpdate();\n }", "title": "" }, { "docid": "b7f33c2f65df1e9320a9ffc3d8279416", "score": "0.6226091", "text": "protected int setDefaultStockLevel(int productNumber, int quantity) {\n\t\tint oldStock = currentStockLevel.get(idMap.get(productNumber));\n\t\tif (doNotStock.contains(idMap.get(productNumber)) || isInCatalog(productNumber) == false) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t} else {\n\t\t\tidealStockLevel.put(idMap.get(productNumber), quantity);\n\t\t}\n\t\treturn oldStock; // correct? It wants the old stock?\n\t}", "title": "" }, { "docid": "e710bab53ec470a96f3a6a6324566435", "score": "0.62172586", "text": "public synchronized void setStock(Dish dish, Number quantity) {\n if (quantity == Integer.valueOf(-1)) {\n this.dishLevels.remove(dish);\n } else {\n this.dishLevels.put(dish, quantity);\n }\n\n serverInstance.notifyUpdate();\n }", "title": "" }, { "docid": "e0181b0b03ada0e3659d7d4e22f14a3b", "score": "0.620494", "text": "public Boolean setStock(double value) {\n if (value < 0) {\n return false;\n }\n stockInLiters = value;\n return true;\n }", "title": "" }, { "docid": "c54fe9b71825db7c68ba14595d2efc30", "score": "0.6173536", "text": "public void setStockPrice(double d){\n\t\tthis.stockPrice = d;\n\t}", "title": "" }, { "docid": "f557f6caf4c4a27a372e33467b87c737", "score": "0.6133819", "text": "public void setLevel(int level) {\r\n\t\tif (level < 1) level = 1;\r\n\t\tif (level > 50) level = 50;\r\n\t\tthis.level = level;\r\n\t}", "title": "" }, { "docid": "0a490156f88ac52bf0fbacf2531a9fa9", "score": "0.6120478", "text": "public void setLevel(int lvl){\n level=lvl;\n }", "title": "" }, { "docid": "77dcbe0effac6a128a00f151f34a3f1a", "score": "0.61115", "text": "public void setLevel(int level) {\n \t\tthis.level = level;\t\t\n \t}", "title": "" }, { "docid": "cec7b43e4123edabb3dc367f6014fda3", "score": "0.6103752", "text": "public void setLevel(Level level){\r\n\t\tthis.level = level;\r\n\t}", "title": "" }, { "docid": "223fcc58ba48e4206e959974fd4f1b97", "score": "0.6102782", "text": "public void setLevel(int level){\n\t\tthis.level = level;\n\t}", "title": "" }, { "docid": "c6c277335b267f109be247aeacd5dbf1", "score": "0.60873115", "text": "public void setShipLevel(int par1, boolean update) {\n\t\t//set level\n\t\tif(par1 < 151) {\n\t\t\tStateMinor[ID.M.ShipLevel] = par1;\n\t\t}\n\t\t//update attributes\n\t\tif(update) {\n\t\t\tLogHelper.info(\"DEBUG : set ship level with update\");\n\t\t\tcalcEquipAndUpdateState();\n\t\t\tthis.setHealth(this.getMaxHealth());\n\t\t}\n\t}", "title": "" }, { "docid": "5069b5ed05d6aa4c69bf01b663852ffa", "score": "0.60694975", "text": "public void setByLevel(int level) {\n\t\tif(level == 3){\n\t\t\tthis.level = level;\n\t\t\tthreshold = 5;\n\t\t\tbonus = 7;\n\t\t\tpointsReg = 5;\n\t\t\tpointsBonus = 10;\n\t\t} else if (level == 2) {\n\t\t\tthis.level = level;\n\t\t\tthreshold = 4;\n\t\t\tbonus = 6;\n\t\t\tpointsReg = 5;\n\t\t\tpointsBonus = 10;\n\t\t} else {\n\t\t\tthis.level = level;\n\t\t\tthreshold = 3;\n\t\t\tbonus = 5;\n\t\t\tpointsReg = 5;\n\t\t\tpointsBonus = 10;\n\t\t}\n\t}", "title": "" }, { "docid": "5f7304a49fad0f4ad3e679fb0bd4775d", "score": "0.60435885", "text": "public void setLevel(Integer lvl)\n {\n this.level = lvl;\n }", "title": "" }, { "docid": "1dfc583a883f0777e15e6c2d46d2dc3c", "score": "0.602442", "text": "public void setLevel(int level) {\n this.level = level;\n }", "title": "" }, { "docid": "1dfc583a883f0777e15e6c2d46d2dc3c", "score": "0.602442", "text": "public void setLevel(int level) {\n this.level = level;\n }", "title": "" }, { "docid": "c3633a1f58ac0dbf313b43542767cea8", "score": "0.60162944", "text": "private void setCurrentStock() {\n Aktie currentStock = model.getData().getCurrentStock();\n String symbol = currentStock.getSymbol();\n ArrayList<Aktie> stockList = model.getData().getAktienList().getValue();\n if (stockList != null) {\n for (Aktie stock : stockList) {\n if (symbol.equals(stock.getSymbol())) {\n currentStock = stock;\n break;\n }\n }\n model.getData().setCurrentStock(currentStock);\n }\n }", "title": "" }, { "docid": "b0514f1e32573c0ca1bb6c497c2dd9b1", "score": "0.60149163", "text": "public void setLevel(int level) {\r\n\t\tthis.level = level;\r\n\t}", "title": "" }, { "docid": "2957c5c1b4c89c233adcb62267a48cee", "score": "0.6001036", "text": "public void adjustPower(FanLevel level) throws Exception;", "title": "" }, { "docid": "c3762559e8e63baa8afdac9b142028c3", "score": "0.5994894", "text": "@Override\n\tpublic void setInStock(java.lang.String inStock) {\n\t\t_cjProduct.setInStock(inStock);\n\t}", "title": "" }, { "docid": "3fcc4bc99725715bc6788cf1985821a6", "score": "0.5971336", "text": "public void setLevel(Level level) {\n if (currentLevel != level) {\n currentLevel = level;\n }\n }", "title": "" }, { "docid": "d658f8ed090bda8280c9552ca18aa805", "score": "0.59524983", "text": "public void setLevel(Integer level) {\n this.level = level;\n }", "title": "" }, { "docid": "d658f8ed090bda8280c9552ca18aa805", "score": "0.59524983", "text": "public void setLevel(Integer level) {\n this.level = level;\n }", "title": "" }, { "docid": "d658f8ed090bda8280c9552ca18aa805", "score": "0.59524983", "text": "public void setLevel(Integer level) {\n this.level = level;\n }", "title": "" }, { "docid": "d658f8ed090bda8280c9552ca18aa805", "score": "0.59524983", "text": "public void setLevel(Integer level) {\n this.level = level;\n }", "title": "" }, { "docid": "ce4eb0e987f1b771916ac273fd82d13c", "score": "0.5940105", "text": "public void setLevel(int l) {\n _lvl = l;\n resetMax();\n reset();\n }", "title": "" }, { "docid": "b1ad63f648facdc5d801547e1595d520", "score": "0.59350204", "text": "public void setProductCondition(com.cdiscount.www.ProductConditionEnum.Enum productCondition)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PRODUCTCONDITION$22, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PRODUCTCONDITION$22);\n }\n target.setEnumValue(productCondition);\n }\n }", "title": "" }, { "docid": "831ccf7b6afeca8b5e39a9a032af5b19", "score": "0.5921064", "text": "public void setLevel( RowingSessionLevel level )\n throws RowingSessionStateException {\n // Precondition\n if ( level == null ) {\n throw new IllegalArgumentException( \"null level\" );\n }\n if ( this.state != RowingSessionState.TENATIVE ) {\n String msg = \"Can not edit level when state == '\"\n + this.state.getName() + \"'\";\n throw new RowingSessionStateException( msg );\n }\n if ( !this.level.equals( level ) ) {\n this.isDirty = true;\n this.level = level;\n }\n }", "title": "" }, { "docid": "26f51a29d9605093734704064aafc2f7", "score": "0.591271", "text": "void setLow(double low);", "title": "" }, { "docid": "f3c57613792cf0bca83228f979e47c54", "score": "0.590987", "text": "@Test\n public void testSetStockPro() {\n System.out.println(\"setStockPro\");\n int stockPro = 0;\n Producto instance = new Producto();\n instance.setStockPro(stockPro);\n // TODO review the generated test code and remove the default call to fail.\n // fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "eb8a6eaf8d03f3c961a8768ed07818ac", "score": "0.59064466", "text": "public void setpowerProd(double powerProd)\n\t{\n\t\tthis.powerProd = powerProd;\n\t\t\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "7f7e8f3c82778a9cc66abfc4a1faa17b", "score": "0.5894648", "text": "public static void setLevel(long level){\n writeLongValue(APP_PREFERENCES_LEVEL, level);\n }", "title": "" }, { "docid": "209bdd6fd5f92e33bb79bfdc88426979", "score": "0.5867231", "text": "public double setLevel(int level) {\r\n\t\t// levelTable should never give an invalid amount of experience\r\n\t\tthis.exp = getFromLevelTable(level);\r\n\t\treturn this.exp;\r\n\t}", "title": "" }, { "docid": "d097217e09ffa2151f9fc5c401bd74a0", "score": "0.5858792", "text": "public void setLevel( int value ) {\n this.level = value;\n }", "title": "" }, { "docid": "6a745a0af48c068b4f7d442c36fb8f14", "score": "0.5853772", "text": "public void setLevel(int value) {\r\n\t\t\tthis.level = value;\r\n\t\t}", "title": "" }, { "docid": "5bf61e6eab8df8c57d9f2753e22a35a6", "score": "0.58361536", "text": "public void setLevel() {\n this.level = 1;\n if (this.experience > 2000 && this.experience < 5000) {\n this.level = 2;\n }\n if (this.experience > 5000 && this.experience < 9000) {\n this.level = 3;\n }\n if (this.experience > 9000 && this.experience < 15000) {\n this.level = 4;\n }\n if (this.experience > 15000 && this.experience < 23000) {\n this.level = 5;\n }\n if (this.experience > 23000 && this.experience < 35000) {\n this.level = 6;\n }\n if (this.experience > 35000 && this.experience < 51000) {\n this.level = 7;\n }\n if (this.experience > 51000 && this.experience < 75000) {\n this.level = 8;\n }\n if (this.experience > 75000 && this.experience < 105000) {\n this.level = 9;\n }\n if (this.experience > 105000 && this.experience < 220000) {\n this.level = 10;\n }\n if (this.experience > 220000 && this.experience < 315000) {\n this.level = 11;\n }\n if (this.experience > 315000 && this.experience < 445000) {\n this.level = 12;\n }\n if (this.experience > 445000 && this.experience < 635000) {\n this.level = 13;\n }\n if (this.experience > 635000 && this.experience < 890000) {\n this.level = 14;\n }\n if (this.experience > 890000 && this.experience < 1300000) {\n this.level = 15;\n }\n if (this.experience > 1300000 && this.experience < 1800000) {\n this.level = 16;\n }\n if (this.experience > 1800000 && this.experience < 2550000) {\n this.level = 17;\n }\n if (this.experience > 2550000 && this.experience < 1300000) {\n this.level = 18;\n }\n if (this.experience > 1300000 && this.experience < 1800000) {\n this.level = 19;\n }\n if (this.experience > 1800000 && this.experience < 2550000) {\n this.level = 20;\n }\n }", "title": "" }, { "docid": "0bf704aad6eea6854a09a514d81c0085", "score": "0.58191705", "text": "public SetAttributeLevel( String level )\n {\n this();\n choice_pg.setValue( level );\n }", "title": "" }, { "docid": "a1466698d905f35a1f7d2913eccd3e45", "score": "0.58187264", "text": "abstract void setAttributeLevel(EStarAttribute attribute, int level);", "title": "" }, { "docid": "333e7993922f76c732f0c5e0fe067c62", "score": "0.58008456", "text": "private void setVolume() {\n\tmySoundFactory.setVolume((int) this.getValue());\n }", "title": "" }, { "docid": "3d3647e4c4802409c8e9695ee012a555", "score": "0.579074", "text": "protected void addNewProductToWarehouse(Product product, int desiredStockLevel) {\n\t\tif (currentStockLevel.containsKey(product)) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t} else {\n\t\t\tcurrentStockLevel.put(product, desiredStockLevel);\n\t\t\tidealStockLevel.put(product, desiredStockLevel);\n\t\t\tidMap.put(product.getItemNumber(), product);\n\t\t}\n\t}", "title": "" }, { "docid": "990fe6e88957e363a0577afb43ec329b", "score": "0.57848954", "text": "@Override\n @Lock(LockType.WRITE)\n public void updateStock(StockProduct newStockProduct) {\n \n if(stocks.containsKey(newStockProduct.getStockID())) {\n StockProduct oldStockProduct = stocks.get(newStockProduct.getStockID());\n double diff = newStockProduct.getStockPrice() - oldStockProduct.getStockPrice();\n oldStockProduct.setStockPrice(newStockProduct.getStockPrice());\n if(differences.containsKey(newStockProduct.getStockID())) {\n differences.remove(newStockProduct.getStockID());\n }\n String priceDiff;\n if (diff < 0) {\n priceDiff = \"- \" + String.valueOf(Math.abs(diff));\n } else {\n priceDiff = \"+ \" + String.valueOf(diff);\n }\n differences.put(newStockProduct.getStockID(), priceDiff);\n \n } else {\n stocks.put(newStockProduct.getStockID(), newStockProduct);\n differences.put(newStockProduct.getStockID(), \"0.0\");\n }\n updateSPHistory(newStockProduct);\n }", "title": "" }, { "docid": "f97b28772a1cb9afb54a804754935e78", "score": "0.5774222", "text": "public synchronized void modifyStock( Product detail )\n throws StockException\n {\n DEBUG.trace( \"DB StockRW: modifyStock(%s)\", \n detail.getProductNum() );\n try\n {\n if ( ! exists( detail.getProductNum() ) )\n {\n \tgetStatementObject().executeUpdate( \n \"insert into ProductTable values ('\" +\n detail.getProductNum() + \"', \" + \n \"'\" + detail.getDescription() + \"', \" + \n \"'images/Pic\" + detail.getProductNum() + \".jpg', \" + \n \"'\" + detail.getPrice() + \"' \" + \")\"\n );\n \tgetStatementObject().executeUpdate( \n \"insert into StockTable values ('\" + \n detail.getProductNum() + \"', \" + \n \"'\" + detail.getQuantity() + \"' \" + \")\"\n ); \n } else {\n \tgetStatementObject().executeUpdate(\n \"update ProductTable \" +\n \" set description = '\" + detail.getDescription() + \"' , \" +\n \" price = \" + detail.getPrice() +\n \" where productNo = '\" + detail.getProductNum() + \"' \"\n );\n \n \tgetStatementObject().executeUpdate(\n \"update StockTable set stockLevel = \" + detail.getQuantity() +\n \" where productNo = '\" + detail.getProductNum() + \"'\"\n );\n }\n //getConnectionObject().commit();\n \n } catch ( SQLException e )\n {\n throw new StockException( \"SQL modifyStock: \" + e.getMessage() );\n }\n }", "title": "" }, { "docid": "ce038921fea43f1a16bca946ad567cba", "score": "0.5773419", "text": "public void gainLevel() {\n int oldmpsmax=getStat(RPG.ST_MPSMAX);\n int oldhpsmax=getStat(RPG.ST_HPSMAX);\n\n int level=getStat(RPG.ST_LEVEL)+1;\n stats.setStat(RPG.ST_LEVEL,level); \n stats.setStat(RPG.ST_SKILLPOINTS,stats.getStat(RPG.ST_SKILLPOINTS)+60);\n \n \n for (int i=1; i<=8; i++) {\n int stat=getBaseStat(i);\n stat+=RPG.po(stat,10);\n stats.setStat(i,stat); \n }\n \n hps=(hps*getStat(RPG.ST_HPSMAX))/oldhpsmax;\n mps=(hps*getStat(RPG.ST_MPSMAX))/oldmpsmax;\n \n if (this==Game.hero) {\n Game.message(\"You have achieved level \"+level);\n } else {\n // add skills automatically for creatures/NPCs\n autoLearnSkills(); \n }\n }", "title": "" }, { "docid": "6bef23e66675b97cf4732999beea33b1", "score": "0.576374", "text": "public void changeActualSkillLevel(double actualSkillLevel) {\r\n tutor.changeActualSkillLevel(actualSkillLevel);\r\n }", "title": "" }, { "docid": "7117398a893fac655d6e958e884d7c62", "score": "0.57522243", "text": "public void updateItemStockLevel(String nameOfItem, int newCountItems){\r\n //Get Item position in the arrayList\r\n int position = this.items.indexOf(findItemInStore(nameOfItem));\r\n //Get current stock level of the item\r\n int currentStockLevel = this.items.get(position).getStockCount();\r\n //add the newCountItems to the current stock level of item.\r\n int newStockLevel = currentStockLevel + newCountItems;\r\n //Update the new stock level of the item.\r\n this.items.get(position).setStockCount(newStockLevel);\r\n System.out.println(nameOfItem + \" stock count is successfully updated.\");\r\n }", "title": "" }, { "docid": "3162c5627df518b467f1744e15342474", "score": "0.5744624", "text": "public void setStock(Stock stock) {\n if(stock != null) {\n this.stock = stock;\n } else if(this.stock == null) { //check existing stock object\n this.stock = new Stock();\n }\n }", "title": "" }, { "docid": "5d5dc594179a0f6f2e97fa88fe3e731c", "score": "0.5715996", "text": "public void setPriceLevelIdentifier(int value) {\n this.priceLevelIdentifier = value;\n }", "title": "" }, { "docid": "3d8c27d4a991251f783d3eae5ee380a5", "score": "0.57068014", "text": "public void setLumberInStock(Resource lumberInStock)\n\t{\n\t\tthis.lumberInStock = lumberInStock;\n\n\t\tif (this.lumberInStock.getAmount() > this.lumberInStock.getMAX())\n\t\t\tthis.lumberInStock.setAmount(this.lumberInStock.getMAX());\n\t}", "title": "" }, { "docid": "c79f30d59471551e40e5e93f0ee90ecd", "score": "0.569893", "text": "public void updateLevel() {\n\t\tif (level < (XP - 250) / 50 + 1) {\n\t\t\tlevel = ((XP - 250) / 50 + 1);\n\t\t\tHP = updateHP();\n\t\t}\n\t}", "title": "" }, { "docid": "c1ab7fdd9030f55396a2f1774b886a7e", "score": "0.56925577", "text": "public void xsetProductCondition(com.cdiscount.www.ProductConditionEnum productCondition)\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.cdiscount.www.ProductConditionEnum target = null;\n target = (com.cdiscount.www.ProductConditionEnum)get_store().find_element_user(PRODUCTCONDITION$22, 0);\n if (target == null)\n {\n target = (com.cdiscount.www.ProductConditionEnum)get_store().add_element_user(PRODUCTCONDITION$22);\n }\n target.set(productCondition);\n }\n }", "title": "" }, { "docid": "beb35d0e58f4ba3bf423907ce6290064", "score": "0.5691609", "text": "void setRankLevel(String rankLevel);", "title": "" }, { "docid": "6577fb623309ac49dd07937e6160a3e1", "score": "0.5689016", "text": "public void setLevel (Level level) \r\n {\r\n mRenderer.setCurrentLevel(level);\r\n }", "title": "" }, { "docid": "935d3e56a015a4e93a79b79e1a1c51c8", "score": "0.5686802", "text": "public synchronized void addStock( String pNum, int amount )\n throws StockException\n {\n try\n {\n getStatementObject().executeUpdate(\n \"update StockTable set stockLevel = stockLevel + \" + amount +\n \" where productNo = '\" + pNum + \"'\"\n );\n //getConnectionObject().commit();\n DEBUG.trace( \"DB StockRW: addStock(%s,%d)\" , pNum, amount );\n } catch ( SQLException e )\n {\n throw new StockException( \"SQL addStock: \" + e.getMessage() );\n }\n }", "title": "" }, { "docid": "c892a9706fbe110c6ba4da298a8b1b24", "score": "0.56754965", "text": "public void updateAvailableStock(int quantity) {\n\t\tavailable_in_stock = available_in_stock + quantity;\n\t}", "title": "" }, { "docid": "9d9d06eff0a06ec9a3ceb119b90a4a6a", "score": "0.566432", "text": "private void setKnockBackResistance(){\n\t\tif(getSettings().getParameters().getPlayerAttributes().getKnockbackResistance().isEnabled())\n\t\t\tthis.getPlayer().getAttribute(Attribute.GENERIC_KNOCKBACK_RESISTANCE).setBaseValue(this.getMultipliers().getPlayerKnockbackResistance());\n\t}", "title": "" }, { "docid": "bce130add15544e932f786275af4fa10", "score": "0.56539184", "text": "@Accessor(qualifier = \"level\", type = Accessor.Type.SETTER)\n\tpublic void setLevel(final JobLogLevel value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(LEVEL, value);\n\t}", "title": "" }, { "docid": "1efb6b9a088c4f6dabe7e3581317bd02", "score": "0.56516474", "text": "public void setLevel( String pLevel )\r\n {\r\n mLevel = pLevel;\r\n }", "title": "" }, { "docid": "4f08e7b0f2fb2ac2dfdfe323fba6ae44", "score": "0.56468666", "text": "public boolean setProduct(Integer value) {\r\n\t\tif (updateStockProperty(\"product\", value)) {\r\n\t\t\tthis.product = value;\r\n\t\t\treturn true;\r\n\t\t} else { \r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "cf2a2fc8b981464e56a52b1f12c4e6a3", "score": "0.5638013", "text": "public void setVolume(float vol){\r\n\t\tthis.volume = vol;\r\n\t}", "title": "" }, { "docid": "ff7c2fc4c0fe732f9baad79017633248", "score": "0.563371", "text": "public void setLevel(int level_id, float value) {\r\n\t\tlevels[level_id] = value;\r\n\t\tif (level_id == SUSTAIN_LEVEL) {\r\n\t\t\tlevels[SUSTAIN_LEVEL2] = value;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "714f51a3f8aa30ffccf0c76ec955d0fb", "score": "0.5630849", "text": "public void setLevel(PlaceLevel level)\n {\n _level=level;\n }", "title": "" }, { "docid": "8f39e01dfff65a27959a50e43aa61a31", "score": "0.56267965", "text": "public void setLvl(int lvl) {\n this.lvl = lvl;\n }", "title": "" }, { "docid": "176fcc3bf33f3e7c41449473bd001a65", "score": "0.56230354", "text": "public void setLevel(LiftLevels level) {\t\n\n\t\tm_setPoint = level.encoderPosition();\n\t\tm_talon.set(ControlMode.MotionMagic, m_setPoint);\n }", "title": "" }, { "docid": "cb61f1dd7c7430ca6ea08ef3c78ca18d", "score": "0.56224394", "text": "public void setLevel(GameLevel level) {\n\t\tthis.level = level;\n\t}", "title": "" }, { "docid": "9bb990a868747983b4cfaedbb920b575", "score": "0.5620625", "text": "public void setLow(double low) {\n this.low = low;\n }", "title": "" }, { "docid": "19ffadcb55d8b7601c09e1b7977fcd07", "score": "0.5619032", "text": "public void setParam_level( java.math.BigDecimal newValue ) {\n __setCache(\"param_level\", newValue);\n }", "title": "" }, { "docid": "337d4ddd38740314144736304105f825", "score": "0.5610626", "text": "public void setStockNo(java.lang.String newStockNo) {\n this.stockNo = newStockNo;\n }", "title": "" }, { "docid": "1d42033441c00f3fa4a8d906e2657301", "score": "0.56028086", "text": "public void setSkillLevel(final int value) { _skillLevel = value; }", "title": "" }, { "docid": "23301ee42288b84cc4024dd0b6939b40", "score": "0.56016344", "text": "protected void restock(int productNumber, int minimum) {\n\t\tif (!isRestockable(productNumber) || !(idMap.containsKey(productNumber))) {\n\t\t\tthrow new IllegalArgumentException();\n\t\t}\n\t\t// int isl = idealStockLevel.get(idMap.get(productNumber));\n\t\tint csl = currentStockLevel.get(idMap.get(productNumber));\n\t\tif (csl < minimum) {\n\t\t\tif (minimum > idealStockLevel.get(idMap.get(productNumber))) {\n\t\t\t\tcurrentStockLevel.put(idMap.get(productNumber), minimum);\n\t\t\t} else {\n\t\t\t\tcurrentStockLevel.put(idMap.get(productNumber), idealStockLevel.get(idMap.get(productNumber)));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "3a1d7de11958305d86eec8e9c512197b", "score": "0.5589296", "text": "@Override\n\tpublic void setBatteryLevel(float level) {\n\t}", "title": "" }, { "docid": "b246d12fa1eb6446d41786b1fc19470d", "score": "0.5586772", "text": "float setVolume(float value);", "title": "" }, { "docid": "ad16aa6daa9a007f091418dda035fb62", "score": "0.5572478", "text": "public void setProductQuantity(String quantity)\n\t{\n\t\tWebElement element = objStepBase.getDriver().findElement(productQuantity);\n\t\t((JavascriptExecutor)objStepBase.getDriver()).executeScript(\"arguments[0].setAttribute('value', '\" + quantity +\"')\", element);\n\t}", "title": "" }, { "docid": "775c8c8a682b9a2250d1209624849680", "score": "0.55718625", "text": "public void setPower(int power) {\r\n\t\tthis.power = power;\r\n\t}", "title": "" }, { "docid": "580bf9a319e2f3979a89604fb71609df", "score": "0.5570509", "text": "public void setEnergy(ItemStack itemStack, long energy);", "title": "" }, { "docid": "2eea17b140e3ecb90ae7cf7c023ab97c", "score": "0.5569942", "text": "void setHigh(double high);", "title": "" }, { "docid": "f0e14fb697234dee790546c29cff767f", "score": "0.5566956", "text": "public void setVolume(double volume);", "title": "" }, { "docid": "1b02a10466e25d99812ead4b16328a7e", "score": "0.55511117", "text": "@Override\n public void setLevel(int level) {\n super.setLevel(level);\n staminaLost = 8;\n staminaLost += 6 * (level-1);\n if (character.getType() == CharacterType.MASTER) {\n staminaLost *= 2;\n }\n }", "title": "" }, { "docid": "da7b1df7d5dbced2d832e2c6cb600490", "score": "0.55444187", "text": "public void setPower(int value) {\n this.power = value;\n }", "title": "" }, { "docid": "6bdc3289946e7df3084fe62687e1d2c0", "score": "0.55400443", "text": "public void setStockCode(String stockCode) {\r\n this.stockCode = stockCode;\r\n }", "title": "" }, { "docid": "b3638de1346062297b7d442b8c299879", "score": "0.5538738", "text": "public void setPrice(double price){\n prodPrice = price; \n }", "title": "" }, { "docid": "2d59b287ed5567ba4ffd32300b11ca30", "score": "0.5537326", "text": "public void setVolume(){\n //this if statement captures the changes on the volume from the settings\n if(SettingsScreen.volumeChanges == 1)\n volume = 0.1f;\n else if(SettingsScreen.volumeChanges == 2)\n volume = 0.2f;\n else if(SettingsScreen.volumeChanges == 3)\n volume = 0.3f;\n else if(SettingsScreen.volumeChanges == 4)\n volume = 0.4f;\n else if(SettingsScreen.volumeChanges == 5)\n volume = 0.5f;\n else if(SettingsScreen.volumeChanges == 6)\n volume = 0.6f;\n else if(SettingsScreen.volumeChanges == 7)\n volume = 0.7f;\n else if(SettingsScreen.volumeChanges == 8)\n volume = 0.8f;\n else if(SettingsScreen.volumeChanges == 9)\n volume = 0.9f;\n else if(SettingsScreen.volumeChanges == 10)\n volume = 1.0f;\n }", "title": "" }, { "docid": "317b1ead15e15937e728f78206f5c6e0", "score": "0.5534212", "text": "@Override\n public void setHarvestLevel(String toolClass, int level, IBlockState state)\n {\n int idx = this.getMetaFromState(state);\n this.harvestTool[idx] = toolClass;\n this.harvestLevel[idx] = level;\n }", "title": "" }, { "docid": "3edde9a82bdf8426562d3ba3f257d47f", "score": "0.55340636", "text": "public void setUnitInStock(Long unitInStock) {\n this.unitInStock = unitInStock;\n }", "title": "" }, { "docid": "5a7b43b924a28e34fa9f843343068d80", "score": "0.553044", "text": "public void setMinTechLevel(int n)\n {\n minTechLevel = n;\n }", "title": "" }, { "docid": "7f0064cc7072b16d86e4df4a86f980be", "score": "0.55276275", "text": "public void changeQuestLevel(int level){\n\t\tlevel += 1;\n\t\tfor(Reward reward : this.rewards){\n\t\t\treward.scaleMoneyReward(level);\n\t\t}\n\t\tfor(Objective objective : this.objectives){\n\t\t\tobjective.scaleToLevel(level);\n\t\t}\n\t}", "title": "" }, { "docid": "76a266da9826b349e585a93d0d8ac41b", "score": "0.55269426", "text": "void setLevel( RowingSessionLevel level )\n throws RemoteException, RowingSessionStateException;", "title": "" }, { "docid": "dc81960a0b9be9351a9a4c9887b47950", "score": "0.5514923", "text": "public void setStockName(String stockName) {\n this.stockName = stockName;\n }", "title": "" }, { "docid": "882cde77290c81d43bcc28d8d5427a53", "score": "0.55106354", "text": "public void setStock_count(Integer stock_count) {\n this.stock_count = stock_count;\n }", "title": "" }, { "docid": "5062d8c65fad16fa9e01bf6fa9c8e372", "score": "0.55055", "text": "public synchronized void updateRecommendLevel(String pNum1, String pNum2) \n\t\t\tthrows StockException \n\t{\n\t try\n\t {\n\t \tString query = \"SELECT * FROM productpairtable \"\n\t\t\t\t\t+ \"WHERE (productNo = '\" + pNum1 + \"' AND pairNo = '\" + pNum2 + \"')\"\n\t\t\t\t\t+ \" OR (productNo = '\" + pNum2 + \"' AND pairNo = '\" + pNum1 + \"')\";\n\t \tResultSet rs = getStatementObject().executeQuery(query);\n \t\tboolean res = rs.next();\n \t\tint level = 0;\n \t\tif(res)\n \t\t\tlevel = rs.getInt(\"level\");\n \t\trs.close();\n \t\t\n \t\tlevel += 1;\n \t\t\n \t\tif(res) {\n \t\t\tquery = \"UPDATE productpairtable SET level=\" + level \n \t\t\t\t+ \" WHERE (productNo = '\" + pNum1 + \"' AND pairNo = '\" + pNum2 + \"')\"\n \t\t\t\t+ \" OR (productNo = '\" + pNum2 + \"' AND pairNo = '\" + pNum1 + \"')\";\n \t\t\tgetStatementObject().executeUpdate(query);\n \t }\n \t\telse {\n \t\t\tgetStatementObject().executeUpdate(\n\t \t\t\t\"INSERT into productpairtable values ('\" + pNum1 + \"', '\" + pNum2 + \"', \" + level + \")\");\n \t\t}\n \t\tDEBUG.trace( \"DB StockR: updateRecommendLevel()\" );\n\t } catch ( SQLException e )\n\t {\n\t \tthrow new StockException( \"SQL updateRecommendLevel: \" + e.getMessage() );\n\t }\n\t}", "title": "" }, { "docid": "eca776caea4add5b93a902422fa9848c", "score": "0.5495778", "text": "public void set_hpprice(int newval)\n\t{\n\thpprice = newval;\n\t}", "title": "" }, { "docid": "cec155399721c8cc279e4b6961f87a0c", "score": "0.54954624", "text": "public void setPower(int power) {\n\t\tthis.power = power;\n\t}", "title": "" }, { "docid": "9826bbfbdc659afb39bd49d346e4978f", "score": "0.549196", "text": "public void setQty(int quantitiy){\n qty = quantitiy; \n }", "title": "" }, { "docid": "bbaefc7c24d0f44261b12c8e7b96fb3f", "score": "0.54876727", "text": "public void setProduct(Integer product)\n {\n this.product = product;\n }", "title": "" } ]
b7a3df495468855a224a4458f7cfdee1
This method was generated by MyBatis Generator. This method corresponds to the database table sys_log
[ { "docid": "779ea9722b607781bec35dbb5e0f5f4d", "score": "0.0", "text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(getClass().getSimpleName());\n sb.append(\" [\");\n sb.append(\"Hash = \").append(hashCode());\n sb.append(\", id=\").append(id);\n sb.append(\", username=\").append(username);\n sb.append(\", operation=\").append(operation);\n sb.append(\", method=\").append(method);\n sb.append(\", params=\").append(params);\n sb.append(\", ip=\").append(ip);\n sb.append(\", createDate=\").append(createDate);\n sb.append(\", serialVersionUID=\").append(serialVersionUID);\n sb.append(\"]\");\n return sb.toString();\n }", "title": "" } ]
[ { "docid": "ec16067cafa3136199bab867841401ca", "score": "0.6221073", "text": "SysOperLog selectByPrimaryKey(Long logId);", "title": "" }, { "docid": "3bbe710dbdb6a54fd01c81ea561cfbb3", "score": "0.5972637", "text": "public Table fetchQueryLog() {\n\n Table temp = select(\"System\", \"QueryLog\", \"all\");\n return temp; \n }", "title": "" }, { "docid": "9e22782b1d5a5da473adbb331903271a", "score": "0.59076434", "text": "LogTable getLogTable() {\n return this.logTable;\n }", "title": "" }, { "docid": "1659865397884bc6987fe36c99614ba7", "score": "0.5835091", "text": "@Insert({\n \"insert into operation_log (company_id, table_name, \",\n \"record_id, type, created_by, \",\n \"created_at, content)\",\n \"values (#{companyId,jdbcType=BIGINT}, #{tableName,jdbcType=VARCHAR}, \",\n \"#{recordId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER}, #{createdBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{content,jdbcType=LONGVARCHAR})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(OperationLogPO record);", "title": "" }, { "docid": "299a2a5baa869822878e5e754294eb89", "score": "0.5832348", "text": "IrpDocumentLogs selectByPrimaryKey(Long doclogid) throws SQLException;", "title": "" }, { "docid": "4fce22a47db5413b089d1fe6234841a6", "score": "0.58193976", "text": "com.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringBigQueryTable.LogSource getLogSource();", "title": "" }, { "docid": "2b1697a5c627402991774c77998f83d9", "score": "0.5802871", "text": "private void createLogTable()\n\t{\n\t\tupdate(\"CREATE TABLE IF NOT EXISTS logs \" +\n\t\t\t\t\"(name TEXT NOT NULL,\" +\n\t\t\t\t\"id TEXT NOT NULL,\" +\n\t\t\t\t\"state INT,\" +\n\t\t\t\t\"time TEXT,\" +\n\t\t\t\t\"trigger TEXT)\");\n\t}", "title": "" }, { "docid": "ab0b8f24aaedaec789245e191717e83d", "score": "0.57791924", "text": "com.google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringBigQueryTable.LogType getLogType();", "title": "" }, { "docid": "93b0f65c6df2be899466c72957790f7a", "score": "0.5745872", "text": "@Override\r\n public Integer insert(SysLog param) {\n return null;\r\n }", "title": "" }, { "docid": "e8ca9f4561cb6f126f3bf59062f3062c", "score": "0.5691609", "text": "public com.sybase.collections.GenericList<com.sybase.persistence.LogRecord> getLogRecords()\n {\n return ru.terralink.mvideo.sap.LogRecordImpl.findByEntity(\"UpdateStatus\", keyToString());\n }", "title": "" }, { "docid": "b7479783d6db033c144b99b3586a815c", "score": "0.5688786", "text": "@Override\n\tpublic List<SysOperLog> selectOperLogList(SysOperLog operLog) {\n\t\treturn operLogMapper.selectOperLogList(operLog);\n\t}", "title": "" }, { "docid": "575a1305b82021e459e954e5ce430aeb", "score": "0.5669654", "text": "public ArrayList<LoggingTime> loadLogTimeBO() throws SQLException {\n return logtimeDAO.loadLogTime();\r\n }", "title": "" }, { "docid": "cf82eeff976f0aa4f41adf960810267e", "score": "0.5632397", "text": "public String getTempBloqueLogTable() {\n return \"geodata.temp_bloque_log\";\n }", "title": "" }, { "docid": "009f0567c4d7957fe2a5f129080f1e8f", "score": "0.5624627", "text": "@Override\n\tprotected void initADAO() {\n\t\tthis.cls=Log.class;\n\t\tthis.keyName=\"id\";\n\t\tthis.table=\"log\";\n\t}", "title": "" }, { "docid": "ff638cd2ad8d2777b7aea6ea88ee727b", "score": "0.5600772", "text": "public interface SystemLogService {\n List<LogPolyline> queryLogGroupByDate(LogPolyline logPolyline);\n List<LogPolyline> queryAllLogGroupByPermission();\n List<UserLoginLog> queryUserLoginLog(UserLoginLog userLoginLog);\n\n List<LogTop> queryMenuTop(String sql);\n}", "title": "" }, { "docid": "e192cade8f0c642c8435ce1d0168c556", "score": "0.55907845", "text": "@Insert({\n \"insert into t_login_log (login_log_id, user_id, \",\n \"ip, login_datetime)\",\n \"values (#{loginLogId,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, \",\n \"#{ip,jdbcType=VARCHAR}, #{loginDatetime,jdbcType=TIMESTAMP})\"\n })\n int insert(TLoginLog record);", "title": "" }, { "docid": "7f0e214406ea4697f021831207ed5d5c", "score": "0.55425656", "text": "public String getLogType() {\n if (this.getSession().getSessionLog().getClass() == JavaLog.class) {\n return \"Java\";\n } else if (this.getSession().getSessionLog().getClass() == DefaultSessionLog.class) {\n return EclipseLink_Product_Name;\n } else {\n return this.getSession().getSessionLog().getClass().getSimpleName();\n }\n }", "title": "" }, { "docid": "320ec93c3655dd05c839bcc7fb749ecc", "score": "0.5515073", "text": "public void geracaoLogBD(){\n\t\t\n\t}", "title": "" }, { "docid": "8636af5f5df4c2861efc8abf2c3a19b2", "score": "0.5512078", "text": "@Override\n public void logs(String log) {\n }", "title": "" }, { "docid": "554957d41312394c329279decfdbfe60", "score": "0.54963756", "text": "public void log(String log, String username){\r\n\r\n try{\r\n Connection con = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/logs\", \"app_control\", \"password\");\r\n Statement myStmt = con.createStatement();\r\n \r\n myStmt.executeUpdate(\"INSERT INTO inv_managerLogs (UserName, Log) VALUES ('\"\r\n +username+\"', '\"\r\n +log+\"');\");\r\n con.close();\r\n myStmt.close();\r\n }catch(Exception e){\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "b14cce46a1fa62a2ec195f7546d4133e", "score": "0.5456249", "text": "@Query(\"SELECT * FROM \" + AssignmentDatabase.ASSIGNMENTLOG_TABLE)\n List<AssignmentLog> getAssignmentLog();", "title": "" }, { "docid": "ed30acbc6b92a8b68f31106ce1cd2cf4", "score": "0.5455056", "text": "@Override\n\tpublic List<Log> selectadminlog() {\n\t\treturn logmapper.selectadminlog();\n\t}", "title": "" }, { "docid": "c444e285d0f30a47c9ebd7de3196512e", "score": "0.5450935", "text": "void crearLogTable(ConnectionFactory origen) {\r\n String createLOGTABLE = \"CREATE TABLE LOGTABLE\\n\"\r\n + \"(\tid INT NOT NULL,\\n\"\r\n + \"\ttipoEvento VARCHAR(15),\\n\"\r\n + \"\tentidad VARCHAR(50),\\n\"\r\n + \"\tenable char(1)\\n\"\r\n + \");\";\r\n connection_control connection = connection_control.getConexion(origen);\r\n try {\r\n connection.createDDL(createLOGTABLE);\r\n } catch (IOException ex) {\r\n Logger.getLogger(TriggerCreator.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (SQLException ex) {\r\n Logger.getLogger(TriggerCreator.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n\r\n }", "title": "" }, { "docid": "23b21289b6c33e23667c9f7dc3c6e2cf", "score": "0.54446757", "text": "TsEnterpriseLog selectByPrimaryKey(String id);", "title": "" }, { "docid": "e001a6c58f0a199be07baec8dcb6ca94", "score": "0.5443059", "text": "@Override\n\tpublic String toString() {\n\t\treturn log.toString();\n\t}", "title": "" }, { "docid": "f7efecfda68cb8150bb354e3120c3293", "score": "0.54245955", "text": "public static LinkedList<Log> getLogs (Connection conn) throws SQLException{\n LinkedList<Log> logs = new LinkedList<>();\n String query = \"SELECT * FROM logging\";\n PreparedStatement stm = conn.prepareStatement(query);\n ResultSet rst = stm.executeQuery();\n while(rst.next()){\n if ((rst.getInt(\"id\") != 1) & (rst.getString(\"username\") != null) & (rst.getTimestamp(\"log_time\") != null)){ //aavoid to return null row\n logs.add(new Log(rst.getInt(\"id\"), rst.getString(\"username\"), rst.getTimestamp(\"log_time\").toLocalDateTime()));\n }\n }\n return logs; \n }", "title": "" }, { "docid": "030debd3826462fb851c8e3bccc6ffac", "score": "0.54228765", "text": "public void logDatabase(){\r\n\t\tstatement = \"select * from users where username = '\"+user+\"' and password = '\"+pass+\"'\";\r\n\t\tdatabase db = new database();\r\n\t\ttry{\r\n\t this.setAcc(db.logDatabase(this.statement));\r\n\t\t} catch(NullPointerException e){\r\n\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "dce456bef1daf428590027c16c355e14", "score": "0.5420894", "text": "public List<DerivationLogEntry> getLog() ;", "title": "" }, { "docid": "a0e83eb21580cf9453848dceeea97060", "score": "0.54133874", "text": "@Override\n\tpublic SysLog selectSysLogById(Long id) {\n\t\treturn sysLogDAO.selectByPrimaryKey(id);\n\t}", "title": "" }, { "docid": "38c0368689588189fd589a134fcb9ae0", "score": "0.5410862", "text": "@Override\n public void addErrorLog(ErrorLog errorLog) {\n if(errorLog == null) return; \n String sql = \"INSERT INTO error_logs (EVENT_ID,EVENT_DATE,LEVEL,\"+\n \"LOGGER,MSG,THROWABLE\"\n + \") VALUES (DEFAULT,?,?,?,?,?); \";\n Connection conn = mysql.Web_MYSQL_Helper.getConnection();\n PreparedStatement stmt2 = null;\n try {\n stmt2 = conn.prepareStatement(sql);\n stmt2.setString(1, errorLog.getErrorLogDateTime().toString().trim());\n stmt2.setString(2, errorLog.getErrLevel().trim());\n stmt2.setString(3, errorLog.getLoggerName().trim());\n stmt2.setString(4, errorLog.getErrorMessage().trim());\n stmt2.setString(5, errorLog.getException().trim());\n stmt2.executeUpdate();\n\n } catch (SQLException ex) {\n WebErrorLogger.log(Level.SEVERE, \"SQLException in addErrorLog(ErrorLog errorLog) \" + ex); \n }\n finally{\n Web_MYSQL_Helper.closePreparedStatement(stmt2);\n Web_MYSQL_Helper.returnConnection(conn);\n }\n \n }", "title": "" }, { "docid": "b91bd5e5e30e304f8c272515f40598c1", "score": "0.5405354", "text": "@Override\r\n\tpublic PrintWriter getLogWriter() throws SQLException {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "b80e20fa02ee1648e905cfdc74f27bf7", "score": "0.54022074", "text": "@Override\n\tpublic List<Log> select() {\n\t\treturn logmapper.select();\n\t}", "title": "" }, { "docid": "7b4173f5c03390427fabceb150dfd7e0", "score": "0.5389754", "text": "public Long getLogId() {\n return logId;\n }", "title": "" }, { "docid": "c4821e12e8fdcb71963bd9e8fd9aa53e", "score": "0.5381442", "text": "@Override\n public void insertLog(String title, String uname, String loginIp, int loginType, int is_login_ok) {\n TSysUserLog sysLog = new TSysUserLog();\n sysLog.setDtCreate(new Date());\n sysLog.setLoginType(loginType);\n sysLog.setUserName(uname);\n sysLog.setLoginIp(loginIp);\n sysLog.setIsLoginOk(is_login_ok);\n super.insert(sysLog);\n logger.debug(\"记录日志:\" + sysLog.toString());\n }", "title": "" }, { "docid": "4646dc15be672d54bdc780087171e9e8", "score": "0.53675133", "text": "public static void logInfo(String user,String message,String sql){\n\t\tSimpleDateFormat dateFormatter = new SimpleDateFormat(\"yyyy-MM-dd HH:ss,SSS\");\n\t\tlog.info(\"|USER LOG|\"+user+\"|\"+dateFormatter.format(new Date())+\"|\"+message+\"|\"+sql) ;\n\t}", "title": "" }, { "docid": "a9aacc37cd660003bfe0d9a1ba23a5ed", "score": "0.5367363", "text": "@Override\n\tpublic PrintWriter getLogWriter() throws SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "560500784b07c51470a8bca868fc4717", "score": "0.53672975", "text": "@Select({\n \"select\",\n \"login_log_id, user_id, ip, login_datetime\",\n \"from t_login_log\",\n \"where login_log_id = #{loginLogId,jdbcType=INTEGER}\"\n })\n @ResultMap(\"BaseResultMap\")\n TLoginLog selectByPrimaryKey(Integer loginLogId);", "title": "" }, { "docid": "c138130b8df813eab07d371055cd2dda", "score": "0.5361036", "text": "List<SysOperLog> selectByExample(SysOperLogExample example);", "title": "" }, { "docid": "d6ec4371db49c2065abd09f821385f69", "score": "0.53572726", "text": "Log getLog();", "title": "" }, { "docid": "dfcfae75ec09ba30b7c15f4569dcf764", "score": "0.5344176", "text": "private void logStatement(final String sql) {\n LOGGER.logDebug(\"Statement:{0}\", sql);\n }", "title": "" }, { "docid": "57dd4952f4709091a0bff6650fbbf113", "score": "0.5327817", "text": "public static void addLog(Connection conn, Log log) throws SQLException{\n PreparedStatement stmtLog;\n String query_insert_log = \"INSERT INTO logging (username, log_time) VALUES (?, ?);\";\n \n \n stmtLog = conn.prepareStatement(query_insert_log);\n stmtLog.setString(1, log.getUsername());\n stmtLog.setTimestamp(2, Timestamp.valueOf(log.getDateTime()));\n stmtLog.executeUpdate();\n }", "title": "" }, { "docid": "a47e5fe99bd45f376df531f172307794", "score": "0.5313894", "text": "List<String> getSystemLog();", "title": "" }, { "docid": "2ae8d62ff188854c32c938aaa0c91f7b", "score": "0.53051084", "text": "void insert(IrpDocumentLogs record) throws SQLException;", "title": "" }, { "docid": "31951be3af8321a3a82398a22d4076b9", "score": "0.52986306", "text": "public interface SysLogService {\n int insertLog(SysLog sysLog);\n int updateLog(SysLog sysLog);\n int deleteLog(Long logId);\n\n SysLog selectById(Long logId);\n List<SysLog> findAll();\n PageInfo<SysLog> queryByPage(String moduleName, String options, Integer pageNo, Integer pageSize);\n}", "title": "" }, { "docid": "0be700321e08922c4e081eec1349d0ab", "score": "0.5284181", "text": "List<String> getApplicationLog();", "title": "" }, { "docid": "ab73762e18bc696625e1314ab74d3abc", "score": "0.5262492", "text": "UcRoompowerLog selectByPrimaryKey(Long id);", "title": "" }, { "docid": "3fc4e7eceddfc3747d915713fb00e5a2", "score": "0.5256818", "text": "TraceLog getLog();", "title": "" }, { "docid": "cbe582e5ad130b46c104597f40705989", "score": "0.5251834", "text": "public String getLogId() {\n return logId;\n }", "title": "" }, { "docid": "c6aafcd9de19aa7509e95dc753842be8", "score": "0.52476287", "text": "@Override\r\n public Log getLog(Cursor cursor) {\n long id = getLongFromCursor(cursor, LogActionDbAdapter.KEY_ID);\r\n long timestamp = getLongFromCursor(cursor, LogDbAdapter.KEY_TIMESTAMP);\r\n long logEventId = getLongFromCursor(cursor, LogActionDbAdapter.KEY_LOGEVENTID);\r\n String ruleName = getStringFromCursor(cursor, LogActionDbAdapter.KEY_RULENAME);\r\n String appName = getStringFromCursor(cursor, LogActionDbAdapter.KEY_ACTIONAPPNAME);\r\n String eventName = getStringFromCursor(cursor, LogActionDbAdapter.KEY_ACTIONEVENTNAME);\r\n String eventParams = getStringFromCursor(cursor, LogActionDbAdapter.KEY_ACTIONPARAMETERS);\r\n String text = getStringFromCursor(cursor, LogDbAdapter.KEY_DESCRIPTION);\r\n\r\n // Create a Log object from the data\r\n ActionLog log = new ActionLog(id, timestamp, logEventId, ruleName, appName, eventName,\r\n eventParams, text);\r\n return log;\r\n }", "title": "" }, { "docid": "d527daaeaf17d1cde8a7c59ce08d862e", "score": "0.5241033", "text": "public String getDatabaseChangeLogTableName() {\n return getContainer().getValue(DATABASECHANGELOG_TABLE_NAME, String.class);\n }", "title": "" }, { "docid": "554caed00ab0a1b16c9d79a78d862243", "score": "0.52329814", "text": "@Override\n\tpublic String name() {\n\t\treturn \"rlog\";\n\t}", "title": "" }, { "docid": "b831c56d6df0d7826763a60fde05cb10", "score": "0.52129644", "text": "Log selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "a978447ce3c2456e1c5531f5e9ed63f8", "score": "0.5200666", "text": "public void displayLogOnTiller(){ \n onMdl.setNumRows(0);//table clear \n ArrayList<LogOnOff> dsList = looDao.selectLogOnEmp(); \n for(int i = 0 ; i < dsList.size() ; i++){\n LogOnOff ds = dsList.get(i);\n onMdl.addRow(ds);\n }\n }", "title": "" }, { "docid": "3dc81eec53f82a43da86d7d93e4fe8e0", "score": "0.5189089", "text": "List<IrpDocumentLogs> selectByExample(IrpDocumentLogsExample example)\r\n\t\t\tthrows SQLException;", "title": "" }, { "docid": "9cfd75e20d695dad575dd245313cc53c", "score": "0.51758957", "text": "public interface ISystemLogService {\n void deleteByPrimaryKey(Long id);\n\n void insert(SystemLog record);\n\n public void updateByPrimaryKey(SystemLog record);\n\n SystemLog selectByPrimaryKey(Long id);\n\n List<SystemLog> selectAll();\n\n\n //分页的条件\n PageResult query(QueryObject qo);\n}", "title": "" }, { "docid": "87b891caf51494e1e3b1f6eef1e1dadb", "score": "0.51696086", "text": "@Override\n\t@Transactional\n\tpublic List<Object[]> getListadoLog(String op) throws PersistenceException{\n\t\tString select=\"select lg,dob from LogBean lg, DescOperationBean dob where lg.descOperation=dob order by lg.fecha desc\";\n\t\tif(StringUtils.isNotBlank(op)){\n\t\t\t//select=\"select lg from LogBean lg where lg.operacion = :opeparam order by lg.fecha desc\";\n\t\t\tselect=\"select lg,dob from LogBean lg, DescOperationBean dob where lg.descOperation=dob and lg.operacion = :opeparam order by lg.fecha desc\";\n\t\t}\n\t\tQuery query = em.createQuery(select);\n\t\tif(StringUtils.isNotBlank(op)){\n\t\t\tquery.setParameter(\"opeparam\", Integer.valueOf(op));\n\t\t}\n\t\treturn query.getResultList();\n\t}", "title": "" }, { "docid": "d5250f41f81cfc1804fd20b17fff1e4b", "score": "0.51650894", "text": "@Override\n public String toLog(){\n\n\n return \"Used \" + consumable.getName();\n }", "title": "" }, { "docid": "5420308faecd6fb94f8eeee47ab98fd6", "score": "0.5160962", "text": "public Long getLogid() {\n return logid;\n }", "title": "" }, { "docid": "b807d7e917f991fc45a0576266449a7e", "score": "0.5156255", "text": "@ConfigurationProperty(order = 11, helpMessageKey = \"CHANGE_LOG_COLUMN_HELP\", \n displayMessageKey = \"CHANGE_LOG_COLUMN_DISPLAY\", operations = SyncOp.class)\n public String getChangeLogColumn() {\n return this.changeLogColumn;\n }", "title": "" }, { "docid": "6f3ed0ec47495b0ee361aec00c064fc1", "score": "0.5143775", "text": "protected void writeLogChannelInformation() throws KettleException {\n Database db = null;\n ChannelLogTable channelLogTable = jobMeta.getChannelLogTable();\n\n // PDI-7070: If parent job has the same channel logging info, don't duplicate log entries\n Job j = getParentJob();\n\n if (j != null) {\n if (channelLogTable.equals(j.getJobMeta().getChannelLogTable())) {\n return;\n }\n }\n // end PDI-7070\n\n try {\n db = new Database(this, channelLogTable.getDatabaseMeta());\n db.shareVariablesWith(this);\n db.connect();\n db.setCommit(logCommitSize);\n\n List<LoggingHierarchy> loggingHierarchyList = getLoggingHierarchy();\n for (LoggingHierarchy loggingHierarchy : loggingHierarchyList) {\n db.writeLogRecord(channelLogTable, LogStatus.START, loggingHierarchy, null);\n }\n\n // Also time-out the log records in here...\n //\n db.cleanupLogRecords(channelLogTable);\n\n } catch (Exception e) {\n throw new KettleException(BaseMessages.getString(PKG,\n \"Trans.Exception.UnableToWriteLogChannelInformationToLogTable\"), e);\n } finally {\n if (!db.isAutoCommit()) {\n db.commit(true);\n }\n db.disconnect();\n }\n }", "title": "" }, { "docid": "e4ad7351ca35d0029dd495b99657390e", "score": "0.51414555", "text": "com.wolf.javabean.SystemNet.LineLog getLineLog();", "title": "" }, { "docid": "41fc5e0602cafa24b6eb78645cbbfc61", "score": "0.5141131", "text": "void insertSelective(IrpDocumentLogs record) throws SQLException;", "title": "" }, { "docid": "d8cbe7ca85ef21ef0294c673165d83c7", "score": "0.5138915", "text": "OpLog selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "3c26544d73190bd0d63c10125bab057d", "score": "0.51268184", "text": "public void setLogDate(String logDate) {\n this.logDate = logDate;\n }", "title": "" }, { "docid": "c9229100953395f9d09c13b801be18e0", "score": "0.511833", "text": "public List<String> listeLog() {\n\t\tList<String> liste = new ArrayList<String>();\n\t\tfor (LogBDD log : loginRepository.findAll()) {\n\t\t\tliste.add(log.getLogin());\n\t\t}\n\t\treturn liste;\n\t}", "title": "" }, { "docid": "35578fa4ac5c417e0ee280c66d4770af", "score": "0.5111746", "text": "@Override\r\n public Integer update(SysLog param) {\n return null;\r\n }", "title": "" }, { "docid": "b168cff741e96de7c0e443eb1037adc7", "score": "0.51071894", "text": "public String getLOG_TYPE() {\n return LOG_TYPE;\n }", "title": "" }, { "docid": "861d046c1e844ed32a80e526fd9f0fda", "score": "0.5101188", "text": "public java.lang.String getSystemlogaction () {\n\t\treturn systemlogaction;\n\t}", "title": "" }, { "docid": "dbbeeaff5836fa04212f668d0ce111ed", "score": "0.5078763", "text": "public String getLog(){\n\t\treturn log;\n\t}", "title": "" }, { "docid": "6fd60d1851210542a8c9c4a2b666fd36", "score": "0.50761217", "text": "@Override\n\tpublic void execute(String sql) throws SQLException {\n\t\tLevel thresholdLevel = Level.toLevel(this.getThreshold().toString());\n\t\tLevel loggingEventLevel = Level.toLevel(sql.split(Pattern.quote(\"#$#$#$#\"))[1].trim());\n\t\t// suppress the logs for lesser levels and not logging debug level logs\n\t\t// to DB\n\t\tif (loggingEventLevel.isGreaterOrEqual(Level.INFO) && loggingEventLevel.isGreaterOrEqual(thresholdLevel)) {\n\t\t\t// verify the process state is not null (there by confirm log\n\t\t\t// message is from enterprise logger)\n\t\t\tif (sql.split(Pattern.quote(\"#$#$#$#\"))[13] != null\n\t\t\t\t\t&& sql.split(Pattern.quote(\"#$#$#$#\"))[13].trim().length() > 0) {\n\t\t\t\tPreparedStatement stmt = getPreparedStatement();\n\t\t\t\tString tokens[] = sql.split(\"\\\\#\\\\$\\\\#\\\\$\\\\#\\\\$\\\\#\");\n\n\t\t\t\tfor (int i = 1; i <= tokens.length; i++) {\n\t\t\t\t\tstmt.setString(i, tokens[i - 1]);\n\t\t\t\t}\n\t\t\t\tstmt.executeUpdate();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e7ade50a57f96c582f98b1837bc6b32c", "score": "0.5074821", "text": "@Override\n\tpublic SysOperLog selectOperLogById(Long operId) {\n\t\treturn operLogMapper.selectOperLogById(operId);\n\t}", "title": "" }, { "docid": "b4fe2ec946d9976343cd95207f5efc30", "score": "0.5071225", "text": "int insert(SysOperLog record);", "title": "" }, { "docid": "a7a222a5228d063865d27f3b9fd67681", "score": "0.5050354", "text": "@Override\n public String getQuerySql() {\n //\"NAME,ALIAS,STATUS,CREATE_TIME,UPDATE_TIME,UPDATE_USER\"\n return \"SELECT A.NAME,A.MENU_ID,A.CODE,A.ACTION,A.REMARK,A.CREATE_TIME,A.UPDATE_TIME,A.UPDATE_USER,B.NAME AS MENU_NAME FROM T_RESOURCE A LEFT JOIN T_MENU B ON A.MENU_ID=B.ID\";\n }", "title": "" }, { "docid": "cbdf8c6dcaf082dc97be492d736d3716", "score": "0.50438803", "text": "private void log(ModelMap modelMap)\r\n\t{\n\t}", "title": "" }, { "docid": "1d1faf3a7d7024c7aa57945d66c24cdd", "score": "0.5039258", "text": "List<TPTransactionLog> findAll();", "title": "" }, { "docid": "22ce5e097de351a6b6551ff632a48f28", "score": "0.50339526", "text": "@Dao\npublic interface TransactionlogDao {\n\n @Insert\n void insertAll(List<Transactionlog> data);\n\n @Query(\"SELECT * FROM \"+ Transactionlog.TABLE_NAME+\" order by \"+Transactionlog.COLUMN_UPDATEDAT+\" desc\")\n List<Transactionlog> getAll();\n\n @Query(\"DELETE FROM \"+ Transactionlog.TABLE_NAME)\n void deleteAll();\n}", "title": "" }, { "docid": "26c1ff3e0a3c183856bbbc3d020d9a9f", "score": "0.5033827", "text": "public abstract String getSQL();", "title": "" }, { "docid": "e9dd36919a28dbc57b9dce4127a8ef82", "score": "0.5033021", "text": "@Test\n public void testGetQueryLogOnDisabledLog() throws Exception {\n Statement setStmt = con.createStatement();\n setStmt.execute(\"set hive.server2.logging.operation.enabled = false\");\n String sql = \"select count(*) from \" + (cbo_rp_TestJdbcDriver2.tableName);\n HiveStatement stmt = ((HiveStatement) (con.createStatement()));\n Assert.assertNotNull(\"Statement is null\", stmt);\n stmt.executeQuery(sql);\n List<String> logs = stmt.getQueryLog(false, 10);\n stmt.close();\n Assert.assertTrue(((logs.size()) == 0));\n setStmt.execute(\"set hive.server2.logging.operation.enabled = true\");\n setStmt.close();\n }", "title": "" }, { "docid": "d2cd26486ef5736241e880fa0147ed09", "score": "0.50232303", "text": "public String toString(){\n String res = \"LogEvent\";\n return res;\n }", "title": "" }, { "docid": "2fd01c294be70d40c427246350babe1d", "score": "0.5014976", "text": "public abstract String getSql();", "title": "" }, { "docid": "fa4718cc722aad30b54f3e3abbf897b9", "score": "0.50125617", "text": "UserLevelChangeLog selectByPrimaryKey(Long id);", "title": "" }, { "docid": "56f514f9c837988b229680881e8e7dd1", "score": "0.50050753", "text": "public void setLogTime(String logTime) {\n this.logTime = logTime;\n }", "title": "" }, { "docid": "b50b5ba03202865b2131bfec4e084e71", "score": "0.5002352", "text": "@Transactional(readOnly = true)\n public List<AppLog> findAll() {\n log.debug(\"Request to get all AppLogs\");\n return appLogRepository.findAll();\n }", "title": "" }, { "docid": "5a43ac1d2c4b4ad9ff73d0a67aaa49e2", "score": "0.49996826", "text": "public void toLog(){\n\t\tsendMessage(new Message(\"toLog\"));\n\t}", "title": "" }, { "docid": "aacc225019793818c0c077a6ad11096a", "score": "0.49937183", "text": "@Override\n\t\t\tpublic String getCreateSQL() {\n\t\t\t\treturn null;\n\t\t\t}", "title": "" }, { "docid": "c153d64199958cc134e522efa91c9b5f", "score": "0.49911264", "text": "public void printLog() ;", "title": "" }, { "docid": "dda57ea68ad4de73b4901fb3586ecbda", "score": "0.49843836", "text": "public interface LogService {\n // 分页 获取 用户操作日志\n List<Operation> findOPerationList(String startDate, String endDate, Boolean showDay);\n\n // 分页 获取 权限操作日志\n List<Permissions> findPermissionsBydate(String startDate, String endDate, Boolean showWeekData);\n\n// 添加普通用户操作日志\n void addOperationlLog(Operation operation);\n // 添加 权限用户操作权限\n void addPermissionslLog(Permissions permission);\n}", "title": "" }, { "docid": "3b7fb19c5284c884aecb87ae63f48343", "score": "0.49830127", "text": "public long insert_log(log_class l,SQLiteDatabase db){\n\n android.content.ContentValues logValues = new android.content.ContentValues();\n\n logValues.put(log_class.logAttr.cont_NAME, l.getcont_Name());\n logValues.put(log_class.logAttr.OPERATION, l.getOperation());\n\n\n //finding current timestamp\n //Long tsLong = System.currentTimeMillis()/1000;\n //String ts = tsLong.toString();\n String date = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\").format(new Date());\n String timestamp=date;\n\n logValues.put(log_class.logAttr.TIMESTAMP,timestamp);\n\n //insertion\n return db.insert(LOG_TABLE_NAME, null, logValues);\n\n }", "title": "" }, { "docid": "798eb9a4d3f26fa182217d724db54898", "score": "0.49807352", "text": "interface Log {\n\t// max # of elements in the log\n\tint getRecordLimit();\n\n\t// number of elements already in the log\n\tint getRecordCount();\n\n\t// expected to increment record count\n\tvoid logInfo(String message);\n}", "title": "" }, { "docid": "44adcdf2e3881bc13afd7f925aa83716", "score": "0.4978912", "text": "@Override\n public void execute() {\n Dataset<Row> logging = connectors.getSparkSession().read().option(\"header\", true).csv(\"src\\\\main\\\\resources\\\\inputs\\\\biglog.txt\");\n logging.createOrReplaceTempView(\"logging\");\n\n //Using SortAggregation\n Dataset<Row> orderedLog2 = connectors.getSparkSession().sql(\"select level, date_format(datetime,'MMM') as month, count(1) as total from logging group by level,month order by cast(first(date_format(datetime,'M')) as int), level\");\n orderedLog2.explain(); // This is will give you computation information\n orderedLog2.show(10);\n\n //Performance improved. HashAggregation\n\n Dataset<Row> orderedLog3 = connectors.getSparkSession().sql(\"select level, date_format(datetime,'MMM') as month,first(cast(date_format(datetime,'M') as int )) as monthNum , count(1) as total from logging group by level,month order by monthNum, level\");\n orderedLog3.explain();\n orderedLog3.show(10);\n\n Dataset<Row> orderedLog = connectors.getSparkSession().sql(\"select level, date_format(datetime,'MMM') as month,date_format(datetime,'M') as monthNum , count(1) as total from logging group by level, month, monthNum order by monthNum\");\n\n orderedLog.show(10);\n orderedLog.explain();\n }", "title": "" }, { "docid": "c8eadd06c3b1daa0baa23371be017249", "score": "0.4975315", "text": "public String Salvar(LogSistema log){\n\t\ttry {\n\t\t\tthis.session = HibernateUtil.getSessionFactory().openSession();\n\t\t\tthis.transaction = this.session.beginTransaction();\n\t\t\tthis.session.save(log);\n\t\t\tthis.transaction.commit();\n\t\t\tthis.session.close();\n\t\t} catch (HibernateException e) {\n\t\t\tSystem.out.println(\"Erro ao salvar log : \" + e.getMessage());\n\t\t}\n\t\treturn \"\";\n\t\t\n\t}", "title": "" }, { "docid": "242ef6c780bce9d18399743ca156d2c4", "score": "0.49740577", "text": "StringBuilder getLogs();", "title": "" }, { "docid": "610e10b224e6a936549350c1610a4b19", "score": "0.49718872", "text": "public int saveLogToDb(Transaction tx) {\n Connection conn = DataSourceUtils.getConnection(ds);\n PreparedStatement ps = null;\n\n int result = 0;\n\n String sql = \"INSERT INTO logTable(lsn, txid, time_stamp, log_type, payload_type, payload, payload_binary) \" +\n \"VALUES (?,?,?,?,?,?,?)\";\n\n try {\n int count = 0;\n conn.setAutoCommit(false); // turn off autocommit\n\n ps = conn.prepareStatement(sql, ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);\n\n while (tx != null) {\n\n // for test, create an error\n /*count++;\n if (count == 2) {\n int temp = 1/0;\n }*/\n\n String payload_type = tx.getPayload_type();\n\n ps.setInt(1, tx.getLsn());\n ps.setInt(2, tx.getTxid());\n ps.setInt(3, tx.getTime_stamp());\n ps.setString(4, tx.getLog_type());\n ps.setString(5, payload_type);\n\n if (payload_type.equals(\"Binary\")) {\n\n byte[] payload_bytes = tx.getPayload().getBytes();\n ByteArrayInputStream byteIS = new ByteArrayInputStream(payload_bytes);\n\n ps.setString(6, null);\n ps.setBinaryStream(7, byteIS, payload_bytes.length);\n\n }else if (payload_type.equals(\"XML\")){\n ps.setString(6, tx.getPayload());\n ps.setBinaryStream(7, null);\n\n }else if (payload_type.equals(\"JSON\")){\n // TODO: JSON\n ps.setString(6, tx.getPayload());\n ps.setBinaryStream(7, null);\n\n }else if (payload_type.equals(\"Plaintxt\")){\n ps.setString(6, tx.getPayload());\n ps.setBinaryStream(7, null);\n\n }\n ps.addBatch();\n tx = tx.getPrev();\n }\n\n ps.executeBatch();\n conn.commit();\n\n } catch (Exception e) {\n e.printStackTrace();\n\n if (conn != null) {\n try {\n conn.rollback();\n System.out.println(\"Transaction rollback!!!\");\n } catch (SQLException e1) {\n e1.printStackTrace();\n System.out.println(\"System error!!!\");\n return -1;\n } finally {\n DataSourceUtils.releaseConnection(conn, ds);\n }\n }\n return -1;\n\n } finally {\n if (conn != null) {\n DataSourceUtils.releaseConnection(conn, ds);\n }\n }\n return result;\n }", "title": "" }, { "docid": "23aba77ca2bf85d6844d7b9b04cefd57", "score": "0.4965145", "text": "public List<Log> findByPkExcel(String param) throws Exception {\n\t\tString command = CommandUtil.getBasicCommand(\"log\", \"search\", param);\n\t\tList<JSONObject> objectArray = odenCommonDao.jsonObjectArrays(command);\n\n\t\tList<Log> list = new ArrayList<Log>();\n\n\t\tfor (JSONObject object : objectArray) {\n\t\t\tJSONArray data = (JSONArray) object.get(\"data\");\n\t\t\tif (!(data.length() == 0)) {\n\t\t\t\tfor (int j = 0; j < data.length(); j++) {\n\t\t\t\t\tJSONObject dataObj = (JSONObject) data.get(j);\n\t\t\t\t\tLog log = JsonConverter.jsonToLog(dataObj);\n\t\t\t\t\tlist.add(log);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}", "title": "" }, { "docid": "626b490ba2474e680ec513220d0cb11f", "score": "0.49640724", "text": "@MyBatisDao\npublic interface LoginLogDao extends CrudDao<LoginLog> {\n}", "title": "" }, { "docid": "67b10b0fe4c87418c53ae2f82b511b7a", "score": "0.49630496", "text": "@Override\n\tpublic List<LogisticsInformationVo> getlistlogiETS() {\n\t\tString sqlString=\"select * from es_logisticsinformation WHERE trackingNumber LIKE '%TS%' ORDER BY logistics_id DESC\";\n\t\treturn this.daoSupport.queryForList(sqlString,LogisticsInformationVo.class);\n\t}", "title": "" }, { "docid": "c510f8f93c6cf19f76bba3595e5d7a5f", "score": "0.49621132", "text": "public void setLogId(Long logId) {\n this.logId = logId;\n }", "title": "" }, { "docid": "2fbc457a61fd96e76d6724689ca813ef", "score": "0.49607083", "text": "public void log() {\n\t}", "title": "" }, { "docid": "5e27f7fdd3fc0c1ffb85bde1ce9ce96a", "score": "0.49579066", "text": "@Override\n\t//@AdminOnly\n\tpublic void log() {\n\t\tSystem.out.println(\"log from logService\");\n\t}", "title": "" }, { "docid": "73dc33810f8cab4a2b4939d8ef139cc8", "score": "0.49577948", "text": "TOperationLogW selectByPrimaryKey(String id);", "title": "" }, { "docid": "d7e510e74ac118168ea876fb53962e30", "score": "0.49555787", "text": "public abstract void addLogRecord(AuditLogRecord logRecord);", "title": "" } ]
c2731df02f5759eda1e83da03b48582f
Getter of the property state
[ { "docid": "4d1026c2273444bb61e5cf1dc62bca07", "score": "0.0", "text": "public ItemState getState() {\r\n\t\treturn state;\r\n\t}", "title": "" } ]
[ { "docid": "a80e3c7b5a61767e21aebecc2ef74f18", "score": "0.7781744", "text": "private ObjectProperty<State> getStateObjectPropertyReadable() {\n\t\treturn (ObjectProperty<State>) stateProperty();\n\t}", "title": "" }, { "docid": "d3c536b37ee88eb17cb3bfef956509e6", "score": "0.7569066", "text": "public String state() {\n return this.innerProperties() == null ? null : this.innerProperties().state();\n }", "title": "" }, { "docid": "ea7447c0b1081a4da8a22d0a945b1815", "score": "0.7316876", "text": "public State getState(){\n return this.state;\n }", "title": "" }, { "docid": "5c8f6eb75bd98e3efa9e8a60aa0b1571", "score": "0.72482675", "text": "public State getState(){ return state; }", "title": "" }, { "docid": "c6b551ade98ddd708c24884f18991265", "score": "0.7116449", "text": "private int get_State()\n {\n return __m__State;\n }", "title": "" }, { "docid": "134e662c914851723931f38b09e79af8", "score": "0.71106684", "text": "public String getPropertyTransportState();", "title": "" }, { "docid": "bcfa8cb90b1ca8c9d9c3ab6eec278bef", "score": "0.6983831", "text": "public STATE getState() {\n return myState;\n }", "title": "" }, { "docid": "1bd3def62589faa1c036d10ef9be69b1", "score": "0.69439834", "text": "@Override\n public long getState() {\n return state;\n }", "title": "" }, { "docid": "15c3e716a0a4966c779326b5fbdeabe8", "score": "0.6932331", "text": "public String state() {\n return this.state;\n }", "title": "" }, { "docid": "15c3e716a0a4966c779326b5fbdeabe8", "score": "0.6932331", "text": "public String state() {\n return this.state;\n }", "title": "" }, { "docid": "15c3e716a0a4966c779326b5fbdeabe8", "score": "0.6932331", "text": "public String state() {\n return this.state;\n }", "title": "" }, { "docid": "affcbfd2f7d7d7aec5afa062686a26fd", "score": "0.69087607", "text": "public T getValue() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "45a5603dfde9c039d34004c014fa8a7b", "score": "0.690219", "text": "public State getState() {\n return state;\n }", "title": "" }, { "docid": "45a5603dfde9c039d34004c014fa8a7b", "score": "0.690219", "text": "public State getState() {\n return state;\n }", "title": "" }, { "docid": "e1bdc9970def10f84901e5b936b81f6c", "score": "0.6895088", "text": "public int getState() { return state; }", "title": "" }, { "docid": "8008c95d37f23a9e38a41d6ea558d4d7", "score": "0.6884983", "text": "State getState();", "title": "" }, { "docid": "8008c95d37f23a9e38a41d6ea558d4d7", "score": "0.6884983", "text": "State getState();", "title": "" }, { "docid": "9caf6f2f1d0ca4ac6a40cbeefe4c6ae8", "score": "0.6881713", "text": "public String getPropertyStatus()\n {\n return iPropertyStatus.getValue();\n }", "title": "" }, { "docid": "2f3eb55cba0e8dfe0beab8da050c8581", "score": "0.685581", "text": "public Etat getState () {\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "8c25293e7c0472105f428261f115850b", "score": "0.6852361", "text": "public int getState(){\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "d41704b0d43f9730a6fb6039211d3a3d", "score": "0.6849676", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "d41704b0d43f9730a6fb6039211d3a3d", "score": "0.6849676", "text": "public Integer getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "7c37e93a32c77d03b25e871f1eaec50c", "score": "0.6849529", "text": "public Long getState() {\n return state;\n }", "title": "" }, { "docid": "f33093c8ce5e1b1d8cac6135dab96f1a", "score": "0.6848765", "text": "public State getState() {\n return getState(this.points);\n }", "title": "" }, { "docid": "5db324bfb5d767590e37672ce1857fe6", "score": "0.6848439", "text": "public State getState();", "title": "" }, { "docid": "5db324bfb5d767590e37672ce1857fe6", "score": "0.6848439", "text": "public State getState();", "title": "" }, { "docid": "5df8c402e826c51e7915c642221d32ef", "score": "0.6847919", "text": "public State getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "5df8c402e826c51e7915c642221d32ef", "score": "0.6847919", "text": "public State getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3cd463ab4cb2847ebcd81aff6ce113d0", "score": "0.68347394", "text": "public String getState() {\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "fb28ff1b9568e6ed295ae09093c3bfe6", "score": "0.68326086", "text": "public State getState() {\n\t\t\treturn state;\n\t\t}", "title": "" }, { "docid": "3a30caec31e0aefa160c4dcc04931d3d", "score": "0.6831426", "text": "State GetState();", "title": "" }, { "docid": "4577de0a8379aba918b8ea8e55f2055d", "score": "0.68314034", "text": "@NotNull\n public State getState() {\n return state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.68210024", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.68210024", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.68210024", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.68210024", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.68210024", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "afff81181b7a401d558d9e819b161b09", "score": "0.6808988", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public typekey.ClaimState getState() {\n return (typekey.ClaimState)__getInternalInterface().getFieldValue(STATE_PROP.get());\n }", "title": "" }, { "docid": "ed6e3f2612bdbfd256a3b70b308d912b", "score": "0.6805976", "text": "public String getState()\n/* */ {\n/* 147 */ return this.state;\n/* */ }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.6785686", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.6785686", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.6785686", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.6785686", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.6785686", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.6785686", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.6785686", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "bdb0e235a8480ee894adc461073c145a", "score": "0.67854935", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public typekey.ClaimState getState() {\n return (typekey.ClaimState)__getInternalInterface().getFieldValue(STATE_PROP.get());\n }", "title": "" }, { "docid": "16ea709e7ae95bc9efaafcc5c2bee295", "score": "0.67650926", "text": "public String getState()\n {\n return state;\n }", "title": "" }, { "docid": "99572aa22b6a766cf939e48ed4555774", "score": "0.6762808", "text": "int getStateValue();", "title": "" }, { "docid": "5ca0347aa2e30021b9c2ff580b29f1cf", "score": "0.6754549", "text": "@java.lang.Override\n public int getState() {\n return state_;\n }", "title": "" }, { "docid": "df70ca0a7745242228c950ab4c48092b", "score": "0.67498475", "text": "public String getPropertyTransportState()\n {\n return iPropertyTransportState.getValue();\n }", "title": "" }, { "docid": "d6b370d5f04d5d3f5b5aa82b86843f0e", "score": "0.6743458", "text": "public Integer getState() {\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "443d866904b4057a772c90996b8e0c54", "score": "0.6715949", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "443d866904b4057a772c90996b8e0c54", "score": "0.6715949", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "443d866904b4057a772c90996b8e0c54", "score": "0.6715949", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "443d866904b4057a772c90996b8e0c54", "score": "0.6715949", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "912f82f71e8257a9ece091310a842c06", "score": "0.67108244", "text": "public int getState(){\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "5bcf78a7733fc0591a14353a4e644f98", "score": "0.67069787", "text": "@Override\n protected State getState() {\n return state;\n }", "title": "" }, { "docid": "5bcf78a7733fc0591a14353a4e644f98", "score": "0.67069787", "text": "@Override\n protected State getState() {\n return state;\n }", "title": "" }, { "docid": "eafabaadc682b78359f94861897bd4db", "score": "0.6704357", "text": "@java.lang.Override\n public int getState() {\n return state_;\n }", "title": "" }, { "docid": "a7899b3d574d764651d153c9a4934354", "score": "0.6695817", "text": "public NDRConstants.ObjectState getState() {\n\t\tString st = getProperty(\"fedora-model:state\");\n\t\treturn NDRConstants.ObjectState.getState(st);\n\t}", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.6687621", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "dcc169472d404f79fa10939b675dfe55", "score": "0.6677135", "text": "public int getState();", "title": "" }, { "docid": "faf188c4265ac4ae24ba83707d050dea", "score": "0.6664152", "text": "public String getState()\r\n\t{\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.6662946", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "a788927c68cffc4bdfaf55f7fa34cc38", "score": "0.6662946", "text": "public int getState() {\n return state;\n }", "title": "" }, { "docid": "d579ea4eb6c9044508b12d57b8a6fcd8", "score": "0.666193", "text": "public States getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "2ff04a35cc64c3a821ee65f9e14deac0", "score": "0.6656122", "text": "public int getCustomizedState() {\r\n return mState;\r\n }", "title": "" }, { "docid": "57949c978b6b497d53f3179c703d5fe3", "score": "0.6654676", "text": "public String getState() {\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.66533387", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.66533387", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "ba82387586eb937d2b1b0014a7e9ea89", "score": "0.66501147", "text": "public int getState() {\n\t\treturn this.state;\n\t}", "title": "" }, { "docid": "e193737923027e3b07c3ab3ae42e250f", "score": "0.6648137", "text": "public boolean get() {\n boolean result;\n stateLock.readLock().lock();\n result = state.get();\n stateLock.readLock().unlock();\n return result;\n }", "title": "" }, { "docid": "379586b77680bfe9739fcaf80e47ee4c", "score": "0.66450906", "text": "public String getState()\n\t{\n\t\treturn state;\n\t}", "title": "" }, { "docid": "9f5c10e768a117218ccc8799575ee871", "score": "0.66334265", "text": "int getState();", "title": "" }, { "docid": "23c375f961fe6c43cead9de16f5cacee", "score": "0.6629815", "text": "public String getStateValue() {\n return this.stateValue;\n }", "title": "" }, { "docid": "e9caa4c6b86bd19f736ce29667c883ba", "score": "0.66294014", "text": "@Override\r\n public int getState()\r\n {\r\n return state;\r\n }", "title": "" }, { "docid": "63a7668e02616dec5530ce4212bd634a", "score": "0.662204", "text": "public String GetState();", "title": "" }, { "docid": "a0149fc580dad6ac7aac89ec6bed2c5f", "score": "0.6617677", "text": "public static String getState() {\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "668cfdb622df156499145231df485796", "score": "0.66112757", "text": "int getCurrentStateValue();", "title": "" }, { "docid": "c3d16fa75104271c7444c9a6702993b1", "score": "0.659395", "text": "public String getState();", "title": "" }, { "docid": "c3d16fa75104271c7444c9a6702993b1", "score": "0.659395", "text": "public String getState();", "title": "" }, { "docid": "65b814dd261856a3f986e4c33455d436", "score": "0.6592183", "text": "public String getPropertyStatus();", "title": "" }, { "docid": "293bcf32f245ba71b7ee9284e8a68099", "score": "0.6591162", "text": "public synchronized int getState(){\n\t\treturn mState;\n\t}", "title": "" }, { "docid": "06f7ff6f4090461cba07655a2b57fc42", "score": "0.6584364", "text": "@Accessor(qualifier = \"state\", type = Accessor.Type.GETTER)\n\tpublic MobileActionAssignmentStateType getState()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(STATE);\n\t}", "title": "" }, { "docid": "472942c59d8fac3a8c06b53dcbd73ce2", "score": "0.6584312", "text": "LifecycleState getState();", "title": "" }, { "docid": "0aa386c25a11c3ad57d78e0c7fea32ca", "score": "0.6568691", "text": "public final native <T> T getState() /*-{\n\t\tvar jso = this.@com.emitrom.ti4j.core.client.ProxyObject::getJsObj()();\n\t\treturn jso.state;\n }-*/;", "title": "" }, { "docid": "b173ccecdd1c6df15250483b10a056c1", "score": "0.656087", "text": "public java.lang.String getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "a9510c565c1e0e4c7f93012fa547b6c5", "score": "0.656063", "text": "public java.lang.String getState () {\n\t\treturn state;\n\t}", "title": "" } ]
fc8355430a1bbf258ba6bdea9d094b7b
Gets an Iterator of every Unit directly located on this Tile. This does not include Units located in a Settlement or on another Unit on this Tile.
[ { "docid": "26b987f296e70d531db326d2db78fc9e", "score": "0.8055226", "text": "public Iterator<Unit> getUnitIterator() {\n return units.iterator();\n }", "title": "" } ]
[ { "docid": "0ca748501eb24af3d7847de94baa5c77", "score": "0.64622754", "text": "public List<UnitBox> getAllUnitBoxes() {\n ArrayList<UnitBox> unitBoxList = new ArrayList<UnitBox>();\n {\n Iterator<Unit> it = unitChain.iterator();\n while (it.hasNext()) {\n Unit item = it.next();\n unitBoxList.addAll(item.getUnitBoxes());\n }\n }\n\n {\n Iterator<Trap> it = trapChain.iterator();\n while (it.hasNext()) {\n Trap item = it.next();\n unitBoxList.addAll(item.getUnitBoxes());\n }\n }\n\n {\n Iterator<Tag> it = getTags().iterator();\n while (it.hasNext()) {\n Tag t = it.next();\n if (t instanceof CodeAttribute) {\n unitBoxList.addAll(((CodeAttribute) t).getUnitBoxes());\n }\n }\n }\n\n return unitBoxList;\n }", "title": "" }, { "docid": "456da5b1d78516a8775c13d01702f4b1", "score": "0.6337222", "text": "Set<IOrganizationalUnit> obtainAllOrgUnits();", "title": "" }, { "docid": "95d32ee9e6cda92033862156afc2c1d9", "score": "0.6173639", "text": "List<IOrganizationalUnit> obtainAllOrgUnits();", "title": "" }, { "docid": "75186404eb23f3e2c38ee33b51d4c1af", "score": "0.61280495", "text": "public List<Unit> getUnitList() {\n return units;\n }", "title": "" }, { "docid": "66cd9c25bb86eea509c35dbc9002202e", "score": "0.6029148", "text": "List<IOrganizationalUnit> obtainAllOrgUnitsInclMembers();", "title": "" }, { "docid": "582328e68d67bffbceb2ceda1abb8206", "score": "0.5968981", "text": "public List<Unit> getUnitTypes() {\n\t\t// default is to return null\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ad45590dbae9a28b6faddd926d6c84eb", "score": "0.59375906", "text": "public Units getUnits(){\n\t\treturn unit;\n\t}", "title": "" }, { "docid": "e6f7a751d79e76700ed9ef6eaf86aa86", "score": "0.58148557", "text": "@NotNull\n List<UnitTo> listAllMeasurementUnits();", "title": "" }, { "docid": "4b6e564a28e16e3c73926ad0b6467818", "score": "0.58146214", "text": "public UnitPatchingChain getUnits() {\n return unitChain;\n }", "title": "" }, { "docid": "aa2aefffb97de8c492c1e26abaebf41f", "score": "0.57807064", "text": "public void disposeAllUnits() {\n // Copy the list first, as the Unit will try to remove itself\n // from its location.\n for (Unit unit : new ArrayList<Unit>(units)) {\n unit.dispose();\n }\n }", "title": "" }, { "docid": "e31e6acaf0757055d3e0a2058ea4bc42", "score": "0.5725519", "text": "public List<Unit> getUnits(final UnitFilter pred) {\n return game.getUnitsInRectangle(getBoundsLeft(), getBoundsTop(), getBoundsRight(), getBoundsBottom(),\n u -> equals(u.getRegion()) && pred.test(u));\n }", "title": "" }, { "docid": "76e9983d10e4f414e13a33fbfe9d89cb", "score": "0.57049894", "text": "public List<Unit> getUnitWithNoChildren( )\n {\n return UnitHome.getUnitWithNoChildren( );\n }", "title": "" }, { "docid": "198f6a792d4a5136479e13502a805d86", "score": "0.56443626", "text": "public Iterator<UTObject> iterator() {\n\t\treturn components.values().iterator();\n\t}", "title": "" }, { "docid": "fc618a11e8d63fb6ae6a85ef8f5d8926", "score": "0.55933833", "text": "Set<IOrganizationalUnit> obtainRootOrgUnits();", "title": "" }, { "docid": "17be4a64a4bac800ac2272caa202ec32", "score": "0.55113524", "text": "List<IOrganizationalUnit> obtainRootOrgUnits();", "title": "" }, { "docid": "53db7f94989d3c46b52b0dfc9cdc27f6", "score": "0.5507397", "text": "public Iterator iterateUses() {\n return this.m_usesList.iterator();\n }", "title": "" }, { "docid": "64cee0810a7c53eaa1d9738ba518ccbe", "score": "0.54979336", "text": "Collection<DataType> getByUnit(String unit);", "title": "" }, { "docid": "4fef0b84d53f9e02e50253e71dfe4fa6", "score": "0.54636866", "text": "UnitTree getUnits(String resourceName);", "title": "" }, { "docid": "f7eb1920e5aa0707ee336abbf141822f", "score": "0.54601675", "text": "List<OrganisationUnit> getOrganisationUnitsWithoutGroups();", "title": "" }, { "docid": "670ffd4d939ad77b0e3fdfe447e5bea1", "score": "0.5437114", "text": "@Override\n\tpublic Iterator<Actor> iterator()\n\t{\n\t\treturn items.iterator();\n\t}", "title": "" }, { "docid": "9f883484c65d1114af9902d1f052d129", "score": "0.5431929", "text": "public Unit getUnit() {\n\t\treturn unit;\n\t}", "title": "" }, { "docid": "e92df60611e42f9d0b0cd958106ea285", "score": "0.54239047", "text": "public Unit getUnit() {\n return unit;\n }", "title": "" }, { "docid": "709106e43c9f8250c8ff1f37abfd48c6", "score": "0.5401451", "text": "List<OrganisationUnit> getOrganisationUnitsWithChildren(Collection<String> uids);", "title": "" }, { "docid": "6fe6f3fa1ab819f4c1700c99fb3d6d79", "score": "0.53996396", "text": "List<OrganisationUnit> getOrganisationUnitsByUid(Collection<String> uids);", "title": "" }, { "docid": "bc4458f743aa04d4ca3c3f4ea6397377", "score": "0.53745335", "text": "public ArrayList<String> getUnits() {\n ArrayList<String> ids = new ArrayList<>();\n for (UnitCardController unitCardController : unitCardControllers) {\n if (unitCardController != null) {\n ids.add(unitCardController.getID());\n }\n }\n return ids;\n }", "title": "" }, { "docid": "c6af2869b697c0635872642408936691", "score": "0.5370756", "text": "List<IOrganizationalUnit> obtainSubOrgUnitsForOrgUnitInclMembers(String orgUnitId);", "title": "" }, { "docid": "ed153aa2d79faaab4a24acab6112836d", "score": "0.532222", "text": "public List<Unit<?>> getUnits(String family) {\n\t\treturn UNIT_FAMILIES.get(family);\n\t\t\n\t}", "title": "" }, { "docid": "4c8d008c31b75a74087b893b5f39e52c", "score": "0.5317701", "text": "List<OrganisationUnit> getOrganisationUnitsAtLevel(int level);", "title": "" }, { "docid": "a22a20f908df11b12ed28df315856205", "score": "0.53166825", "text": "public Unit getUnit()\n {\n return unit;\n }", "title": "" }, { "docid": "22bde8b47db14eedff3b44e067f9644b", "score": "0.5300319", "text": "List<OrganisationUnit> getOrganisationUnitByName(String name);", "title": "" }, { "docid": "a0b869347fac5f8e21082b0844a02319", "score": "0.5293358", "text": "List<IOrganizationalUnit> obtainSubOrgUnitsForOrgUnit(String orgUnitId);", "title": "" }, { "docid": "22c9f1c7c9859052c3415aa4eed37ae0", "score": "0.52912223", "text": "List<OrganisationUnit> getOrganisationUnitWithChildren(String uid);", "title": "" }, { "docid": "15fb7ef5b62d3e21ae78337ce6435ab7", "score": "0.528667", "text": "@Override\r\n\tpublic List<Unit> getAllUnitByEpId(String epId) {\n\t\treturn ((IUnitDao)dao).getUnitByEpid(epId);\r\n\t}", "title": "" }, { "docid": "923e0a0ad17cb286f61d9ef88d0c540f", "score": "0.52722335", "text": "public Iterator<Square> iterator() {\n return (Iterator<Square>) getSquares().values().iterator();\n }", "title": "" }, { "docid": "05eea932b5852bc621e720a6c44d5d99", "score": "0.5261136", "text": "List<OrganisationUnit> getOrganisationUnits(Collection<Long> identifiers);", "title": "" }, { "docid": "d706a64596c9834a746a0fa468566c01", "score": "0.5249976", "text": "public Unit getUnit();", "title": "" }, { "docid": "41b21e62ee0463779f9ee1c5db709776", "score": "0.5248025", "text": "public TimeUnitsElements getTimeUnitsAccess() {\n\t\treturn eTimeUnits;\n\t}", "title": "" }, { "docid": "08219f6b1b43280250a798da2f350e41", "score": "0.52448505", "text": "@Override\n public List<TemporalUnit> getUnits() {\n\n return Arrays.asList(\n ChronoUnit.DAYS,\n ChronoUnit.HOURS,\n ChronoUnit.MINUTES,\n ChronoUnit.SECONDS\n );\n\n }", "title": "" }, { "docid": "e1b83b1316dd1d887d35e36d066ef272", "score": "0.52384776", "text": "public int getUnits() {\r\n\t\treturn units;\r\n\t}", "title": "" }, { "docid": "ced913b06d15e2df9b22b9b3c37eb58b", "score": "0.52359885", "text": "public Byte getUnits() {\n return units;\n }", "title": "" }, { "docid": "8599fa60a0e9a9f9689ba1e2291f0765", "score": "0.5227453", "text": "public Iterator<T> allItemsIterator() {\n return allItemsStream().iterator();\n }", "title": "" }, { "docid": "467ad8a28c5532326b75f852d68f1505", "score": "0.5195885", "text": "Set<IOrganizationalUnit> obtainSubOrgUnitsForOrgUnit(String orgUnitId, Boolean inclMembersRoles);", "title": "" }, { "docid": "009ca70967ea26a85150feed774f4fb1", "score": "0.5190236", "text": "@Generated(hash = 1823395121)\n public Units getUnit() {\n String __key = this.outputUnit;\n if (unit__resolvedKey == null || unit__resolvedKey != __key) {\n final DaoSession daoSession = this.daoSession;\n if (daoSession == null) {\n throw new DaoException(\"Entity is detached from DAO context\");\n }\n UnitsDao targetDao = daoSession.getUnitsDao();\n Units unitNew = targetDao.load(__key);\n synchronized (this) {\n unit = unitNew;\n unit__resolvedKey = __key;\n }\n }\n return unit;\n }", "title": "" }, { "docid": "a34960f6cd779af2ecdfdb159126352f", "score": "0.51739556", "text": "List<OrganisationUnit> getOrganisationUnitsByQuery(OrganisationUnitQueryParams params);", "title": "" }, { "docid": "58cd00d926a68328a4f8370ec1c7ed48", "score": "0.51677424", "text": "public String getUnits() {\n return units;\n }", "title": "" }, { "docid": "e514d1f165497b511cbb5f85cbc1058b", "score": "0.5157063", "text": "public List<UnitWithDepth> getVisibleUnitsWithDepth( Integer idUnit );", "title": "" }, { "docid": "177c0dfed50fc2456dab75cec068114d", "score": "0.51544154", "text": "@Override\n public Iterator<Element> iterator() {\n return _elements.iterator();\n }", "title": "" }, { "docid": "57ea3ef9f40ff7bd48a9c56db2a18534", "score": "0.5142234", "text": "public Iterator<P2<K, V>> iterator() {\n return join(tree.toStream().map(P2.map2_(IterableW.wrap())\n ).map(P2.tuple(compose(IterableW.map(), P.p2())))).iterator();\n }", "title": "" }, { "docid": "c7c17b2a5138f056de9a705ec7058b7d", "score": "0.51100796", "text": "public int getUnits() {\n return units;\n }", "title": "" }, { "docid": "28c83653e6dc8e86a6fcf0e1fdc5a3ed", "score": "0.51019496", "text": "public Unit getUnitFrom() {\n return unitFrom;\n }", "title": "" }, { "docid": "bc5fd67a40f08db79653a84cd8aa097e", "score": "0.5098729", "text": "@Override\n public Iterator<Square> iterator() {\n return board.iterator();\n }", "title": "" }, { "docid": "8cbcadf9aadfe9ed1e598e241b1321be", "score": "0.5097591", "text": "@Override\r\n public Iterator<Space> iterator() {\r\n return Arrays.asList(this.spaces).iterator();\r\n }", "title": "" }, { "docid": "f2c06278b257a768cdb57e27061a862b", "score": "0.5096556", "text": "public Iterator<NodeHandle> iterator() {\n return getUniqueSet().iterator(); \n }", "title": "" }, { "docid": "8e7b7d6c75f1f57753b7e4fdb95be72b", "score": "0.50858605", "text": "public WeightUnit[] getWeightUnits(){\n return units.toArray(WeightUnit.SAMPLE);\n }", "title": "" }, { "docid": "619d8fee77d709c74927eea0b25b92c2", "score": "0.50821424", "text": "public List<UnitBox> getUnitBoxes(boolean branchTarget) {\n ArrayList<UnitBox> unitBoxList = new ArrayList<UnitBox>();\n {\n Iterator<Unit> it = unitChain.iterator();\n while (it.hasNext()) {\n Unit item = it.next();\n if (branchTarget) {\n if (item.branches()) {\n unitBoxList.addAll(item.getUnitBoxes());\n }\n } else {\n if (!item.branches()) {\n unitBoxList.addAll(item.getUnitBoxes());\n }\n }\n }\n }\n\n {\n Iterator<Trap> it = trapChain.iterator();\n while (it.hasNext()) {\n Trap item = it.next();\n unitBoxList.addAll(item.getUnitBoxes());\n }\n }\n\n {\n Iterator<Tag> it = getTags().iterator();\n while (it.hasNext()) {\n Tag t = it.next();\n if (t instanceof CodeAttribute) {\n unitBoxList.addAll(((CodeAttribute) t).getUnitBoxes());\n }\n }\n }\n\n return unitBoxList;\n }", "title": "" }, { "docid": "402cd6de4ea424b5dec3da9bfa0201d2", "score": "0.50811774", "text": "@Override\n\tpublic Iterator<Item> iterator() {\n\t\t// returns the iterator of the container.\n\t\treturn this.contents.iterator();\n\t}", "title": "" }, { "docid": "672c396e1223db09586fe60749a52f53", "score": "0.5061179", "text": "protected ArrayList<Unit> prodUnits() {\n \t\tTile[][] map = log.getTBoard();\n \n \t\t// AI wish list\n \t\tArrayList<Unit> wantToBuild = new ArrayList<Unit>();\n \n \t\t// List of units the AI has enough money to build\n \t\tArrayList<Unit> canBuild = new ArrayList<Unit>();\n \n \t\tfor (int r = 0; r < log.getSize(); r++) {\n \t\t\tfor (int c = 0; c < log.getSize(); c++) {\n \t\t\t\tif ((map[r][c].getType() == 'q') || map[r][c].getType() == 'Q' &&\n \t\t\t\t\t\tmap[r][c].getOwner() == playNum) {\n \t\t\t\t\tint[] unitsToBuild = counterEnemyUnits();\n \t\t\t\t\tint most = 0, secondMost = 0, thirdMost = 0, fourthMost = 0;\n \t\t\t\t\tfor(int i = 0; i < unitsToBuild.length; i++){\n \t\t\t\t\t\tif(unitsToBuild[i] > most){\n \t\t\t\t\t\t\tfourthMost = thirdMost;\n \t\t\t\t\t\t\tthirdMost = secondMost;\n \t\t\t\t\t\t\tsecondMost = most;\n \t\t\t\t\t\t\tmost = unitsToBuild[i];\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\twantToBuild.add(createMeAUnit(most));\n \t\t\t\t\twantToBuild.add(createMeAUnit(secondMost));\n \t\t\t\t\twantToBuild.add(createMeAUnit(thirdMost));\n \t\t\t\t\twantToBuild.add(createMeAUnit(fourthMost));\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \n \t\tint cash = getCash();\n \t\tfor(Unit bUnit: wantToBuild){\n \t\t\tif(cash > bUnit.getCost()){\n \t\t\t\tcanBuild.add(bUnit);\n \t\t\t\tcash -= bUnit.getCost();\n \t\t\t}\n \t\t}\n \t\treturn canBuild;\n \t}", "title": "" }, { "docid": "2287899b3162a8e1b2482f90ff03a6ee", "score": "0.50598454", "text": "com.google.maps.routes.v1.Units getUnits();", "title": "" }, { "docid": "d0bd1ebf07b07cf92158422caabab05b", "score": "0.50550336", "text": "public Iterator<E> iterator() {\n\t\t\tPositionList<E> list = new NodePositionList<E>();\n\t\t\tfor(int i = 1; i<T.size(); i++)\n\t\t\t\tlist.addLast(T.get(i).element());\n\t\t\treturn list.iterator();\n\t\t}", "title": "" }, { "docid": "e6a26bab4838a2ea03d0e84ee76ad7fd", "score": "0.5051251", "text": "@GetMapping(\"/getUnitList\")\n\t@ResponseBody\n\tpublic List<Unit> getUnitList(){\n\t\tList<Unit> ListOfUnit = unitservice.getUnitList();\n\t\treturn ListOfUnit;\n\t\t\n\t}", "title": "" }, { "docid": "4627861c52d9abc125f2de47e61277cc", "score": "0.504397", "text": "public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllUnionOf_asNode() {\r\n\t\treturn Base.getAll_asNode(this.model, this.getResource(), UNIONOF);\r\n\t}", "title": "" }, { "docid": "d7886e9591a981050b98d0d2be21d367", "score": "0.50394255", "text": "public int getUnitCount() {\n return units.size();\n }", "title": "" }, { "docid": "91f07d4ceb3f92d836e8841148e31205", "score": "0.5032965", "text": "public Unit getOccupyingUnit() {\n Unit unit = getFirstUnit();\n Player owner = null;\n if (owningSettlement != null) {\n owner = owningSettlement.getOwner();\n }\n if (owner != null && unit != null && unit.getOwner() != owner\n && owner.getStance(unit.getOwner()) != Stance.ALLIANCE) {\n for(Unit enemyUnit : getUnitList()) {\n if (enemyUnit.isOffensiveUnit() && enemyUnit.getState() == UnitState.FORTIFIED) {\n return enemyUnit;\n }\n }\n }\n return null;\n }", "title": "" }, { "docid": "47bae6a03a8a3344034a523b7c92100b", "score": "0.5025129", "text": "List<OrganisationUnit> getOrganisationUnitByCoordinate(double longitude, double latitude,\n String topOrgUnitUid,\n Integer targetLevel);", "title": "" }, { "docid": "4ae72befb84961bc32aa1fa3b34ee342", "score": "0.5009472", "text": "private void getXMLUnit( StringBuffer sbXML, List<Unit> listAuthorizedUnits, Unit unit, AdminUser user )\n {\n XmlUtil.beginElement( sbXML, TAG_UNIT );\n XmlUtil.addElement( sbXML, TAG_ID_UNIT, unit.getIdUnit( ) );\n XmlUtil.addElement( sbXML, TAG_LABEL, CDATA_START + unit.getLabel( ) + CDATA_END );\n XmlUtil.addElement( sbXML, TAG_DESCRIPTION, CDATA_START + unit.getDescription( ) + CDATA_END );\n\n List<Unit> listChildren = getSubUnits( unit.getIdUnit( ), false );\n\n if ( ( listChildren != null ) && !listChildren.isEmpty( ) )\n {\n XmlUtil.beginElement( sbXML, TAG_UNIT_CHILDREN );\n\n for ( Unit child : listChildren )\n {\n if ( isUnitInList( child, listAuthorizedUnits ) )\n {\n getXMLUnit( sbXML, listAuthorizedUnits, child, user );\n }\n }\n\n XmlUtil.endElement( sbXML, TAG_UNIT_CHILDREN );\n }\n\n XmlUtil.endElement( sbXML, TAG_UNIT );\n }", "title": "" }, { "docid": "5d7e92f1fd08c815efe5c206b76be59f", "score": "0.5007795", "text": "public Iterator iterator () {\n return new BSTSet.InOrderIterator();\n }", "title": "" }, { "docid": "b461db9960e6651de2d4dc8e076ff2a4", "score": "0.5001172", "text": "@Transactional(readOnly = true)\n public Page<OrganisationUnit> findAll(Pageable pageable) {\n log.debug(\"Request to get all OrganisationUnits\");\n return organisationUnitRepository.findAll(pageable);\n }", "title": "" }, { "docid": "a3d4f1a8a7b3caea7cd50a7b5aa08753", "score": "0.49979746", "text": "public Iterator getObjects();", "title": "" }, { "docid": "72884d244bcf587bea0886b065399fe9", "score": "0.49966002", "text": "public Iterator<T> byGenerations() {\r\n LinkedQueue<BTNode<T>> queue = new LinkedQueue<BTNode<T>>();\r\n ArrayIterator<T> iter = new ArrayIterator<T>();\r\n for (int i=0; i<tree.length; i++) {\r\n queue.enqueue(new BTNode(tree[i]));\r\n while (!queue.isEmpty()) {\r\n BTNode<T> current = queue.dequeue();\r\n //middle\r\n iter.add (current.getElement());\r\n //left\r\n if (current.getLeft() != null)\r\n queue.enqueue(current.getLeft());\r\n //right\r\n if (current.getRight() != null)\r\n queue.enqueue(current.getRight());\r\n }\r\n }\r\n return iter;\r\n }", "title": "" }, { "docid": "0ce52386a7fde0827d8af47dd420c854", "score": "0.4995304", "text": "List<OrganisationUnit> getOrganisationUnits(Collection<OrganisationUnitGroup> groups,\n Collection<OrganisationUnit> parents);", "title": "" }, { "docid": "2e434cc4ba9eb4a0b173ff7709b33003", "score": "0.49931613", "text": "public Iterator<Item> iterator() { return this.items.iterator(); }", "title": "" }, { "docid": "115a07a4561ba30656a04a309379baa9", "score": "0.4986774", "text": "public Iterator<Row> iterator() { \n return timesMetric.iterator(); \n }", "title": "" }, { "docid": "9106f72719060e4191d772abe047d6a4", "score": "0.4985265", "text": "Iterator iteratorBases();", "title": "" }, { "docid": "53352443703fa53d9b2842ed2ecf8b8b", "score": "0.49752992", "text": "public Iterator iterator() {\n return iterator(null, null);\n }", "title": "" }, { "docid": "10b4c5addf14304106cee62b297954b2", "score": "0.49739206", "text": "public java.util.Iterator<Transaction> iterator() {\n return new Iterator();\n }", "title": "" }, { "docid": "d752ced555c5a8ce53192726edf8f620", "score": "0.49732417", "text": "public Iterator<T> iterator() { \r\n return byGenerations();\r\n }", "title": "" }, { "docid": "6e95417ac104ff07f7f73e7373860121", "score": "0.4972975", "text": "@Override\n\tpublic Iterator<Vehicule> iterator() {\n\t\treturn vehicules.iterator();\n\t}", "title": "" }, { "docid": "8c0089f9006238ab405f843828610d6d", "score": "0.49718812", "text": "public String getUnits() {\n String units = getAttributeValue(\"units\");\n return units;\n }", "title": "" }, { "docid": "0755f21f3051fddbae862d365e2ba309", "score": "0.49702197", "text": "public List<WallUnit> getChildrenWallUnits() {\n if (childrenWallUnits == null) {\n if (daoSession == null) {\n throw new DaoException(\"Entity is detached from DAO context\");\n }\n WallUnitDao targetDao = daoSession.getWallUnitDao();\n List<WallUnit> childrenWallUnitsNew = targetDao._queryWallUnit_ChildrenWallUnits(id);\n synchronized (this) {\n if(childrenWallUnits == null) {\n childrenWallUnits = childrenWallUnitsNew;\n }\n }\n }\n return childrenWallUnits;\n }", "title": "" }, { "docid": "02fbc63c66b32c91a39d79a5f688fa4b", "score": "0.4963667", "text": "public Iterator<CADEdge> getTEdgeIterator()\n\t{\n\t\treturn mapTEdgeToSubMesh1D.keySet().iterator();\n\t}", "title": "" }, { "docid": "2332011a81b9a4a45eb847f8418056ad", "score": "0.49621606", "text": "public com.google.protobuf.ByteString\n getUnitBytes() {\n java.lang.Object ref = unit_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n unit_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "b6fc5d0728be2ab90d7f5a979e7b1e5b", "score": "0.49569675", "text": "public com.google.protobuf.ByteString\n getUnitBytes() {\n java.lang.Object ref = unit_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n unit_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "8033c9a278681d1841c8a005e55d2aa6", "score": "0.49531367", "text": "public Iterator iterator() {\n\t\treturn getList().iterator();\n\t}", "title": "" }, { "docid": "38c92d9aa6301cc267f6106a3141fcdb", "score": "0.49514243", "text": "public List<Unit> getCovUnits() {\n return covUnits;\n }", "title": "" }, { "docid": "4bcf08b4cc9c224c24d089cba022e287", "score": "0.49445695", "text": "public void printcUnits(){\n for(String key : this.getcUnit().keys()){\n CurricularUnit uCur = this.getcUnit().get(key);\n System.out.println(uCur);\n }\n }", "title": "" }, { "docid": "383eaf135284cc74c44d32bea6d51d82", "score": "0.49401155", "text": "List<OrganisationUnit> getAllOrganisationUnitsByLastUpdated(Date lastUpdated);", "title": "" }, { "docid": "89e82dca5c82aff18cc405fb28b1926e", "score": "0.4936376", "text": "public com.google.protobuf.ByteString\n getUnitBytes() {\n java.lang.Object ref = unit_;\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 unit_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "d8d4ffc7f27d2ef459b03af5eb1e18bb", "score": "0.49319056", "text": "public List<ValueBox> getUseBoxes() {\n ArrayList<ValueBox> useBoxList = new ArrayList<ValueBox>();\n\n Iterator<Unit> it = unitChain.iterator();\n while (it.hasNext()) {\n Unit item = it.next();\n useBoxList.addAll(item.getUseBoxes());\n }\n return useBoxList;\n }", "title": "" }, { "docid": "741968992a7bd2e463809396608d198c", "score": "0.4928107", "text": "public UjoIterator<Item> getItems() {\n return get(ITEMS);\n }", "title": "" }, { "docid": "c5ba0e51209a7015677b5daa8f69c420", "score": "0.49261203", "text": "public ListIterator listIterateUses() {\n return this.m_usesList.listIterator();\n }", "title": "" }, { "docid": "4c1f0345d45928557497a8810c901a50", "score": "0.491679", "text": "public Iterator<Entity> getEntities() {\n return entities.iterator();\n }", "title": "" }, { "docid": "c9bb251f1cb7e3527f81ac249ce90b9b", "score": "0.49092996", "text": "public Unit getAUnit() {\n\t\tif (units.size() == 0)\n\t\t\treturn null;\n\t\treturn units.get(0);\n\t}", "title": "" }, { "docid": "5d38afd6ccb11120e21ef9b7b704c255", "score": "0.49061996", "text": "public String getUnits() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4edf60c4177c9473c6d68b2a673a2da3", "score": "0.49034747", "text": "public java.util.List<csse2002.block.world.Tile> getTiles(){\n return new csse2002.block.world.SparseTileArray().getTiles();\n }", "title": "" }, { "docid": "f366028d9e06978dd4966a4924097c80", "score": "0.49004665", "text": "public Iterator<String> getUnweightedIter(){\n\t\treturn this.adjUnweighted.keySet().iterator();\n\t}", "title": "" }, { "docid": "43b0b14bf3e502228483a9efe144d36a", "score": "0.48965606", "text": "public GameObject getUnit() {\n return unit;\n }", "title": "" }, { "docid": "6d636f4aa1d2de7f8475fdcf45c9be6a", "score": "0.48930684", "text": "List<Integer> getAllUnitsIds( );", "title": "" }, { "docid": "ed1ef950860c7220c1a5694d1757d27f", "score": "0.48858643", "text": "@Override\n public Collection<SystemOfUnits> getAvailableSystemsOfUnits() {\n return UnmodifiableArrayList.wrap(systems);\n }", "title": "" }, { "docid": "5cd5624adc51694b555be50943e1ef2f", "score": "0.4885096", "text": "public String units() {\n\t\treturn units;\n\t}", "title": "" }, { "docid": "62d89c28f331a521fcc48c5343980aed", "score": "0.48790425", "text": "private List<Unit> getTreeableAuthorizedUnits( AdminUser user )\n {\n List<Unit> listAllUnits = UnitHome.findAll( );\n Set<Unit> setAuthorizedUnits = new HashSet<>( );\n\n for ( Unit unit : listAllUnits )\n {\n if ( !isUnitInList( unit, setAuthorizedUnits )\n && isAuthorized( unit, UnitResourceIdService.PERMISSION_SEE_UNIT, user, UnittreeRBACRecursiveType.NOT_RECURSIVE ) )\n {\n List<Unit> listAllSubUnits = getAllSubUnits( unit, false );\n\n for ( Unit childUnit : listAllSubUnits )\n {\n setAuthorizedUnits.add( childUnit );\n }\n\n List<Unit> parentUnits = getListParentUnits( unit );\n\n for ( Unit parentUnit : parentUnits )\n {\n setAuthorizedUnits.add( parentUnit );\n }\n }\n }\n\n return new ArrayList<>( setAuthorizedUnits );\n }", "title": "" } ]
3e994bedfc6314e9dc8ec02474c05a74
The digest of the root [Directory][build.bazel.remote.execution.v2.Directory] for the input files. The files in the directory tree are available in the correct location on the build machine before the command is executed. The root directory, as well as every subdirectory and content blob referred to, MUST be in the [ContentAddressableStorage][build.bazel.remote.execution.v2.ContentAddressableStorage]. .build.bazel.remote.execution.v2.Digest input_root_digest = 2;
[ { "docid": "b7add6cf8efb826069d67a242a921015", "score": "0.64323944", "text": "public Builder setInputRootDigest(build.bazel.remote.execution.v2.Digest value) {\n if (inputRootDigestBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n inputRootDigest_ = value;\n onChanged();\n } else {\n inputRootDigestBuilder_.setMessage(value);\n }\n\n return this;\n }", "title": "" } ]
[ { "docid": "9cc4469513f17f690876ff9d5997cb98", "score": "0.75880766", "text": "public build.bazel.remote.execution.v2.Digest getInputRootDigest() {\n return inputRootDigest_ == null ? build.bazel.remote.execution.v2.Digest.getDefaultInstance() : inputRootDigest_;\n }", "title": "" }, { "docid": "406e97587e9c27eb774b657e51d70c88", "score": "0.75778246", "text": "public build.bazel.remote.execution.v2.DigestOrBuilder getInputRootDigestOrBuilder() {\n return getInputRootDigest();\n }", "title": "" }, { "docid": "84fab2b882e57b938ef9324455aad7dd", "score": "0.7344491", "text": "public build.bazel.remote.execution.v2.Digest getInputRootDigest() {\n if (inputRootDigestBuilder_ == null) {\n return inputRootDigest_ == null ? build.bazel.remote.execution.v2.Digest.getDefaultInstance() : inputRootDigest_;\n } else {\n return inputRootDigestBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "16e3442fe6c297c3c93ac8fcba73268e", "score": "0.72123945", "text": "public build.bazel.remote.execution.v2.DigestOrBuilder getInputRootDigestOrBuilder() {\n if (inputRootDigestBuilder_ != null) {\n return inputRootDigestBuilder_.getMessageOrBuilder();\n } else {\n return inputRootDigest_ == null ?\n build.bazel.remote.execution.v2.Digest.getDefaultInstance() : inputRootDigest_;\n }\n }", "title": "" }, { "docid": "3e67e22c5fdfb77bbcbd507a99040208", "score": "0.6374382", "text": "public build.bazel.remote.execution.v2.Digest.Builder getInputRootDigestBuilder() {\n \n onChanged();\n return getInputRootDigestFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "6f00dc77407734bf05be3ce96da66877", "score": "0.6324575", "text": "public Builder mergeInputRootDigest(build.bazel.remote.execution.v2.Digest value) {\n if (inputRootDigestBuilder_ == null) {\n if (inputRootDigest_ != null) {\n inputRootDigest_ =\n build.bazel.remote.execution.v2.Digest.newBuilder(inputRootDigest_).mergeFrom(value).buildPartial();\n } else {\n inputRootDigest_ = value;\n }\n onChanged();\n } else {\n inputRootDigestBuilder_.mergeFrom(value);\n }\n\n return this;\n }", "title": "" }, { "docid": "2ed228fc030e9f4a7874754c3c1f6901", "score": "0.60938156", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n build.bazel.remote.execution.v2.Digest, build.bazel.remote.execution.v2.Digest.Builder, build.bazel.remote.execution.v2.DigestOrBuilder> \n getInputRootDigestFieldBuilder() {\n if (inputRootDigestBuilder_ == null) {\n inputRootDigestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n build.bazel.remote.execution.v2.Digest, build.bazel.remote.execution.v2.Digest.Builder, build.bazel.remote.execution.v2.DigestOrBuilder>(\n getInputRootDigest(),\n getParentForChildren(),\n isClean());\n inputRootDigest_ = null;\n }\n return inputRootDigestBuilder_;\n }", "title": "" }, { "docid": "85be2dc68bd23d9593aaad82e030594e", "score": "0.583164", "text": "public boolean hasInputRootDigest() {\n return inputRootDigestBuilder_ != null || inputRootDigest_ != null;\n }", "title": "" }, { "docid": "cac0cd32ce3b7757e0b9797ee1f0bc0f", "score": "0.5772125", "text": "public boolean hasInputRootDigest() {\n return inputRootDigest_ != null;\n }", "title": "" }, { "docid": "126f7c3abad011f1e99962bb6bf5468a", "score": "0.5640444", "text": "public Builder clearInputRootDigest() {\n if (inputRootDigestBuilder_ == null) {\n inputRootDigest_ = null;\n onChanged();\n } else {\n inputRootDigest_ = null;\n inputRootDigestBuilder_ = null;\n }\n\n return this;\n }", "title": "" }, { "docid": "3650f37919a871b669cd2855846b4c8a", "score": "0.5557271", "text": "public Builder setInputRootDigest(\n build.bazel.remote.execution.v2.Digest.Builder builderForValue) {\n if (inputRootDigestBuilder_ == null) {\n inputRootDigest_ = builderForValue.build();\n onChanged();\n } else {\n inputRootDigestBuilder_.setMessage(builderForValue.build());\n }\n\n return this;\n }", "title": "" }, { "docid": "a218690cd7b818421c45b2c701a9875c", "score": "0.47115973", "text": "public FileEntry getRoot() {\n return root;\n }", "title": "" }, { "docid": "2e7616dd018caabfb38896aeb13ff1a1", "score": "0.46200868", "text": "byte[] getDigest();", "title": "" }, { "docid": "b0271a021d8ca9919b350600c146093c", "score": "0.45899367", "text": "@Key(\"CC_MEDIA_INPUT_DIR\")\n @ConverterClass(PathConverter.class)\n @DefaultValue(\"/input\")\n Path base_input_dir();", "title": "" }, { "docid": "ebb4991f7691335321544576c2afe448", "score": "0.45169967", "text": "public String getInputFolder() {\n\t\treturn inputFolder;\n\t}", "title": "" }, { "docid": "4c6ad22eab654acb2ca86d4a4c56e99d", "score": "0.45119876", "text": "public String getInputDirectory() throws Exception\n\t{\n\t\treturn inputDirectory;\n\t}", "title": "" }, { "docid": "60163b7915c1d551753f61d4b3ce2a06", "score": "0.4503969", "text": "@Override\n public File getFilesDir() {\n return new File(ROOT_PATH);\n }", "title": "" }, { "docid": "3fa9e54f02bac834155c2cf8b55a1cba", "score": "0.4502375", "text": "public File getRoot()\n {\n \treturn root;\n }", "title": "" }, { "docid": "67189007fffbc3cf72833b02f5671b1c", "score": "0.4478184", "text": "public build.bazel.remote.execution.v2.DigestOrBuilder getCommandDigestOrBuilder() {\n return getCommandDigest();\n }", "title": "" }, { "docid": "26110ff172ff8c267d32297365a7e813", "score": "0.44082245", "text": "public void getInputFolder() throws IOException, ShutdownSignalException, ConsumerCancelledException, InterruptedException\n\t{\n\t\tFile dir = new File(Constant.ROOT + \"/\" + Constant.INPUT_FILES_FOLDER_NAME);\n\t\twhile (true)\n\t\t{\n\t\t\tgetFiles(dir);\n\t\t}\n\t\t//System.out.println(\"Total doc files are :\" + fileCount);\n\t\t//System.out.println(\"Complete...\");\n\t}", "title": "" }, { "docid": "601c4e21f6db0ce9d124f300dd8b3ca4", "score": "0.43785805", "text": "com.google.protobuf.ByteString getStateRootHash();", "title": "" }, { "docid": "85dd10ca28aa0368119ea9f0617f05ef", "score": "0.43643954", "text": "public static NestDigest analyzeNests(\n ImmutableList<FileContentProvider<? extends InputStream>> inputFileContents)\n throws IOException {\n NestAnalyzer nestAnalyzer =\n new NestAnalyzer(\n inputFileContents, ClassAttributeRecord.builder(), ClassMemberRecord.builder());\n return nestAnalyzer.analyze();\n }", "title": "" }, { "docid": "b545ef936d9eed9364201ec9b5399f26", "score": "0.43599692", "text": "String readInput(Path workDir);", "title": "" }, { "docid": "cfcb9f1789a789420e33db14ccd590bc", "score": "0.43522438", "text": "public static void resolveRoot() {\n if (isRootResolved) {\n return;\n }\n URL thisClassUrl = StorageManager.class.getResource(\"StorageManager.class\");\n\n switch (thisClassUrl.getProtocol()) {\n case \"file\":\n try {\n String platformIndependentPath = Paths.get(StorageManager.class\n .getResource(\"StorageManager.class\").toURI()).toString();\n root = FileReadWrite.resolve(platformIndependentPath, \"../../../../../../../../../\");\n } catch (URISyntaxException i) {\n System.out.println(\"error\");\n System.exit(-1);\n }\n break;\n case \"jar\":\n try {\n root = FileReadWrite.resolve(\n new File(StorageManager.class.getProtectionDomain().getCodeSource().getLocation().toURI())\n .getPath(), \"../\");\n } catch (URISyntaxException e) {\n System.out.println(\"jar is broken as unable to resolve path\");\n System.exit(-1);\n }\n break;\n default:\n root = System.getProperty(\"user.dir\");\n }\n root = FileReadWrite.resolve(root, \"./data\");\n resolveStatsPath();\n isRootResolved = true;\n }", "title": "" }, { "docid": "c286550627f2ca0a3ac2debbf2cfdabc", "score": "0.43407747", "text": "public FileIn (String root) {\n\tthis.root = root;\n }", "title": "" }, { "docid": "ff842dbe257b02f467c48b911802a2c1", "score": "0.43256935", "text": "public void setRoot(final FileEntry root) {\n this.root = root;\n }", "title": "" }, { "docid": "748496f3bcfd0b9f37f18488c3fadd89", "score": "0.42853785", "text": "private FileSystem() {\n\n File rootDirectory = new File(FileType.DIRECTORY);\n rootDirectory.setName(ROOT_DIRECTORY);\n\n generateDirTree(rootDirectory);\n\n rootDirectories.getList().add(rootDirectory);\n\n }", "title": "" }, { "docid": "022e314a85de44d72c12565c66be2fc8", "score": "0.42697087", "text": "Set<File> getSeenRoots (File repositoryRoot) {\n return gitFolderEventsHandler.getSeenRoots(repositoryRoot);\n }", "title": "" }, { "docid": "2fb26c249c87f3fe0d01d06b76ecf29d", "score": "0.4261583", "text": "public com.google.protobuf.ByteString getStateRootHash() {\n return stateRootHash_;\n }", "title": "" }, { "docid": "7f1d5022bd14d8525e883e1ab6cd9748", "score": "0.4260985", "text": "private static String getSha1Digest(String input) {\n\n String sha1Digest = \"\";\n\n MessageDigest md = null;\n try {\n md = MessageDigest.getInstance(\"SHA1\");\n } catch (NoSuchAlgorithmException e) {\n // It should never get in here\n }\n\n md.reset();\n byte[] buffer = input.getBytes();\n md.update(buffer);\n byte[] digest = md.digest();\n\n // Converts the Byte Array to Hex String\n for (byte aDigest : digest) {\n sha1Digest += Integer.toString((aDigest & 0xff) + 0x100, 16)\n .substring(1);\n }\n\n return sha1Digest;\n }", "title": "" }, { "docid": "675b53e162aa0c0d52d809000ec08d34", "score": "0.4229149", "text": "public String getInputPath() {\n return inputPath;\n }", "title": "" }, { "docid": "48e909827cda81b6af17830047bf96bd", "score": "0.4214757", "text": "public build.bazel.remote.execution.v2.DigestOrBuilder getCommandDigestOrBuilder() {\n if (commandDigestBuilder_ != null) {\n return commandDigestBuilder_.getMessageOrBuilder();\n } else {\n return commandDigest_ == null ?\n build.bazel.remote.execution.v2.Digest.getDefaultInstance() : commandDigest_;\n }\n }", "title": "" }, { "docid": "2780eb7d60c483ab6f8678ae71e6c930", "score": "0.42137125", "text": "public com.google.protobuf.ByteString getStateRootHash() {\n return stateRootHash_;\n }", "title": "" }, { "docid": "76171c5e28f0958c9bb282d81aea848e", "score": "0.42059904", "text": "private void digest() {\n }", "title": "" }, { "docid": "32bd97e0218a7e67b93ff8b891d8fa5d", "score": "0.42040545", "text": "public byte[] getDigest() {\n\t\treturn digest;\r\n\t}", "title": "" }, { "docid": "c2817c54fa00152f0a4288690e9b2e9f", "score": "0.41933703", "text": "public void buildIndex(Path inputFile) throws IOException {\n\n if (Files.isDirectory(inputFile)) {\n\n List<Path> listOfPaths = TextFileFinder.list(inputFile);\n for (Path path : listOfPaths) {\n buildFromFile(path);\n\n }\n } else {\n buildFromFile(inputFile);\n\n }\n }", "title": "" }, { "docid": "4ea45b570450e254a12443242fdc7f68", "score": "0.41925824", "text": "@ThreadCompatible\n NestedSet<Artifact> discoverInputsFromDependencies(\n Path execRoot, ArtifactResolver artifactResolver) throws ActionExecutionException {\n NestedSetBuilder<Artifact> inputs = NestedSetBuilder.stableOrder();\n if (dependencies == null) {\n return inputs.build();\n }\n\n // Check inclusions.\n IncludeProblems problems = new IncludeProblems();\n for (Path execPath : dependencies) {\n PathFragment execPathFragment = execPath.asFragment();\n if (execPathFragment.isAbsolute()) {\n // Absolute includes from system paths are ignored.\n if (FileSystemUtils.startsWithAny(execPath, permittedSystemIncludePrefixes)) {\n continue;\n }\n // Since gcc is given only relative paths on the command line,\n // non-system include paths here should never be absolute. If they\n // are, it's probably due to a non-hermetic #include, & we should stop\n // the build with an error.\n if (execPath.startsWith(execRoot)) {\n execPathFragment = execPath.relativeTo(execRoot); // funky but tolerable path\n } else {\n problems.add(execPathFragment.getPathString());\n continue;\n }\n }\n Artifact artifact = allowedDerivedInputsMap.get(execPathFragment);\n if (artifact == null) {\n try {\n RepositoryName repository =\n PackageIdentifier.discoverFromExecPath(execPathFragment, false).getRepository();\n artifact = artifactResolver.resolveSourceArtifact(execPathFragment, repository);\n } catch (LabelSyntaxException e) {\n throw new ActionExecutionException(\n String.format(\"Could not find the external repository for %s\", execPathFragment),\n e,\n action,\n false);\n }\n }\n if (artifact != null) {\n inputs.add(artifact);\n continue;\n }\n\n Artifact treeArtifact = findOwningTreeArtifact(execPathFragment);\n if (treeArtifact != null) {\n inputs.add(treeArtifact);\n continue;\n }\n\n // Abort if we see files that we can't resolve, likely caused by\n // undeclared includes or illegal include constructs.\n problems.add(execPathFragment.getPathString());\n }\n if (shouldValidateInclusions) {\n problems.assertProblemFree(action, sourceFile);\n }\n return inputs.build();\n }", "title": "" }, { "docid": "548b0602665bb9a2f61af457b0746c84", "score": "0.41713423", "text": "public void buildAll() throws CoreException {\t\t\n \t\tdelta.clear();\n \t\tfor(IContainerRoot srcRoot : sourceRoots) {\n \t\t\tfor(IFileEntry<?> e : srcRoot.contents()) {\n \t\t\t\tdelta.add(e);\n \t\t\t}\n \t\t}\n \t\tbuild();\n \t}", "title": "" }, { "docid": "6550a14e07ca98ea91a4aceaf96ef1eb", "score": "0.41623726", "text": "com.google.protobuf.ByteString\n getInputBytes();", "title": "" }, { "docid": "6550a14e07ca98ea91a4aceaf96ef1eb", "score": "0.41623726", "text": "com.google.protobuf.ByteString\n getInputBytes();", "title": "" }, { "docid": "85ec451576f86107914cfc2688a47ba7", "score": "0.41611892", "text": "public Path getRootDirectory()\n {\n return _hostContainer.getRootDirectory();\n }", "title": "" }, { "docid": "f344074981a59a1d8738b11f62fef65a", "score": "0.41602096", "text": "public List<IFile> checkAllMD5Digest()\n\t{\n\t\tList<IFile> list = new ArrayList<IFile>();\n\t\tIProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();\n\t\tfor (IProject prj : projects)\n\t\t{\n\t\t\tif (Utils.isSoftwareTestingProject(prj))\n\t\t\t{\n\t\t\t\tList<IFile> iFiles = Utils.getAllCasesInProject(prj);\n\t\t\t\tfor (IFile file : iFiles)\n\t\t\t\t{\n\t\t\t\t\tif (!this.checkMD5Digest(file))\n\t\t\t\t\t{\n\t\t\t\t\t\tlist.add(file);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\t}", "title": "" }, { "docid": "fd50185ad94cf29a8d5c2d863cb86c2f", "score": "0.41558397", "text": "public build.bazel.remote.execution.v2.Digest getCommandDigest() {\n return commandDigest_ == null ? build.bazel.remote.execution.v2.Digest.getDefaultInstance() : commandDigest_;\n }", "title": "" }, { "docid": "c61b9366ec092f8384a56a96587486ff", "score": "0.41519696", "text": "public String getDigest() {\r\n if (digest == null) {\r\n MessageDigest md;\r\n try {\r\n md = MessageDigest.getInstance(\"SHA-1\");\r\n } catch (NoSuchAlgorithmException e) {\r\n throw new RuntimeException(e);\r\n }\r\n \r\n byte[] digestBytes = md.digest(contents.getBytes(StandardCharsets.UTF_8));\r\n digest = Base64.getUrlEncoder().encodeToString(digestBytes);\r\n }\r\n return digest;\r\n }", "title": "" }, { "docid": "a56298a6d223921f5bb44d94aa15f8b9", "score": "0.41458926", "text": "public static File getRootDirectory() {\n return new File(Jenkins.get().getRootDir(), SUPPORT_DIRECTORY_NAME);\n }", "title": "" }, { "docid": "6bc4c52a5121b865fb3ba8712ac58e27", "score": "0.41392115", "text": "public int getDigestSize()\r\n\t{\r\n\t\treturn digestLength;\r\n\t}", "title": "" }, { "docid": "fdb1ed1c842c42de49604bbd2a510897", "score": "0.4138552", "text": "private NestDigest analyze() throws IOException {\n for (FileContentProvider<? extends InputStream> inputClassFile : inputFileContents) {\n if (inputClassFile.isClassFile()) {\n try (InputStream inputStream = inputClassFile.get()) {\n ClassReader cr = new ClassReader(inputStream);\n CrossMateMainCollector cv =\n new CrossMateMainCollector(classMemberRecord, classAttributeRecord);\n cr.accept(cv, 0);\n }\n }\n }\n\n return NestDigest.builder()\n .setClassMemberRecord(classMemberRecord.build().filterUsedMemberWithTrackedDeclaration())\n .setClassAttributeRecord(classAttributeRecord.build())\n .build();\n }", "title": "" }, { "docid": "26bb4a8d8fec4a61d242691657c0aae2", "score": "0.4130951", "text": "public static ArrayList<Integer> computeHashes(String path, String initalNameOfCHunk) {\r\n\t\tArrayList<Integer> hashes = new ArrayList<Integer>();\r\n\t\t\r\n\t\tlog.debug(\"Computing hashes...\");\r\n\t\tlong time = System.currentTimeMillis();\r\n\t\t\r\n\t\tChecksum32 c32 = new Checksum32();\r\n\t\tint i = 0;\r\n\t\twhile((new File(path + initalNameOfCHunk + \".\" + i)).exists()) {\r\n\t\t\tbyte[] chunk = FileUtils.getBytesFromFile(path + initalNameOfCHunk + \".\" + i);\r\n\t\t\tc32.check(chunk, 0, chunk.length);\r\n\t\t\thashes.add(c32.getValue());\r\n\t\t\ti++;\r\n\t\t}\r\n\t\tlog.debug(\"Computed hashes of \" + i + \" chunks in \" + (System.currentTimeMillis() - time) + \" miliseconds\");\r\n\t\treturn hashes;\r\n\t}", "title": "" }, { "docid": "cc7871cf1909b19341bc7342cfa71061", "score": "0.41212854", "text": "void transform() throws IOException, NoSuchAlgorithmException {\n Main main = new Main();\n String line;\n BufferedReader reader = new BufferedReader(new FileReader(md5));\n File[] array = temp.listFiles();\n String files[] = Arrays.stream(array).map(File::getAbsolutePath)\n .toArray(String[]::new);\n rootfile += \"\\\\\";\n int i = 0;\n for(String a : files){\n a = a.replace(rootfile,\"\");\n finalstr.add(i,\" *\" + a);\n i++;\n }\n\n i = 0;\n for (String a : files) {\n a = main.md5(a);\n files[i] = a;\n i++;\n }\n for (i = 0;i<files.length;i++) {\n finalstr.set(i,files[i] + finalstr.get(i));\n }\n\n while ((line = reader.readLine()) != null) {\n lines.add(line);\n }\n\n // String[] md5hashes = lines.toArray(new String[lines.size()]);\n //check for equality\n int z = 0;\n for( i=1;i<lines.size();i++){\n state.add(false);\n for(int k=0;k<finalstr.size();k++){\n if(lines.get(i).equals(finalstr.get(k))) {\n state.set(i - 1, true);\n names.add(lines.get(i).substring(33));\n hashes.add(finalstr.get(k).replace(names.get(z),\"\"));\n System.out.println(hashes.get(z));\n z++;\n }\n }\n }\n System.out.println(state);\n\n\n }", "title": "" }, { "docid": "0872df16ebea228e173ec4d2d0f69fbf", "score": "0.41092876", "text": "public String getChecksumDigest() {\n\t\treturn checksumDigest;\n\t}", "title": "" }, { "docid": "6b32a396714a88ac12fb86e5b8ab50d9", "score": "0.41087922", "text": "public static Promise<byte[]> digestAndDiscardInput(final AInput<ByteBuffer> input, final String digest) {\n final Promise<byte[]> rc = new Promise<>();\n final ByteBuffer buffer = ByteBuffer.allocate(IOUtil.DEFAULT_BUFFER_SIZE);\n return IOUtil.BYTE.discard(digestInput(input, rc.resolver()).using(digest), buffer).thenPromise(rc);\n }", "title": "" }, { "docid": "1b1b7363f27914e6447e66b787bad8c9", "score": "0.41012236", "text": "private static Set<String> computeAffectedFilesForMaster(Git git, Project rootProject)\n throws IOException {\n ObjectId oldTreeId = git.getRepository().resolve(\"HEAD^{tree}\");\n ObjectId newTreeId = git.getRepository().resolve(\"HEAD^^{tree}\");\n\n final CanonicalTreeParser oldTreeParser;\n final CanonicalTreeParser newTreeParser;\n try (ObjectReader reader = git.getRepository().newObjectReader()) {\n oldTreeParser = parser(reader, oldTreeId);\n newTreeParser = parser(reader, newTreeId);\n }\n\n return computeAffectedFiles(git, oldTreeParser, newTreeParser, rootProject);\n }", "title": "" }, { "docid": "fcd5a80ca69a8d337fcdc998d20a50a4", "score": "0.4089197", "text": "public byte[] getDigest() {\n return mDigest;\n }", "title": "" }, { "docid": "0fd97fd5d1c42ee00fd55367d7acb232", "score": "0.40846762", "text": "public File getInitialDirectory() {\n\t\treturn initialDirectory.get();\n\t}", "title": "" }, { "docid": "4eafd1f252b0a67c0cad5d049d183d7c", "score": "0.4078552", "text": "public DirectoryBlock getRootDirectoryBlock() {\n return rootBlock;\n }", "title": "" }, { "docid": "7287705fc2ef306fa6e31e334e033ea9", "score": "0.40680078", "text": "ISourceFolderRoot[] getAllSourceFolderRoots() throws RubyModelException;", "title": "" }, { "docid": "e5b4410c853ff5b15df74c38df0d4e2c", "score": "0.4067942", "text": "public build.bazel.remote.execution.v2.Digest getCommandDigest() {\n if (commandDigestBuilder_ == null) {\n return commandDigest_ == null ? build.bazel.remote.execution.v2.Digest.getDefaultInstance() : commandDigest_;\n } else {\n return commandDigestBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "88d82be4c15acb93e818668daf9f374d", "score": "0.40645513", "text": "public String getInternalRoot() {\r\n if (supportsFileAccess())\r\n return contextWrapper.getFilesDir().getAbsolutePath();\r\n else\r\n return null;\r\n }", "title": "" }, { "docid": "328ca7b3ce27522e7ff5be96005c3cb4", "score": "0.4059329", "text": "private static File getInitialDirectory() {\n final Preferences preferences = Preferences.userNodeForPackage(SchemaValidator.class);\n final String path = preferences.get(INITIAL_DIRECTORY_PREFERENCE_KEY, \".\");\n\n return new File(path);\n }", "title": "" }, { "docid": "2437d985dcad144ee49cd6d4fd666cc0", "score": "0.40579364", "text": "@Test\n\tpublic void test_00() throws IOException {\n\t\tfinal Path path = root;\n\t\tsystem.mkdirs(path);\n\t\tFileStatus[] status = system.listStatus(root);\n\t\tassumeThat(status, arrayWithSize(0));\n\n\t\tfinal JobConf conf = new JobConf();\n\t\tfinal LatestSubFolderHfs folderHfs = new LatestSubFolderHfs(new NullScheme<>(), root.toString());\n\t\tfolderHfs.sourceConfInit(null, conf);\n\n\t\tassertThat(conf.get(FileInputFormat.INPUT_DIR), endsWith(path.toString()));\n\t}", "title": "" }, { "docid": "a83b0c375dc58a8f4366c1706ce17785", "score": "0.40460554", "text": "public static void calculateShareFileThexData(ShareFile shareFile) throws IOException {\n if (shareFile.getThexData(null) != null) {\n return;\n }\n long fileSize = shareFile.getFileSize();\n int levels = getTreeLevels(fileSize);\n int nodeSize = getTreeNodeSize(fileSize, levels);\n BufferedInputStream inStream = new BufferedInputStream(new FileInputStream(shareFile.getSystemFile()));\n List<byte[]> lowestLevelNodes = calculateTigerTreeNodes(nodeSize, fileSize, inStream);\n List<List<byte[]>> merkleTreeNodes = calculateMerkleParentNodes(lowestLevelNodes);\n byte[] rootHash = merkleTreeNodes.get(0).get(0);\n int depth = merkleTreeNodes.size() - 1;\n ShareFileThexData data = new ShareFileThexData(rootHash, lowestLevelNodes, depth);\n shareFile.setThexData(data);\n }", "title": "" }, { "docid": "06859f5ad0fd4630eae443f1dc85525e", "score": "0.40403646", "text": "public RootInputStream(InputStream is) {\n this.is = is;\n }", "title": "" }, { "docid": "e10f4beac99cd15dd732d2a37c405568", "score": "0.40345782", "text": "public Builder setStateRootHash(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n stateRootHash_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f4a8a13dd5bece556bf7345c98d0644c", "score": "0.40272853", "text": "RepositoryGit(String rootPath)\n {\n super(rootPath);\n }", "title": "" }, { "docid": "771cf2b78ea612fc21b13c0cccd00775", "score": "0.4023939", "text": "public Builder setAccountStateRootHash(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n accountStateRootHash_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "216a01614883d34d1b9491a618f3ced0", "score": "0.40232784", "text": "private static String getFileChecksum(MessageDigest digest, File file) throws IOException\n\t{\n\t FileInputStream fis = new FileInputStream(file);\n\t \n\t //Create byte array to read data in chunks\n\t byte[] byteArray = new byte[1024];\n\t int bytesCount = 0; \n\t \n\t //Read file data and update in message digest\n\t while ((bytesCount = fis.read(byteArray)) != -1) {\n\t digest.update(byteArray, 0, bytesCount);\n\t };\n\t \n\t //close the stream; We don't need it now.\n\t fis.close();\n\t \n\t //Get the hash's bytes\n\t byte[] bytes = digest.digest();\n\t \n\t //This bytes[] has bytes in decimal format;\n\t //Convert it to hexadecimal format\n\t StringBuilder sb = new StringBuilder();\n\t for(int i=0; i< bytes.length ;i++)\n\t {\n\t sb.append(Integer.toString((bytes[i] & 0xff) + 0x100, 16).substring(1));\n\t }\n\t \n\t //return complete hash\n\t return sb.toString();\n\t}", "title": "" }, { "docid": "97c7c06c3f469dac19dab621c3fc7982", "score": "0.40225887", "text": "public final JkFileTree baseDir() {\r\n return JkFileTree.of(baseDir);\r\n }", "title": "" }, { "docid": "e944e153118dbee279621c2b497354c9", "score": "0.40217584", "text": "protected DigestingInput(final AInput<ByteBuffer> wrapped, final AResolver<byte[]> resolver,\n final MessageDigest digest) {\n super(wrapped, resolver, digest);\n }", "title": "" }, { "docid": "c4c974b954b7d41d16753c148d336a05", "score": "0.40149283", "text": "public static void init(File root) {\n\t\troot.mkdirs();\n\t}", "title": "" }, { "docid": "76ecd19639134657c06cb39d6be5d884", "score": "0.400881", "text": "private static String getFileChecksum(MessageDigest digest, File file) throws IOException\n {\n FileInputStream fis = new FileInputStream(file);\n\n //Create byte array to read data in chunks\n byte[] byteArray = new byte[1024];\n int bytesCount = 0;\n\n //Read file data and update in message digest\n while ((bytesCount = fis.read(byteArray)) != -1) {\n digest.update(byteArray, 0, bytesCount);\n };\n\n //close the stream; We don't need it now.\n fis.close();\n\n //Get the hash's bytes\n byte[] bytes = digest.digest();\n\n //This bytes[] has bytes in decimal format;\n //Convert it to hexadecimal format\n StringBuilder sb = new StringBuilder();\n for(int i=0; i< bytes.length ;i++)\n {\n sb.append(Integer.toString((bytes[i] & 0xff) + 0x100, 16).substring(1));\n }\n\n //return complete hash\n return sb.toString();\n }", "title": "" }, { "docid": "48d8fc5eb7460439eb1d3cf95d5eaaa8", "score": "0.4008809", "text": "public FileLocationConfiguration(String root) {\n this.root = root;\n }", "title": "" }, { "docid": "0a125071384fd2d6c9b97260251ddb31", "score": "0.4003318", "text": "public void execute(Directory dir, String input, Stack Holder) {\n input = input.trim().substring(2);\n String path[] = input.trim().split(\"\\\\s+\");\n for (String paths : path) {\n if (!path[0].contains(\"-R\") && !path[0].contains(\"-r\")) {\n System.out.println(listDir(dir, paths));\n } else {\n if (path.length < 2) {\n System.out.println(recursivelyListAllDir(dir));\n } else {\n if (paths.equals(\"-R\") || paths.equals(\"-r\")) {\n } else if (dir.peekType(paths).equals(\"File\")) {\n System.out.println(paths);\n } else {\n String dirHolder = dir.workingDir();\n Cd.switchDir(dir, paths);\n System.out.println(recursivelyListAllDir(dir));\n dir.changeCurrentDir(dirHolder);\n }\n }\n }\n }\n }", "title": "" }, { "docid": "e93501401be6061be92c4e882f073cd8", "score": "0.39999723", "text": "private void generateDirTree(File rootDirectory) {\n // generate user directories\n ListDataProvider<File> files = new ListDataProvider<File>();\n\n for (int i = 0; i < Math.max(10, Random.nextInt(20)); i++) {\n File f = new File(FileType.DIRECTORY);\n f.setName(nextValue(USER_DIRECTORY_NAME));\n f.setParent(rootDirectory);\n files.getList().add(f);\n // generate Event sub directories\n generateDirContent(f, 0, Math.max(5, Random.nextInt(MAX_DIR_NBR)));\n\n }\n filesByDirectory.put(rootDirectory, files);\n\n }", "title": "" }, { "docid": "aaab4cb4193d6ef32eebe7cc31b4eb52", "score": "0.39776495", "text": "public static void initOutputStructure(String inputFileName){\n File inputFile = new File(inputFileName);\n String structureFileName = inputFile.getName().replace(\".txt\", \"\");\n File structureMainFolder = new File(structureFileName);\n if(structureMainFolder.exists()){\n try{\n deleteDirectoryRecursion(structureMainFolder.toPath());\n }catch(IOException e){\n System.err.println(\"FAILED TO DELETE LAST OUTPUT STRUCTURE!\");\n System.err.println(e.toString());\n System.exit(1);\n }\n }\n if(!structureMainFolder.mkdir()){\n System.err.println(\"FAILED TO INIT OUTPUT STRUCTURE!\");\n System.exit(1);\n }\n\n outputRootDirectory = structureFileName+\"/\";\n }", "title": "" }, { "docid": "a6e26985e5ce98809a2478cc2c7efb28", "score": "0.39761496", "text": "private List<String> getRootfiles( ZipInputStream zipStream ) throws Exception {\n List<String> rootfiles = new ArrayList<>();\n ZipEntry entry = null;\n while ((entry = zipStream.getNextEntry()) != null) {\n String entryName = entry.getName();\n if (entryName.endsWith(\"META-INF/container.xml\")) {\n ByteArrayOutputStream content = getZipEntryContent(zipStream, entry);\n\n DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n DocumentBuilder builder = factory.newDocumentBuilder();\n Document doc = builder.parse(new ByteArrayInputStream(content.toByteArray()));\n\n XPathFactory xPathfactory = XPathFactory.newInstance();\n XPath xpath = xPathfactory.newXPath();\n XPathExpression expr = xpath.compile(\"/container/rootfiles/rootfile\");\n NodeList rootfileNodes = (NodeList) expr.evaluate(doc, XPathConstants.NODESET);\n\n for (int i = 0; i < rootfileNodes.getLength(); i++) {\n Node node = rootfileNodes.item(i);\n rootfiles.add(node.getAttributes().getNamedItem(\"full-path\").getNodeValue());\n }\n break;\n }\n }\n return rootfiles;\n }", "title": "" }, { "docid": "07fe75592c230b04888cb7d717e56a03", "score": "0.39759448", "text": "public String hashMe() {\n String filesString = \"\";\n if (_fileToBlob != null) {\n filesString = _fileToBlob.toString();\n }\n return Utils.sha1(_message, filesString,\n _timeStamp, _parentCommit, Arrays.toString(_parentCommits));\n }", "title": "" }, { "docid": "a02d9fac105d2705eab124f97395e481", "score": "0.39628437", "text": "File getParentTempDirectoryRoot();", "title": "" }, { "docid": "95738d87a5a2cadfeecb8a5f58bc7496", "score": "0.39505795", "text": "public int getDigestLength()\r\n/* 18: */ {\r\n/* 19: 64 */ return 32;\r\n/* 20: */ }", "title": "" }, { "docid": "a08c87a43a917645e384a987031b2740", "score": "0.3945229", "text": "byte[] getMd5Sum();", "title": "" }, { "docid": "0cce097960363caf98b08fab8e17c337", "score": "0.39359522", "text": "@Override\n protected void createRootDir() {\n }", "title": "" }, { "docid": "ddc9481ba98b257733a7b56aee1310ea", "score": "0.39291066", "text": "public Tree findAllInputs(String ontologyUri,String rootClass){\n \n return reasoner.findAllInputs(ontologyUri,rootClass);\n \n }", "title": "" }, { "docid": "5a107f3eee4dd0cb2998fd907d1d251e", "score": "0.39243117", "text": "public File getBaseDirectory()\n {\n return m_context.getInitialWorkingDirectory();\n }", "title": "" }, { "docid": "8610f46d20d6928d6902dc93bd27446e", "score": "0.3923362", "text": "public void setRoot(String root_dir)\n {\n try {\n File new_file = new File(root_dir);\n m_root = new_file.getCanonicalPath();\n } catch (IOException ex) {\n Logger.getLogger(Paths.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "title": "" }, { "docid": "c82d12b61a29fb9a0fd036f369967e57", "score": "0.39226666", "text": "@Test\n public void testFile()\n throws Exception\n {\n File base_dir = test_folder.newFolder();\n Path base_p = base_dir.toPath();\n\n String norm = Normalizer.normalize(input_string, Normalizer.Form.NFKC);\n\n File n = new File(base_dir, norm);\n\n n.mkdir();\n //Path sub_p = n.toPath();\n //Files.createDirectory(sub_p);\n\n System.out.println(\"Base dir: \" + base_dir);\n System.out.println(\"In: \" + MiscUtils.getStringCodePoints(n.getName()));\n \n for (Iterator<Path> i = Files.newDirectoryStream(base_p).iterator(); i.hasNext(); ) \n {\n Path p = i.next();\n System.out.println(\"Path: \" + p.toString());\n\n }\n\n for(File f : base_dir.listFiles())\n {\n String name = \"\" + \"/\" + f.getName();\n System.out.println(\"Name: \" + MiscUtils.getStringCodePoints(name));\n //Assert.assertTrue(name.contains(input_string));\n\n }\n\n\n }", "title": "" }, { "docid": "33d70e628c132ba61e92e6670c74aa59", "score": "0.392077", "text": "public HashStorageLayout(OSDConfig config, MetadataCache cache, String hashAlgo, int maxSubdirsPerDir,\n int maxDirDepth) throws IOException {\n \n super(config, cache);\n \n /*\n * if (hashAlgo.equals(JAVA_HASH)) { this.hashAlgo = new JavaHash();\n * }else if (hashAlgo.equals(SDBM_HASH)) { this.hashAlgo = new SDBM(); }\n */\n \n this.checksumsEnabled = config.isUseChecksums();\n if (config.isUseChecksums()) {\n \n // get the algorithm from the factory\n try {\n checksumAlgo = ChecksumFactory.getInstance().getAlgorithm(config.getChecksumProvider());\n if (checksumAlgo == null)\n throw new NoSuchAlgorithmException(\"algo is null\");\n } catch (NoSuchAlgorithmException e) {\n Logging.logMessage(Logging.LEVEL_ERROR, Category.db, this,\n \"could not instantiate checksum algorithm '%s'\", config.getChecksumProvider());\n Logging.logMessage(Logging.LEVEL_ERROR, Category.db, this,\n \"OSD checksums will be switched off\");\n }\n }\n \n if (maxSubdirsPerDir != 0) {\n this.prefixLength = Integer.toHexString(maxSubdirsPerDir).length();\n } else {\n this.prefixLength = Integer.toHexString(DEFAULT_SUBDIRS).length();\n }\n \n if (maxDirDepth != 0) {\n this.hashCutLength = maxDirDepth * this.prefixLength;\n } else {\n this.hashCutLength = DEFAULT_MAX_DIR_DEPTH * this.prefixLength;\n }\n \n if (Logging.isDebug()) {\n Logging.logMessage(Logging.LEVEL_DEBUG, this,\"initialized with checksums=%s prefixLen=%d\",this.checksumsEnabled,this.prefixLength);\n }\n \n _stat_fileInfoLoads = 0;\n }", "title": "" }, { "docid": "b962055080b283ad8f0337af3c868688", "score": "0.39152998", "text": "public String hash(String input) {\r\n\r\n\t\tmd.update(input.getBytes());\r\n\r\n\t\tbyte byteData[] = md.digest();\r\n\r\n\t\t//convert the byte to hex format\r\n\t\tStringBuffer sb = new StringBuffer();\r\n\t\tfor (int i = 0; i < byteData.length; i++) {\r\n\t\t\tsb.append(Integer.toString((byteData[i] & 0xff) + 0x100, 16).substring(1));\r\n\t\t}\r\n\r\n\t\treturn sb.toString();\r\n\t}", "title": "" }, { "docid": "a60c9837b0bc1a2ea458280c9a82971b", "score": "0.3896208", "text": "@Test\n\tpublic void testExpandRootDirectory() throws IOException {\n\t\tFile roots[] = FilesUtil.expand(new File(\"/*\"));\n\t\tFile file = null;\n\t\tfor (File possible : roots) {\n\t\t\tif (possible.isDirectory()) {\n\t\t\t\tfile = possible;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (file == null) {\n\t\t\tthrow new RuntimeException(\"No root directories - how can that be?\");\n\t\t}\n\t\t\n\t\tFile files[] = FilesUtil.expand(file);\n\t\t\n\t\tlogger.info(file + \" expands to \" + Arrays.toString(files));\n\t\t\n\t\tassertEquals(1, files.length);\n\t}", "title": "" }, { "docid": "5ab6b7dea77f2a02868ae1981648b6c7", "score": "0.38930765", "text": "public String getRootPath()\n {\n return _rootPath.toString();\n }", "title": "" }, { "docid": "107e0db52e7e439a88f4202bff365885", "score": "0.38920483", "text": "com.google.protobuf.ByteString getAccountStateRootHash();", "title": "" }, { "docid": "541c9cfe55e92ac4d7eae10e5dd61f06", "score": "0.38903034", "text": "protected List<File> findModuleRoots() {\n\n\t\tgetLog().debug(\"Scanning \" + modulesRoot.getAbsolutePath() + \" for Modulefile files\");\n\t\tList<File> moduleRoots = new ArrayList<File>();\n\t\tif(findModuleFiles(modulesRoot.listFiles(), moduleRoots)) {\n\t\t\t// The repository is a module in itself\n\t\t\tgetLog().debug(\"Found module in \" + modulesRoot.getAbsolutePath());\n\t\t\tmoduleRoots.add(modulesRoot);\n\t\t}\n\t\treturn moduleRoots;\n\t}", "title": "" }, { "docid": "6c16d230d17203e93b9dcecb728b6b1a", "score": "0.38861153", "text": "public void setInputDirectory(String basePath) {\n this.basePlansPath = Paths.get(basePath, OLD_DEFAULT_PLANS_FOLDER).normalize().toFile().toString();\n this.baseRolesPath = Paths.get(basePath, OLD_DEFAULT_ROLES_FOLDER).normalize().toFile().toString();\n this.baseTasksPath = Paths.get(basePath, OLD_DEFAULT_TASKS_FOLDER).normalize().toFile().toString();\n this.inputDirectoriesSet = true;\n }", "title": "" }, { "docid": "37c4e0e29e6805799eb4df3326d08912", "score": "0.3879653", "text": "public static DigestFactory<AInput<ByteBuffer>> digestInput(final AInput<ByteBuffer> input,\n final AResolver<byte[]> resolver) {\n return new DigestFactory<AInput<ByteBuffer>>(input, resolver) {\n @Override\n protected AInput<ByteBuffer> make(final AInput<ByteBuffer> digestedStream,\n final AResolver<byte[]> resolver,\n final MessageDigest digest) {\n return new DigestingInput(digestedStream, resolver, digest).export();\n }\n };\n }", "title": "" }, { "docid": "93f79dfb5697ad146c73690d1d329305", "score": "0.38668454", "text": "public void buildDirectory() {\r\n\t\tPersistReader reader = null;\r\n\r\n\t\ttry {\r\n\t\t\treader = new PersistReader(this.filePrimary);\r\n\t\t\tfinal Map<String, String> header = reader.readHeader();\r\n\t\t\tif (header != null) {\r\n\t\t\t\tthis.fileVersion = Integer.parseInt(header.get(\"fileVersion\"));\r\n\t\t\t\tthis.encogVersion = header.get(\"encogVersion\");\r\n\t\t\t\tthis.platform = header.get(\"platform\");\r\n\t\t\t}\r\n\t\t\tfinal Set<DirectoryEntry> d = reader.buildDirectory();\r\n\t\t\tthis.directory.clear();\r\n\t\t\tthis.directory.addAll(d);\r\n\t\t} finally {\r\n\t\t\tif (reader != null) {\r\n\t\t\t\treader.close();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d2351f8ac0325be782061fd22c124109", "score": "0.3858211", "text": "private void calculateHash(Executable exec) throws IOException {\r\n FileInputStream in = new FileInputStream(exec.getPath());\r\n byte[] bytes = new byte[1000];\r\n ByteArrayOutputStream fileBytes = new ByteArrayOutputStream();\r\n int bytesRead = 0;\r\n bytesRead = in.read(bytes);\r\n while (bytesRead != -1) {\r\n fileBytes.write(bytes, 0, bytesRead);\r\n bytesRead = in.read(bytes);\r\n }\r\n MessageDigest digest;\r\n String hash = \"\";\r\n try {\r\n digest = MessageDigest.getInstance(\"MD5\");\r\n digest.update(fileBytes.toByteArray());\r\n byte[] hashBytes = digest.digest();\r\n StringBuilder builder = new StringBuilder();\r\n for (int i = 0; i < hashBytes.length; i++) {\r\n builder.append(Byte.toString(hashBytes[i]));\r\n }\r\n hash = new String(builder.toString());\r\n exec.setHash(hash);\r\n\r\n }\r\n catch (NoSuchAlgorithmException e) {\r\n // Not expected to occur\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "5d72a6a3134183e3d00c2c82fd1ebf61", "score": "0.38575378", "text": "private String getFileDigest(File file) throws IOException {\n if (file == null)\n throw new IllegalArgumentException(\"File must not be null\");\n if (!file.exists() || !file.isFile())\n throw new IllegalArgumentException(\"File \" + file.getAbsolutePath() + \" can not be read\");\n\n // Check if there is a precalculated md5 hash\n File md5HashFile = getMd5File(file);\n if (file.exists()) {\n logger.trace(\"Reading precalculated hash for {} from {}\", file, md5HashFile.getName());\n return FileUtils.readFileToString(md5HashFile, \"utf-8\");\n }\n\n // Calculate the md5 hash\n InputStream in = null;\n String md5 = null;\n try {\n in = new FileInputStream(file);\n md5 = DigestUtils.md5Hex(in);\n } finally {\n IOUtils.closeQuietly(in);\n }\n\n // Write the md5 hash to disk for later reference\n try {\n FileUtils.writeStringToFile(md5HashFile, md5, \"utf-8\");\n } catch (IOException e) {\n logger.warn(\"Error storing cached md5 checksum at {}\", md5HashFile);\n throw e;\n }\n\n return md5;\n }", "title": "" }, { "docid": "9a6f72d467efdc4cbf6e18732038dacc", "score": "0.38530326", "text": "public String getInputPath() {\r\n\t\treturn AhPerformanceScheduleModule.fileDirPathCurrent + File.separator\r\n\t\t+ getDomain().getDomainName() + File.separator + getLocalFileName();\r\n\t}", "title": "" }, { "docid": "ef9cc572ecf5e0f10930c32be08a85c0", "score": "0.38529512", "text": "private Map<String, Collection<File>> findAllFiles(File root) throws DataSourceException, IOException {\n if (root.isDirectory()) {\n // Scan all files under this dir (exclude dot files)\n File[] files = root.listFiles((dir, name) -> !name.startsWith(\".\"));\n if (files == null) {\n throw new IOException(\"cannot list files under \" + root.getPath());\n }\n if (Arrays.stream(files).allMatch(File::isFile)) {\n return ImmutableMap.of(root.getName(), Arrays.asList(files));\n } else if (Arrays.stream(files).allMatch(File::isDirectory)) {\n // Find in sub-directory recursively\n ImmutableMap.Builder<String, Collection<File>> builder = ImmutableMap.builder();\n for (File dir : files) {\n Map<String, Collection<File>> fileInDir = findAllFiles(dir);\n for (Map.Entry<String, Collection<File>> e : fileInDir.entrySet()) {\n // Inner files are named with 'path/to/the/file'\n builder.put(root.getName() + '/' + e.getKey(), e.getValue());\n }\n }\n return builder.build();\n } else {\n throw new DataSourceException(\"Invalid directory structure\");\n }\n } else {\n // Single text file\n final String fileName = root.getName();\n String table = fileName.substring(0, fileName.indexOf('.'));\n return ImmutableMap.of(table, Collections.singleton(root));\n }\n }", "title": "" }, { "docid": "29832ea7752d885282343c608812e017", "score": "0.38526878", "text": "public String getDigest() {\n\t\treturn DigestUtil.digest(\"MD5\", file, 16);\n\t}", "title": "" }, { "docid": "7fa630e5026c7fa84391b6bee6506464", "score": "0.38508087", "text": "public FileStructure() {\n\t\troot = new FileNode(\"/\");\n\t\tcurrentNode = root;\n\t}", "title": "" }, { "docid": "856bc86badbfb98e0fe9ab9092274fba", "score": "0.38431105", "text": "MD5Hash getImageDigest() {\n return imageDigest;\n }", "title": "" } ]
d9aa062c1c165b8d917e569d24e1b49f
Returning starting point latitude and longitude
[ { "docid": "8ec8a43b9b6ccd8e4185a8eedaba8a2b", "score": "0.0", "text": "double getLat(){\n return this.lat;\n }", "title": "" } ]
[ { "docid": "a454a4539d3f926ac2912b1ece0dbc49", "score": "0.73681796", "text": "double getLat();", "title": "" }, { "docid": "a454a4539d3f926ac2912b1ece0dbc49", "score": "0.73681796", "text": "double getLat();", "title": "" }, { "docid": "263ec42390bdffb6316360a7c2d3c8da", "score": "0.7234166", "text": "Point2D getStartPoint();", "title": "" }, { "docid": "dd9118a2ab05f51a8270207b0be52e78", "score": "0.7211727", "text": "float getLat();", "title": "" }, { "docid": "ff12df97a2376450372eecf1f147f1b5", "score": "0.71211386", "text": "public double getLat();", "title": "" }, { "docid": "dd0a73bfd8aca3564832362b086fc59c", "score": "0.70525753", "text": "int getLocationLatitude();", "title": "" }, { "docid": "dd0a73bfd8aca3564832362b086fc59c", "score": "0.70525753", "text": "int getLocationLatitude();", "title": "" }, { "docid": "811f47b2048a3a60a0cbe778bc37bd9f", "score": "0.6960278", "text": "double getLatitude();", "title": "" }, { "docid": "811f47b2048a3a60a0cbe778bc37bd9f", "score": "0.6960278", "text": "double getLatitude();", "title": "" }, { "docid": "811f47b2048a3a60a0cbe778bc37bd9f", "score": "0.6960278", "text": "double getLatitude();", "title": "" }, { "docid": "811f47b2048a3a60a0cbe778bc37bd9f", "score": "0.6960278", "text": "double getLatitude();", "title": "" }, { "docid": "811f47b2048a3a60a0cbe778bc37bd9f", "score": "0.6960278", "text": "double getLatitude();", "title": "" }, { "docid": "0da7eee697951233750e9ba084c70f60", "score": "0.6801754", "text": "int getLatitude();", "title": "" }, { "docid": "4f979621c6a63930d6f9845b01545874", "score": "0.6782822", "text": "public double lat() { return clat; }", "title": "" }, { "docid": "bd004232767213660f533b70f54438bb", "score": "0.67305684", "text": "public Point getStartPoint()\r\n\t{\r\n\t\treturn start;\r\n\t}", "title": "" }, { "docid": "475d37e06a978c06304b5420fba355f2", "score": "0.6678308", "text": "public double getLng();", "title": "" }, { "docid": "9aa41942fada1b8f4135b134c3cba89b", "score": "0.6621883", "text": "double getLon();", "title": "" }, { "docid": "9aa41942fada1b8f4135b134c3cba89b", "score": "0.6621883", "text": "double getLon();", "title": "" }, { "docid": "9aa41942fada1b8f4135b134c3cba89b", "score": "0.6621883", "text": "double getLon();", "title": "" }, { "docid": "70c5dfb40b7387b312cca4ab5b8791e8", "score": "0.6610631", "text": "int getLocationLongitude();", "title": "" }, { "docid": "70c5dfb40b7387b312cca4ab5b8791e8", "score": "0.6610631", "text": "int getLocationLongitude();", "title": "" }, { "docid": "862aee91c1f0dd427dbd374bb181fec9", "score": "0.659892", "text": "double getStartx();", "title": "" }, { "docid": "bca1b46fd107d80cf4ac8193154bb7b9", "score": "0.657255", "text": "public Point getLocation();", "title": "" }, { "docid": "bca1b46fd107d80cf4ac8193154bb7b9", "score": "0.657255", "text": "public Point getLocation();", "title": "" }, { "docid": "121d183158d57d2e1530f92760535da9", "score": "0.65299153", "text": "tutorial_59_smart_phone get_latitude();", "title": "" }, { "docid": "c862831f35415cf04e0c2cace635e465", "score": "0.6518617", "text": "float getLon();", "title": "" }, { "docid": "88b67feea1913f7e45b7005807b6792f", "score": "0.6515504", "text": "public double getMinLat() {\n \treturn Coordinates.getGeoPos(maxX, maxY).getLatitude();\n }", "title": "" }, { "docid": "92c9dc2d766e1f955c60576a5a577a65", "score": "0.65028274", "text": "public static LatLonPoint csLatLng() {\n LatLonPoint latLonPoint = getArrayLatlon().get(index);\n if (++index >= 5) index = 0;\n FELog.i(\"cslocation\", \"-->>>>csLocation:-index:\" + index);\n return latLonPoint;\n }", "title": "" }, { "docid": "f2d07197fe1154d49545bddf29564aff", "score": "0.6444816", "text": "public double getLat(double x, double y) {\n\t\treturn mInterpLat.interpolate(x, y);\n\t}", "title": "" }, { "docid": "a6b0e0c936b8d5ff24005cf5cbc324bb", "score": "0.6427562", "text": "int getLongitude();", "title": "" }, { "docid": "738e147ad37998a4a27154df37ccdc7a", "score": "0.6423252", "text": "public Point getStartPoint() {\n return startPoint;\n }", "title": "" }, { "docid": "1b5f8bf83238a5ad427e27aa3cfdab6e", "score": "0.6414404", "text": "int getGpsStart();", "title": "" }, { "docid": "f9c3071c7a05107b64ff3f5efc8d15f9", "score": "0.6412706", "text": "public float getLat1() {\r\n return map.getNode(y1).getLat();\r\n }", "title": "" }, { "docid": "2eb7eb1d42eddb92f65b28a254c1fb7b", "score": "0.64005816", "text": "public Point findStart(){\n Point start = new Point(0, 0);\n for(int y = 4; y >= 0; y--){\n for(int x = 0; x < 5; x++){\n if(map[x][y] == 's') {\n start.setLocation(x,y);\n revealed[x][y] = true;\n break;\n }\n }\n }\n return start;\n }", "title": "" }, { "docid": "0293de4b73ee8c77a35e589fac96d992", "score": "0.6380627", "text": "double getLongitude();", "title": "" }, { "docid": "0293de4b73ee8c77a35e589fac96d992", "score": "0.6380627", "text": "double getLongitude();", "title": "" }, { "docid": "0293de4b73ee8c77a35e589fac96d992", "score": "0.6380627", "text": "double getLongitude();", "title": "" }, { "docid": "0293de4b73ee8c77a35e589fac96d992", "score": "0.6380627", "text": "double getLongitude();", "title": "" }, { "docid": "0293de4b73ee8c77a35e589fac96d992", "score": "0.6380627", "text": "double getLongitude();", "title": "" }, { "docid": "6e5df3af1b4c0200f49e8a8cc8a0fa0a", "score": "0.6368666", "text": "double getStarty();", "title": "" }, { "docid": "077e0138f91fff1475772d1ea4d9550a", "score": "0.6364763", "text": "public double getLat() {\n return lat;\n }", "title": "" }, { "docid": "57765540b692dca65a07a2b003d8e73e", "score": "0.635255", "text": "protected List<Point> getStartingPosition(GridPane grid) { \n\tstartPoints = new ArrayList<Point>();\n\tfor (int x = 0; x < grid.getColumnCount(); x++) {\n\t for (int y = 0; y < grid.getRowCount(); y++) {\n\t\tif (gridCommand.getNode(grid, x, y) != null && ((Label) gridCommand.getNode(grid, x, y)).getText().equals(START)) {\n\t\t startPoints.add(new Point(x, y));\n\t\t}\n\t }\n\t}\n\treturn startPoints;\n }", "title": "" }, { "docid": "1c1f447bdf43d041dcafbf7311668150", "score": "0.63494444", "text": "public double getLat()\n {\n return lat;\n }", "title": "" }, { "docid": "8f5d70ea87ff2258b255e5bafebf6fdb", "score": "0.634664", "text": "public int getInitialPoint()\r\n {\r\n return initialPoint; //returns initial research points\r\n }", "title": "" }, { "docid": "349826523f005b85340f555cff94a30b", "score": "0.6339328", "text": "public Point start() {\r\n return new Point(this.start.getX(), this.start.getY());\r\n }", "title": "" }, { "docid": "f25b154494171ed7ac415941c7fc7d73", "score": "0.63330907", "text": "public LatLng getCenterCoordinate();", "title": "" }, { "docid": "3cf04446a5e090bb92ef718662da3790", "score": "0.63272494", "text": "public Double getLat()\r\n\t{\r\n\t\treturn lat;\r\n\t}", "title": "" }, { "docid": "9ee2d9428ca03dfd9d69089a7d92ec55", "score": "0.6307683", "text": "public Point start() {\n return this.start;\n }", "title": "" }, { "docid": "4db6e0c0bbea6aa8bd40776bff0a4681", "score": "0.6273906", "text": "public double getLat() {\n return lat;\n }", "title": "" }, { "docid": "4db6e0c0bbea6aa8bd40776bff0a4681", "score": "0.6273906", "text": "public double getLat() {\n return lat;\n }", "title": "" }, { "docid": "df2c1bcff2d608c2a3164a7dd17c6c04", "score": "0.6256663", "text": "public Location getStartLocation() {\n\t\treturn startLocation;\n\t}", "title": "" }, { "docid": "4239dada35b0bf5e4dfcb2489fd809a8", "score": "0.6237298", "text": "org.apache.xmlbeans.XmlDouble xgetLatitude();", "title": "" }, { "docid": "7913fd4aa66e5193b85eb6f46558ec81", "score": "0.62288547", "text": "LatLong getLatLong();", "title": "" }, { "docid": "23979aef0568df60c26dff6943028740", "score": "0.6224862", "text": "public double getLat(){\r\n return latitude;\r\n }", "title": "" }, { "docid": "eb073bf19c61b5ef275a0a70b5b9c049", "score": "0.6200459", "text": "public double getLatitude()\n {\n return(trackpoint_.getLatitude());\n }", "title": "" }, { "docid": "dbca75186a514d98e37405fdae831465", "score": "0.61958396", "text": "private double getStartX() {\n\t\treturn Math.min(x1, x2);\n\t}", "title": "" }, { "docid": "ebfe29d6e135a29911addab1ac9a5e4f", "score": "0.6192466", "text": "public Double getLat() {\r\n\t\treturn lat;\r\n\t}", "title": "" }, { "docid": "45e5a7bfcaaa951994f136c3dbde172f", "score": "0.6187643", "text": "public double getLatitude()\n {\n return this.gpsLatitude;\n }", "title": "" }, { "docid": "52a94deade31c6c18456062ab6de5d15", "score": "0.61778045", "text": "static double getLatitude(){\r\n if(location != null){\r\n latitude = location.getLatitude();\r\n }\r\n\r\n // return latitude\r\n return latitude;\r\n }", "title": "" }, { "docid": "1cd8d693ef83aa967df24af72ca250fd", "score": "0.6176115", "text": "private double transformLat(Point p) {\n double value = p.getY();\n double divisor = 284;\n divisor = 90 / divisor;\n value = value - 263;\n value = value * divisor;\n return value;\n }", "title": "" }, { "docid": "786403a11b6a3e7df562746d71abd75b", "score": "0.6170953", "text": "public Point2D.Double getStartPosition() {\n return new Double(this.startPosition.getX(), this.startPosition.getY());\n }", "title": "" }, { "docid": "fb051e6aa9b9c49ba61da87c458da486", "score": "0.6140966", "text": "public int getLatitudeIndex() {\n return 90 - latitude;\n }", "title": "" }, { "docid": "de4ecac2562820a75d9539bf560fcacf", "score": "0.61398774", "text": "public final Vector2D getStart() {\n\t\t// voir le README pour le choix de cette variable locale.\n\t\tVector2D startPos = null;\n\t\tfor (int i = 0; i < h; ++i) {\n\t\t\tfor (int j = 0; j < w; ++j) {\n\t\t\t\tif (labyrinth[i][j] == START) {\n\t\t\t\t\tstartPos = new Vector2D(j, i);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn startPos;\n\t}", "title": "" }, { "docid": "9b58da6ebe7ac042d3585246dea14909", "score": "0.61190176", "text": "public double getLatitude()\n {\n return(latitude_);\n }", "title": "" }, { "docid": "8fa7f34c2b8ea5dff86ff65bb067dc64", "score": "0.61142397", "text": "public static double getDistanceLat(double startingLat, double stopingLat){\n\t\treturn ((stopingLat-startingLat)*Math.PI*earthRadius)/180.0;\n\t}", "title": "" }, { "docid": "5f14492b7a8f2ed5fe2b7e93ccd1f71b", "score": "0.61010164", "text": "public double getLatitude()\n {\n return latitude;\n }", "title": "" }, { "docid": "d6986449f2c34b29729b940811781570", "score": "0.60893196", "text": "public static double getLat(int row){\n\t\treturn -2.5 * (row - 2040)/60;\t\t//2040 is the row corresponding to latitude 0\n\t}", "title": "" }, { "docid": "6aa278e39716e2b30a8dbe75a18ac32b", "score": "0.6086978", "text": "@Override\n\tpublic double getLatitude() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "845a990555795e7300c7cd24cd8851a7", "score": "0.6085397", "text": "public double getLatitude() {\r\n return latitude;\r\n }", "title": "" }, { "docid": "04dc09ed31946a355f14e857efaa4d18", "score": "0.60804904", "text": "public double getStartx() {\n return startx_;\n }", "title": "" }, { "docid": "aa790580d74848516e46b1ef657c822a", "score": "0.6070415", "text": "@Override\n\tpublic double getLatitude() {\n\t\treturn latitude;\n\t}", "title": "" }, { "docid": "aceca7b6bc7ccb0ffdaa6dd2b2853fb5", "score": "0.6069209", "text": "public String getLatitudeOffset () {\n return latitudeOffset;\n }", "title": "" }, { "docid": "507a897b97d2cbdd2874989d69d54ea4", "score": "0.60676986", "text": "public LocationNode getStart(){\n return start;\n }", "title": "" }, { "docid": "67ab7dcd7b7662e7430a0cdf19676f10", "score": "0.60561174", "text": "public Double getLatitude() {\r\n return latitude;\r\n }", "title": "" }, { "docid": "67ab7dcd7b7662e7430a0cdf19676f10", "score": "0.60561174", "text": "public Double getLatitude() {\r\n return latitude;\r\n }", "title": "" }, { "docid": "67ab7dcd7b7662e7430a0cdf19676f10", "score": "0.60561174", "text": "public Double getLatitude() {\r\n return latitude;\r\n }", "title": "" }, { "docid": "0335c944a8294521195749af0bf41ad8", "score": "0.60481966", "text": "public Slab getStartingPoint() {\r\n return(getSlab(15, 1));\r\n }", "title": "" }, { "docid": "9496e0fca361033b451632f8918f0cb4", "score": "0.60430443", "text": "public Double getReminderLat() {\n return reminderLat;\n }", "title": "" }, { "docid": "304a15dd0be94f7b2ef31be458cff921", "score": "0.6030572", "text": "public double getLatitude() {\n return latitude;\n }", "title": "" }, { "docid": "304a15dd0be94f7b2ef31be458cff921", "score": "0.6030572", "text": "public double getLatitude() {\n return latitude;\n }", "title": "" }, { "docid": "304a15dd0be94f7b2ef31be458cff921", "score": "0.6030572", "text": "public double getLatitude() {\n return latitude;\n }", "title": "" }, { "docid": "304a15dd0be94f7b2ef31be458cff921", "score": "0.6030572", "text": "public double getLatitude() {\n return latitude;\n }", "title": "" }, { "docid": "304a15dd0be94f7b2ef31be458cff921", "score": "0.6030572", "text": "public double getLatitude() {\n return latitude;\n }", "title": "" }, { "docid": "304a15dd0be94f7b2ef31be458cff921", "score": "0.6030572", "text": "public double getLatitude() {\n return latitude;\n }", "title": "" }, { "docid": "304a15dd0be94f7b2ef31be458cff921", "score": "0.6030572", "text": "public double getLatitude() {\n return latitude;\n }", "title": "" }, { "docid": "8bf7baf4d7ce43212b04f71222214f4a", "score": "0.6030043", "text": "public Collection<Loc> getStartingLocations();", "title": "" }, { "docid": "6a48ae3d5a6dca687feb070ec0f60a40", "score": "0.60267675", "text": "public Pair getCurrentPoint() {\n return new Pair(mLat1, mLon1);\n }", "title": "" }, { "docid": "e3d689b0d5247cf0acacbd15ede0029b", "score": "0.60194385", "text": "double getStartValue();", "title": "" }, { "docid": "18cdf20cf3bb7c9621d76db7dc991751", "score": "0.6018531", "text": "public int getLongitudeRange();", "title": "" }, { "docid": "ed7f58576b35202a138a366a2b1be812", "score": "0.601791", "text": "public int getLatitude() {\n return latitude;\n }", "title": "" }, { "docid": "19096732f751642d7b7d7d9e86a40e2a", "score": "0.6014166", "text": "public int getGpsStart() {\n return gpsStart_;\n }", "title": "" }, { "docid": "1ca1d445b00255dfa776a9c09879fde0", "score": "0.6011759", "text": "long getStartPosition();", "title": "" }, { "docid": "f068d58e643810a77b888cc9fee0e013", "score": "0.6006274", "text": "@java.lang.Override\n public double getLat() {\n return lat_;\n }", "title": "" }, { "docid": "f068d58e643810a77b888cc9fee0e013", "score": "0.6006274", "text": "@java.lang.Override\n public double getLat() {\n return lat_;\n }", "title": "" }, { "docid": "4b08f6af346a23218ba3c26526e2dfbe", "score": "0.6002846", "text": "public double getStartx() {\n return startx_;\n }", "title": "" }, { "docid": "658d250454d1e00c5e046fbe268d4f13", "score": "0.5996093", "text": "Position getLocation();", "title": "" }, { "docid": "73e05b0b80c9441f48209fb896a723d8", "score": "0.5993828", "text": "public int getMapMinPoints();", "title": "" }, { "docid": "89545ab6c803a92594663bc461a62abc", "score": "0.5993424", "text": "public int getLocationLatitude() {\n return locationLatitude_;\n }", "title": "" }, { "docid": "89545ab6c803a92594663bc461a62abc", "score": "0.5993424", "text": "public int getLocationLatitude() {\n return locationLatitude_;\n }", "title": "" }, { "docid": "653417de734fd0caddfcf77ec008a988", "score": "0.5989521", "text": "public String startLocation() {\n return startLocation;\n }", "title": "" }, { "docid": "d073019f455b69bf08d1fa84a7d518e3", "score": "0.59825194", "text": "@java.lang.Override\n public double getLat() {\n return lat_;\n }", "title": "" } ]
ec9ba50d6bd76a903650878dac4a9234
The reference to the module. Follows a specific URI pattern, i.e.: menu:module/submodule entity:IBookingRequest/123456 extension:timeentry
[ { "docid": "8eb593dc162c02f43134a7cb935c4a37", "score": "0.0", "text": "public abstract void setReference(String reference);", "title": "" } ]
[ { "docid": "60e238d196aae4ce64a5a65f031cac8e", "score": "0.63631356", "text": "public ModuleURI getUri() {\n return uri;\n }", "title": "" }, { "docid": "b4a6ef106f1ec7a0ae4b2b6dce529e39", "score": "0.6301417", "text": "FeedExtension getModule(String uri);", "title": "" }, { "docid": "38c200ecd0e16483d464ee3ef4cdec1d", "score": "0.6043659", "text": "String getReference();", "title": "" }, { "docid": "38c200ecd0e16483d464ee3ef4cdec1d", "score": "0.6043659", "text": "String getReference();", "title": "" }, { "docid": "293c4464ad0d1a8360a8b9382229f13d", "score": "0.59423953", "text": "public String module() {\n return definition.getString(\"module\");\n }", "title": "" }, { "docid": "4327a5c72775f1e3d7e3a49a9e781701", "score": "0.5831343", "text": "public ReferenceItem getFixedReference(ModuleObjectFindItem prefix)\r\n {\r\n ReferenceItem uitem = null;\r\n if (prefix == null || prefix.getname() == null) return uitem;\r\n if (prefix.getname().equals(\"root\")) uitem = this.getGlobalReference(); \r\n else if (prefix.getname().equals(\"work\")) uitem = this.getProjectReference();\r\n else if (prefix.getname().equals(\"this\")) {\r\n \r\n \tReferenceItem ref = this.getClassModule();\r\n \tif (ref != null) return ref;\r\n \t\r\n \tref = this.getActiveReference();\r\n \tif (ref != null && ReferenceUtilities.checkType(ref.getType(), ReferenceUtilities.REF_TOP_MODULE) == 0) {\r\n \t\tHardwareModule tmod = (HardwareModule) ref.getObject();\r\n \t\tInstanceModule inst = (InstanceModule) tmod.getInstModRef().getObject();\r\n \t\treturn ModuleObjectCompositeHolder.dualHolder(\"\", ref,inst.getEntityReference()).createReferenceItem();\r\n \t}\r\n \t\r\n return this.getActiveReference();\r\n \t\r\n }\r\n else if (prefix.getname().equals(\"super\")) {\r\n \tReferenceItem<ClassModule> hardr = this.getClassModule();\r\n \tif (hardr == null) return null;\r\n \t\r\n \tClassInstanceModule imod = hardr.getObject().getSuperModule();\r\n \tif (imod != null) return imod.getArchitectureReference();\r\n \t\r\n \t/*ReferenceItem aitem = this.getActiveReference();\r\n \tif (aitem.getObject() instanceof ClassInstanceModule) {\r\n \t\tClassInstanceModule mod = (ClassInstanceModule) aitem.getObject();\r\n \t\tClassModule cmod = (ClassModule) mod.getArchitecture();\r\n \t\treturn cmod.getSuperModule().getArchitectureReference();\r\n \t}\r\n \tif (aitem.getObject() instanceof ClassModule) {\r\n \t\tClassModule cmod = (ClassModule) aitem.getObject();\r\n \t\tClassInstanceModule imod = cmod.getSuperModule();\r\n \t\tif (imod == null) return null;\r\n \t\treturn imod.getArchitectureReference();\r\n \t}\r\n \tif (aitem.getObject() instanceof ModuleObjectCompositeHolder) {\r\n \t\tModuleObjectCompositeHolder hold = (ModuleObjectCompositeHolder) aitem.getObject();\r\n \t\tfor (ReferenceItem ref : hold.getGenericSelfList()) {\r\n \t\t\tif (ref.getObject() instanceof ClassModule) {\r\n \t\t\t\tClassModule cmod = (ClassModule) ref.getObject();\r\n \t\tClassInstanceModule imod = cmod.getSuperModule();\r\n \t\tif (imod == null) return null;\r\n \t\treturn imod.getArchitectureReference();\r\n \t\t\t}\r\n \t\t\tif (ref.getObject() instanceof ClassInstanceModule) {\r\n \t\tClassInstanceModule imod = (ClassInstanceModule) ref.getObject();\r\n \t\tif (imod == null) return null;\r\n \t\treturn imod.getArchitectureReference();\r\n \t\t\t}\r\n \t\t}\r\n \t}*/\r\n }\r\n return uitem;\r\n }", "title": "" }, { "docid": "cc3ee31886e9c32847872ecb1b235ef3", "score": "0.56594884", "text": "public String getModuleId();", "title": "" }, { "docid": "b3bc1245acb6ef783c211ea150380ce2", "score": "0.565535", "text": "public String getEntityReference() {\n\t\tif(entityReference == null && resource.hasProperty(FISE.ENTITY_REFERENCE)) {\n\t\t\tentityReference = resource.getPropertyResourceValue(FISE.ENTITY_REFERENCE).getURI();\n\t\t}\n\t\treturn entityReference;\n\t}", "title": "" }, { "docid": "29a939a582f28abe1ed51748649000b4", "score": "0.56444", "text": "String getModuleId();", "title": "" }, { "docid": "03ddfc5ea1f89e4c0a38a1e9b3f049af", "score": "0.558373", "text": "public String getModuleResource() {\n return moduleResource;\n }", "title": "" }, { "docid": "53eabe2f36aa2dff0b7490cd60a30d29", "score": "0.5581336", "text": "public String getModule();", "title": "" }, { "docid": "b5b61b88c331e9cda675f62d1fbb2e50", "score": "0.54943156", "text": "public abstract String getReference();", "title": "" }, { "docid": "dbb3da8fa04194a62740676791032b71", "score": "0.5488526", "text": "public String getReference() {\n\t\tElements referenceElements = document.getElementsByClass(\"reference\");\n\t\tString reference = referenceElements.text();\n\t\treference = reference.replace('/', '-');\n\t\treturn reference;\n\t}", "title": "" }, { "docid": "efb6ede3535aac41a2586abeb8515019", "score": "0.54328066", "text": "public String getModule() {\n return module;\n }", "title": "" }, { "docid": "6b434d5cb4859d2afffd2ffbae8fc5ab", "score": "0.5396753", "text": "@Override\n\tpublic String getReference() {\n\t\treturn this.extra.getRef().getReference();\n\t}", "title": "" }, { "docid": "a89cae003b0c5c5b4860e791f31c8635", "score": "0.5366063", "text": "public String getModule() {\n return this.Module;\n }", "title": "" }, { "docid": "d9b06934e440cee3fd45a49c81039b3b", "score": "0.53531563", "text": "public String getNamespaceUri()\n {\n return EssenceModule.URI;\n }", "title": "" }, { "docid": "9db8ee89ee94efb7eeb14aa7a310bac4", "score": "0.53359383", "text": "public String getReference() {\n return reference;\n }", "title": "" }, { "docid": "9db8ee89ee94efb7eeb14aa7a310bac4", "score": "0.53359383", "text": "public String getReference() {\n return reference;\n }", "title": "" }, { "docid": "8b7c10a65b7513f064480053bdc20da7", "score": "0.5321492", "text": "public String getReference() {\r\n return reference;\r\n }", "title": "" }, { "docid": "8b7c10a65b7513f064480053bdc20da7", "score": "0.5321492", "text": "public String getReference() {\r\n return reference;\r\n }", "title": "" }, { "docid": "fd73febdfdd3252dcd7076cac85049d5", "score": "0.53176016", "text": "public String getMODULE() {\r\n return MODULE;\r\n }", "title": "" }, { "docid": "fd73febdfdd3252dcd7076cac85049d5", "score": "0.53176016", "text": "public String getMODULE() {\r\n return MODULE;\r\n }", "title": "" }, { "docid": "8b6de40f7c64d65b6400b543a5c15407", "score": "0.5307922", "text": "public String getReference() {\n return reference;\n }", "title": "" }, { "docid": "2ff65d4b4b4e201abdd9703461ee391d", "score": "0.530343", "text": "public String getRef();", "title": "" }, { "docid": "8ac3346e5dc854bd8d3c3fe45532fd14", "score": "0.5291998", "text": "public String getModName();", "title": "" }, { "docid": "1ecdeda123e84499c7d3c8a135377dd9", "score": "0.52830315", "text": "@Override\n public String getReference() {\n return reference;\n }", "title": "" }, { "docid": "a925d4b60538ddcd78cf96f327e67c5f", "score": "0.52632034", "text": "protected String getModuleName() {\n\t\treturn \"Fresnel Single Slit\";\n\t}", "title": "" }, { "docid": "8df5c444f8c8291eabb9a4cde4fd95c4", "score": "0.5256192", "text": "java.lang.String getReferenceId();", "title": "" }, { "docid": "8df5c444f8c8291eabb9a4cde4fd95c4", "score": "0.5256192", "text": "java.lang.String getReferenceId();", "title": "" }, { "docid": "8df5c444f8c8291eabb9a4cde4fd95c4", "score": "0.5256192", "text": "java.lang.String getReferenceId();", "title": "" }, { "docid": "cf19908169c6b9ca80bad92530921499", "score": "0.5225408", "text": "@Override\n @NotNull\n public SModuleReference getSourceModuleReference() {\n return new ModuleReference(getQualifiedName(), ModuleId.regular(myLanguage.getIdValue()));\n }", "title": "" }, { "docid": "dc7b9df97aae651bc556fd2474f5e105", "score": "0.51982105", "text": "public abstract String getModId();", "title": "" }, { "docid": "7d612e6e7f01bec519e69cf93b56e2e4", "score": "0.51792365", "text": "public java.lang.String getReference() {\n return reference;\n }", "title": "" }, { "docid": "4cefc3a19c2d10217f9c909e99ca8772", "score": "0.5146655", "text": "pb.lyft.datacatalog.Datacatalog.ArtifactId getRef();", "title": "" }, { "docid": "413c2f5165431191571293df2fadb0d0", "score": "0.51253617", "text": "public String getModuleId() {\n return moduleId;\n }", "title": "" }, { "docid": "02d5a04a971d4f39b48f406a85166e2b", "score": "0.50618845", "text": "public String getReferenceNumber()\n\t{\n\t\treturn referenceNumber;\n\t}", "title": "" }, { "docid": "1b14232e0b0457c7498d4710f13aaa73", "score": "0.5051088", "text": "ClassroomModule getClassroomModuleIdclassroomModule();", "title": "" }, { "docid": "1e971bca557199ec6a4c0bc1d4902f38", "score": "0.50465053", "text": "public String getURI() {\n\t\treturn ACTION_NAMESPACE + this.getClass().getName();\n\t}", "title": "" }, { "docid": "4711a2ef4e0137cc2d40a8d121b54d94", "score": "0.5035866", "text": "java.lang.String getRef();", "title": "" }, { "docid": "e797178ffad02b56a445e9d316dc7f5d", "score": "0.50280315", "text": "public String getModuleNameEn() {\n return moduleNameEn;\n }", "title": "" }, { "docid": "40d4a0158b4ff069ac821a456062e068", "score": "0.49992386", "text": "public Stack getReference() {\n\t\treturn (referencepath);\n\t}", "title": "" }, { "docid": "2d2794d6725549d8581b952b417f0bda", "score": "0.49966547", "text": "public java.lang.String getModuleNumber() {\r\n return moduleNumber;\r\n }", "title": "" }, { "docid": "197ff9be6f7a36461d0f3beff1f33e1e", "score": "0.49930343", "text": "String getRaasRef();", "title": "" }, { "docid": "916e227f5140f34ea808a465fe50ab2c", "score": "0.49775496", "text": "public String getModuleName() {\n return moduleName;\n }", "title": "" }, { "docid": "916e227f5140f34ea808a465fe50ab2c", "score": "0.49775496", "text": "public String getModuleName() {\n return moduleName;\n }", "title": "" }, { "docid": "b2fd8332305eaa10c89a53036f2b1147", "score": "0.4975782", "text": "private String getUri(HttpServletRequest request) {\n String includeUriPath = (String) \n request.getAttribute(DefaultGroupExtractor.ATTR_INCLUDE_PATH);\n String uri = request.getRequestURI();\n uri = includeUriPath != null ? includeUriPath : uri;\n return uri;\n }", "title": "" }, { "docid": "e00ad8ce405cfa3af8c67049ef5a6e35", "score": "0.49696085", "text": "public abstract String getrefNo();", "title": "" }, { "docid": "54637f9fefdc61da345178735b244d93", "score": "0.49551356", "text": "QName getRef();", "title": "" }, { "docid": "5fd913acab160c1966d9e356c89cdb31", "score": "0.49387056", "text": "public String getEntityIdentifier()\n {\n \treturn url;\n }", "title": "" }, { "docid": "4567d39f13b68b4ba7eeb4b96834e538", "score": "0.49348864", "text": "public static String selectDef605B65500DC8E13BE040007F01002829(ConnectionProvider connectionProvider, String AD_Reference_ID) throws ServletException {\n String strSql = \"\";\n strSql = strSql + \n \" SELECT AD_MODULE_ID FROM AD_REFERENCE WHERE AD_REFERENCE_ID = ? \";\n\n ResultSet result;\n String strReturn = \"\";\n PreparedStatement st = null;\n\n int iParameter = 0;\n try {\n st = connectionProvider.getPreparedStatement(strSql);\n iParameter++; UtilSql.setValue(st, iParameter, 12, null, AD_Reference_ID);\n\n result = st.executeQuery();\n if(result.next()) {\n strReturn = UtilSql.getValue(result, \"ad_module_id\");\n }\n result.close();\n } catch(SQLException e){\n log4j.error(\"SQL error in query: \" + strSql + \"Exception:\"+ e);\n throw new ServletException(\"@CODE=\" + e.getSQLState() + \"@\" + e.getMessage());\n } catch(Exception ex){\n log4j.error(\"Exception in query: \" + strSql + \"Exception:\"+ ex);\n throw new ServletException(\"@CODE=@\" + ex.getMessage());\n } finally {\n try {\n connectionProvider.releasePreparedStatement(st);\n } catch(Exception ignore){\n ignore.printStackTrace();\n }\n }\n return(strReturn);\n }", "title": "" }, { "docid": "2f399e4e3cf5cdf78099406e062e270a", "score": "0.4933883", "text": "public static String getURI() {return StringUtils.stripEnd(NS, \"#\");}", "title": "" }, { "docid": "653935220708c271b024fb92ccd4b059", "score": "0.4932307", "text": "Module getModule();", "title": "" }, { "docid": "7391097be1543f4b261dfb758c415a87", "score": "0.49142528", "text": "public String getREFERENCE() {\r\n return REFERENCE;\r\n }", "title": "" }, { "docid": "bbdcf156f37cf708773ece60e93d99b3", "score": "0.49091077", "text": "public NameReference getItemReference(String name){\r\n\t\treturn NameReference.getNameReference(name);\r\n\t}", "title": "" }, { "docid": "2cee54a7295855c9827539a26ee1e313", "score": "0.49088424", "text": "public String ExtractReferenceNumber(WebElement element) {\n\t\tString RefNumText = getElementText(referenceNumber);\n\t\tString RefNumPartOne = RefNumText.replace((\"- Do not forget to insert your order reference \"),\"\");\n\t\tString RefNumPartTwo = RefNumPartOne.replace(\" in the subject of your bank wire.\", \"\");\n\t\tSystem.out.println(RefNumPartTwo);\n\t\treturn RefNumPartTwo;\n\t}", "title": "" }, { "docid": "8e5ce1de357c6d2fbc9fd2aa353019ec", "score": "0.49046528", "text": "public ModuleConstant getModule()\n {\n return f_idModule;\n }", "title": "" }, { "docid": "855974bb51c7ad0787b084903db7b834", "score": "0.49040577", "text": "public String getHRef();", "title": "" }, { "docid": "1bbec97219baec9b56ac1be98eae4f33", "score": "0.48922458", "text": "public ExternalId getReferenceEntity() {\n return _referenceEntity;\n }", "title": "" }, { "docid": "c5325a3858af780de00bfae4ab4f60e6", "score": "0.48910072", "text": "public void setModule(String Module) {\n this.Module = Module;\n }", "title": "" }, { "docid": "e4e71c143ef9d6a8d716ddeab5c37d00", "score": "0.48672968", "text": "public String getModuleName() {\n return moduleName;\n }", "title": "" }, { "docid": "b0972e54e7f38f1527ecda5f695343a5", "score": "0.48649025", "text": "public Integer getModuleId() {\n return moduleId;\n }", "title": "" }, { "docid": "28dddfd0c1778f18166ab23bacc2c7b6", "score": "0.48646694", "text": "@Override\n\tpublic String referencia() {\n\t\treturn getNombre().substring(0,2);\n\t}", "title": "" }, { "docid": "bcc14119b36f045dd552d616d537feaa", "score": "0.48644045", "text": "public int getRequestRefNum() {\r\n return requestRefNum;\r\n }", "title": "" }, { "docid": "bcc14119b36f045dd552d616d537feaa", "score": "0.48644045", "text": "public int getRequestRefNum() {\r\n return requestRefNum;\r\n }", "title": "" }, { "docid": "67772cb0a8ec2d70978d635a95864c6f", "score": "0.48640445", "text": "public String getName() {\n\t return MODULE_NAME;\n\t }", "title": "" }, { "docid": "52b5b6fd84b85168fec8592dc06ab996", "score": "0.48481563", "text": "@Override\n\tpublic String getName() \n\t{ return this.MODULE_NAME; }", "title": "" }, { "docid": "82d54ba1ec3e0ff1a447ecb9d0bd263d", "score": "0.48450932", "text": "public String getOpenUriUseUri();", "title": "" }, { "docid": "a7185b91e179e8145ca39a10d9fa297c", "score": "0.48349035", "text": "public String getReferenceId() {\n return referenceId;\n }", "title": "" }, { "docid": "75373e2af8aa45131ad2a62ff0a0e690", "score": "0.48336065", "text": "String getURI();", "title": "" }, { "docid": "bf220b8d1e553f2c8461349c79891c25", "score": "0.4826922", "text": "@Test\n public void getModuleNameTest() {\n\n String ns = getModuleNameFromNameSpace(context, LNS);\n assertEquals(ns, \"list\");\n }", "title": "" }, { "docid": "182cc0496f99e9cd7c93fb3eb1fa41c3", "score": "0.48201066", "text": "public String getModuleName() {\r\n\t\treturn \"Pop Objectives To Table\";\r\n\t}", "title": "" }, { "docid": "b4df1c1aaa752cf14e16f0b8a7e88a22", "score": "0.48193848", "text": "Uri mo19310f();", "title": "" }, { "docid": "04e343a7926207a2bbd16d50385e52c6", "score": "0.48184368", "text": "public String getModuleName() {\n return moduleName;\n }", "title": "" }, { "docid": "ef5c77c2852edc5805c617aa7248aed6", "score": "0.4814972", "text": "public CodeReference findReference(SectionNumber sectionNumber);", "title": "" }, { "docid": "2e95fb1a824c30ce9971ca4f613d2c7a", "score": "0.48049283", "text": "MavenUrlReference type( String type );", "title": "" }, { "docid": "630672a0c06ec8697b972c5e92b72148", "score": "0.48030037", "text": "public java.lang.String getModuleName() {\r\n return moduleName;\r\n }", "title": "" }, { "docid": "d09a56a21ebcb44639219aed30eb4bc2", "score": "0.47958145", "text": "public void setModule(Module module) { this.module = module; }", "title": "" }, { "docid": "165036508ad9643601c7e03bfd2a7918", "score": "0.47943854", "text": "String getRequestURI();", "title": "" }, { "docid": "507e5ac3f4122e9551be6461665e3ebc", "score": "0.47902873", "text": "public static String getModuleRoot() {\n String resName = Utils.class.getName();\n resName = \"/\" + resName.replace('.', '/') + CLASS_SUFFIX;\n String extForm = Utils.class.getResource(resName).toExternalForm();\n\n String moduleRoot = extForm.substring(0, extForm.length()\n - resName.length());\n\n // If it's a jar, clean it up and make it look like a file url\n if (moduleRoot.startsWith(JAR_PREFIX)) {\n moduleRoot = moduleRoot.substring(JAR_PREFIX.length());\n if (moduleRoot.endsWith(\"!\")) {\n moduleRoot = moduleRoot.substring(0, moduleRoot.length() - 1);\n }\n int p = moduleRoot.lastIndexOf('/');\n moduleRoot = moduleRoot.substring(0, p);\n }\n\n if (moduleRoot.startsWith(FILE_PREFIX)) {\n moduleRoot = moduleRoot.substring(FILE_PREFIX.length());\n }\n\n return moduleRoot;\n }", "title": "" }, { "docid": "8ca666dae4f0788e207e45592d173d68", "score": "0.4785496", "text": "String getRequestUri();", "title": "" }, { "docid": "05fe9a7c63b3b2d9f366f0626a6f3b73", "score": "0.47799873", "text": "public int getModuleNumber() {\n return mModuleNumber;\n }", "title": "" }, { "docid": "4529a9a6789f2c50d32f60b051f3ca1d", "score": "0.4763182", "text": "@Override\r\n\tpublic String getRefGuid() {\r\n\t\treturn refGuid;\r\n\t}", "title": "" }, { "docid": "601ab98d115d6838d9e046ceb761a4e4", "score": "0.47600374", "text": "String getSourceReferenceId();", "title": "" }, { "docid": "f5a014038254a034cd8f04a8a682064f", "score": "0.47536924", "text": "String fullUrl(RequestCycle requestCycle) throws LinkInvalidTargetRuntimeException, LinkParameterInjectionRuntimeException, LinkParameterValidationRuntimeException;", "title": "" }, { "docid": "f576fdfe2b6cfef9d83dfd944f0369d1", "score": "0.47519523", "text": "public com.aldebaran.qimessaging.Object getModuleHelp() throws CallError, InterruptedException {\n return (com.aldebaran.qimessaging.Object) service.call(\"getModuleHelp\").get();\n }", "title": "" }, { "docid": "097967d3e9862a34b83ac782a71d5005", "score": "0.47512117", "text": "java.lang.String getURI();", "title": "" }, { "docid": "c34d09526dbfc7a672703bf059149e0b", "score": "0.47428143", "text": "protected abstract String getReferenceLabel();", "title": "" }, { "docid": "ba6c93cb19f59557677ad06e2a49c0ad", "score": "0.47424576", "text": "public Module fetchRegisteredModule(ModuleType moduleType);", "title": "" }, { "docid": "bb00353f4ff09958d1166cf28c1806cc", "score": "0.4735975", "text": "@Override\n public String getText( Object element )\n {\n if ( element instanceof ModuleWrapper )\n {\n return ( ( ModuleWrapper ) element ).getModulePathName();\n }\n\n return super.getText( element );\n }", "title": "" }, { "docid": "9a09bb8b37adb8c5fe889b405976a01a", "score": "0.47228375", "text": "public String uri() {\n return this.uri;\n }", "title": "" }, { "docid": "d366a76ace7d2bb63fd169174720c0f6", "score": "0.47225612", "text": "public java.lang.String getItemReference() {\n return itemReference;\n }", "title": "" }, { "docid": "757f8ea2d727e0245906193b80f70a86", "score": "0.47191828", "text": "String getRelativeInternalURL();", "title": "" }, { "docid": "329d7178239eb38a93e9fee742a4e33f", "score": "0.47190306", "text": "public Module getModule() {\n return module;\n }", "title": "" }, { "docid": "dbcf51591c9d07278bf18d377fb3f136", "score": "0.47166649", "text": "URI getInstanceURI();", "title": "" }, { "docid": "1cdea841b7e8774694d129e34f439f2e", "score": "0.4715889", "text": "org.hl7.fhir.DocumentReference getDocumentReference();", "title": "" }, { "docid": "8d5ebbf857472560875c012368ff838e", "score": "0.47140098", "text": "public Module getModule() {\n\t\treturn module;\n\t}", "title": "" }, { "docid": "b8aa6595567e90a82874edcaecad1cc9", "score": "0.4707082", "text": "java.lang.String getRelName();", "title": "" }, { "docid": "af70c38bd63c232e437d48ceaa6cb417", "score": "0.4702854", "text": "@Override\r\n\tpublic String getURI() {\n\t\treturn this.uri;\r\n\t}", "title": "" }, { "docid": "a197c5e64f2b280d5bfe0b527ad48255", "score": "0.46995863", "text": "public String getURI(){\r\n\t\treturn uri;\r\n\t}", "title": "" }, { "docid": "72e6a80ed2222422242cf8856e4902a5", "score": "0.4699417", "text": "@Override\n\tpublic String getName() {\n\t\treturn this.MODULE_NAME;\n\t}", "title": "" } ]
118c47072e43773bb1992ff1c54aed18
Created by TQN on 3/9/18.
[ { "docid": "12acc309ed694de3e2deaba48b1f6ac2", "score": "0.0", "text": "public interface EditProfileMvpView extends BaseMvpView {\n void onUpdateProfileSuccess();\n}", "title": "" } ]
[ { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.6625044", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6052165", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6052165", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6052165", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "27e436f0a0c9200a542c73eabe9c3662", "score": "0.60050845", "text": "private void Met4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.5953577", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.59034276", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.58716965", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.58654696", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "c04e1693c791e5601b6d72a13641e7b1", "score": "0.5862432", "text": "@Override\n\tpublic void angriff() {\n\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.5840821", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.5819286", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.57739586", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "f8978d93b84e5118882a4ff5e000e716", "score": "0.5758463", "text": "private void init() {\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.57405347", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "c63a11bb1bf0acb98a99c66ee94527a7", "score": "0.5727746", "text": "@Override\r\n\tpublic void ispeci() {\n\r\n\t}", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.57193226", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.57123", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.57123", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.57123", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.57123", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "892e81ba33fe99f590f49f4fd7ed10a8", "score": "0.5670356", "text": "private void init() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.56649095", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.56649095", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.5636056", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "9b8d94120800074e25f9674e2e960bd0", "score": "0.56084096", "text": "@Override\n public void curar() {\n\n }", "title": "" }, { "docid": "598681cc815af7b9f96d5d7ce97e7b20", "score": "0.5601298", "text": "public void mo5669b() {\n }", "title": "" }, { "docid": "bdc1683df7d1d6b2d988cd3acab4903e", "score": "0.5597919", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "0584017cc50128958402ae40b3e27955", "score": "0.5596509", "text": "public final void mo57094b() {\n }", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.55933344", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.558996", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.558996", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.558996", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.55799323", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "06b59299a5db6a0902fdbf88e7826cfa", "score": "0.55618435", "text": "private void naceSer() {\n\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.5556908", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.55372304", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "21593c9c9d9ac1228e5ee377625fa941", "score": "0.55345273", "text": "@Override\n public void wrapup() {\n \n }", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.5530165", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "74a1be816f56189120d6d74f61abd8f9", "score": "0.5529299", "text": "@Override\n\tpublic void apagate() {\n\t\t\n\t}", "title": "" }, { "docid": "ccde520bca72caa0d77ef1b117291759", "score": "0.5527755", "text": "@Override\r\n\tpublic void osmossis() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.55183715", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.55183715", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.55171114", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.55146146", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5504012", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5504012", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5504012", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.5504012", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.55002886", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.54763734", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "b78de853138b4d1a9183420c6cd735cc", "score": "0.54708475", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "618c984b4c86428626c9457aa24fcf22", "score": "0.5467943", "text": "@Override\n public int getXp() {\n return 0;\n }", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54569536", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54569536", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54569536", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54569536", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54569536", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2cf71c7a156da1dfe31295752aef3fb8", "score": "0.54569536", "text": "@Override\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "c0781256114b6e21545493bb75f18b9d", "score": "0.54416436", "text": "@Override\n\tprotected void sanityCheck() {\n\t\t\n\t}", "title": "" }, { "docid": "be30a755a49491d0c1db538cbb3c601d", "score": "0.5440744", "text": "@Override\r\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "be30a755a49491d0c1db538cbb3c601d", "score": "0.5440744", "text": "@Override\r\n\tpublic void init() {\n\t}", "title": "" }, { "docid": "2ccd2a90144fab8b5fa71c58ca003352", "score": "0.5439948", "text": "@Override\n\tpublic void falar() {\n\t\t\n\t}", "title": "" }, { "docid": "24f30370515bfcc6241bb76e6bfd35eb", "score": "0.54358846", "text": "public final void mo9279b() {\n }", "title": "" }, { "docid": "c2baa8b8eda82304af77d16cd9e78614", "score": "0.5432757", "text": "private void Met5() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c19a49911957739008b73b032429cb01", "score": "0.54313296", "text": "public void initalize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "87929e8b046b6fb5c754312beec7ed1c", "score": "0.543069", "text": "@Override\n protected void initialize() {\n }", "title": "" }, { "docid": "94b0ced5bfd6c8796dfd708a164694df", "score": "0.54163265", "text": "@Override\n public void desplazarse() {\n }", "title": "" }, { "docid": "4a4d6ca4f76cf550f30a1b3469c5c600", "score": "0.5414548", "text": "@Override\n\tpublic void heilen() {\n\n\t}", "title": "" }, { "docid": "1bb2ba2fd698bfb2b8b88494f3d5649d", "score": "0.5414384", "text": "@Override\n\tpublic void init()\n\t{\n\t}", "title": "" }, { "docid": "0f6e1929716bfb216fb0d53f4c72c746", "score": "0.54108024", "text": "@Override\n\tpublic void hesapla() {\n\t\t\n\t}", "title": "" }, { "docid": "3d58a7b34ff7718a3b1945d88236d31b", "score": "0.5402315", "text": "protected boolean method_4161() {\r\n return true;\r\n }", "title": "" }, { "docid": "1b2b14182c814ea12be48fa3ab499e9d", "score": "0.54013413", "text": "@Override\r\n\tprotected void initialize() {\r\n\t}", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.5396333", "text": "private void init() {\n\t}", "title": "" }, { "docid": "3207dcaa6322a2a59b6687b951ef91d7", "score": "0.5396128", "text": "@Override\n\tpublic void Damege() {\n\t\t\n\t}", "title": "" }, { "docid": "fede515c585b365b04aace2b909737cf", "score": "0.5373222", "text": "@Override\r\n\tvoid dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.5372225", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.53706867", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.53706867", "text": "public final void mo63019a() {\n }", "title": "" } ]
a5a6ce20d0f49797c645e64a3c796f1b
Set of actual groups
[ { "docid": "0f18281fabbd45597d4e563226c5c125", "score": "0.67976266", "text": "public Set<String> getGroupNames()\n {\n return Collections.unmodifiableSet(this.groups.keySet());\n }", "title": "" } ]
[ { "docid": "cad984e933623b892b739531b7d943f4", "score": "0.8019192", "text": "Set<String> getGroups();", "title": "" }, { "docid": "cad8f98feb1c23d24426c6deab2f558e", "score": "0.78695446", "text": "public Set<G> getGroups() {\n\treturn Collections.unmodifiableSet(groups);\n }", "title": "" }, { "docid": "9797898d86353ab3f64e03f83908d751", "score": "0.78300595", "text": "protected abstract String[] getGroups();", "title": "" }, { "docid": "ef2192ab14499d1370088a92cafaabe9", "score": "0.7515112", "text": "public List getGroups() {\n/* 115 */ List result = new ArrayList();\n/* 116 */ result.add(this.defaultGroup);\n/* 117 */ Iterator iterator = this.groups.iterator();\n/* 118 */ while (iterator.hasNext()) {\n/* 119 */ Comparable group = (Comparable)iterator.next();\n/* 120 */ if (!result.contains(group)) {\n/* 121 */ result.add(group);\n/* */ }\n/* */ } \n/* 124 */ return result;\n/* */ }", "title": "" }, { "docid": "5def4f52b4ae0a2ff9fc2e8ecf927482", "score": "0.7507214", "text": "String[] getGroups();", "title": "" }, { "docid": "f57066a7f0b42de3ff58c561e9a4b075", "score": "0.73068583", "text": "public Map<String, Group> getGroups() {\r\n \r\n \t\treturn groups;\r\n \t}", "title": "" }, { "docid": "70545445116f0d5053dd37619b9eea0b", "score": "0.72835475", "text": "public ImmutableBitSet getGroupSet() {\n return groupSet;\n }", "title": "" }, { "docid": "10db1ff10fe83983a3f8461292d9a541", "score": "0.7196505", "text": "public abstract Collection<? extends Group> getGroups();", "title": "" }, { "docid": "9f14445215c9ddd70575840d962e665a", "score": "0.71645606", "text": "public List<String> groups() {\n return this.groups;\n }", "title": "" }, { "docid": "aba68a90cfb44837e77c8cafb21b970e", "score": "0.7139002", "text": "public ImmutableList<ImmutableBitSet> getGroupSets() {\n return groupSets;\n }", "title": "" }, { "docid": "94c7f534b56eb7756c3de06f37653e9d", "score": "0.7088778", "text": "public Set<String> getGroups() {\n return groups.keySet();\n }", "title": "" }, { "docid": "df46a8fd38c3f45eacd0b627e7706e61", "score": "0.7000397", "text": "public Set<SymbolGroup> getGroups() {\n return groups;\n }", "title": "" }, { "docid": "d095cab2c958a5ee9d94d8f13385ba70", "score": "0.69649446", "text": "public abstract WorldGroup[] getGroups();", "title": "" }, { "docid": "a1948f14918872eebf74bf16af1815db", "score": "0.6938687", "text": "public List<Group> getGroups();", "title": "" }, { "docid": "a188ae9d50194dc5a9316bad634579dc", "score": "0.69178367", "text": "public List<Group> getGroups() {\n return groups;\n }", "title": "" }, { "docid": "10a038ad614921d2e690242b5d109858", "score": "0.6903255", "text": "@Override\n\tpublic List<Group> getGroups() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d36285ee1243aaf24c094a3daa114110", "score": "0.6835403", "text": "public final Set<String> getGroups(){\n String fetchGroupName = this.delegate.getFetchGroupName();\n return fetchGroupName == null ? Collections.<String>emptySet() : Collections.singleton(fetchGroupName);\n }", "title": "" }, { "docid": "d0c584151e96e5ade8b9347d606ad8bb", "score": "0.6814941", "text": "protected LinkedList<Group> getGroups() {\n\n\t\tif(m_listGroups==null)\n\t\t{\n\t\t\tm_listGroups = new LinkedList<Group>();\n\t\t}\n\t\treturn m_listGroups;\n\t}", "title": "" }, { "docid": "05119586b586082e4a296113c0a4328a", "score": "0.6781227", "text": "public void setGroups(Set<SymbolGroup> groups) {\n this.groups = groups;\n }", "title": "" }, { "docid": "dbb7befc9a7b5380bf73f470b39f4b20", "score": "0.6711273", "text": "public Group[] getGroups() {\n Vector groups = new Vector();\n for (int i = 0; i < lb.getItemCount(); i++) {\n String itemText = lb.getItemText(i);\n Right[] rights = getRights(itemText);\n String id = getIdentityWithoutRights(i);\n if (id.startsWith(\"g:\")) {\n groups.add(new Group(id.substring(2).trim(), rights));\n }\n }\n\n Group[] g = new Group[groups.size()];\n for (int i = 0; i < g.length; i++) {\n g[i] = (Group) groups.elementAt(i);\n }\n return g;\n }", "title": "" }, { "docid": "fcd6cef92d7d737658a871edf609007d", "score": "0.66815764", "text": "public ArrayList getGroup() {\n\t\treturn groupBy;\n\t}", "title": "" }, { "docid": "fad2d01000e714fbcd22cb19cd48315b", "score": "0.6673639", "text": "public void setGroup()\r\n {\n }", "title": "" }, { "docid": "50a7a06f5bad16daf67cdaa575e95731", "score": "0.6598649", "text": "public int getGrouping( ) {\n return( gid );\n }", "title": "" }, { "docid": "50a7a06f5bad16daf67cdaa575e95731", "score": "0.6598649", "text": "public int getGrouping( ) {\n return( gid );\n }", "title": "" }, { "docid": "b3a20cbb9edb294acf47343fa23b0277", "score": "0.6490501", "text": "public Map<ServiceID,String[]> getGroups() {\n return new HashMap<ServiceID,String[]>(groups);\n }", "title": "" }, { "docid": "927b28e9a38e40546143a9e5f1293022", "score": "0.6484506", "text": "@JSON\n public final List<String> getGroups() {\n return groups;\n }", "title": "" }, { "docid": "2d9a409ffb21dbbcab8549f17bc6c067", "score": "0.6483959", "text": "interface GROUPS {\n /**\n * This group define which users can access to the LW WCM editor application.\n * All users that belongs to this group have grant to access LW WCM Editor.\n * Users with membership MANAGER (@see Wcm.MANAGER) also have administrator role in LW WCM editor.\n */\n static final String WCM = (System.getProperty(\"wcm.groups.wcm\") == null ? \"/wcm\" : System.getProperty(\"wcm.groups.wcm\"));\n /**\n * Wildcard to refer all groups under Wcm.WCM.\n * Used for ACLs to define a grant for all groups under Wcm.WCM\n */\n\t\tstatic final String ALL = \"*\";\n /**\n * Users with membership MANAGER in @see Wcm.WCM group have administrator role in LW WCM editor.\n */\n static final String MANAGER = (System.getProperty(\"wcm.groups.manager\") == null ? \"manager\" : System.getProperty(\"wcm.groups.manager\"));\n /**\n * Users\n */\n static final String LOST = (System.getProperty(\"wcm.groups.lost\") == null ? \"/wcm/lost\" : System.getProperty(\"wcm.groups.lost\"));\n /**\n * Default editor\n */\n static final String EDITOR = (System.getProperty(\"wcm.groups.editor\") == null ? \"/wcm/editor\" : System.getProperty(\"wcm.groups.editor\"));\n\t}", "title": "" }, { "docid": "405119cd13aad97d5f111f110b109412", "score": "0.64726764", "text": "public void createNewGroup(Set<Integer> setContainedGroups) {\n \n \t\ttree = new Tree<ClusterNode>(dataDomain.getStorageIDType());\n \t\tGroupRepresentation newGroup = new GroupRepresentation(new ClusterNode(tree,\n \t\t\t\t\"group\" + iLastUsedGroupID, iLastUsedGroupID++, false, -1), renderStyle,\n \t\t\t\tdrawingStrategyManager\n \t\t\t\t\t\t.getGroupDrawingStrategy(EGroupDrawingStrategyType.NORMAL),\n \t\t\t\tdrawingStrategyManager, this, false);\n \n \t\tArrayList<ICompositeGraphic> alOrderedTopLevelComposites = getOrderedCompositeList(\n \t\t\t\tsetContainedGroups, true);\n \n \t\tICompositeGraphic commonParent = findCommonParent(alOrderedTopLevelComposites);\n \n \t\tif (commonParent == null)\n \t\t\treturn;\n \t\tboolean bSharedParent = true;\n \n \t\tfor (ICompositeGraphic composite : alOrderedTopLevelComposites) {\n \t\t\tif (composite.getParent() != commonParent) {\n \t\t\t\tbSharedParent = false;\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \n \t\tif (bSharedParent) {\n \t\t\tcommonParent.replaceChild(alOrderedTopLevelComposites.get(0), newGroup);\n \t\t\tfor (ICompositeGraphic composite : alOrderedTopLevelComposites) {\n \t\t\t\tcomposite.setParent(newGroup);\n \t\t\t\tcommonParent.delete(composite);\n \t\t\t\tnewGroup.add(composite);\n \t\t\t}\n \t\t} else {\n \t\t\tcommonParent.add(newGroup);\n \t\t\tint iTempID[] = { iLastUsedGroupID };\n \t\t\tfor (ICompositeGraphic composite : alOrderedTopLevelComposites) {\n \t\t\t\tiTempID[0]++;\n \t\t\t\tICompositeGraphic copy = composite\n \t\t\t\t\t\t.createDeepCopyWithNewIDs(tree, iTempID);\n \t\t\t\tcopy.setParent(newGroup);\n \t\t\t\tnewGroup.add(copy);\n \t\t\t}\n \t\t\tiLastUsedGroupID = iTempID[0] + 1;\n \t\t}\n \n \t\tnewGroup.setParent(commonParent);\n \n \t\thashGroups.put(newGroup.getID(), newGroup);\n \t\t// selectionManager.add(newGroup.getID());\n \n \t\tbHierarchyChanged = true;\n \n \t\tupdateClusterTreeAccordingToGroupHierarchy();\n \t\tsetDisplayListDirty();\n \t}", "title": "" }, { "docid": "c217ba99048785ab2a4a8e099c26cbf3", "score": "0.64535195", "text": "public final void setGroups(final List<String> someGroups) {\n this.groups = someGroups;\n }", "title": "" }, { "docid": "17bd5a60282ed58c6f1daad29611f616", "score": "0.6448204", "text": "ImmutableList<String> getGroupBys();", "title": "" }, { "docid": "5e03bf28578bdf0cd59ff2402fa18555", "score": "0.6437582", "text": "public void setGroupsAllRegs(String[] groups) throws RemoteException {\n Set eSet = getRegistrationMap().entrySet();\n Iterator iter = eSet.iterator();\n for(int i=0;iter.hasNext();i++) {\n setGroupsOneReg( groups, (Map.Entry)iter.next() );\n }//end loop\n if( groups == DiscoveryGroupManagement.ALL_GROUPS ) {\n logger.log(Level.FINE, \" all regs -- groups set to ALL_GROUPS\");\n } else if( groups.length <= 0 ) {\n logger.log(Level.FINE, \" all regs -- groups set to NO_GROUPS\");\n } else {\n GroupsUtil.displayGroupSet(groups,\n \" all regs -- group\",Level.FINE);\n }//endif\n }", "title": "" }, { "docid": "e6a860aa42858fea382d3aa5c35fbade", "score": "0.6429948", "text": "public int[] getNumberOfGroups() {\n return numberOfGroups;\n }", "title": "" }, { "docid": "9e77c34b3007db4b8217c24854cdbc79", "score": "0.63321537", "text": "@DISPID(5) //= 0x5. The runtime will prefer the VTID if present\n @VTID(11)\n IList groupList();", "title": "" }, { "docid": "a6049d047f49e438cdc68c0528a2726a", "score": "0.63229877", "text": "public ImmutableSet<Integer> getAllExistingGroupIds()\r\n\t{\r\n\t\t// Returning a copy of the keySet is safer.\r\n\t\tSet<Integer> realSetRet = new HashSet<Integer>();\r\n\t\trealSetRet.addAll(mapIdToCorefGroups.keySet());\r\n\t\treturn new ImmutableSetWrapper<Integer>(realSetRet);\r\n\t}", "title": "" }, { "docid": "06ec6e34fc2f5c1894294da7eee263e9", "score": "0.6317103", "text": "@Override\n\tpublic int getGroupCount() {\n\t\treturn groups.length;\n\t}", "title": "" }, { "docid": "e911266ef893e771514cdf6f7c4fb45c", "score": "0.62497205", "text": "public String getgroup() { return group; }", "title": "" }, { "docid": "fd5784947d6ed240aa1047bb36f53a53", "score": "0.62274116", "text": "String getGroupId();", "title": "" }, { "docid": "fd5784947d6ed240aa1047bb36f53a53", "score": "0.62274116", "text": "String getGroupId();", "title": "" }, { "docid": "8324ec5441468ec75092117f8a221a69", "score": "0.62011397", "text": "public Set<String> getAtMeGroups()\n {\n return atMeGroupList;\n }", "title": "" }, { "docid": "d45e3330604fe927beaaea6286c35606", "score": "0.61942345", "text": "public String[] getGroups() throws FileItemException;", "title": "" }, { "docid": "98e771b2a14c97979df9a1087e125376", "score": "0.619306", "text": "@Override\n\tpublic void moMoGroupAll() {\n\n\t}", "title": "" }, { "docid": "b343ac923f709872ab37384d19cbac7e", "score": "0.61861223", "text": "public int getNumberOfGroups();", "title": "" }, { "docid": "b343ac923f709872ab37384d19cbac7e", "score": "0.61861223", "text": "public int getNumberOfGroups();", "title": "" }, { "docid": "e35e8dbae410471b871fd3b14d2da7ab", "score": "0.6182405", "text": "public ArrayList<GroupObject> getGroupObjects()\n\t{\n\t\treturn go;\n\t}", "title": "" }, { "docid": "605fd91583f261c3f50fc1a4e4551fca", "score": "0.617321", "text": "java.lang.String getGroupId();", "title": "" }, { "docid": "1c5fc567038902f0e1ed05a48abc2b24", "score": "0.6171539", "text": "public List<Object> getGroupValues(){\n\t\treturn groupValues; \n\t}", "title": "" }, { "docid": "601ad74641efd190705643a27c0ccbf0", "score": "0.61708724", "text": "public String[] getGroups() {\n String[] array = new String[headers.size()];\n int x = 0;\n for (CpioHeader header : headers) {\n array[x++] = header.getGname() == null ? \"root\" : header.getGname();\n }\n return array;\n }", "title": "" }, { "docid": "99c8fb6e3083e6c9a57a18c138f6dada", "score": "0.61703205", "text": "public HashSet<Person> getGroupMembers()\n\t{\n\t\treturn this.groupMembers;\n\t}", "title": "" }, { "docid": "dd24f4e7d1e5f9c1032c819f6c2acd9e", "score": "0.61606264", "text": "int setGroup(String Group);", "title": "" }, { "docid": "185fdd55615857866b769c03e983b885", "score": "0.6150295", "text": "private Map<MutableInteger, NodeGroup> getNodeGroups() {\n\t\tif(nodeGroups != null) {\n\t\t\treturn nodeGroups;\n\t\t}\n\n\t\tMap<MutableInteger, NodeGroup> result = new HashMap<MutableInteger, NodeGroup>();\n\n\t\tQueue<Node> queue = new LinkedList<Node>();\n\n\t\tint currentSpammerIdentifier = 0;\n\n\t\tNode current, neighbor;\n\n\t\tfor (Node spammer: applicationSpecification.vertexSet()) {\n\t\t\tif (spammer.isMarked()) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSet<Node> spammerGroup = new HashSet<Node>();\n\n\t\t\tMutableInteger spammerIdentifier = new MutableInteger(currentSpammerIdentifier++);\n\n\t\t\tspammer.setMark(spammerIdentifier);\n\t\t\tqueue.add(spammer);\n\n\t\t\twhile (queue.size() > 0) {\n\t\t\t\tcurrent = queue.remove();\n\n\t\t\t\tspammerGroup.add(current);\n\n\t\t\t\tfor (Edge connection: applicationSpecification.outgoingEdgesOf(current)) {\n\t\t\t\t\tneighbor = connection.getTarget();\n\n\t\t\t\t\tif (connection.getCommunicationMode() == CommunicationMode.SHM || connection.getCommunicationMode() == CommunicationMode.NODEBOX) {\n\t\t\t\t\t\tif (!neighbor.isMarked()) {\n\t\t\t\t\t\t\tneighbor.setMark(spammerIdentifier);\n\t\t\t\t\t\t\tqueue.add(neighbor);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (Edge connection: applicationSpecification.incomingEdgesOf(current)) {\n\t\t\t\t\tneighbor = connection.getSource();\n\n\t\t\t\t\tif (connection.getCommunicationMode() == CommunicationMode.SHM) {\n\t\t\t\t\t\tif (!neighbor.isMarked()) {\n\t\t\t\t\t\t\tneighbor.setMark(spammerIdentifier);\n\t\t\t\t\t\t\tqueue.add(neighbor);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tresult.put(spammerIdentifier, new NodeGroup(applicationSpecification.getName(), spammerGroup));\n\t\t}\n\n\t\tnodeGroups = result;\n\t\treturn result;\n\t}", "title": "" }, { "docid": "46a803d5ceae42ff11c4f0ca0f34bd73", "score": "0.6142176", "text": "@NotNull\n @SubTag(\"Groups\")\n\tGroups getGroups();", "title": "" }, { "docid": "b02fa7051fea1aaebb730c93475b53da", "score": "0.61319286", "text": "@Override\r\n\tpublic String getGroupId() {\r\n\t\treturn groupId;\r\n\t}", "title": "" }, { "docid": "7f0bbd253f9e7d6ccd2bae3fbc2bdba7", "score": "0.6112177", "text": "@java.lang.Override\n public java.util.List<java.lang.Long> getGroupIdsList() {\n return groupIds_;\n }", "title": "" }, { "docid": "4c98138c05a19a0ee17856c93d3d28d9", "score": "0.6107505", "text": "@Override\n\t\tpublic int getGroupCount() {\n\t\t\treturn listGroup.size();\n\t\t}", "title": "" }, { "docid": "8656e5347068f17835db9bc7b9ed02cc", "score": "0.6104576", "text": "public abstract int[][] getDisplayGroups();", "title": "" }, { "docid": "a5f517d3a8058b797e1b57a063305102", "score": "0.60987175", "text": "public List<String> getSelectedGroups() {\n\t\treturn this.selectedGroups;\n\t}", "title": "" }, { "docid": "808b1d1ad3cbdba5bc685856d9a043e8", "score": "0.6095247", "text": "@Override\n\tpublic int getGroupCount() {\n\t\treturn group.size();\n\t}", "title": "" }, { "docid": "ad8dcb84f0b4266f197de065cff9345c", "score": "0.6079186", "text": "@Override\n\tpublic int getGroupCount() {\n\t\treturn groupData.size();\n\t}", "title": "" }, { "docid": "8cc8a1dfcc0fd0e1e62d43d4f9e5bee2", "score": "0.6078076", "text": "public Enumeration getGroups() throws NewsDbException {\n\t\tcheckGroups();\n\t\treturn groupTable.elements();\n\t}", "title": "" }, { "docid": "ef1a5bcc787cf09f18242058a080820a", "score": "0.6071949", "text": "java.util.List<com.chatsystem.msg.MsgRelation.PbRelationGroup> \n getGroupsList();", "title": "" }, { "docid": "8cd866ee4002138f11a4d9d05df6f08e", "score": "0.6069989", "text": "public WorkGroups\n getGroups() \n {\n return pGroups;\n }", "title": "" }, { "docid": "4183b528d2d7b861b5e90fcdd5cb3611", "score": "0.606915", "text": "@Override\n\tpublic int getGroupCount()\n\t{\n\t\treturn groupList.size();\n\t}", "title": "" }, { "docid": "a5932cec93c1ef263ddbd273d564770a", "score": "0.6059673", "text": "public List<Groups> getFlaggedGroups() {\n boolean isAdmin = false;\n Collection<SecurityGroup> roles = flagger.getSecurityGroups();\n\n for (SecurityGroup sg : roles) {\n if (sg.getSecurityGroupName().equals(\"admin\")) {\n isAdmin = true;\n break;\n }\n }\n\n if (isAdmin) {\n flaggedGroups = groupEJB.getGroupsByFlagCount(1);\n }\n return flaggedGroups;\n \n }", "title": "" }, { "docid": "fb20253ad090dbcf2af1a908fa4c5216", "score": "0.6054303", "text": "public native static void hcSetGroup(GameObject oper1, java.util.List oper2);", "title": "" }, { "docid": "3a6c27dc56e09986d32d7a7d35b92fa0", "score": "0.60508776", "text": "public List<Group> getGrupos() {\n\t\treturn contactos.stream().filter(c -> c instanceof Group).map(c -> (Group) c).collect(Collectors.toList());\n\t}", "title": "" }, { "docid": "e2f0bb90d3692bbfed0c415ef234c82f", "score": "0.6050054", "text": "@Override\n\tpublic long getGroupId();", "title": "" }, { "docid": "709b3ee5b8bbcaaeb166baf8d728f15a", "score": "0.6045697", "text": "public List<String> getGroupList() {\n try {\n JCRSessionWrapper session = JCRSessionFactory.getInstance().getCurrentSystemSession(null, null, null);\n List<String> groups = new ArrayList<String>();\n if (session.getWorkspace().getQueryManager() != null) {\n String query = \"SELECT [j:nodename] FROM [\" + Constants.JAHIANT_GROUP + \"] as group ORDER BY group.[j:nodename]\";\n Query q = session.getWorkspace().getQueryManager().createQuery(query, Query.JCR_SQL2);\n QueryResult qr = q.execute();\n RowIterator rows = qr.getRows();\n while (rows.hasNext()) {\n Row groupsFolderNode = rows.nextRow();\n String groupName = groupsFolderNode.getPath();\n if (!groups.contains(groupName)) {\n groups.add(groupName);\n }\n }\n }\n return groups;\n } catch (RepositoryException e) {\n logger.error(\"Error retrieving group list\", e);\n return new ArrayList<String>();\n }\n }", "title": "" }, { "docid": "a8699364248e3b342da19125c4e85aee", "score": "0.6042344", "text": "private Set<Group> filterGroups(Set<Group> p) {\n Set<Group> grps = new TreeSet<>(p);\n grps.removeIf(new Predicate<Group>() {\n @Override\n public boolean test(Group t) {\n return !(cfg.isAllowed(t) || hasAllowedSubgroup(t));\n }\n });\n return grps;\n }", "title": "" }, { "docid": "3406dc6d559d5b3151c2639c784ca8c5", "score": "0.60331565", "text": "public int getGroupCount() {\n\t return groups.size();\r\n\t }", "title": "" }, { "docid": "9f5603f8a4d6721930b7fdc4c9606f99", "score": "0.6017296", "text": "public String getGroup() { return this.group; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.601147", "text": "public Group getGroup() { return cGroup; }", "title": "" } ]
b9e60b31d11015c522cda589211b4f0c
Notnull value; ensure this value is available before it is saved to the database.
[ { "docid": "fffd170468133f0cbb6e920316d317f0", "score": "0.0", "text": "public void setMovie_id(String movie_id) {\n this.movie_id = movie_id;\n }", "title": "" } ]
[ { "docid": "b499f4ec13a996764b13d2d713ab9935", "score": "0.665452", "text": "@Override\r\n\tpublic Object getEditableValue() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "574a591625d3a42f3aa7e4a4afbad5a6", "score": "0.66212225", "text": "@Override\r\n public Object getEditableValue() {\n return null;\r\n }", "title": "" }, { "docid": "574a591625d3a42f3aa7e4a4afbad5a6", "score": "0.66212225", "text": "@Override\r\n public Object getEditableValue() {\n return null;\r\n }", "title": "" }, { "docid": "d43fd804099b13b1e4b91f2556098233", "score": "0.6422356", "text": "public final String getNullValue()\n {\n String nullValue8a = this.nullValue8a;\n if (!this.nullValue8aSet)\n {\n // nullValue has no pre constraints\n nullValue8a = handleGetNullValue();\n // nullValue has no post constraints\n this.nullValue8a = nullValue8a;\n if (isMetafacadePropertyCachingEnabled())\n {\n this.nullValue8aSet = true;\n }\n }\n return nullValue8a;\n }", "title": "" }, { "docid": "de8f58610a3401c677882dc3a078d307", "score": "0.64128506", "text": "@Override\r\n\tpublic NullValue getNullValue() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "87870dec1f3dfbd7f0e8b111ffcdd03e", "score": "0.6340866", "text": "@Override\n\tpublic String getValue() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "87870dec1f3dfbd7f0e8b111ffcdd03e", "score": "0.6340866", "text": "@Override\n\tpublic String getValue() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8d57fe3829b4adea155cffa3622adf71", "score": "0.6299906", "text": "@Override\r\n\tpublic String getValue() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "77545cd9ff17ca1e6a3d2af7df095cc3", "score": "0.62873495", "text": "@Override\n\t\tpublic String getValue() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "928d3d4cc5dfa00bd2e45522b24e7334", "score": "0.61804014", "text": "public boolean getValidToNull() {\n return validToNull_;\n }", "title": "" }, { "docid": "b3686398df5e906d88192de6aca90652", "score": "0.6173444", "text": "public boolean getValidToNull() {\n return validToNull_;\n }", "title": "" }, { "docid": "0f11093ad744f4af426ef4271bdc6cce", "score": "0.6154101", "text": "@Override\r\n\tpublic Object getValue() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "c183e69c77cfe0d7efa2088252c9c9ef", "score": "0.6092517", "text": "@Override\n\tpublic String valueToString() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "74983a1a983f5233735fa46c771e7718", "score": "0.60738486", "text": "public boolean getValidFromNull() {\n return validFromNull_;\n }", "title": "" }, { "docid": "652f9f23c921bcd2511aa66e6d3ab8bc", "score": "0.60556436", "text": "@Override\r\n\tpublic RequiredData requiredData() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "5808772cc4093cfe905bf797f85c1cf2", "score": "0.6042719", "text": "public boolean getValidFromNull() {\n return validFromNull_;\n }", "title": "" }, { "docid": "c3929bc114077b25b1c3a8a8dbf20765", "score": "0.60367084", "text": "@Override\n\tpublic boolean atualizaValor() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c3929bc114077b25b1c3a8a8dbf20765", "score": "0.60367084", "text": "@Override\n\tpublic boolean atualizaValor() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4ec0ec7b652097b0f369f1c4dc23149b", "score": "0.60237646", "text": "protected Object getSafeEmptyValue()\n {\n return getEmptyValue();\n }", "title": "" }, { "docid": "fea118aefa219044c0d1bef62f43e2bc", "score": "0.60169667", "text": "public abstract void setNull();", "title": "" }, { "docid": "91b528f5d1ed13b8dfacabeae586e765", "score": "0.5973557", "text": "@Override\n\tpublic Object getValueAsObject() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "cf2dbfb675cfd9fd217be802894f707f", "score": "0.5973141", "text": "@Override\n public boolean isNull() {\n return false;\n }", "title": "" }, { "docid": "36c95eae7047938f0bb5f3b70c72632d", "score": "0.5954259", "text": "public final void setAssignedNull() {\n this.type = ASSIGNED_NULL;\n }", "title": "" }, { "docid": "c4352f1db4c21330fa988a843535f131", "score": "0.5911147", "text": "@FxThread\n private @NotNull TextField getValueField() {\n return notNull(valueField);\n }", "title": "" }, { "docid": "ec48e4fd77c4b7acca2bcd7aae7c826c", "score": "0.5903336", "text": "public boolean getOldValidFromNull() {\n return oldValidFromNull_;\n }", "title": "" }, { "docid": "11b1e176260db69b097e061dcd05e8ab", "score": "0.58957934", "text": "public void setNullValue(String val)\r\n {\r\n _nullValue = val;\r\n }", "title": "" }, { "docid": "a9c366aa24478b91e126b7c1b385c71f", "score": "0.58873045", "text": "public boolean getOldValidFromNull() {\n return oldValidFromNull_;\n }", "title": "" }, { "docid": "ba70917d2e582a2fb51b9ed77a13d909", "score": "0.58817023", "text": "public boolean isRequired() {\n return !nullable;\n }", "title": "" }, { "docid": "04a7113b11def50acc1795310a5eae91", "score": "0.58734953", "text": "@Override\n public byte[] getValueAsBytes() {\n return null;\n }", "title": "" }, { "docid": "da336c519652a0c8fbd45b7d2ef0fcf9", "score": "0.587278", "text": "@Override\n public StringProperty valueProperty () {\n return null;\n }", "title": "" }, { "docid": "745d7d778aa928cb3691acdde992b546", "score": "0.5865193", "text": "protected String getUndefinedValue() {\n\t\treturn \"\";\n\t}", "title": "" }, { "docid": "67256ba0030f6140393242049ddce59d", "score": "0.58494663", "text": "public String getValue() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "8469c9cedad697aacda78040000f20f9", "score": "0.5837964", "text": "public boolean hasValue() { return false; }", "title": "" }, { "docid": "b5808fefc8542e66e75bf2884a563c94", "score": "0.5813734", "text": "boolean getValidToNull();", "title": "" }, { "docid": "72e104da4a1c5b3557f3abe70289628c", "score": "0.5793939", "text": "default boolean canBeNull()\n {\n return isNullable() || isGenerated() || isAutoIncrement() ||\n getForeignKey() != null && getForeignKey().canBeNull(); // a newly created ref could be assigned to the fk\n }", "title": "" }, { "docid": "d4d77c1481cdb2acac9df899d123baaa", "score": "0.57674557", "text": "@Override\r\n\tpublic ValueMetadata getValueMetadata() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "8a2be79055d2a94b2c47f34f4e24b8fe", "score": "0.57559335", "text": "public Boolean getValueRequired() {\n\t\treturn valueRequired;\n\t}", "title": "" }, { "docid": "3b8173ff4c8c56791bc52ed289936835", "score": "0.57378215", "text": "public IsSetNullPolicy() {\n \tsuper();\n \tisSetPerformedForAbsentNode = false;\t\n }", "title": "" }, { "docid": "bca960c99a6ca8bd4b97fa2dd4283d08", "score": "0.5736524", "text": "public boolean __setattr_null(java.lang.String name, org.python.Object value) {\n return false;\n }", "title": "" }, { "docid": "482826df5f49d9ce67a1b73139c51aa0", "score": "0.5730056", "text": "@Override\r\n\tpublic ValueMetadata newValueMetadata() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "6a87d319384ca5dc33d787e0a0b63837", "score": "0.5693987", "text": "public boolean isTempoaryNullable()\r\n {\r\n if (getColumn().isRequired())\r\n return false;\r\n return true; \r\n }", "title": "" }, { "docid": "5436ded897a1a00173d5aef922e7617d", "score": "0.56606865", "text": "@Override\n public boolean wasNull() throws SQLException {\n return false;\n }", "title": "" }, { "docid": "ed1a2042bfd4298e8c6b6dfb4ca67e48", "score": "0.56478065", "text": "public String getIsNullable() {\r\n return isNullable;\r\n }", "title": "" }, { "docid": "18d9b061ad382afc2f2b0bb713f66612", "score": "0.5622285", "text": "@MustExist(reason = MustExist.Reason.MAPPING)\n\tpublic UniqueValueRecord() {\n\n\t}", "title": "" }, { "docid": "0d7bead7d73c8aa1d0078893cc186e41", "score": "0.56185216", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "0d7bead7d73c8aa1d0078893cc186e41", "score": "0.56185216", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "cf4ff6c6fdd95d245dd8adb8e687597c", "score": "0.5614255", "text": "@Override\n public Object getDefaultValue() {\n return null;\n }", "title": "" }, { "docid": "5f3ff6e0fec24d0b9e42c29a4236ab28", "score": "0.56091654", "text": "public boolean isNoValue() {\r\n return noValue;\r\n }", "title": "" }, { "docid": "a6409b578b2b4aaf67c6132375cbba8c", "score": "0.56047046", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "a6409b578b2b4aaf67c6132375cbba8c", "score": "0.56047046", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "a6409b578b2b4aaf67c6132375cbba8c", "score": "0.56047046", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "a6409b578b2b4aaf67c6132375cbba8c", "score": "0.56047046", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "a6409b578b2b4aaf67c6132375cbba8c", "score": "0.56047046", "text": "public boolean isSetValue() {\n return this.value != null;\n }", "title": "" }, { "docid": "e3e6e2b1770aa45371551690a612f9a3", "score": "0.5600555", "text": "@Override\n\tpublic Object getInitialValue() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e1c232486a1c975eebc12f0beac37070", "score": "0.55990016", "text": "public void setNULL()\r\n\t{\r\n\t\tthis.seq = null;\r\n\t\tthis.parentSeq = null;\r\n\t\tthis.msgCd = null;\r\n\t\tthis.esbName = null;\r\n\t\tthis.rcvName = null;\r\n\t\tthis.ftyp = null;\r\n\t\tthis.min = null;\r\n\t\tthis.max = null;\r\n\t\tthis.deci = null;\r\n\t\tthis.optional = null;\r\n\t\tthis.encrypt = null;\r\n\t\tthis.fvMapId = null;\r\n\t\tthis.fdesc = null;\r\n\t\tthis.cvtr = null;\r\n\t\tthis.validator = null;\r\n\t}", "title": "" }, { "docid": "2919a1c0fd944eec32d1199a8c9daf2d", "score": "0.5598151", "text": "public boolean hasValue(){\n\t\treturn value != null;\n\t}", "title": "" }, { "docid": "545a179d83aa13c35b98cc4ee26a7ca6", "score": "0.55855227", "text": "@Override\r\n\tpublic T getValueObject() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "d017651e6d4e968103d1237e4587aea3", "score": "0.55851537", "text": "boolean getOldValidFromNull();", "title": "" }, { "docid": "a202c60717aaf19500394b431f9cc645", "score": "0.5575594", "text": "public boolean isNullPermitted() {\n return isNullPermitted_;\n }", "title": "" }, { "docid": "4fce5c788a37ebff5595390c095aa714", "score": "0.55674523", "text": "public boolean isNullAllowed(\n ) {\n return this._nullAllowed;\n }", "title": "" }, { "docid": "b5764d6fbc4ab3a21459ebc27cd785b3", "score": "0.5539196", "text": "@Override\n\t\tpublic LuaValue strongvalue()\n\t\t{\n\t\t\tLuaValue key = _weakkey.strongvalue();\n\t\t\tif(key.isnil())\n\t\t\t return _weakvalue = NIL;\n\t\t\treturn _weakvalue.strongvalue();\n\t\t}", "title": "" }, { "docid": "f9864cfca5d8d494ab8285ae108a7c83", "score": "0.55339694", "text": "public boolean isNotNull() {\r\n\t\treturn !isNull();\r\n\t}", "title": "" }, { "docid": "8966623fc77aabe9ad29cf7afbb5758b", "score": "0.55061597", "text": "@Override\n\tpublic void setRequired() {\n\n\t}", "title": "" }, { "docid": "8e133428b0a5383e7513251db597e690", "score": "0.5490435", "text": "@Test\n public void notNullableField() {\n HousekeepingPath path = createEntityHousekeepingPath();\n path.setLifecycleType(null);\n assertThrows(DataIntegrityViolationException.class, () -> repository.save(path));\n }", "title": "" }, { "docid": "4fdc76890d8f543a06b1c18e551827d3", "score": "0.5487888", "text": "public String getDefaultValidValueId(){\r\n\t\treturn defaultValidValueId;\r\n\t}", "title": "" }, { "docid": "aa47623748b58665ee6df23bd370bedf", "score": "0.5479782", "text": "public M cscpIdNull(){if(this.get(\"cscpIdNot\")==null)this.put(\"cscpIdNot\", \"\");this.put(\"cscpId\", null);return this;}", "title": "" }, { "docid": "6d1714cd827a49077ee50d1fe577edc7", "score": "0.5477953", "text": "@Override\r\n\tpublic MemberMetadata setNullValue(NullValue arg0) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "d9e1af73cb0f520ba7fad02e62004409", "score": "0.5473958", "text": "@JsonGetter(\"uid\")\r\n @JsonInclude(JsonInclude.Include.NON_NULL)\r\n @JsonSerialize(using = OptionalNullable.Serializer.class)\r\n protected OptionalNullable<String> internalGetUid() {\r\n return this.uid;\r\n }", "title": "" }, { "docid": "1097628e8187de8a2fcfb0425d5f8090", "score": "0.54721403", "text": "boolean getValidFromNull();", "title": "" }, { "docid": "c71ea7d08f6772834c7431339c8ad633", "score": "0.54664254", "text": "public boolean isValid() {\n return value != null;\n }", "title": "" }, { "docid": "9954fbd60180ae2b261498631b5daad7", "score": "0.54643667", "text": "@Override\n\tpublic Object getDefaultValue() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "659d5e77b1510c80b107b0029d49d0cc", "score": "0.5450603", "text": "@Override\n public boolean isRequired() {\n return false;\n }", "title": "" }, { "docid": "6fb7f4cdcdc93fef876b6334e8086694", "score": "0.5449033", "text": "public abstract void setUndefined();", "title": "" }, { "docid": "a9d809e5a8e4806e2ee47a6f7e4c5068", "score": "0.5444358", "text": "@Override\n\tpublic boolean wasNull() throws SQLException {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "3ac008942e7cb36e9fd52caa572f4b39", "score": "0.5437924", "text": "@Override\n\t\tpublic String setValue(String value) {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "96488a160d6cee1d48e5f818c2cdf68e", "score": "0.5429717", "text": "public void setValueRequired(Boolean valueRequired) {\n\t\tthis.valueRequired = valueRequired;\n\t}", "title": "" }, { "docid": "0356c4b42871b73210b60f4a3272da5c", "score": "0.54277337", "text": "boolean isValueNull();", "title": "" }, { "docid": "39db01da668760e110536a057a82215b", "score": "0.5425269", "text": "public BooleanProperty allowNullProperty() { return allowNullProperty; }", "title": "" }, { "docid": "9e0c695f70a0d5b89f1aaee6c7e3deb8", "score": "0.54126143", "text": "@Override\n\tpublic void checkValue() {\n\t\t\n\t}", "title": "" }, { "docid": "57f2ed5da68f93d5cde92c8e8f83c5d4", "score": "0.5410366", "text": "public void setEmptyValue() throws NoneditableCellException;", "title": "" }, { "docid": "b7b5cbda200679e801ae16b3195dd8d2", "score": "0.54089946", "text": "private NullableObject(final T value) {\r\n this.value = Objects.requireNonNull(value);\r\n }", "title": "" }, { "docid": "6bdb41a097612b46c5dc99fd630de48e", "score": "0.5408748", "text": "@SuppressWarnings(\"deprecation\")\r\n @Test\r\n public void testOverwriteValueWithNull() {\r\n assertNull(record().setString(\"a\", \"A\").value(\"a\", null).getString(\"a\"));\r\n }", "title": "" }, { "docid": "a51cc458e97e518188ea7657b80d7a2c", "score": "0.5402136", "text": "public final String getDummyValue()\n {\n String dummyValue77a = this.dummyValue77a;\n if (!this.dummyValue77aSet)\n {\n // dummyValue has no pre constraints\n dummyValue77a = handleGetDummyValue();\n // dummyValue has no post constraints\n this.dummyValue77a = dummyValue77a;\n if (isMetafacadePropertyCachingEnabled())\n {\n this.dummyValue77aSet = true;\n }\n }\n return dummyValue77a;\n }", "title": "" }, { "docid": "442f7ea0e50b359efd9a1fd77624128f", "score": "0.53590363", "text": "@JsonGetter(\"location_id\")\r\n @JsonInclude(JsonInclude.Include.NON_NULL)\r\n @JsonSerialize(using = OptionalNullable.Serializer.class)\r\n protected OptionalNullable<String> internalGetLocationId() {\r\n return this.locationId;\r\n }", "title": "" }, { "docid": "0ad13fb002a1688f21a58eea356a8b8b", "score": "0.53569275", "text": "@Override\n boolean isBlank();", "title": "" }, { "docid": "5680480bc62330d5a8d681aa93b88bf5", "score": "0.53490007", "text": "public boolean getNullAllowed(\n ) {\n return this._nullAllowed;\n }", "title": "" }, { "docid": "fc70be8b7b1aed1cac248860e1c629d5", "score": "0.5345805", "text": "@Override\n\t\t\tpublic Object getValue(String arg0) {\n\t\t\t\treturn null;\n\t\t\t}", "title": "" }, { "docid": "069162b37a8356f4b50c9812cb0feff6", "score": "0.5345518", "text": "public void getDefault()\n {\n validValue = getDefaultValue();\n }", "title": "" }, { "docid": "6fb5248eff988a99cbd149162a5f9f99", "score": "0.53453666", "text": "public boolean isRequired() {\r\n return false;\r\n }", "title": "" }, { "docid": "de42231f5adfd9196e99c03d0558ac0b", "score": "0.53432804", "text": "public final void checkNull() {\n checkNull(this);\n }", "title": "" }, { "docid": "2e3778a89a36c4dcc1bdb191c3b2c55b", "score": "0.5338093", "text": "@Nullable\n @Override\n public String validate(@NotNull String newValue, boolean strict) {\n return null;\n }", "title": "" }, { "docid": "589db3acda230782f850e31137f6744c", "score": "0.53375477", "text": "@Override\n public Boolean getValue(T object) {\n return null;\n }", "title": "" }, { "docid": "f6b1089518cdd82cd2a66337866e8697", "score": "0.5319674", "text": "public void setObjectId_IsNull() { regObjectId(CK_ISN, DOBJ); }", "title": "" }, { "docid": "73c847cc3407b716502224dfe90716b1", "score": "0.5311607", "text": "public void setNULL()\r\n\t{\r\n\t\tthis.mdl = null;\r\n\t\tthis.id = null;\r\n\t\tthis.resultClass = null;\r\n\t\tthis.type = null;\r\n\t\tthis.ds = null;\r\n\t\tthis.firstRowOnly = null;\r\n\t\tthis.prepared = null;\r\n\t\tthis.proc = null;\r\n\t\tthis.text = null;\r\n\t\tthis.remark = null;\r\n\t}", "title": "" }, { "docid": "18614ca7778baec6ee4f76373db45f60", "score": "0.53015035", "text": "@Override\r\n\tpublic String getValue(String key) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "e37a7912b39f0b4a12e558b7c8cb7bb7", "score": "0.5298921", "text": "@Contract(pure = true)\n @NotNull String getValue();", "title": "" }, { "docid": "c9c4e09c61ca04a57228728ab68cc2f7", "score": "0.5296982", "text": "public boolean isNullable() {\n return nullable;\n }", "title": "" }, { "docid": "89dd261deb2148f6604705c19e4399f8", "score": "0.52938783", "text": "protected String getNullText() {\n return nullText;\n }", "title": "" }, { "docid": "9a2233adfd08e9094793505f72c417bf", "score": "0.5293566", "text": "public String getMissingValueRepresentation() {\r\n return this.missingValue;\r\n }", "title": "" }, { "docid": "e7a38e249275dc47b0db24159543b59e", "score": "0.52845395", "text": "public boolean IsIncludeMissingValue() {\r\n return includeMissingValue;\r\n }", "title": "" }, { "docid": "4bce37723270a3e078ca64c02d289b9a", "score": "0.52727294", "text": "public void setValue(Object newValue)\n/* */ {\n/* 74 */ throw new SpelEvaluationException(0, SpelMessage.NOT_ASSIGNABLE, new Object[] { \"null\" });\n/* */ }", "title": "" } ]
67907617eac4160a3feddfeb518401ba
GENLAST:event_btnResetPropietarios1ActionPerformed / El metodo changeLoginData cambia los datos del login si es que los campos son correctos (Se necesita la pass actual)
[ { "docid": "eeb69aeb2b13cb73a0aafceba65e3c3b", "score": "0.8092241", "text": "private void changeLoginData(){\n //Comprueba si el PassActual es correcto\n if(this.txtActualPass.getText().equals(fm.getGuardiaLogin().getPassword())){\n //Comprueba si el user nuevo esta vacio, de lo contrario cambia el user\n if(!this.txtUser.getText().equals(\"\")){\n fm.getGuardiaLogin().setUsername(this.txtUser.getText());\n }\n if(!this.txtPass.getText().equals(\"\")){\n fm.getGuardiaLogin().setPassword(this.txtPass.getText());\n }\n //Guarda cambios\n System.out.println(fm.getGuardiaLogin());\n System.out.println(\"Cambios Guardados con Exito\");\n Advertencia advertencia = new Advertencia(this,true,\"Cambios Guardados con Exito\");\n advertencia.show();\n this.txtActualPass.setText(\"\");\n this.txtUser.setText(\"\");\n this.txtPass.setText(\"\");\n }\n else{\n Advertencia advertencia = new Advertencia(this,true,\"Password Actual Incorrecta\");\n advertencia.show();\n return;\n }\n \n }", "title": "" } ]
[ { "docid": "996d7c93cf1c382c226a7327e8ac62b6", "score": "0.6871349", "text": "private void btn_updateActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_updateActionPerformed\n if((txtchangepasspass.getText().equals(\"\"))||(txtchangepasspass.getText().equals(\"\"))||(txtchangepassusrname.getText().equals(\"\")))\n {\n JOptionPane.showMessageDialog(null,\"Please fill the details\");\n }\n else\n {\n int lid=0;\n try\n {\n stmt = conn.createStatement();\n String query = \"Select loginid from login where username='\"+txtchangepassusrname.getText()+\"' and password='\"+txtchangepasspass.getText()+\"'\";\n rst = stmt.executeQuery(query);\n while(rst.next()){\n lid = rst.getInt(\"loginid\");\n }\n if(lid ==0 )\n {\n JOptionPane.showMessageDialog(null, \"Username Password Combination Invalid\");\n }\n else\n {\n query = \"Update login set password='\"+txtchangepassnewpass.getText()+\"' where loginid=\"+lid;\n stmt.executeUpdate(query);\n JOptionPane.showMessageDialog(null, \"Password changed\");\n }\n }\n catch(SQLException ex)\n {\n Logger.getLogger(AdminPanel.class.getName()).log(Level.SEVERE, null, ex);\n }\n txtchangepassnewpass.setText(\"\");\n txtchangepasspass.setText(\"\");\n txtchangepassusrname.setText(\"\");\n }\n }", "title": "" }, { "docid": "9ff16be9d874b3c92bd16bb4447f909d", "score": "0.6707037", "text": "private void btnTaoActionPerformed(java.awt.event.ActionEvent evt) {\n User us = new User();\n String username,oldpass,newpass,cnfpass;\n \n username = text4.getText();\n \n newpass = getMd5(String.valueOf(text2.getPassword()).trim());\n cnfpass = getMd5(String.valueOf(text3.getPassword()).trim());\n \n \n System.out.println(\"new pass : \" + String.valueOf(text2.getPassword()));\n System.out.println(\"nhap lai : \" + String.valueOf(text3.getPassword()));\n// if(oldpass.equals(new ControllUser().checkPass(us))){\n// \n if (String.valueOf(text2.getPassword()).trim().isEmpty()) {\n JOptionPane.showMessageDialog(this, \"pass word is empty\");\n }else{\n if(newpass.equals(cnfpass)){\n us.setUsername(text4.getText());\n us.setPassword(getMd5(String.valueOf(text2.getPassword()).trim()));\n \n new ControllUser().changePass(us);\n clear();\n }else{\n lblCnfpass.setText(\"Confim password does not match !!!\");\n }\n }\n }", "title": "" }, { "docid": "9453b69b1cd4984e5e33f3f278b7bd06", "score": "0.6571812", "text": "private void btnLoginActionPerformed(java.awt.event.ActionEvent evt) {\n int ingresa = -1;\n try{\n String usuarioTxt = this.txtUsuario.getText();\n String passwordTxt = String.valueOf(txtPassword.getPassword());\n if(usuarioTxt.isEmpty()||passwordTxt.isEmpty())\n throw new EntradaInvalidaExcepcion(\"Rellene todos los campos\");\n for (int i = 0; i < listaCuentas.size(); i++) {\n if (usuarioTxt.equals(listaCuentas.get(i).getUsuario()) && passwordTxt.equals(listaCuentas.get(i).getPassword()))\n ingresa = i;\n }\n if(ingresa == -1)\n JOptionPane.showMessageDialog(rootPane,\" El usuario o contraseña es incorrecta\");\n else{\n new FrmCalificaciones().setVisible(true);\n this.dispose();\n }\n }catch(EntradaInvalidaExcepcion e2){\n JOptionPane.showMessageDialog(rootPane, e2.getMessage());\n }\n }", "title": "" }, { "docid": "1eba17ce9eb7256614a1007249c773ec", "score": "0.64976126", "text": "private void login(){\r\n\t\tboolean isCorrect = false;\r\n\t \tif (!(benutzernameTextField.getText().isEmpty()) && !(passwortTextField.getText().isEmpty()) ) {\r\n\t \t\ttry {\r\n\t \t\t\t\tisCorrect = dbhandler.checkLogInData(benutzernameTextField.getText(), dbhandler.encodePw(passwortTextField.getText()));\r\n\t \t\t\t\tif (isCorrect) {\r\n\t \t\t\t\t\tString [] userdata = dbhandler.loadUserData(benutzernameTextField.getText());\r\n\t \t\t\t\t\tController neu = Controller.getInstance();\r\n\t \t\t\t\t\tneu.init(userdata, new dbHandler());\r\n\t \t\t\t\t\tLoginWindow.this.dispose();\r\n\t \t\t\t\t\tnew CSPmainWindows();\r\n\t \t\t\t\t}\r\n\t \t\t\t\telse {\r\n\t \t\t\t\t\tJOptionPane.showMessageDialog(null, \"Bitte �berpr�fen Sie Ihre Eingaben! \\nDer Benutzername und das angegebene Password stimmen nicht �berein.\");\r\n\t \t\t\t\t}\r\n\t \t\t} catch (Exception e1) {\r\n\t \t\t\t// TODO FIX ERRORHANDLING\r\n\t \t\t\te1.printStackTrace();\r\n\t \t\t\tJOptionPane.showMessageDialog(null,(e1.getMessage()));\r\n\t \t\t}\r\n\t \t}\r\n\t \telse {\r\n\t \t\t\tJOptionPane.showMessageDialog(null, \"Bitte �berpr�fen Sie Ihre Eingaben! \\nBeide Textfelder (Benutzername und Passwort) m�ssen dabei gef�llt werden.\");\r\n\t \t\t}\r\n\t }", "title": "" }, { "docid": "3b098a7bcb8362fd0af1fab5ff103708", "score": "0.64318705", "text": "public void realizarLogin() throws Exception{\n\t\tTextbox nomeUsuario, senha;\n\t\t\n\t\t// obtem os componentes da pagina\n\t\ttry{\n\t\t\tnomeUsuario = (Textbox)getFellow(\"textboxUsername\");\n\t\t\tsenha = (Textbox)getFellow(\"textboxPassword\");\n\t\t}\n\t\tcatch (ComponentNotFoundException e) {\n\t\t\ttry {\n\t\t\t\tMessagebox.show(\"Os campos de login não puderam ser acessados.\\n\" +\n\t\t\t\t\t\t\"A página pode não ter sido carregada corretamente.\\nAtualize \" +\n\t\t\t\t\t\t\"a página para resolver o problema.\",\"Erro ao processar a pesquisa\",\n\t\t\t\t\t\tMessagebox.OK,Messagebox.ERROR);\n\t\t\t} catch (InterruptedException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// obtem os dados do login\n\t\tusername = nomeUsuario.getText();\n\t\tpassword = senha.getText();\n\t\t\n\t\t// testa se os dados digitados sao validos\n\t\tif( isEmpty(username) || isEmpty(password) ){\n\t\t\t((Label)getFellow(\"statusLabel\")).setValue(\"Preencha os campos login e senha primeiro\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// testa os dados no banco\n\t\tDbAccGate dbAccGate = new DbAccGate(username, password);\n\t\t\n\t\t// conectou\n\t\tif( dbAccGate.connected() ){\n\t\t\t((Label)getFellow(\"statusLabel\")).setValue(\"\");\n\t\t\t/* A LINHA ABAIXO E O PONTO CRITICO DA SEGURANCA DO SISTEMA. ELA SALVA NO CACHE O\n\t\t\t * OBJETO DB ACC GATE QUE FOI ALOCADO SEGUNDO O BANCO DE DADOS. AS DEMAIS CLASSES\n\t\t\t * O ACESSARAO PARA VALIDAR A SECAO */\n\t\t\tExecutions.getCurrent().getDesktop().getSession().setAttribute(\"DbAccGate\", dbAccGate);\n\t\t\tExecutions.sendRedirect(\"/admin_main.zul\");\n\t\t}\n\t\t// nao conectou\n\t\telse{\n\t\t\t((Label)getFellow(\"statusLabel\")).setValue(\"Login ou senha incorretos\");\n\t\t}\n\t}", "title": "" }, { "docid": "d1ff21a48f7cd52dc5d644cefce42bb9", "score": "0.63192636", "text": "public void onButton_2ActionEvent(com.codename1.ui.events.ActionEvent ev) throws IOException, URISyntaxException {\n BCryptPasswordEncoder b=new BCryptPasswordEncoder();\nArrayList<Utilisateur> list=new ServiceUser().getAlluser();\nString pass=\"\";\nint role = 0;\n\nif(gui_Text_Field_1.getText().equals(gui_Text_Field_2.getText()))\n{\n new ServiceUser().updateUser(ForgetPassForm.email,gui_Text_Field_1.getText());\n Dialog.show(\"Sucess\",\"The password have changed !\",new Command(\"OK\")); \n new SignInForm().show();\n}\nelse \n{\n Dialog.show(\"Error\",\"Passwords don't match !\",new Command(\"OK\"));\n}\n\n }", "title": "" }, { "docid": "fe31e70ca43c49f2e56a7adef31f1ecb", "score": "0.63187546", "text": "private void cleanAllLogin() {\n\n actionFlag = Constants.LOGIN_FORM;\n\n usernameLogin.setError(null);\n passwordLogin.setError(null);\n linkLogin.setError(null);\n\n usernameLogin.setText(null);\n passwordLogin.setText(null);\n linkLogin.setText(null);\n\n usernameLogin.setHint(R.string.default_enter_username);\n\n cleanButton.setText(\"BORRAR\");\n loginButton.setText(\"ENTRAR\");\n\n passwordLogin.setVisibility(View.VISIBLE);\n linkLogin.setVisibility(View.INVISIBLE);\n }", "title": "" }, { "docid": "c14d2d1e7298a8a66a9f3fcb1465d9cb", "score": "0.630103", "text": "public void setLogin_usuario(String pLogin_usuario){\n this.login_usuario = pLogin_usuario;\n }", "title": "" }, { "docid": "32097cef8ec2b43019cef9686914dabc", "score": "0.6244027", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n lblUsuario = new javax.swing.JLabel();\n ptxtSenha = new javax.swing.JPasswordField();\n txtUsuario = new javax.swing.JTextField();\n btnSair = new javax.swing.JButton();\n lblSenha = new javax.swing.JLabel();\n lblEsqueceuSenha = new javax.swing.JLabel();\n btnEntrar = new javax.swing.JButton();\n lblLogotipo = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Tela Login\");\n setResizable(false);\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowOpened(java.awt.event.WindowEvent evt) {\n formWindowOpened(evt);\n }\n });\n\n lblUsuario.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n lblUsuario.setText(\"Usuário\");\n\n ptxtSenha.setText(\"1000\");\n ptxtSenha.setBorder(javax.swing.BorderFactory.createCompoundBorder());\n\n txtUsuario.setText(\"39291371866\");\n txtUsuario.setBorder(javax.swing.BorderFactory.createCompoundBorder());\n\n btnSair.setFont(new java.awt.Font(\"Times New Roman\", 3, 12)); // NOI18N\n btnSair.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/projeto/vendas/model/icones/sair.png\"))); // NOI18N\n btnSair.setText(\"Sair\");\n btnSair.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnSairActionPerformed(evt);\n }\n });\n\n lblSenha.setFont(new java.awt.Font(\"Times New Roman\", 1, 14)); // NOI18N\n lblSenha.setText(\"Senha\");\n\n lblEsqueceuSenha.setFont(new java.awt.Font(\"Times New Roman\", 1, 12)); // NOI18N\n lblEsqueceuSenha.setText(\"Em caso de problemas no login, entrar em contato com o adminstrador do sistema.\");\n\n btnEntrar.setFont(new java.awt.Font(\"Times New Roman\", 3, 12)); // NOI18N\n btnEntrar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/projeto/vendas/model/icones/entrar.png\"))); // NOI18N\n btnEntrar.setText(\"Entrar\");\n btnEntrar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnEntrarActionPerformed(evt);\n }\n });\n\n lblLogotipo.setForeground(new java.awt.Color(102, 153, 255));\n lblLogotipo.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/projeto/vendas/model/icones/logo.png\"))); // NOI18N\n lblLogotipo.setToolTipText(\"\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(146, 146, 146)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(10, 10, 10)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 212, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(lblSenha)\n .addComponent(ptxtSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 212, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(lblUsuario)))\n .addComponent(lblLogotipo, javax.swing.GroupLayout.PREFERRED_SIZE, 185, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(32, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(btnSair, javax.swing.GroupLayout.PREFERRED_SIZE, 85, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(btnEntrar, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(131, 131, 131))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(lblEsqueceuSenha)\n .addGap(32, 32, 32))))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(lblLogotipo, javax.swing.GroupLayout.PREFERRED_SIZE, 117, Short.MAX_VALUE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(lblUsuario)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(lblSenha)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(ptxtSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(lblEsqueceuSenha)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnEntrar, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnSair))\n .addGap(19, 19, 19))\n );\n\n pack();\n }", "title": "" }, { "docid": "6cb241d02e5e351f3395dd698077b71a", "score": "0.6169597", "text": "private void fillInfoLogin() {\n if (mPrefManager == null)\n mPrefManager = SharePrefManager.getInstance(this);\n mPosPrograme = mPrefManager.getSharePref(PREF_CONFIG, MODE_PRIVATE).\n getInt(KEY_PREF_POS_PROGRAME, 0);\n mURLServer = mPrefManager.getSharePref(PREF_CONFIG, MODE_PRIVATE).\n getString(KEY_PREF_SERVER_URL, \"\");\n mPosDvi = mPrefManager.getSharePref(PREF_CONFIG, MODE_PRIVATE).\n getInt(KEY_PREF_POS_DVI, 0);\n mUser = mPrefManager.getSharePref(PREF_CONFIG, MODE_PRIVATE).\n getString(KEY_PREF_USER, \"\");\n mPass = mPrefManager.getSharePref(PREF_CONFIG, MODE_PRIVATE).\n getString(KEY_PREF_PASS, \"\");\n mIsCbSaveChecked = mPrefManager.getSharePref(PREF_CONFIG, MODE_PRIVATE).\n getBoolean(KEY_PREF_CB_SAVE, false);\n\n //fill data\n mCompatSpinnerPrograme.setSelection(mPosPrograme);\n mEtURL.setText(mURLServer);\n if (mPosPrograme >= mCompatSpinnerDvi.getCount())\n mCompatSpinnerDvi.setSelection(0);\n else\n mCompatSpinnerDvi.setSelection(mPosDvi);\n mEtUser.setText(mUser);\n mEtPass.setText(mPass);\n mCbSaveInfo.setChecked(mIsCbSaveChecked);\n }", "title": "" }, { "docid": "55c752b85a94975b21ca60037bf02937", "score": "0.6157905", "text": "private void saveButActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveButActionPerformed\n boolean change = false; //Determines if there are changes\n\n if (dropDown.getSelectedIndex() != lang) {//There are changes\n if (dropDown.getSelectedIndex() == 0) {\n Locale.setDefault(new Locale(\"en\", \"US\"));\n tempMedewerker.setUserLang(\"EN\");\n }\n if (dropDown.getSelectedIndex() == 1) {\n Locale.setDefault(new Locale(\"nl\", \"NL\"));\n tempMedewerker.setUserLang(\"NL\");\n }\n change = true;//Set the changes\n }\n Debug.println(change + \"\");\n if (password.getPassword().length == 0) {\n dispose();\n } else {\n if (password.getPassword().length > 5) {\n Debug.println(password.getPassword().toString());\n if (tempMedewerker.getPassword().equals(DigestUtils.sha256Hex(String.valueOf(passwordOld.getPassword())))) {\n if (Arrays.equals(password.getPassword(), passwordConfirm.getPassword())) {\n if (!tempMedewerker.getPassword().equals(DigestUtils.sha256Hex(String.valueOf(password.getPassword())))) {\n tempMedewerker.setPassword(password.getPassword());\n change = true;\n }\n Debug.println(tempMedewerker.toString());\n } else {\n JOptionPane.showMessageDialog(null, \"Passwords do not match\");\n }\n\n } else {\n JOptionPane.showMessageDialog(null,\n \"Your input was invalid. Old password is not correct.\",\n \"Input error - not correct\",\n JOptionPane.ERROR_MESSAGE);\n// dispose();\n }\n } else {\n JOptionPane.showMessageDialog(null,\n \"Your input was invalid. Passwords must be atleast 6 characters.\",\n \"Input error - not correct\",\n JOptionPane.ERROR_MESSAGE);\n }\n }\n Debug.println(change + \"\");\n if (change) {\n Debug.println(tempMedewerker.toString());\n try {\n medewerkerTijdelijk.update(tempMedewerker);//Save to DB\n dispose();\n } catch (SQLException e) {\n Debug.printError(e.toString());\n }\n }\n }", "title": "" }, { "docid": "118c76d5865bfd6eca693f42a2894888", "score": "0.61517125", "text": "private void refreshData() {\n\t fieldEmail.setText(\"\");\n\t passwordField.setText(\"\");\n\t}", "title": "" }, { "docid": "02836b4166b656e7d459a0fd39e8ca7e", "score": "0.6144326", "text": "private void doLogin() \r\n {\r\n \tif(getUsername().equals(\"\") && getPassword().equals(\"\"))\r\n\t\t{\r\n\t\t\tlblWarning.setText(\"\");\r\n\t\t\tlblWarning.setText(\"Please enter a valid username/password.\");\r\n\t\t}\r\n\t\telse if(getUsername().equals(\"\") && !(getPassword().equals(\"\")))\r\n\t\t{\r\n\t\t\tlblWarning.setText(\"\");\r\n\t\t\tlblWarning.setText(\"Please enter a valid username.\");\r\n\t\t}\r\n\t\telse if((!getUsername().equals(\"\")) && getPassword().equals(\"\"))\r\n\t\t{\r\n\t\t\tlblWarning.setText(\"\");\r\n\t\t\tlblWarning.setText(\"Please enter a valid password.\");\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tString username = getUsername();\r\n\t\t\tString password = getPassword();\r\n\t\t\t//String usernameRegex = \"^[A-Za-z][A-Za-z0-9._]+\";\r\n\t\t\tString usernameRegex = \"^[a-z][-a-z0-9_]*$\";\r\n\t\t\tString passwordRegex = \"^.*(?=.{8,})(?=.*\\\\d)(?=.*[a-z])(?=.*[A-Z])(^[a-zA-Z0-9@$=!:.#%]+$)\";\r\n\r\n\t\t\tif(username.matches(usernameRegex))\r\n\t\t\t{\r\n\t\t\t\tif((password.length() >= 8) && (password.length() <= 16) && (password.matches(passwordRegex)))\r\n\t\t\t\t{\r\n\t\t\t\t\tMap<String, String> formData = new HashMap<String, String>();\r\n\t\t\t\t\tformData.put(\"username\", username);\r\n\t\t\t\t\tformData.put(\"password\", password);\r\n\t\t\t\t\t\r\n\t\t\t\t\tRPCClientContext.set(null);\r\n\t\t\t\t\t//System.out.println(\"Check value: \" + getCheckValue());\r\n\t\t\t\t\tSystem.out.println(\"Login page login button: \" + getUsername());\r\n\t\t\t\t\tLog.info(\"Login page login button: \" + getUsername());\r\n\t\t\t\t\trememberMe = getCheckValue();\r\n\t\t\t\t\tUserValidationServiceAsync service = UserValidationService.Util.getInstance();\t\t\t\r\n\t\t\t\t\tservice.validateUserData(getUsername(), getPassword(), getCheckValue(), loginCallback);\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tlblWarning.setText(\"\");\r\n\t\t\t\t\tlblWarning.setText(\"Please enter a valid password.\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tlblWarning.setText(\"\");\r\n\t\t\t\tlblWarning.setText(\"Please enter a valid username.\");\r\n\t\t\t}\r\n\t\t} \t\r\n }", "title": "" }, { "docid": "a2637355b1e543ab805cdf33473349d3", "score": "0.61376333", "text": "private void changePasswordButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_changePasswordButtonActionPerformed\n //Checking to see if a username has been entered\n if (!this.existingUsernameField.getText().equals(\"\")) {\n //Retrieving the user's ID\n String sql = \"SELECT user.UserID\\n\"\n + \"FROM user\\n\"\n + \"WHERE (((user.Username)=\\\"\" + this.existingUsernameField.getText() + \"\\\"));\";\n ResultSet rs = DatabaseHandle.query(sql);\n //Checking to see that SQL executed properly\n if (rs != null) {\n try {\n if (rs.next()) {\n //Creating a password reset screen\n new PasswordReset(rs.getInt(\"UserID\")).setVisible(true);\n this.dispose();\n } else {\n //Couldn't find the user record with a name the user provided\n new Popup(\"That user does not exist, please create a new user.\").setVisible(true);\n }\n } catch (SQLException e) {\n }\n }\n } else {\n //No username entered\n new Popup(\"Please enter a username.\").setVisible(true);\n }\n }", "title": "" }, { "docid": "1d7376d6c0bb12043e37f7f8d3880ead", "score": "0.61358756", "text": "private void formLoginMainButtonLoginActionPerformed(java.awt.event.ActionEvent evt) {\n try {\n boolean is_success = users.login(formLoginMainTextFieldUsername.getText(), formLoginMainPasswordFieldPassword.getText());\n\n if (is_success) {\n MainMenu mainMenu = new MainMenu();\n mainMenu.show(true);\n mainMenu.setLabelId(users.getId().toString());\n mainMenu.setLabelNik(users.getUsername());\n mainMenu.setFullName(users.getFirstName().trim() + \" \" + users.getLastName().trim());\n mainMenu.setAccessMenu(users.getAccessMenu());\n mainMenu.setUsers(users);\n this.dispose();\n } else {\n JOptionPane.showMessageDialog(null, Constanta.Messages.MESSAGE_FAILED_LOGIN);\n clearForm();\n }\n } catch (HeadlessException | SQLException e) {\n JOptionPane.showMessageDialog(this, e.getMessage());\n }\n }", "title": "" }, { "docid": "7191308382fcaab3d669ca0ed95db25e", "score": "0.6129234", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jPanel1 = new javax.swing.JPanel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n btnTao = new javax.swing.JButton();\n btnReset = new javax.swing.JButton();\n jLabel5 = new javax.swing.JLabel();\n text4 = new javax.swing.JTextField();\n lblOldpass = new javax.swing.JLabel();\n lblCnfpass = new javax.swing.JLabel();\n text2 = new javax.swing.JPasswordField();\n text3 = new javax.swing.JPasswordField();\n btnBack = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 20)); // NOI18N\n jLabel1.setText(\"CHANGE PASSWORD\");\n\n jLabel3.setFont(new java.awt.Font(\"Tahoma\", 1, 15)); // NOI18N\n jLabel3.setText(\"New Password\");\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 15)); // NOI18N\n jLabel4.setText(\"Confirm Password\");\n\n btnTao.setFont(new java.awt.Font(\"Tahoma\", 1, 15)); // NOI18N\n btnTao.setText(\"Create\");\n btnTao.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnTaoActionPerformed(evt);\n }\n });\n\n btnReset.setFont(new java.awt.Font(\"Tahoma\", 1, 15)); // NOI18N\n btnReset.setText(\"Reset\");\n btnReset.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnResetActionPerformed(evt);\n }\n });\n\n jLabel5.setFont(new java.awt.Font(\"Tahoma\", 1, 15)); // NOI18N\n jLabel5.setText(\"Username\");\n\n text4.setHorizontalAlignment(javax.swing.JTextField.CENTER);\n text4.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n text4ActionPerformed(evt);\n }\n });\n text4.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n text4KeyPressed(evt);\n }\n });\n\n lblOldpass.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lblOldpass.setForeground(new java.awt.Color(255, 51, 51));\n\n lblCnfpass.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lblCnfpass.setForeground(new java.awt.Color(255, 0, 0));\n\n btnBack.setText(\"back\");\n btnBack.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnBackActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(107, 107, 107)\n .addComponent(btnTao)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 286, Short.MAX_VALUE)\n .addComponent(btnReset)\n .addGap(74, 74, 74))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(27, 27, 27)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel4)\n .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.LEADING))\n .addGap(118, 118, 118)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(text4)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(lblOldpass)\n .addComponent(lblCnfpass))\n .addGap(0, 0, Short.MAX_VALUE))\n .addComponent(text2)\n .addComponent(text3))))\n .addGap(46, 46, 46))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(btnBack)\n .addContainerGap())\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(39, 39, 39)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(text4, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(55, 55, 55))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(text2, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))\n .addComponent(lblOldpass)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 20, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel4)\n .addGap(36, 36, 36))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(text3, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(26, 26, 26)))\n .addComponent(lblCnfpass)\n .addGap(40, 40, 40)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnTao)\n .addComponent(btnReset))\n .addGap(18, 18, 18)\n .addComponent(btnBack)\n .addContainerGap())\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(82, 82, 82)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(278, 278, 278)\n .addComponent(jLabel1)))\n .addContainerGap(44, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(39, 39, 39)\n .addComponent(jLabel1)\n .addGap(53, 53, 53)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(81, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "ec36dfd7133092983dab6cce1a8e4485", "score": "0.6128321", "text": "@SuppressWarnings(\"unchecked\")\r\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\r\n private void initComponents() {\r\n\r\n btn_Ingreso_Login = new javax.swing.JButton();\r\n jLabel1 = new javax.swing.JLabel();\r\n txtcodigo_puesto = new javax.swing.JTextField();\r\n btn_Busqueda_Login = new javax.swing.JButton();\r\n jLabel3 = new javax.swing.JLabel();\r\n txtnombre_puesto = new javax.swing.JTextField();\r\n txtnombre_puesto1 = new javax.swing.JTextField();\r\n jLabel2 = new javax.swing.JLabel();\r\n txtcodigo_puesto1 = new javax.swing.JTextField();\r\n jLabel4 = new javax.swing.JLabel();\r\n txtLimpiar = new javax.swing.JButton();\r\n btn_Busqueda_Login2 = new javax.swing.JButton();\r\n\r\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\r\n\r\n btn_Ingreso_Login.setText(\"Ingreso\");\r\n btn_Ingreso_Login.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n btn_Ingreso_LoginActionPerformed(evt);\r\n }\r\n });\r\n\r\n jLabel1.setText(\"Codigo Puesto\");\r\n\r\n btn_Busqueda_Login.setText(\"Buscar\");\r\n btn_Busqueda_Login.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n btn_Busqueda_LoginActionPerformed(evt);\r\n }\r\n });\r\n\r\n jLabel3.setText(\"Nombre Puesto\");\r\n\r\n jLabel2.setText(\"Codigo Puesto\");\r\n\r\n jLabel4.setText(\"Nombre Puesto\");\r\n\r\n txtLimpiar.setText(\"Limpiar\");\r\n txtLimpiar.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n txtLimpiarActionPerformed(evt);\r\n }\r\n });\r\n\r\n btn_Busqueda_Login2.setText(\"Eliminar\");\r\n btn_Busqueda_Login2.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n btn_Busqueda_Login2ActionPerformed(evt);\r\n }\r\n });\r\n\r\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\r\n getContentPane().setLayout(layout);\r\n layout.setHorizontalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\r\n .addGap(40, 40, 40)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addComponent(btn_Ingreso_Login, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addGap(50, 50, 50)\r\n .addComponent(btn_Busqueda_Login, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addGap(41, 41, 41)\r\n .addComponent(txtLimpiar, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addGap(0, 0, Short.MAX_VALUE))\r\n .addGroup(layout.createSequentialGroup()\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(jLabel4)\r\n .addComponent(jLabel2))\r\n .addGap(59, 59, 59)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\r\n .addComponent(txtcodigo_puesto1, javax.swing.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE)\r\n .addComponent(txtnombre_puesto1))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\r\n .addGap(31, 31, 31)\r\n .addComponent(btn_Busqueda_Login2, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addGap(53, 53, 53))\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\r\n .addGap(51, 51, 51)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(jLabel3)\r\n .addComponent(jLabel1))\r\n .addGap(59, 59, 59)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\r\n .addComponent(txtcodigo_puesto, javax.swing.GroupLayout.DEFAULT_SIZE, 241, Short.MAX_VALUE)\r\n .addComponent(txtnombre_puesto))\r\n .addGap(0, 0, Short.MAX_VALUE))\r\n );\r\n layout.setVerticalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addGap(24, 24, 24)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabel1)\r\n .addComponent(txtcodigo_puesto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGap(18, 18, 18)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabel3)\r\n .addComponent(txtnombre_puesto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGap(53, 53, 53)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(btn_Ingreso_Login, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(btn_Busqueda_Login, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(txtLimpiar, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(btn_Busqueda_Login2, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 39, Short.MAX_VALUE)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabel2)\r\n .addComponent(txtcodigo_puesto1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGap(18, 18, 18)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(jLabel4)\r\n .addComponent(txtnombre_puesto1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGap(22, 22, 22))\r\n );\r\n\r\n pack();\r\n }", "title": "" }, { "docid": "b1c5714cbc6759f7f1696c824bc19a11", "score": "0.6113358", "text": "public void IncorrectLogin() {\n\t\t\n\t}", "title": "" }, { "docid": "b3092369c5ea3ff8e7bdc5a9cfca70de", "score": "0.60965157", "text": "public void updateLogin() {\n\t\tprivateMsgManger.updateUser(userid);\n\t}", "title": "" }, { "docid": "21576779f093b7bb86927454aa25c613", "score": "0.6092897", "text": "public void login() {\n conecta.conexao();\n try {\n conecta.executaSQL(\"SELECT * FROM login WHERE username='\" + combo_user.getSelectedItem() + \"'\");\n conecta.rs.first();\n if (conecta.rs.getString(\"password\").equals(txt_pass.getText())) {\n new Menu((String) combo_user.getSelectedItem()).setVisible(true);\n dispose();\n } else {\n message_txt.setText(\"Invalid Password!\");\n message_txt.setForeground(new Color(202, 66, 66));\n }\n } catch (NullPointerException | SQLException ex) {\n message_txt.setText(\"User does not exists!\");\n message_txt.setForeground(new Color(202, 66, 66));\n }\n conecta.desconecta();\n }", "title": "" }, { "docid": "b8110afad27c82ffcc1a7a6d5d97df66", "score": "0.6083862", "text": "public void userAendern() {\r\n String[] daten = new String[4];\r\n daten[0] = txtNeuPasswort.getText();\r\n daten[1] = txtNeuStudiengang.getText();\r\n daten[2] = txtNeuECTS.getText();\r\n daten[3] = txtNeuPasswortNochmal.getText();\r\n\r\n if (!daten[0].equals(\"\")) {\r\n if (daten[0].equals(daten[3])) {\r\n try {\r\n UserVerwaltung.bearbeitenBenutzer(LoginGUI.nameLogin(),\r\n daten);\r\n AktuelleSitzung.getAktuelleSitzung();\r\n AktuelleSitzung.getBenutzer().setStudiengang(daten[1]);\r\n AktuelleSitzung.getBenutzer().setEcts(daten[2]); \r\n AktuelleSitzung.getBenutzer().setPasswort(daten[0]);\r\n } catch (IOException exc) {\r\n JOptionPane.showMessageDialog(null, \"Error!\");\r\n }\r\n dispose();\r\n new KalenderGui(AktuelleSitzung.getBenutzer());\r\n } else {\r\n \r\n JOptionPane.showMessageDialog(null, \"Passwoerter stimmen \"\r\n + \"nicht ueberein!\");\r\n \r\n }\r\n } else {\r\n JOptionPane.showMessageDialog(null, \"Bitte Passwort eingeben!\");\r\n }\r\n }", "title": "" }, { "docid": "aa5b2fbea73da89346b52fa9399a6e9f", "score": "0.6082176", "text": "public void acessaSistema() {\r\n String login = jTextFieldLogin.getText();\r\n String senha = new String(jPasswordFieldSenha.getPassword());\r\n if (login.equals(\"\") && senha.equals(\"\")) {\r\n JOptionPane.showMessageDialog(null, \"Campos de usuário e senha em branco\");\r\n } else if (FuncionarioJpaDao.getInstance().getByUserName(login) == null) {\r\n JOptionPane.showMessageDialog(null, \"Usuário \" + login + \" não consta em nossa base de dados\");\r\n } else if (FuncionarioJpaDao.getInstance().getByUserName(login) != null) {\r\n if (!FuncionarioJpaDao.getInstance().auth(login, senha)) {\r\n JOptionPane.showMessageDialog(null, \"Senha incorreta para o usuário\" + login + \".\");\r\n } else if (FuncionarioJpaDao.getInstance().auth(login, senha) && !Sha256.getInstance().getSHA256Hash(senha).equals(\"7E32C6E5E1D0D0106FB6BC8F2F838CB71CEC1A14E9F165A4E77A0C3154E0D01F\")) {\r\n JOptionPane.showMessageDialog(null, \"ACESSO PERMITIDO\\n\"\r\n + \"Bem Vindo \" + login + \"\\n\"\r\n + \"Você está logado como usuário \" + Sessao.getInstance().getFuncionario().getNomeUsuario());\r\n new TelaPrincipal().setVisible(true);\r\n this.dispose();\r\n } else if (FuncionarioJpaDao.getInstance().auth(login, senha) && Sha256.getInstance().getSHA256Hash(senha).equals(\"7E32C6E5E1D0D0106FB6BC8F2F838CB71CEC1A14E9F165A4E77A0C3154E0D01F\")) {\r\n jPanelMudaSenha.setVisible(true);\r\n jTextFieldLogin.setEditable(false);\r\n jPasswordFieldSenha.setEditable(false);\r\n jButtonAcessarSistema.setEnabled(false);\r\n jLabelUsuarioLogado.setText(\"Bem vindo,\" + Sessao.getInstance().getFuncionario().getNomeUsuario() + \" por favor altera a sua senha padrão\");\r\n }\r\n } else {\r\n JOptionPane.showMessageDialog(null, \"Erro ao tentar logar\");\r\n }\r\n }", "title": "" }, { "docid": "a80055e113aa64d7aaaa7b04d58d5c4d", "score": "0.606223", "text": "private void botonAceptarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botonAceptarActionPerformed\n manejadorUsuarioAdmin nuevoUsuario = new manejadorUsuarioAdmin(this.conexion);\n this.campoDni = this.campoTextoDNIUsuario.getText(); // Informacion que se carga en el campo de texto \"DNI\"\n this.campoNombre = this.campoTextoNombreUsuario.getText(); // Informacion que se carga en el campo de texto \"NOMBRE\"\n this.campoApellido = this.campoTextoApellidoUsuario.getText(); // Informacion que se carga en el campo de texto \"APELLIDO\"\n if(this.campoTextoEdadUsuario.getText().compareTo(\"\") != 0){\n this.campoEdad = Integer.parseInt(this.campoTextoEdadUsuario.getText()); // Informacion que se carga en el campo de texto \"EDAD\"\n }\n this.campoDireccion = this.campoTextoDireccionUsuario.getText(); // Informacion que se carga en el campo de texto \"DIRECCION\"\n this.campoTelefono = this.campoTextoTelefonoUsuario.getText(); // Informacion que se carga en el campo de texto \"TELEFONO\"\n this.campoContrasenia = this.campoTextoContraseniaUsuario.getText();\n this.campoContraseniaC = this.campoTextoContraseniaUsuarioC.getText();\n if(this.campoContrasenia.equals(this.campoContraseniaC)){ // Control de contraseña y su confirmacion\n try{\n if((this.campoDni.compareTo(\"\") != 0)&& (!(nuevoUsuario.buscarAdministradorPorDni(this.campoDni).next()))\n &&(this.campoNombre.compareTo(\"\") != 0)&&(this.campoApellido.compareTo(\"\") != 0)&&\n (this.campoEdad >= 16)&&(this.campoDireccion.compareTo(\"\") != 0)&&(this.campoTelefono.compareTo(\"\") != 0)){ // Control de campos obligatorios\n nuevoUsuario.insertarAdministrador(this.campoDni, this.campoNombre, this.campoApellido, this.campoEdad, this.campoDireccion, this.campoTelefono, this.campoContrasenia);\n JOptionPane.showMessageDialog(null, \"El nuevo usuario '\"+this.campoNombre+\" \"+this.campoApellido+\"' ha sido cargado satisfactoriamente en el sistema. \", \"Sistema de Cocheras B&B\", JOptionPane.INFORMATION_MESSAGE);\n this.dispose();\n }\n else{\n lanzarError();\n }\n }\n catch (Exception e){\n JOptionPane.showMessageDialog(null,\"Ha ocurrido un error interno :\"+ e, \"Sistema de Cocheras B&B\",JOptionPane.ERROR_MESSAGE);\n }\n }\n else{\n JOptionPane.showMessageDialog(null,\"La contraseña ingresada no coincide con la confirmacion de la misma\", \"Sistema de Cocheras B&B\",JOptionPane.ERROR_MESSAGE);\n }\n }", "title": "" }, { "docid": "17eb88f2da02e8a3a086cbd3d2fa20cb", "score": "0.60359067", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n txtUsuario = new javax.swing.JTextField();\n jpasContraseña = new javax.swing.JPasswordField();\n btn_ingresar = new javax.swing.JButton();\n jLabel4 = new javax.swing.JLabel();\n btn_cancelar = new javax.swing.JButton();\n jLabel3 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Login - Mis Ofertas \");\n setBackground(new java.awt.Color(255, 255, 255));\n setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n setLocation(new java.awt.Point(0, 0));\n setResizable(false);\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel1.setText(\"Nombre Usuario:\");\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel2.setText(\"Contraseña :\");\n\n jpasContraseña.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jpasContraseñaKeyPressed(evt);\n }\n });\n\n btn_ingresar.setText(\"Ingresar\");\n btn_ingresar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btn_ingresarActionPerformed(evt);\n }\n });\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n jLabel4.setText(\"Iniciar Sesion\");\n\n btn_cancelar.setText(\"Salir\");\n btn_cancelar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btn_cancelarActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(54, 54, 54)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel2)\n .addGap(18, 18, 18)\n .addComponent(jpasContraseña))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addComponent(txtUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 202, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(179, 179, 179)\n .addComponent(jLabel4)))\n .addContainerGap(75, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGap(78, 78, 78)\n .addComponent(btn_cancelar)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btn_ingresar)\n .addGap(43, 43, 43))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel4)\n .addGap(22, 22, 22)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(txtUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(48, 48, 48)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(jpasContraseña, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 55, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btn_ingresar)\n .addComponent(btn_cancelar))\n .addGap(50, 50, 50))\n );\n\n jLabel3.setFont(new java.awt.Font(\"Tahoma\", 0, 48)); // NOI18N\n jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel3.setText(\"Mis Ofertas\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(155, 155, 155)\n .addComponent(jLabel3))\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(30, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(25, 25, 25)\n .addComponent(jLabel3)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 55, Short.MAX_VALUE)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n\n pack();\n }", "title": "" }, { "docid": "a60987b71280dc4862e9675372d2df41", "score": "0.6030624", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n txtSenha = new javax.swing.JPasswordField();\n txtUsuario = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n btnLogin = new javax.swing.JButton();\n lblConexao = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Loja Gabenrick's H&C - Login\");\n setExtendedState(6);\n setResizable(false);\n\n jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n\n jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);\n jLabel1.setText(\"Usuario:\");\n\n jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);\n jLabel2.setText(\"Senha:\");\n\n jLabel3.setText(\"Usuario/Senha Padrao: GERENTE\");\n\n btnLogin.setText(\"Login\");\n btnLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnLoginActionPerformed(evt);\n }\n });\n\n lblConexao.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Icones/dberror.png\"))); // NOI18N\n lblConexao.setToolTipText(\"Status de Conexão\");\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(16, 16, 16)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(lblConexao, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 197, Short.MAX_VALUE)\n .addGap(18, 18, 18)\n .addComponent(btnLogin, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(10, 10, 10))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(txtSenha, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtUsuario))\n .addContainerGap())))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(txtUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(txtSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(lblConexao)\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnLogin)\n .addComponent(jLabel3))))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n setSize(new java.awt.Dimension(385, 162));\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "fcb2ab0e35a6a5e505cdc09789368152", "score": "0.60212845", "text": "@Override\r\n public void actionPerformed(ActionEvent e) {\r\n if(e.getSource()== loginButton){\r\n //System.out.println(\"in login action\");\r\n try {\r\n //1 for login\r\n output.write(1);\r\n loginFlag = sendUserPass();\r\n System.out.println(\"here\");\r\n\r\n } catch (IOException ex) {\r\n Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (ClassNotFoundException classNotFoundException) {\r\n classNotFoundException.printStackTrace();\r\n }\r\n\r\n if (loginFlag) {\r\n //System.out.println(\"here\");\r\n\r\n f.setVisible(false);\r\n initMethodLogin();\r\n //loggedInUser = new User(username,password);\r\n }\r\n userText.setText(\"\");\r\n passText.setText(\"\");\r\n loginFlag = false;\r\n\r\n }\r\n else if(e.getSource()== logoutButton){\r\n f1.setVisible(false);\r\n f.setVisible(true);\r\n username=null;\r\n password=null;\r\n loggedInUser=null;\r\n //3 for change username\r\n try {\r\n output.write(3);\r\n System.out.println(\"3 sent\");\r\n\r\n //this.initMethod();\r\n } catch (IOException ioException) {\r\n ioException.printStackTrace();\r\n }\r\n\r\n }\r\n else if(e.getSource()== changePass){\r\n f1.setVisible(false);\r\n changePassPanel();\r\n //f.setVisible(true);\r\n //2 for change username\r\n try {\r\n output.write(2);\r\n System.out.println(\"2 sent\");\r\n } catch (IOException ioException) {\r\n ioException.printStackTrace();\r\n }\r\n\r\n }\r\n else if(e.getSource()== changeUser){\r\n f1.setVisible(false);\r\n changeUsernamePanel();\r\n //1 for change username\r\n try {\r\n output.write(1);\r\n System.out.println(\"1 sent\");\r\n } catch (IOException ioException) {\r\n ioException.printStackTrace();\r\n }\r\n //f.setVisible(true);\r\n\r\n }\r\n else if(e.getSource()== enterButton){\r\n if(oldUserText.getText().equals(username)&&passUserText.getText().equals(password)&&newUserText.getText().length()<20) {\r\n \r\n f2.setVisible(false);\r\n loggedInUser = new User(newUserText.getText(),password);\r\n System.out.println(\"usrnam: \" + loggedInUser.GetUsername()+\" pass: \" + loggedInUser.GetPassword());\r\n User tempUser = new User(loggedInUser);\r\n try {\r\n oos.writeObject(loggedInUser);\r\n oos.flush();\r\n loggedInUser = (User)ois.readObject();\r\n System.out.println(\"usrnam: \" + loggedInUser.GetUsername()+\" pass: \" + loggedInUser.GetPassword());\r\n if (tempUser.GetUsername().equals(loggedInUser.GetUsername())){\r\n System.out.println(\"in loooop\");\r\n username = loggedInUser.GetUsername();\r\n password = loggedInUser.GetPassword();\r\n Helper.DialogBox(\"Username Changed!\");\r\n f1.setVisible(true);\r\n }\r\n else {\r\n Helper.DialogBox(\"Username already exists!\");\r\n f2.setVisible(true);\r\n }\r\n \r\n } catch (IOException | ClassNotFoundException ioException) {\r\n ioException.printStackTrace();\r\n }\r\n \r\n //changeUsernamePanel();\r\n \r\n }\r\n else{\r\n if (!oldUserText.getText().equals(username)){\r\n Helper.DialogBox(\"Wrong Username\");\r\n }\r\n else if (!passUserText.getText().equals(password)){\r\n Helper.DialogBox(\"Wrong Password\");\r\n }\r\n else if (newUserText.getText().length() >=20){\r\n Helper.DialogBox(\"Username should be less than 20 characters\");\r\n }\r\n \r\n }\r\n\r\n }\r\n else if(e.getSource()== enterButton1){\r\n if(userPassText.getText().equals(username)&&oldPassText.getText().equals(password)&&newPassText.getText().length()>=4&&newPassText.getText().length()<=10 ){\r\n f3.setVisible(false);\r\n loggedInUser = new User(username,newPassText.getText());\r\n try {\r\n oos.writeObject(loggedInUser);\r\n oos.flush();\r\n loggedInUser = (User)ois.readObject();\r\n username = loggedInUser.GetUsername();\r\n password = loggedInUser.GetPassword();\r\n Helper.DialogBox(\"Password Changed!\");\r\n } catch (IOException | ClassNotFoundException ioException) {\r\n ioException.printStackTrace();\r\n }\r\n //changeUsernamePanel();\r\n f1.setVisible(true);\r\n }\r\n else{\r\n if (!userPassText.getText().equals(username)){\r\n Helper.DialogBox(\"Wrong Username\");\r\n }\r\n else if (!oldPassText.getText().equals(password)){\r\n Helper.DialogBox(\"Wrong Password\");\r\n }\r\n else if (newPassText.getText().length()<=4||newPassText.getText().length()>=10){\r\n Helper.DialogBox(\"Password should be 4 to 10 characters long!\");\r\n }\r\n }\r\n\r\n }\r\n else if(e.getSource()== registerButton){\r\n try {\r\n output.write(2);\r\n } catch (IOException ioException) {\r\n ioException.printStackTrace();\r\n }\r\n //System.out.println(\"here in r button action\");\r\n f.setVisible(false);\r\n registerPanel();\r\n f4.setVisible(true);\r\n\r\n }\r\n else if(e.getSource()== enterButton2){\r\n if(userRText.getText().length()<20&&passRText.getText().length()<=10&&passRText.getText().length()>=4){\r\n try {\r\n //f4.setVisible(false);\r\n registerUser = userRText.getText();\r\n registerPassword = passRText.getText();\r\n System.out.println(registerUser + \" \" + registerPassword);\r\n User u = new User(registerUser, registerPassword);\r\n boolean flag;\r\n \r\n oos.writeObject(u);\r\n oos.flush();\r\n flag = (boolean)ois.readObject();\r\n \r\n if (flag) {\r\n \r\n Helper.DialogBox(\"User Created Successfully!\");\r\n \r\n }\r\n else {\r\n Helper.DialogBox(\"Username already exists!\");\r\n \r\n }\r\n flag = false;\r\n f4.setVisible(false);\r\n f.setVisible(true);\r\n } catch (IOException ex) {\r\n Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null, ex);\r\n } catch (ClassNotFoundException ex) {\r\n Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n \r\n }\r\n else{\r\n f4.setVisible(true);\r\n if (userRText.getText().length()>20){\r\n Helper.DialogBox(\"Username should be less than 20 characters\");\r\n }\r\n else if (passRText.getText().length()< 4 || passRText.getText().length()>10){\r\n Helper.DialogBox(\"Password should be between 4 and 10 characters long\");\r\n }\r\n }\r\n }\r\n \r\n }", "title": "" }, { "docid": "715d606b3f2928bf32b16cd16426c0fb", "score": "0.60169315", "text": "@SuppressWarnings(\"unchecked\")\n \n \n private void login(){\n String email = tfEmail.getText();\n String password = pfPass.getText();\n String level= cbPilihan.getSelectedItem().toString();\n String status=cbPilihan.getSelectedItem().toString();\n \n //enkripsi \n char[] kr ={'0','1','2','3','4','5','6','7','8','9',' ','.','□',+\n 'a','b','c','d','e','f','g','h','i','j','k','l','m',+\n 'n','o','p','q','r','s','t','u','v','w','x','y','z'};\n String emailEnkrip = \"\";\n String passEnkrip = \"\";\n \n char[] cArray1 =(email).toCharArray();\n char[] cArray2 =(password).toCharArray();\n\n for (char c1 : cArray1){\n for(int i=0; i<=38; i++){\n if(c1 == kr[i]){\n i = i+(Integer.parseInt(\"10\"));\n if(i>=39){\n i = i-39;\n }\n c1 = kr[i];\n emailEnkrip = emailEnkrip + c1;\n }\n }\n }\n \n for (char c2 : cArray2){\n for(int i=0; i<=38; i++){\n if(c2 == kr[i]){\n i = i+(Integer.parseInt(\"10\"));\n if(i>=39){\n i = i-39;\n }\n c2 = kr[i];\n passEnkrip = passEnkrip + c2;\n }\n }\n }\n \n if (!email.isEmpty()&& !password.isEmpty()){\n try{\n String sql=\"SELECT * FROM Userr WHERE email='\"+emailEnkrip+\"' AND password='\"+passEnkrip+\"' AND level='\"+level+\"' ;\";\n \n \n Connection con = ModulDB.connectDB();\n Statement stmt=con.createStatement();\n ResultSet result=stmt.executeQuery(sql);\n //String a=result.getString(\"level\");\n \n if(!result.next()){\n showMessageDialog(null, \"Email atau Password salah\");\n }\n else{\n ModulDB.id_akun=result.getInt(\"id_akun\");\n ModulDB.nama=result.getString(\"nama\");\n ModulDB.email=result.getString(\"email\");\n ModulDB.password=result.getString(\"password\");\n ModulDB.level=result.getString(\"level\");\n \n new Beranda().setVisible(true);\n this.dispose();//menyembunyikan halaman login\n }\n } \n \n catch(SQLException | HeadlessException e){\n showMessageDialog(null,e.getMessage(),\"Error!\", JOptionPane.ERROR_MESSAGE);\n }\n }\n else\n showMessageDialog(null,\"Email dan password harus terisi !\");\n }", "title": "" }, { "docid": "3ab43c7df51bd61b265b29c2d7ae3c23", "score": "0.60055435", "text": "private void cargarValoresUsuarios()\n\t{\n\t\tPreferencias preferencias = Preferencias.getPreferencias();\n\t\t\n\t\t// seteamos los campos de contraseña de cada usuario de las preferencias obtenidas\n\t\tpfAdministrador.setText(preferencias.getPasswordAdmin());\n\t\tpfEmpleado.setText(preferencias.getPasswordEmpleado());\t\t\n\t}", "title": "" }, { "docid": "5bcb7a48faf317a9a8802b8c7a5b51b9", "score": "0.5997509", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n filler3 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0));\n jPanel1 = new javax.swing.JPanel();\n jLabel5 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n txUsuario = new javax.swing.JTextField();\n btLogin = new javax.swing.JButton();\n jLabel3 = new javax.swing.JLabel();\n txSenha = new javax.swing.JPasswordField();\n filler5 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 32767));\n filler6 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 32767));\n filler1 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(32767, 0));\n filler2 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 0), new java.awt.Dimension(0, 0), new java.awt.Dimension(32767, 0));\n\n setBackground(new java.awt.Color(59, 50, 135));\n\n jPanel1.setBackground(new java.awt.Color(59, 50, 135));\n\n jLabel5.setForeground(new java.awt.Color(255, 255, 255));\n jLabel5.setText(\"Senha\");\n\n jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/META-INF/imagem/senac_logo.png\"))); // NOI18N\n\n jLabel4.setFont(new java.awt.Font(\"Nirmala UI\", 1, 18)); // NOI18N\n jLabel4.setForeground(new java.awt.Color(255, 255, 255));\n jLabel4.setText(\"Biblioteca Login \");\n\n btLogin.setText(\"Logar\");\n btLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btLoginActionPerformed(evt);\n }\n });\n\n jLabel3.setForeground(new java.awt.Color(255, 255, 255));\n jLabel3.setText(\"Email:\");\n\n txSenha.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btLoginActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(46, 46, 46)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel3)\n .addComponent(jLabel5))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(txUsuario)\n .addComponent(btLogin, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(txSenha, javax.swing.GroupLayout.DEFAULT_SIZE, 193, Short.MAX_VALUE))\n .addContainerGap(81, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel2)\n .addGap(137, 137, 137))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel4)\n .addGap(106, 106, 106))))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(23, 23, 23)\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(28, 28, 28)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel5))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btLogin)\n .addContainerGap(31, Short.MAX_VALUE))\n );\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 .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(filler1, javax.swing.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE)\n .addGap(18, 18, 18)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(5, 5, 5)\n .addComponent(filler2, javax.swing.GroupLayout.DEFAULT_SIZE, 95, Short.MAX_VALUE)\n .addGap(13, 13, 13))\n .addGroup(layout.createSequentialGroup()\n .addGap(293, 293, 293)\n .addComponent(filler6, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(262, 262, 262)\n .addComponent(filler3, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(270, 270, 270)\n .addComponent(filler5, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(filler2, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(112, 112, 112)\n .addComponent(filler3, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(filler5, javax.swing.GroupLayout.DEFAULT_SIZE, 53, Short.MAX_VALUE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createSequentialGroup()\n .addGap(153, 153, 153)\n .addComponent(filler1, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(filler6, javax.swing.GroupLayout.DEFAULT_SIZE, 77, Short.MAX_VALUE)\n .addContainerGap())\n );\n }", "title": "" }, { "docid": "dbf0c6f85c12e22dd8e64eafb0801c35", "score": "0.5991261", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n campoLogin = new javax.swing.JTextField();\n txtLogin = new javax.swing.JLabel();\n txtSenha = new javax.swing.JLabel();\n boxPerfil = new javax.swing.JComboBox<>();\n txtPerfil = new javax.swing.JLabel();\n btnSalvar = new javax.swing.JButton();\n btnSair = new javax.swing.JButton();\n jScrollPane1 = new javax.swing.JScrollPane();\n tabela = new javax.swing.JTable();\n btnCancelar = new javax.swing.JButton();\n btnExcluir = new javax.swing.JButton();\n campoSenha = new javax.swing.JPasswordField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"Cadastro de Usuários\");\n setResizable(false);\n\n campoLogin.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n campoLoginKeyReleased(evt);\n }\n });\n\n txtLogin.setText(\"Usuário\");\n\n txtSenha.setText(\"Senha\");\n\n boxPerfil.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"ADMINISTRADOR\", \"OPERADOR\" }));\n\n txtPerfil.setText(\"Perfil\");\n\n btnSalvar.setText(\"Salvar\");\n btnSalvar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnSalvarActionPerformed(evt);\n }\n });\n getRootPane().setDefaultButton(btnSalvar);\n\n btnSair.setText(\"Sair\");\n btnSair.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnSairActionPerformed(evt);\n }\n });\n\n tabela.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null},\n {null, null},\n {null, null},\n {null, null}\n },\n new String [] {\n \"Login\", \"Perfil\"\n }\n ) {\n boolean[] canEdit = new boolean [] {\n false, false\n };\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n tabela.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n tabelaMouseClicked(evt);\n }\n });\n jScrollPane1.setViewportView(tabela);\n\n btnCancelar.setText(\"Cancelar\");\n btnCancelar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnCancelarActionPerformed(evt);\n }\n });\n\n btnExcluir.setText(\"Excluir\");\n btnExcluir.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnExcluirActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(20, 20, 20)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(campoLogin, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txtLogin))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtSenha)\n .addComponent(campoSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(txtPerfil)\n .addGap(0, 0, Short.MAX_VALUE))\n .addComponent(boxPerfil, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 344, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(btnSalvar, javax.swing.GroupLayout.DEFAULT_SIZE, 82, Short.MAX_VALUE)\n .addComponent(btnSair, javax.swing.GroupLayout.DEFAULT_SIZE, 82, Short.MAX_VALUE)\n .addComponent(btnCancelar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnExcluir, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(36, 36, 36)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtLogin)\n .addComponent(txtSenha)\n .addComponent(txtPerfil))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(campoLogin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(boxPerfil, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(campoSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(btnSalvar, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnExcluir, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnCancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 56, Short.MAX_VALUE)\n .addComponent(btnSair, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))\n .addContainerGap())\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "dcaac85191994fd9c5a3ca416b35124c", "score": "0.5990887", "text": "@SuppressWarnings(\"unchecked\")\r\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\r\n private void initComponents() {\r\n\r\n jPanelLogin = new javax.swing.JPanel();\r\n jTextFieldLogin = new javax.swing.JTextField();\r\n jPasswordFieldSenha = new javax.swing.JPasswordField();\r\n jButtonAcessarSistema = new javax.swing.JButton();\r\n jButtonSair = new javax.swing.JButton();\r\n jLabelEsqueceuSenha = new javax.swing.JLabel();\r\n jLabelSenha = new javax.swing.JLabel();\r\n jLabelUsuario = new javax.swing.JLabel();\r\n jPanelMudaSenha = new javax.swing.JPanel();\r\n pfSenha = new javax.swing.JPasswordField();\r\n jButtonAcessarSistema1 = new javax.swing.JButton();\r\n jLabelSenha1 = new javax.swing.JLabel();\r\n jLabelUsuarioLogado = new javax.swing.JLabel();\r\n jLabelSenha2 = new javax.swing.JLabel();\r\n pfConfirmaSenha = new javax.swing.JPasswordField();\r\n jButton1 = new javax.swing.JButton();\r\n\r\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\r\n setTitle(\"Projeto de Segurança da Informação\");\r\n\r\n jTextFieldLogin.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jTextFieldLoginActionPerformed(evt);\r\n }\r\n });\r\n\r\n jButtonAcessarSistema.setText(\"Acessar o sistema\");\r\n jButtonAcessarSistema.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jButtonAcessarSistemaActionPerformed(evt);\r\n }\r\n });\r\n\r\n jButtonSair.setText(\"Sair\");\r\n jButtonSair.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jButtonSairActionPerformed(evt);\r\n }\r\n });\r\n\r\n jLabelEsqueceuSenha.setText(\"Esqueceu a senha?\");\r\n jLabelEsqueceuSenha.addMouseListener(new java.awt.event.MouseAdapter() {\r\n public void mouseClicked(java.awt.event.MouseEvent evt) {\r\n jLabelEsqueceuSenhaMouseClicked(evt);\r\n }\r\n });\r\n\r\n jLabelSenha.setText(\"Senha\");\r\n\r\n jLabelUsuario.setText(\"Usuário\");\r\n\r\n javax.swing.GroupLayout jPanelLoginLayout = new javax.swing.GroupLayout(jPanelLogin);\r\n jPanelLogin.setLayout(jPanelLoginLayout);\r\n jPanelLoginLayout.setHorizontalGroup(\r\n jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanelLoginLayout.createSequentialGroup()\r\n .addContainerGap()\r\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\r\n .addGroup(jPanelLoginLayout.createSequentialGroup()\r\n .addComponent(jLabelUsuario)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(jTextFieldLogin))\r\n .addGroup(jPanelLoginLayout.createSequentialGroup()\r\n .addComponent(jButtonSair)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(jButtonAcessarSistema))\r\n .addComponent(jLabelEsqueceuSenha)\r\n .addGroup(jPanelLoginLayout.createSequentialGroup()\r\n .addComponent(jLabelSenha)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\r\n .addComponent(jPasswordFieldSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 231, javax.swing.GroupLayout.PREFERRED_SIZE)))\r\n .addContainerGap(49, Short.MAX_VALUE))\r\n );\r\n jPanelLoginLayout.setVerticalGroup(\r\n jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelLoginLayout.createSequentialGroup()\r\n .addContainerGap(12, Short.MAX_VALUE)\r\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jTextFieldLogin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jLabelUsuario))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jPasswordFieldSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jLabelSenha))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(jLabelEsqueceuSenha)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jButtonSair)\r\n .addComponent(jButtonAcessarSistema))\r\n .addGap(19, 19, 19))\r\n );\r\n\r\n pfSenha.addKeyListener(new java.awt.event.KeyAdapter() {\r\n public void keyPressed(java.awt.event.KeyEvent evt) {\r\n pfSenhaKeyPressed(evt);\r\n }\r\n public void keyTyped(java.awt.event.KeyEvent evt) {\r\n pfSenhaKeyTyped(evt);\r\n }\r\n });\r\n\r\n jButtonAcessarSistema1.setText(\"Mudar Senha\");\r\n jButtonAcessarSistema1.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jButtonAcessarSistema1ActionPerformed(evt);\r\n }\r\n });\r\n\r\n jLabelSenha1.setText(\"Senha\");\r\n\r\n jLabelUsuarioLogado.setText(\"Bem vindo, por favor altera a sua senha padrão\");\r\n\r\n jLabelSenha2.setText(\"Confirma Senha\");\r\n\r\n pfConfirmaSenha.addKeyListener(new java.awt.event.KeyAdapter() {\r\n public void keyPressed(java.awt.event.KeyEvent evt) {\r\n pfConfirmaSenhaKeyPressed(evt);\r\n }\r\n public void keyTyped(java.awt.event.KeyEvent evt) {\r\n pfConfirmaSenhaKeyTyped(evt);\r\n }\r\n });\r\n\r\n javax.swing.GroupLayout jPanelMudaSenhaLayout = new javax.swing.GroupLayout(jPanelMudaSenha);\r\n jPanelMudaSenha.setLayout(jPanelMudaSenhaLayout);\r\n jPanelMudaSenhaLayout.setHorizontalGroup(\r\n jPanelMudaSenhaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanelMudaSenhaLayout.createSequentialGroup()\r\n .addGroup(jPanelMudaSenhaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanelMudaSenhaLayout.createSequentialGroup()\r\n .addContainerGap()\r\n .addGroup(jPanelMudaSenhaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\r\n .addGroup(jPanelMudaSenhaLayout.createSequentialGroup()\r\n .addComponent(jLabelSenha1)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addComponent(pfSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 231, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGroup(jPanelMudaSenhaLayout.createSequentialGroup()\r\n .addComponent(jLabelSenha2)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(pfConfirmaSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 231, javax.swing.GroupLayout.PREFERRED_SIZE))))\r\n .addGroup(jPanelMudaSenhaLayout.createSequentialGroup()\r\n .addGap(52, 52, 52)\r\n .addComponent(jLabelUsuarioLogado)))\r\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelMudaSenhaLayout.createSequentialGroup()\r\n .addGap(0, 0, Short.MAX_VALUE)\r\n .addComponent(jButtonAcessarSistema1)\r\n .addGap(133, 133, 133))\r\n );\r\n jPanelMudaSenhaLayout.setVerticalGroup(\r\n jPanelMudaSenhaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelMudaSenhaLayout.createSequentialGroup()\r\n .addGap(6, 6, 6)\r\n .addComponent(jLabelUsuarioLogado)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addGroup(jPanelMudaSenhaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(pfSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jLabelSenha1))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(jPanelMudaSenhaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabelSenha2)\r\n .addComponent(pfConfirmaSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(jButtonAcessarSistema1)\r\n .addGap(24, 24, 24))\r\n );\r\n\r\n jButton1.setText(\"user sessao\");\r\n jButton1.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jButton1ActionPerformed(evt);\r\n }\r\n });\r\n\r\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\r\n getContentPane().setLayout(layout);\r\n layout.setHorizontalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addGap(10, 10, 10)\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addComponent(jPanelLogin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addGap(28, 28, 28)\r\n .addComponent(jButton1))\r\n .addComponent(jPanelMudaSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 330, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addContainerGap(13, Short.MAX_VALUE))\r\n );\r\n layout.setVerticalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addGap(5, 5, 5)\r\n .addComponent(jPanelLogin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGroup(layout.createSequentialGroup()\r\n .addGap(75, 75, 75)\r\n .addComponent(jButton1)))\r\n .addGap(9, 9, 9)\r\n .addComponent(jPanelMudaSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n );\r\n\r\n pack();\r\n setLocationRelativeTo(null);\r\n }", "title": "" }, { "docid": "8d858d0b16ef9888ba30ba92615c0740", "score": "0.59867185", "text": "public void actualizarDatosUsuarioFuncionario(){\r\n\t\tfuncionario = (Funcionario) SesionFactory.getValor(\"persona\");\r\n\t\t\r\n\t\tem.getTransaction().begin();\r\n\t\t\r\n\t\t\r\n\t\t//se validad q el password digitado sea el mismo al anterior, para poderlo actualizar\r\n\t\tif(funcionario.getPassword().equals(passViejo)){\r\n\t\t\tif(passNuevo.equals(passConfirmacion)){\r\n\t\t\tfuncionario.setPassword(passNuevo);\r\n\t\t\t\r\n\t\t\tem.merge(funcionario);\r\n\t\t\tem.getTransaction().commit();\r\n\t\t\tSesionFactory.agregarASesion(\"funcionario\", funcionario);\r\n\t\t\t\r\n\t\t\tFacesContext.getCurrentInstance().addMessage(null,new FacesMessage(FacesMessage.SEVERITY_INFO,\"El password se ha actualizado con exito\",null));\r\n\r\n\t\t\t}else {\r\n\t\t\t\tFacesContext.getCurrentInstance().addMessage(null,new FacesMessage(FacesMessage.SEVERITY_ERROR,\"Las contraseņas no son iguales, intente de nuevo\",null));\r\n\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tFacesContext.getCurrentInstance().addMessage(null,new FacesMessage(FacesMessage.SEVERITY_ERROR,\"Las contraseņas no son iguales, intente de nuevo\",null));\r\n\t\t}\r\n\t\t\r\n\t\t\t\t\r\n\t}", "title": "" }, { "docid": "151edc5a963968502d75c98702f58c8a", "score": "0.5981345", "text": "public void checkLogin()\r\n\t{\r\n\t\t@SuppressWarnings(\"unused\")\r\n\t\tboolean log = false;\t\t\r\n\t\tString user = username.getText();\r\n\t\tString pass = password.getText();\r\n\t\tString hashPass = \"\";\r\n\t\t\r\n\t\t//pocetak enkripcije sifre\r\n\t\ttry\r\n\t\t{\r\n\t\t\tMessageDigest m = MessageDigest.getInstance(\"MD5\");\r\n\t\t\tm.reset();\r\n\t\t\tm.update(pass.getBytes());\r\n\t\t\tbyte[] digest = m.digest();\r\n\t\t\tBigInteger bigInt = new BigInteger(1,digest);\r\n\t\t\thashPass = bigInt.toString(16);\t\t\t\r\n\t\t} \r\n\t\tcatch (NoSuchAlgorithmException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\t\t\r\n\t\t//kraj enkripcije\r\n\t\t\r\n\t\tboolean logged = loginDB(user, hashPass);\r\n\t\tif(logged)\r\n\t\t{\r\n\t\t\tlog = true;\r\n\t\t\tsetVisible(false);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Pogresno korisnicko ime ili lozinka.\");\r\n\t\t\tusername.setText(\"\");\r\n\t\t\tpassword.setText(\"\");\r\n\t\t}\t\t\r\n\t}", "title": "" }, { "docid": "aaa8e3684afbab24df592ec9a0484489", "score": "0.5979819", "text": "@Click(R.id.btnLogin)\n public void validaLogin() {\n Usuario u = null;\n try {\n u = dh.validaLogin(edtLogin.getText().toString(), edtSenha.getText().toString());\n if (u == null) {\n Toast.makeText(this, \"usuario/senha inválidos\", Toast.LENGTH_LONG).show();\n edtLogin.setText(\"\");\n edtSenha.setText(\"\");\n edtLogin.requestFocus();\n } else {\n Intent itPrincipal = new Intent(this, PrincipalActivity_.class);\n itPrincipal.putExtra(\"usuario\", u);\n startActivity(itPrincipal);\n finish();\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "dec8d9bc403f5ca50c999dad489f62cd", "score": "0.5977403", "text": "public void setLogin (String newVar) {\n login = newVar;\n }", "title": "" }, { "docid": "ae6ce7c92942c815a68ef811cc9b70ec", "score": "0.59768236", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n txtEndServidor = new javax.swing.JTextField();\n jLabel2 = new javax.swing.JLabel();\n txtPorta = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n txtNomeUsuario = new javax.swing.JTextField();\n btnConectar = new javax.swing.JButton();\n btnDesconectar = new javax.swing.JButton();\n jLabel4 = new javax.swing.JLabel();\n jScrollPane1 = new javax.swing.JScrollPane();\n tblUsuarios = new javax.swing.JTable();\n btnJogar = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Login Jogo da Velha\");\n setResizable(false);\n\n jLabel1.setText(\"Endereço do servidor:\");\n\n txtEndServidor.setText(\"192.168.0.16\");\n\n jLabel2.setText(\"Porta:\");\n\n txtPorta.setText(\"12345\");\n\n jLabel3.setText(\"Nome de usuário:\");\n\n btnConectar.setText(\"Conectar\");\n btnConectar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnConectarActionPerformed(evt);\n }\n });\n\n btnDesconectar.setText(\"Desconectar\");\n btnDesconectar.setEnabled(false);\n btnDesconectar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnDesconectarActionPerformed(evt);\n }\n });\n\n jLabel4.setText(\"Usuários online:\");\n\n tblUsuarios.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null}\n },\n new String [] {\n \"Usuário\", \"Status\", \"Pontos\", \"Title 4\"\n }\n ) {\n boolean[] canEdit = new boolean [] {\n false, false, false, true\n };\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n tblUsuarios.setEnabled(false);\n tblUsuarios.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n tblUsuariosMouseClicked(evt);\n }\n });\n jScrollPane1.setViewportView(tblUsuarios);\n\n btnJogar.setText(\"Jogar com usuário selecionado\");\n btnJogar.setEnabled(false);\n btnJogar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnJogarActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 503, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1)\n .addComponent(jLabel3))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(txtEndServidor, javax.swing.GroupLayout.DEFAULT_SIZE, 149, Short.MAX_VALUE)\n .addComponent(txtNomeUsuario))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(txtPorta))\n .addGroup(layout.createSequentialGroup()\n .addComponent(btnConectar)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(btnDesconectar))))\n .addComponent(btnJogar)\n .addComponent(jLabel4))\n .addGap(0, 0, Short.MAX_VALUE)))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(txtEndServidor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2)\n .addComponent(txtPorta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(txtNomeUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnConectar)\n .addComponent(btnDesconectar)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jLabel4)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 372, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(btnJogar)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "5a0f410113b44ca41ca04251dc6b88df", "score": "0.5973712", "text": "private void ChecarLogin() {\n\t\tbtnLogar.setOnClickListener(new OnClickListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\t// acao executado ao clicar do botao\r\n\t\t\tpublic void onClick(View v) {\r\n\r\n\t\t\t\t// recupera usuario e senha digitados\r\n\t\t\t\tUsuario usuario = new Usuario(edtUsuario.getText().toString(), edtSenha.getText().toString(), null,\r\n\t\t\t\t\t\tnull);\r\n\r\n\t\t\t\t// chama o dao\r\n\t\t\t\tUsuarioDAO dao = new UsuarioDAO(Login.this);\r\n\r\n\t\t\t\t// valida os campos\r\n\t\t\t\tboolean validacao = validacao(usuario.getLogin(), usuario.getSenha());\r\n\r\n\t\t\t\t// monta um dialogo\r\n\t\t\t\tAlertDialog.Builder dialogo = new AlertDialog.Builder(Login.this);\r\n\t\t\t\t// add botao ao dialogo\r\n\t\t\t\tdialogo.setNeutralButton(\"Ok\", null);\r\n\t\t\t\ttry {\r\n\t\t\t\t\t// verifica se bate usuario e senha\r\n\t\t\t\t\tif (validacao) {\r\n\t\t\t\t\t\tif (dao.Logar(usuario.getLogin(), usuario.getSenha())) {\r\n\t\t\t\t\t\t\t// registra usuario na sessao\r\n\t\t\t\t\t\t\tnew SessaoDAO(Login.this).setUsuario(usuario.getLogin(), dao);\r\n\r\n\t\t\t\t\t\t\t// carrega novo layotu\r\n\t\t\t\t\t\t\tIntent intent = new Intent(Login.this, ConsultasMarcadas.class);\r\n\t\t\t\t\t\t\tstartActivity(intent);\r\n\t\t\t\t\t\t\tlimpaCampos();\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// avisa q usuario e senha estao errados\r\n\t\t\t\t\t\t\tdialogo.setMessage(R.string.msg_erro_invalido_login);\r\n\t\t\t\t\t\t\tdialogo.show(); // exibe dialogo\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// avisa q usuario e senha estao errados\r\n\t\t\t\t\t\tdialogo.setMessage(R.string.msg_erro_validacao_login);\r\n\t\t\t\t\t\tdialogo.show(); // exibe dialogo\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (SQLiteException e) {\r\n\t\t\t\t\t// reportar erro\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t} finally {\r\n\t\t\t\t\t// garante a finalizacao da conexao com o banco\r\n\t\t\t\t\tdao.close();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t});\r\n\t}", "title": "" }, { "docid": "f7f357d8ddc0670bea583f11db540a73", "score": "0.59713084", "text": "public String modificarPerfil() throws LoginException {\n\n if (!ncon.equals(\"\") && contrasenia == null) {\n usuario.setNumContacto(ncon);\n }\n if (!email.equals(\"\") && contrasenia == null) {\n usuario.setEmail(email);\n }\n if (contrasenia.equals(contrasenia2) && !contrasenia.equals(\"\")) {\n usuario.setContrasena(contrasenia);\n if (ncon != null) {\n usuario.setNumContacto(ncon);\n }\n if (email != null) {\n usuario.setEmail(email);\n }\n } else {\n FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_WARN, \"El campo contraseña debe ser igual\", \"El campo contraseña debe ser igual\"));\n }\n negocio.modificar(usuario);\n FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, \"El perfil ha sido modificado\", \"El perfil ha sido modificado\"));\n return \"Perfil.xhtml\";\n }", "title": "" }, { "docid": "4454591a55ecb4757bfcf87e81b63d54", "score": "0.59511614", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\"> \n private void initComponents() {\n\n lbLogin = new javax.swing.JLabel();\n lbUsuario = new javax.swing.JLabel();\n lbContra = new javax.swing.JLabel();\n btnLogin = new javax.swing.JButton();\n checkUsu = new javax.swing.JCheckBox();\n checkFuncionario = new javax.swing.JCheckBox();\n txtUsuario = new javax.swing.JTextField();\n txtContra = new javax.swing.JPasswordField();\n btnRegistrarse = new javax.swing.JButton();\n\n lbLogin.setText(\"Login\");\n\n lbUsuario.setText(\"ID :\");\n\n lbContra.setText(\"Contraseņa :\");\n\n btnLogin.setText(\"Login\");\n btnLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnLoginActionPerformed(evt);\n }\n });\n\n checkUsu.setText(\"Usuario\");\n checkUsu.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n checkUsuActionPerformed(evt);\n }\n });\n\n checkFuncionario.setText(\"Funcionario\");\n checkFuncionario.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n checkFuncionarioActionPerformed(evt);\n }\n });\n\n btnRegistrarse.setText(\"Registrarse\");\n btnRegistrarse.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnRegistrarseActionPerformed(evt);\n }\n });\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 .addGroup(layout.createSequentialGroup()\n .addGap(19, 19, 19)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(checkUsu)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(checkFuncionario))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(btnLogin)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 83, Short.MAX_VALUE)\n .addComponent(btnRegistrarse))\n .addGroup(layout.createSequentialGroup()\n .addComponent(lbUsuario)\n .addGap(28, 28, 28)\n .addComponent(txtUsuario))\n .addGroup(layout.createSequentialGroup()\n .addComponent(lbContra)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(txtContra))\n .addGroup(layout.createSequentialGroup()\n .addGap(100, 100, 100)\n .addComponent(lbLogin)\n .addGap(0, 0, Short.MAX_VALUE)))\n .addContainerGap())))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(lbLogin)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(lbUsuario)\n .addComponent(txtUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(lbContra)\n .addComponent(txtContra, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(checkUsu)\n .addComponent(checkFuncionario))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnLogin)\n .addComponent(btnRegistrarse))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n }", "title": "" }, { "docid": "9c2bcef3499c89aec3d5f59d1bc884cc", "score": "0.5949716", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanelLogin = new javax.swing.JPanel();\n jSeparator1 = new javax.swing.JSeparator();\n jLabelTitulo = new javax.swing.JLabel();\n jLabelUser = new javax.swing.JLabel();\n jLabelPass = new javax.swing.JLabel();\n jTextFieldUser = new javax.swing.JTextField();\n jPasswordFieldPass = new javax.swing.JPasswordField();\n jButtonCancel = new javax.swing.JButton();\n jButtonOK = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setResizable(false);\n\n jLabelTitulo.setFont(new java.awt.Font(\"Comic Sans MS\", 1, 14)); // NOI18N\n jLabelTitulo.setText(\"Login\");\n\n jLabelUser.setText(\"Usuário:\");\n\n jLabelPass.setText(\"Senha:\");\n\n jPasswordFieldPass.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jPasswordFieldPassActionPerformed(evt);\n }\n });\n jPasswordFieldPass.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jPasswordFieldPassKeyPressed(evt);\n }\n });\n\n jButtonCancel.setText(\"Cancelar\");\n jButtonCancel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonCancelActionPerformed(evt);\n }\n });\n jButtonCancel.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jButtonCancelKeyPressed(evt);\n }\n });\n\n jButtonOK.setText(\"OK\");\n jButtonOK.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonOKActionPerformed(evt);\n }\n });\n jButtonOK.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n jButtonOKKeyPressed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanelLoginLayout = new javax.swing.GroupLayout(jPanelLogin);\n jPanelLogin.setLayout(jPanelLoginLayout);\n jPanelLoginLayout.setHorizontalGroup(\n jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelLoginLayout.createSequentialGroup()\n .addContainerGap()\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jSeparator1)\n .addGroup(jPanelLoginLayout.createSequentialGroup()\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabelUser)\n .addComponent(jLabelPass))\n .addGap(14, 14, 14)\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPasswordFieldPass)\n .addComponent(jTextFieldUser))))\n .addContainerGap())\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelLoginLayout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(jButtonOK)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButtonCancel)\n .addGap(27, 27, 27))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelLoginLayout.createSequentialGroup()\n .addContainerGap(74, Short.MAX_VALUE)\n .addComponent(jLabelTitulo, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(74, 74, 74))\n );\n jPanelLoginLayout.setVerticalGroup(\n jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanelLoginLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabelTitulo)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 2, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabelUser)\n .addComponent(jTextFieldUser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabelPass)\n .addComponent(jPasswordFieldPass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(32, 32, 32)\n .addGroup(jPanelLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButtonCancel)\n .addComponent(jButtonOK))\n .addContainerGap())\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 191, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanelLogin, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 192, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jPanelLogin, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n );\n\n pack();\n }", "title": "" }, { "docid": "419362a56fc89366c9d92492014f13ad", "score": "0.59476405", "text": "public void modificaCredenziali() { }", "title": "" }, { "docid": "3b7f212442bc681e11df7a01ff7e5210", "score": "0.5946129", "text": "public void iniciarSesion() {\n usuarioModelo = new UsuarioModelo(this.textoUsuario.getText(), this.passwordContrasena.getText());\n usuarioDAO = new UsuarioDAO();\n int existeUsuario = usuarioDAO.buscarUsuario(usuarioModelo);\n if (existeUsuario == UsuarioDAO.ERROR_SQL) {\n Notificacion.dialogoAlerta(AlertType.ERROR, \"Base de Datos [BuscarUsuario]\", \"Error en la sentencia SQL\");\n regresarPantallaBloqueo();\n } else if (existeUsuario == UsuarioDAO.USUARIO_INCORRECTO) {\n Notificacion.dialogoAlerta(AlertType.ERROR, \"Inicio de Sesión [BuscarUsuario]\", \"El usuario no existe\");\n regresarPantallaBloqueo();\n } else if (existeUsuario == UsuarioDAO.CONTRASENA_INCORRECTA) {\n Notificacion.dialogoAlerta(AlertType.ERROR, \"Inisio de Sesión [BuscarUsuario]\", \"La contraseña es incorrecta\");\n regresarPantallaBloqueo();\n } else if (existeUsuario == UsuarioDAO.USUARIO_BLOQUEADO) {\n Notificacion.dialogoAlerta(AlertType.ERROR, \"Inicio de Sesión [BuscarUsuario]\", \"El usuario esta bloqueado consulta al admnistrador\");\n regresarPantallaBloqueo();\n } else if (existeUsuario == UsuarioDAO.CREDENCIALES_VALIDAS) {\n// notificacion.setMensaje(\"Los datos de usuario son correctos\");\n// notificacion.setTipo(AlertType.CONFIRMATION);\n// notificacion.mostrar();\n mostrarVentanaVenta();\n }// Fin if/else\n if(usuarioDAO.cerrarConexion() == UsuarioDAO.ERROR_SQL) {\n Notificacion.dialogoAlerta(Alert.AlertType.ERROR, \"Base de Datos [BuscarUsuario]\", \"Error en la sentencia SQL\");\n }// Fin if\n }", "title": "" }, { "docid": "0a07098e3f369d16c9ab54120e3a4f01", "score": "0.5933822", "text": "public void login(){\n\t\tsetUsername();\n\t\tsetPassword();\n\t\tclickLogin();\n\t}", "title": "" }, { "docid": "750e72ba605169ed31487f04c4222d75", "score": "0.59105515", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n txtPengguna = new javax.swing.JTextField();\n txtKataSandi = new javax.swing.JPasswordField();\n btnLogin = new javax.swing.JButton();\n btnKeluar = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);\n setTitle(\"Login\");\n\n jLabel1.setText(\"Nama Pengguna\");\n\n jLabel2.setText(\"Kata Sandi\");\n\n txtKataSandi.setEchoChar('*');\n txtKataSandi.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtKataSandiActionPerformed(evt);\n }\n });\n txtKataSandi.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n txtKataSandiKeyTyped(evt);\n }\n });\n\n btnLogin.setText(\"Login\");\n btnLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnLoginActionPerformed(evt);\n }\n });\n\n btnKeluar.setText(\"Keluar\");\n btnKeluar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnKeluarActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(15, 15, 15)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel2)\n .addComponent(jLabel1))\n .addGap(42, 42, 42)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(btnLogin)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnKeluar))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(txtPengguna, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtKataSandi, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 153, Short.MAX_VALUE)))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(22, 22, 22)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(txtPengguna, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtKataSandi, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addGap(18, 18, 18)\n .addComponent(jLabel2)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnLogin)\n .addComponent(btnKeluar))\n .addContainerGap(64, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "4ff2ee58cee8eb972104ff7e14ce6567", "score": "0.5908362", "text": "void setLogin(Login login);", "title": "" }, { "docid": "03fff59f1880f36ad71bc99e4dde46b3", "score": "0.5896232", "text": "public ChangeUnPw() {\n initComponents();\n LoginDAO d = new LoginDAO();\n txtChangeUser.setText(d.getun());\n EmpDAO dao = new EmpDAO();\n \n String emplevel = dao.getEmpLevel(txtChangeUser.getText());\n System.out.println(emplevel);\n if(emplevel.equalsIgnoreCase(\"manager\"))\n {\n btnViewComps.setVisible(true);\n }\n else\n {\n btnViewComps.setVisible(false);\n }\n fillEmpNames();\n AutoCompletion.enable(cmbNames);\n// jPanel1.setBackground(new Color(0, 0, 0, 0));\n// txtChangeUser.setBackground(new Color(0, 0, 0, 0));\n txtCurrentPw.setEnabled(false);\n txtNewPw.setEnabled(false);\n txtConfirmPw.setEnabled(false);\n txtNewUn.setEnabled(false);\n chkUn.setEnabled(false);\n chkPw.setEnabled(false);\n jLabel4.setEnabled(false);\n jLabel5.setEnabled(false);\n jLabel6.setEnabled(false);\n jLabel7.setEnabled(false);\n btnSubmit.setEnabled(false);\n lblECPw.setText(\" \");\n lblEnotAvailable.setText(\" \");\n jLabel2.setEnabled(false);\n jLabel8.setEnabled(false);\n cmbNames.setEnabled(false);\n txtComp.setEnabled(false);\n btnAddComp.setEnabled(false);\n }", "title": "" }, { "docid": "bf405aff2ce23b688425cc697334ade7", "score": "0.5880119", "text": "@Listen(\"onChange = #txtPassword2Usuario\")\r\n\tpublic void validarPassword() {\r\n\t\tif (!txtPasswordUsuario.getValue().equals(\r\n\t\t\t\ttxtPassword2Usuario.getValue())) {\r\n\t\t\tMensaje.mensajeAlerta(Mensaje.contrasennasNoCoinciden);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "af501dac7076c7bdf264e39e59065a10", "score": "0.58762425", "text": "@Override\r\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tString user = txt_username.getText().trim();\r\n\r\n\t\t\t\t\t\tString pass = txt_pass.getText().trim();\r\n\t\t\t\t\t\tif (!user.isEmpty() && !pass.isEmpty()) {\r\n\t\t\t\t\t\t\tcurr_user = user;\r\n\t\t\t\t\t\t\tSystem.out.println(user);\r\n\r\n\t\t\t\t\t\t\twhat = new HashMap<>();\r\n\t\t\t\t\t\t\twhat.put(\"active\", 1);\r\n\t\t\t\t\t\t\tString timeStamp = (new Timestamp(date.getTime())).toString();\r\n\t\t\t\t\t\t\twhat.put(\"login_time\", timeStamp);\r\n\r\n\t\t\t\t\t\t\twhere = new HashMap<>();\r\n\t\t\t\t\t\t\twhere.put(\"username\", user);\r\n\t\t\t\t\t\t\twhere.put(\"password\", pass);\r\n\t\t\t\t\t\t\tint count = sm.updateDatabase(\"emp\", where, what);\r\n\t\t\t\t\t\t\tif (count > 0) {\r\n\t\t\t\t\t\t\t\tdialog.dispose();\r\n\r\n\t\t\t\t\t\t\t\tframe.setVisible(true);\r\n\t\t\t\t\t\t\t\tlblUsername.setText(curr_user);\r\n\t\t\t\t\t\t\t\tsetDataInDash();\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"invalid Login details \", \"Login Error \",\r\n\t\t\t\t\t\t\t\t\t\tJOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t\t\t\t\tcurr_user = \"\";\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tSystem.out.println(\"set up dialog pst close\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b75749aa1d7195d97b990e76230c4f70", "score": "0.5867028", "text": "public boolean changerPasswordClient(String login, String ancienMotDePasse,\n\t\t\tString nouveauMotDePasse);", "title": "" }, { "docid": "280aa32f49864af687704c9aa962558a", "score": "0.5864362", "text": "private void existingPasswordFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_existingPasswordFieldActionPerformed\n loginButtonActionPerformed(evt);\n }", "title": "" }, { "docid": "b617f50507d32b42bf4b3ae25f5249dc", "score": "0.58605456", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n BackToLoginBTN = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jTextField1 = new javax.swing.JTextField();\n RegisterBTN = new javax.swing.JButton();\n jTextField3 = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n jPasswordField1 = new javax.swing.JPasswordField();\n jLabel4 = new javax.swing.JLabel();\n jPasswordField2 = new javax.swing.JPasswordField();\n SairBTN = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setAlwaysOnTop(true);\n\n BackToLoginBTN.setFont(new java.awt.Font(\"Segoe UI\", 1, 12)); // NOI18N\n BackToLoginBTN.setText(\"Voltar para pagina de login\");\n BackToLoginBTN.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n BackToLoginActionPerformed(evt);\n }\n });\n\n jLabel1.setFont(new java.awt.Font(\"Segoe UI\", 1, 12)); // NOI18N\n jLabel1.setText(\"Digite seu nome completo:\");\n\n jLabel2.setFont(new java.awt.Font(\"Segoe UI\", 1, 12)); // NOI18N\n jLabel2.setText(\"Digite sua senha:\");\n\n RegisterBTN.setFont(new java.awt.Font(\"Segoe UI\", 1, 12)); // NOI18N\n RegisterBTN.setText(\"REGISTRAR\");\n RegisterBTN.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n RegisterActionPerformed(evt);\n }\n });\n\n jTextField3.setEditable(false);\n\n jLabel3.setFont(new java.awt.Font(\"Segoe UI\", 1, 12)); // NOI18N\n jLabel3.setText(\"Seu usuario é:\");\n\n jLabel4.setFont(new java.awt.Font(\"Segoe UI\", 1, 12)); // NOI18N\n jLabel4.setText(\"Confirme sua senha:\");\n\n SairBTN.setFont(new java.awt.Font(\"Segoe UI\", 1, 12)); // NOI18N\n SairBTN.setText(\"Sair\");\n SairBTN.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n SairBTNActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(BackToLoginBTN))\n .addGroup(layout.createSequentialGroup()\n .addGap(13, 13, 13)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel4))\n .addGap(45, 45, 45)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jPasswordField1, javax.swing.GroupLayout.DEFAULT_SIZE, 219, Short.MAX_VALUE)\n .addComponent(jPasswordField2))\n .addComponent(RegisterBTN, javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel3)\n .addGap(19, 19, 19)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(SairBTN)\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE))))))\n .addContainerGap(12, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 7, Short.MAX_VALUE)\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(12, 12, 12))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(17, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jPasswordField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel4))\n .addGap(18, 18, 18)\n .addComponent(RegisterBTN)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3))\n .addGap(16, 16, 16)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(BackToLoginBTN)\n .addComponent(SairBTN))\n .addGap(32, 32, 32))\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "cba8c126beb79a416b6eb6c837fdf0eb", "score": "0.5842858", "text": "private void setNewPassword(){\n\t}", "title": "" }, { "docid": "b346e500f0b6fb308ef8b6632f40efad", "score": "0.5834037", "text": "private void fillUserNameAndPasswordField() {\n SecurePreferenceBP spBP = SecurePreferenceBP.getInstance();\n IStructuredSelection sel = \n (IStructuredSelection) m_connectionComboViewer\n .getSelection();\n DatabaseConnection conn = (DatabaseConnection)sel.getFirstElement();\n if (conn != null) {\n String profileName = conn.getName();\n m_profileSave.setSelection(spBP\n .isSaveCredentialsActive(profileName));\n if (m_profileSave.getSelection()) {\n \n String userName = spBP.getUserName(profileName);\n String databasePassword = spBP.getPassword(profileName);\n \n m_userText.setText(userName);\n m_pwdText.setText(databasePassword);\n } else {\n String userName = spBP.getUserName(profileName);\n \n m_userText.setText(userName);\n m_pwdText.setText(StringConstants.EMPTY);\n \n }\n \n }\n }", "title": "" }, { "docid": "cbc90dfc9842bfdef54060c191133d66", "score": "0.5824974", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\r\n\t\tString pass1 = frame.passwordField.getText().toString();\r\n\t\tString pass2 = frame.passwordField_1.getText().toString();\r\n\t\tif(pass1.isEmpty() || pass2.isEmpty())\r\n\t\t\tJOptionPane.showMessageDialog(null,Sistem.getInstance().getTranslate(\"Pass_fill\"),\r\n\t\t\t\t \"\", JOptionPane.PLAIN_MESSAGE);\r\n\t\telse if(pass1.equals(pass2)){\r\n\t\t\tInfViewModel.getInstance().getCurrentUser().setPassword(pass1);\r\n\t\t\tframe.dispose();\r\n\t\t\tDBConnection.getInstance().changePass(InfViewModel.getInstance().getCurrentUser(), pass1);\r\n\t\t\tJOptionPane.showMessageDialog(null,Sistem.getInstance().getTranslate(\"Pass_change\"),\r\n\t\t\t\t \"\", JOptionPane.PLAIN_MESSAGE);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tJOptionPane.showMessageDialog(null,Sistem.getInstance().getTranslate(\"Pass_match\"),\r\n\t\t\t\t \"\", JOptionPane.PLAIN_MESSAGE);\r\n\t\t}\r\n\t\t\t\r\n\t}", "title": "" }, { "docid": "a364957b742a4dc3579c6659aa2a6045", "score": "0.58135486", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n buttonGroup1 = new javax.swing.ButtonGroup();\n pnlLogar = new javax.swing.JPanel();\n txtLogin = new javax.swing.JTextField();\n txtSenha = new javax.swing.JPasswordField();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n btnOkLogar = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n pnlCadastroUsers = new javax.swing.JPanel();\n btnCriarUsuario = new javax.swing.JButton();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n jLabel8 = new javax.swing.JLabel();\n txtSenha1 = new javax.swing.JPasswordField();\n txtLogin1 = new javax.swing.JTextField();\n txtNome1 = new javax.swing.JTextField();\n radioSim1 = new javax.swing.JRadioButton();\n radioNao1 = new javax.swing.JRadioButton();\n jLabel9 = new javax.swing.JLabel();\n jMenuBar1 = new javax.swing.JMenuBar();\n jMenu1 = new javax.swing.JMenu();\n jMenuItem1 = new javax.swing.JMenuItem();\n jMenuItem2 = new javax.swing.JMenuItem();\n mnuSair = new javax.swing.JMenuItem();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Acesso\");\n setResizable(false);\n getContentPane().setLayout(null);\n\n pnlLogar.setLayout(null);\n\n txtLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtLoginActionPerformed(evt);\n }\n });\n pnlLogar.add(txtLogin);\n txtLogin.setBounds(80, 142, 210, 50);\n\n txtSenha.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtSenhaActionPerformed(evt);\n }\n });\n txtSenha.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n txtSenhaKeyPressed(evt);\n }\n });\n pnlLogar.add(txtSenha);\n txtSenha.setBounds(80, 220, 210, 50);\n\n jLabel2.setText(\"Login:\");\n pnlLogar.add(jLabel2);\n jLabel2.setBounds(80, 120, 34, 16);\n\n jLabel3.setText(\"Senha:\");\n pnlLogar.add(jLabel3);\n jLabel3.setBounds(80, 198, 39, 16);\n\n btnOkLogar.setText(\"Entrar\");\n btnOkLogar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnOkLogarActionPerformed(evt);\n }\n });\n btnOkLogar.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n btnOkLogarKeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n btnOkLogarKeyReleased(evt);\n }\n public void keyTyped(java.awt.event.KeyEvent evt) {\n btnOkLogarKeyTyped(evt);\n }\n });\n pnlLogar.add(btnOkLogar);\n btnOkLogar.setBounds(122, 288, 122, 40);\n\n jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/imagens/resumo-de-fundo-com-um-desenho-geometrico_1048-1511.jpg\"))); // NOI18N\n pnlLogar.add(jLabel1);\n jLabel1.setBounds(-14, -17, 410, 430);\n\n getContentPane().add(pnlLogar);\n pnlLogar.setBounds(0, 0, 370, 400);\n\n pnlCadastroUsers.setBackground(new java.awt.Color(255, 255, 255));\n pnlCadastroUsers.setEnabled(false);\n pnlCadastroUsers.setOpaque(false);\n pnlCadastroUsers.setLayout(null);\n\n btnCriarUsuario.setText(\"Cadastrar\");\n btnCriarUsuario.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnCriarUsuarioActionPerformed(evt);\n }\n });\n pnlCadastroUsers.add(btnCriarUsuario);\n btnCriarUsuario.setBounds(170, 290, 120, 40);\n\n jLabel4.setFont(new java.awt.Font(\"Dialog\", 1, 24)); // NOI18N\n jLabel4.setForeground(new java.awt.Color(0, 0, 0));\n jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel4.setText(\"Cadastro de Usuários\");\n pnlCadastroUsers.add(jLabel4);\n jLabel4.setBounds(100, 40, 280, 60);\n\n jLabel5.setText(\"Nome:\");\n pnlCadastroUsers.add(jLabel5);\n jLabel5.setBounds(70, 140, 41, 16);\n\n jLabel6.setText(\"Login:\");\n pnlCadastroUsers.add(jLabel6);\n jLabel6.setBounds(70, 180, 34, 16);\n\n jLabel7.setText(\"Senha:\");\n pnlCadastroUsers.add(jLabel7);\n jLabel7.setBounds(70, 220, 39, 20);\n\n jLabel8.setText(\"Administrador:\");\n pnlCadastroUsers.add(jLabel8);\n jLabel8.setBounds(120, 250, 100, 20);\n\n txtSenha1.setEnabled(false);\n pnlCadastroUsers.add(txtSenha1);\n txtSenha1.setBounds(120, 210, 250, 30);\n\n txtLogin1.setEnabled(false);\n pnlCadastroUsers.add(txtLogin1);\n txtLogin1.setBounds(120, 170, 250, 30);\n\n txtNome1.setEnabled(false);\n txtNome1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtNome1ActionPerformed(evt);\n }\n });\n pnlCadastroUsers.add(txtNome1);\n txtNome1.setBounds(120, 130, 250, 30);\n\n buttonGroup1.add(radioSim1);\n radioSim1.setSelected(true);\n radioSim1.setText(\"Sim\");\n radioSim1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n radioSim1ActionPerformed(evt);\n }\n });\n pnlCadastroUsers.add(radioSim1);\n radioSim1.setBounds(220, 250, 47, 24);\n\n buttonGroup1.add(radioNao1);\n radioNao1.setText(\"Não\");\n radioNao1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n radioNao1ActionPerformed(evt);\n }\n });\n pnlCadastroUsers.add(radioNao1);\n radioNao1.setBounds(280, 250, 47, 24);\n\n jLabel9.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/imagens/resumo-de-fundo-com-um-desenho-geometrico_1048-1511.jpg\"))); // NOI18N\n pnlCadastroUsers.add(jLabel9);\n jLabel9.setBounds(-14, -77, 540, 590);\n\n getContentPane().add(pnlCadastroUsers);\n pnlCadastroUsers.setBounds(-46, -2, 420, 420);\n\n jMenu1.setText(\"Opções\");\n\n jMenuItem1.setText(\"Criar Usuário\");\n jMenuItem1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItem1ActionPerformed(evt);\n }\n });\n jMenu1.add(jMenuItem1);\n\n jMenuItem2.setText(\"Logar\");\n jMenuItem2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jMenuItem2ActionPerformed(evt);\n }\n });\n jMenu1.add(jMenuItem2);\n\n mnuSair.setText(\"Sair\");\n mnuSair.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n mnuSairActionPerformed(evt);\n }\n });\n jMenu1.add(mnuSair);\n\n jMenuBar1.add(jMenu1);\n\n setJMenuBar(jMenuBar1);\n\n setSize(new java.awt.Dimension(377, 442));\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "00222440e80c147e1dddfa3f0f9ee700", "score": "0.57948864", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n usernameTF = new javax.swing.JTextField();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n jButton3 = new javax.swing.JButton();\n passwordPF = new javax.swing.JPasswordField();\n jButton4 = new javax.swing.JButton();\n jLabel4 = new javax.swing.JLabel();\n jButton5 = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setFont(new java.awt.Font(\"Verdana\", 1, 36)); // NOI18N\n jLabel1.setText(\"User Login \");\n\n jLabel2.setFont(new java.awt.Font(\"Verdana\", 0, 24)); // NOI18N\n jLabel2.setText(\"Username\");\n\n jLabel3.setFont(new java.awt.Font(\"Verdana\", 0, 24)); // NOI18N\n jLabel3.setText(\"Password\");\n\n usernameTF.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n usernameTF.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n usernameTFActionPerformed(evt);\n }\n });\n\n jButton1.setFont(new java.awt.Font(\"Verdana\", 1, 18)); // NOI18N\n jButton1.setText(\"Login\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setFont(new java.awt.Font(\"Verdana\", 1, 18)); // NOI18N\n jButton2.setText(\"Reset\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n jButton3.setFont(new java.awt.Font(\"Verdana\", 1, 18)); // NOI18N\n jButton3.setText(\"Create Account\");\n jButton3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton3ActionPerformed(evt);\n }\n });\n\n passwordPF.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n\n jButton4.setFont(new java.awt.Font(\"Verdana\", 1, 18)); // NOI18N\n jButton4.setText(\"Back\");\n jButton4.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton4ActionPerformed(evt);\n }\n });\n\n jLabel4.setFont(new java.awt.Font(\"Verdana\", 0, 20)); // NOI18N\n jLabel4.setText(\" If you not registered yet\");\n jLabel4.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0), 2));\n\n jButton5.setFont(new java.awt.Font(\"Verdana\", 1, 18)); // NOI18N\n jButton5.setForeground(new java.awt.Color(102, 153, 255));\n jButton5.setText(\"Exit\");\n jButton5.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton5ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(layout.createSequentialGroup()\n .addGap(451, 451, 451)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 237, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(303, 303, 303)\n .addComponent(jLabel2)\n .addGap(27, 27, 27)\n .addComponent(usernameTF, javax.swing.GroupLayout.PREFERRED_SIZE, 283, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(303, 303, 303)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(passwordPF, javax.swing.GroupLayout.PREFERRED_SIZE, 283, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(37, 37, 37)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 265, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jButton1)\n .addGap(68, 68, 68)\n .addComponent(jButton2)\n .addGap(20, 20, 20)))))))\n .addContainerGap(366, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 203, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(410, 410, 410))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(jButton4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGap(466, 466, 466))))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(54, 54, 54)\n .addComponent(jLabel1)\n .addGap(106, 106, 106)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(usernameTF, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(38, 38, 38)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(passwordPF, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(13, 13, 13)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jButton1)\n .addComponent(jButton2))\n .addGap(35, 35, 35)\n .addComponent(jLabel4)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jButton3)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButton4)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButton5)\n .addContainerGap(63, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "42105c2f2f9dd3307d3bc27917ebb9ed", "score": "0.57901907", "text": "public LoginPanel() {\n initComponents();\n jButton1.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n Statement stmt;\n try {\n stmt = EMovieStoreFrame.getDBA().getConnection().createStatement();\n ResultSet rs = stmt.executeQuery(\"SELECT * FROM accountInfo\");\n \n while(rs.next()){\n String un = rs.getString(\"username\");\n String pw = rs.getString(\"password\");\n \n if( jTextField1.getText().equals(un) && String.valueOf(jPasswordField1.getPassword()).equals(pw)){\n isEmployee = rs.getBoolean(\"employee\");\n isAdmin = rs.getBoolean(\"admin\");\n EMovieStoreFrame.getLoginPanel().setVisible(false);\n EMovieStoreFrame.instanceOf().remove(EMovieStoreFrame.getLoginPanel());\n EMovieStoreFrame.instanceOf().add(EMovieStoreFrame.getHomePanel(), BorderLayout.CENTER);\n EMovieStoreFrame.getHomePanel().customerReportsTB.setEnabled(true);\n EMovieStoreFrame.getHomePanel().customerReportsTB.setEnabled(true);\n EMovieStoreFrame.getHomePanel().inventoryTB.setEnabled(true);\n EMovieStoreFrame.getHomePanel().lateChargesTB.setEnabled(true);\n EMovieStoreFrame.getHomePanel().rentTB.setEnabled(true);\n EMovieStoreFrame.getHomePanel().returnRentalMgmtTB.setEnabled(true);\n EMovieStoreFrame.getHomePanel().returnTB.setEnabled(true);\n EMovieStoreFrame.getHomePanel().registerModifyTB.setEnabled(true);\n if(!isEmployee){//user is a customer\n EMovieStoreFrame.currentUser = new Customer(rs.getString(\"firstname\"), rs.getString(\"lastname\"),\n rs.getString(\"address\"), rs.getString(\"locality\"), rs.getString(\"state\"), rs.getString(\"email\"),\n rs.getString(\"username\"), rs.getString(\"password\"), rs.getLong(\"phonenumber\"), rs.getLong(\"creditcardno\"));\n \n EMovieStoreFrame.getHomePanel().customerReportsTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().customerReportsTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().inventoryTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().lateChargesTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().rentTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().returnRentalMgmtTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().returnTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().registerModifyTB.setEnabled(false);\n }else if(!isAdmin){//user is an employee but not Admin\n EMovieStoreFrame.currentUser = new Employee(rs.getString(\"firstname\"), rs.getString(\"lastname\"),\n rs.getString(\"address\"), rs.getString(\"locality\"), rs.getString(\"state\"), rs.getString(\"email\"),\n rs.getString(\"username\"), rs.getString(\"password\"), rs.getLong(\"phonenumber\"));\n EMovieStoreFrame.getHomePanel().customerReportsTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().customerReportsTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().inventoryTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().lateChargesTB.setEnabled(false);\n EMovieStoreFrame.getHomePanel().returnRentalMgmtTB.setEnabled(false);\n }else{\n EMovieStoreFrame.currentUser = new Admin(rs.getString(\"firstname\"), rs.getString(\"lastname\"),\n rs.getString(\"address\"), rs.getString(\"locality\"), rs.getString(\"state\"), rs.getString(\"email\"),\n rs.getString(\"username\"), rs.getString(\"password\"), rs.getLong(\"phonenumber\"));\n }\n EMovieStoreFrame.getHomePanel().setVisible(true);\n }\n EMovieStoreFrame.getLoginPanel().setVisible(false);\n EMovieStoreFrame.getRegistrationPanel().setVisible(true);\n }\n } catch (SQLException ex) {\n System.out.println(ex);\n }\n }\n \n });\n \n }", "title": "" }, { "docid": "610abc07c19b8b8b6d277adf5db2e5e0", "score": "0.57722205", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n pnlLogin = new javax.swing.JPanel();\n lblLoginCred = new javax.swing.JLabel();\n lblUsername = new javax.swing.JLabel();\n txtUsername = new javax.swing.JTextField();\n lblPassword = new javax.swing.JLabel();\n pwfPassword = new javax.swing.JPasswordField();\n btnLogin = new javax.swing.JButton();\n lblInvalidLogin = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n lblLoginCred.setText(\"Enter your login credentials \");\n\n lblUsername.setText(\"Username\");\n\n lblPassword.setText(\"Password\");\n\n btnLogin.setText(\"LOGIN\");\n btnLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnLoginActionPerformed(evt);\n }\n });\n\n lblInvalidLogin.setBackground(new java.awt.Color(255, 0, 0));\n lblInvalidLogin.setForeground(new java.awt.Color(255, 0, 0));\n lblInvalidLogin.setText(\"INVALID CREDENTIALS\");\n\n javax.swing.GroupLayout pnlLoginLayout = new javax.swing.GroupLayout(pnlLogin);\n pnlLogin.setLayout(pnlLoginLayout);\n pnlLoginLayout.setHorizontalGroup(\n pnlLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlLoginLayout.createSequentialGroup()\n .addGroup(pnlLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlLoginLayout.createSequentialGroup()\n .addGap(121, 121, 121)\n .addGroup(pnlLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(btnLogin, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(lblLoginCred, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(txtUsername)\n .addGroup(pnlLoginLayout.createSequentialGroup()\n .addGap(6, 6, 6)\n .addGroup(pnlLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(lblPassword)\n .addComponent(lblUsername)))\n .addComponent(pwfPassword)))\n .addGroup(pnlLoginLayout.createSequentialGroup()\n .addGap(135, 135, 135)\n .addComponent(lblInvalidLogin)))\n .addContainerGap(121, Short.MAX_VALUE))\n );\n pnlLoginLayout.setVerticalGroup(\n pnlLoginLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlLoginLayout.createSequentialGroup()\n .addGap(38, 38, 38)\n .addComponent(lblLoginCred)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(lblInvalidLogin)\n .addGap(10, 10, 10)\n .addComponent(lblUsername)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(lblPassword)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(pwfPassword, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(btnLogin, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(43, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(pnlLogin, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(pnlLogin, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "4a285973c6156cb2e6b58c7023936c78", "score": "0.57708156", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n passwordLabel = new javax.swing.JLabel();\n welcome = new javax.swing.JLabel();\n jLabel1 = new javax.swing.JLabel();\n loginLabel = new javax.swing.JLabel();\n login_field = new javax.swing.JTextField();\n password_field = new javax.swing.JPasswordField();\n reset = new javax.swing.JButton();\n advanced = new javax.swing.JButton();\n connexion = new javax.swing.JButton();\n\n passwordLabel.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n passwordLabel.setText(\"Mot de Passe\");\n\n welcome.setFont(new java.awt.Font(\"Tahoma\", 0, 50)); // NOI18N\n welcome.setForeground(new java.awt.Color(51, 51, 255));\n welcome.setText(\"BIENVENUE\");\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 0, 44)); // NOI18N\n jLabel1.setText(\"Identifiez-vous \");\n\n loginLabel.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n loginLabel.setText(\"Login\");\n\n login_field.setFont(new java.awt.Font(\"Tahoma\", 0, 22)); // NOI18N\n\n password_field.setFont(new java.awt.Font(\"Tahoma\", 0, 22)); // NOI18N\n password_field.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n password_fieldActionPerformed(evt);\n }\n });\n\n reset.setBackground(new java.awt.Color(52, 1, 152));\n reset.setFont(new java.awt.Font(\"Tahoma\", 0, 22)); // NOI18N\n reset.setForeground(new java.awt.Color(255, 255, 255));\n reset.setText(\"Réinitialiser\");\n reset.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n resetActionPerformed(evt);\n }\n });\n\n advanced.setFont(new java.awt.Font(\"Tahoma\", 0, 22)); // NOI18N\n advanced.setText(\"Paramètres avancés\");\n advanced.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n advancedActionPerformed(evt);\n }\n });\n\n connexion.setBackground(new java.awt.Color(52, 1, 152));\n connexion.setFont(new java.awt.Font(\"Tahoma\", 0, 22)); // NOI18N\n connexion.setForeground(new java.awt.Color(255, 255, 255));\n connexion.setText(\"Connexion \");\n connexion.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n connexionActionPerformed(evt);\n }\n });\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 .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(loginLabel)\n .addComponent(passwordLabel))\n .addGap(57, 57, 57)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(password_field, javax.swing.GroupLayout.PREFERRED_SIZE, 286, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(login_field, javax.swing.GroupLayout.PREFERRED_SIZE, 286, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addGap(130, 130, 130)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(welcome, javax.swing.GroupLayout.PREFERRED_SIZE, 321, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 401, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addContainerGap(26, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(connexion, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(reset, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(39, 39, 39))))\n .addGroup(layout.createSequentialGroup()\n .addGap(126, 126, 126)\n .addComponent(advanced, javax.swing.GroupLayout.PREFERRED_SIZE, 262, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(welcome, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(44, 44, 44)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(82, 82, 82)\n .addComponent(loginLabel)\n .addGap(67, 67, 67))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(login_field, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(48, 48, 48)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(password_field, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(passwordLabel))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(110, 110, 110)\n .addComponent(reset, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 38, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(connexion, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(37, 37, 37)))\n .addComponent(advanced, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(24, 24, 24))\n );\n }", "title": "" }, { "docid": "3e1c1b04f9389976099b3d48a6c2cc0d", "score": "0.57693595", "text": "public FrmLogin() {\n initComponents();\n lecturaCuentas();\n }", "title": "" }, { "docid": "01540ad24a319d52f338ce38d25a3a82", "score": "0.57666034", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n txtLogin = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n txtSenhaDigitada = new javax.swing.JPasswordField();\n jButton1 = new javax.swing.JButton();\n jLabel4 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Login\");\n setResizable(false);\n\n jPanel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));\n\n jLabel1.setFont(new java.awt.Font(\"Arial\", 1, 18)); // NOI18N\n jLabel1.setText(\"Sistema de Eleição\");\n\n jLabel2.setFont(new java.awt.Font(\"Arial\", 0, 16)); // NOI18N\n jLabel2.setText(\"Nome do usuário: \");\n\n txtLogin.setFont(new java.awt.Font(\"Arial\", 0, 16)); // NOI18N\n txtLogin.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n txtLoginMousePressed(evt);\n }\n });\n txtLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtLoginActionPerformed(evt);\n }\n });\n txtLogin.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtLoginKeyReleased(evt);\n }\n });\n\n jLabel3.setFont(new java.awt.Font(\"Arial\", 0, 16)); // NOI18N\n jLabel3.setText(\"Senha:\");\n\n txtSenhaDigitada.setFont(new java.awt.Font(\"Arial\", 0, 16)); // NOI18N\n txtSenhaDigitada.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtSenhaDigitadaKeyReleased(evt);\n }\n });\n\n jButton1.setFont(new java.awt.Font(\"Arial\", 1, 16)); // NOI18N\n jButton1.setText(\"Log In\");\n jButton1.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mousePressed(java.awt.event.MouseEvent evt) {\n jButton1MousePressed(evt);\n }\n });\n\n jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/imagens/voting-and-elections.png\"))); // NOI18N\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(jLabel1)\n .addGap(155, 155, 155))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(26, 26, 26)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(78, 78, 78)\n .addComponent(jLabel3))\n .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.TRAILING))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(txtLogin)\n .addComponent(txtSenhaDigitada, javax.swing.GroupLayout.PREFERRED_SIZE, 151, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE)\n .addComponent(jLabel4)\n .addGap(28, 28, 28))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(133, 133, 133)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addComponent(jLabel4)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 69, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(txtLogin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(22, 22, 22)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(txtSenhaDigitada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(59, 59, 59)\n .addComponent(jButton1)\n .addGap(56, 56, 56))))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "8b1646ff5515d490ae11900a0e62a331", "score": "0.57579523", "text": "private void login() throws IOException {\n\t\tboolean isAdmin = false;\n\t\tif(Main.getIsAdmin()) isAdmin=true;\n\n\t\tif (psw.getText().equals(\"\") || user.getText().equals(\"\")) {\n\t\t\terrorLabel.setText(\"insert email and password\");\n\t\t\terrorLabel.setVisible(true);\n\t\t\tuser.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\t\t\tpsw.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\t\t\tSystem.err.println(\"Nome o password non inseriti\");\n\n\t\t} else {\n\t\t\tUser u = new Player(user.getText(), psw.getText());\n\t\t\tCommands reply = isAdmin? AdminClient.getProxy().sendLoginData(u):Client.getProxy().sendLoginData(u);\n\t\t\t//TODO if user go in Menu else if admin go in MenuAdmin\n\t\t\tif(reply == Commands.OK) {\n\t\t\t\tif(isAdmin) {\n\t\t\t\t\tu = new Admin(user.getText(), psw.getText());\n\t\t\t\t\tMain.getStage().setScene(new Scene(FXMLLoader.load(getClass().getResource(\"MenuAdmin.fxml\"))));\n\t\t\t\t\t//Client.setUser(u);\n\t\t\t\t} else {\n\t\t\t\t\tu = (Player)u;\n\t\t\t\t\tMain.getStage().setScene(new Scene(FXMLLoader.load(getClass().getResource(\"Menu.fxml\"))));\n\t\t\t\t\t//Client.setUser(u);\n\t\t\t\t}\n\n\t\t\t} else if(reply == Commands.NO){\n\t\t\t\t//displays error label + red textFiel border\n\t\t\t\terrorLabel.setText(\"wrong email or password\");\n\t\t\t\terrorLabel.setVisible(true);\n\t\t\t\tuser.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\t\t\t\tpsw.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\t\t\t\tSystem.err.println(\"Nome o password errati\");\n\n\t\t\t} else if(reply == Commands.NOTVERIFIED){\n\t\t\t\terrorLabel.setText(\"please validate your account\");\n\t\t\t\terrorLabel.setVisible(true);\n\t\t\t\tuser.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\t\t\t\tpsw.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\t\t\t\tSystem.err.println(\"Account not verified\");\n\n\t\t\t\t//setUser temporaneo\n\t\t\t\tClient.setUser((User)new Player(user.getText(), psw.getText()));\n\t\t\t\t//mando alla verifica\n\t\t\t\tMain.getStage().setScene(new Scene(FXMLLoader.load(getClass().getResource(\"ActivationCode.fxml\"))));\n\n\t\t\t} else if (reply == Commands.ALREADYON) {\n\n\t\t\t\terrorLabel.setText(\"User already online\");\n\t\t\t\terrorLabel.setVisible(true);\n\t\t\t\tuser.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\t\t\t\tpsw.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\t\t\t\tSystem.err.println(\"User already online\");\n\t\t\t}else if(reply==Commands.NOTANADMIN){\n\t\t\t\terrorLabel.setText(\"This user is not an admin\");\n\t\t\t\terrorLabel.setVisible(true);\n\t\t\t\tuser.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\t\t\t\tpsw.setBorder(new Border(new BorderStroke(Color.rgb(194, 24, 24), BorderStrokeStyle.SOLID, new CornerRadii(3), new BorderWidths(1))));\n\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "5411c4f07c215f233d3c3805a504846c", "score": "0.5755354", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n user = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n submit = new javax.swing.JButton();\n reset = new javax.swing.JButton();\n exit = new javax.swing.JButton();\n pass = new javax.swing.JPasswordField();\n lbl_u = new javax.swing.JLabel();\n lbl_p = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setBackground(new java.awt.Color(153, 153, 255));\n jLabel1.setFont(new java.awt.Font(\"Times New Roman\", 1, 36)); // NOI18N\n jLabel1.setText(\"Login Form\");\n\n jLabel2.setFont(new java.awt.Font(\"Times New Roman\", 1, 24)); // NOI18N\n jLabel2.setText(\"Username:\");\n\n user.setFont(new java.awt.Font(\"Times New Roman\", 0, 24)); // NOI18N\n\n jLabel3.setFont(new java.awt.Font(\"Times New Roman\", 1, 24)); // NOI18N\n jLabel3.setText(\"Password:\");\n\n submit.setFont(new java.awt.Font(\"Times New Roman\", 1, 24)); // NOI18N\n submit.setText(\"Login\");\n submit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n submitActionPerformed(evt);\n }\n });\n\n reset.setFont(new java.awt.Font(\"Times New Roman\", 1, 24)); // NOI18N\n reset.setText(\"Reset\");\n reset.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n resetActionPerformed(evt);\n }\n });\n\n exit.setFont(new java.awt.Font(\"Times New Roman\", 1, 24)); // NOI18N\n exit.setText(\"Exit\");\n exit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n exitActionPerformed(evt);\n }\n });\n\n pass.setFont(new java.awt.Font(\"Times New Roman\", 0, 24)); // NOI18N\n\n lbl_u.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lbl_u.setForeground(new java.awt.Color(255, 0, 51));\n lbl_u.setText(\"*\");\n\n lbl_p.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lbl_p.setForeground(new java.awt.Color(255, 0, 0));\n lbl_p.setText(\"*\");\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(229, 229, 229)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 402, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(85, 85, 85)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 203, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(167, 167, 167))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(251, 251, 251)))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(user)\n .addComponent(pass, javax.swing.GroupLayout.DEFAULT_SIZE, 166, Short.MAX_VALUE))\n .addGap(30, 30, 30)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(lbl_u, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(lbl_p, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(111, 111, 111)\n .addComponent(submit)\n .addGap(102, 102, 102)\n .addComponent(reset)\n .addGap(79, 79, 79)\n .addComponent(exit)))\n .addContainerGap(215, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(37, 37, 37)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(33, 33, 33)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(user, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(lbl_u))\n .addGap(45, 45, 45)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(pass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(lbl_p))\n .addGap(56, 56, 56)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(submit)\n .addComponent(reset)\n .addComponent(exit))\n .addContainerGap(79, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "6f5fd26810133699e91cd17b252ab982", "score": "0.5750807", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n Field_UserEmployee = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n login_Bttn = new javax.swing.JButton();\n Field_PassEmployee = new javax.swing.JPasswordField();\n jLabel4 = new javax.swing.JLabel();\n btn_Cancel = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setFont(new java.awt.Font(\"Lucida Fax\", 3, 24)); // NOI18N\n jLabel1.setText(\"Login Empleado\");\n\n jLabel2.setText(\"Usuario:\");\n\n Field_UserEmployee.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n Field_UserEmployeeActionPerformed(evt);\n }\n });\n\n jLabel3.setText(\"C:ontraseña\");\n\n login_Bttn.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Assets/Module1/icons-large/Login.png\"))); // NOI18N\n login_Bttn.setText(\"Enter\");\n\n Field_PassEmployee.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n Field_PassEmployeeActionPerformed(evt);\n }\n });\n\n jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Assets/Module1/icons-large/Employee.png\"))); // NOI18N\n\n btn_Cancel.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Assets/Module1/icons-large/Cancel.png\"))); // NOI18N\n btn_Cancel.setText(\"Cancelar\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(76, 76, 76)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 207, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(39, 39, 39)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(66, 66, 66)\n .addComponent(jLabel4))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel3)\n .addComponent(jLabel2))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(Field_UserEmployee)\n .addComponent(Field_PassEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, 134, javax.swing.GroupLayout.PREFERRED_SIZE))))))\n .addContainerGap(45, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGap(29, 29, 29)\n .addComponent(login_Bttn)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btn_Cancel)\n .addGap(23, 23, 23))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(36, 36, 36)\n .addComponent(jLabel4)\n .addGap(72, 72, 72)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(Field_UserEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addGap(50, 50, 50))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(Field_PassEmployee, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 34, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(login_Bttn)\n .addComponent(btn_Cancel, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(27, 27, 27))\n );\n\n pack();\n }", "title": "" }, { "docid": "ce0fc7ee2bf7e58a1f5347c79f66f4ac", "score": "0.574952", "text": "private boolean tryChangePassword() {\n final EditText et_passwordOld = passwordCustomLayout.findViewById(R.id.dialog_change_password_et_actuelmdp);\n final EditText et_passwordNew = passwordCustomLayout.findViewById(R.id.dialog_change_password_et_mdp);\n final EditText et_passwordConfirm = passwordCustomLayout.findViewById(R.id.dialog_change_password_et_mdp_conf);\n final ProgressBar progressBar = passwordDialog.findViewById(R.id.dialog_change_password_progressBar);\n\n if (et_passwordOld.getText().toString().trim().equals(\"\")) {\n Toast.makeText(this.getContext(), R.string.toast_msg_need_to_enter_password, Toast.LENGTH_LONG).show();\n return false;\n } else if (et_passwordNew.getText().toString().trim().equals(\"\")) {\n Toast.makeText(this.getContext(), R.string.toast_msg_need_to_enter_password, Toast.LENGTH_LONG).show();\n return false;\n } else if (et_passwordConfirm.getText().toString().trim().equals(\"\")) {\n Toast.makeText(this.getContext(), R.string.toast_msg_need_to_enter_password, Toast.LENGTH_LONG).show();\n return false;\n } else if (!et_passwordNew.getText().toString().trim().equals(et_passwordConfirm.getText().toString().trim())) {\n Toast.makeText(this.getContext(), R.string.toast_msg_need_to_enter_matching_new_password, Toast.LENGTH_LONG).show();\n return false;\n } else if (!checkPassword(et_passwordNew.getText().toString().trim())) {\n Toast.makeText(this.getContext(), R.string.toast_msg_need_to_enter_valid_password, Toast.LENGTH_LONG).show();\n return false;\n }\n\n progressBar.setVisibility(View.VISIBLE);\n data.updatePassword(\n data.getConnectedUser().getIdUser(),\n et_passwordOld.getText().toString(),\n et_passwordNew.getText().toString()\n );\n return true;\n }", "title": "" }, { "docid": "cdeefe6e0ddaf46abf889b6575e02d6c", "score": "0.57474625", "text": "public void setLogin(String login) {\r\n\t this.login = login;\r\n\t }", "title": "" }, { "docid": "37b83f7a7de0e6b8290c02f424d9655b", "score": "0.5745413", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n lblloguinusu = new javax.swing.JLabel();\n lblsenha = new javax.swing.JLabel();\n txtLogin = new javax.swing.JTextField();\n txtSenha = new javax.swing.JPasswordField();\n btnEntrar = new javax.swing.JButton();\n btnCancelar = new javax.swing.JButton();\n lblImagemLogin = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"Sorveteria Januária - Login\");\n\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, \"Login\", javax.swing.border.TitledBorder.CENTER, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font(\"Tahoma\", 1, 14))); // NOI18N\n\n lblloguinusu.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lblloguinusu.setText(\"Login:\");\n\n lblsenha.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n lblsenha.setText(\"Senha:\");\n\n btnEntrar.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n btnEntrar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/br/com/sorveteriajanuaria/apresentacao/icones/entrar.png\"))); // NOI18N\n btnEntrar.setText(\"Entrar\");\n btnEntrar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnEntrarActionPerformed(evt);\n }\n });\n\n btnCancelar.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n btnCancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/br/com/sorveteriajanuaria/apresentacao/icones/fechar.png\"))); // NOI18N\n btnCancelar.setText(\"Cancelar\");\n btnCancelar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnCancelarActionPerformed(evt);\n }\n });\n\n lblImagemLogin.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/br/com/sorveteriajanuaria/apresentacao/icones/ideal.png\"))); // NOI18N\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addComponent(lblloguinusu, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtLogin))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addContainerGap(20, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(btnEntrar, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnCancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(lblsenha)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 606, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(lblImagemLogin)\n .addGap(243, 243, 243))))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(lblImagemLogin)\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtLogin, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(lblloguinusu, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(26, 26, 26)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(lblsenha))\n .addGap(26, 26, 26)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnEntrar, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnCancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n\n pack();\n }", "title": "" }, { "docid": "d65717d7a950ff2c0705665daaf53a19", "score": "0.5740795", "text": "static void editUser(String nome, String pass) throws SQLException {\r\n Connection conn = DriverManager.getConnection(url, user, pwd);\r\n Statement st = conn.createStatement();\r\n String sql;\r\n \r\n sql = \"UPDATE UTENTI SET PASSWORD='\" + pass + \"' WHERE USERNAME='\" + nome + \"'\";\r\n\r\n st.executeUpdate(sql);\r\n st.close();\r\n conn.close(); // chiusura connessione\r\n }", "title": "" }, { "docid": "5ef7c0de5410a9e3780b998a5810407f", "score": "0.5717357", "text": "public void attemptLogin()\n\t{\n\t\tString user = usernameField.getText();\n\t\tString pass = new String(passwordField.getPassword());\n\n\t\tif (usernameField.getText().length() == 0 || passwordField.getPassword().length == 0)\n\t\t{\n\t\t\tfeedbackLabel.setText( lang_model.getValue(120) );\n\t\t\tfeedbackLabel.setForeground(Color.RED);\n\t\t\tLogger.write(\"Not all fields filled in during login procedure.\", Logger.Level.USER_ERROR);\n\t\t\treturn;\n\t\t}\n\n\t\tif (new File(new File_System_Controller().getModel().findFile(\"Accounts\" + osp.getSeparator() + user + \".xml\")).exists())\n\t\t{\n\t\t\tif (controller.validateLogin(user, pass))\n\t\t\t{\n\t\t\t\tfeedbackLabel.setText( lang_model.getValue(155) );\n\t\t\t\tfeedbackLabel.setForeground(new Color(0, 139, 0));\n\t\t\t\tusernameField.setEnabled(false);\n\t\t\t\tpasswordField.setEnabled(false);\n\t\t\t\tbuttonPanel.removeAll();\n\t\n\t\t\t\tokbutton.setBorder(new RoundedBorder(5));\n\t\t\t\tokbutton.setPreferredSize(new Dimension(75, 30));\n\t\t\t\tokbutton.setActionCommand(\"ok\");\n\t\t\t\tokbutton.addActionListener(this);\n\t\t\t\tokbutton.addKeyListener(this);\n\t\t\t\tbuttonPanel.add(okbutton);\n\t\t\t\tbuttonPanel.revalidate();\n\t\t\t\tbuttonPanel.repaint();\n\t\t\t\tokbutton.requestFocus();\n\t\t\t\tlogged_in = true;\n\t\t\t} else {\n\t\t\t\tfeedbackLabel.setText( lang_model.getValue(156) );\n\t\t\t\tfeedbackLabel.setForeground(Color.RED);\n\t\t\t\tLogger.write(\"Invalid password [\" + pass + \"] for account [\" + user + \"].\", Logger.Level.USER_ERROR);\n\t\t\t}\n\t\t} else {\n\t\t\tfeedbackLabel.setText( lang_model.getValue(156) );\n\t\t\tfeedbackLabel.setForeground(Color.RED);\n\t\t\tLogger.write(\"Invalid username [\" + user + \"].\", Logger.Level.USER_ERROR);\n\t\t}\n\t}", "title": "" }, { "docid": "fca2a1dfcd3a528643459abc15f9112a", "score": "0.5716005", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n lblUserName = new javax.swing.JLabel();\n lblUserLevel = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n jLabel8 = new javax.swing.JLabel();\n passCurrent = new javax.swing.JPasswordField();\n passNewPass = new javax.swing.JPasswordField();\n passConfirmPass = new javax.swing.JPasswordField();\n txtPassTip = new javax.swing.JTextField();\n jButton1 = new javax.swing.JButton();\n btnChangePass = new javax.swing.JButton();\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n jLabel1.setText(\"Change Your Password\");\n\n jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/images/login/admin.png\"))); // NOI18N\n jLabel2.setText(\"jLabel2\");\n\n lblUserName.setFont(new java.awt.Font(\"Tahoma\", 0, 18)); // NOI18N\n lblUserName.setText(\"Username\");\n\n lblUserLevel.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n lblUserLevel.setText(\"Userlevel\");\n\n jLabel5.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jLabel5.setText(\"Current Password\");\n\n jLabel6.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jLabel6.setText(\"New Password\");\n\n jLabel7.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jLabel7.setText(\"Confirm New Password\");\n\n jLabel8.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n jLabel8.setText(\"Password Tip\");\n\n passCurrent.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n passCurrent.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n passCurrentKeyPressed(evt);\n }\n });\n\n passNewPass.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n passNewPass.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n passNewPassKeyPressed(evt);\n }\n });\n\n passConfirmPass.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n passConfirmPass.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n passConfirmPassKeyPressed(evt);\n }\n });\n\n txtPassTip.setFont(new java.awt.Font(\"Tahoma\", 0, 14)); // NOI18N\n\n jButton1.setText(\"Cancel\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n btnChangePass.setText(\"Change Password\");\n btnChangePass.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnChangePassActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1))\n .addGroup(layout.createSequentialGroup()\n .addGap(26, 26, 26)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 124, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(lblUserName)\n .addComponent(lblUserLevel)))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel5)\n .addComponent(jLabel6)\n .addComponent(jLabel7)\n .addComponent(jLabel8))\n .addGap(53, 53, 53)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(txtPassTip, javax.swing.GroupLayout.DEFAULT_SIZE, 238, Short.MAX_VALUE)\n .addComponent(passCurrent)\n .addComponent(passNewPass)\n .addComponent(passConfirmPass))))))\n .addContainerGap(29, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(btnChangePass)\n .addGap(18, 18, 18)\n .addComponent(jButton1)\n .addGap(38, 38, 38))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jLabel1)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(55, 55, 55)\n .addComponent(lblUserName)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(lblUserLevel))\n .addGroup(layout.createSequentialGroup()\n .addGap(19, 19, 19)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 140, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGap(29, 29, 29)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(passCurrent, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel6)\n .addComponent(passNewPass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel7)\n .addComponent(passConfirmPass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(28, 28, 28)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel8)\n .addComponent(txtPassTip, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 144, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton1)\n .addComponent(btnChangePass))\n .addContainerGap())\n );\n\n setBounds(432, 0, 502, 584);\n }", "title": "" }, { "docid": "d35ae20d3338ce560967ec5edd2953f5", "score": "0.57139903", "text": "public static void loginAdmin(Aquisizioni dati, ConnDB db){\n \n qry = \"select amministratore.ID\\n\" +\n \"from amministratore, credenziali, utente\\n\" +\n \"where credenziali.Username = '\"+dati.getNick()+\"'\\n\" +\n \"and credenziali.Password = '\"+dati.getPassword()+\"'\\n\" +\n \"and credenziali.ID = utente.ID\\n\" +\n \"and utente.ID = amministratore.ID\";\n \n risultato = db.interrogazione(qry);\n try{\n if(risultato.next()){\n dati.setFeedBack(true);\n dati.setGlobalId(risultato.getString(\"ID\")); \n } else {\n dati.setFeedBack(false);\n }\n } catch (SQLException e){\n e.printStackTrace();\n }\n System.out.println(\"Login effettuato con successo\");\n }", "title": "" }, { "docid": "749ce4c75d2b3a28c0ec4f06ce6e8932", "score": "0.5711977", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n lblNome = new javax.swing.JLabel();\n txtNome = new javax.swing.JTextField();\n lblSenha = new javax.swing.JLabel();\n btnOk = new javax.swing.JButton();\n btnCancelar = new javax.swing.JButton();\n txtSenha = new javax.swing.JPasswordField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Simacr 2.0 - Login\");\n setResizable(false);\n\n lblNome.setText(\"Nome:\");\n\n txtNome.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n txtNomeKeyPressed(evt);\n }\n });\n\n lblSenha.setText(\"Senha:\");\n\n btnOk.setText(\"Entrar\");\n btnOk.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnOkActionPerformed(evt);\n }\n });\n\n btnCancelar.setText(\"Sair\");\n btnCancelar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnCancelarActionPerformed(evt);\n }\n });\n\n txtSenha.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n txtSenhaKeyPressed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(81, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addComponent(btnCancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 78, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnOk, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(lblNome)\n .addComponent(lblSenha))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(txtNome)\n .addComponent(txtSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 133, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(12, 12, 12)))\n .addGap(76, 76, 76))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(51, 51, 51)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(lblNome)\n .addComponent(txtNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(lblSenha)\n .addComponent(txtSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(37, 37, 37)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnOk)\n .addComponent(btnCancelar))\n .addContainerGap(57, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "b99ac252e718bf0cb3bd4f19a6a79b47", "score": "0.57115656", "text": "private void logearse(){\r\n\t\tString datosUsuario = UsuarioTextField.getText();\r\n\t\tchar[] charPassword = PasswordFieldText.getPassword();\r\n\t\tString datosPassword = Login\r\n\t\t\t\t.deCharArrayAString(charPassword);\r\n\t\t// son mis parametros ingreados que voy a autentificar\r\n\t\ttry { // try y catch para verificar si esta el usuario o\r\n\t\t\t// no\r\n\t\t\tRegistry registry = LocateRegistry.getRegistry(host);\r\n\t\t\tServiciosAdministrador stub1 = (ServiciosAdministrador) registry\r\n\t\t\t\t\t.lookup(\"AdministrationServices\");\r\n\t\t\tUsuarioVO response = stub1.login(datosUsuario,\r\n\t\t\t\t\tdatosPassword);\r\n\t\t\tlogger.debug(\"Se logeo\");\r\n\t\t\tVentanaPrincipal l = new VentanaPrincipal(response);\r\n\t\t\tthis.dispose();\r\n\t\t\tl.setVisible(true);\r\n\t\t} catch (Exception error) {\r\n\t\t\t// si no se encuentra el usuario la excepcion es\r\n\t\t\t// NoSeEncuentraUsuarioExcption\r\n\t\t\tif (error instanceof NoSeEncuentraUsuarioException) {\r\n\t\t\t\tJOptionPane.showMessageDialog(new JFrame(),LABEL_USUARIO_INVALIDO, LABEL_ERROR, JOptionPane.ERROR_MESSAGE);\r\n\r\n\t\t\t} else {\r\n\t\t\t\tif (error instanceof ContrasenaInvalidaException) {\r\n\t\t\t\t\tJOptionPane.showMessageDialog(new JFrame(),\r\n\t\t\t\t\t\t\tLABEL_PASSWORD_INVALIDO,LABEL_ERROR, JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlogger.error(\"error de conexion\");\r\n\t\t\t\t\terror.printStackTrace();\r\n\t\t\t\t\tJOptionPane.showMessageDialog(new JFrame(),\r\n\t\t\t\t\t\t\tLABEL_ERROR_DESCONOCIDO, LABEL_ERROR, JOptionPane.ERROR_MESSAGE);\r\n\t\t\t\t\tthis.dispose();\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "921069b25c124c74069cac791caa5d79", "score": "0.5705708", "text": "private void initialize() {\n\t\tfrmLogin = new JFrame();\n\t\tfrmLogin.setTitle(\"Login\");\n\t\tfrmLogin.setBounds(100, 100, 653, 490);\n\t\tfrmLogin.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tfrmLogin.getContentPane().setLayout(null);\n\t\t\n\t\tJLabel lblLoginDeUsuario = new JLabel(\"Login de Usuario\");\n\t\tlblLoginDeUsuario.setFont(new Font(\"Tahoma\", Font.BOLD | Font.ITALIC, 18));\n\t\tlblLoginDeUsuario.setBounds(225, 52, 201, 34);\n\t\tfrmLogin.getContentPane().add(lblLoginDeUsuario);\n\t\t\n\t\tJLabel lblNewLabel = new JLabel(\"Nombre de Usuario\");\n\t\tlblNewLabel.setFont(new Font(\"Tahoma\", Font.PLAIN, 18));\n\t\tlblNewLabel.setBounds(38, 180, 166, 20);\n\t\tfrmLogin.getContentPane().add(lblNewLabel);\n\t\t\n\t\tJLabel lblContrasea = new JLabel(\"Contrase\\u00F1a\");\n\t\tlblContrasea.setFont(new Font(\"Tahoma\", Font.PLAIN, 18));\n\t\tlblContrasea.setBounds(38, 263, 166, 20);\n\t\tfrmLogin.getContentPane().add(lblContrasea);\n\t\t\n\t\ttextField = new JTextField();\n\t\ttextField.setBounds(275, 178, 201, 26);\n\t\tfrmLogin.getContentPane().add(textField);\n\t\ttextField.setColumns(10);\n\t\t\n\t\tpasswordField = new JPasswordField();\n\t\tpasswordField.setBounds(275, 261, 201, 26);\n\t\tfrmLogin.getContentPane().add(passwordField);\n\t\t\n\t\tJButton btnNewButton = new JButton(\"Acceder\");\n\t\t\n\t\tbtnNewButton.setBounds(157, 375, 115, 29);\n\t\tfrmLogin.getContentPane().add(btnNewButton);\n\t\t\n\t\tJButton btnSair = new JButton(\"Salir\");\n\t\t\n\t\tbtnSair.setBounds(431, 375, 115, 29);\n\t\tfrmLogin.getContentPane().add(btnSair);\n\t\t\n\t\tbtnNewButton.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tif(!textField.getText().equals(passwordField.getText()) || textField.getText().equals(\"\")) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Error Login Incorrecto\", \"login mal\", JOptionPane.ERROR_MESSAGE);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\ttel.getFrmDirecciones().setVisible(true);\n\t\t\t\t\tfrmLogin.setVisible(false);\n\t\t\t\t\they.getTextField().setText(textField.getText());\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t\n\t\tbtnSair.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tSystem.exit(1);\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "4cce0c5743a5ca3bc6c23e7b36e22f8e", "score": "0.5704301", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n usernameTextField = new javax.swing.JTextField();\n currentPasswordField = new javax.swing.JPasswordField();\n newPasswordField = new javax.swing.JPasswordField();\n confirmPasswordField = new javax.swing.JPasswordField();\n deletePasswordButton = new javax.swing.JButton();\n jScrollPane1 = new javax.swing.JScrollPane();\n jTable1 = new javax.swing.JTable();\n changePasswordButton1 = new javax.swing.JButton();\n\n setBackground(new java.awt.Color(255, 255, 255));\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 20)); // NOI18N\n jLabel1.setForeground(new java.awt.Color(0, 102, 204));\n jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel1.setText(\"> Change Password\");\n jLabel1.setToolTipText(\"\");\n\n jLabel3.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n jLabel3.setText(\"Username:\");\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n jLabel4.setText(\"Current Password:\");\n\n jLabel5.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n jLabel5.setText(\"New Password:\");\n\n jLabel6.setFont(new java.awt.Font(\"Tahoma\", 1, 18)); // NOI18N\n jLabel6.setText(\"Confirm Password:\");\n\n usernameTextField.setFont(new java.awt.Font(\"Tahoma\", 0, 15)); // NOI18N\n usernameTextField.setHorizontalAlignment(javax.swing.JTextField.CENTER);\n\n currentPasswordField.setFont(new java.awt.Font(\"Tahoma\", 0, 15)); // NOI18N\n currentPasswordField.setHorizontalAlignment(javax.swing.JTextField.CENTER);\n\n newPasswordField.setFont(new java.awt.Font(\"Tahoma\", 0, 15)); // NOI18N\n newPasswordField.setHorizontalAlignment(javax.swing.JTextField.CENTER);\n\n confirmPasswordField.setFont(new java.awt.Font(\"Tahoma\", 0, 15)); // NOI18N\n confirmPasswordField.setHorizontalAlignment(javax.swing.JTextField.CENTER);\n\n deletePasswordButton.setBackground(new java.awt.Color(255, 255, 255));\n deletePasswordButton.setFont(new java.awt.Font(\"Tahoma\", 0, 20)); // NOI18N\n deletePasswordButton.setForeground(new java.awt.Color(153, 0, 0));\n deletePasswordButton.setText(\"Delete Record\");\n deletePasswordButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n deletePasswordButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n deletePasswordButtonActionPerformed(evt);\n }\n });\n\n jTable1.setForeground(new java.awt.Color(51, 51, 51));\n jTable1.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n\n },\n new String [] {\n \"ID\", \"User Name\", \"Password\", \"Full Name\", \"Security Question\", \"Security Answer\", \"Status\"\n }\n ) {\n Class[] types = new Class [] {\n java.lang.Integer.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class\n };\n boolean[] canEdit = new boolean [] {\n false, false, false, false, false, false, false\n };\n\n public Class getColumnClass(int columnIndex) {\n return types [columnIndex];\n }\n\n public boolean isCellEditable(int rowIndex, int columnIndex) {\n return canEdit [columnIndex];\n }\n });\n jScrollPane1.setViewportView(jTable1);\n\n changePasswordButton1.setBackground(new java.awt.Color(255, 255, 255));\n changePasswordButton1.setFont(new java.awt.Font(\"Tahoma\", 0, 20)); // NOI18N\n changePasswordButton1.setForeground(new java.awt.Color(0, 102, 0));\n changePasswordButton1.setText(\"Update Password\");\n changePasswordButton1.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\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 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(jScrollPane1)\n .addContainerGap())\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(31, 31, 31)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel3)\n .addComponent(jLabel4))\n .addGap(140, 140, 140)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(currentPasswordField)\n .addComponent(usernameTextField, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel5)\n .addComponent(jLabel6))\n .addGap(138, 138, 138)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(newPasswordField)\n .addComponent(confirmPasswordField))))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(548, 548, 548)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(33, 33, 33))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(deletePasswordButton, javax.swing.GroupLayout.PREFERRED_SIZE, 242, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(19, 19, 19))))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(1068, 1068, 1068)\n .addComponent(changePasswordButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(20, 20, 20)))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(39, 39, 39)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(usernameTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(34, 34, 34)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(currentPasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(34, 34, 34)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(newPasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(47, 47, 47)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(0, 69, Short.MAX_VALUE)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 194, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(36, 36, 36))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel6)\n .addComponent(confirmPasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n .addGroup(layout.createSequentialGroup()\n .addGap(41, 41, 41)\n .addComponent(deletePasswordButton, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(259, Short.MAX_VALUE)\n .addComponent(changePasswordButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(250, 250, 250)))\n );\n }", "title": "" }, { "docid": "d55d778ba7fbdea7beea18f3e1304043", "score": "0.5701162", "text": "public void setLogin(String notused) {}", "title": "" }, { "docid": "5297d28cbbbe21b124ed3ce2026ab08c", "score": "0.56983393", "text": "private void loginButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_loginButtonActionPerformed\n\n String username, password;\n\n //Retrieving the entered details from the form fields\n username = existingUsernameField.getText().toLowerCase();\n password = existingPasswordField.getText();\n\n //Attempting to load the details of the user with the given username\n User.loadUser(username);\n\n //Checking to see if user logged in or not (IE was an account with username found)\n if (User.getUsername() != null) {\n //Checking to see if correct password entered\n if (password.equals(User.getPassword())) {\n //correct password entered, user directed to main menu\n new Menu().setVisible(true);\n this.dispose();\n } else {\n //Unloading user details as incorrect password was provided\n User.logoutUser();\n new Popup(\"Incorrect password entered\").setVisible(true);\n }\n }\n }", "title": "" }, { "docid": "e37b93edcac734f8d9ca016c92e0c3e3", "score": "0.56951874", "text": "@SuppressWarnings(\"unchecked\")\r\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\r\n private void initComponents() {\r\n\r\n jOptionPaneMsg = new javax.swing.JOptionPane();\r\n jPanel1 = new javax.swing.JPanel();\r\n jLabel1 = new javax.swing.JLabel();\r\n jLabel2 = new javax.swing.JLabel();\r\n jTextFieldUsuario = new javax.swing.JTextField();\r\n jButtonOut = new javax.swing.JButton();\r\n jButtonOk = new javax.swing.JButton();\r\n jPasswordFieldSenha = new javax.swing.JPasswordField();\r\n\r\n setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);\r\n setTitle(\"LOGIN\");\r\n setModal(true);\r\n\r\n jPanel1.setBackground(new java.awt.Color(0, 121, 76));\r\n\r\n jLabel1.setForeground(new java.awt.Color(255, 255, 255));\r\n jLabel1.setText(\"USUÁRIO\");\r\n\r\n jLabel2.setForeground(new java.awt.Color(255, 255, 255));\r\n jLabel2.setText(\"SENHA\");\r\n\r\n jTextFieldUsuario.setBorder(javax.swing.BorderFactory.createEtchedBorder());\r\n jTextFieldUsuario.addFocusListener(new java.awt.event.FocusAdapter() {\r\n public void focusGained(java.awt.event.FocusEvent evt) {\r\n jTextFieldUsuarioFocusGained(evt);\r\n }\r\n public void focusLost(java.awt.event.FocusEvent evt) {\r\n jTextFieldUsuarioFocusLost(evt);\r\n }\r\n });\r\n jTextFieldUsuario.addKeyListener(new java.awt.event.KeyAdapter() {\r\n public void keyPressed(java.awt.event.KeyEvent evt) {\r\n jTextFieldUsuarioKeyPressed(evt);\r\n }\r\n });\r\n\r\n jButtonOut.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/imagens/logout.png\"))); // NOI18N\r\n jButtonOut.setMargin(new java.awt.Insets(2, 1, 2, 1));\r\n jButtonOut.setPreferredSize(new java.awt.Dimension(65, 40));\r\n jButtonOut.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jButtonOutActionPerformed(evt);\r\n }\r\n });\r\n\r\n jButtonOk.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/imagens/login.png\"))); // NOI18N\r\n jButtonOk.setMargin(new java.awt.Insets(2, 1, 2, 1));\r\n jButtonOk.setPreferredSize(new java.awt.Dimension(65, 40));\r\n jButtonOk.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jButtonOkActionPerformed(evt);\r\n }\r\n });\r\n\r\n jPasswordFieldSenha.addFocusListener(new java.awt.event.FocusAdapter() {\r\n public void focusGained(java.awt.event.FocusEvent evt) {\r\n jPasswordFieldSenhaFocusGained(evt);\r\n }\r\n public void focusLost(java.awt.event.FocusEvent evt) {\r\n jPasswordFieldSenhaFocusLost(evt);\r\n }\r\n });\r\n jPasswordFieldSenha.addKeyListener(new java.awt.event.KeyAdapter() {\r\n public void keyPressed(java.awt.event.KeyEvent evt) {\r\n jPasswordFieldSenhaKeyPressed(evt);\r\n }\r\n });\r\n\r\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\r\n jPanel1.setLayout(jPanel1Layout);\r\n jPanel1Layout.setHorizontalGroup(\r\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\r\n .addContainerGap()\r\n .addComponent(jButtonOut, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(jButtonOk, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addGap(28, 28, 28)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\r\n .addComponent(jLabel2)\r\n .addGap(18, 18, 18))\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addComponent(jLabel1)\r\n .addGap(7, 7, 7)))\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\r\n .addComponent(jTextFieldUsuario)\r\n .addComponent(jPasswordFieldSenha, javax.swing.GroupLayout.DEFAULT_SIZE, 91, Short.MAX_VALUE))))\r\n .addContainerGap(95, Short.MAX_VALUE))\r\n );\r\n jPanel1Layout.setVerticalGroup(\r\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addContainerGap()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jLabel1)\r\n .addComponent(jTextFieldUsuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jPasswordFieldSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jLabel2))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\r\n .addComponent(jButtonOk, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jButtonOut, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\r\n );\r\n\r\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\r\n getContentPane().setLayout(layout);\r\n layout.setHorizontalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n );\r\n layout.setVerticalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n );\r\n\r\n pack();\r\n }", "title": "" }, { "docid": "5ccabd81953213c71aa35bf9fcb412b6", "score": "0.5694382", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jTextField_correo = new javax.swing.JTextField();\n jTextField_contraseña = new javax.swing.JTextField();\n jLabel_nombre = new javax.swing.JLabel();\n jTextField_nombre = new javax.swing.JTextField();\n jLabel_apellido = new javax.swing.JLabel();\n jLabel_fechaNacimiento = new javax.swing.JLabel();\n jLabel_correo = new javax.swing.JLabel();\n jTextField_fechaNacimiento = new javax.swing.JTextField();\n jTextField_apellido = new javax.swing.JTextField();\n jButton_modificar = new javax.swing.JButton();\n jLabel_contraseña = new javax.swing.JLabel();\n jButton_cancelar = new javax.swing.JButton();\n jTextId = new javax.swing.JTextField();\n jLabel_nombre1 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel_nombre.setForeground(new java.awt.Color(153, 153, 153));\n jLabel_nombre.setText(\"Nombre\");\n\n jTextField_nombre.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR));\n\n jLabel_apellido.setForeground(new java.awt.Color(153, 153, 153));\n jLabel_apellido.setText(\"Apellido\");\n\n jLabel_fechaNacimiento.setForeground(new java.awt.Color(153, 153, 153));\n jLabel_fechaNacimiento.setText(\"Fecha de Nacimiento\");\n\n jLabel_correo.setForeground(new java.awt.Color(153, 153, 153));\n jLabel_correo.setText(\"Correo\");\n\n jTextField_fechaNacimiento.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR));\n\n jButton_modificar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Vista/iconos/icon_guardar.png\"))); // NOI18N\n jButton_modificar.setText(\"Modificar\");\n\n jLabel_contraseña.setForeground(new java.awt.Color(153, 153, 153));\n jLabel_contraseña.setText(\"Contraseña\");\n\n jButton_cancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Vista/iconos/icon_cancelar.png\"))); // NOI18N\n jButton_cancelar.setText(\"Cancelar\");\n jButton_cancelar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton_cancelarActionPerformed(evt);\n }\n });\n\n jTextId.setEditable(false);\n jTextId.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextIdActionPerformed(evt);\n }\n });\n\n jLabel_nombre1.setForeground(new java.awt.Color(153, 153, 153));\n jLabel_nombre1.setText(\"Id\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addGap(78, 78, 78)\n .addComponent(jButton_modificar)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton_cancelar))\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addGap(58, 58, 58)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel_fechaNacimiento)\n .addComponent(jLabel_contraseña)\n .addComponent(jLabel_nombre)\n .addComponent(jLabel_apellido)\n .addComponent(jLabel_correo)\n .addComponent(jLabel_nombre1))\n .addGap(35, 35, 35)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jTextField_correo, javax.swing.GroupLayout.DEFAULT_SIZE, 154, Short.MAX_VALUE)\n .addComponent(jTextField_apellido)\n .addComponent(jTextField_nombre)\n .addComponent(jTextField_contraseña)\n .addComponent(jTextField_fechaNacimiento)\n .addComponent(jTextId))))\n .addGap(54, 54, 54))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(40, 40, 40)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel_nombre1))\n .addGap(28, 28, 28)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextField_nombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel_nombre))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel_apellido)\n .addComponent(jTextField_apellido, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel_correo)\n .addComponent(jTextField_correo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel_contraseña)\n .addComponent(jTextField_contraseña, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel_fechaNacimiento)\n .addComponent(jTextField_fechaNacimiento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jButton_cancelar)\n .addComponent(jButton_modificar))\n .addGap(133, 133, 133))\n );\n\n pack();\n }", "title": "" }, { "docid": "a00d53dfe866bcc7249017ff2a226dd5", "score": "0.5688942", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n panelOpaco = new javax.swing.JPanel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n tfNombre = new javax.swing.JTextField();\n tfPassword = new javax.swing.JPasswordField();\n jLabel6 = new javax.swing.JLabel();\n tfRepeatPassword = new javax.swing.JPasswordField();\n bVolver = new javax.swing.JButton();\n bRegistrar = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/vistas/Imgs/ImgLogin/Mamecorp White.png\"))); // NOI18N\n\n jLabel3.setFont(new java.awt.Font(\"Tahoma\", 1, 24)); // NOI18N\n jLabel3.setForeground(new java.awt.Color(255, 255, 255));\n jLabel3.setText(\"REGISTRO DE USUARIO\");\n\n jLabel4.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n jLabel4.setForeground(new java.awt.Color(255, 255, 255));\n jLabel4.setText(\"Nombre de usuario:\");\n\n jLabel5.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n jLabel5.setForeground(new java.awt.Color(255, 255, 255));\n jLabel5.setText(\"Contraseña:\");\n\n jLabel6.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n jLabel6.setForeground(new java.awt.Color(255, 255, 255));\n jLabel6.setText(\"Repite la contraseña\");\n\n bVolver.setText(\"No quiero registrarme\");\n bVolver.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n bVolverActionPerformed(evt);\n }\n });\n\n bRegistrar.setText(\"¡Registrate!\");\n bRegistrar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n bRegistrarActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout panelOpacoLayout = new javax.swing.GroupLayout(panelOpaco);\n panelOpaco.setLayout(panelOpacoLayout);\n panelOpacoLayout.setHorizontalGroup(\n panelOpacoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(panelOpacoLayout.createSequentialGroup()\n .addGap(58, 58, 58)\n .addGroup(panelOpacoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel6)\n .addComponent(jLabel5)\n .addComponent(jLabel4)\n .addComponent(jLabel3)\n .addGroup(panelOpacoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(panelOpacoLayout.createSequentialGroup()\n .addComponent(bVolver)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(bRegistrar))\n .addComponent(tfRepeatPassword, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(tfPassword, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(tfNombre, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addContainerGap(54, Short.MAX_VALUE))\n );\n panelOpacoLayout.setVerticalGroup(\n panelOpacoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelOpacoLayout.createSequentialGroup()\n .addGap(110, 110, 110)\n .addComponent(jLabel3)\n .addGap(66, 66, 66)\n .addComponent(jLabel4)\n .addGap(18, 18, 18)\n .addComponent(tfNombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(36, 36, 36)\n .addComponent(jLabel5)\n .addGap(18, 18, 18)\n .addComponent(tfPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(33, 33, 33)\n .addComponent(jLabel6)\n .addGap(18, 18, 18)\n .addComponent(tfRepeatPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(61, 61, 61)\n .addGroup(panelOpacoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(bVolver)\n .addComponent(bRegistrar))\n .addGap(174, 174, 174)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 199, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(190, Short.MAX_VALUE))\n );\n\n getContentPane().add(panelOpaco);\n panelOpaco.setBounds(0, 0, 400, 1080);\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/vistas/Imgs/ImgLogin/registroUsuarios.jpg\"))); // NOI18N\n jLabel1.setText(\"jLabel1\");\n getContentPane().add(jLabel1);\n jLabel1.setBounds(0, 0, 1920, 1080);\n\n pack();\n }", "title": "" }, { "docid": "c061863c6de56e2b33cc979bae3a062b", "score": "0.56872505", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n tfNome = new javax.swing.JTextField();\n jLabel2 = new javax.swing.JLabel();\n tfLogin = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n tfEmail = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n tfFone = new javax.swing.JTextField();\n btSalvar = new javax.swing.JButton();\n btCancelar = new javax.swing.JButton();\n jLabel6 = new javax.swing.JLabel();\n tfRua = new javax.swing.JTextField();\n jLabel7 = new javax.swing.JLabel();\n tfNumero = new javax.swing.JTextField();\n tfComplemento = new javax.swing.JTextField();\n jLabel9 = new javax.swing.JLabel();\n jLabel10 = new javax.swing.JLabel();\n tfBairro = new javax.swing.JTextField();\n jLabel8 = new javax.swing.JLabel();\n jLabel11 = new javax.swing.JLabel();\n tfCep = new javax.swing.JTextField();\n jLabel12 = new javax.swing.JLabel();\n tfCidade = new javax.swing.JTextField();\n jLabel13 = new javax.swing.JLabel();\n cbEstado = new javax.swing.JComboBox();\n pfSenha = new javax.swing.JPasswordField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setText(\"Nome\");\n\n tfNome.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tfNomeActionPerformed(evt);\n }\n });\n\n jLabel2.setText(\"Login\");\n\n tfLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tfLoginActionPerformed(evt);\n }\n });\n\n jLabel3.setText(\"Senha\");\n\n jLabel4.setText(\"Email\");\n\n tfEmail.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tfEmailActionPerformed(evt);\n }\n });\n\n jLabel5.setText(\"Fone\");\n\n tfFone.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tfFoneActionPerformed(evt);\n }\n });\n\n btSalvar.setText(\"Salvar\");\n btSalvar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btSalvarActionPerformed(evt);\n }\n });\n\n btCancelar.setText(\"Cancelar\");\n btCancelar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btCancelarActionPerformed(evt);\n }\n });\n\n jLabel6.setFont(new java.awt.Font(\"Lucida Grande\", 0, 24)); // NOI18N\n jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel6.setText(\"Cliente\");\n\n jLabel7.setText(\"Rua\");\n\n jLabel9.setText(\"Complemento\");\n\n jLabel10.setText(\"Número\");\n\n jLabel8.setText(\"Bairro\");\n\n jLabel11.setText(\"Estado\");\n\n tfCep.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tfCepActionPerformed(evt);\n }\n });\n\n jLabel12.setText(\"Cep\");\n\n jLabel13.setText(\"Cidade\");\n\n cbEstado.setModel(new javax.swing.DefaultComboBoxModel(new String[] { \"AC\", \"AL\", \"AP\", \"AM\", \"BA\", \"CE\", \"DF\", \"ES\", \"GO\", \"MA\", \"MT\", \"MS\", \"MG\", \"PA\", \"PB\", \"PR\", \"PE\", \"PI\", \"RJ\", \"RN\", \"RS\", \"RO\", \"RR\", \"SC\", \"SP\", \"SE\", \"TO\" }));\n cbEstado.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cbEstadoActionPerformed(evt);\n }\n });\n\n pfSenha.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n pfSenhaActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel7, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel10, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel12, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel1, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel13, javax.swing.GroupLayout.Alignment.TRAILING))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(tfNome)\n .addComponent(tfFone, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(tfRua, javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(tfCep, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE)\n .addComponent(tfNumero, javax.swing.GroupLayout.Alignment.LEADING))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel9)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(tfComplemento, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel8)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(tfBairro, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addComponent(tfEmail))\n .addGroup(layout.createSequentialGroup()\n .addComponent(tfCidade, javax.swing.GroupLayout.DEFAULT_SIZE, 179, Short.MAX_VALUE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel11)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(cbEstado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGroup(layout.createSequentialGroup()\n .addGap(16, 16, 16)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel3))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(tfLogin)\n .addComponent(pfSenha))))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(btCancelar)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 186, Short.MAX_VALUE)\n .addComponent(btSalvar)))))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(25, 25, 25)\n .addComponent(jLabel6)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(tfNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(tfEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 28, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(tfFone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(tfLogin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(pfSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3))\n .addGap(12, 12, 12)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(tfRua, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel7))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(tfNumero, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(tfComplemento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel9)\n .addComponent(jLabel10))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(tfCep, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel12)\n .addComponent(jLabel8)\n .addComponent(tfBairro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel11)\n .addComponent(tfCidade, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel13)\n .addComponent(cbEstado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(32, 32, 32)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btSalvar)\n .addComponent(btCancelar))\n .addContainerGap())\n );\n\n pack();\n }", "title": "" }, { "docid": "a0d4a55b5dc667d44941daf4f6ca81dc", "score": "0.5680895", "text": "public void login() {\n String username = mainPanel.getUsernameFromLoginPanel();\n String password = mainPanel.getPasswordFromLoginPanel();\n jdbc.connectToDatabase(user, this.password);\n\n // Checks if admin exists in database\n if (username.length() == 5) {\n //login admin, jdbc\n if (jdbc.loginAdmin(username, password)) {\n //Open adminpanel\n mainPanel.showAdminPanel();\n } else {\n JOptionPane.showMessageDialog(null, \"Incorrect username or password, try again.\");\n }\n } else if (username.contains(\"@\")) {\n\n //login costumer, jdbc\n if (jdbc.loginCustomer(username, password)) {\n customer_email = username; // Sparar kundens email för order referenser\n System.out.println(\"mejl: \" + customer_email);\n customer_id = jdbc.getCustomerId(customer_email);\n System.out.println(\"customer id: \" + customer_id);\n\n //TODO spara en ny orderID som blir ny varje gång och deleteas om den ej blivit okejad innan utlogg\n currentOrderId = jdbc.newOrder(customer_id);\n System.out.println(\"ny order på denna kund: \" + currentOrderId);\n //Open customerpanel\n mainPanel.showCustomerPanel();\n } else {\n JOptionPane.showMessageDialog(null, \"Incorrect username or password, try again.\");\n }\n } else {\n JOptionPane.showMessageDialog(null, \"Incorrect username or password, try again.\");\n }\n jdbc.disconnectFromDatabase();\n\n }", "title": "" }, { "docid": "e2fff5be5d8d90f46ddaf4052ba76240", "score": "0.5675338", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel4 = new javax.swing.JLabel();\n cad_usu_cpf = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n cad_usu_nome = new javax.swing.JTextField();\n jLabel2 = new javax.swing.JLabel();\n jLabel1 = new javax.swing.JLabel();\n cad_usu_senha = new javax.swing.JPasswordField();\n jLabel11 = new javax.swing.JLabel();\n cad_usu_login = new javax.swing.JTextField();\n jLabel10 = new javax.swing.JLabel();\n jLabel8 = new javax.swing.JLabel();\n cad_usu_status = new javax.swing.JComboBox<>();\n jLabel7 = new javax.swing.JLabel();\n cad_usu_telefone = new javax.swing.JTextField();\n jLabel6 = new javax.swing.JLabel();\n cad_usu_cargo = new javax.swing.JComboBox<>();\n jLabel5 = new javax.swing.JLabel();\n usu_telerro = new javax.swing.JLabel();\n usu_senhaerro = new javax.swing.JLabel();\n jLabel12 = new javax.swing.JLabel();\n cad_usu_conf = new javax.swing.JPasswordField();\n jScrollPane1 = new javax.swing.JScrollPane();\n jTextArea1 = new javax.swing.JTextArea();\n jTextField1 = new javax.swing.JTextField();\n jLabel9 = new javax.swing.JLabel();\n jTextField3 = new javax.swing.JTextField();\n jLabel14 = new javax.swing.JLabel();\n jLabel15 = new javax.swing.JLabel();\n jTextField4 = new javax.swing.JTextField();\n jTextField5 = new javax.swing.JTextField();\n jLabel16 = new javax.swing.JLabel();\n cad_usu_nomeerro = new javax.swing.JLabel();\n cad_usu_cpferro = new javax.swing.JLabel();\n jLabel20 = new javax.swing.JLabel();\n cad_usu_loginerro = new javax.swing.JLabel();\n cad_usu_telerro2 = new javax.swing.JLabel();\n cad_usu_senhaerro = new javax.swing.JLabel();\n cad_usu_conferro = new javax.swing.JLabel();\n cad_usu_telerro = new javax.swing.JLabel();\n btn = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n jLabel4.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel4.setText(\"E-mail : \");\n\n cad_usu_cpf.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n cad_usu_cpf.setToolTipText(\"\");\n cad_usu_cpf.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n\n jLabel3.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel3.setText(\"CPf :\");\n\n cad_usu_nome.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n cad_usu_nome.setToolTipText(\"\");\n cad_usu_nome.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n\n jLabel2.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel2.setText(\"Nome :\");\n\n jLabel1.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 18)); // NOI18N\n jLabel1.setText(\"Cadastrar Usuário\");\n\n cad_usu_senha.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n cad_usu_senha.setToolTipText(\"\");\n cad_usu_senha.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n\n jLabel11.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel11.setText(\"Telefone :\");\n\n cad_usu_login.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n cad_usu_login.setToolTipText(\"\");\n cad_usu_login.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n\n jLabel10.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel10.setText(\"Aviso:\");\n\n jLabel8.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel8.setText(\"Login :\");\n\n cad_usu_status.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n cad_usu_status.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n cad_usu_status.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n cad_usu_status.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cad_usu_statusActionPerformed(evt);\n }\n });\n\n jLabel7.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel7.setText(\"Status :\");\n\n cad_usu_telefone.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n cad_usu_telefone.setToolTipText(\"\");\n cad_usu_telefone.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n cad_usu_telefone.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cad_usu_telefoneActionPerformed(evt);\n }\n });\n\n jLabel6.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel6.setText(\"Senha : \");\n\n cad_usu_cargo.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n cad_usu_cargo.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n cad_usu_cargo.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n\n jLabel5.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel5.setText(\"Cargo:\");\n\n usu_telerro.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n usu_telerro.setForeground(new java.awt.Color(255, 0, 0));\n\n usu_senhaerro.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n usu_senhaerro.setForeground(new java.awt.Color(255, 0, 0));\n\n jLabel12.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel12.setText(\"Confirmar senha :\");\n\n cad_usu_conf.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n cad_usu_conf.setToolTipText(\"\");\n cad_usu_conf.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n\n jTextArea1.setColumns(20);\n jTextArea1.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jTextArea1.setRows(5);\n jTextArea1.setToolTipText(\"\");\n jTextArea1.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n jScrollPane1.setViewportView(jTextArea1);\n\n jTextField1.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jTextField1.setToolTipText(\"\");\n jTextField1.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n\n jLabel9.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n jLabel9.setForeground(new java.awt.Color(255, 0, 0));\n\n jTextField3.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jTextField3.setToolTipText(\"\");\n jTextField3.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n jTextField3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField3ActionPerformed(evt);\n }\n });\n\n jLabel14.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel14.setText(\"DDD:\");\n\n jLabel15.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel15.setText(\"DDD:\");\n\n jTextField4.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jTextField4.setToolTipText(\"\");\n jTextField4.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n jTextField4.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField4ActionPerformed(evt);\n }\n });\n\n jTextField5.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jTextField5.setToolTipText(\"\");\n jTextField5.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED, new java.awt.Color(204, 204, 204), null));\n\n jLabel16.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 16)); // NOI18N\n jLabel16.setText(\"Telefone :(opcional)\");\n\n cad_usu_nomeerro.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n cad_usu_nomeerro.setForeground(new java.awt.Color(255, 0, 0));\n\n cad_usu_cpferro.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n cad_usu_cpferro.setForeground(new java.awt.Color(255, 0, 0));\n\n jLabel20.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n jLabel20.setForeground(new java.awt.Color(255, 0, 0));\n\n cad_usu_loginerro.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n cad_usu_loginerro.setForeground(new java.awt.Color(255, 0, 0));\n\n cad_usu_telerro2.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n cad_usu_telerro2.setForeground(new java.awt.Color(255, 0, 0));\n\n cad_usu_senhaerro.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n cad_usu_senhaerro.setForeground(new java.awt.Color(255, 0, 0));\n\n cad_usu_conferro.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n cad_usu_conferro.setForeground(new java.awt.Color(255, 0, 0));\n\n cad_usu_telerro.setFont(new java.awt.Font(\"Tw Cen MT\", 0, 11)); // NOI18N\n cad_usu_telerro.setForeground(new java.awt.Color(255, 0, 0));\n\n btn.setText(\"jButton1\");\n btn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(cad_usu_senhaerro, javax.swing.GroupLayout.PREFERRED_SIZE, 248, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jLabel2)\n .addComponent(cad_usu_nome)\n .addComponent(jLabel6)\n .addComponent(jLabel12)\n .addComponent(jLabel8)\n .addComponent(cad_usu_login)\n .addGroup(layout.createSequentialGroup()\n .addComponent(cad_usu_senha, javax.swing.GroupLayout.PREFERRED_SIZE, 248, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(usu_telerro, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(cad_usu_conf, javax.swing.GroupLayout.PREFERRED_SIZE, 252, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(usu_senhaerro, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addComponent(cad_usu_nomeerro, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(cad_usu_cpferro, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(cad_usu_cpf)\n .addComponent(cad_usu_loginerro, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGap(39, 39, 39)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel14)\n .addGap(12, 12, 12)\n .addComponent(jLabel11))\n .addComponent(jLabel5)\n .addComponent(jLabel7)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 10, Short.MAX_VALUE)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel4)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(cad_usu_cargo, javax.swing.GroupLayout.Alignment.LEADING, 0, 123, Short.MAX_VALUE)\n .addComponent(cad_usu_status, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btn))\n .addComponent(jLabel20, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 285, Short.MAX_VALUE)\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addComponent(jLabel15)\n .addGap(18, 18, 18)\n .addComponent(jLabel16))\n .addComponent(cad_usu_telerro2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addComponent(cad_usu_telefone, javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jTextField5))\n .addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(cad_usu_telerro, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGap(40, 40, 40)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel10)))))\n .addComponent(cad_usu_conferro, javax.swing.GroupLayout.PREFERRED_SIZE, 248, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1))\n .addContainerGap(22, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(cad_usu_cargo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btn)))\n .addGroup(layout.createSequentialGroup()\n .addGap(6, 6, 6)\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel10))\n .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.TRAILING))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(cad_usu_telefone, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(cad_usu_nome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(cad_usu_nomeerro, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 8, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 12, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel14)\n .addComponent(jLabel11))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(cad_usu_cpf, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(cad_usu_cpferro, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel8)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(cad_usu_login, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel20, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(cad_usu_telerro, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 116, Short.MAX_VALUE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel16)\n .addComponent(jLabel15))))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(cad_usu_loginerro, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(cad_usu_telerro2, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 9, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel6)\n .addComponent(jLabel5))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(usu_telerro, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(cad_usu_senha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(cad_usu_senhaerro, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(7, 7, 7)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel12)\n .addComponent(jLabel7))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(usu_senhaerro, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(cad_usu_conf, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(cad_usu_status, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(cad_usu_conferro, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(22, Short.MAX_VALUE))))\n );\n\n pack();\n }", "title": "" }, { "docid": "7ffd43e95158fec8d6fc43c6abb34ccc", "score": "0.5674802", "text": "@Override\r\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tString es = e.getActionCommand();\r\n\t\tif (es.equals(rdbtn[0].getText())) {\r\n\t\t\tthis.radio = es;\r\n\t\t}else if (es.equals(rdbtn[1].getText())){\r\n\t\t\tthis.radio = es;\r\n\t\t}\r\n\t\t\r\n\t\t// login btn \r\n\t\t// +) id/pw오류 시 텍스트필드 reset, 커서이동\r\n\t\tif (e.getSource() == btnLogin) {\r\n\t\t\tDBcon dbcon = new DBcon(); // db 생성\r\n\t\t\t\r\n\t\t\tString id = idField.getText();\r\n\t\t\tString pw = new String(pwField.getPassword());\r\n\t\t\tdbcon.loginCheck(id, pw, radio);\r\n\t\t\t\r\n\t\t\tif(dbcon.getLogCnt() == 1) {\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"로그인 되었습니다.\");\r\n\t\t\t\tstart.setDBcon(dbcon); // 로그인 된 계정 DB 넘기기\r\n\t\t\t\tstart.showMainFrame();\r\n\t\t\t} else {\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"ID/PW를 확인해주세요.\");\r\n\t\t\t}\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e7629a468f9c3ac63d37dbaf4dff5165", "score": "0.56729794", "text": "public int userEditPassword(User user, String username, String password, String newPassword){\r\n MySQLDB db = new MySQLDB(); // Connects to database\r\n if (login(user, password)) {\r\n try {\r\n String sqlQuery = \"UPDATE User SET password = ? WHERE username = ?;\";\r\n PreparedStatement stmt = db.PrepStmt(sqlQuery);\r\n stmt.setString(2, username);\r\n stmt.setString(1, newPassword);\r\n int rc = db.setData(stmt);\r\n return rc;\r\n }//end try\r\n catch (DLException | SQLException e) {\r\n e.printStackTrace();\r\n return -1;\r\n }//end catch\r\n finally {\r\n db.close();\r\n }\r\n }\r\n else {\r\n return -1;\r\n } \r\n }", "title": "" }, { "docid": "959910431e129640d9b9cd37038e01ef", "score": "0.5666032", "text": "@Override\r\n public void actionPerformed(ActionEvent e) {\r\n\r\n try {\r\n // storing the database username\r\n String databaseUsername;\r\n // storing the database password\r\n String databasePassword;\r\n // getting the user input in the username\r\n String usernameInput = usernameTextField.getText();\r\n // getting the user input in the password\r\n String passwordInput = String.valueOf(paswwordTextField.getText());\r\n\r\n /*\r\n * SQL query that will select the username and password from the\r\n * relation manager_account\r\n */\r\n String queryInTheDatabase = \"SELECT username, password FROM manager_account\";\r\n\r\n boolean wrongPassword = false;\r\n\r\n /**\r\n * Getting a connection to to the given database URL\r\n *\r\n * @param jdbc:mysql://localhost:3306 -a database url of the form\r\n * jdbc:subprotocol:subname\r\n * @param root - the database user on whose behalf the\r\n * connection is being made\r\n * @param Rebolos143# - the user's password\r\n * @exception SQLTimeoutException -when the driver has determined that the\r\n * timeout value specified by the setLoginTimeout\r\n * method has been exceeded\r\n * @exception SQLException – if a database access error occurs or the url\r\n * is null\r\n */\r\n Connection connection = DriverManager.getConnection(\r\n \"jdbc:mysql://localhost:3306/transporthubfinalproject\", \"root\", \"Rebolos143#\");\r\n\r\n /**\r\n * Object for sending parameterized SQL statements to the database.\r\n *\r\n * @param parameterIndex - the index\r\n * @param second - the value\r\n * @exception SQLException -if parameterIndex does not correspond to a parameter\r\n * marker in the SQL statement;\r\n */\r\n PreparedStatement stmt = connection.prepareStatement(queryInTheDatabase);\r\n\r\n /**\r\n * Executing the SQL query in this PreparedStatement object and returns the ResultSet\r\n * @return ResultSet -object that contains the data produced by the query; never null\r\n * @exception SQLTimeoutException -hen the driver has determined that the timeout value that was specified by the setQueryTimeout method has been exceeded\r\n * @eception SQLException -if a database access error occur\r\n */\r\n ResultSet rs = stmt.executeQuery();\r\n /** he first call to the method next makes the first row the current row\r\n * the second call makes the second row the current row,\r\n * @return boolean true -if the new current row is valid if there are no more rows\r\n */\r\n while (rs.next()) {\r\n /**\r\n * Storing the username and passowrd from the retrieves\r\n * the value of the designated column in the current row of this ResultSel\r\n *\r\n * @return column value - if the value is SQL NULL, the value returned is null\r\n * @param columnLabel– the label for the column specified with the SQL AS clause.\r\n * @exception SQLException - if the columnLabel is not valid\r\n *\r\n */\r\n databaseUsername = rs.getString(\"username\");\r\n databasePassword = rs.getString(\"password\");\r\n\r\n /*\r\n Checking the database username and userInput number and password if match\r\n then there will be JOptionDialog will prompt to let user\r\n to input a masterkey password that was declared within the program\r\n */\r\n if (e.getSource() == buttonLogIn && databaseUsername.equals(usernameInput) && databasePassword.equals(passwordInput)) {\r\n \twrongPassword= true;\r\n \r\n try {\r\n MasterKeyFrame window = new MasterKeyFrame();\r\n \r\n window.setVisible(true);\r\n \r\n\r\n } catch (Exception ye) {\r\n ye.printStackTrace();\r\n }\r\n }\r\n \r\n }\r\n\r\n \r\n \r\n\r\n /** Waiting for this to happen when it is automatically closed.\r\n * @exception SQLException - if a database access error occurs\r\n */\r\n rs.close();\r\n\r\n \r\n if(!wrongPassword) {\r\n \t usernameTextField.setBorder(new MatteBorder(2, 2, 2, 2, (Color) new Color(255, 0, 0)));\r\n paswwordTextField.setBorder(new MatteBorder(2, 2, 2, 2, (Color) new Color(255, 0, 0)));\r\n JOptionPane.showMessageDialog(null, \"Please Check Username and Password \");\r\n }\r\n \r\n\r\n\r\n //Catching the unhandle exception\r\n } catch (Exception error) {\r\n error.printStackTrace();\r\n }\r\n\r\n }", "title": "" }, { "docid": "537abeaa500f9532295769ba4520cce2", "score": "0.56640166", "text": "@SuppressWarnings(\"unchecked\")\r\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\r\n private void initComponents() {\r\n\r\n jPanel1 = new javax.swing.JPanel();\r\n jLImagem = new javax.swing.JLabel();\r\n jLLogin = new javax.swing.JLabel();\r\n jLSenha = new javax.swing.JLabel();\r\n jTFLogin = new javax.swing.JTextField();\r\n jPSenha = new javax.swing.JPasswordField();\r\n jBEntrar = new javax.swing.JButton();\r\n jBSair = new javax.swing.JButton();\r\n jBCadastrar = new javax.swing.JButton();\r\n lBTitulo = new java.awt.Label();\r\n\r\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\r\n setTitle(\"Login\");\r\n\r\n jLImagem.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\r\n jLImagem.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/imagens/logo.png\"))); // NOI18N\r\n\r\n jLLogin.setFont(new java.awt.Font(\"Tahoma\", 0, 12)); // NOI18N\r\n jLLogin.setText(\"Login:\");\r\n\r\n jLSenha.setFont(new java.awt.Font(\"Tahoma\", 0, 12)); // NOI18N\r\n jLSenha.setText(\"Senha:\");\r\n\r\n jTFLogin.setToolTipText(\"\");\r\n jTFLogin.setMaximumSize(new java.awt.Dimension(190, 35));\r\n jTFLogin.setMinimumSize(new java.awt.Dimension(190, 35));\r\n jTFLogin.setName(\"\"); // NOI18N\r\n jTFLogin.setPreferredSize(new java.awt.Dimension(190, 35));\r\n jTFLogin.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jTFLoginActionPerformed(evt);\r\n }\r\n });\r\n\r\n jPSenha.setMaximumSize(new java.awt.Dimension(190, 35));\r\n jPSenha.setMinimumSize(new java.awt.Dimension(190, 35));\r\n jPSenha.setPreferredSize(new java.awt.Dimension(190, 35));\r\n jPSenha.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jPSenhaActionPerformed(evt);\r\n }\r\n });\r\n\r\n jBEntrar.setText(\"Entrar\");\r\n jBEntrar.setMaximumSize(new java.awt.Dimension(100, 35));\r\n jBEntrar.setMinimumSize(new java.awt.Dimension(100, 35));\r\n jBEntrar.setPreferredSize(new java.awt.Dimension(100, 35));\r\n jBEntrar.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jBEntrarActionPerformed(evt);\r\n }\r\n });\r\n\r\n jBSair.setText(\"Sair\");\r\n jBSair.setMaximumSize(new java.awt.Dimension(100, 35));\r\n jBSair.setMinimumSize(new java.awt.Dimension(100, 35));\r\n jBSair.setPreferredSize(new java.awt.Dimension(100, 35));\r\n jBSair.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jBSairActionPerformed(evt);\r\n }\r\n });\r\n\r\n jBCadastrar.setText(\"Cadastrar\");\r\n jBCadastrar.setMaximumSize(new java.awt.Dimension(100, 35));\r\n jBCadastrar.setMinimumSize(new java.awt.Dimension(100, 35));\r\n jBCadastrar.setPreferredSize(new java.awt.Dimension(100, 35));\r\n jBCadastrar.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n jBCadastrarActionPerformed(evt);\r\n }\r\n });\r\n\r\n lBTitulo.setFont(new java.awt.Font(\"Lucida Grande\", 1, 24)); // NOI18N\r\n lBTitulo.setText(\"URNA DIGITAL\");\r\n\r\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\r\n jPanel1.setLayout(jPanel1Layout);\r\n jPanel1Layout.setHorizontalGroup(\r\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addContainerGap()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\r\n .addGap(0, 0, Short.MAX_VALUE)\r\n .addComponent(lBTitulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addGap(37, 37, 37))\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(jLImagem, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\r\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\r\n .addComponent(jBEntrar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\r\n .addComponent(jBCadastrar, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\r\n .addComponent(jLSenha)\r\n .addComponent(jLLogin))\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\r\n .addComponent(jPSenha, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addComponent(jTFLogin, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE))))\r\n .addGap(0, 0, Short.MAX_VALUE)))\r\n .addContainerGap())\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addComponent(jBSair, javax.swing.GroupLayout.PREFERRED_SIZE, 243, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\r\n );\r\n jPanel1Layout.setVerticalGroup(\r\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(jPanel1Layout.createSequentialGroup()\r\n .addContainerGap()\r\n .addComponent(jLImagem)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\r\n .addComponent(lBTitulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jTFLogin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jLLogin))\r\n .addGap(18, 18, 18)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jPSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jLSenha))\r\n .addGap(23, 23, 23)\r\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\r\n .addComponent(jBEntrar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addComponent(jBCadastrar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\r\n .addGap(18, 18, 18)\r\n .addComponent(jBSair, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addGap(29, 29, 29))\r\n );\r\n\r\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\r\n getContentPane().setLayout(layout);\r\n layout.setHorizontalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\r\n );\r\n layout.setVerticalGroup(\r\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\r\n .addGroup(layout.createSequentialGroup()\r\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 468, javax.swing.GroupLayout.PREFERRED_SIZE)\r\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\r\n );\r\n\r\n pack();\r\n }", "title": "" }, { "docid": "609ef52fdfd38fb00e240c41ad18a2cf", "score": "0.5663777", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jComboBox1 = new javax.swing.JComboBox<>();\n jLabel1 = new javax.swing.JLabel();\n tfID = new javax.swing.JTextField();\n jLabel2 = new javax.swing.JLabel();\n pfSenha = new javax.swing.JPasswordField();\n btEntrar = new javax.swing.JButton();\n jLabel3 = new javax.swing.JLabel();\n cbTipoDeLogin = new javax.swing.JComboBox<>();\n\n jComboBox1.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Item 1\", \"Item 2\", \"Item 3\", \"Item 4\" }));\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setText(\"ID\");\n\n tfID.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tfIDActionPerformed(evt);\n }\n });\n\n jLabel2.setText(\"Senha\");\n\n pfSenha.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n pfSenhaActionPerformed(evt);\n }\n });\n\n btEntrar.setText(\"Entrar\");\n btEntrar.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n btEntrarMouseClicked(evt);\n }\n });\n btEntrar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btEntrarActionPerformed(evt);\n }\n });\n\n jLabel3.setText(\"Tipo de Usuário\");\n\n cbTipoDeLogin.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Aluno\", \"Professor\" }));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(54, 54, 54)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel3)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(layout.createSequentialGroup()\n .addComponent(cbTipoDeLogin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btEntrar))\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel1)\n .addComponent(tfID, javax.swing.GroupLayout.PREFERRED_SIZE, 264, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(pfSenha, javax.swing.GroupLayout.PREFERRED_SIZE, 264, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(122, 122, 122))))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(39, 39, 39)\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(tfID, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(pfSenha, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(58, 58, 58)\n .addComponent(btEntrar))\n .addGroup(layout.createSequentialGroup()\n .addGap(8, 8, 8)\n .addComponent(jLabel3)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(cbTipoDeLogin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(39, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "8d4a842e29c8c78558037e20982cf848", "score": "0.5657957", "text": "public void login() throws Exception {\n if(Global.objErr == \"11\"){\n return;\n } \n \ttry {\n\t\t\tTestData td = new TestData ();\n\t\t\tGlobal.objData = (HashMap) td.readTestData (Global.gTCID, Global.gstrClassName, Global.gstrMethodName);\t \t\t\t\n\t\t\tGlobal.test.log(Status.INFO,\"Class and Method : \"+ Global.gstrClassName +\" . \"+Global.gstrMethodName); \n\t\t\tUtility.waitForPageToLoad();\n\t\t\tUtility.ng_clickSimply(lnkLogin,\"Login\",\"LogInClick\");\n\t\t\tUtility.waitForPageToLoad();\n\t\t\tUtility.ng_clickSimply(lnkLogIn,\"LOGIN\",\"LogInClick\");\n\t\t\tUtility.ng_verifyPage(\"Login\",\"LoginCheck\");\n\t\t\tGlobal.gTCUserName = Utility.getTestDataValue(\"UserNameSet\");\n\t\t\tUtility.ng_enterTextDirect(edtUserName,\"User Name\",\"UserNameSet\");\n\t\t\tUtility.ng_enterTextPwd(edtPassword,\"Password\",\"PasswordSet\");\n\t\t\tUtility.ng_clickSimply(btnLogIn,\"LOGIN\",\"LogInClick\");\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tUtility.ng_ScriptAbortedLog(e);\t\t\t\t\n\t\t} \n }", "title": "" }, { "docid": "3fe3516645f913ee26e38148c1a27de2", "score": "0.5657201", "text": "@Override\r\n\tpublic int changePassword(EmpLoginVO empLoginVO) {\n\t\treturn empDao.changePassword(empLoginVO);\r\n\t}", "title": "" }, { "docid": "4788692e694a79c5392e71b394ce0a1c", "score": "0.56562734", "text": "@Override\n\tpublic void updateUserLoginpass(UserLogin userLogin) {\n\t\tsqlSession.insert(\"userLogin.updateUserLoginpass\", userLogin);\n\t}", "title": "" }, { "docid": "10ef9d158ff797e0f1c975e87733a2fa", "score": "0.5655961", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n LoginLbl1 = new javax.swing.JLabel();\n LoginLbl2 = new javax.swing.JLabel();\n Logname = new javax.swing.JLabel();\n LogEmail = new javax.swing.JLabel();\n LogDOB = new javax.swing.JLabel();\n LogPas = new javax.swing.JLabel();\n LogConpas = new javax.swing.JLabel();\n Proceedbtn = new javax.swing.JButton();\n Txtlogname = new javax.swing.JTextField();\n Txtlogemail = new javax.swing.JTextField();\n TxtlogDOB = new javax.swing.JTextField();\n Cancelbtn = new javax.swing.JButton();\n Pas = new javax.swing.JPasswordField();\n Conpas = new javax.swing.JPasswordField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(204, 102, 0));\n\n LoginLbl1.setFont(new java.awt.Font(\"Cambria\", 1, 18)); // NOI18N\n LoginLbl1.setForeground(new java.awt.Color(153, 0, 0));\n LoginLbl1.setText(\"WELCOME TO THE SIGN UP PAGE\");\n\n LoginLbl2.setFont(new java.awt.Font(\"Cambria\", 1, 14)); // NOI18N\n LoginLbl2.setForeground(new java.awt.Color(153, 0, 0));\n LoginLbl2.setText(\"ENTER THE DETAILS:\");\n\n Logname.setFont(new java.awt.Font(\"Cambria\", 1, 13)); // NOI18N\n Logname.setForeground(new java.awt.Color(153, 0, 0));\n Logname.setText(\"NAME:\");\n\n LogEmail.setFont(new java.awt.Font(\"Cambria\", 1, 13)); // NOI18N\n LogEmail.setForeground(new java.awt.Color(153, 0, 0));\n LogEmail.setText(\"E-MAIL:\");\n\n LogDOB.setFont(new java.awt.Font(\"Cambria\", 1, 13)); // NOI18N\n LogDOB.setForeground(new java.awt.Color(153, 0, 0));\n LogDOB.setText(\"DOB:\");\n\n LogPas.setFont(new java.awt.Font(\"Cambria\", 1, 13)); // NOI18N\n LogPas.setForeground(new java.awt.Color(153, 0, 0));\n LogPas.setText(\"PASSWORD:\");\n\n LogConpas.setFont(new java.awt.Font(\"Cambria\", 1, 13)); // NOI18N\n LogConpas.setForeground(new java.awt.Color(153, 0, 0));\n LogConpas.setText(\"CONFIRM PASSWORD:\");\n\n Proceedbtn.setText(\"PROCEED\");\n Proceedbtn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n ProceedbtnActionPerformed(evt);\n }\n });\n\n Txtlogemail.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n TxtlogemailActionPerformed(evt);\n }\n });\n\n Cancelbtn.setText(\"CANCEL\");\n Cancelbtn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n CancelbtnActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(LoginLbl2)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(60, 60, 60)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(LogPas)\n .addComponent(LogDOB, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(Logname, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(LogEmail))))\n .addComponent(LogConpas))\n .addGap(25, 25, 25)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(Txtlogname, javax.swing.GroupLayout.DEFAULT_SIZE, 124, Short.MAX_VALUE)\n .addComponent(Txtlogemail, javax.swing.GroupLayout.DEFAULT_SIZE, 124, Short.MAX_VALUE)\n .addComponent(TxtlogDOB, javax.swing.GroupLayout.DEFAULT_SIZE, 124, Short.MAX_VALUE)\n .addComponent(Pas)\n .addComponent(Conpas))))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 54, Short.MAX_VALUE)\n .addComponent(LoginLbl1, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(41, 41, 41))))\n .addGroup(layout.createSequentialGroup()\n .addGap(92, 92, 92)\n .addComponent(Proceedbtn, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(33, 33, 33)\n .addComponent(Cancelbtn, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(LoginLbl1, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(LoginLbl2)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(Logname)\n .addComponent(Txtlogname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(22, 22, 22)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(LogEmail)\n .addComponent(Txtlogemail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(29, 29, 29)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(LogDOB)\n .addComponent(TxtlogDOB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(27, 27, 27)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(LogPas)\n .addComponent(Pas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(28, 28, 28)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(LogConpas)\n .addComponent(Conpas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(27, 27, 27)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(Proceedbtn)\n .addComponent(Cancelbtn))\n .addContainerGap(23, Short.MAX_VALUE))\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "48d1435d3b688757c4f0225779b1f83e", "score": "0.5655407", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n jTextField1 = new javax.swing.JTextField();\n jTextField2 = new javax.swing.JTextField();\n jTextField3 = new javax.swing.JTextField();\n jTextField4 = new javax.swing.JTextField();\n jTextField5 = new javax.swing.JTextField();\n jPasswordField1 = new javax.swing.JPasswordField();\n jButton4 = new javax.swing.JButton();\n jButton5 = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setResizable(false);\n\n jLabel1.setText(\"Nombre\");\n\n jLabel2.setText(\"Apellidos\");\n\n jLabel3.setText(\"Correo electrónico\");\n\n jLabel4.setText(\"DNI\");\n\n jLabel5.setText(\"Nombre de Usuario\");\n\n jLabel6.setText(\"Contraseña\");\n\n jButton1.setText(\"Aceptar\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setText(\"Cancelar\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n jButton4.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jButton4.setText(\"+\");\n jButton4.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton4ActionPerformed(evt);\n }\n });\n\n jButton5.setFont(new java.awt.Font(\"Dialog\", 1, 18)); // NOI18N\n jButton5.setText(\"-\");\n jButton5.setMaximumSize(new java.awt.Dimension(41, 40));\n jButton5.setMinimumSize(new java.awt.Dimension(41, 40));\n jButton5.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton5ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(38, 38, 38)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel5)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel1)\n .addComponent(jLabel3)\n .addComponent(jLabel2)\n .addComponent(jLabel4))\n .addComponent(jLabel6, javax.swing.GroupLayout.Alignment.TRAILING))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 216, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGap(25, 25, 25))\n .addGroup(layout.createSequentialGroup()\n .addGap(19, 19, 19)\n .addComponent(jButton4)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton1)\n .addGap(50, 50, 50)\n .addComponent(jButton2)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(34, 34, 34)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(29, 29, 29)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(34, 34, 34)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(33, 33, 33)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(33, 33, 33)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(32, 32, 32)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel6)\n .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 43, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton1)\n .addComponent(jButton2)\n .addComponent(jButton4)\n .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(19, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "e9aa9c981c77a53e86f096beb92b75c8", "score": "0.5653772", "text": "private void AtrasbtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_AtrasbtnActionPerformed\n Utils.usuarioActual = null;\n this.dispose();\n Login.setVisible(true);\n }", "title": "" }, { "docid": "d263b737d6fae4f2de416e81659a837f", "score": "0.5653058", "text": "private void alterar(){\n String sql = \"update tbclientes set nomecli=?,endcli=?,fonecli=?,emailcli=? where idcli=?\";\n try {\n pst = conexao.prepareStatement(sql);\n pst.setString(1,txtCliNome.getText());\n pst.setString(2,txtCliEndereco.getText());\n pst.setString(3,txtCliFone.getText());\n pst.setString(4,txtCliEmail.getText());\n pst.setString(5,txtCliId.getText());\n\n \n if (txtCliNome.getText().isEmpty() || txtCliFone.getText().isEmpty()){\n JOptionPane.showMessageDialog(null, \"Preencha todos os campos obrigatorios\");\n } else {\n \n\n //a linha abaixo atualiza a tabela cliente com os dados formulario\n // a estrutura abaixo é usada para confirmar a alteração de dados na tabela\n int adicionado = pst.executeUpdate();\n // a linha abaixo serve de apoio ao entendimento da logica\n //System.out.println(adicionado);\n if (adicionado >0) {\n JOptionPane.showMessageDialog(null, \"Dados do cliente alterados com sucesso\");\n txtCliNome.setText(null);\n txtCliEndereco.setText(null);\n txtCliFone.setText(null);\n txtCliEmail.setText(null);\n \n btnAdcionar.setEnabled(true);\n //cdoUsuPerfil.setSelectedItem(null);\n \n }\n }\n } catch (Exception e){\n JOptionPane.showMessageDialog(null, e);\n}\n }", "title": "" }, { "docid": "2f13b4ee213baacbc8317ce156fa4247", "score": "0.56483424", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jTextField1 = new javax.swing.JTextField();\n jTextField2 = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n jPasswordField1 = new javax.swing.JPasswordField();\n jLabel4 = new javax.swing.JLabel();\n jPasswordField2 = new javax.swing.JPasswordField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Nuevo Usuario\");\n\n jPanel1.setName(\"\"); // NOI18N\n\n jLabel1.setText(\"Nombre\");\n\n jLabel2.setText(\"Correo\");\n\n jLabel3.setText(\"Password\");\n\n jButton1.setText(\"Aceptar\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setText(\"Cancelar\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n jLabel4.setText(\"Confirmar Password\");\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(33, 33, 33)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jButton1)\n .addGap(135, 135, 135)\n .addComponent(jButton2)\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addComponent(jLabel3)\n .addComponent(jLabel1)\n .addComponent(jLabel4))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jTextField2, javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jTextField1)\n .addComponent(jPasswordField1)\n .addComponent(jPasswordField2))))\n .addGap(29, 29, 29))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(51, 51, 51)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel1))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(jPasswordField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 41, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton1)\n .addComponent(jButton2))\n .addGap(27, 27, 27))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "397c97c74230fc35e28301fb859c435d", "score": "0.56467426", "text": "private void validarLogin() {\r\n if(!permisoQf()){\r\n cerrarVentana(false);\r\n }\r\n }", "title": "" }, { "docid": "a20286e67f63c62e91ee2adc899fe5f1", "score": "0.5646165", "text": "public Actualizar_usuario() {\n initComponents();\n mostrarDatos(\"\");\n }", "title": "" }, { "docid": "766a0940045810e91adc46e8313aab3f", "score": "0.56450486", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n txtUserEditSen = new javax.swing.JPasswordField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jcUserEditCamp = new javax.swing.JComboBox<>();\n jLabel4 = new javax.swing.JLabel();\n txtUserEditLog = new javax.swing.JTextField();\n txtUserEditNome = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n txtUserIdEdit = new javax.swing.JTextField();\n btnUserProc = new javax.swing.JButton();\n btnUserEdit = new javax.swing.JButton();\n btnUserDel = new javax.swing.JButton();\n jLabel6 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n\n setClosable(true);\n setIconifiable(true);\n setMaximizable(true);\n setTitle(\"NitroX - Cadastro e Edição de usuários\");\n setPreferredSize(new java.awt.Dimension(600, 497));\n\n jLabel1.setText(\"* Nome:\");\n\n jLabel2.setText(\"* Login:\");\n\n jLabel3.setText(\"* Senha:\");\n\n jcUserEditCamp.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"admin\", \"user\" }));\n jcUserEditCamp.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jcUserEditCampActionPerformed(evt);\n }\n });\n\n jLabel4.setText(\"* Perfil:\");\n\n jLabel5.setText(\"* ID:\");\n\n btnUserProc.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/br/com/nitrox/icons/reade.png\"))); // NOI18N\n btnUserProc.setToolTipText(\"Consultar\");\n btnUserProc.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n btnUserProc.setPreferredSize(new java.awt.Dimension(80, 80));\n btnUserProc.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnUserProcActionPerformed(evt);\n }\n });\n\n btnUserEdit.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/br/com/nitrox/icons/edit.png\"))); // NOI18N\n btnUserEdit.setToolTipText(\"Editar\");\n btnUserEdit.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n btnUserEdit.setPreferredSize(new java.awt.Dimension(80, 80));\n btnUserEdit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnUserEditActionPerformed(evt);\n }\n });\n\n btnUserDel.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/br/com/nitrox/icons/delete.png\"))); // NOI18N\n btnUserDel.setToolTipText(\"Excluir\");\n btnUserDel.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n btnUserDel.setPreferredSize(new java.awt.Dimension(80, 80));\n btnUserDel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnUserDelActionPerformed(evt);\n }\n });\n\n jLabel6.setText(\"* Campos obrigatórios\");\n\n jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/br/com/nitrox/icons/create.png\"))); // NOI18N\n jButton1.setToolTipText(\"Cadastrar\");\n jButton1.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));\n jButton1.setPreferredSize(new java.awt.Dimension(80, 80));\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(96, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(7, 7, 7)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel4)\n .addComponent(jLabel1)\n .addComponent(jLabel5)\n .addComponent(jLabel2)))\n .addGroup(layout.createSequentialGroup()\n .addGap(70, 70, 70)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jcUserEditCamp, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(layout.createSequentialGroup()\n .addComponent(txtUserIdEdit, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel6))\n .addGroup(layout.createSequentialGroup()\n .addComponent(txtUserEditLog, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel3)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(txtUserEditSen, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(txtUserEditNome, javax.swing.GroupLayout.PREFERRED_SIZE, 279, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(btnUserProc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(btnUserEdit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(btnUserDel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGap(91, 91, 91))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(txtUserIdEdit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel6))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(txtUserEditNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtUserEditLog, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3)\n .addComponent(txtUserEditSen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(jcUserEditCamp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(55, 55, 55)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)\n .addComponent(btnUserProc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnUserDel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnUserEdit, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(90, 90, 90))\n );\n\n setBounds(0, 0, 571, 497);\n }", "title": "" }, { "docid": "37414eebef670eb7a8b7e2189d64f080", "score": "0.56435907", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n pnlBtn = new javax.swing.JPanel();\n home = new javax.swing.JButton();\n logout = new javax.swing.JButton();\n btnExit = new javax.swing.JButton();\n jPanel1 = new javax.swing.JPanel();\n txtChangeUser = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n jPanel2 = new javax.swing.JPanel();\n rdoUsername = new javax.swing.JRadioButton();\n chkUn = new javax.swing.JCheckBox();\n jLabel4 = new javax.swing.JLabel();\n txtNewUn = new javax.swing.JTextField();\n chkPw = new javax.swing.JCheckBox();\n jLabel5 = new javax.swing.JLabel();\n txtCurrentPw = new javax.swing.JPasswordField();\n jLabel6 = new javax.swing.JLabel();\n txtNewPw = new javax.swing.JPasswordField();\n jLabel7 = new javax.swing.JLabel();\n txtConfirmPw = new javax.swing.JPasswordField();\n btnSubmit = new javax.swing.JButton();\n lblECPw = new javax.swing.JLabel();\n lblEPassword = new javax.swing.JLabel();\n lblECpassword = new javax.swing.JLabel();\n lblEnotAvailable = new javax.swing.JLabel();\n lblEConfPw = new javax.swing.JLabel();\n jPanel3 = new javax.swing.JPanel();\n rdoComp = new javax.swing.JRadioButton();\n cmbNames = new javax.swing.JComboBox();\n jLabel2 = new javax.swing.JLabel();\n jScrollPane1 = new javax.swing.JScrollPane();\n txtComp = new javax.swing.JTextArea();\n jLabel8 = new javax.swing.JLabel();\n btnAddComp = new javax.swing.JButton();\n lblEComp = new javax.swing.JLabel();\n lblEAbout = new javax.swing.JLabel();\n btnViewComps = new javax.swing.JButton();\n jButton1 = new javax.swing.JButton();\n dchMonth = new com.toedter.calendar.JMonthChooser();\n dchYear = new com.toedter.calendar.JYearChooser();\n jLabel1 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setUndecorated(true);\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n pnlBtn.setOpaque(false);\n\n home.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/home.png\"))); // NOI18N\n home.setOpaque(false);\n home.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/Focus_home.png\"))); // NOI18N\n home.setRolloverSelectedIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/Focus_home.png\"))); // NOI18N\n home.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n homeActionPerformed(evt);\n }\n });\n\n logout.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/logout.png\"))); // NOI18N\n logout.setOpaque(false);\n logout.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/Fourcus_Logout.png\"))); // NOI18N\n logout.setRolloverSelectedIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/Fourcus_Logout.png\"))); // NOI18N\n logout.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n logoutActionPerformed(evt);\n }\n });\n\n btnExit.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/delete.png\"))); // NOI18N\n btnExit.setOpaque(false);\n btnExit.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/Focus_delete.png\"))); // NOI18N\n btnExit.setRolloverSelectedIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/Focus_delete.png\"))); // NOI18N\n btnExit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnExitActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout pnlBtnLayout = new javax.swing.GroupLayout(pnlBtn);\n pnlBtn.setLayout(pnlBtnLayout);\n pnlBtnLayout.setHorizontalGroup(\n pnlBtnLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlBtnLayout.createSequentialGroup()\n .addGap(0, 0, 0)\n .addComponent(home, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(logout, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnExit, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(75, 75, 75))\n );\n pnlBtnLayout.setVerticalGroup(\n pnlBtnLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(pnlBtnLayout.createSequentialGroup()\n .addGroup(pnlBtnLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(home)\n .addComponent(logout)\n .addComponent(btnExit))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n getContentPane().add(pnlBtn, new org.netbeans.lib.awtextra.AbsoluteConstraints(760, 590, 180, 40));\n\n jLabel3.setText(\"Welcome\");\n\n jPanel2.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));\n\n rdoUsername.setText(\"Change Usernsme & Password\");\n rdoUsername.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n rdoUsernameActionPerformed(evt);\n }\n });\n\n chkUn.setText(\"Change Username\");\n chkUn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n chkUnActionPerformed(evt);\n }\n });\n\n jLabel4.setText(\"New Username\");\n\n txtNewUn.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusLost(java.awt.event.FocusEvent evt) {\n txtNewUnFocusLost(evt);\n }\n });\n\n chkPw.setText(\"Change Password\");\n chkPw.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n chkPwActionPerformed(evt);\n }\n });\n\n jLabel5.setText(\"Current Password\");\n\n txtCurrentPw.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtCurrentPwActionPerformed(evt);\n }\n });\n txtCurrentPw.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n txtCurrentPwFocusGained(evt);\n }\n });\n\n jLabel6.setText(\"New Password\");\n\n txtNewPw.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtNewPwKeyReleased(evt);\n }\n });\n\n jLabel7.setText(\"Confirm Password\");\n\n txtConfirmPw.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtConfirmPwKeyReleased(evt);\n }\n });\n\n btnSubmit.setText(\"Submit\");\n btnSubmit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnSubmitActionPerformed(evt);\n }\n });\n\n lblECPw.setForeground(new java.awt.Color(255, 0, 0));\n lblECPw.setText(\"Password Incorrect\");\n\n lblEPassword.setText(\" \");\n\n lblEnotAvailable.setForeground(new java.awt.Color(255, 0, 0));\n lblEnotAvailable.setText(\"Username Not Available\");\n\n lblEConfPw.setForeground(new java.awt.Color(255, 0, 0));\n lblEConfPw.setText(\" \");\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()\n .addGap(122, 122, 122)\n .addComponent(btnSubmit)\n .addGap(79, 79, 79))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(38, 38, 38)\n .addComponent(jLabel7)\n .addGap(22, 22, 22)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(lblEConfPw, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(txtConfirmPw, javax.swing.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE))))\n .addComponent(lblECpassword, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(15, 15, 15)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(chkPw)\n .addComponent(chkUn)\n .addComponent(rdoUsername)))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(36, 36, 36)\n .addComponent(jLabel4))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(34, 34, 34)\n .addComponent(jLabel5))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(38, 38, 38)\n .addComponent(jLabel6)))\n .addGap(26, 26, 26)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(lblEnotAvailable, javax.swing.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)\n .addComponent(lblECPw)\n .addComponent(txtNewUn, javax.swing.GroupLayout.DEFAULT_SIZE, 120, Short.MAX_VALUE)\n .addComponent(txtNewPw)\n .addComponent(txtCurrentPw)\n .addComponent(lblEPassword, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(rdoUsername)\n .addGap(18, 18, 18)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(txtCurrentPw, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(lblECPw)\n .addGap(6, 6, 6)\n .addComponent(chkUn)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(txtNewUn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(lblEnotAvailable)\n .addGap(11, 11, 11)\n .addComponent(chkPw)\n .addGap(18, 18, 18)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel6)\n .addComponent(txtNewPw, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(lblEPassword)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(lblECpassword, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel7)\n .addComponent(txtConfirmPw, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGap(3, 3, 3)\n .addComponent(lblEConfPw)\n .addGap(1, 1, 1)\n .addComponent(btnSubmit)\n .addGap(23, 23, 23))\n );\n\n rdoComp.setText(\"Add Complain\");\n rdoComp.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n rdoCompActionPerformed(evt);\n }\n });\n\n cmbNames.setEditable(true);\n cmbNames.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n cmbNamesFocusGained(evt);\n }\n });\n\n jLabel2.setText(\"About \");\n\n txtComp.setColumns(20);\n txtComp.setRows(5);\n txtComp.addFocusListener(new java.awt.event.FocusAdapter() {\n public void focusGained(java.awt.event.FocusEvent evt) {\n txtCompFocusGained(evt);\n }\n });\n jScrollPane1.setViewportView(txtComp);\n\n jLabel8.setText(\"Complain\");\n\n btnAddComp.setText(\"Add Complain\");\n btnAddComp.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnAddCompActionPerformed(evt);\n }\n });\n\n lblEComp.setForeground(new java.awt.Color(255, 0, 0));\n lblEComp.setText(\" \");\n\n lblEAbout.setForeground(new java.awt.Color(255, 0, 0));\n lblEAbout.setText(\" \");\n\n btnViewComps.setText(\"View Complains\");\n btnViewComps.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnViewCompsActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);\n jPanel3.setLayout(jPanel3Layout);\n jPanel3Layout.setHorizontalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addGap(16, 16, 16)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(rdoComp)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel8))\n .addGap(18, 18, 18)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(lblEAbout, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(lblEComp, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 242, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(cmbNames, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGap(38, 38, 38))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(btnViewComps)\n .addComponent(btnAddComp))\n .addGap(101, 101, 101))\n );\n jPanel3Layout.setVerticalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel3Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(rdoComp)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(cmbNames, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addGap(4, 4, 4)\n .addComponent(lblEAbout)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel8)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(lblEComp)\n .addGap(50, 50, 50)\n .addComponent(btnAddComp)\n .addGap(30, 30, 30)\n .addComponent(btnViewComps)\n .addContainerGap(37, Short.MAX_VALUE))\n );\n\n jButton1.setText(\"Work History\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(69, 69, 69)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(41, 41, 41)\n .addComponent(txtChangeUser, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 122, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGap(10, 10, 10)\n .addComponent(dchYear, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(dchMonth, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jButton1)))\n .addGap(51, 51, 51))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(txtChangeUser, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jButton1)\n .addComponent(dchMonth, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(dchYear, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addContainerGap(31, Short.MAX_VALUE))\n );\n\n getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 130, 950, 450));\n\n jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/Images/mainmenubackgroundWindows.jpg\"))); // NOI18N\n getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 950, 650));\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" } ]
ccc690c69721ca38717738dc3557894e
Gets the seat count.
[ { "docid": "fee38306a2d71d582ad6047792d44cc8", "score": "0.85628057", "text": "public int getSeatCount() {\n return seatCount;\n }", "title": "" } ]
[ { "docid": "b561719169d5a3d8f45c5c8e3810bd8c", "score": "0.812938", "text": "public int getNoOfSeats() {\r\n return noOfSeats;\r\n }", "title": "" }, { "docid": "0001ac74f48d6c3e0d36e95ef2fb26c4", "score": "0.7937219", "text": "public int getSeats() {\n\t\treturn seats;\n\t}", "title": "" }, { "docid": "c7aae1c79765ba6a4b9d920852a10d64", "score": "0.7615345", "text": "public int getSeats() { return seats; }", "title": "" }, { "docid": "4ba677c17cb52ba4006629702c2a863e", "score": "0.7492676", "text": "public int numSeatsAvailable() {\t\t\n\t\tList<Seat> allSeats = seatDAO.getAllSeats();\n\t\tList<Seat> availableSeats = allSeats.stream().filter(seat -> seat.isSeatAvailable().equals(Boolean.TRUE)).collect(Collectors.toList());\n\t\treturn availableSeats.size();\t\t\n\t}", "title": "" }, { "docid": "310bbe93c9638fcb006b01555714a8f0", "score": "0.73550224", "text": "public int getSeatCapacity()\n\t{\n\t\treturn seatCapacity;\n\t}", "title": "" }, { "docid": "c9eede5180d886926ef0a98241208882", "score": "0.73100454", "text": "public synchronized int numSeatsAvailable() {\n LOGGER.debug(\"Venue.numSeatsAvailable()\");\n Iterator<Entry<Seat, SeatStatus>> iter = seatStatusMap.entrySet().iterator();\n int numAvailable = 0;\n Entry<Seat, SeatStatus> entry;\n SeatStatus status;\n SeatHold seatHold;\n while (iter.hasNext()) {\n entry = iter.next();\n status = entry.getValue();\n\n // seat is reserved, so don't count it as available\n if (!status.getConfirmationCode().equals(SeatStatus.UNRESERVED)) {\n continue;\n }\n\n // seat not held, so count it as available\n if (status.getSeatHoldId() == SeatStatus.NOT_HELD) {\n numAvailable++;\n continue;\n }\n\n // seat is heldbut not expired, so don't count it as avaiable\n seatHold = seatHoldMap.get(status.getSeatHoldId());\n if (seatHold == null || !seatHold.isExpired()) {\n continue;\n }\n\n // seat hold is expired, so count seat and remove SeatHold\n LOGGER.debug(\"Venue.numSeatsAvailable() removing {}\", seatHold);\n removeSeatHold(seatHold);\n numAvailable++;\n }\n\n LOGGER.debug(\"Venue.numSeatsAvailable() available={}\", numAvailable);\n return numAvailable;\n }", "title": "" }, { "docid": "849b5418276c3ca641ea202d111cf4e2", "score": "0.72542894", "text": "public int getSeatNum() {\n return seatNum;\n }", "title": "" }, { "docid": "cdcd7a5a02d3a112dcc88c946fd23bd0", "score": "0.7243853", "text": "public int numSeatsAvailable() {\n\t\tList<Seat> seats = seatRepository.getAllSeatsByStatus(Constants.SEAT_AVAILABLE);\n\t\tlogger.info(\"Retrieved all {} seat(s)\", Constants.SEAT_AVAILABLE);\n\t\treturn seats.size();\n\t}", "title": "" }, { "docid": "09ece1703a82bbcc3259ae983d9a159f", "score": "0.713144", "text": "private int numOfSeatsAvailable() {\n return numOfMaxStudents - numOfCurrStudents;\n }", "title": "" }, { "docid": "c43190b78a8fee3e2c33078a23b03f4a", "score": "0.7116764", "text": "public int availableSeats() {\n if (this.guestsList.isEmpty()) {\n System.out.println(\"Guest List este goala…\");\n }\n\n return this.numberOfSeats - this.guestsList.size();\n }", "title": "" }, { "docid": "da628dd5a3c686a36f543adbb802f619", "score": "0.70313835", "text": "public int coachseats () {\n\t\treturn mCoachSeats;\n\t}", "title": "" }, { "docid": "34959580a5c522fce2dc427cc08aa8bb", "score": "0.7020941", "text": "public int getNumSats(){\n\t\treturn numSats;\n\t}", "title": "" }, { "docid": "6daac613185f68d705ca8919ba483e1e", "score": "0.6981804", "text": "public int getAllSeats() {\n\t\tint allSeats = 0;\n\t\tfor (int index = 0; index < collegeList.size(); index++) {\n\t\t\tCollege obj = (College) collegeList.get(index);\n\t\t\tallSeats += obj.getTotalSeats();\n\t\t}\n\t\treturn allSeats;\n\t}", "title": "" }, { "docid": "900fa9c0fed6d97508fd8467bb141e46", "score": "0.69781876", "text": "public int getNumberOfAvaiableSeats(SeatType seatType) {\n\t\tif (seatType == SeatType.BUSINESS_SEAT) {\n\t\t\tint noOfAvaiableBussinessSeats = maxBusinessClassSeat - noOfReservedBussinessSeats;\n\t\t\treturn noOfAvaiableBussinessSeats;\n\t\t} else {\n\t\t\tif (seatType == SeatType.ECONOMY_SEAT) {\n\t\t\t\tint noOfAvaiableEconomySeats = maxEconomyClassSeat - noOfReservedEconomySeats;\n\t\t\t\treturn noOfAvaiableEconomySeats;\n\t\t\t} else\n\t\t\t\treturn -1;\n\t\t}\n\n\t}", "title": "" }, { "docid": "43b2b195f8e8f396e9bf9e1957940089", "score": "0.6686868", "text": "public int getRantsCount() {\n fetchData();\n return rantsCount;\n }", "title": "" }, { "docid": "86f95e963bf5eb1bf83030f94705f4ad", "score": "0.66820294", "text": "public void setSeatCount(int seatCount) {\n this.seatCount = seatCount;\n }", "title": "" }, { "docid": "c81a2b374f2a5f83028cf471782ae1cc", "score": "0.65964514", "text": "public int firstclassseats()\n\t{\n\t\treturn mFirstClassSeats;\n\t}", "title": "" }, { "docid": "119aa74a6bd05da9b757afbf81c1fb58", "score": "0.65673643", "text": "public String getSeatNumber()\n\t{\n\t\treturn seatNumber;\n\t}", "title": "" }, { "docid": "be7ed34f961279ca82c73883bc1ac1c7", "score": "0.65582526", "text": "public void setNoOfSeats(int value) {\r\n this.noOfSeats = value;\r\n }", "title": "" }, { "docid": "6351821c2d55f878427d6f469d774650", "score": "0.6525596", "text": "public int getNbSeances() {\n return listeSeances.size();\n }", "title": "" }, { "docid": "8f18e81926c72208f1800c914a57f6a9", "score": "0.6468942", "text": "public static int getCounter() {\n\t\t// return price; // NO ACCESS to instance variables\n\t\treturn counter;\n\t}", "title": "" }, { "docid": "0a093eb3b155083e3483a842d00723c2", "score": "0.63655347", "text": "public int sunkCount()\n\t{\n\t\tint sc = 0;\n\n\t\tfor (int i = 0; i < ships.size(); i++ ) {\n\t\t\tint hc = 0;\n\t\t\tfor (int j = 0; j < ships.get(i).coords.size(); j++ ) {\n\t\t\t\tif (shots.contains(ships.get(i).coords.get(j))) {\n\t\t\t\t\thc += 1;\n\t\t\t\t\tif(hc >= 3)\n\t\t\t\t\t{\n\t\t\t\t\t\tsc += 1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn (sc);\n\t}", "title": "" }, { "docid": "5b0c1d11f12de0e86eb362bc8081cfb5", "score": "0.6358638", "text": "public int shopCount()\n\t{\n\t\treturn this.read(\n\t\t\tthis.shops::size\n\t\t);\n\t}", "title": "" }, { "docid": "dd2033e41c24640922637f5e74c76456", "score": "0.6319514", "text": "public final int count() {\n\t\treturn count;\n\t}", "title": "" }, { "docid": "529db4d5a4abdf58f26f11c2528b31e8", "score": "0.63023305", "text": "public static int getNumCheeseTrades() {\r\n return numCheeseTrades;\r\n }", "title": "" }, { "docid": "016b9eb761cb3fcb3d903196e19c3d51", "score": "0.6302196", "text": "protected int getCalories() {\r\n return calorieCount;\r\n }", "title": "" }, { "docid": "eef98f57efef1dc33be75f5de775c9ea", "score": "0.62874854", "text": "public int getStudentsInSemesterCount(int semester) throws IOException {\n\t\t//get a ViewRequestBuilder from the database for the chosen view\n\t\t ViewRequestBuilder viewBuilder = db.getViewRequestBuilder(\"david\", \"studentsBySemester\");\n\n\t\t //build a new request and specify any parameters required\n\t\t ViewRequest<Number, Integer> request = viewBuilder.newRequest(Key.Type.NUMBER, Integer.class)\n\t\t .keys(semester)\n\t\t .build();\n\n\t\t //perform the request and get the response\n\t\t ViewResponse<Number, Integer> response = request.getResponse();\n\n\t\t return response.getValues().get(0);\n\t}", "title": "" }, { "docid": "4a1fff95fac5a2669869af02c50fd4c9", "score": "0.62852836", "text": "public int count() {\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "4a1fff95fac5a2669869af02c50fd4c9", "score": "0.62852836", "text": "public int count() {\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "63d743cb02604beeb9057f7427abfc39", "score": "0.6284893", "text": "public int count() {\n return count;\n }", "title": "" }, { "docid": "63d743cb02604beeb9057f7427abfc39", "score": "0.6284893", "text": "public int count() {\n return count;\n }", "title": "" }, { "docid": "dfa452606aae226f9fd17e4d51eabad1", "score": "0.6283881", "text": "public int getUsageCount() {\n\n\t\treturn usageCount.intValue();\n\t}", "title": "" }, { "docid": "125b443d72058077a3bde40fd94d21ea", "score": "0.628152", "text": "public int count() {\n return count;\n }", "title": "" }, { "docid": "a9630591ea15e11726844b93875fcf21", "score": "0.6275934", "text": "public int getSeatId() {\r\n\t\treturn seatId;\r\n\t}", "title": "" }, { "docid": "5c3018a2d0ff774fd8a0b12db9768f90", "score": "0.6269191", "text": "public int getSnackCount() {\n String command = \"SELECT count(*) FROM stock\";\n int count = 0;\n\n // Try catch to attempt a connection, raise error if connection fails\n // If connection is succesful, send query to database\n try (Connection conn = connect();\n Statement query = conn.createStatement();\n ResultSet query_result = query.executeQuery(command)) {\n query_result.next();\n count = query_result.getInt(1);\n } catch (SQLException ex) {\n System.out.println(ex.getMessage());\n }\n return count;\n }", "title": "" }, { "docid": "5a35bfeb3bd5daf87f0b936cf23e1b0f", "score": "0.6268734", "text": "public int count() {\n\t\treturn count;\n\t}", "title": "" }, { "docid": "004ebf3ac7bc92e2a70fd8126ae45515", "score": "0.6268417", "text": "public int count()\r\n\t\t{ \r\n\t\t\treturn count; \r\n\t\t}", "title": "" }, { "docid": "fff815720ab091ea258a390b93d85352", "score": "0.6263006", "text": "int getStashitemsCount();", "title": "" }, { "docid": "3e93bd910c80c1c9acf4e0d2b24c6196", "score": "0.62622195", "text": "public Integer count() {\n return this.count;\n }", "title": "" }, { "docid": "7ebb51b57d85f9a4173a92613faa01cf", "score": "0.6252495", "text": "int getStatsCount();", "title": "" }, { "docid": "7ebb51b57d85f9a4173a92613faa01cf", "score": "0.6252495", "text": "int getStatsCount();", "title": "" }, { "docid": "7ebb51b57d85f9a4173a92613faa01cf", "score": "0.6252495", "text": "int getStatsCount();", "title": "" }, { "docid": "41a6073388af6796aa10386138e15999", "score": "0.6218183", "text": "@Override\n\tpublic int getCount() {\n\t\treturn seats.size();\n\t}", "title": "" }, { "docid": "5c5c9328dc1c1151215b35182fa3327e", "score": "0.6217365", "text": "public int shipsCount()\n\t{\n\t\treturn (ships.size());\n\t}", "title": "" }, { "docid": "4d05740bba66da40fc53dbe05bdcf820", "score": "0.6215999", "text": "public int getServicesCount(){\n String countQuery = \"SELECT * FROM \" + dbHelper.servicesTable;\n Cursor cursor = db.rawQuery(countQuery, null);\n int count = cursor.getCount();\n cursor.close();\n return count;\n }", "title": "" }, { "docid": "4c185579283772ce82a3d20af56811ca", "score": "0.62157786", "text": "public static int getSuitCount() {\n return suitList.size();\n }", "title": "" }, { "docid": "6f25e6020d84f1aa44dc58ce4a1fb85c", "score": "0.62074345", "text": "int getSiteCount();", "title": "" }, { "docid": "7f9db5d4605d2fddabb124ef2762ea1f", "score": "0.62068176", "text": "public static int getCalories()\n {\n return Lunch.totolCalories;\n }", "title": "" }, { "docid": "ac736fd6a0a3fb57162c0a5e30f1bb77", "score": "0.6187114", "text": "@CliCommand(value = \"count\", help = \"Count the Chemistry test data in the cluster\")\n public String count() {\n Map<String, Long> items = this.chemistyService.count();\n\n return items.toString();\n }", "title": "" }, { "docid": "57f96f1d55b0216f9333af9510cb8e45", "score": "0.61842626", "text": "public Integer getCnt() {\n return cnt;\n }", "title": "" }, { "docid": "0de51ce0d58ec666e361793a71b76f36", "score": "0.6174594", "text": "int getStatsToStoreCount();", "title": "" }, { "docid": "b0e3218d634eda81faaf97c0365f02b8", "score": "0.6167235", "text": "public int getCountOfSeatsOnHoldAndReserved(int levelId) {\n Query q = getCurrentSession().createQuery(\"select count(seatTransaction) from SeatTransaction seatTransaction \\n\" +\n \" where seatTransaction.levelId = :levelId \\n\" +\n \" and seatTransaction.seatHold.seatHoldExpirationTimestamp > :currentTime\" +\n \" or seatTransaction.seatHold.reservedTimestamp !=null \\n \");\n q.setParameter(\"levelId\", levelId);\n q.setParameter(\"currentTime\",new Date());\n Long count = (Long)q.list().get(0);\n return count.intValue();\n }", "title": "" }, { "docid": "325e64f0a163de70c7c76afa70e5f4c9", "score": "0.6165457", "text": "public Integer getCnt() {\r\n return cnt;\r\n }", "title": "" }, { "docid": "6e9f5b1e014b3d9ade0a57181d9b36c8", "score": "0.6163029", "text": "public List<Integer> getSeat() {\n return seat;\n }", "title": "" }, { "docid": "6b9d5cd1407f5847c9597f8499861741", "score": "0.616231", "text": "public long count() {\n\t\treturn getEntityManager()\n\t\t\t\t.createQuery(\"select count(*) from Cliente\", Long.class)\n\t\t\t\t.getSingleResult();\n\t}", "title": "" }, { "docid": "76977e3371873bbbb3b9b408b69a8d14", "score": "0.6161072", "text": "public int count() {\n return n;\n }", "title": "" }, { "docid": "1eb7ebd0bab479533aac3f9d22f04fd5", "score": "0.6157498", "text": "int getDepositsCount();", "title": "" }, { "docid": "e8e1e401cfa4d648c95f361c63d527d8", "score": "0.6133279", "text": "int getCardCount();", "title": "" }, { "docid": "e8e1e401cfa4d648c95f361c63d527d8", "score": "0.6133279", "text": "int getCardCount();", "title": "" }, { "docid": "3a48679297dbb1ca02ddc3a05de58036", "score": "0.6125942", "text": "public int countSessions() {\n return this.sessionMgr.countSessions();\n }", "title": "" }, { "docid": "7b40d0a86c4b96273cbde290024d1da2", "score": "0.61007535", "text": "@Override\n\tpublic int getScrivaniasCount() {\n\t\treturn scrivaniaPersistence.countAll();\n\t}", "title": "" }, { "docid": "4903ef5da1ae5a6e500b7172e147bc33", "score": "0.6095434", "text": "@Override\r\n\tpublic int getCategoryCount(EatParam param) {\n\t\treturn eatRestaurantsDao.getCategoryCount(param);\r\n\t}", "title": "" }, { "docid": "6c2b0570bd7d8799bee8465641655d6e", "score": "0.6094974", "text": "int getCounterCount();", "title": "" }, { "docid": "649f03034364bdee329b28c86045ecff", "score": "0.60877734", "text": "int getClientCount();", "title": "" }, { "docid": "d8c92bfe37cfec49544edd57c508eaa3", "score": "0.6086888", "text": "public abstract int getSectorCount();", "title": "" }, { "docid": "7cd2e2d9b476d7b5f93a297120cd0019", "score": "0.6085467", "text": "int getStudentCount();", "title": "" }, { "docid": "99bff5e9b02b35e7309ab187d31fef6b", "score": "0.6082194", "text": "public java.lang.Integer getSaleCount () {\r\n\t\tif(saleCount==null){\r\n\t\t\tsaleCount=0;\r\n\t\t}\r\n\t\treturn saleCount;\r\n\t}", "title": "" }, { "docid": "e531cb9f9d4f9de26376ab7358d361e0", "score": "0.6069641", "text": "public static int getBattleCount() {\n return battleCount;\n }", "title": "" }, { "docid": "36a7b0a5d8faee75bdcfb22a1196fbb0", "score": "0.60680276", "text": "@GET\r\n\t@Path(\"count\")\r\n\t@Produces(MediaType.TEXT_PLAIN)\r\n\tpublic String getCount() {\r\n\t\tint count = TodoDao.instance.getSessions().size();\r\n\t\treturn String.valueOf(count);\r\n\t}", "title": "" }, { "docid": "bd358aed3600dc81428bdcbf8f7c6d16", "score": "0.60670674", "text": "int getAccessoriesCount();", "title": "" }, { "docid": "b97811c64bc91eab7c2497098dc4c3d5", "score": "0.60638946", "text": "public int getCounterCount() {\n return counter_.size();\n }", "title": "" }, { "docid": "a7e7b832d04198d5e89130d376b84a94", "score": "0.60449564", "text": "public static int getTotalSpins() {\n return totalSpins;\n }", "title": "" }, { "docid": "ca84e4542459fb51854aec2dc7d249bd", "score": "0.60336006", "text": "public int getItemCSCount() {\n\n // 1. build the query\n String countQuery = \"SELECT * FROM \" + TABLE_NAME;\n\n // 2. execute the query to search whether the record exists\n Cursor cursor = db.rawQuery(countQuery, null);\n\n // 2. get the count\n int count = cursor.getCount();\n\n cursor.close();\n return count;\n }", "title": "" }, { "docid": "e8ba23f5269585ef32bdc2844296ba0c", "score": "0.6032478", "text": "public Long count() {\n return spotPriceRepository.count();\n }", "title": "" }, { "docid": "5d577b0d412b711f575bcfe7628594a2", "score": "0.60311115", "text": "public int count() {\n\t\treturn money.size();\n\t}", "title": "" }, { "docid": "395cf02138adf9eca92b9b064138e328", "score": "0.6028334", "text": "public int getCalorieCount(){\r\n return calorieCount;\r\n }", "title": "" }, { "docid": "6f3ce85881932b2e1ac56ccb3569adac", "score": "0.6024394", "text": "public int reserve() {\n return this.seats.poll();\n }", "title": "" }, { "docid": "593c612babbe951faa34dfe5eb8e304e", "score": "0.6023637", "text": "public int tally() {\n\t\treturn numCount;\n }", "title": "" }, { "docid": "dca823c935807721b039ff8eda96b802", "score": "0.6021848", "text": "@Override\r\n\tpublic DashBoardVO getCustCount() {\n\t\tDashBoardVO dvo = sqlSession.selectOne(\"dashBoard.getCustCount\");\r\n\t\t\r\n\t\t\r\n\t\treturn dvo;\r\n\t}", "title": "" }, { "docid": "3e421f24210b96f86b34018edd93f1ca", "score": "0.6020195", "text": "@Override\n public int getCount() {\n if(!session.isDummy){\n return session.getStations().size() + 2;\n }\n return 3;\n }", "title": "" }, { "docid": "9d4a73df8d0ef99827540a4d0dee2e93", "score": "0.6018114", "text": "public int count() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "7529b80699925afdfc50f2edabb404c2", "score": "0.60155785", "text": "int getOfferCount();", "title": "" }, { "docid": "d91189cf58f8fced4c5b4183482e91f1", "score": "0.60115", "text": "int getServicesCount();", "title": "" }, { "docid": "7527e7c04b63f1424b0a044375acd05d", "score": "0.6003879", "text": "public Integer getCount() {\n\t\treturn count;\n\t}", "title": "" }, { "docid": "e573f28db4deaa2fd76299320cbe295f", "score": "0.60019964", "text": "public static int SupplyCount()\t\t{\treturn _supply_count; }", "title": "" }, { "docid": "d779e82f406e3aacefbcc87d3e52c78a", "score": "0.6000849", "text": "public Response hitCount()\n {\n int hits = HitCountBean.getGlobalHitCount();\n\n // Return the count as string for REST call\n log.trace(\"rest call : hitCount = \" + hits);\n return Response.status(Response.Status.OK).entity(Integer.toString(hits)).build();\n }", "title": "" }, { "docid": "32ec5c86b270736e74d6f998075abd26", "score": "0.5999371", "text": "public int getNumberOfPets() {\n return petsInShelter.size();\n }", "title": "" }, { "docid": "d39e87527f2e2b43e22fd3325fac420f", "score": "0.5993508", "text": "public short getStudentsCount() {\n return studentsCount;\n }", "title": "" }, { "docid": "8c0cfe12cc31f2e7da9f840bda758a23", "score": "0.59931815", "text": "public int numberOfBoats(){\n return this.boats.size();\n }", "title": "" }, { "docid": "5b62696afb4e857de78cae760a79d718", "score": "0.59915113", "text": "public int getUsageCount() {\n return usageCount;\n }", "title": "" }, { "docid": "5ac591c37e2efa5a7398d8fb2856c22f", "score": "0.59820455", "text": "int getNoncesCount();", "title": "" }, { "docid": "5ac591c37e2efa5a7398d8fb2856c22f", "score": "0.59820455", "text": "int getNoncesCount();", "title": "" }, { "docid": "00263149f1be17b5c3ec241bff8ff89f", "score": "0.5965922", "text": "public Integer getSellCnt() {\n return sellCnt;\n }", "title": "" }, { "docid": "a43c042609a7f5c56394a9c355c8953b", "score": "0.596207", "text": "public int getShipsSunk()\n\t{\n\t\treturn shipsSunk;\n\t}", "title": "" }, { "docid": "b15999912588a5c3441dee5419f9fdf0", "score": "0.59619725", "text": "public int getCircleCount() {\n\t\tString sql = \"SELECT COUNT(*) from CIRCLE\";\n\t\treturn jdbcTemplate.queryForObject(sql, Integer.class);\n\t}", "title": "" }, { "docid": "092a9bccfe97ce8e4adb539b99ddb739", "score": "0.5959902", "text": "public int getShipCount() {\n return shipCount;\n }", "title": "" }, { "docid": "499793608737aae038369bb73085d7de", "score": "0.5953581", "text": "int numBeats();", "title": "" }, { "docid": "ff169304a740265ba29300a27b5b4b4c", "score": "0.59499025", "text": "public int getNoOfTimes()\n\t{\n\t\treturn noOfTimes;\n\t}", "title": "" }, { "docid": "0819c64574d57ee6edb52880aefea844", "score": "0.5947057", "text": "public int contadorSesion(){\r\n\t\t\r\n\t\tString consulta = \"SELECT COUNT(codsesion) FROM sesion\";\r\n\t\tint numero=0;\r\n\t\t\r\n\t\ttry{\r\n\t\t\tString t=\"\";\r\n\t\t\tthis.abrir();\r\n\t\t\ts=c.createStatement();\r\n\t\t\treg=s.executeQuery(consulta);\r\n\t\t\tif ( reg.next())\t\t\t\t\t\t\t\r\n\t\t\t\tnumero= reg.getInt(1); //cogemos el codigo del cliente para devolverle\t\t\t\t\t\t\t\r\n\t\t\ts.close();\r\n\t\t\tthis.cerrar();\r\n\t\t\treturn numero;\r\n\t\t}\r\n\t\tcatch ( SQLException e){\r\n\t\r\n\t\t\treturn -1;\t\t\t\r\n\t\t}\t\r\n\t}", "title": "" }, { "docid": "96190fec5c510f66fffc9b2c2eac2954", "score": "0.5946834", "text": "public int getSkillGodsSetCount() {\n if (skillGodsSetBuilder_ == null) {\n return skillGodsSet_.size();\n } else {\n return skillGodsSetBuilder_.getCount();\n }\n }", "title": "" } ]
3188130367a5cb721a48f79f6ba037c2
Access field as an object, no casting.
[ { "docid": "4daa301372972d9e1f7be2999793c1da", "score": "0.5924577", "text": "public Object get(String fieldName) {\n Document parent = getFieldParent(fieldName);\n return parent.get(getLeafName(fieldName));\n }", "title": "" } ]
[ { "docid": "1f9c7d05751b87536c7855aede78d982", "score": "0.6983367", "text": "private static Object getAccessibleFieldValue(final Object object, final Field field) {\n\t\tObject result = null;\n\n\t\ttry {\n\t\t\tresult = getCloneSafeValue(field.get(object));\n\t\t} catch (final IllegalArgumentException exception) {\n\t\t\t// LOG.error(exception.getMessage(), exception);\n\t\t} catch (final IllegalAccessException exception) {\n\t\t\t// LOG.error(exception.getMessage(), exception);\n\t\t}\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "2c807403ea356593b54ab5b1059f61c7", "score": "0.6823093", "text": "public Object getValue(String field);", "title": "" }, { "docid": "168de7219498aa49f10cc457e0e02e82", "score": "0.6763668", "text": "Object getValueByField(String field);", "title": "" }, { "docid": "4aa3cbc77ad7911693e57058f2c271a4", "score": "0.67270607", "text": "public T getValue(Object obj) throws IllegalAccessException, InvocationTargetException {\n\t\tif (field == null) {\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tT cast = (T) getMethod.invoke(obj);\n\t\t\treturn cast;\n\t\t} else {\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tT cast = (T) field.get(obj);\n\t\t\treturn cast;\n\t\t}\n\t}", "title": "" }, { "docid": "47000f69bed4d99442920d322399d793", "score": "0.67141825", "text": "private Object getObjectByFielValue(Object o, String field) {\n Object value = null;\n try {\n value = o.getClass().getDeclaredField(field).get(o);\n } catch (NoSuchFieldException | SecurityException | IllegalArgumentException | IllegalAccessException ex) {\n System.err.println(\"MerchantComboSQL - getMainFieldValue: \" + ex.getMessage());\n }\n return value;\n }", "title": "" }, { "docid": "98e21b2e714a381de507140244df7242", "score": "0.6605652", "text": "public Object getFieldValue(Object anObj, String aName)\n{\n Class cls = anObj instanceof Class? (Class)anObj : anObj.getClass();\n Field field = ClassExtras.getField(cls, aName);\n try { return field.get(anObj); }\n catch(Exception e) { return null; }\n //ReferenceType refType = anOR.referenceType();\n //Field field = refType.fieldByName(name);\n //if(field!=null) return anOR.getValue(field); \n}", "title": "" }, { "docid": "05f3486a7946422041ebd12a24d66714", "score": "0.65731263", "text": "public abstract IFieldValue getFieldValue(IFieldDetail field);", "title": "" }, { "docid": "e8ea7eaea5260e825c38c52244918550", "score": "0.65107065", "text": "public static Object getFieldValue(final Object object, final Field field) {\n\t\tObject result;\n\n\t\tfinal boolean wasAccessible = ensureFieldAccessible(field);\n\n\t\ttry {\n\t\t\tresult = getAccessibleFieldValue(object, field);\n\t\t} finally {\n\t\t\trestoreFieldAccessibility(field, wasAccessible);\n\t\t}\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "1ad32d813389f63981cfcfa064a77ab5", "score": "0.64870656", "text": "Field getField();", "title": "" }, { "docid": "df50f6113069a8d769040d939fd02b6c", "score": "0.647922", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return qualifiedType;\n case 1: return dataObjectCapabilities;\n default: throw new IndexOutOfBoundsException(\"Invalid index: \" + field$);\n }\n }", "title": "" }, { "docid": "2e0c72772be289b4d26dc87671d09de6", "score": "0.64736676", "text": "private Object getReference(final Field field) {\n Objects.isNull(field, \"The input field should not be null\");\n final Object result;\n try {\n field.setAccessible(true);\n result = field.get(null);\n } catch (final IllegalAccessException e) {\n final String message = \"Could not access field \" + field.getName();\n LOGGER.log(Level.WARNING, message, e);\n throw new IllegalStateException(message, e);\n }\n return result;\n }", "title": "" }, { "docid": "7fed56521e633312193f3a41733d5e49", "score": "0.6302471", "text": "protected static <T> T getField( String fieldName, Class objClass, Object obj, Class<T> fieldClass ) throws Exception {\n Field field = objClass.getDeclaredField(fieldName);\n field.setAccessible(true);\n return (T) field.get(obj);\n }", "title": "" }, { "docid": "4cadfac0cdc9028cc968799c08b6ea36", "score": "0.6257193", "text": "Object getField(int fldNum);", "title": "" }, { "docid": "fcef9b3893ab72b50f9da1928b964826", "score": "0.62467414", "text": "void read(FieldBase field, FieldValue value);", "title": "" }, { "docid": "dc2c4cdc386a23193b0360c3b88e8a15", "score": "0.6216978", "text": "void read(FieldBase field, Struct value);", "title": "" }, { "docid": "bf09cb6479f8c70da6a071c5c7c1a30e", "score": "0.6216855", "text": "void read(FieldBase field, ReferenceFieldValue value);", "title": "" }, { "docid": "b80dc3d8aa4533fb645212a7dae972ae", "score": "0.61865085", "text": "protected Object internalGetObject(int columnIndex, Field field) throws SQLException\n {\n switch (getSQLType(columnIndex)) {\n case Types.BOOLEAN:\n return new Boolean(getBoolean(columnIndex));\n default:\n return super.internalGetObject(columnIndex, field);\n }\n }", "title": "" }, { "docid": "8565458b2916f4aadc32736b173c209e", "score": "0.6172735", "text": "public static final <T, E> T getFieldValue(final Field fieldToAccess, E instance)\n\t{\n\t\ttry\n\t\t{\n\t\t\treturn (T)fieldToAccess.get(instance);\n\t\t}\n\t\tcatch (Exception ex)\n\t\t{\n\t\t\tthrow new UnableToAccessFieldException(fieldToAccess, ex);\n\t\t}\n\t}", "title": "" }, { "docid": "96d7e1b2d1192f066654b719bf44bcf4", "score": "0.61714745", "text": "Object getObjectValue();", "title": "" }, { "docid": "0a97385789a01285913c05e1f65bc2a0", "score": "0.61360645", "text": "public abstract IFieldValue getFieldValue(String fieldName);", "title": "" }, { "docid": "c13b6cad787452df95f9e2409d26ec82", "score": "0.61167544", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return changeType;\n case 1: return changeTime;\n case 2: return dataObject;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "5a77147943a519f02d9b95553cc75ef8", "score": "0.60879534", "text": "public Object get(Object object, String fieldName)\r\n\t{\r\n\t\tFieldAccessor fieldAccessor = this.getFieldAccessor(fieldName);\r\n\t\treturn fieldAccessor.get(object);\r\n\t}", "title": "" }, { "docid": "9858d4e3b5922122c2fccec218229ebe", "score": "0.6064031", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return symbols;\n case 1: return type;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "a805c150c74c5094cdedf7d326304df1", "score": "0.6056898", "text": "public Object getValue() {\r\n return obj;\r\n }", "title": "" }, { "docid": "0836a49448a3af6f18faf325631f8913", "score": "0.603711", "text": "void read(FieldBase field, Document value);", "title": "" }, { "docid": "5e707eebb7905a18df953843a3f9747c", "score": "0.6027828", "text": "public Object getFieldValue(String fieldName)\n {\n return getFieldValue(getFieldIndex(fieldName));\n }", "title": "" }, { "docid": "e1991114e1b4811f3622cb07f0a5ab1a", "score": "0.60167974", "text": "private Object doGetFieldValue(String fullField, String field, Object object, boolean useCache,\r\n Map<String, ReflectInfo> cachedFields) {\r\n // check cache\r\n Field f;\r\n if (useCache) {\r\n ReflectInfo info = cachedFields.get(fullField);\r\n if (info != null) {\r\n return getField(info.target, info.field);\r\n }\r\n }\r\n\r\n int index = field.indexOf('.');\r\n if (index != -1) {\r\n String parent = field.substring(0, index);\r\n String sub = field.substring(index + 1);\r\n\r\n try {\r\n f = FieldUtils.findField(object.getClass(), parent);\r\n if (f == null) {\r\n throw new RuntimeException(\r\n \"No field '\" + parent + \"' found at class \" + object.getClass().getName());\r\n }\r\n f.setAccessible(true);\r\n Object o = f.get(object);\r\n if (o == null) {\r\n return null;\r\n }\r\n return get(fullField, sub, o);\r\n } catch (Exception e) {\r\n throw new RuntimeException(e.getMessage(), e);\r\n }\r\n }\r\n\r\n f = FieldUtils.findField(object.getClass(), field);\r\n if (f == null) {\r\n throw new RuntimeException(\"No field '\" + field + \"' found at class \" + object.getClass().getName());\r\n }\r\n if (useCache && !cachedFields.containsKey(fullField)) {\r\n cachedFields.put(fullField, new ReflectInfo(f, object));\r\n }\r\n return getField(object, f);\r\n }", "title": "" }, { "docid": "1460b4bf05f183d823bf046ee828dd60", "score": "0.6014541", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return uid;\n case 1: return metadata;\n default: throw new IndexOutOfBoundsException(\"Invalid index: \" + field$);\n }\n }", "title": "" }, { "docid": "eabe5683d595e520dfd1242690b82b2d", "score": "0.5992973", "text": "@SuppressWarnings(\"unchecked\")\r\n\tpublic final V get() {\r\n\t\ttry {\r\n\t\t\treturn (V) field.get(null);\r\n\t\t} catch (RuntimeException e) {\r\n\t\t\tthrow e;\r\n\t\t} catch (Throwable e) {\r\n\t\t\tthrow new RuntimeException(e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "290bd2e78def84c2e509e460e40c74e0", "score": "0.5986143", "text": "void read(FieldBase field, StructuredFieldValue value);", "title": "" }, { "docid": "c0504aaf167d53371e5a7275809ca0db", "score": "0.59647214", "text": "public static Object refField(Field f,Object refFrom) {\n try {\n f.setAccessible(true);\n return f.get(refFrom);\n } catch (IllegalAccessException e) {\n throw new RuntimeException(\"reflect to get the value is error\");\n }\n }", "title": "" }, { "docid": "b63c20ccd1f9512ee3bb807d3def7687", "score": "0.59480596", "text": "public Object getValue(String table, String field) {\n\t\tObject s = null;\n\t\tLOG.debug(\"trying to get \" + field + \" from \" + table);\n\t\tElement e = tdgConf.getFieldForTable(table, field);\n\t\tString type = e.attributeValue(\"type\");\n\t\tString nullable = e.attributeValue(\"nullable\");\n\t\tRandom r = new Random();\n\t\tif (nullable == \"true\" && r.nextBoolean()) {\n\t\t\ts = null;\n\t\t} else {\n\t\t\t// make sure no null object is returned\n\t\t\twhile (s == null) {\n\t\t\t\ts = getTypeValue(type);\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t}", "title": "" }, { "docid": "61fc15697cf30ddc7263306e1f8a2820", "score": "0.59397626", "text": "void read(FieldBase field, Raw value);", "title": "" }, { "docid": "5c261ffe4dd6ff4b4923b300e6187828", "score": "0.5935008", "text": "void read(FieldBase field, AnnotationReference value);", "title": "" }, { "docid": "385445a2a77fcc0c61cab33462d21b23", "score": "0.5925644", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return id;\n case 1: return ipadress;\n case 2: return port;\n case 3: return type;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "c8fd89dfe8b2da673f611c738cdc266d", "score": "0.5925563", "text": "public abstract T readSingleField(InStream in);", "title": "" }, { "docid": "3884199f3ca3ee9e86488de8e9a12854", "score": "0.5920827", "text": "public FullPersonField getField();", "title": "" }, { "docid": "6f516b3527e34a476e15d4cfbdcbb160", "score": "0.591726", "text": "public <O extends TLMemberFieldOwner> TLMemberField<O> getMemberField(String fieldName);", "title": "" }, { "docid": "55df05a8464ee84905f923c1104a42f1", "score": "0.5896985", "text": "protected <F> F loadField(int field) {\n // load field from storage\n if (isLoaded(field)) {\n return this.<F>getValue(field);\n\n } else if (isNewObject() || !isInDatabase()) {\n return null;\n\n } else {\n // get identity\n IdentityIF identity = _p_getIdentity();\n if (identity == null) {\n return null;\n }\n // load from storage\n F value = null;\n try { \n value = txn.<F>loadField(identity, field);\n } catch (IdentityNotFoundException e) {\n // let value be null\n }\n // set value and mark field as loaded\n setValue(field, value);\n return value;\n }\n }", "title": "" }, { "docid": "d4d2370f2ae56cdae94c04b6d16804ff", "score": "0.58940303", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return name;\n case 1: return id;\n case 2: return uri;\n case 3: return ts;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "b13d88eeb01101174aef7e66f3ed18f5", "score": "0.58888906", "text": "public Object getValue(Field field, Object obj, char type,\n Class<?> expectedException) {\n Object result = null;\n try {\n switch (type) {\n case 'Z':\n result = field.getBoolean(obj);\n break;\n case 'B':\n result = field.getByte(obj);\n break;\n case 'S':\n result = field.getShort(obj);\n break;\n case 'C':\n result = field.getChar(obj);\n break;\n case 'I':\n result = field.getInt(obj);\n break;\n case 'J':\n result = field.getLong(obj);\n break;\n case 'F':\n result = field.getFloat(obj);\n break;\n case 'D':\n result = field.getDouble(obj);\n break;\n case 'L':\n result = field.get(obj);\n break;\n default:\n throw new RuntimeException(\"bad type '\" + type + \"'\");\n }\n\n /* success; expected? */\n if (expectedException != null) {\n System.out.println(\"ERROR: call succeeded for field \" + field +\n \" with a read of type '\" + type +\n \"', was expecting \" + expectedException);\n Thread.dumpStack();\n }\n } catch (Exception ex) {\n if (expectedException == null) {\n System.out.println(\"ERROR: call failed unexpectedly: \"\n + ex.getClass());\n ex.printStackTrace(System.out);\n } else {\n if (!expectedException.equals(ex.getClass())) {\n System.out.println(\"ERROR: incorrect exception: wanted \"\n + expectedException.getName() + \", got \"\n + ex.getClass());\n ex.printStackTrace(System.out);\n }\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "b13d88eeb01101174aef7e66f3ed18f5", "score": "0.58888906", "text": "public Object getValue(Field field, Object obj, char type,\n Class<?> expectedException) {\n Object result = null;\n try {\n switch (type) {\n case 'Z':\n result = field.getBoolean(obj);\n break;\n case 'B':\n result = field.getByte(obj);\n break;\n case 'S':\n result = field.getShort(obj);\n break;\n case 'C':\n result = field.getChar(obj);\n break;\n case 'I':\n result = field.getInt(obj);\n break;\n case 'J':\n result = field.getLong(obj);\n break;\n case 'F':\n result = field.getFloat(obj);\n break;\n case 'D':\n result = field.getDouble(obj);\n break;\n case 'L':\n result = field.get(obj);\n break;\n default:\n throw new RuntimeException(\"bad type '\" + type + \"'\");\n }\n\n /* success; expected? */\n if (expectedException != null) {\n System.out.println(\"ERROR: call succeeded for field \" + field +\n \" with a read of type '\" + type +\n \"', was expecting \" + expectedException);\n Thread.dumpStack();\n }\n } catch (Exception ex) {\n if (expectedException == null) {\n System.out.println(\"ERROR: call failed unexpectedly: \"\n + ex.getClass());\n ex.printStackTrace(System.out);\n } else {\n if (!expectedException.equals(ex.getClass())) {\n System.out.println(\"ERROR: incorrect exception: wanted \"\n + expectedException.getName() + \", got \"\n + ex.getClass());\n ex.printStackTrace(System.out);\n }\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "7e96682e61886af9cf9a05b92f134336", "score": "0.58726704", "text": "public Object get() {\n return object;\n }", "title": "" }, { "docid": "730b025f905c8afd411b6ff900604a39", "score": "0.5867774", "text": "@SuppressWarnings(\"unchecked\")\n public static <T> T getField(Object obj, String fieldName)\n throws BuildException {\n try {\n Field field = obj.getClass().getDeclaredField(fieldName);\n field.setAccessible(true);\n return (T) field.get(obj);\n } catch (Exception t) {\n throwBuildException(t);\n return null; // NotReached\n }\n }", "title": "" }, { "docid": "a3201cba0e7947ce45df8a2961b44f3c", "score": "0.58647394", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return __g__dirty;\n case 1: return previewText;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "0f541bc12fdf26a3d7855b04094017e9", "score": "0.58609277", "text": "private void readObjectField() {\n\t\tthis.print(\"(object)\");\n\t\tthis.increaseIndent();\n\t\t\n\t\t//Object fields can have various types of values...\n\t\tswitch(this._data.peek()) {\n\t\t\tcase (byte)0x73:\t\t//New object\n\t\t\t\tthis.readNewObject();\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase (byte)0x71:\t\t//Reference\n\t\t\t\tthis.readPrevObject();\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase (byte)0x70:\t\t//Null\n\t\t\t\tthis.readNullReference();\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase (byte)0x74:\t\t//TC_STRING\n\t\t\t\tthis.readTC_STRING();\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase (byte)0x76:\t\t//TC_CLASS\n\t\t\t\tthis.readNewClass();\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase (byte)0x75:\t\t//TC_ARRAY\n\t\t\t\tthis.readNewArray();\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase (byte)0x7e:\t\t//TC_ENUM\n\t\t\t\tthis.readNewEnum();\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tdefault:\t\t\t\t//Unknown/unsupported\n\t\t\t\tthrow new RuntimeException(\"Error: Unexpected identifier for object field value 0x\" + this.byteToHex(this._data.peek()));\n\t\t}\n\t\tthis.decreaseIndent();\n\t}", "title": "" }, { "docid": "400bff2156b535b90e65d1103f0b378b", "score": "0.58274984", "text": "@Nullable\n public static <T> T getField(@Nonnull Object objectWithField, @Nonnull String fieldName) {\n return FieldReflection.getField(objectWithField.getClass(), fieldName, objectWithField);\n }", "title": "" }, { "docid": "4b5ddf9824a6f6526ff6cff673ad4b7b", "score": "0.58032995", "text": "public Object valueAsObject()\n {\n return \"PropertyObject\";\n }", "title": "" }, { "docid": "09e737bf1201c17498b3d6afad5e6bde", "score": "0.57978916", "text": "@Nullable\n public static <T> T getField(@Nonnull Object objectWithField, @Nonnull Class<T> fieldType) {\n return FieldReflection.getField(objectWithField.getClass(), fieldType, objectWithField);\n }", "title": "" }, { "docid": "054728b555dc0111945d4daaf82554f9", "score": "0.57924217", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return body;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "c6043809285951f2ba205cc3d72cbe3e", "score": "0.5791319", "text": "@SuppressWarnings(\"unchecked\")\r\n\tpublic T getValue() {\r\n\t\tT obj=(T)super.getObj();\r\n\t\treturn obj;\r\n\t}", "title": "" }, { "docid": "d6780609e688ef9bf8b310632b9aa9ce", "score": "0.5790425", "text": "public Object getValue(String fieldName) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {\n String name = Character.toString(fieldName.charAt(0)).toUpperCase()+fieldName.substring(1);\n Method method = getClass().getMethod(\"get\" + name, null);\n return getValue(method);\n }", "title": "" }, { "docid": "5a01778912addaf42b7c3ad69a9914b9", "score": "0.5789852", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return persons;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "2c62a5c20b998d8da4e9fa8480f30127", "score": "0.5784918", "text": "public static Object getField(Object instance, String fieldName)\n throws Exception {\n Field field = instance.getClass().getDeclaredField(fieldName);\n try {\n field.setAccessible(true);\n\n Object res = field.get(instance);\n\n return res;\n } finally {\n field.setAccessible(false);\n }\n }", "title": "" }, { "docid": "7166155ae55ab55493cd17575ff1371e", "score": "0.578109", "text": "public Object get() {\n try {\n return field.get(e);\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "696447e9a67d9747047c328e2fcfe134", "score": "0.57694066", "text": "public static Object getFieldValue(final Object object, final String fieldName, boolean useGetter) throws ReflectionFailureException {\n\t\ttry {\n\t\t\tfinal Class<?> c;\n\t\t\tif(object instanceof Class<?>) {\n\t\t\t\tc = (Class<?>) object;\n\t\t\t} else {\n\t\t\t\tc = object.getClass();\n\t\t\t}\n\t\t\t\n\t\t\tif(useGetter) {\n\t\t\t\tString getter = \"get\" + StringUtil.capitalize(fieldName);\n\t\t\t\tMethod method = getMethod(c, getter, null, VISIBILITY_VISIBLE_ACCESSIBLE_ONLY);\n\t\t\t\tif(method != null) {\n\t\t\t\t\tmethod.setAccessible(true);\n\t\t\t\t\tObject methodResult = method.invoke(object, null);\n\t\t\t\t\treturn methodResult;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t//first try to get the desired field from the cache and return it's value.\n\t\t\tField field = fieldNameToFieldCache.get(createFieldCacheKey(c, fieldName));\n\t\t\tif(field==null) {\n\t\t\t\tfield = getField(object, c, fieldName);\n\t\t\t\tfieldNameToFieldCache.put(createFieldCacheKey(c, fieldName), field);\n\t\t\t} \n\t\t\t\n\t\t\t//second try to get the field from the given class, put the found Field to the cache. \n\t\t\tObject o = field.get(object);\n\t\t\treturn o;\t\n\t\t} catch(Exception e) {\n\t\t\tthrow new ReflectionFailureException(e);\n\t\t}\n\t}", "title": "" }, { "docid": "3d8b114fc3016195f8424accfe3657b2", "score": "0.5768153", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return title;\n case 1: return descripcion;\n case 2: return type;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "edc1edbe6544cc023343db6c37f5d1cc", "score": "0.5761106", "text": "public void storeObjectField(int fieldNum, Object value){\n objectValue = value;\n }", "title": "" }, { "docid": "deb1434d5d985bfe0fb428855decfc7f", "score": "0.5759485", "text": "private Object getMainFieldValue(Object o) {\n return getObjectByFielValue(o, mainField);\n }", "title": "" }, { "docid": "b8bb98756dd875aa1b74f08a8541ca73", "score": "0.5758639", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return isFaceCard;\n case 1: return cardValue;\n case 2: return playingCardSuit;\n default: throw new IndexOutOfBoundsException(\"Invalid index: \" + field$);\n }\n }", "title": "" }, { "docid": "5d7433757743c4b29c54347821648216", "score": "0.5757137", "text": "U get(T object);", "title": "" }, { "docid": "51d6bc7bb16234299a344f6f8b49ffcc", "score": "0.5746585", "text": "void read(FieldBase field, ByteFieldValue value);", "title": "" }, { "docid": "d87beb8106d12c8312327702aeec2078", "score": "0.5734819", "text": "public Object getCurrentValue() throws FieldContextException;", "title": "" }, { "docid": "b0cfa3e68583cd34c69f71e6e665a4af", "score": "0.57330096", "text": "public Obj getField(final String name) {\n\t\treturn hasField(name) ? NothingObj.INSTANCE : fields.get(name);\n\t}", "title": "" }, { "docid": "dd7dbb82976eb6543d93c870c5e22f60", "score": "0.5731345", "text": "java.lang.String getField();", "title": "" }, { "docid": "14e8041fef8d555859a0f3eb6cc46c87", "score": "0.57298213", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return start;\n case 1: return end;\n case 2: return inclusive;\n case 3: return type;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "46ba2e3b0fb3ea935f45e8fa811e4819", "score": "0.5723953", "text": "private Object sourceField(Object value) {\n if (value instanceof LazyString) {\n value = ((LazyString) value).getWritableObject().toString();\n } else if (value instanceof LazyInteger) {\n value = ((LazyInteger) value).getWritableObject().get();\n } else if (value instanceof LazyLong) {\n value = ((LazyLong) value).getWritableObject().get();\n } else if (value instanceof LazyFloat) {\n value = ((LazyFloat) value).getWritableObject().get();\n } else if (value instanceof LazyDouble) {\n value = ((LazyDouble) value).getWritableObject().get();\n } else if (value instanceof LazyBoolean) {\n value = ((LazyBoolean) value).getWritableObject().get();\n } else if (value instanceof LazyByte) {\n value = (int) ((LazyByte) value).getWritableObject().get();\n } else if (value instanceof LazyShort) {\n value = ((LazyShort) value).getWritableObject().get();\n } else if (value instanceof LazyBinary) {\n value = ((LazyBinary) value).getWritableObject().getBytes();\n } else if (value instanceof LazyHiveDecimal) {\n value = ((LazyHiveDecimal) value).getWritableObject().getHiveDecimal();\n } else if (value instanceof LazyTimestamp) {\n value = ((LazyTimestamp) value).getWritableObject().getTimestamp();\n } else if (value instanceof LazyArray) {\n LazyArray lazyArray = ((LazyArray) value);\n List<Object> result = new ArrayList<Object>(lazyArray.getListLength());\n for(int i = 0; i < lazyArray.getListLength(); i++) {\n Object element = lazyArray.getListElementObject(i);\n result.add(i, sourceField(element));\n }\n value = result;\n }\n //TODO: need handle more types\n return value;\n }", "title": "" }, { "docid": "b6c101e9e978f1ba727399425f87f13a", "score": "0.57219243", "text": "public static <T> Object getFieldValue(T object, String property) throws NoSuchFieldException, IllegalAccessException {\n Class<T> currClass = (Class<T>) object.getClass();\n Field field = currClass.getDeclaredField(property);\n field.setAccessible(true);\n return field.get(object);\n }", "title": "" }, { "docid": "e37e23c3a115745f01cd3805073456d6", "score": "0.5719345", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return payload;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "4227c05644052e0382467a534c7e22ff", "score": "0.57176095", "text": "public T get() {\n return obj;\n }", "title": "" }, { "docid": "ee5c63a08e0c5e15971f162832246799", "score": "0.57111865", "text": "public static PyObject getPyValue(Object o)\n {\n if(o instanceof Text) return new PyUnicode(o.toString());\n else if(o instanceof JSONWritable) return ((JSONWritable)o).get();\n else if(o instanceof BJSON) return (PyObject) ((BJSON)o).getObject();\n else return PyJavaType.wrapJavaObject(o);\n }", "title": "" }, { "docid": "e7a5cb721975462afd197de2644122f6", "score": "0.5710661", "text": "Field<?> resolveField(String fieldName);", "title": "" }, { "docid": "f7755e1fd8acca9d38af46fec49fd924", "score": "0.5708829", "text": "void read(FieldBase field, IntegerFieldValue value);", "title": "" }, { "docid": "7dee4b98992c09d50526fd25c2427159", "score": "0.57077545", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return chromosome;\n case 1: return start;\n case 2: return reference;\n case 3: return alternate;\n case 4: return ancestralAllele;\n case 5: return id;\n case 6: return xrefs;\n case 7: return hgvs;\n case 8: return displayConsequenceType;\n case 9: return consequenceTypes;\n case 10: return populationFrequencies;\n case 11: return minorAllele;\n case 12: return minorAlleleFreq;\n case 13: return conservation;\n case 14: return geneExpression;\n case 15: return geneTraitAssociation;\n case 16: return geneDrugInteraction;\n case 17: return variantTraitAssociation;\n case 18: return functionalScore;\n case 19: return additionalAttributes;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "2b21f0ed71bf7639406ae533c33ec1b6", "score": "0.5698425", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return emp_no;\n case 1: return birth_date;\n case 2: return first_name;\n case 3: return last_name;\n case 4: return gender;\n case 5: return hire_date;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "88deb248c67b6bc40f036fc3abbf1f9f", "score": "0.5694993", "text": "public static Object peek(Class myClass, Object object, String fieldName) \r\n throws IllegalAccessException, NoSuchFieldException {\r\n\t Field field = fieldLookup(myClass, fieldName);\r\n\t return field.get(object); \r\n }", "title": "" }, { "docid": "370be1b4ae369da589995bc45efc535e", "score": "0.5693", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return dataSet;\n case 1: return color;\n case 2: return count;\n case 3: return day;\n case 4: return degree;\n case 5: return directed;\n case 6: return edges;\n case 7: return edited;\n case 8: return expanded;\n case 9: return idType;\n case 10: return idVal;\n case 11: return label;\n case 12: return lineStyle;\n case 13: return month;\n case 14: return sourceId;\n case 15: return targetId;\n case 16: return value;\n case 17: return weight;\n case 18: return year;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "d9e00e75de5360effb9aa5b99b36b047", "score": "0.5688972", "text": "Field getField(String name);", "title": "" }, { "docid": "975ef868495606d34ac1d79e72c3e39e", "score": "0.5686524", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return value;\n case 1: return next;\n default: throw new IndexOutOfBoundsException(\"Invalid index: \" + field$);\n }\n }", "title": "" }, { "docid": "8b9cc368b3cb2b59881dae2399c45769", "score": "0.56750137", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return precision;\n case 1: return scale;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "00faa5cb1fcb8cba8b6689eec9431a63", "score": "0.5671217", "text": "@SuppressWarnings(\"deprecation\")\n\tprotected Object getValue() {\n\t\tif (recordNum >= 0) {\n\t\t\treturn theLine.getField(recordNum, fieldNum);\n\t\t}\n\t\tif (field == null) {\n\t\t\treturn null;\n\t\t}\n\t\treturn theLine.getField(field);\n\t}", "title": "" }, { "docid": "3b83ddf0ce4199b39f0e1917f604a99a", "score": "0.5669022", "text": "public Object get(ColumnIdentifier colid) {\n Object obj = _row.get(getFieldIndex(colid));\n DataType type = colid.getDataType();\n if(null != type) {\n return type.convert(obj);\n } else {\n return obj;\n }\n }", "title": "" }, { "docid": "3a0fc1d8316d82c51aed6989c948b5e5", "score": "0.5665626", "text": "public Object getObject();", "title": "" }, { "docid": "e511c89945ce7fab2a2ee23ba0c1c8a1", "score": "0.565679", "text": "public Field createReferenceFieldObject() {\n\t\tSFTime field = new SFTime();\n\t\tfield.setName(getName());\n\t\tfield.setObject(getObject());\n\t\treturn field;\n\t}", "title": "" }, { "docid": "3c665115e6b0685109a62a61f2ada0bf", "score": "0.56538045", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return firstName;\n case 1: return nickName;\n case 2: return lastName;\n case 3: return AdditionalField;\n case 4: return age;\n case 5: return emails;\n case 6: return phoneNumber;\n case 7: return status;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "50c4c233bf155f0b6fd8637f74b18504", "score": "0.5649117", "text": "Field getFieldReflection();", "title": "" }, { "docid": "505466a36506cd4bc3041f058c6b97a2", "score": "0.5647555", "text": "public Object getFieldValue(Class ownerClass, Object ownerValue, String fieldName)\n throws EvaluationException\n {\n \tthrow new EvaluationException(ExceptionConstants.EBOS_OOEE_016);\n }", "title": "" }, { "docid": "0c491aa270bf86c44504a7b663c30bf6", "score": "0.5643075", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return name;\n case 1: return type;\n case 2: return status;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "2c2d6b687cabac1fa321cd1d4d50c536", "score": "0.56379646", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return Id;\n case 1: return fwyNum;\n case 2: return direction;\n case 3: return district;\n case 4: return county;\n case 5: return city;\n case 6: return statePostmile;\n case 7: return absPostmile;\n case 8: return latitude;\n case 9: return longitude;\n case 10: return detectorLength;\n case 11: return detectorType;\n case 12: return detectorName;\n case 13: return laneCount;\n case 14: return userId;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "10ca19903d5b34fcc854e2bd58a88d73", "score": "0.56370586", "text": "public Field getField() {\r\n\t\treturn _field;\r\n\t}", "title": "" }, { "docid": "a6b7bd117a01ecfd9434ef9b42851934", "score": "0.5623145", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return reference_id;\n case 1: return name;\n case 2: return address_line;\n case 3: return suburb;\n case 4: return state;\n case 5: return postcode;\n case 6: return provider;\n case 7: return video_url;\n case 8: return image_url;\n case 9: return location_latitude;\n case 10: return location_longitude;\n case 11: return status;\n case 12: return alert_time;\n case 13: return alert_type;\n case 14: return intrusion_type;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "19173e9bb12b185f7bec15295f5b7d6b", "score": "0.5621893", "text": "public abstract Object convertValue(HttpServletRequest request_p, OwFieldDefinition fieldDef_p, Object value_p, String strID_p) throws OwException;", "title": "" }, { "docid": "743e141ac07903150f5476d3668d2143", "score": "0.5610994", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return val1;\n case 1: return val2;\n case 2: return val3;\n case 3: return val4;\n case 4: return val5;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "df2ba6047e50be45677146e5c42d152d", "score": "0.5607663", "text": "public AnyObject object() {\n return object(_p);\n }", "title": "" }, { "docid": "82afa4e726f864e016f743c77b256364", "score": "0.56066567", "text": "public T getObject() {\n return object;\n }", "title": "" }, { "docid": "76df2a0c7e0c35e44571fbe3f29f0304", "score": "0.5606117", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return id;\n case 1: return age;\n case 2: return destination_region;\n case 3: return destination_airport;\n case 4: return price;\n case 5: return frequent_traveller;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "bede65788e2abd2a9f5c1ac9a984e630", "score": "0.56012344", "text": "public Object get(int field$) {\n switch (field$) {\n case 0: return url;\n case 1: return file_name;\n case 2: return file_type;\n default: throw new org.apache.avro.AvroRuntimeException(\"Bad index\");\n }\n }", "title": "" }, { "docid": "a64c56142a579fd81539ec6d499ee3a5", "score": "0.5593153", "text": "public Object getValue();", "title": "" }, { "docid": "a64c56142a579fd81539ec6d499ee3a5", "score": "0.5593153", "text": "public Object getValue();", "title": "" }, { "docid": "656d58c162beb9713cb26bf4b19b9588", "score": "0.5591368", "text": "public java.lang.Object get(int field$) {\n switch (field$) {\n case 0: return source;\n case 1: return logLevels;\n case 2: return addresses;\n default: throw new IndexOutOfBoundsException(\"Invalid index: \" + field$);\n }\n }", "title": "" } ]
70b5740d972635e47373299c72d227e6
Insert the method's description here. Creation date: (2/21/2003 12:20:09 PM)
[ { "docid": "8f34e66050540d3efc458afc09e945a6", "score": "0.0", "text": "public void setContractNumber(int newContractNumber) {\n contractNumber = newContractNumber;\n }", "title": "" } ]
[ { "docid": "8bf8511f65e0c2b04c8bd3242cfd3d0d", "score": "0.6748347", "text": "public void mo25201a() {\n }", "title": "" }, { "docid": "b1a1e4c59ab73d4f66f6104defad9116", "score": "0.66860634", "text": "public void method() {\n\t\t\n\t}", "title": "" }, { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.6601915", "text": "public void mo3640e() {\n }", "title": "" }, { "docid": "8902d6b2c2c3dcb5f23158db30fda96d", "score": "0.6537465", "text": "private void getDate() {\n \t\n\t\t\n\t}", "title": "" }, { "docid": "bb1812ac9695e9e927bf9945d6e9c398", "score": "0.6451007", "text": "public void mo20031a() {\n }", "title": "" }, { "docid": "241b338c65958e2d297fd4890b89330e", "score": "0.63531005", "text": "public abstract String method_1564();", "title": "" }, { "docid": "c0c124e64210434ea9708eb3746ed08f", "score": "0.63521165", "text": "public abstract String method_1811();", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6330059", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "609ec2ff060d9d4cb0276468f482734d", "score": "0.63222826", "text": "public void mo89673a() {\n }", "title": "" }, { "docid": "7d564a9fbd3b4bcb28861f631deb09d4", "score": "0.62899256", "text": "public abstract String method_1566();", "title": "" }, { "docid": "ee34b65ca528d3c4001b7840ceae42b2", "score": "0.6264707", "text": "public void mo1957a() {\n }", "title": "" }, { "docid": "2bcac1bab4eaa6c9cc4cb7e33c684cef", "score": "0.62180185", "text": "public void mo1691a() {\n }", "title": "" }, { "docid": "1188ab665ceb1a352576f3fc94eae2ab", "score": "0.6182191", "text": "public void mo39413H() {\n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.61603916", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "dd873ada32f29c7f8550d783f8e53f32", "score": "0.6158819", "text": "public String toString(){return \"update this method\";}", "title": "" }, { "docid": "7ebfd871693fff02f7cc37d9e97814cd", "score": "0.61547303", "text": "@Override\n public void method() {\n }", "title": "" }, { "docid": "1b6e09a6782d50972c182ef576e82c8d", "score": "0.6124903", "text": "public void mo5729d() {\n }", "title": "" }, { "docid": "331695424e8d8fcf4826ab18908dfd77", "score": "0.6120403", "text": "public abstract void method_1572();", "title": "" }, { "docid": "18aad45fa3156c5617672d34ce3a3d66", "score": "0.6105877", "text": "public void mo1298d() {\n }", "title": "" }, { "docid": "4329fec0c25163b4865afea7811f63df", "score": "0.61004525", "text": "public abstract String method_1565();", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.6093868", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.6043593", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "fe965b78e7b3941dd30c1ede0525e112", "score": "0.60306114", "text": "public void mo85487i() {\n }", "title": "" }, { "docid": "6e8eda8836f399c88515ad4065fd69e7", "score": "0.60241795", "text": "public Date getDate()\r\n/* 96: */ {\r\n/* 97:225 */ return this.date;\r\n/* 98: */ }", "title": "" }, { "docid": "f21bdaa510a3c4aaf729670a764e1420", "score": "0.60195726", "text": "public void mo12455a() {\n }", "title": "" }, { "docid": "90e9be10c2c69543036119c8db74189e", "score": "0.59948146", "text": "public void mo6944a() {\n }", "title": "" }, { "docid": "f22a5d09514c020fe2c4fe4d262bb2e9", "score": "0.59865767", "text": "@Override\r\n\tpublic void info() {\n\t\t\r\n\t}", "title": "" }, { "docid": "55625275e5ebda21fac8f983788c5128", "score": "0.5982569", "text": "@Override\r\n\tpublic int method1() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "93b2e35f46c3ddba8ce27c090c3c2fa0", "score": "0.59811264", "text": "public abstract void method_1571();", "title": "" }, { "docid": "80957dffe9c580e69a28854ea32f2b31", "score": "0.5961391", "text": "public void method1()\r\n\t{\n\t}", "title": "" }, { "docid": "9bee55d7def4fea42b526e304423c973", "score": "0.59566075", "text": "public void mo1486f() {\n }", "title": "" }, { "docid": "4aa0ce8e0c98a84ffcd7c03d698dfea6", "score": "0.5949481", "text": "public void mo1299e() {\n }", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.5941733", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.5941733", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "359987993ad84757f9d7a12eaf38d2d7", "score": "0.59178805", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "cdaaa6af27ec15a11b312197a5484f30", "score": "0.59132993", "text": "public void mo8543a() {\n }", "title": "" }, { "docid": "19e7961b4db71d792a3277686bb4e2b8", "score": "0.59052527", "text": "public void mo42215a() {\n }", "title": "" }, { "docid": "08e1e596e0e9ddd90595996b16e271f4", "score": "0.5903021", "text": "public void mo41443a() {\n }", "title": "" }, { "docid": "f4f48197b3fa17ad117947be0d5a5650", "score": "0.58955795", "text": "public void mo2849x() {\n }", "title": "" }, { "docid": "1506e3d7952877971577a64ec4b87757", "score": "0.5895183", "text": "public void method1() {\n\r\n\t}", "title": "" }, { "docid": "5dcf58ee43a4192b16989fe4e2c513cf", "score": "0.58943427", "text": "public void mo1488h() {\n }", "title": "" }, { "docid": "1dbcae784b20ff21c99fced92db1ef9f", "score": "0.5889882", "text": "public void mo39414I() {\n }", "title": "" }, { "docid": "3c53ab5869d01eb8cf3cfc3662d058f7", "score": "0.5888137", "text": "public abstract int method_1658();", "title": "" }, { "docid": "3211287bc24304a8ca2975647e8a262e", "score": "0.5882342", "text": "public void mo1702b() {\n }", "title": "" }, { "docid": "17bbf6d0b0c172a815e76e72d8b880ab", "score": "0.58815604", "text": "public void someMethod() {\n }", "title": "" }, { "docid": "6f7c470eac86ce266b5c7214db449d26", "score": "0.5874067", "text": "public void mo571m() {\n }", "title": "" }, { "docid": "e8f67b7b94c1528f86118ca40afa724d", "score": "0.58688736", "text": "public void CreateReport() {\n}", "title": "" }, { "docid": "4df642732f23eb68d19003c5de241145", "score": "0.5866611", "text": "public void mo8543a() {\n }", "title": "" }, { "docid": "3fb6bb912e1051686cc0dd7b367b4b17", "score": "0.585863", "text": "public void mo1489i() {\n }", "title": "" }, { "docid": "d45b2f9ed01cd9442ff8b71788231210", "score": "0.58572894", "text": "public Date getCreated_On();", "title": "" }, { "docid": "dd37e953663ac34f0dc4f9fdc5fef823", "score": "0.5851716", "text": "public abstract String description ();", "title": "" }, { "docid": "294466d27c37b3e191d6e5e71866ac52", "score": "0.5847179", "text": "public void method1() {\r\n\t\t\tSystem.out.println(\"implementation of method1\");\r\n\t\t}", "title": "" }, { "docid": "ffeccfe042bb28db4afc67b75543297e", "score": "0.58314633", "text": "@Override\r\n\tpublic void methodOne() {\n\t\tSystem.out.println(\" Da in method one \");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9a84fb9eb4e603d83b41a6814dbc0fc6", "score": "0.5826271", "text": "@Override\r\n\tpublic void method5() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f7f116289482c665b1ff96f89e43ca4d", "score": "0.5824207", "text": "public abstract void mo12294d();", "title": "" }, { "docid": "619a28ba3c7707bdf8bb1451d5c3d12b", "score": "0.58218724", "text": "public void mo25069a() {\n }", "title": "" }, { "docid": "b8cd427648ea50c94f93c47d407d10a0", "score": "0.5814343", "text": "public void mo3639d() {\n }", "title": "" }, { "docid": "73f2a367d12f6cdc883de8f89a70e057", "score": "0.5805277", "text": "public void testMethod()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "31b07f9e1a38366282f5cdaebffd5680", "score": "0.58017784", "text": "@Override\n\tpublic void method1() {\n\t\t\n\t}", "title": "" }, { "docid": "31b07f9e1a38366282f5cdaebffd5680", "score": "0.58017784", "text": "@Override\n\tpublic void method1() {\n\t\t\n\t}", "title": "" }, { "docid": "8fff6550acf2ad0637861525f4453772", "score": "0.58005506", "text": "public static void method_9761() {}", "title": "" }, { "docid": "1fd4f5b0b471084e004373c89c1cf248", "score": "0.57994395", "text": "@Override\r\n\tpublic void sen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.5797004", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "65a9d4fc0a71241b09c48dee50f3a2bb", "score": "0.5789764", "text": "public void method_5960() {\r\n super.method_5960();\r\n }", "title": "" }, { "docid": "1fcad97209fa693cb7a33857eee78f20", "score": "0.5788693", "text": "public void mo29222h() {\n }", "title": "" }, { "docid": "92295c5f7ea34ca463456a80526618fc", "score": "0.57874876", "text": "private void Process_Comment() \r\n { \r\n throw new NotImplementedException();\r\n }", "title": "" }, { "docid": "8abd71401843bdc0499ea12a3a300664", "score": "0.57821554", "text": "private void exibirInfo() {\n\t\t\n\t}", "title": "" }, { "docid": "169566945d87ae780879df4117bd5a4e", "score": "0.57775015", "text": "@Override\r\n\tvoid method1() {\n\r\n\t}", "title": "" }, { "docid": "847a203a08278fe2fff2f2df157799d1", "score": "0.577624", "text": "public void mo49167f() {\n }", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.577465", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.577465", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "c62cda73ade12997b35ef56f5fb0817b", "score": "0.5769287", "text": "void method() {\n }", "title": "" }, { "docid": "62f831098662cba2345e523e21e84846", "score": "0.5765306", "text": "abstract String method_2631();", "title": "" }, { "docid": "13581a98eed51f7ac24a41fbe332c689", "score": "0.5764139", "text": "public String getDate() throws MethodException;", "title": "" }, { "docid": "9c0be8b41abbc5a688c29d02287c4158", "score": "0.57638747", "text": "public void wyjscie(){}", "title": "" }, { "docid": "06c407b3cacc3e964dfd7296780a7d20", "score": "0.57617533", "text": "public abstract void mo79858d();", "title": "" }, { "docid": "51c047aba1f486d5b46b90e244ff9bf4", "score": "0.575008", "text": "public void anotherMethod() {\n\t}", "title": "" }, { "docid": "a6c0f58aeb651a49efc777f02416784c", "score": "0.5749945", "text": "@Override\r\n public void bookTicket(){\n \r\n }", "title": "" }, { "docid": "5314003d8592219f71035b81985fabc0", "score": "0.5744107", "text": "@Override\n\tpublic void roule() {\n\t\t\n\t}", "title": "" }, { "docid": "6a8c6480f9fa5ab89d0437d00ffffccc", "score": "0.57398653", "text": "@Override\n public void tirer() {\n\n }", "title": "" }, { "docid": "2db1f07c051f64669e01e16fe84adfaf", "score": "0.5734546", "text": "public add method_63() {\r\n return null;\r\n }", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5732621", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "18619fb436efbffc5fe3d164db596301", "score": "0.57319206", "text": "private void method_3485() {\r\n super();\r\n }", "title": "" }, { "docid": "21690cc03e3c3a980f6d5273d896ee18", "score": "0.5729213", "text": "public void DecPersSalDPS_Creacion(){}", "title": "" }, { "docid": "44f6d072c503304261d9c110e0501c0c", "score": "0.5728667", "text": "public abstract Stamp createMethodStamp();", "title": "" }, { "docid": "6ef42ebccdbb172e07a085545ab9c806", "score": "0.5717597", "text": "@Override\r\n\tpublic void name() {\n\r\n\t}", "title": "" }, { "docid": "12953c0190f05b5d493950eeafc90d4d", "score": "0.57130694", "text": "public void method_5770() {\r\n super();\r\n }", "title": "" }, { "docid": "01516c1ebca985eb74f40ef0ea08adcb", "score": "0.57111967", "text": "@Override\r\n\tpublic String method4() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "ad04293e5844090f789cf8f6fdbb9268", "score": "0.5698301", "text": "@Override\n public void processing_method() {\n\n }", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.5696313", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "7e5ae0ccdfa612568c57d47a43c72989", "score": "0.5695761", "text": "public void pintame() {\n }", "title": "" }, { "docid": "bc1712886e74a81441b4d69921d4fa33", "score": "0.5689218", "text": "@Override\r\n public void example() {\n\r\n }", "title": "" }, { "docid": "69ce171feae139649d64eae1879aaa1b", "score": "0.5687552", "text": "private Source cageCrud(String method, Source source, String string) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "863d3a7ffbf5a09e2fddc82948f7fb9e", "score": "0.56868887", "text": "private Methods() {}", "title": "" }, { "docid": "faaf8114d8b7cea6063827a2c8cf19c2", "score": "0.5684839", "text": "public void dirixir_Entrenamiento() {\r\n\r\n }", "title": "" }, { "docid": "d0f45591a3938e10c3db859a3880851c", "score": "0.56778884", "text": "public void mo684x() {\n }", "title": "" }, { "docid": "588256cceaa67dc95253a08baa4cb801", "score": "0.56701696", "text": "public void miseAJourCroyants();", "title": "" }, { "docid": "bf1284d2d0e11da027eaa0cb07662451", "score": "0.5664956", "text": "@Override\n\tpublic void setCreatedDate(Date date) {\n\n\t}", "title": "" }, { "docid": "06eb594506584c79e1bd93de292962fb", "score": "0.56618315", "text": "public Method(String name) {\n super();\n bodyLines = new ArrayList<String>();\n parameters = new ArrayList<Parameter>();\n exceptions = new ArrayList<FullyQualifiedJavaType>();\n this.name = name;\n }", "title": "" }, { "docid": "77bd6247c293f95e539e9961b7d44176", "score": "0.56577015", "text": "public void callingNewMethodRefInfo() {\n\tnewMethodRefInfo();\n }", "title": "" }, { "docid": "b6991105a4e7cbd1e588ff8cdb14842f", "score": "0.5653862", "text": "public final void mo42476a() {\n }", "title": "" } ]
021d74b3f81c1e6e01b521623aeecdba
Gets (as xml) the "HourlyRecurrencePatternType" element
[ { "docid": "a4287567d2560a0059982645f34151d1", "score": "0.753033", "text": "public com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum xgetHourlyRecurrencePatternType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum target = null;\n target = (com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum)get_store().find_element_user(HOURLYRECURRENCEPATTERNTYPE$0, 0);\n return target;\n }\n }", "title": "" } ]
[ { "docid": "25cb514181ba4ceec225268048397c34", "score": "0.7480075", "text": "public com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum.Enum getHourlyRecurrencePatternType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(HOURLYRECURRENCEPATTERNTYPE$0, 0);\n if (target == null)\n {\n return null;\n }\n return (com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum.Enum)target.getEnumValue();\n }\n }", "title": "" }, { "docid": "a50d5975f0aa078bca4e255f07475fba", "score": "0.63636464", "text": "public void setHourlyRecurrencePatternType(com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum.Enum hourlyRecurrencePatternType)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(HOURLYRECURRENCEPATTERNTYPE$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(HOURLYRECURRENCEPATTERNTYPE$0);\n }\n target.setEnumValue(hourlyRecurrencePatternType);\n }\n }", "title": "" }, { "docid": "76d6da5abd5f56623fff5a92a6b51306", "score": "0.61147934", "text": "public void unsetHourlyRecurrencePatternType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(HOURLYRECURRENCEPATTERNTYPE$0, 0);\n }\n }", "title": "" }, { "docid": "a40dd6cadc91ebfa85f67a1a6f504f29", "score": "0.5997236", "text": "public void xsetHourlyRecurrencePatternType(com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum hourlyRecurrencePatternType)\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum target = null;\n target = (com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum)get_store().find_element_user(HOURLYRECURRENCEPATTERNTYPE$0, 0);\n if (target == null)\n {\n target = (com.exacttarget.wsdl.partnerapi.HourlyRecurrencePatternTypeEnum)get_store().add_element_user(HOURLYRECURRENCEPATTERNTYPE$0);\n }\n target.set(hourlyRecurrencePatternType);\n }\n }", "title": "" }, { "docid": "63e34c670621bdda5bd6c8f8e7a53c1d", "score": "0.5855603", "text": "@Schema(required = true, description = \"Recurrence meeting types:<br>`1` - Daily.<br>`2` - Weekly.<br>`3` - Monthly.\")\n public TypeEnum getType() {\n return type;\n }", "title": "" }, { "docid": "a003dbe28d196ef7f7615d93e1a357af", "score": "0.57980156", "text": "public boolean isSetHourlyRecurrencePatternType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(HOURLYRECURRENCEPATTERNTYPE$0) != 0;\n }\n }", "title": "" }, { "docid": "773de835a3b82063cfac87b3851ff616", "score": "0.5534572", "text": "org.apache.geronimo.xbeans.geronimo.naming.GerPatternType getPattern();", "title": "" }, { "docid": "fcefe158fb0e9cc464cad0fa89e5a891", "score": "0.5394877", "text": "public String getTimePattern() {\n\t\treturn (String) get_Value(\"TimePattern\");\n\t}", "title": "" }, { "docid": "fc5ed353fa560552c732cee3279cdf54", "score": "0.5343996", "text": "public Type rationalType() {\n return RationalType.getInstance();\n }", "title": "" }, { "docid": "d059d709daebd5bb4d386c82e789698b", "score": "0.529991", "text": "@Schema(description = \"This field is required **if you're scheduling a recurring meeting of type** `2` to state which day(s) of the week the meeting should repeat. <br> <br> The value for this field could be a number between `1` to `7` in string format. For instance, if the meeting should recur on Sunday, provide `\\\"1\\\"` as the value of this field.<br><br> **Note:** If you would like the meeting to occur on multiple days of a week, you should provide comma separated values for this field. For instance, if the meeting should recur on Sundays and Tuesdays provide `\\\"1,3\\\"` as the value of this field. <br>`1` - Sunday. <br>`2` - Monday.<br>`3` - Tuesday.<br>`4` - Wednesday.<br>`5` - Thursday.<br>`6` - Friday.<br>`7` - Saturday.\")\n public WeeklyDaysEnum getWeeklyDays() {\n return weeklyDays;\n }", "title": "" }, { "docid": "509ab03d4273a786dfae535b538e61cc", "score": "0.52269113", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public typekey.SubroSchedRecoveryType getScheduleRecoveryType();", "title": "" }, { "docid": "1794a854ab8403ad2cbc62c9f9214e5c", "score": "0.5210271", "text": "public org.apache.xmlbeans.XmlInt xgetHourInterval()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlInt target = null;\n target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(HOURINTERVAL$2, 0);\n return target;\n }\n }", "title": "" }, { "docid": "2949fbfd6328ffdd2f7e526b0404c020", "score": "0.5202024", "text": "java.lang.String getRegType();", "title": "" }, { "docid": "4297fff1ce0334aed2ccdc13d2930844", "score": "0.5165287", "text": "org.landxml.schema.landXML11.RegistrationType xgetRegType();", "title": "" }, { "docid": "2206388e6f7522a9bf21973c70cfef2b", "score": "0.5143801", "text": "java.lang.String getRegtype();", "title": "" }, { "docid": "f238eb02e5d81040d2f7ba6ebf58b30b", "score": "0.50583905", "text": "@ApiModelProperty(required = true, value = \"The type or applicability period of rate being applied. For example: DAILY, WEEKLY, WEEKEND.\")\n @JsonProperty(\"type\")\n public String getType() {\n return type;\n }", "title": "" }, { "docid": "1b30a23f23a7e52281e45ad839935d4a", "score": "0.50574654", "text": "public com.sun.java.xml.ns.j2Ee.UrlPatternType getUrlPattern()\n {\n synchronized (monitor())\n {\n check_orphaned();\n com.sun.java.xml.ns.j2Ee.UrlPatternType target = null;\n target = (com.sun.java.xml.ns.j2Ee.UrlPatternType)get_store().find_element_user(URLPATTERN$2, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "title": "" }, { "docid": "96760eb85059ade444726840f1c22919", "score": "0.5036458", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public typekey.GL7ExposureSchedCondItem getSubtype();", "title": "" }, { "docid": "c9d3e63e6b1b012dea5e77b24655edad", "score": "0.50093627", "text": "public TypeElement getTypeElement() {\n return typeElement;\n }", "title": "" }, { "docid": "f097cd6ece753c91b976401e1c26751c", "score": "0.49967918", "text": "public CurationEventType getType();", "title": "" }, { "docid": "e4a6a02d68b1d43709c9b3a9a68a26ff", "score": "0.49098763", "text": "@DISPID(29)\r\n\t// = 0x1d. The runtime will prefer the VTID if present\r\n\t@VTID(56)\r\n\tint recurringIntervalHours();", "title": "" }, { "docid": "57886e70846e2d9511365f2bd77a4ed2", "score": "0.49034175", "text": "public java.lang.String getStructuretype()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STRUCTURETYPE$2);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "title": "" }, { "docid": "57886e70846e2d9511365f2bd77a4ed2", "score": "0.49034175", "text": "public java.lang.String getStructuretype()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STRUCTURETYPE$2);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "title": "" }, { "docid": "1f00cf2439b692c5e1668a9e4daf44aa", "score": "0.48989555", "text": "public org.apache.xmlbeans.XmlString xgetStructuretype()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(STRUCTURETYPE$2);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "1f00cf2439b692c5e1668a9e4daf44aa", "score": "0.48989555", "text": "public org.apache.xmlbeans.XmlString xgetStructuretype()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(STRUCTURETYPE$2);\r\n return target;\r\n }\r\n }", "title": "" }, { "docid": "b90cbb6a0a4f9ebefa5bca47797191d2", "score": "0.4895464", "text": "public String getRecurrence() {\n return recurrence;\n }", "title": "" }, { "docid": "3e35efb08f9b4378e4a0f2b1edc2f17f", "score": "0.4890035", "text": "public int getHourInterval()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(HOURINTERVAL$2, 0);\n if (target == null)\n {\n return 0;\n }\n return target.getIntValue();\n }\n }", "title": "" }, { "docid": "26dfd5e6f4a8d496d57aaa1a88aaa5b1", "score": "0.4867949", "text": "QName getType();", "title": "" }, { "docid": "c07acbaf8968d00fa6fcfed06e6cbb68", "score": "0.4862211", "text": "public String getType() {\r\n\t\tif(type == 1)\r\n\t\t{\r\n\t\t\treturn \"Manhattan distance\";\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn \"Hamming distance\";\r\n\t\t}\r\n }", "title": "" }, { "docid": "a6fb47558450ec228baadb871a8e879d", "score": "0.4857003", "text": "public static HourType getHourType(int minute) {\r\n\t\tHourType res;\r\n\t\tif( minute <= 450 ) //Earlier than 7.30am will be considered as early morning hours\r\n\t\t\tres = HourType.EARLY_MORNING;\r\n\t\telse if( minute <= 600 ) //7.30am througth 10am is considered as monring rush hour\r\n\t\t\tres = HourType.MORNING_RUSH_HOUR;\r\n\t\telse if (minute <= 960) //10am - 4pm will be considerd as day_time hour\r\n\t\t\tres = HourType.DAY_TIME;\r\n\t\telse if (minute <= 1140) // 4pm - 7pm is rush hour in the afternoon \r\n\t\t\tres = HourType.AFTERNOON_RUSH_HOUR;\r\n\t\telse\r\n\t\t\tres = HourType.EVENING_HOUR;\r\n\t\t\r\n\t\treturn res;\r\n\t}", "title": "" }, { "docid": "46c23dbc20fbd864165c9e4683afc988", "score": "0.48495054", "text": "public String getFLOAT_RATE_PERIODICITY_TYPE() {\r\n return FLOAT_RATE_PERIODICITY_TYPE;\r\n }", "title": "" }, { "docid": "1b113e544fe00aa159fd0b22483de75e", "score": "0.47942132", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public typekey.WaiverOfSubrogationType getType();", "title": "" }, { "docid": "a6671452fe7e958fce733626fb911be9", "score": "0.47792125", "text": "public PeriodType getPeriodType()\r\n/* */ {\r\n/* 241 */ return PeriodType.days();\r\n/* */ }", "title": "" }, { "docid": "ab91c92d877e4b044df37604c87bd65f", "score": "0.47487003", "text": "public String getResType() {\n return resType;\n }", "title": "" }, { "docid": "a2430e7ee13012a94dc0ba1f0fb12ae1", "score": "0.47282234", "text": "@XmlElement(name = \"type\")\r\n public String getType() {\r\n return type;\r\n }", "title": "" }, { "docid": "fe4a175f419aadd9af38d0c68a446899", "score": "0.47131342", "text": "public String getTemporalType();", "title": "" }, { "docid": "82745b4788438270cc760b601ba82996", "score": "0.470859", "text": "public Question getFrequencyHoursQuestion() throws Exception {\r\n\t\tQuestion retValue = null;\r\n\t\tif(this.getChildQuestions().size()>0){\r\n\t\t\tif(this.getChildQuestions().get(0).getTypeID().equalsIgnoreCase(Question.FREQUENCY)){\r\n\t\t\t\tQuestion pq = this.getChildQuestions().get(0);\r\n\t\t\t\tif(pq.getChildQuestions().size()>0){\r\n\t\t\t\t\tif(pq.getChildQuestions().get(0).getTypeID().equalsIgnoreCase(Question.FREQUENCY)){\r\n\t\t\t\t\t\tretValue = pq.getChildQuestions().get(0);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn retValue;\r\n\t}", "title": "" }, { "docid": "0ebb765d088e5fb3247cf1d1c79c7dbc", "score": "0.47077513", "text": "QName getPeriodProperty();", "title": "" }, { "docid": "264eb896cdb50225755ab30c00bc6757", "score": "0.4703679", "text": "public javax.xml.namespace.QName getType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$14);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(TYPE$14);\n }\n if (target == null)\n {\n return null;\n }\n return target.getQNameValue();\n }\n }", "title": "" }, { "docid": "666685330834a48e0217a23c5497310c", "score": "0.4702924", "text": "public PowerupType getType();", "title": "" }, { "docid": "b1d8e035dd66cecba1b9ba33cfb6af14", "score": "0.46963075", "text": "public String toString () {\r\n return kindOfElement;\r\n }", "title": "" }, { "docid": "cf8b1fcc03ca8c25dc6d0f94dc6ac36c", "score": "0.46935394", "text": "public String getMyPattern(String typeStr){\n\n if(typeStr.equals(\"int\"))\n return RegexPatternForBlocks.INT_PATTERN;\n else if(typeStr.equals(\"double\"))\n return RegexPatternForBlocks.DOUBLE_PATTERN;\n else if(typeStr.equals(\"char\"))\n return RegexPatternForBlocks.CHAR_PATTERN;\n else if(typeStr.equals(\"boolean\"))\n return RegexPatternForBlocks.BOOL_PATTERN;\n else if(typeStr.equals(\"String\"))\n return RegexPatternForBlocks.STRING_PATTERN;\n else\n return \"\";\n }", "title": "" }, { "docid": "dfcceba0a21dbea2b9cbd38d06a7c2d6", "score": "0.46824646", "text": "java.lang.String getConsumeReservationType();", "title": "" }, { "docid": "e772fd7d7090023a35222961b0e68071", "score": "0.46751827", "text": "public TypePattern getAllLabilesPattern() {\n\t\tTypePattern conf = new TypePattern();\n\t\tgetAllLabilesPattern(root,conf);\n\t\tgetAllLabilesPattern(bracket,conf);\n\t\treturn conf;\n\t}", "title": "" }, { "docid": "90698685eb83da585df7895ea6a5b337", "score": "0.46744794", "text": "com.google.protobuf.ByteString\n getRegtypeBytes();", "title": "" }, { "docid": "39dcbbc0f1a751cfbfad18af90066bb8", "score": "0.46712497", "text": "org.apache.xmlbeans.XmlString xgetFileType();", "title": "" }, { "docid": "f851aa63a312607df3f2ed692cfe6c51", "score": "0.46665457", "text": "public Type dateTimeType() {\n return DateTimeType.getInstance();\n }", "title": "" }, { "docid": "5762bafc0b8d9bef148a385c7994322a", "score": "0.46626943", "text": "public RTypeElements getRTypeAccess() {\n\t\treturn pRType;\n\t}", "title": "" }, { "docid": "3e78e4d6f6eb98af86b68cbe6e43a993", "score": "0.46542633", "text": "XMLGregorianCalendar getGDHactivation();", "title": "" }, { "docid": "a4d02879396686c93670b82e89806a4f", "score": "0.46008766", "text": "XMLGregorianCalendar getGdhReelFin();", "title": "" }, { "docid": "0dd0f8fae4a78db7718b5a366657113b", "score": "0.46003553", "text": "public SchedulableTypeE getSchedulableType(Name s)\n\t{\n\t\tfor (TypeElement elem : type_elements)\n\t\t{\n\t\t\t// System.out.println(\"+++ simpleName = \"+elem.getSimpleName()\n\t\t\t// +\" +++\");\n\t\t\tif (elem.getSimpleName().contentEquals(s))\n\t\t\t{\n\t\t\t\tTypeMirror superclass = elem.getSuperclass();\n\n\t\t\t\tif (superclass.toString().contains(\n\t\t\t\t\t\tMANAGED_THREAD_QUALIFIED_NAME))\n\t\t\t\t{\n\t\t\t\t\treturn SchedulableTypeE.MT;\n\t\t\t\t}\n\n\t\t\t\tif (superclass.toString().contains(\n\t\t\t\t\t\tMISSION_SEQUENCER_QUALIFIED_NAME))\n\t\t\t\t{\n\t\t\t\t\treturn SchedulableTypeE.SMS;\n\t\t\t\t}\n\n\t\t\t\tif (superclass.toString().contains(\n\t\t\t\t\t\tPERIODIC_EVENT_HANDLER_QUALIFIED_NAME))\n\t\t\t\t{\n\t\t\t\t\treturn SchedulableTypeE.PEH;\n\t\t\t\t}\n\n\t\t\t\tif (superclass.toString().contains(\n\t\t\t\t\t\tAPERIODIC_EVENT_HANDLER_QUALIFIED_NAME))\n\t\t\t\t{\n\t\t\t\t\treturn SchedulableTypeE.APEH;\n\t\t\t\t}\n\n\t\t\t\tif (superclass.toString().contains(\n\t\t\t\t\t\tONE_SHOT_EVENT_HANDLER_QUALIFIED_NAME))\n\t\t\t\t{\n\t\t\t\t\treturn SchedulableTypeE.OSEH;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\treturn null;\n\n\t}", "title": "" }, { "docid": "c6d01becc29e9a960b67b0d16756391f", "score": "0.45952865", "text": "public TypeResiliation getTypeResiliation() {\n\t\treturn typeResiliation;\n\t}", "title": "" }, { "docid": "d2f40cf6b5f1ccc0721cb20d72646c27", "score": "0.4584436", "text": "ITypeDescription getTypeDescription();", "title": "" }, { "docid": "26baa9369670e8f3e8ec6fe41f3331f3", "score": "0.45825994", "text": "public String getType()\r\n {\r\n return getAttributeValue(\"type\");\r\n }", "title": "" }, { "docid": "6e46470d9a54efc8ecc99ec55c477cc1", "score": "0.45768997", "text": "java.lang.String getPathType();", "title": "" }, { "docid": "0440b245fa6be064b2639af29734e8f1", "score": "0.45753625", "text": "public String getType();", "title": "" }, { "docid": "0440b245fa6be064b2639af29734e8f1", "score": "0.45753625", "text": "public String getType();", "title": "" }, { "docid": "0440b245fa6be064b2639af29734e8f1", "score": "0.45753625", "text": "public String getType();", "title": "" }, { "docid": "0440b245fa6be064b2639af29734e8f1", "score": "0.45753625", "text": "public String getType();", "title": "" }, { "docid": "0440b245fa6be064b2639af29734e8f1", "score": "0.45753625", "text": "public String getType();", "title": "" }, { "docid": "0440b245fa6be064b2639af29734e8f1", "score": "0.45753625", "text": "public String getType();", "title": "" }, { "docid": "0440b245fa6be064b2639af29734e8f1", "score": "0.45753625", "text": "public String getType();", "title": "" }, { "docid": "0440b245fa6be064b2639af29734e8f1", "score": "0.45753625", "text": "public String getType();", "title": "" }, { "docid": "59a077ba0729e33f3be4ba9db08cf13c", "score": "0.45751014", "text": "@Override\n\tpublic String toString() {\n\t\treturn getClass().getSimpleName() + \"(\" + pattern.toString() + \")\";\n\t}", "title": "" }, { "docid": "1f06e5642eaba7778b367830ea623d3e", "score": "0.4574635", "text": "@Schema(description = \"Define the interval at which the meeting should recur. For instance, if you would like to schedule a meeting that recurs every two months, you must set the value of this field as `2` and the value of the `type` parameter as `3`. For a daily meeting, the maximum interval you can set is `90` days. For a weekly meeting the maximum interval that you can set is of `12` weeks. For a monthly meeting, there is a maximum of `3` months. \")\n public Integer getRepeatInterval() {\n return repeatInterval;\n }", "title": "" }, { "docid": "695ee82c633bc2ff5e32f81ec27eb665", "score": "0.4552226", "text": "public static com.ibm.ws.webservices.engine.description.TypeDesc getTypeDesc() {\n return typeDesc;\n }", "title": "" }, { "docid": "8460872b1e5c02fca6751f1d872c43e7", "score": "0.4549629", "text": "String getResourceType();", "title": "" }, { "docid": "9eed310b1a197a85453557427bf1b73b", "score": "0.45435745", "text": "public final int\n getIntervalStartHour() { return intervalStartHour_; }", "title": "" }, { "docid": "99e2b51f25a3649ac8a4920cebc490e4", "score": "0.45433584", "text": "XMLGregorianCalendar getGdhReelDebut();", "title": "" }, { "docid": "e8dda0530bb005523efdbeefe1788f15", "score": "0.4531622", "text": "@XmlAttribute\n @XmlQNameEnumRef(OrdinanceType.class)\n public URI getType() {\n return type;\n }", "title": "" }, { "docid": "4ced694fb5ba77f4e923bf97bec2a712", "score": "0.45297348", "text": "int getElemType();", "title": "" }, { "docid": "4ced694fb5ba77f4e923bf97bec2a712", "score": "0.45297348", "text": "int getElemType();", "title": "" }, { "docid": "6a71cfa083f181cef05436608b0dc19e", "score": "0.4528219", "text": "public TypePattern getDetachedLabilesPattern() {\n\t\tTypePattern conf = new TypePattern();\n\t\tif( bracket==null )\n\t\t\treturn conf;\n\n\t\tfor( Linkage l : bracket.getChildrenLinkages() ) \n\t\t\tif( l.getChildResidue().isLabile() )\n\t\t\t\tconf.add(l.getChildResidue().getTypeName());\n\t\treturn conf;\n\t}", "title": "" }, { "docid": "66ee3040e7221be0a5cb22db42ab7a7f", "score": "0.45251936", "text": "public java.lang.String getType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "title": "" }, { "docid": "42507cb3305d841a5b87462e07a05ae0", "score": "0.45195973", "text": "String getUsageType();", "title": "" }, { "docid": "b1177b1eceb18a967c6bf8e274ab88e8", "score": "0.4514959", "text": "public String getResType()\r\n\t{\r\n\t\tif (!isEnbaleI18N())\r\n\t\t{\r\n\t\t\treturn type;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn resType != null ? resType : getResStringValue(\"INSP_TYPE\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c654812c0fd51111eeb31f8077a51202", "score": "0.45129576", "text": "public java.lang.String getRegtype() {\n java.lang.Object ref = regtype_;\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 regtype_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "316205188d8679a8dc1bdcb8305ba22b", "score": "0.4510612", "text": "public String getType() {\n//$Section=Attribute get$ID=3FB39ED302A7$Preserve=no\n return iType;\n//$Section=Attribute get$ID=3FB39ED302A7$Preserve=no\n }", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" }, { "docid": "7febe900d9e379027a5e92be45e4789d", "score": "0.45035347", "text": "String getType();", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e5ce7b3ccdb71137e631d7d4dd32f9b1", "score": "0.0", "text": "@Override\n public void addCartItem(CartItem cartItem) {\n\tcartItemDao.addCartItem(cartItem);\n }", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "b8a45528a3f2e2c5ca531b00160fddfb", "score": "0.66538197", "text": "@Override\n\tpublic void nacer() {\n\n\t}", "title": "" }, { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.6646134", "text": "public void mo3640e() {\n }", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "5314003d8592219f71035b81985fabc0", "score": "0.64631", "text": "@Override\n\tpublic void roule() {\n\t\t\n\t}", "title": "" }, { "docid": "d0a79718ff9c5863618b11860674ac5e", "score": "0.6461734", "text": "@Override\n\tpublic void comer() {\n\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f9de8c9acb961a9d05ed00de5fe361e7", "score": "0.60638905", "text": "@Override\n\tpublic void seRetrage() {\n\t\t\n\t}", "title": "" }, { "docid": "483ae2cb94563f8e11864a532e44b464", "score": "0.606149", "text": "@Override\r\n public void perturb() {\n \r\n }", "title": "" }, { "docid": "e41230eaa4480036f1db3ae4856b5e2c", "score": "0.6048755", "text": "@Override\n\tpublic void evoluer() {\n\t\t\n\t}", "title": "" }, { "docid": "1fd4f5b0b471084e004373c89c1cf248", "score": "0.6040993", "text": "@Override\r\n\tpublic void sen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6023245", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "432a53d7cc7bff50c3cce7662418fe22", "score": "0.60228735", "text": "private static void daelijeom() {\n\t\t\n\t}", "title": "" }, { "docid": "feb1a9485d06df38283881186fb528a9", "score": "0.6014977", "text": "@Override\n \tprotected void initialize() {\n \n \t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.6005143", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "609ec2ff060d9d4cb0276468f482734d", "score": "0.59771466", "text": "public void mo89673a() {\n }", "title": "" }, { "docid": "f3ea867fdaa4b61546bfc393614a093c", "score": "0.59687567", "text": "@Override\n\tpublic void setingInicial() {\n\t\t\n\t}", "title": "" }, { "docid": "3211287bc24304a8ca2975647e8a262e", "score": "0.59549016", "text": "public void mo1702b() {\n }", "title": "" }, { "docid": "e98e1f8ddb7a94a5d95c29c94232f737", "score": "0.5943817", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2d61391fe8770661f25917f3770f2a26", "score": "0.5926535", "text": "@Override\n\t\tpublic void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a55a150557f80abcbd733ee3162b0661", "score": "0.5925673", "text": "private void m18301a() {\n }", "title": "" }, { "docid": "6a8c6480f9fa5ab89d0437d00ffffccc", "score": "0.591947", "text": "@Override\n public void tirer() {\n\n }", "title": "" }, { "docid": "8f8a1c1dfa100614be8cac1247e068d5", "score": "0.59192646", "text": "@Override\r\n\t\t\tpublic void work() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "619a28ba3c7707bdf8bb1451d5c3d12b", "score": "0.5910928", "text": "public void mo25069a() {\n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "3e6e2e657db69bfc88c40c8467801266", "score": "0.5899844", "text": "@Override\r\n\tpublic void ben() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1134c4caabd33b9bbd414763740fddde", "score": "0.5896682", "text": "@Override\n\tpublic void respirar() {\n\n\t}", "title": "" }, { "docid": "ab499170bffb402933a50d63a97e69dd", "score": "0.5896488", "text": "@Override\r\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "1dc1426b3b1c079ac18377166a6b34d3", "score": "0.5893354", "text": "@Override\n public int getOrder() {\n return 0;\n }", "title": "" }, { "docid": "f737e2251cf43d326f43b44297696e55", "score": "0.58891016", "text": "@Override\n\tpublic void patrol() {\n\n\t}", "title": "" }, { "docid": "de8c2aa495b8cdade7e8895e58745ea2", "score": "0.5887025", "text": "public void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.5886342", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "13e4409784fd6f872b474e6effe9726e", "score": "0.5879506", "text": "@Override\n protected void initialization() {\n\n\n\n }", "title": "" }, { "docid": "bafce2e94d56e61baeadcb37047f6035", "score": "0.5858384", "text": "@Override\n\tprotected void postprocess() {\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.585451", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "9f52ad7c10a190c6268e275fdb4c1581", "score": "0.5853263", "text": "@Override\n\tpublic void jealous() {\n\t\t\n\t}", "title": "" }, { "docid": "cdf2a119ee69429ad4420d45c29db1b6", "score": "0.5849137", "text": "@Override\n\tpublic void netword() {\n\t\t\n\t}", "title": "" }, { "docid": "2bcac1bab4eaa6c9cc4cb7e33c684cef", "score": "0.5848443", "text": "public void mo1691a() {\n }", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.584121", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "339f0371e7ea38d751e17fe6de3b3608", "score": "0.58367133", "text": "@Override\n\tpublic void crecer() {\n\n\t}", "title": "" }, { "docid": "6ed3e363c02164bd00163fa46e2c48c2", "score": "0.58366287", "text": "@Override\n public void init_moduule() {\n \n }", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "3ea264268cd945e9281ac9d06e9bb7c5", "score": "0.5829954", "text": "@Override\n\tpublic void euphoria() {\n\t\t\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "b04ed49986fb3f4321a90ec19ab7f86d", "score": "0.57759553", "text": "@Override\n public void alistar() {\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57732296", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "10e00e5505d97435b723aeadb7afb929", "score": "0.57712233", "text": "@Override\n\tpublic void pintar2() {\n\t\t\n\t}", "title": "" }, { "docid": "683eea6c39ec4e6df90f6be05200559d", "score": "0.5769485", "text": "@Override\r\n public void confer(){\n \r\n }", "title": "" }, { "docid": "728d084a23664ecf9b5c04acb6367b9c", "score": "0.5769356", "text": "@Override\r\n\tpublic void descarnsar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "359987993ad84757f9d7a12eaf38d2d7", "score": "0.5769273", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "0e6111ae009ad752a364e5e9fb168e98", "score": "0.5768801", "text": "@Override\n\tpublic void volumne() {\n\t\t\n\t}", "title": "" }, { "docid": "3f651ef5a6fad17e313e8da4ea72b6e3", "score": "0.57645357", "text": "@Override\n\tpublic void CT() {\n\t\t\n\t}", "title": "" }, { "docid": "615018f0186427ab904e872db6726b2d", "score": "0.5759138", "text": "@Override\n public void init()\n {\n \n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e634836bc1d61a011e04bfb67a971792", "score": "0.5745885", "text": "@Override\r\n\tpublic void sair() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a7cff18dc205a0d79dbe54bb988e6894", "score": "0.57428306", "text": "public void emettreSon() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "ac5a7a92eda66d2b7ef40199230fa4af", "score": "0.5731894", "text": "@Override\n\tpublic void arbeiteInPizzeria() {\n\n\t}", "title": "" }, { "docid": "d1c2c284b75d7d46145b6f407496cd96", "score": "0.5725441", "text": "@Override\n\t\tprotected void initParameters() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "65022f0bb57de78da8518cd156b102e6", "score": "0.57112384", "text": "private void init(){\n\t\t\t\n\t\t}", "title": "" }, { "docid": "216da885329e8d80cdc3490fda895c11", "score": "0.57087225", "text": "@Override\n\tpublic void yaz1() {\n\t\t\n\t}", "title": "" }, { "docid": "3c6f91c038ca7ffdab72b5c233b827c5", "score": "0.5705329", "text": "@Override\n\tprotected void initMethod() {\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d3ea98d4cf6d33f166c8de2a1f7ab5a5", "score": "0.5697742", "text": "@Override\r\n\tpublic void Collusion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f3e16954465fbae384d88f411211419", "score": "0.56972444", "text": "@Override\r\n public int E_generar() {\r\n return 0;\r\n }", "title": "" }, { "docid": "365a661b2084f764f5e458915ff735ac", "score": "0.56864643", "text": "@Override\n public int getMunition() {\n return 0;\n }", "title": "" }, { "docid": "40539b782464082aab77fae6b047eade", "score": "0.5681723", "text": "@Override\n\tprotected int get_count() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.56774884", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "5f628d368579dd40ef68362831006940", "score": "0.56769013", "text": "@Override\n\tpublic void fahreFahrzeug() {\n\n\t}", "title": "" }, { "docid": "5ae17f2516c21590c850e6758048effe", "score": "0.56625473", "text": "@Override\n public int getID()\n {\n return 0;\n }", "title": "" }, { "docid": "b8cd427648ea50c94f93c47d407d10a0", "score": "0.5660459", "text": "public void mo3639d() {\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" } ]
46b7f41adac3b2fd18ae365d54e1ecf9
optional string value = 2;
[ { "docid": "25c831dc41a0645e64710ca7a4cf8d65", "score": "0.0", "text": "public java.lang.String getValue() {\n java.lang.Object ref = value_;\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 value_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" } ]
[ { "docid": "c7c0434bb2797755842ed7dc4a7d8a25", "score": "0.61749595", "text": "public void addValue(String value) {\n }", "title": "" }, { "docid": "b49b22d0d4c0c7045763958b175e8d6d", "score": "0.6065197", "text": "public void setValue(String value) { this.value = value; }", "title": "" }, { "docid": "3aee377b4f6f1f11a236698a9a0d08a1", "score": "0.6040844", "text": "public void setValue(String value)\n/* */ {\n/* 291 */ this.value = value;\n/* */ }", "title": "" }, { "docid": "72fcc17e273b4f57dc0f5725a7e362e1", "score": "0.59483105", "text": "public void setType(String value) {\n set(2, value);\n }", "title": "" }, { "docid": "9c70f7858a95ea46495e715952a4a506", "score": "0.5852362", "text": "public void setValue(String value);", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "01bcc1f7d0094cd15c9cce7a8373ee43", "score": "0.58515257", "text": "java.lang.String getValue();", "title": "" }, { "docid": "d85b9ff1b3adff4a23daa83cb0955ad3", "score": "0.58452713", "text": "private enumStrings(int value){\n this.value = value;\n }", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "ba1d0ea60c53e8cc239d6662b79afc8c", "score": "0.58325183", "text": "String getValue();", "title": "" }, { "docid": "2fbea324d6cdeae0129b4eb4cf2ec25d", "score": "0.5823456", "text": "public void setValue(String value)\n {\n this.value_ = value;\n }", "title": "" }, { "docid": "f6bd4b76e41ad5ff5a31a16d7c17e341", "score": "0.5820582", "text": "public void setValue (String Value);", "title": "" }, { "docid": "3e493f344ce3838849c2c22cace1c2fb", "score": "0.5808145", "text": "public void setValue(String value){\n\tthis.value = value;\n }", "title": "" }, { "docid": "ea13e1c95053a61af111f6478bdfe8d3", "score": "0.5786259", "text": "public void setUser2_ID (int User2_ID)\n{\nif (User2_ID <= 0) set_Value (\"User2_ID\", null);\n else \nset_Value (\"User2_ID\", new Integer(User2_ID));\n}", "title": "" }, { "docid": "0680934fe7662ce576d36e376c75572d", "score": "0.5785242", "text": "public void setC_Activity_ID (int C_Activity_ID)\n{\nif (C_Activity_ID <= 0) set_Value (\"C_Activity_ID\", null);\n else \nset_Value (\"C_Activity_ID\", new Integer(C_Activity_ID));\n}", "title": "" }, { "docid": "727159bedb397d698ad65231c825c9ca", "score": "0.5778155", "text": "public void setC_ConversionType_ID (int C_ConversionType_ID)\n{\nif (C_ConversionType_ID <= 0) set_Value (\"C_ConversionType_ID\", null);\n else \nset_Value (\"C_ConversionType_ID\", new Integer(C_ConversionType_ID));\n}", "title": "" }, { "docid": "9dc8146eda27e7252e56ce7dadba3049", "score": "0.5771812", "text": "java.lang.String getValue5();", "title": "" }, { "docid": "4ab08c6c209b5dfcfbb9d3d6151cbe16", "score": "0.57170796", "text": "public void setC_Project_ID (int C_Project_ID)\n{\nif (C_Project_ID <= 0) set_Value (\"C_Project_ID\", null);\n else \nset_Value (\"C_Project_ID\", new Integer(C_Project_ID));\n}", "title": "" }, { "docid": "6ef466c371b887c2f3f6409f6cf1c2b7", "score": "0.569999", "text": "public void setUser1_ID (int User1_ID)\n{\nif (User1_ID <= 0) set_Value (\"User1_ID\", null);\n else \nset_Value (\"User1_ID\", new Integer(User1_ID));\n}", "title": "" }, { "docid": "705548414c8e32c41a6a84a71696ea5c", "score": "0.569608", "text": "public void setC_Payment_ID (int C_Payment_ID)\n{\nif (C_Payment_ID <= 0) set_Value (\"C_Payment_ID\", null);\n else \nset_Value (\"C_Payment_ID\", new Integer(C_Payment_ID));\n}", "title": "" }, { "docid": "09d4fd4abd4aec01d4780ce54678d728", "score": "0.5692531", "text": "boolean addValue(String value);", "title": "" }, { "docid": "2b21c47fcdb3cfa7543caa82e99bfbc4", "score": "0.56837696", "text": "public void setC_Charge_ID (int C_Charge_ID)\n{\nif (C_Charge_ID <= 0) set_Value (\"C_Charge_ID\", null);\n else \nset_Value (\"C_Charge_ID\", new Integer(C_Charge_ID));\n}", "title": "" }, { "docid": "25f1211ac15bd8108b7b6489db3c8ea4", "score": "0.5675422", "text": "public void setC_Campaign_ID (int C_Campaign_ID)\n{\nif (C_Campaign_ID <= 0) set_Value (\"C_Campaign_ID\", null);\n else \nset_Value (\"C_Campaign_ID\", new Integer(C_Campaign_ID));\n}", "title": "" }, { "docid": "1e04f5e30d6222fea8a3c0ff541ee4e8", "score": "0.56656045", "text": "StrValue getStrValue();", "title": "" }, { "docid": "53dbb80f843504bce0c744b18c24bc73", "score": "0.56465465", "text": "AttributeParam getKindByValue(int value) {\n\t\tOptional<AttributeParam> param = kinds.stream()\n\t\t\t\t.filter(kind -> kind.getValue() == value)\n\t\t\t\t.findFirst();\n\t\t\n\t\tif(param.isPresent()) {\n\t\t\treturn param.get();\n\t\t}\n\t\tRuleRankLogger.warn(\"Value: \" + value + \" for kind type not found. Setting default value.\");\n\t\treturn kinds.get(0);\n\t}", "title": "" }, { "docid": "70cfe36d8a5c335e1b58b45effa359d4", "score": "0.5644419", "text": "String defaultValue();", "title": "" }, { "docid": "66efc704d0e389d1615ad005dbbf0342", "score": "0.5638", "text": "public void setValue(String paramString) {\n/* 506 */ this.value = paramString;\n/* */ }", "title": "" }, { "docid": "308729a5d7dab1e7dfed168e4421decf", "score": "0.5629633", "text": "@Override\r\n\tpublic void intValue(String value) {\n\t\tthis.value = value;\r\n\t}", "title": "" }, { "docid": "246768fba8fb26a34f0b6d25e52da694", "score": "0.56129074", "text": "public String getValue()\n/* */ {\n/* 281 */ return this.value;\n/* */ }", "title": "" }, { "docid": "8310b4cc532020b27e1f6acf8d7c476c", "score": "0.5607488", "text": "public void setValue ( String value)\r\n {\r\n this.value = value;\r\n }", "title": "" }, { "docid": "39c21cd59a772d080c9b5ad3c6aed6f1", "score": "0.55811435", "text": "public String getDefaultValue();", "title": "" }, { "docid": "f40a1d469b619e963f8debc00f7cc302", "score": "0.55799395", "text": "public void setC_DocType_ID (int C_DocType_ID)\n{\nset_ValueNoCheck (\"C_DocType_ID\", new Integer(C_DocType_ID));\n}", "title": "" }, { "docid": "f2a7c2cd80218f1cee065e91adf5ce19", "score": "0.5576843", "text": "public void setAD_User_ID (int AD_User_ID)\n{\nif (AD_User_ID <= 0) set_Value (\"AD_User_ID\", null);\n else \nset_Value (\"AD_User_ID\", new Integer(AD_User_ID));\n}", "title": "" }, { "docid": "f2a7c2cd80218f1cee065e91adf5ce19", "score": "0.5576843", "text": "public void setAD_User_ID (int AD_User_ID)\n{\nif (AD_User_ID <= 0) set_Value (\"AD_User_ID\", null);\n else \nset_Value (\"AD_User_ID\", new Integer(AD_User_ID));\n}", "title": "" }, { "docid": "841d177eed1dc2fb5dbd32b9a5a20571", "score": "0.5566303", "text": "String value();", "title": "" }, { "docid": "841d177eed1dc2fb5dbd32b9a5a20571", "score": "0.5566303", "text": "String value();", "title": "" }, { "docid": "e390ce54dd126138070f0bb8d4bee9a7", "score": "0.5564815", "text": "public void addValue(String value) {\n this.value = value;\n }", "title": "" }, { "docid": "0373907be646cc4e75279b8fbfa0268d", "score": "0.5552725", "text": "public void setC_POSJournal_ID (int C_POSJournal_ID)\n{\nif (C_POSJournal_ID <= 0) set_Value (\"C_POSJournal_ID\", null);\n else \nset_Value (\"C_POSJournal_ID\", new Integer(C_POSJournal_ID));\n}", "title": "" }, { "docid": "e7bb7c4af51ec1c2cbf9015ff53c5fe5", "score": "0.5550527", "text": "java.lang.String getStringValue();", "title": "" }, { "docid": "e36342bb47462034723343125be92a03", "score": "0.55476654", "text": "protected static <T> T requireValue(T value, String message) {\n if (value == null) {\n throw new IllegalArgumentException(message);\n }\n return value;\n }", "title": "" }, { "docid": "2d3a757029ac76a74948176c14bf4693", "score": "0.5547198", "text": "public String getConstraintValue() {\n/* 261 */ return (getConstraintType() == 0) ? null : this.fDefault\n/* */ \n/* 263 */ .stringValue();\n/* */ }", "title": "" }, { "docid": "5206ad189c44496b41888ba973885ed1", "score": "0.5540893", "text": "public int getDefaultValue();", "title": "" }, { "docid": "24faf40565c79a10f2dff593ab87490b", "score": "0.55376863", "text": "public abstract void setValueAsString(String value);", "title": "" }, { "docid": "3ff86420ba8a12cda84cc2c9f621ed8e", "score": "0.5537556", "text": "public void setAD_Role_ID (int AD_Role_ID)\n{\nif (AD_Role_ID <= 0) set_Value (\"AD_Role_ID\", null);\n else \nset_Value (\"AD_Role_ID\", new Integer(AD_Role_ID));\n}", "title": "" }, { "docid": "2ae3c311d4961b3f3778e9fa09057dc8", "score": "0.5536035", "text": "public void setValue(String value)\n {\n this.value = value;\n }", "title": "" }, { "docid": "fc2d073283434ff763dc58e46608e7b8", "score": "0.5531859", "text": "void setValue(String o) { \n \tvalue = o; }", "title": "" }, { "docid": "fa808a20f138723eba69a12463905205", "score": "0.5528667", "text": "@Override\n\tpublic void setValue(String arg0, String arg1) {\n\n\t}", "title": "" }, { "docid": "a30151898abb9a673e085dd0257f3c27", "score": "0.55149436", "text": "private void setTypeValue(int value) {\n type_ = value;\n }", "title": "" }, { "docid": "9928294262d026be09d5bc0460bfcffc", "score": "0.55129737", "text": "@Test\n public void noValue() {\n parser.add(\"empty\", Parser.STRING);\n assertEquals(Arrays.asList(), parser.getIntegerList(\"empty\"));\n }", "title": "" }, { "docid": "7176551115b3e9ee84019207ec7e7199", "score": "0.55112904", "text": "public void setC_POSPaymentMedium_ID (int C_POSPaymentMedium_ID)\n{\nif (C_POSPaymentMedium_ID <= 0) set_Value (\"C_POSPaymentMedium_ID\", null);\n else \nset_Value (\"C_POSPaymentMedium_ID\", new Integer(C_POSPaymentMedium_ID));\n}", "title": "" }, { "docid": "e91e4aa5e940aae9a5eaaf329494e7b9", "score": "0.55107987", "text": "public void setValue(String value) {\n this.value = value;\n }", "title": "" }, { "docid": "bf3ccb6540bc21287822a9768ded9bb6", "score": "0.5500994", "text": "String getStringTestValue();", "title": "" }, { "docid": "f02d1f222f7ac3098dc02c63e8421249", "score": "0.54990685", "text": "static NArg of(String value) {\n return new DefaultNArg(value);\n }", "title": "" }, { "docid": "300df55b64aa1c9c0f8023cd65842a61", "score": "0.5498422", "text": "public void setSalesRep_ID (int SalesRep_ID)\n{\nif (SalesRep_ID <= 0) set_Value (\"SalesRep_ID\", null);\n else \nset_Value (\"SalesRep_ID\", new Integer(SalesRep_ID));\n}", "title": "" }, { "docid": "266c72fee2652cfd1df788bd6f59e1f2", "score": "0.5480999", "text": "protected int valInteger(String name){\n assert name != null;\n return Convert.toInteger(val(name));\n }", "title": "" }, { "docid": "7fd2b9e826f0938de7b00cfedaf91202", "score": "0.5479823", "text": "public static int\r\nvalue(String s) {\r\n\treturn sections.getValue(s);\r\n}", "title": "" }, { "docid": "000f3b0841ed5abcf96143ccec31857b", "score": "0.5468811", "text": "public void setValue(String value)\n {\n this.value = value;\n }", "title": "" }, { "docid": "000f3b0841ed5abcf96143ccec31857b", "score": "0.5468811", "text": "public void setValue(String value)\n {\n this.value = value;\n }", "title": "" }, { "docid": "f33b7fc856b8996926b58df76ef210ce", "score": "0.54657334", "text": "public abstract String getStringValue();", "title": "" }, { "docid": "f33b7fc856b8996926b58df76ef210ce", "score": "0.54657334", "text": "public abstract String getStringValue();", "title": "" }, { "docid": "7c32e55a8bfbbfee8c67635b612f8baf", "score": "0.54637194", "text": "public void setC_Letra_Comprobante_ID (int C_Letra_Comprobante_ID)\n{\nif (C_Letra_Comprobante_ID <= 0) set_Value (\"C_Letra_Comprobante_ID\", null);\n else \nset_Value (\"C_Letra_Comprobante_ID\", new Integer(C_Letra_Comprobante_ID));\n}", "title": "" }, { "docid": "0e10866a0cd3e8b34d0afa7637f14ddc", "score": "0.5457573", "text": "@Override\r\n public String validate(String value) {\n return null;\r\n }", "title": "" }, { "docid": "94a20c1f46f777372121106b9e8c6a81", "score": "0.54465055", "text": "java.lang.String getStringvalue();", "title": "" }, { "docid": "21915a3d182f91141ea0fca7d2313b85", "score": "0.544367", "text": "public void setValue(String value){\n\t\tthis.value = value;\n\t}", "title": "" }, { "docid": "5756ba38a654db0430d35358a0749437", "score": "0.5442719", "text": "public void setAD_OrgTrx_ID (int AD_OrgTrx_ID)\n{\nif (AD_OrgTrx_ID <= 0) set_Value (\"AD_OrgTrx_ID\", null);\n else \nset_Value (\"AD_OrgTrx_ID\", new Integer(AD_OrgTrx_ID));\n}", "title": "" }, { "docid": "e41bb571eea41129801572eed57145c3", "score": "0.5423412", "text": "PatentSearchType(String value) {\n this.value = value;\n }", "title": "" }, { "docid": "1205db123bf7f301353f8ecb80452ca7", "score": "0.54226655", "text": "public abstract String getValue();", "title": "" }, { "docid": "1205db123bf7f301353f8ecb80452ca7", "score": "0.54226655", "text": "public abstract String getValue();", "title": "" }, { "docid": "99bfa0301c63c580904fbfd87f41dfe7", "score": "0.542126", "text": "private __MIDL___MIDL_itf_uc_0001_0046_0043(int value) { this.value = value; }", "title": "" }, { "docid": "5f51e11fd452541e7985a04c2d046d20", "score": "0.5416168", "text": "public GetIntegerAction(String paramString, int paramInt) {\n/* 90 */ this.theProp = paramString;\n/* 91 */ this.defaultVal = paramInt;\n/* 92 */ this.defaultSet = true;\n/* */ }", "title": "" }, { "docid": "fb0c056dafd51aaeccfac144029e6a4c", "score": "0.5415685", "text": "void setValue(String value) {\n this.value = value;\n }", "title": "" }, { "docid": "3718833b4102b90a6ea1c4d5bac9955c", "score": "0.54123473", "text": "public void setC_Region_ID (int C_Region_ID)\n{\nif (C_Region_ID <= 0) set_Value (\"C_Region_ID\", null);\n else \nset_Value (\"C_Region_ID\", new Integer(C_Region_ID));\n}", "title": "" }, { "docid": "657c4dea80edac52cffb81ba654a19e9", "score": "0.54104394", "text": "public void setValue(String value) {\r\n this.value = value;\r\n }", "title": "" }, { "docid": "8cc5bd50d3e060e120b79292ca533e6d", "score": "0.54097986", "text": "public void addValueMiss(String value) {\n writeString(value, 2);\n this.size++;\n }", "title": "" }, { "docid": "db4bf98af25518911a99a97ebcf4d2ea", "score": "0.54049903", "text": "public static AddonType get(int value) {\n\t\tswitch (value) {\n\t\t\tcase EXTRA_SEAT_VALUE: return EXTRA_SEAT;\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "8476dc037de652877122b2a169f788b8", "score": "0.5403256", "text": "public void setPuntoDeVenta (int PuntoDeVenta)\n{\nset_Value (\"PuntoDeVenta\", new Integer(PuntoDeVenta));\n}", "title": "" }, { "docid": "26461a31df1bfda407bf71a727305f89", "score": "0.5401137", "text": "PieceType(int value, String typeString) {\n this.value = value;\n this.typeString = typeString;\n }", "title": "" }, { "docid": "61a83b1adc819159d9af8ebde914a41e", "score": "0.5398085", "text": "void setValue(int value);", "title": "" }, { "docid": "7b505955dc4e38af00a23eba6e983c10", "score": "0.5394285", "text": "public String getValue() {\n/* 517 */ return this.value;\n/* */ }", "title": "" }, { "docid": "f68e57db6a8a87e5d94f8ca19d3b5e1b", "score": "0.53891575", "text": "String fieldValueRule1(String stringVal);", "title": "" }, { "docid": "08870e0d8f76781db7c918b134bb888a", "score": "0.5385183", "text": "public void setW_Differences_Acct (int W_Differences_Acct)\n{\nset_Value (\"W_Differences_Acct\", new Integer(W_Differences_Acct));\n}", "title": "" }, { "docid": "c259a820358bff865dc843a3538cb276", "score": "0.5383343", "text": "String getValidationValue();", "title": "" } ]
837012f80b13a41e461395b16188f63e
This method was generated by MyBatis Generator. This method corresponds to the database table borrow_product
[ { "docid": "8c8e3f4da30a693a954095e45e6ed4ed", "score": "0.0", "text": "public void setOrderByClause(String orderByClause) {\n this.orderByClause = orderByClause;\n }", "title": "" } ]
[ { "docid": "8c00909e97f281b989d10a0212b0e074", "score": "0.57872623", "text": "@MyBatisDao\npublic interface GroupBuyDao extends CrudDao<GroupBuy> {\n GroupBuyDto getGroupBuy(GroupBuyDto groupBuyDto);\n String getGroupBuyByProductId(String productId);\n}", "title": "" }, { "docid": "97f5b81a2c586f6d0b8d7dd898f589d6", "score": "0.5654334", "text": "public void insertViewProduct(ProductBeanIn_U001 input);", "title": "" }, { "docid": "e608cb74755b4a5a6b8244f6da7b92e7", "score": "0.56388736", "text": "@Override\n public KwlReturnObject getOpeningQuantityAndInitialPrice(String companyId, String productId) throws ServiceException {\n List list = new ArrayList();\n String sqlQuery = \"select inv.quantity, pl.price from inventory inv left \\n\"\n + \"join ( select p1.*, IF(uom.name = 'N/A', ' ', uom.name) as productuomname, prodtype.name as producttypename from product p1 left \\n\"\n + \"join uom on uom.id = p1.unitOfMeasure left \\n\"\n + \"join producttype prodtype on prodtype.id = p1.producttype where p1.company = ? ) as p on p.id = inv.product left \\n\"\n + \"join pricelist pl on pl.product = p.id and pl.affecteduser = '-1' and pl.carryin='T' and pl.uomid = p.unitOfMeasure and pl.currency=p.currency and (pl.applydate =(select max(applydate) as ld from pricelist where pricelist.product=inv.product and pricelist.carryin='T' and pricelist.uomid = p.unitOfMeasure and pricelist.currency=pl.currency and pricelist.affecteduser='-1' and pricelist.applydate<=inv.updatedate and inv.company=? and p.deleteflag = 'F' and p.isasset!='1' and p.producttype NOT IN ('f071cf84-515c-102d-8de6-001cc0794cfa','4efb0286-5627-102d-8de6-001cc0794cfa','a6a350c4-7646-11e6-9648-14dda97925bd','a839448c-7646-11e6-9648-14dda97925bd') group by inv.product)) left \\n\"\n + \"join locationbatchdocumentmapping lbdm on p.id=lbdm.documentid inner \\n\"\n + \"join newproductbatch npb on lbdm.batchmapid=npb.id where inv.newinv='T' and inv.defective='F' and inv.carryin='T' and inv.company = ? and inv.quantity!=0 and p.deleteflag = 'F' and p.isasset!='1' and p.producttype NOT IN ('f071cf84-515c-102d-8de6-001cc0794cfa','4efb0286-5627-102d-8de6-001cc0794cfa','a6a350c4-7646-11e6-9648-14dda97925bd','a839448c-7646-11e6-9648-14dda97925bd') and inv.product = ?\";\n list = executeSQLQuery(sqlQuery, new Object[]{companyId, companyId, companyId, productId});\n return new KwlReturnObject(true, \"\", \"\", list, list.size());\n }", "title": "" }, { "docid": "f363793b642d67e30d803622f78a9b99", "score": "0.56184155", "text": "@Override\npublic List<BuyProduct> getAllProduct() {\n\treturn buy.findAllProduct();\n}", "title": "" }, { "docid": "15c058369826325552bd6136d580eded", "score": "0.558704", "text": "public interface ProductDao {\n\n Product findDefaultProduct(@Param(value = \"goodsId\") Integer goodsId);\n\n List<Product> findGoodsProducts(@Param(value = \"goodsId\")Integer goodsId);\n\n @Select(\"select id, allocated_stock,cost,exchange_point,market_price,\"\n + \"price,reward_point,sn, specification_values, stock from \"\n + \"xx_product where id = #{productId}\")\n Product findById(@Param(value = \"productId\") Integer productId);\n\n @Update(\"update xx_product set allocated_stock = #{allocatedStock} where id = #{productId} and stock >= #{allocatedStock}\")\n int updateAllocatedStock(@Param(value = \"productId\")Integer id, @Param(value = \"allocatedStock\")int allocatedStock);\n}", "title": "" }, { "docid": "a46545871705da009f142dabf6c8fd2c", "score": "0.5576481", "text": "public ArrayList<Burgers> getProductList()\n{\n\tArrayList<Burgers>productList = new ArrayList<Burgers>();\n try{\n Connection con = (Connection) DriverManager.getConnection(\"jdbc:mysql://localhost/pburgerapp\", \"root\",\"ibk\"); \n String query = \"SELECT* FROM burgers\";\n\t\n\tStatement st;\n\tResultSet rs;\n \n st = (Statement) con.createStatement();\t\n rs = st. executeQuery(query);\n Burgers product;\n while (rs.next())\n {\n product=new Burgers(rs.getString(\"BurgerID\"), rs.getString(\"BurgerName\"), Float.parseFloat(rs.getString(\"Price\")),\n rs.getBytes(\"BurgerPicture\"));\n productList.add(product);\n }\n}\ncatch(SQLException ex){\nLogger.getLogger(AddBurger.class.getName()).log(Level.SEVERE, null, ex);\n}\nreturn productList;\n\n}", "title": "" }, { "docid": "d7a271e16d1dc716566bd49cd6e7b1a3", "score": "0.5499249", "text": "@Override\n\tpublic List<PblancProductVO> pblancProductList(Map<String, String> params)\n\t\t\tthrows SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "be47436a8134eaa70df2548b9a9116f8", "score": "0.5478274", "text": "@Override\n public List<Product> searchProducts(Product product) {\n StringBuffer sql = new StringBuffer()\n .append(\"SELECT c.rmm_supply_categories_id, p_key, p_type, p_description, p_cost, \")\n .append(\" p_status, p_name, p_quality, p_cut, p_size, p_shape, p_size_carat, p_color, p_ster_quality, \")\n .append(\" p_add_user_id, p_add_date, p_mtc_user_id, p_mtc_date, p_last_copied_date \")\n .append(\"FROM rmm_product p, rmm_supply_categories c\")\n .append(\"WHERE p.rmm_supply_categories_id = c.rmm_supply_categories_id\");\n\n List<Map<String, Object>> productDataList = jdbcTemplate.query(\n sql.toString(), \n new ColumnMapRowMapper());\n\n return mapProduct(productDataList);\n }", "title": "" }, { "docid": "7adc43061bfa82e2c44d03f640d6f287", "score": "0.5437668", "text": "@MyBatisDao\npublic interface GroupBuyCustomerDao extends CrudDao<GroupBuyCustomer> {\n void insertGroupBuyCustomer(GroupBuyCustomerDto groupBuyCustomerDto);\n List<Map<String,Object>> getJoinedCustomers(@Param(\"groupBuySponsorId\")String groupBuySponsorId);\n List<Map<String,Object>> getGroupBuyInfo(@Param(\"paymentId\")String paymentId);\n GroupBuyCustomerDto getGroupBuyCustomer(GroupBuyCustomerDto groupBuyCustomerDto);\n void updateGroupBuyCustomer(GroupBuyCustomerDto groupBuyCustomerDto);\n List<GroupBuyCustomer> findListBySponsorId(String sponsorId);\n String getShopIdByGroupBuySponsorId(@Param(\"groupBuySponsorId\")String groupBuySponsorId);\n}", "title": "" }, { "docid": "c31e757ce205dcd76d6c466110d6b485", "score": "0.53793603", "text": "public FrameBuyProduct() throws SQLException {\n initComponents();\n initComboBoxCuaHang();\n initSelectRowEventListener();\n chooseCuahang();\n }", "title": "" }, { "docid": "26ae50b25ce9513a03e8771d289414db", "score": "0.5369761", "text": "@Override\n public String toString(){\n return \"BARGAIN|\" + this.getProduct().getId() + \"|\" + this.getProduct().getPrice();\n }", "title": "" }, { "docid": "332f8834e5d675735d08c9fc221830f2", "score": "0.5362012", "text": "@Override\r\n\tpublic List<EProduct> getAllProduct() throws SQLException {\n\r\n\t\treturn new EProductDaoImpl().getAllProduct();\r\n\t}", "title": "" }, { "docid": "a79440366658f31a046aa954aa3d5f72", "score": "0.53528285", "text": "@ShellMethod(value = \"Pobiera liste produktów zapisanych do bazy.\", key = {\"LP\", \"list-products\", \"lp\"})\n public Table listProduct() {\n ArrayList<String> properties = new ArrayList<>();\n properties.add(\"id\");\n properties.add(\"name\");\n properties.add(\"mark\");\n properties.add(\"category\");\n properties.add(\"additionalRemarks\");\n return this.tableService.getTable(this.mongoService.getUniqueList(\"products\"), properties);\n }", "title": "" }, { "docid": "4ff82836dffcd0029f6a2c1f7f218660", "score": "0.53264636", "text": "public List<Map<String,Object>> prod_fb(long prod_id,String prod_rs_id,String start_date,String end_date){\r\n\t\tString sql=\"select a.cust_no,a.prod_no ,a.order_version, a.order_no,c.cust_name,b.prod_id,b.return_money,\"\r\n\t\t\t\t+ \"b.return_coe,b.shkno,b.return_date, d.sales_id, d.sales_name,d.order_version, oi.org_name from order_info a\t\"\r\n\t\t\t\t+ \"inner join sale_order d on a.order_no=d.order_no and a.stateflag='0' \"\r\n\t\t\t\t+ \"left join product_return_sale b on b.prod_id = a.prod_no \"\r\n\t\t\t\t+ \"left join cust_info c on c.cust_id = a.cust_no\t\"\r\n\t\t\t\t+ \"left join org_info oi on oi.org_id = a.cust_no \"\r\n\t\t\t\t+ \"where a.prod_no=? and prod_flag='4' and a.is_checked='2' and shkno =? and return_date \"\r\n\t\t\t\t+ \"between cast(? as date) and cast(? as date) \";\r\n\t\treturn jt.queryForList(sql,prod_id,prod_rs_id,start_date,end_date);\r\n\t}", "title": "" }, { "docid": "8ada6d1b310861ebecf04ba1412978f0", "score": "0.53056896", "text": "@Gateway(requestChannel = \"inputBookingChannel\", replyChannel = \"outputBookingChannel\")\n void bookProduct(Product product);", "title": "" }, { "docid": "a25612784235c89a342a3e9a9e0097bd", "score": "0.5300148", "text": "@Override\n\tpublic PblancProductVO pblancProductInfo(Map<String, String> params)\n\t\t\tthrows SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c7ae7ad483b6bb6aec9ba0cd143a930d", "score": "0.52772176", "text": "public ObservableList<Product> setProducts(Product product)\n {\n productTable1.add(0, product); \n return productTable1;\n }", "title": "" }, { "docid": "928d2097984ff84865f43b071d884d34", "score": "0.527529", "text": "public DbResult product(@NotNull Product product) throws Exception {\n // Return empty if entity Substance exists.\n for (Substance newSubstance : product.getProduct().keySet() ){\n if(!new Select().findProduct(newSubstance.getName()).isEmpty()){return new DbResult(newSubstance);}\n }\n\n Set<HashMap> results = new HashSet();\n for( Substance substance: product.getProduct().keySet() ){\n for( Tab tab : product.getProduct().get(substance).keySet() ){\n for ( Category category : product.getProduct().get(substance).get(tab).keySet() ){\n for ( Item item : product.getProduct().get(substance).get(tab).get(category).keySet() ){\n for ( Tag tag : product.getProduct().get(substance).get(tab).get(category).get( item ) ){\n // Insert keys with value at each iteration.\n results.add(product(substance, tab, category, item, tag).getResult(HashMap.class));\n }\n }\n }\n }\n }\n return new DbResult(results);\n }", "title": "" }, { "docid": "db5efbe907a974d78fff182de8024d02", "score": "0.52752113", "text": "private void modifyProduct () {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3b5299b0fc813d6e75537f0ff0271724", "score": "0.52696395", "text": "List<Produto> listaProduto(String nome) throws SQLException;", "title": "" }, { "docid": "7b00975b101da34110c0db1ce8d56537", "score": "0.5266603", "text": "public List getOrder_productList() throws DaoException;", "title": "" }, { "docid": "91ff913ca0a9b76399cfb95e3f586884", "score": "0.5265182", "text": "@Query (\"select p from product p where p.idproduct=:idproduct\") \n\tpublic List<Product> findProductById(@Param(\"idproduct\")int idproduct);", "title": "" }, { "docid": "169f4121c831b521e1475f833c41bd73", "score": "0.52501124", "text": "@Override\n @Transactional\n public void addProduct() {\n //To change body of implemented methods use File | Settings | File Templates.\n }", "title": "" }, { "docid": "f4ecfbe72dd9f1228ca8789fd0c9ca17", "score": "0.5248095", "text": "@Override\n\tpublic List<ProductModel> find() {\n\t\tString sql = \"SELECT * FROM PRODUCT\";\n\t\tProductMapper mapper = new ProductMapper();\n\t\tList<ProductModel> list = this.getJdbcTemplate().query(sql, mapper);\n\t\treturn list;\n\t}", "title": "" }, { "docid": "e8ba942e1265abfd3632df394a2e7426", "score": "0.52462244", "text": "private static void testProductDAO(ProductDAO pdao) throws SQLException {\n // Haal alle producten op uit de database\n List<Product> producten = pdao.findAll();\n System.out.println(\"[Test] ProductDAO.findAll() geeft de volgende producten:\");\n for (Product p : producten) {\n System.out.println(p);\n }\n System.out.println();\n\n // Maak een nieuw product aan en persisteer deze in de database\n String gbdatum = \"1981-03-14\";\n String geldig_tot = \"2021-03-14\";\n Product product = new Product(7, \"SDOV\", \"Studenten OV\", 12.55);\n System.out.print(\"[Test] Eerst \" + producten.size() + \" reizigers, na ProductenDAO.save() \");\n Reiziger sietske = new Reiziger(77, \"S\", null, \"Boers\", LocalDate.parse(gbdatum));\n OVChipkaart ov_chipkaart = new OVChipkaart(57788, LocalDate.parse(geldig_tot), 1, 2.50, sietske);\n OVChipkaart ov_chipkaart1 = new OVChipkaart(57789, LocalDate.parse(geldig_tot), 1, 5, sietske);\n product.addOv_chipkaart(ov_chipkaart);\n product.addOv_chipkaart(ov_chipkaart1);\n pdao.save(product);\n producten = pdao.findAll();\n System.out.println(producten.size() + \" reizigers\\n\");\n\n // Update een product in de database\n product.setNaam(\"Studenten OV\");\n System.out.print(\"[Test] Eerst product naam, \" + product.getNaam() + \" voor ProductenDAO.update() \");\n pdao.update(product);\n\n // Verwijder een product uit de database\n System.out.print(\"[Test] Eerst \" + producten.size() + \" producten, na ProductenDAO.delete() \");\n pdao.delete(product);\n producten = pdao.findAll();\n System.out.println(producten.size() + \" producten\\n\");\n\n // Haal een adres op aan de hand van een reiziger\n System.out.println(\"[Test] AdresDAO.findByReiziger() geeft de volgende reizigers:\");\n List<Product> productenr = pdao.findByOVChipkaart(ov_chipkaart);\n System.out.println(productenr);\n }", "title": "" }, { "docid": "00566c66004419109953b39b969e219b", "score": "0.5223727", "text": "public void badEconomy() throws SQLException{\n\t\tSet<String> product_types=Gateway.getProductTypes();\n\t\tproducts=Gateway.selectProducts(product_types);\t\n\t\tint percent_slash=-1;\n\t\tfor(int j=0;j<products.size();++j){\n\t\t\tfor(int k=0;k<products.get(j).size();++k){\n\t\t\t\tVector<Object> product=products.get(j).get(k);\n\t\t\t\tproduct.set(2, (int)product.get(2)+percent_slash);\n\t\t\t}\n\t\t}\n\t\tint budget_raise=1;\n\t\tfor(int i=0;i<customers.size();++i){\n\t\t\tcustomers.get(i).set(1, (int)customers.get(i).get(1)+budget_raise);\n\t\t}\n\t\tshop();\n\t}", "title": "" }, { "docid": "b7e044927547af9875a172c5cfebebc1", "score": "0.5219729", "text": "public List<Product> getList(String sql) {\n\t\t\t\t\t\n\t\tList<Product> productList = new ArrayList<Product>();\n\t\ttry {\n\t\t\tconn = dataSource.getConnection();\n\t\t\tsmt = conn.prepareStatement(sql);\n\t\t\trs = smt.executeQuery();\n\t\t\twhile(rs.next()){\n\t\t\t\tProduct aProduct = new Product();\n\t\t\t\tSupplier aSupplier = new Supplier();\n\t\t\t\taProduct.setP_Id(rs.getLong(\"P_ID\"));\n\t\t\t\taSupplier.setSupplier_Id(rs.getLong(\"Supplier_ID\"));\n\t\t\t\taProduct.setP_Name(rs.getString(\"P_Name\"));\n\t\t\t\taProduct.setP_Description(rs.getString(\"P_Description\"));\n\t\t\t\taProduct.setP_Quantity(rs.getInt(\"P_Quantity\"));\n\t\t\t\taProduct.setP_Safe(rs.getInt(\"P_Safe\"));\n\t\t\t\taProduct.setP_Size(rs.getString(\"P_Size\"));\n\t\t\t\taProduct.setP_Color(rs.getString(\"P_Color\"));\n\t\t\t\taProduct.setP_Price(rs.getInt(\"P_Price\"));\n\t\t\t\taProduct.setP_Category(rs.getString(\"P_Category\"));\n\t\t\t\taProduct.setP_Discount(rs.getInt(\"P_Discoumt\"));\n\t\t\t\tproductList.add(aProduct);\n\t\t\t}\n\t\t\trs.close();\n\t\t\tsmt.close();\n \n\t\t} catch (SQLException e) {\n\t\t\tthrow new RuntimeException(e);\n \n\t\t} finally {\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}\n\t\t}\n\t\treturn productList;\n\t}", "title": "" }, { "docid": "cc750046258cd022fcbfd7e79045f9dc", "score": "0.5216591", "text": "List<Balance> findBalancesByproductId(Integer productId);", "title": "" }, { "docid": "cf450cb92a476267b1497d75d91b0b3f", "score": "0.52149445", "text": "@Override\n\t\tpublic Product mapRow(ResultSet rs, int rowNum) throws SQLException {\n\t\t\tProduct product = new Product();\n\t\t\tproduct.setProdId(rs.getInt(\"pid\"));\n\t\t\tproduct.setProdName(rs.getString(\"pname\"));\n\t\t\tproduct.setProdCost(rs.getDouble(\"pcost\"));\n\t\t\tproduct.setProdGst(rs.getDouble(\"pgst\"));\n\t\t\tproduct.setProdDisc(rs.getDouble(\"pdisc\"));\n\t\t\treturn product;\n\t\t}", "title": "" }, { "docid": "932062ad128c87460d1cde5dd9bcd315", "score": "0.520495", "text": "public static String onlineBanking1(OnlineBookStoreBean onlineBookStoreBean) {\r\n\r\n\t\t// Keeping user entered values\r\n\t\tint custId = onlineBookStoreBean.getCustomerId();\r\n\t\tint custPin = onlineBookStoreBean.getPinNo();\r\n\t\tlong amount = onlineBookStoreBean.getPrice();\r\n\t\tString userName = onlineBookStoreBean.getUserName();\r\n\t\ttry {\r\n\t\t\t// establishing connection\r\n\t\t\tcon = DBConnection.createConnection();\r\n\r\n\t\t\t// Selecting the details in the payment tables\r\n\t\t\tstatement = con.prepareStatement(\"select customer_id,pin_number,balance from payment_bt\");\r\n\r\n\t\t\t// Executing the query and storing it in the result set\r\n\t\t\tresultSet = statement.executeQuery();\r\n\r\n\t\t\t// until next row is present otherwise it returns\r\n\t\t\t// fetch the present values\r\n\t\t\twhile (resultSet.next()) {\r\n\r\n\t\t\t\t// Storing the customer id, pin and balance in the table\r\n\t\t\t\tint custIdDB = resultSet.getInt(\"customer_id\");\r\n\t\t\t\tint custPinDB = resultSet.getInt(\"pin_number\");\r\n\t\t\t\tbalance = resultSet.getLong(\"balance\");\r\n\r\n\t\t\t\t// Checking whether the values entered are equal to the values in the table\r\n\t\t\t\tif (custId == custIdDB && custPin == custPinDB) {\r\n\r\n\t\t\t\t\t// checking whether the amount to pay is less than the account balance\r\n\t\t\t\t\tif (amount < balance) {\r\n\r\n\t\t\t\t\t\t// deducting bank balance\r\n\t\t\t\t\t\tremaining = balance - amount;\r\n\r\n\t\t\t\t\t\t// Updating the payment table\r\n\t\t\t\t\t\tsql = \"update payment_bt set balance=? where customer_id=?\";\r\n\t\t\t\t\t\tstatement = con.prepareStatement(sql);\r\n\r\n\t\t\t\t\t\t// Passing the values to the update statement\r\n\t\t\t\t\t\tstatement.setDouble(1, remaining);\r\n\t\t\t\t\t\tstatement.setInt(2, custId);\r\n\r\n\t\t\t\t\t\t// Executing the update statement\r\n\t\t\t\t\t\tstatement.executeUpdate();\r\n\r\n\t\t\t\t\t\t// Secting the quantity and bookid from the cart table which is equl to that\r\n\t\t\t\t\t\t// inthe book table using join\r\n\t\t\t\t\t\tPreparedStatement statement2 = con.prepareStatement(\r\n\t\t\t\t\t\t\t\t\"select c.quantity,c.book_id from cart_bt c join book_bt b on c.book_id=b.book_id\");\r\n\r\n\t\t\t\t\t\t// Executing the query and storing the result set\r\n\t\t\t\t\t\tResultSet resultSet1 = statement2.executeQuery();\r\n\r\n\t\t\t\t\t\t// Iterating the result set\r\n\t\t\t\t\t\twhile (resultSet1.next()) {\r\n\r\n\t\t\t\t\t\t\t// Storing the book id and quantity from the cart table\r\n\t\t\t\t\t\t\tint quantity = resultSet1.getInt(\"quantity\");\r\n\t\t\t\t\t\t\tint bookId = resultSet1.getInt(\"book_id\");\r\n\r\n\t\t\t\t\t\t\t// Updating no_of_available_copies of the book table\r\n\t\t\t\t\t\t\tPreparedStatement statement3 = con\r\n\t\t\t\t\t\t\t\t\t.prepareStatement(\"update book_bt set no_of_copies=no_of_copies-? where book_id=?\");\r\n\r\n\t\t\t\t\t\t\t// Passing values to the update statements\r\n\t\t\t\t\t\t\tstatement3.setInt(1, quantity);\r\n\t\t\t\t\t\t\tstatement3.setInt(2, bookId);\r\n\r\n\t\t\t\t\t\t\t// Executing the update statement\r\n\t\t\t\t\t\t\tstatement3.executeUpdate();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// Storing the delete query\r\n\t\t\t\t\t\tsql = \"delete from cart_bt where user_name=?\";\r\n\t\t\t\t\t\tstatement = con.prepareStatement(sql);\r\n\r\n\t\t\t\t\t\t// Passing values to the delete statements\r\n\t\t\t\t\t\tstatement.setString(1, userName);\r\n\r\n\t\t\t\t\t\t// executing the update statement\r\n\t\t\t\t\t\tstatement.executeUpdate();\r\n\r\n\t\t\t\t\t\t// Committing\r\n\t\t\t\t\t\tcon.commit();\r\n\r\n\t\t\t\t\t\t// Returning the message\r\n\t\t\t\t\t\treturn \"Payment Successfull\";\r\n\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t// Committing\r\n\t\t\t\t\t\tcon.commit();\r\n\r\n\t\t\t\t\t\t// Returning the message\r\n\t\t\t\t\t\treturn \"No enough balance\";\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// Catching the Exception\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\r\n\t\t// Returning the message\r\n\t\treturn \"Payment Failed\";\r\n\t}", "title": "" }, { "docid": "6a10d3e9824d77fbeaacca15a7783d3d", "score": "0.5187924", "text": "@Override\n public void addProductSellerToTable() {\n productSellers.addProductSellers(currentProductSellers);\n }", "title": "" }, { "docid": "c866137bc8df59c1d2a6034e24084dd0", "score": "0.5186957", "text": "public ObservableList<Product> updateProducts(int productIndex, Product product)\n {\n productTable1.set(productIndex, product) ;\n return productTable1;\n }", "title": "" }, { "docid": "58a48a7a069bae5b242dff26803c424e", "score": "0.51803434", "text": "@Override\r\n\tpublic List<Productos> listadoProductos() {\n\t\t\r\n\t\t\r\n\t\tlogger.debug(\"Entra al metodo dao\");\r\n\t\t\r\n\t\t\r\n\t\tString sql = \"select * from Productos\";\r\n\t\t\r\n\t\tList<Productos> listado = getJdbcTemplate().query(sql, new ProductoRowMapper());\r\n\t\t\r\n\t\treturn listado;\r\n\t}", "title": "" }, { "docid": "5df20b96328b3bf2aaac5715337b85f0", "score": "0.51753324", "text": "@Override\r\n\tpublic List<BookEntity> selectbookall() {\n\t\tSqlSession sql=null;\r\n\t\tList<BookEntity> list = null;\r\n\t\ttry{\r\n\t\t\tsql = MybatisUtil.getSqlSession();\r\n\t\t\tBookDao dao = sql.getMapper(BookDao.class);\r\n\t\t list = dao.selectbookall();\r\n\t\t\tsql.commit();\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t\tsql.rollback();\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\tMybatisUtil.colseSqlSession(sql);\r\n\t\t}\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "3250b06b49cfa884faf6537e6fa12085", "score": "0.516194", "text": "@Query(\"SELECT tbl_product_and_price.id,\" +\n \"tbl_product_and_price.kode_barang,\" +\n \"tbl_product.nama_barang,\" +\n \"tbl_product.image,\" +\n \"tbl_product_and_price.cabang,\" +\n \"tbl_product_and_price.harga_barang\" +\n \" FROM tbl_product_and_price \" +\n \"JOIN tbl_product ON tbl_product_and_price.kode_barang=tbl_product.kode_barang \" +\n \"GROUP BY tbl_product_and_price.id\")\n List<ProductAndPriceModel.DataValue> getProductAndPriceJoin();", "title": "" }, { "docid": "06e7510400840e5ac7b8073ab2eb6921", "score": "0.51481664", "text": "public BorrowProductExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "f8fa01579e261624f3bf1fae81cdc673", "score": "0.5144825", "text": "public String insertSelective(EshopProductWithBLOBs record) {\n SQL sql = new SQL();\n sql.INSERT_INTO(\"eshop_product\");\n \n if (record.getId() != null) {\n sql.VALUES(\"id\", \"#{id,jdbcType=VARCHAR}\");\n }\n \n if (record.getIsDel() != null) {\n sql.VALUES(\"is_del\", \"#{isDel,jdbcType=INTEGER}\");\n }\n \n if (record.getCreateTime() != null) {\n sql.VALUES(\"create_time\", \"#{createTime,jdbcType=DATE}\");\n }\n \n if (record.getUpdateTime() != null) {\n sql.VALUES(\"update_time\", \"#{updateTime,jdbcType=DATE}\");\n }\n \n if (record.getBrandId() != null) {\n sql.VALUES(\"brand_id\", \"#{brandId,jdbcType=VARCHAR}\");\n }\n \n if (record.getTypeId() != null) {\n sql.VALUES(\"type_id\", \"#{typeId,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductName() != null) {\n sql.VALUES(\"product_name\", \"#{productName,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductWeight() != null) {\n sql.VALUES(\"product_weight\", \"#{productWeight,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductIsNew() != null) {\n sql.VALUES(\"product_is_new\", \"#{productIsNew,jdbcType=INTEGER}\");\n }\n \n if (record.getProductIsHot() != null) {\n sql.VALUES(\"product_is_hot\", \"#{productIsHot,jdbcType=INTEGER}\");\n }\n \n if (record.getProductIsCommend() != null) {\n sql.VALUES(\"product_is_commend\", \"#{productIsCommend,jdbcType=INTEGER}\");\n }\n \n if (record.getProductIsShow() != null) {\n sql.VALUES(\"product_is_show\", \"#{productIsShow,jdbcType=INTEGER}\");\n }\n \n if (record.getProductSales() != null) {\n sql.VALUES(\"product_sales\", \"#{productSales,jdbcType=INTEGER}\");\n }\n \n if (record.getProductColors() != null) {\n sql.VALUES(\"product_colors\", \"#{productColors,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductSizes() != null) {\n sql.VALUES(\"product_sizes\", \"#{productSizes,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductFeatures() != null) {\n sql.VALUES(\"product_features\", \"#{productFeatures,jdbcType=VARCHAR}\");\n }\n \n if (record.getCheckUserId() != null) {\n sql.VALUES(\"check_user_id\", \"#{checkUserId,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductCheckTime() != null) {\n sql.VALUES(\"product_check_time\", \"#{productCheckTime,jdbcType=DATE}\");\n }\n \n if (record.getProductDescription() != null) {\n sql.VALUES(\"product_description\", \"#{productDescription,jdbcType=LONGVARCHAR}\");\n }\n \n if (record.getProductInformation() != null) {\n sql.VALUES(\"product_information\", \"#{productInformation,jdbcType=LONGVARCHAR}\");\n }\n \n if (record.getProductAfterSale() != null) {\n sql.VALUES(\"product_after_sale\", \"#{productAfterSale,jdbcType=LONGVARCHAR}\");\n }\n \n return sql.toString();\n }", "title": "" }, { "docid": "25011fb45de30f8b8f287577177b3d6b", "score": "0.5144289", "text": "public ResultSet select() throws SQLException {\n\t\tSalary_budget budget = new Salary_budget();\n\t\tResultSet rs = budget.select();\n\t\treturn rs;\n\t}", "title": "" }, { "docid": "02a023411053582f8e862b7afa059d51", "score": "0.5143652", "text": "@RequestMapping(\"/AddProduct\") //CLASSE .JAVA ON VA LES AJOUTER DANS CONTREOLLER SOUS FORME REQUESTMapping(/.....)et doit return jsp\r\npublic String AjouterProduit(@RequestParam(name = \"Product\") String nomProduit,\r\n\t\t@RequestParam(name = \"prix\") Float prixProduit\r\n\t\t,@RequestParam(name = \"fourn\") String Fournisseur, Model model) throws SQLException {\r\n\t//Se connecter à la BD\r\n\tJDBC cnx=new JDBC();\r\n\t//nbre d'elt du liste avant l'insertion\r\n\tint size= cnx.FindAllProductS().size();\r\n\t//INSERTION DU NOUVEAU PRODUIT\r\n\tcnx.AddProduct(nomProduit, prixProduit, Fournisseur);\r\n\t//nbre d'elt du liste après l'insertion\r\n\tint newSize= cnx.FindAllProductS().size();\r\n\t//on compare s'il ya une difference donc le produit est bien ete inseree\r\n\tif(size!=newSize) {\r\n\t\tmodel.addAttribute(\"msg\", \"Produit a bien été ajouter à la base de données\");\r\n\t//AFFICHER LA NOUVELLE LISTE\r\n\t\tJDBC ok=new JDBC();\r\n\t\tArrayList<Produits> list= ok.FindAllProductS();\r\n\t model.addAttribute(\"list\", list);\r\n\t}else {model.addAttribute(\"msgError\", \"N'est pas bien inseree\");}\r\nreturn \"produit\";\r\n}", "title": "" }, { "docid": "b07922bd72f283b704e1e89fd163cbab", "score": "0.51391506", "text": "@Override\n public List<OrderedBillLs> getOrderedBillList(Date date) {\n String qry = \"select new com.ites.poswebservice.model.random.OrderedBillLs(fpg.confNo,fkm.kotNo,mrs.tableName,fkm.mealPeriod,fpg.firstName,fpg.lastName,fpg.adult,fpg.children,fpg.roomNo,usr.userName,fpg.systemDate,fpg.states,fkm.resturentId,fkm.billNo,fbs.isPaid,fpg.gueststates) \"\n + \" from \"\n + \" MRestaurantTable as mrs,\"\n + \" FrontPosguest as fpg,\"\n + \" FrontKotBotMain as fkm,\"\n + \" FrontBillSplit as fbs,\"\n + \" Userlogin as usr \"\n + \" where \"\n + \" usr.userID = fkm.userId\" \n + \" and fkm.kotNo = fbs.kotNo \"\n + \" and fkm.tableNo = mrs.tableId \"\n + \" and fkm.posGuestno = fpg.posGuestno\"\n + \" and fkm.state = '1'\"\n + \" and fkm.openInTable = '0' \";\n// + \" and fkm.currentDate like '2017-01-06%' \";\n// + \" and fkm.currentDate = '\" + date + \"'\";//2018-10-08 15:52:59 ,fkm.kotNo,fkm.mealPeriod,fkm.resturentId,fkm.billNo\n \n try {\n Session session = getPosSession();\n List<OrderedBillLs> orderedBills = (List<OrderedBillLs>) session.createQuery(qry).list();\n return orderedBills;\n } catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "2d68fd7d06e7c3e1e294736d059bfe66", "score": "0.51285845", "text": "public ArrayList<Product> getOnlyInstockDrinkList(){\t\n\t\tArrayList<Product> productList = new ArrayList<>();\n\t\ttry {\t\t\t\n\t\t\tprepareStatement = (PreparedStatement) DbConnection.dbConnection.prepareStatement(\"SELECT P.id, P.name, P.type, P.unit_price, P.status FROM Product AS P INNER JOIN Import_Drink_Detail AS IDD ON IDD.pro_id = P.id WHERE (IDD.qty > IDD.soldQty) AND IDD.status = ? AND P.status = ? GROUP BY P.id, P.name, P.type, P.unit_price, P.status\");\n\t\t\tprepareStatement.setBoolean(1, true);\n\t\t\tprepareStatement.setBoolean(2, true);\n\t\t\tresultSet = prepareStatement.executeQuery();\n\t\t\twhile(resultSet.next()) {\n\t\t\t\tproductList.add(new Product(resultSet.getInt(1),\n\t\t\t\t\t\t\t\t\t\t\tresultSet.getString(2),\n\t\t\t\t\t\t\t\t\t\t\tresultSet.getString(3),\n\t\t\t\t\t\t\t\t\t\t\tresultSet.getDouble(4),\n\t\t\t\t\t\t\t\t\t\t\tresultSet.getBoolean(5)\t\t\t\n\t\t\t\t\t\t));\n\t\t\t}\n\t\t} catch (SQLException e) {\t\t\n\t\t\te.printStackTrace();\t\n\t\t}finally {\n\t\t\ttry {\n\t\t\t\tresultSet.close();\n\t\t\t} catch (Exception e) {\t\t\t\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn productList;\n\t}", "title": "" }, { "docid": "a4c94e78d1e4a5eb21c3a58fc22f2c98", "score": "0.5128122", "text": "@Override\n @TransactionAttribute(TransactionAttributeType.REQUIRED)\n public Product createProductBmt(Product product) {\n txWatcher.watchTransaction(getClass(), super.hashCode());\n \n //create a product in the database\n Product p=bmtA.createProduct(product);\n //bmtA.flush();\n\n //return an instance of the bean from this thread/transaction\n product=beanC.getProduct(p.getId());\n \n return product;\n }", "title": "" }, { "docid": "7e28a1428a2a1faf590eff9b6ca8a22d", "score": "0.5126964", "text": "public Builder linkedProduct(Product[] product);", "title": "" }, { "docid": "48f676982921ba23a3bf9eafbf1d12c9", "score": "0.51253337", "text": "public Order_product load(Order_productPK pk) throws DaoException;", "title": "" }, { "docid": "a31f09787e5a4c8d3bc628eecb2fa708", "score": "0.5123522", "text": "public String updateByExampleSelective(Map<String, Object> parameter) {\n EshopProductWithBLOBs record = (EshopProductWithBLOBs) parameter.get(\"record\");\n EshopProductCriteria example = (EshopProductCriteria) parameter.get(\"example\");\n \n SQL sql = new SQL();\n sql.UPDATE(\"eshop_product\");\n \n if (record.getId() != null) {\n sql.SET(\"id = #{record.id,jdbcType=VARCHAR}\");\n }\n \n if (record.getIsDel() != null) {\n sql.SET(\"is_del = #{record.isDel,jdbcType=INTEGER}\");\n }\n \n if (record.getCreateTime() != null) {\n sql.SET(\"create_time = #{record.createTime,jdbcType=DATE}\");\n }\n \n if (record.getUpdateTime() != null) {\n sql.SET(\"update_time = #{record.updateTime,jdbcType=DATE}\");\n }\n \n if (record.getBrandId() != null) {\n sql.SET(\"brand_id = #{record.brandId,jdbcType=VARCHAR}\");\n }\n \n if (record.getTypeId() != null) {\n sql.SET(\"type_id = #{record.typeId,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductName() != null) {\n sql.SET(\"product_name = #{record.productName,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductWeight() != null) {\n sql.SET(\"product_weight = #{record.productWeight,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductIsNew() != null) {\n sql.SET(\"product_is_new = #{record.productIsNew,jdbcType=INTEGER}\");\n }\n \n if (record.getProductIsHot() != null) {\n sql.SET(\"product_is_hot = #{record.productIsHot,jdbcType=INTEGER}\");\n }\n \n if (record.getProductIsCommend() != null) {\n sql.SET(\"product_is_commend = #{record.productIsCommend,jdbcType=INTEGER}\");\n }\n \n if (record.getProductIsShow() != null) {\n sql.SET(\"product_is_show = #{record.productIsShow,jdbcType=INTEGER}\");\n }\n \n if (record.getProductSales() != null) {\n sql.SET(\"product_sales = #{record.productSales,jdbcType=INTEGER}\");\n }\n \n if (record.getProductColors() != null) {\n sql.SET(\"product_colors = #{record.productColors,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductSizes() != null) {\n sql.SET(\"product_sizes = #{record.productSizes,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductFeatures() != null) {\n sql.SET(\"product_features = #{record.productFeatures,jdbcType=VARCHAR}\");\n }\n \n if (record.getCheckUserId() != null) {\n sql.SET(\"check_user_id = #{record.checkUserId,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductCheckTime() != null) {\n sql.SET(\"product_check_time = #{record.productCheckTime,jdbcType=DATE}\");\n }\n \n if (record.getProductDescription() != null) {\n sql.SET(\"product_description = #{record.productDescription,jdbcType=LONGVARCHAR}\");\n }\n \n if (record.getProductInformation() != null) {\n sql.SET(\"product_information = #{record.productInformation,jdbcType=LONGVARCHAR}\");\n }\n \n if (record.getProductAfterSale() != null) {\n sql.SET(\"product_after_sale = #{record.productAfterSale,jdbcType=LONGVARCHAR}\");\n }\n \n applyWhere(sql, example, true);\n return sql.toString();\n }", "title": "" }, { "docid": "2bb85bfdbe69a3d6913ff56b03db28f2", "score": "0.51081663", "text": "@Mapper\npublic interface GoodsDao {\n\n @Select(\"select goods.*,secondskill_goods.secondskill_stock_count,secondskill_goods.start_date,secondskill_goods.secondskill_price,secondskill_goods.end_date from secondskill_goods left join goods on secondskill_goods.goods_id=goods.goods_id\")\n public List<GoodsVo> getGoodsVoList();\n\n @Select(\"select goods.*,secondskill_goods.secondskill_stock_count,secondskill_goods.start_date,secondskill_goods.end_date,secondskill_goods.secondskill_price from secondskill_goods left join goods on secondskill_goods.goods_id=goods.goods_id where goods.goods_id=#{goodsId} \")\n GoodsVo getGoodsVoById(@Param(\"goodsId\") long goodsId);\n}", "title": "" }, { "docid": "3dba80e0a12257c6057e1536b6656db5", "score": "0.5103954", "text": "BorrowItem selectByPrimaryKey(Integer borrowId);", "title": "" }, { "docid": "91f4795146a320610d1e53eee2a2c59e", "score": "0.51014006", "text": "public interface ProductMapper extends BaseMapper<Product> {\r\n\r\n List<Product> queryAll();\r\n \r\n List<Product> queryAllProductByPage(Map<String, Object> param);\r\n\r\n Product queryById(Integer productId);\r\n \r\n Product queryByChannelsId(Integer productId,Integer channelsId);\r\n \r\n void update(Product product);\r\n \r\n void updateBySelect(Product product);\r\n \r\n void add(Product product);\r\n \r\n void insertSelective(Product product);\r\n \r\n Product queryByProductCode(String productCode);\r\n \r\n Product queryByBarCode(String baeCode);\r\n \r\n List<Product> queryByCategoryId(Integer categoryId);\r\n \r\n List<Product> getProductListBySearch(Map<String, Object> param);\r\n \r\n List<Product> getProductsByAdType(Map<String, Object> param);\r\n \r\n int countProductNum();\r\n\r\n\tList<Product> queryResultByIds(Map<String, Object> param);\r\n\r\n\t//把赠品排在最前created by Leiming in 2016/1/5\r\n\tList<Product> getProductListOrderByPlusgoByPage(Map<String, Object> param);\r\n\r\n //获取积分商城的产品列表\r\n List<Product> getGiftMallProductListByPage(Map<String, Object> param);\r\n\r\n List<Product> getProductsByOrderId(Integer orderId);\r\n\r\n\tProduct queryProduct(Product t);\r\n\r\n\tint updateProductQuotaNum(Product t);\r\n\r\n\tInteger queryProductSeqCount(Integer productSequence);\r\n\r\n}", "title": "" }, { "docid": "67a022a1879ce0cf9b681abf163b88e8", "score": "0.50904155", "text": "public static ObservableList<ProductTransactionDetail> getProductTransactionsList(ResultSet rs) throws SQLException, ClassNotFoundException {\n\n //Declare a observable List which comprises of Std Objects\n ObservableList<ProductTransactionDetail> ptdList = FXCollections.observableArrayList();\n\n while (rs.next()) {\n\n ProductTransactionDetail ptd = new ProductTransactionDetail(null);\n ptd = new ProductTransactionDetail(null);\n ptd.setId(rs.getInt(\"ptd_Id\"));\n ptd.setProductTransaction_Id(rs.getString(\"pt_Id\"));\n ptd.setEmployees_Id(rs.getString(\"emp_Name\"));\n ptd.setProductName(rs.getString(\"p_Name\"));\n ptd.setIsPaid(rs.getBytes(\"isPaid\"));\n ptd.setProductPrice(rs.getDouble(\"p_Price\"));\n ptd.setTotal(rs.getDouble(\"pt_Total\"));\n// std.setCreatedAt(rs.getTimestamp(\"createdAt\"));\n// std.setUpdatedAt(rs.getTimestamp(\"updatedAt\"));\n// std.setDeletedAt(rs.getTimestamp(\"deletedAt\"));\n// std.setCreatedBy(rs.getString(\"Name Created\"));\n// std.setUpdatedBy(rs.getString(\"Name Updated\"));\n\n //Add pet to the ObservableList\n ptdList.add(ptd);\n\n }\n\n //Return stdList (ObservableList of Ptds\n return ptdList;\n }", "title": "" }, { "docid": "a4cfec70f16b57253066244a3251f50e", "score": "0.5089572", "text": "@Override\n @Transactional\n public List<Product> listProducts() {\n return productDao.listProducts();\n }", "title": "" }, { "docid": "9b619a76dc82799321d54248e70b53f1", "score": "0.5089248", "text": "public interface BroadbandProductDao extends BaseDao<BroadbandProduct, Integer>{\n\n\n}", "title": "" }, { "docid": "27bf1d7c322c747f74a1d141dfef3682", "score": "0.5083716", "text": "@Mapper\npublic interface ProductAttributeDao {\n\n @InsertProvider(type = MybatisProvider.class, method = \"saveAttributes\")\n void save(@Param(\"attributes\") List<ProductAttribute> attributes);\n\n @Select(\"select * from df_product_attr where id=${id}\")\n ProductAttribute getById(long id);\n}", "title": "" }, { "docid": "ad5f947e3b5c1be4d85690fd7221a26c", "score": "0.50832826", "text": "public List<Map<String,Object>> prod_yfb(long prod_id,String prod_rs_id){\r\n\t\tString sql = \"select order_id,prod_id,cust_name,return_date,pllot_money,return_coe from product_issue where prod_id=? and return_batch=?\";\r\n\t\treturn jt.queryForList(sql,prod_id,prod_rs_id);\r\n\t}", "title": "" }, { "docid": "3fc638be597ba103b5d7ecff058fe49a", "score": "0.5074961", "text": "public String updateByPrimaryKeySelective(EshopProductWithBLOBs record) {\n SQL sql = new SQL();\n sql.UPDATE(\"eshop_product\");\n \n if (record.getIsDel() != null) {\n sql.SET(\"is_del = #{isDel,jdbcType=INTEGER}\");\n }\n \n if (record.getCreateTime() != null) {\n sql.SET(\"create_time = #{createTime,jdbcType=DATE}\");\n }\n \n if (record.getUpdateTime() != null) {\n sql.SET(\"update_time = #{updateTime,jdbcType=DATE}\");\n }\n \n if (record.getBrandId() != null) {\n sql.SET(\"brand_id = #{brandId,jdbcType=VARCHAR}\");\n }\n \n if (record.getTypeId() != null) {\n sql.SET(\"type_id = #{typeId,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductName() != null) {\n sql.SET(\"product_name = #{productName,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductWeight() != null) {\n sql.SET(\"product_weight = #{productWeight,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductIsNew() != null) {\n sql.SET(\"product_is_new = #{productIsNew,jdbcType=INTEGER}\");\n }\n \n if (record.getProductIsHot() != null) {\n sql.SET(\"product_is_hot = #{productIsHot,jdbcType=INTEGER}\");\n }\n \n if (record.getProductIsCommend() != null) {\n sql.SET(\"product_is_commend = #{productIsCommend,jdbcType=INTEGER}\");\n }\n \n if (record.getProductIsShow() != null) {\n sql.SET(\"product_is_show = #{productIsShow,jdbcType=INTEGER}\");\n }\n \n if (record.getProductSales() != null) {\n sql.SET(\"product_sales = #{productSales,jdbcType=INTEGER}\");\n }\n \n if (record.getProductColors() != null) {\n sql.SET(\"product_colors = #{productColors,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductSizes() != null) {\n sql.SET(\"product_sizes = #{productSizes,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductFeatures() != null) {\n sql.SET(\"product_features = #{productFeatures,jdbcType=VARCHAR}\");\n }\n \n if (record.getCheckUserId() != null) {\n sql.SET(\"check_user_id = #{checkUserId,jdbcType=VARCHAR}\");\n }\n \n if (record.getProductCheckTime() != null) {\n sql.SET(\"product_check_time = #{productCheckTime,jdbcType=DATE}\");\n }\n \n if (record.getProductDescription() != null) {\n sql.SET(\"product_description = #{productDescription,jdbcType=LONGVARCHAR}\");\n }\n \n if (record.getProductInformation() != null) {\n sql.SET(\"product_information = #{productInformation,jdbcType=LONGVARCHAR}\");\n }\n \n if (record.getProductAfterSale() != null) {\n sql.SET(\"product_after_sale = #{productAfterSale,jdbcType=LONGVARCHAR}\");\n }\n \n sql.WHERE(\"id = #{id,jdbcType=VARCHAR}\");\n \n return sql.toString();\n }", "title": "" }, { "docid": "b4a8b8153228f5e7a4c15aca1da6577c", "score": "0.5069747", "text": "@Select({\n \"select\",\n \"PROPERTY_CODE, PRODUCT_CODE, PROPERTY_VALUE\",\n \"from PRODUCT_EXTRA\"\n })\n @Results({\n @Result(column=\"PROPERTY_CODE\", property=\"propertyCode\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"PRODUCT_CODE\", property=\"productCode\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"PROPERTY_VALUE\", property=\"propertyValue\", jdbcType=JdbcType.VARCHAR)\n })\n List<ProductExtra> selectAll();", "title": "" }, { "docid": "d999f8ec52ea37c48b3eb6e9f378ee9f", "score": "0.50672865", "text": "public interface CoalbuyMapper {\n\n @Insert(\"INSERT into tasklog (taskid,taskname,starttime,endtime,message) values (\" +\n \"#{taskid},#{taskname},#{starttime},#{endtime},#{message})\" )\n @Options(useGeneratedKeys = true)\n int addCoalbuy(Coalbuy coalbuy) ;\n\n @Select(\"select * from coalbuy order by id desc \")\n Page<Coalbuy> loadCoalbuy(String param);\n\n\n @Select(\"select * from tasklog\")\n List<Coalbuy> loadTaskLogList();\n\n Page loadTaskLog(TaskListParam param);\n}", "title": "" }, { "docid": "ca20abb031aa43d76cd02fa50aab98d8", "score": "0.5067195", "text": "@RegisterMapper(BuyerResultSetMapper.class)\npublic interface BuyerDAO {\n\n @SqlQuery(\"SELECT * FROM buyer WHERE id=:id\")\n Buyer getById(@Bind(\"id\") int id);\n\n @SqlQuery(\"SELECT * FROM buyer ORDER BY id LIMIT :count OFFSET (:from-1)\")\n List<Buyer> getByRange(@Bind(\"from\") int from, @Bind(\"count\") int count);\n\n @SqlUpdate(\"INSERT INTO buyer(name) VALUES (:name)\")\n void add(@Bind(\"name\") String name);\n\n @SqlUpdate(\"UPDATE buyer SET name=:name WHERE id=:id\")\n void update(@BindBean final Buyer buyer);\n}", "title": "" }, { "docid": "a8a9ab20426c20cb8f943726fa546249", "score": "0.5062699", "text": "public interface ProductCategoryMapper {\n\n //通过map插入 sql语句中的参数名要与map的键名一致\n @Insert(\"insert into product_category(category_name,category_type) values(#{categoryName,jdbcType=VARCHAR},#{categoryType,jdbcType=INTEGER})\")\n int insertByMap(Map<String,Object> map);\n\n //通过对象插入(更普遍) sql语句中的参数名要与对应的数据对象的属性名一致\n @Insert(\"insert into product_category(category_name,category_type) values(#{categoryName,jdbcType=VARCHAR},#{categoryType,jdbcType=INTEGER})\")\n int insertByObject(ProductCategory productCategory);\n\n //通过categoryType查找 需建立返回的变量参数(名称与对应的数据对象属性名一致)与数据库字段的映射,\n // 可以只建立需要返回参数的映射(最好是都建立,除创建时间和更新时间两个字段外)\n @Select(\"select * from product_category where category_type = #{categoryType}\")\n @Results({\n @Result(column = \"category_id\",property = \"categoryId\"),\n @Result(column = \"category_name\",property = \"categoryName\"),\n @Result(column = \"category_type\",property = \"categoryType\")\n\n })\n ProductCategory findByCategoryType(Integer categoryType);\n\n //通过categoryName查找 因为查找时要返回数据对象,所以需要将数据库字段与数据对象的属性变量关联\n // 即建立变量参数与数据库字段的映射 #{categoryName} 里面的变量就是函数传入的变量\n @Select(\"select * from product_category where category_name = #{categoryName}\")\n @Results({\n @Result(column = \"category_id\",property = \"categoryId\"),\n @Result(column = \"category_name\",property = \"categoryName\"),\n @Result(column = \"category_type\",property = \"categoryType\")\n\n })\n List<ProductCategory> findByCategoryName(String categoryName);\n\n //通过某个字段更新 传入多个变量时 需加上 @Param 注解\n @Update(\"update product_category set category_name = #{categoryName} where category_type = #{categoryType}\")\n //int updateByCategoryType(String categoryName,Integer categoryType);\n int updateByCategoryType(@Param(\"categoryName\") String categoryName,\n @Param(\"categoryType\") Integer categoryType);\n\n //通过传入对象的某个字段更新 (即通过对象更新) 传入多个变量时 需加上 @Param 注解\n @Update(\"update product_category set category_name = #{categoryName} where category_type = #{categoryType}\")\n int updateByObject(ProductCategory productCategory);\n\n //通过categoryType删除\n @Delete(\"delete from product_category where category_type = #{categoryType}\")\n int deleteByCategoryType(Integer categoryType);\n\n\n //通过mybatis的配置方式查询\n ProductCategory selectByCategoryType(Integer categoryType);\n\n}", "title": "" }, { "docid": "f1b1328b076190d39112b42445794709", "score": "0.50616777", "text": "public static ObservableList<ProductTransactionDetail> getProductTransactionDetailList(ResultSet rs) throws SQLException, ClassNotFoundException {\n\n //Declare a observable List which comprises of Std Objects\n ObservableList<ProductTransactionDetail> ptdList = FXCollections.observableArrayList();\n\n while (rs.next()) {\n\n ProductTransactionDetail ptd = new ProductTransactionDetail(null);\n ptd = new ProductTransactionDetail(null);\n ptd.setId(rs.getInt(\"ptd_Id\"));\n ptd.setProductTransaction_Id(rs.getString(\"pt_Id\"));\n ptd.setEmployees_Id(rs.getString(\"emp_Name\"));\n ptd.setCustomers_Id(rs.getString(\"c_Name\"));\n ptd.setProductName(rs.getString(\"p_Name\"));\n ptd.setIsPaid(rs.getBytes(\"isPaid\"));\n ptd.setTotal(rs.getDouble(\"pt_Total\"));\n// std.setCreatedAt(rs.getTimestamp(\"createdAt\"));\n// std.setUpdatedAt(rs.getTimestamp(\"updatedAt\"));\n// std.setDeletedAt(rs.getTimestamp(\"deletedAt\"));\n// std.setCreatedBy(rs.getString(\"Name Created\"));\n// std.setUpdatedBy(rs.getString(\"Name Updated\"));\n\n //Add pet to the ObservableList\n ptdList.add(ptd);\n\n }\n\n //Return stdList (ObservableList of Stds\n return ptdList;\n }", "title": "" }, { "docid": "94102dd015c914789b7f3766d0f45930", "score": "0.5059886", "text": "TempBill selectByPrimaryKey(Long billId);", "title": "" }, { "docid": "14abf980e9f19fb2c0a7dc2e3c15b0c7", "score": "0.5056235", "text": "public String placeBid(Product product) { \n if(product.getCurrentBid().getAmount() < this.newAmount) {\n bidCM.UpdateBid(product.getCurrentBid(), this.newAmount, this.user);\n }\n return \"product\"; // The same product screen\n }", "title": "" }, { "docid": "beaccb030561213aa2394d3f32267ee9", "score": "0.50558335", "text": "@PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n\t@RequestMapping(value = \"/addToDatabase\" , method = RequestMethod.GET , produces = MediaType.TEXT_HTML_VALUE)\n\tpublic List<String> addProductToDB(@RequestParam(\"productName\") String productName , @RequestParam(\"productDesc\") String productDesc , @RequestParam(\"supplierID\") int supplierID , @RequestParam(\"subCategoryID\") int subcategoryID , @RequestParam(\"unitPrice\") BigDecimal unitPrice , @RequestParam(\"thumbNail\") String thumbNail , @RequestParam(\"thumbNailType\") String thumbNailType , @RequestParam(\"largePhotoType\") String largePhotoType , @RequestParam(\"largePhoto\") String largePhoto , @RequestParam(\"quantity\") int quantity , @RequestParam(\"discount\") BigDecimal discount , @RequestParam(\"rating\") int rating , @RequestParam(\"brandID\") int brandID)\n\t{\n\t\tint temp = otherDetails.addProduct(productName, productDesc, supplierID, subcategoryID, unitPrice, thumbNail, thumbNailType, largePhotoType, largePhoto, quantity, discount, rating, brandID);\t\n\t\tList<String> list = new ArrayList<>();\n\t\tif(temp > 0)\n\t\t{\n\t\t\tlist.add(\"success\");\n\t\t\treturn list;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tlist.add(\"fail\");\n\t\t\treturn list;\n\t\t}\n\t}", "title": "" }, { "docid": "04efcf1a226ad5f11233c7a9282e934c", "score": "0.50515497", "text": "public DbResult product(Substance substance, Tab tab, Category category, Item item, Tag tag) {\n if ( !session.getTransaction().isActive() ) { session.getTransaction().begin(); }\n Select select = new Select();\n\n DbResult dbResult = select.findOperableEntityByName( Substance.class, substance.getName() );\n if ( dbResult.isEmpty() ){ dbResult = queryableEntity(substance); substance = session.find(Substance.class, dbResult.getResult( Integer.class ) ); }\n else substance = dbResult.getResult( Substance.class );\n\n dbResult = select.findOperableEntityByName( Tab.class, tab.getName() );\n if ( dbResult.isEmpty() ){ dbResult = queryableEntity(tab); tab = session.find(Tab.class, dbResult.getResult( Integer.class ) ); }\n else tab = dbResult.getResult( Tab.class );\n\n dbResult = select.findOperableEntityByName( Category.class, category.getName() );\n if ( dbResult.isEmpty() ){ dbResult = queryableEntity(category); category = session.find(Category.class, dbResult.getResult( Integer.class ) ); }\n else category = dbResult.getResult( Category.class );\n\n// dbResult = select.findOperableEntityByName( Item.class, item.getName() );\n// if ( dbResult.isEmpty() ){ dbResult = queryableEntity(item); item = session.find(Item.class, dbResult.getResult( Integer.class ) ); }\n// else item = dbResult.getResult( Item.class );\n\n dbResult = queryableEntity(item);\n item = session.find(Item.class, dbResult.getResult( Integer.class ) );\n\n dbResult = select.findOperableEntityByName( Tag.class, tag.getName() );\n if ( dbResult.isEmpty() ){ dbResult = queryableEntity(tag); tag = session.find(Tag.class, dbResult.getResult( Integer.class ) ); }\n else tag = dbResult.getResult( Tag.class );\n\n SubstanceTab substanceTab;\n dbResult = select.findJoinableEntityByName(SubstanceTab.class, substance, tab );\n if ( dbResult.isEmpty() ) {\n substanceTab = new SubstanceTab( substance, tab );\n dbResult = queryableEntity( substanceTab );\n substanceTab = session.find(SubstanceTab.class, dbResult.getResult( Integer.class ) );\n }\n else substanceTab = dbResult.getResult( SubstanceTab.class );\n\n SubstanceTabCategory substanceTabCategory;\n dbResult = select.findJoinableEntityByName(SubstanceTabCategory.class, substanceTab, category );\n if ( dbResult.isEmpty() ) {\n substanceTabCategory = new SubstanceTabCategory( substanceTab, category );\n dbResult = queryableEntity( substanceTabCategory );\n substanceTabCategory = session.find(SubstanceTabCategory.class, dbResult.getResult( Integer.class ) );\n }\n else substanceTabCategory = dbResult.getResult( SubstanceTabCategory.class );\n\n\n SubstanceTabCategoryItem substanceTabCategoryItem;\n dbResult = select.findJoinableEntityByName(SubstanceTabCategoryItem.class, substanceTabCategory, item );\n if ( dbResult.isEmpty() ) {\n substanceTabCategoryItem = new SubstanceTabCategoryItem( substanceTabCategory, item );\n dbResult = queryableEntity( substanceTabCategoryItem );\n substanceTabCategoryItem = session.find(SubstanceTabCategoryItem.class, dbResult.getResult( Integer.class ) );\n }\n else substanceTabCategoryItem = dbResult.getResult( SubstanceTabCategoryItem.class );\n\n\n SubstanceTabCategoryItemTag substanceTabCategoryItemTag;\n dbResult = select.findJoinableEntityByName(SubstanceTabCategoryItemTag.class, substanceTabCategoryItem, tag );\n if ( dbResult.isEmpty() ) {\n substanceTabCategoryItemTag = new SubstanceTabCategoryItemTag( substanceTabCategoryItem, tag );\n dbResult = queryableEntity( substanceTabCategoryItemTag );\n substanceTabCategoryItemTag = session.find(SubstanceTabCategoryItemTag.class, dbResult.getResult( Integer.class ) );\n }\n else substanceTabCategoryItemTag = dbResult.getResult( SubstanceTabCategoryItemTag.class );\n\n HashMap<String, Integer> idMap = new HashMap();\n idMap.put( Substance.class.getSimpleName(), substance.getId() );\n idMap.put( Tab.class.getSimpleName(), tab.getId() );\n idMap.put( Category.class.getSimpleName(), category.getId() );\n idMap.put( Item.class.getSimpleName(), item.getId() );\n idMap.put( Tag.class.getSimpleName(), tag.getId() );\n\n idMap.put( SubstanceTab.class.getSimpleName(), substanceTab.getId() );\n idMap.put( SubstanceTabCategory.class.getSimpleName(), substanceTabCategory.getId() );\n idMap.put( SubstanceTabCategoryItem.class.getSimpleName(), substanceTabCategoryItem.getId() );\n idMap.put( SubstanceTabCategoryItemTag.class.getSimpleName(), substanceTabCategoryItemTag.getId() );\n\n dbResult.setResult( idMap );\n return dbResult;\n }", "title": "" }, { "docid": "2818afcbf9db12687b8e1d516c3bcd45", "score": "0.504998", "text": "public List<ReporteSaldoProducto> getReporteSaldoProductoPorLote(Sucursal sucursal, Bodega bodega, Date fechaHasta, Atributo atributo, String valorAtributo, int idOrganizacion, CategoriaProducto categoriaProducto, SubcategoriaProducto subcategoriaProducto, boolean indicadorLote, Lote lote, Producto producto, List<ValorAtributo> listValoresAtributos, int numeroAtributosOrganizacion)\r\n/* 332: */ {\r\n/* 333:405 */ StringBuilder sbSQL = new StringBuilder();\r\n/* 334:406 */ sbSQL.append(\" SELECT new ReporteSaldoProducto(pro.idProducto, pro.codigo, pro.codigoAlterno, pro.nombre, \");\r\n/* 335:407 */ sbSQL.append(\" subpro.idSubcategoriaProducto, subpro.codigo, subpro.nombre, \");\r\n/* 336:408 */ sbSQL.append(\" catpro.idCategoriaProducto, catpro.codigo, catpro.nombre, \");\r\n/* 337:409 */ sbSQL.append(\" b.idBodega, b.codigo, b.nombre, spl1.fecha, u.idUnidad, u.codigo, u.nombre, \");\r\n/* 338:410 */ sbSQL.append(\" uv.idUnidad, uv.codigo, uv.nombre, ua.idUnidad, ua.codigo, ua.nombre, lo.codigo, lo.idLote, spl1.saldo)\");\r\n/* 339:411 */ if (numeroAtributosOrganizacion > 0)\r\n/* 340: */ {\r\n/* 341:412 */ sbSQL = new StringBuilder(sbSQL.toString().substring(0, sbSQL.toString().length() - 1));\r\n/* 342:413 */ for (int i = 1; i <= numeroAtributosOrganizacion; i++) {\r\n/* 343:414 */ sbSQL.append(\" ,vat\" + i + \".nombre\");\r\n/* 344: */ }\r\n/* 345:416 */ sbSQL.append(\")\");\r\n/* 346: */ }\r\n/* 347:418 */ sbSQL.append(\" FROM SaldoProductoLote spl1 \");\r\n/* 348:419 */ sbSQL.append(\" RIGHT JOIN spl1.bodega b \");\r\n/* 349:420 */ sbSQL.append(\" JOIN spl1.producto pro \");\r\n/* 350:421 */ sbSQL.append(\" LEFT JOIN pro.subcategoriaProducto subpro \");\r\n/* 351:422 */ sbSQL.append(\" LEFT JOIN subpro.categoriaProducto catpro \");\r\n/* 352:423 */ sbSQL.append(\" LEFT JOIN spl1.lote lo \");\r\n/* 353:424 */ for (int i = 1; i <= numeroAtributosOrganizacion; i++) {\r\n/* 354:425 */ sbSQL.append(\" LEFT JOIN lo.valorAtributo\" + i + \" vat\" + i);\r\n/* 355: */ }\r\n/* 356:427 */ sbSQL.append(\" LEFT JOIN pro.unidad u \");\r\n/* 357:428 */ sbSQL.append(\" LEFT JOIN pro.unidadVenta uv \");\r\n/* 358:429 */ sbSQL.append(\" LEFT JOIN pro.unidadAlmacenamiento ua \");\r\n/* 359:430 */ sbSQL.append(\" WHERE pro.idOrganizacion = :idOrganizacion \");\r\n/* 360:431 */ sbSQL.append(\" AND pro.tipoProducto = :tipoProducto \");\r\n/* 361:432 */ sbSQL.append(\" AND pro.indicadorLote = :indicadorLote \");\r\n/* 362:433 */ sbSQL.append(\" AND spl1.saldo <> 0 \");\r\n/* 363:434 */ sbSQL.append(\" AND spl1.fecha IN (SELECT DISTINCT MAX(spl2.fecha) \");\r\n/* 364:435 */ sbSQL.append(\" \\t\\tFROM SaldoProductoLote spl2 \");\r\n/* 365:436 */ sbSQL.append(\" \\t\\tWHERE spl2.producto = spl1.producto AND spl2.bodega = spl1.bodega AND spl2.lote = spl1.lote \");\r\n/* 366:437 */ sbSQL.append(\" \\t\\tAND spl2.fecha <= :fechaHasta \");\r\n/* 367:438 */ sbSQL.append(\" \\t\\tGROUP BY spl2.bodega, spl2.producto, spl2.lote) \");\r\n/* 368:439 */ if (categoriaProducto != null) {\r\n/* 369:440 */ sbSQL.append(\" AND catpro = :categoriaProducto \");\r\n/* 370: */ }\r\n/* 371:442 */ if (subcategoriaProducto != null) {\r\n/* 372:443 */ sbSQL.append(\" AND subpro = :subcategoriaProducto \");\r\n/* 373: */ }\r\n/* 374:445 */ if (bodega != null) {\r\n/* 375:446 */ sbSQL.append(\" AND spl1.bodega = :bodega\");\r\n/* 376: */ }\r\n/* 377:448 */ if (lote != null) {\r\n/* 378:449 */ sbSQL.append(\" AND spl1.lote = :lote\");\r\n/* 379: */ }\r\n/* 380:451 */ if (producto != null) {\r\n/* 381:452 */ sbSQL.append(\" AND spl1.producto = :producto \");\r\n/* 382: */ }\r\n/* 383:454 */ if (atributo != null)\r\n/* 384: */ {\r\n/* 385:455 */ sbSQL.append(\" AND EXISTS (SELECT pr FROM ProductoAtributo pa JOIN pa.producto pr WHERE pa.atributo = :atributo AND pr = pro\");\r\n/* 386:456 */ if (!valorAtributo.isEmpty()) {\r\n/* 387:457 */ sbSQL.append(\" AND pa.valor = :valorAtributo \");\r\n/* 388: */ }\r\n/* 389:459 */ sbSQL.append(\" )\");\r\n/* 390: */ }\r\n/* 391:462 */ if ((listValoresAtributos != null) && (!listValoresAtributos.isEmpty()))\r\n/* 392: */ {\r\n/* 393:463 */ sbSQL.append(\" AND (\");\r\n/* 394:464 */ for (int i = 1; i <= numeroAtributosOrganizacion; i++) {\r\n/* 395:465 */ sbSQL.append(\" vat\" + i + \" IN (:listValoresAtributos) OR\");\r\n/* 396: */ }\r\n/* 397:467 */ sbSQL = new StringBuilder(sbSQL.toString().substring(0, sbSQL.toString().length() - 2));\r\n/* 398:468 */ sbSQL.append(\")\");\r\n/* 399: */ }\r\n/* 400:470 */ Query query = this.em.createQuery(sbSQL.toString());\r\n/* 401:471 */ query.setParameter(\"fechaHasta\", fechaHasta);\r\n/* 402:472 */ query.setParameter(\"tipoProducto\", TipoProducto.ARTICULO);\r\n/* 403:473 */ query.setParameter(\"idOrganizacion\", Integer.valueOf(idOrganizacion));\r\n/* 404:474 */ query.setParameter(\"indicadorLote\", Boolean.valueOf(true));\r\n/* 405:475 */ if (categoriaProducto != null) {\r\n/* 406:476 */ query.setParameter(\"categoriaProducto\", categoriaProducto);\r\n/* 407: */ }\r\n/* 408:478 */ if (subcategoriaProducto != null) {\r\n/* 409:479 */ query.setParameter(\"subcategoriaProducto\", subcategoriaProducto);\r\n/* 410: */ }\r\n/* 411:481 */ if (bodega != null) {\r\n/* 412:482 */ query.setParameter(\"bodega\", bodega);\r\n/* 413: */ }\r\n/* 414:484 */ if (lote != null) {\r\n/* 415:485 */ query.setParameter(\"lote\", lote);\r\n/* 416: */ }\r\n/* 417:487 */ if (producto != null) {\r\n/* 418:488 */ query.setParameter(\"producto\", producto);\r\n/* 419: */ }\r\n/* 420:490 */ if (atributo != null)\r\n/* 421: */ {\r\n/* 422:491 */ query.setParameter(\"atributo\", atributo);\r\n/* 423:492 */ if (!valorAtributo.isEmpty()) {\r\n/* 424:493 */ query.setParameter(\"valorAtributo\", valorAtributo);\r\n/* 425: */ }\r\n/* 426: */ }\r\n/* 427:496 */ if ((listValoresAtributos != null) && (!listValoresAtributos.isEmpty())) {\r\n/* 428:497 */ query.setParameter(\"listValoresAtributos\", listValoresAtributos);\r\n/* 429: */ }\r\n/* 430:499 */ List<ReporteSaldoProducto> lista = query.getResultList();\r\n/* 431:501 */ if (!indicadorLote)\r\n/* 432: */ {\r\n/* 433:502 */ sbSQL = new StringBuilder();\r\n/* 434:503 */ sbSQL.append(\" SELECT new ReporteSaldoProducto(pro.idProducto, pro.codigo, pro.codigoAlterno, pro.nombre, \");\r\n/* 435:504 */ sbSQL.append(\" subpro.idSubcategoriaProducto, subpro.codigo, subpro.nombre, \");\r\n/* 436:505 */ sbSQL.append(\" catpro.idCategoriaProducto, catpro.codigo, catpro.nombre, \");\r\n/* 437:506 */ sbSQL.append(\" b.idBodega, b.codigo, b.nombre, sp1.fecha, u.idUnidad, u.codigo, u.nombre, \");\r\n/* 438:507 */ sbSQL.append(\" uv.idUnidad, uv.codigo, uv.nombre, ua.idUnidad, ua.codigo, ua.nombre, '', 0, sp1.saldo) \");\r\n/* 439:508 */ sbSQL.append(\" FROM SaldoProducto sp1 \");\r\n/* 440:509 */ sbSQL.append(\" RIGHT JOIN sp1.bodega b \");\r\n/* 441:510 */ sbSQL.append(\" JOIN sp1.producto pro \");\r\n/* 442:511 */ sbSQL.append(\" LEFT JOIN pro.subcategoriaProducto subpro \");\r\n/* 443:512 */ sbSQL.append(\" LEFT JOIN subpro.categoriaProducto catpro \");\r\n/* 444:513 */ sbSQL.append(\" LEFT JOIN pro.unidad u \");\r\n/* 445:514 */ sbSQL.append(\" LEFT JOIN pro.unidadVenta uv \");\r\n/* 446:515 */ sbSQL.append(\" LEFT JOIN pro.unidadAlmacenamiento ua \");\r\n/* 447:516 */ sbSQL.append(\" WHERE pro.idOrganizacion = :idOrganizacion \");\r\n/* 448:517 */ sbSQL.append(\" AND pro.tipoProducto = :tipoProducto \");\r\n/* 449:518 */ sbSQL.append(\" AND pro.indicadorLote = :indicadorLote\");\r\n/* 450:519 */ sbSQL.append(\" AND sp1.saldo <> 0 \");\r\n/* 451:520 */ sbSQL.append(\" AND sp1.fecha IN (SELECT DISTINCT MAX(sp2.fecha) \");\r\n/* 452:521 */ sbSQL.append(\" \\t\\tFROM SaldoProducto sp2 \");\r\n/* 453:522 */ sbSQL.append(\" \\t\\tWHERE sp2.producto = sp1.producto AND sp2.bodega = sp1.bodega \");\r\n/* 454:523 */ sbSQL.append(\" \\t\\tAND sp2.fecha <= :fechaHasta \");\r\n/* 455:524 */ sbSQL.append(\" \\t\\tGROUP BY sp2.bodega, sp2.producto) \");\r\n/* 456:525 */ if (categoriaProducto != null) {\r\n/* 457:526 */ sbSQL.append(\" AND catpro = :categoriaProducto \");\r\n/* 458: */ }\r\n/* 459:528 */ if (subcategoriaProducto != null) {\r\n/* 460:529 */ sbSQL.append(\" AND subpro = :subcategoriaProducto \");\r\n/* 461: */ }\r\n/* 462:532 */ if (bodega != null) {\r\n/* 463:533 */ sbSQL.append(\" AND sp.bodega = :bodega\");\r\n/* 464: */ }\r\n/* 465:535 */ if (producto != null) {\r\n/* 466:536 */ sbSQL.append(\" AND sp.producto = :producto \");\r\n/* 467: */ }\r\n/* 468:538 */ if (atributo != null)\r\n/* 469: */ {\r\n/* 470:539 */ sbSQL.append(\" AND EXISTS (SELECT pr FROM ProductoAtributo pa JOIN pa.producto pr WHERE pa.atributo = :atributo AND pr = pro\");\r\n/* 471:540 */ if (!valorAtributo.isEmpty()) {\r\n/* 472:541 */ sbSQL.append(\" AND pa.valor = :valorAtributo \");\r\n/* 473: */ }\r\n/* 474:543 */ sbSQL.append(\" )\");\r\n/* 475: */ }\r\n/* 476:546 */ query = this.em.createQuery(sbSQL.toString());\r\n/* 477:547 */ query.setParameter(\"fechaHasta\", fechaHasta);\r\n/* 478:548 */ query.setParameter(\"tipoProducto\", TipoProducto.ARTICULO);\r\n/* 479:549 */ query.setParameter(\"idOrganizacion\", Integer.valueOf(idOrganizacion));\r\n/* 480:550 */ query.setParameter(\"indicadorLote\", Boolean.valueOf(false));\r\n/* 481:551 */ if (categoriaProducto != null) {\r\n/* 482:552 */ query.setParameter(\"categoriaProducto\", categoriaProducto);\r\n/* 483: */ }\r\n/* 484:554 */ if (subcategoriaProducto != null) {\r\n/* 485:555 */ query.setParameter(\"subcategoriaProducto\", subcategoriaProducto);\r\n/* 486: */ }\r\n/* 487:557 */ if (bodega != null) {\r\n/* 488:558 */ query.setParameter(\"bodega\", bodega);\r\n/* 489: */ }\r\n/* 490:560 */ if (producto != null) {\r\n/* 491:561 */ query.setParameter(\"producto\", producto);\r\n/* 492: */ }\r\n/* 493:563 */ if (atributo != null)\r\n/* 494: */ {\r\n/* 495:564 */ query.setParameter(\"atributo\", atributo);\r\n/* 496:565 */ if (!valorAtributo.isEmpty()) {\r\n/* 497:566 */ query.setParameter(\"valorAtributo\", valorAtributo);\r\n/* 498: */ }\r\n/* 499: */ }\r\n/* 500:569 */ lista.addAll(query.getResultList());\r\n/* 501: */ }\r\n/* 502:572 */ return lista;\r\n/* 503: */ }", "title": "" }, { "docid": "1763e63d70f016b4568287b1311210b5", "score": "0.5048985", "text": "@Override\n @Transactional\n public void removePorduct(Long productId) {\n //To change body of implemented methods use File | Settings | File Templates.\n }", "title": "" }, { "docid": "62bd1d4e3f724ef4277ef46728003853", "score": "0.5048474", "text": "@Override\n\tpublic List<Product> list(Product product) {\n\t\treturn productmapper.list(product);\n\t}", "title": "" }, { "docid": "91867f65a7880747e5cc61872431c122", "score": "0.5048091", "text": "@Override\r\n\tpublic List<BookEntity> selectsalenumdes() {\n\t\tSqlSession sql=null;\r\n\t\tList<BookEntity> list = null;\r\n\t\ttry{\r\n\t\t\tsql = MybatisUtil.getSqlSession();\r\n\t\t\tBookDao dao = sql.getMapper(BookDao.class);\r\n\t\t list = dao.selectsalenumdes();\r\n\t\t\tsql.commit();\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t\tsql.rollback();\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\tMybatisUtil.colseSqlSession(sql);\r\n\t\t}\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "7dbec8a391696d1de574e11a1800e112", "score": "0.50446707", "text": "public interface IProductDao {\n /**\n * 查询所有商品信息\n * @return\n */\n @Select(\"select * from product\")\n List<Product> findAll();\n\n //根据id查询产品\n @Select(\"select * from product where id=#{id}\")\n public Product findById(String id) throws Exception;\n\n /**\n * 保存从\n * @param product\n */\n @Insert(\"insert into\\n\" +\n \"product values(#{productNum},#{productName},#{cityName},#{departureTime},#{productPrice},#\\n\" +\n \"{productDesc},#{productStatus})\")\n public void save(Product product);\n\n\n\n}", "title": "" }, { "docid": "9f900e6ebf84edf6e0089bdf7b4fb3ee", "score": "0.5042475", "text": "@Override\r\n\tpublic String products(Products bo) {\n\t\r\n\t\t\tint cnt = productsDao.products(bo);\r\n\t\t\tif (cnt != 0)\r\n\t\t\t\treturn \"success\";\r\n\t\t\telse\r\n\t\t\t\treturn \"failure\";\r\n\t}", "title": "" }, { "docid": "7a5c801255ae9c0eb4d41110170edac7", "score": "0.5022131", "text": "@Override\n\tpublic List selectById(int product_id) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "0de2225390c1067ce0a7abdeaa3b73b5", "score": "0.50168747", "text": "public void goodEconomy() throws SQLException{\n\t\t\n\t\t//get a set of all product types of products in the database\n\t\tSet<String> product_types=Gateway.getProductTypes();\n\t\t\n\t\t//products are grouped by product type, so the customer can pick one of each type\n\t\tproducts=Gateway.selectProducts(product_types);\n\t\t\n\t\t//first lower the price of each product\n\t\tint percent_slash=-1;\n\t\t//update the price of each product\n\t\tfor(int j=0;j<products.size();++j){\n\t\t\t//for every set of products in a product type, update\n\t\t\tfor(int k=0;k<products.get(j).size();++k){\n\t\t\t\tVector<Object> product=products.get(j).get(k);\n\t\t\t\tproduct.set(2, (int)product.get(2)+percent_slash);\n\t\t\t}\n\t\t}\n\t\t//for each customer, raise the budget\n\t\tint budget_raise=1;\n\t\tfor(int i=0;i<customers.size();++i){\n\t\t\tcustomers.get(i).set(1, (int)customers.get(i).get(1)+budget_raise);\n\t\t}\n\t\t//now go shopping\n\t\tshop();\n\t}", "title": "" }, { "docid": "c60a919fe9290a801333155f17048ce8", "score": "0.50023293", "text": "List<Product> getProductList();", "title": "" }, { "docid": "740a41a3a0ab4da91e56ee1b13d02bad", "score": "0.49933815", "text": "public String updateByExampleWithBLOBs(Map<String, Object> parameter) {\n SQL sql = new SQL();\n sql.UPDATE(\"eshop_product\");\n \n sql.SET(\"id = #{record.id,jdbcType=VARCHAR}\");\n sql.SET(\"is_del = #{record.isDel,jdbcType=INTEGER}\");\n sql.SET(\"create_time = #{record.createTime,jdbcType=DATE}\");\n sql.SET(\"update_time = #{record.updateTime,jdbcType=DATE}\");\n sql.SET(\"brand_id = #{record.brandId,jdbcType=VARCHAR}\");\n sql.SET(\"type_id = #{record.typeId,jdbcType=VARCHAR}\");\n sql.SET(\"product_name = #{record.productName,jdbcType=VARCHAR}\");\n sql.SET(\"product_weight = #{record.productWeight,jdbcType=VARCHAR}\");\n sql.SET(\"product_is_new = #{record.productIsNew,jdbcType=INTEGER}\");\n sql.SET(\"product_is_hot = #{record.productIsHot,jdbcType=INTEGER}\");\n sql.SET(\"product_is_commend = #{record.productIsCommend,jdbcType=INTEGER}\");\n sql.SET(\"product_is_show = #{record.productIsShow,jdbcType=INTEGER}\");\n sql.SET(\"product_sales = #{record.productSales,jdbcType=INTEGER}\");\n sql.SET(\"product_colors = #{record.productColors,jdbcType=VARCHAR}\");\n sql.SET(\"product_sizes = #{record.productSizes,jdbcType=VARCHAR}\");\n sql.SET(\"product_features = #{record.productFeatures,jdbcType=VARCHAR}\");\n sql.SET(\"check_user_id = #{record.checkUserId,jdbcType=VARCHAR}\");\n sql.SET(\"product_check_time = #{record.productCheckTime,jdbcType=DATE}\");\n sql.SET(\"product_description = #{record.productDescription,jdbcType=LONGVARCHAR}\");\n sql.SET(\"product_information = #{record.productInformation,jdbcType=LONGVARCHAR}\");\n sql.SET(\"product_after_sale = #{record.productAfterSale,jdbcType=LONGVARCHAR}\");\n \n EshopProductCriteria example = (EshopProductCriteria) parameter.get(\"example\");\n applyWhere(sql, example, true);\n return sql.toString();\n }", "title": "" }, { "docid": "662de3ea84c59fca74bc565e434ab195", "score": "0.4990601", "text": "@MyBatisMapper\npublic interface ProductMapper {\n}", "title": "" }, { "docid": "c64980292fb510f2497bc2d9b25db2e8", "score": "0.49882483", "text": "public static void createProductTable() {\n\t\tcreateTable(\"PRODUCTS\", \"CREATE TABLE PRODUCTS ( ID INT NULL, PRODUCT VARCHAR(500) NULL, PRICE DOUBLE NOT NULL)\");\n\t}", "title": "" }, { "docid": "dc511e62099bc022ee0cf86abbae0cf9", "score": "0.49862805", "text": "@Override\r\n\tpublic List<Product> shophaveProduct2(int shop_no) throws Exception {\n\t\treturn dao.shophaveProduct2(shop_no);\r\n\t}", "title": "" }, { "docid": "0abb6d21563e99384ee8f2d665efa21a", "score": "0.49854496", "text": "private void LoadProducts() throws SQLException {\n Babels.mysql.Open();\n try {\n Object[] rows = ProductsAdmin.GetAllProductsWithImage(Babels.mysql.Conn);\n\n Object[] row = null;\n Object[] rowTable = null;\n DefaultTableModel tm = (DefaultTableModel) this.Model;\n for (int rowIdx = 0; rowIdx < rows.length; rowIdx++) {\n row = (Object[]) rows[rowIdx];\n rowTable= new Object[4];\n rowTable[0] = row[0];\n rowTable[1] = row[1];\n rowTable[2] = row[3];\n if (row.length>4){\n rowTable[3] = row[4];\n \n }\n tm.addRow(rowTable);\n }\n } finally {\n Babels.mysql.Close();\n }\n }", "title": "" }, { "docid": "30ae54f71662f2cdc39f917a458d227a", "score": "0.4979138", "text": "@Override\n public ProductResultVO getProductInfo(int pno) {\n return sqlsession.selectOne(\"com.project.product.mapper.getProductInfo\",pno);\n }", "title": "" }, { "docid": "9a305bddbcc1767058898e344c59e9b4", "score": "0.49770865", "text": "public FrmBuyProduct() {\n initComponents();\n table();\n }", "title": "" }, { "docid": "a63a32b32fb6303b3b50143e59528e0d", "score": "0.49706125", "text": "public List<BookBean> getcmrbook(){return bookDao.getbookcmr();}", "title": "" }, { "docid": "1da64c674a1832a8a95fbf7a006c1b27", "score": "0.4969425", "text": "@Transactional(isolation = Isolation.REPEATABLE_READ, propagation = Propagation.REQUIRES_NEW)\n @Override\n public Integer insertProduct(CreateProductDto productDto) {\n PmsProduct pmsProduct = new PmsProduct();\n BeanUtil.copyProperties(productDto, pmsProduct);\n Integer integer = pmsProductDao.insert(pmsProduct);\n logger.info(\"productId:{}\",pmsProduct.getId());\n if (CollectionUtil.isNotEmpty(productDto.getProductLadderList())) {\n List<PmsProductLadder> collect = productDto.getProductLadderList().stream().peek(t -> t.setProductId(pmsProduct.getId())).collect(Collectors.toList());\n productLadderService.insertProductLadderList(collect);\n }\n if (CollectionUtil.isNotEmpty(productDto.getProductFullReductionList())) {\n List<PmsProductFullReduction> collect = productDto.getProductFullReductionList().stream().peek(t -> t.setProductId(pmsProduct.getId())).collect(Collectors.toList());\n productFullReductionService.insertProductFullReductionList(collect);\n }\n if (CollectionUtil.isNotEmpty(productDto.getProductAttributeValueList())) {\n List<PmsProductAttributeValue> collect = productDto.getProductAttributeValueList().stream().peek(t -> t.setProductId(pmsProduct.getId())).collect(Collectors.toList());\n logger.info(\"value:{}\",collect);\n productAttributeValueService.insertProdcutAttributeValueList(collect);\n }\n if (CollectionUtil.isNotEmpty(productDto.getSubjectProductRelationList())) {\n List<CmsSubjectProductRelation> collect = productDto.getSubjectProductRelationList().stream().peek(t -> t.setProductId(pmsProduct.getId())).collect(Collectors.toList());\n logger.info(\"subject:{}\",collect);\n subjectProductRelationService.insertSubjectProductRelationList(collect);\n }\n if (CollectionUtil.isNotEmpty(productDto.getSkuStockList())) {\n List<PmsSkuStock> collect = productDto.getSkuStockList().stream().peek(t -> t.setProductId(pmsProduct.getId())).collect(Collectors.toList());\n logger.info(\"sku:{}\",collect);\n skuStockService.insertSkuStockList(collect);\n }\n if (CollectionUtil.isNotEmpty(productDto.getMemberPriceList())) {\n List<PmsMemberPrice> collect = productDto.getMemberPriceList().stream().peek(t -> t.setProductId(pmsProduct.getId())).collect(Collectors.toList());\n logger.info(\"member:{}\",collect);\n memberPriceService.insertMemberPriceList(collect);\n }\n if (CollectionUtil.isNotEmpty(productDto.getPrefrenceAreaProductRelationList())) {\n List<CmsPrefrenceAreaProductRelation> collect = productDto.getPrefrenceAreaProductRelationList().stream().peek(t -> t.setProductId(pmsProduct.getId())).collect(Collectors.toList());\n logger.info(\"prefer:{}\",collect);\n preferenceAreaProductRelationService.insertPreferenceAreaProductRelation(collect);\n }\n return integer;\n }", "title": "" }, { "docid": "51dc44df5c249b0507690f648a28877a", "score": "0.4967405", "text": "public ArrayList<Product> getAll() {// void 수정1\n\t\tconnectDB(); // connectDB , productDao 메소드 사용\n\t\tsql = \"select * from product\";\n\t\t\n\n\t\t\n\t\ttry {\n\t\t\tstmt = conn.createStatement();\n\t\t\trs = stmt.executeQuery(sql);\n\t\t} catch (SQLException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tArrayList<Product> datas = new ArrayList<Product>();\n\t\t\n\n\t\titems = new Vector<String>();\n\t\titems.add(\"전체\");\n\t\n\t\ttry {\n\t\t\twhile (rs.next()) {\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tProduct p = new Product();\n\t\t\t\t\n\t\t\t\tp.setPrcode(rs.getInt(1));\n\t\t\t\tp.setPrname(rs.getString(2));\n\t\t\t\tp.setPrice(rs.getInt(3));\n\t\t\t\tp.setManufacture(rs.getString(4));\n\t\t\t\tdatas.add(p);\n\t\t\t\titems.add(String.valueOf(rs.getInt(\"prcode\")));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t//getProduct();\n\t\treturn datas;\n\t}", "title": "" }, { "docid": "abb3ec2941083da7d903f7027133aece", "score": "0.49671897", "text": "List getProductList();", "title": "" }, { "docid": "fa81be1012b01b27369f8a55a5c0b344", "score": "0.49664426", "text": "@Mapper\npublic interface PaymentInformationMapper {\n @Select(\"select * from paymentinformation where loginId=#{loginId} and payOffStatus=0\")\n List<PaymentInformation> queryByLoginId(Integer loginId);\n\n @Insert(\"insert into paymentinformation(loginId,myCourse,amountInstallments,paymentCycle,\" +\n \"classHours,createTime,createName,updateTime,updateName) values(#{loginId},\" +\n \"#{myCourse},#{amountInstallments},#{paymentCycle},#{classHours},#{createTime},#{createName},#{updateTime},#{updateName})\")\n int installmentApply(PaymentInformation paymentInformation);\n\n @Update(\"update paymentinformation set createName=#{userName} where loginId=#{id}\")\n int updateCreateName(UserLogin userLogin);\n\n int updatePaymentByLoginId(PaymentInformation paymentInformation);\n}", "title": "" }, { "docid": "1b27f146a0d50a01db3ce46d970b267d", "score": "0.49606675", "text": "Produto consultaProduto(String id) throws SQLException;", "title": "" }, { "docid": "336359c49fd3264601cf59d1d6c28fdd", "score": "0.4959446", "text": "public abstract List<SoldProduct> findAll();", "title": "" }, { "docid": "6e6ff6f2110e952beb095515c7a38d26", "score": "0.4958291", "text": "public static String onlineBanking2(OnlineBookStoreBean onlineBookStoreBean) {\r\n\r\n\t\t// Keeping user entered values in\r\n\t\tint custId = onlineBookStoreBean.getCustomerId();\r\n\t\tint custPin = onlineBookStoreBean.getPinNo();\r\n\t\tlong amount = onlineBookStoreBean.getPrice();\r\n\t\tString userName = onlineBookStoreBean.getUserName();\r\n\t\ttry {\r\n\t\t\t// establishing connection\r\n\t\t\tcon = DBConnection.createConnection();\r\n\r\n\t\t\tstatement = con.prepareStatement(\"select customer_id,pin_number,balance from payment_bt\");\r\n\r\n\t\t\t// Executing the select statement andstoring the resultset\r\n\t\t\tresultSet = statement.executeQuery();\r\n\r\n\t\t\t// fetch the present values\r\n\t\t\twhile (resultSet.next()) {\r\n\r\n\t\t\t\t// Storing the customer id, pin and balance in the table\r\n\t\t\t\tint custIdDB = resultSet.getInt(\"customer_id\");\r\n\t\t\t\tint custPinDB = resultSet.getInt(\"pin_number\");\r\n\t\t\t\tbalance = resultSet.getLong(\"balance\");\r\n\r\n\t\t\t\t// Checking whether the values entered are equal to the values in the table\r\n\t\t\t\tif (custId == custIdDB && custPin == custPinDB) {\r\n\r\n\t\t\t\t\t// checking whether the amount to pay is less than the account balance\r\n\t\t\t\t\tif (amount < balance) {\r\n\t\t\t\t\t\t// deducting bank balance\r\n\t\t\t\t\t\tremaining = balance - amount;\r\n\r\n\t\t\t\t\t\t// Updating the payment table\r\n\t\t\t\t\t\tsql = \"update payment_bt set balance=? where customer_id=?\";\r\n\t\t\t\t\t\tstatement = con.prepareStatement(sql);\r\n\r\n\t\t\t\t\t\t// Passing the values to the update statement\r\n\t\t\t\t\t\tstatement.setDouble(1, remaining);\r\n\t\t\t\t\t\tstatement.setInt(2, custId);\r\n\r\n\t\t\t\t\t\t// Executing the update statement\r\n\t\t\t\t\t\tstatement.executeUpdate();\r\n\r\n\t\t\t\t\t\t// Selecting the book details from the book table\r\n\t\t\t\t\t\tsql = \"select * from book_bt where book_id=?\";\r\n\t\t\t\t\t\tstatement = con.prepareStatement(sql);\r\n\r\n\t\t\t\t\t\t// Passing the value to the select statement\r\n\t\t\t\t\t\tstatement.setInt(1, onlineBookStoreBean.getBookId());\r\n\r\n\t\t\t\t\t\t// Executing the statement and storing the result set\r\n\t\t\t\t\t\tResultSet rs = statement.executeQuery();\r\n\r\n\t\t\t\t\t\t// Getting the details from the result set\r\n\t\t\t\t\t\trs.next();\r\n\r\n\t\t\t\t\t\t// Checking whether the no of copies is equal to 1\r\n\t\t\t\t\t\tif (rs.getInt(\"NO_OF_COPIES\") == 1) {\r\n\r\n\t\t\t\t\t\t\tstatement = con.prepareStatement(\"delete from book_bt where book_id=?\");\r\n\r\n\t\t\t\t\t\t\t// Passing the value to the delete statement\r\n\t\t\t\t\t\t\tstatement.setInt(1, onlineBookStoreBean.getBookId());\r\n\r\n\t\t\t\t\t\t\t// Executing the update statement\r\n\t\t\t\t\t\t\tstatement.executeUpdate();\r\n\r\n\t\t\t\t\t\t\t// Committing\r\n\t\t\t\t\t\t\tcon.commit();\r\n\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\tstatement = con\r\n\t\t\t\t\t\t\t\t\t.prepareStatement(\"update book_bt set no_of_copies=no_of_copies-1 where book_id=?\");\r\n\r\n\t\t\t\t\t\t\t// Passing the value to the update statement\r\n\t\t\t\t\t\t\tstatement.setInt(1, onlineBookStoreBean.getBookId());\r\n\r\n\t\t\t\t\t\t\t// Executing the update statement\r\n\t\t\t\t\t\t\tstatement.executeUpdate();\r\n\r\n\t\t\t\t\t\t\t// Committing the statement\r\n\t\t\t\t\t\t\tcon.commit();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// Returning the message\r\n\t\t\t\t\t\treturn \"Payment Successfull\";\r\n\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t// Committing the statement\r\n\t\t\t\t\t\tcon.commit();\r\n\r\n\t\t\t\t\t\t// Returning the message\r\n\t\t\t\t\t\treturn \"No enough balance\";\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// Catching the SQLException\r\n\t\t} catch (Exception e) {\r\n\r\n\t\t\tSystem.out.println(\"\");\r\n\t\t}\r\n\r\n\t\t// Returning the message\r\n\t\treturn \"Payment Failed\";\r\n\t}", "title": "" }, { "docid": "b74482a758c261cc265098c30f5e2733", "score": "0.49544516", "text": "public ArrayList<String> displayPrebuyStr() throws SQLException\n {ArrayList<String> infoArrl=new ArrayList<String>();\n Connection conn = null;\n ResultSet result = null;\n \n try \n {\n conn = connection_sql.getConnection();\n PreparedStatement stat = conn.prepareStatement(\"SELECT PRODUCT.Product_Name, PRODUCT.Product_type,PREBUY.Quantity, PREBUY.ExpiredDate,\"\n \t\t+ \"PRODUCT.Picture,\"\n \t\t+ \" PREBUY.product_ID\"\n \t\t+ \" FROM PRODUCT RIGHT JOIN PREBUY \"\n \t\t+ \"ON PRODUCT.Product_ID = PREBUY.Product_ID \"\n \t\t+ \"WHERE PREBUY.Customer_ID = ? \"\n \t\t+ \" Order by PRODUCT.Product_ID\");\n stat.setString(1, CustomerID);\n \n result = stat.executeQuery();\n while(result.next()) {\n\t String PName=result.getString(\"Product_Name\");\n\t String PType=result.getString(\"PRODUCT.Product_type\");\n\t int Quantity=result.getInt(\"PREBUY.Quantity\");\n\t String ExDate=result.getString(\"PREBUY.ExpiredDate\");\n\t int Product_ID=result.getInt(\"PREBUY.product_ID\");\n\t String pic=result.getString(\"picture\");\n\t \n\t String info= PName+\",\"+PType+\",\"+Quantity+\",\"+ExDate+\",\"+\"/img/\"+pic+\",\"+Product_ID;\n\t \n\t ///////////////抓蟲用\n\t System.out.println(\"--------------------\\n\"+info);\n\t ////////////////////////////\n\t infoArrl.add(info);\n }\n //////////////////////\n System.out.println(\"=======================\\n\");\n }\n \n finally \n {\n conn.close();\n }\n \n return infoArrl;\n }", "title": "" }, { "docid": "0c31e361db81dfb1c88ba042aa8165e8", "score": "0.4953226", "text": "public void ReportReceipt() {\n Connection cn = Mylib.getCon();\n if (cn != null) {\n\n try {\n Statement st = cn.createStatement();\n ResultSet rs = st.executeQuery(\"select productID,sum(quantity)as quan from tbImportDetail group by productID\");\n while (rs.next()) {\n Vector v = new Vector();\n String ProductID = rs.getString(1);\n int quan = rs.getInt(2);\n for (Product o : pl.getList()) {\n if (ProductID.equals(o.productID)) {\n v.add(o.productID);\n v.add(o.name);\n int cID = o.catID;\n CategoryList cl = new CategoryList();\n for (Category cat : cl.getList()) {\n if (cID == cat.catID) {\n v.add(cat.catName);\n }\n }\n v.add(quan);\n v.add(o.unitPrice);\n v.add(o.Unit);\n v.add(o.manufacturer);\n v.add(o.status);\n }\n }\n modelReceipt.addRow(v);\n\n }\n //dong connection\n rs.close();\n cn.close();\n\n } catch (SQLException ex) {\n ex.printStackTrace();\n }\n }\n }", "title": "" }, { "docid": "efa5acc7a526cb6c357619a094dfe0b2", "score": "0.49523166", "text": "@GetMapping(value=\"/products\")\n\tpublic List<Product2>getAllProduct()\n\t{\n\t\treturn productService.getAllProduct2();\n\t}", "title": "" }, { "docid": "35910f43c08f5a29d14f528c0f727b9a", "score": "0.4949885", "text": "private static ObservableList<UserBookDTO> getUserBookInformation() {\n\n ObservableList<UserBookDTO> userBookList1 = null;\n\n try {\n preStatement = dbConn.prepareStatement(userIssuedBooksQuery);\n preStatement.setInt(1, UserSession.getUserLogInDTO().getUserId());\n System.out.println(\"HAHAHAHAHAHAHAHAHAHA\" + preStatement.getMetaData().toString());\n\n resultSet = preStatement.executeQuery();\n\n userBookList1 = pullReturnBookInfoDatabase(resultSet);\n\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n return userBookList1;\n\n }", "title": "" }, { "docid": "696d4ec5b367614871a61104b06f640d", "score": "0.49447528", "text": "@MyBatis\npublic interface CostMapperDao {\n public List<Cost> findAll();\n public void deleteCost(int id);\n public void saveCost(Cost cost);\n public Cost findById(int id);\n public void updateCost(Cost cost);\n public List<Cost> findPage(Page page);\n public int findRows();\n public Cost findByname(String name);\n}", "title": "" }, { "docid": "bc47c57688b59a1db659aadf46297c57", "score": "0.4944416", "text": "public Compras_merchant retriveByActivationCode(String compras_licencias_codact)\r\n/* 145: */ throws SQLException\r\n/* 146: */ {\r\n/* 147:135 */ Compras_merchant compras_merchant = new Compras_merchant();\r\n/* 148:136 */ Connection conn = null;\r\n/* 149:137 */ PreparedStatement pstmt = null;\r\n/* 150:138 */ ResultSet rs = null;\r\n/* 151: */ try\r\n/* 152: */ {\r\n/* 153:140 */ conn = this.ds.getConnection();\r\n/* 154:141 */ String sql = \"select compras_merchant.compras_merchant_cdgcmp from vega_sdoctor.compras_licencias join vega_sdoctor.compras_merchant on compras_licencias.compras_productos_id = compras_merchant.compras_merchant_id where compras_licencias.compras_licencias_codact = ?\";\r\n/* 155:142 */ pstmt = conn.prepareStatement(sql);\r\n/* 156:143 */ pstmt.setString(1, compras_licencias_codact);\r\n/* 157:144 */ rs = pstmt.executeQuery();\r\n/* 158:145 */ if (rs.next())\r\n/* 159: */ {\r\n/* 160:146 */ InicializaData.inicializa(compras_merchant.getClass(), compras_merchant);\r\n/* 161:147 */ populate(compras_merchant, rs);\r\n/* 162: */ }\r\n/* 163:149 */ close(rs);\r\n/* 164:150 */ close(pstmt);\r\n/* 165: */ }\r\n/* 166: */ catch (SQLException e)\r\n/* 167: */ {\r\n/* 168:152 */ close(rs);\r\n/* 169:153 */ close(pstmt);\r\n/* 170:154 */ rollback(conn);\r\n/* 171:155 */ throw e;\r\n/* 172: */ }\r\n/* 173: */ finally\r\n/* 174: */ {\r\n/* 175:157 */ close(conn);\r\n/* 176: */ }\r\n/* 177:159 */ return compras_merchant;\r\n/* 178: */ }", "title": "" }, { "docid": "b38920c1d631cf63de30905b9ddd731e", "score": "0.4939176", "text": "@Select({\n \"select\",\n \"PROPERTY_CODE, PRODUCT_CODE, PROPERTY_VALUE\",\n \"from PRODUCT_EXTRA\",\n \"where PROPERTY_CODE = #{propertyCode,jdbcType=VARCHAR}\",\n \"and PRODUCT_CODE = #{productCode,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"PROPERTY_CODE\", property=\"propertyCode\", jdbcType=JdbcType.VARCHAR, id=true),\n @Result(column=\"PRODUCT_CODE\", property=\"productCode\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"PROPERTY_VALUE\", property=\"propertyValue\", jdbcType=JdbcType.VARCHAR)\n })\n ProductExtra selectByPrimaryKey(@Param(\"propertyCode\") String propertyCode, @Param(\"productCode\") Integer productCode);", "title": "" }, { "docid": "7b3b9287b9c56b3eb57b033f867ae1b4", "score": "0.49379537", "text": "List<Produto> recuperarTodos() throws SQLException;", "title": "" }, { "docid": "51a9d32d8deb4be638397f4a3901000d", "score": "0.49337286", "text": "private void createDummyTableProduct() {\n\t\t// jdbc.execute(\"DROP TABLE products IF EXISTS\");\n\t\t// jdbc.execute(\"CREATE TABLE products(\" + \"id SERIAL, title VARCHAR(255),\n\t\t// description VARCHAR(255))\");\n\n\t\tLinkedList<String> productlist = new LinkedList<String>();\n\t\tfor (int i = 0; i <= 50; i = i + 1) {\n\t\t\tproductlist.add(String.format(\"Produkt%d Beschreibung%d\", i, i));\n\t\t}\n\n\t\t// Split up the array of whole names into an array of first/last names\n\t\tList<Object[]> splitUpNames = productlist.stream().map(name -> name.split(\" \")).collect(Collectors.toList());\n\n\t\t// Use a Java 8 stream to print out each tuple of the list\n\t\tsplitUpNames.forEach(name -> log.info(String.format(\"Inserting products record for %s %s\", name[0], name[1])));\n\n\t\t// Uses jdbc's batchUpdate operation to bulk load data\n\t\tjdbc.batchUpdate(\"INSERT INTO products(title, description) VALUES (?,?)\", splitUpNames);\n\n\t\tlog.info(\"Querying for product records where title = 'Josh':\");\n\t\tjdbc.query(\"SELECT id, title, description FROM products WHERE title = ?\", new Object[] { \"Josh\" },\n\t\t\t\tnew ProductRowMapper()).forEach(asset -> log.info(asset.toString()));\n\t}", "title": "" }, { "docid": "ee9d251c201736390b872370e9a9b4f8", "score": "0.49322188", "text": "@Override\r\n\tpublic List<BookEntity> selectdatedes() {\n\t\tSqlSession sql=null;\r\n\t\tList<BookEntity> list = null;\r\n\t\ttry{\r\n\t\t\tsql = MybatisUtil.getSqlSession();\r\n\t\t\tBookDao dao = sql.getMapper(BookDao.class);\r\n\t\t list = dao.selectdatedes();\r\n\t\t\tsql.commit();\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t\tsql.rollback();\r\n\t\t}\r\n\t\tfinally{\r\n\t\t\tMybatisUtil.colseSqlSession(sql);\r\n\t\t}\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "dbf2569788a100612c5edcd01b9297ba", "score": "0.4930529", "text": "@Override\r\n\tpublic String insertProductComponent(HttpServletRequest request) {\n\t\tString result = \"\";\r\n\t\tTransaction tx = null;\r\n\t\ttry {\r\n\t\t\ttx = HibernateUtil.getSessionFactory().getCurrentSession()\r\n\t\t\t\t\t.beginTransaction();\r\n\r\n\t\t\t// get compoID \r\n\t\t\tString checkProductID = request.getParameter(\"0\");\r\n\t\t\tJsonObject checkProductIDObj = new Gson().fromJson(checkProductID,\r\n\t\t\t\t\tJsonObject.class);\r\n\t\t\tList<ProductComponent> itemCheck = new ArrayList<ProductComponent>();\r\n\t\t\titemCheck = productCompoDAO.getByProductID(checkProductIDObj.get(\"productID\").getAsInt());\r\n\t\t\t// check list\r\n\t\t\tif (itemCheck.size() > 0) {\r\n\t\t\t\t// delete all product Component\r\n\t\t\t\tproductCompoDAO.deleteProductCompoByProductID(checkProductIDObj.get(\"productID\").getAsInt());\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// get product component\r\n\t\t\tString ajaxData = request.getParameter(\"1\");\r\n\t\t\tJsonArray productComponentObj = (JsonArray) new Gson().fromJson(\r\n\t\t\t\t\tajaxData, JsonArray.class);\r\n\r\n\t\t\tIterator<JsonElement> it = productComponentObj.iterator();\r\n\t\t\tList<JsonObject> listProCompo = new ArrayList<JsonObject>();\r\n\t\t\twhile (it.hasNext()) {\r\n\t\t\t\tJsonObject item = it.next().getAsJsonObject();\r\n\t\t\t\tif (!item.toString().equals(\"{}\")) {\r\n\t\t\t\t\tlistProCompo.add(item);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tfor (JsonObject jsonObject : listProCompo) {\r\n\r\n\t\t\t\tProduct product = new Product();\r\n\t\t\t\tproduct.setProductID(jsonObject.get(\"productID\").getAsInt());\r\n\r\n\t\t\t\tProduct component = new Product();\r\n\t\t\t\tcomponent = productDAO.getByID(jsonObject.get(\"componentID\").getAsInt());\r\n\r\n\t\t\t\tBigDecimal unitPrice = component.getOrgPrice();\r\n\r\n\t\t\t\tProductComponent productCompo = new ProductComponent();\r\n\t\t\t\tproductCompo.setProductID(product);\r\n\t\t\t\tproductCompo.setComponentID(component);\r\n\t\t\t\tproductCompo.setQuantity(jsonObject.get(\"quantity\").getAsInt());\r\n\t\t\t\tproductCompo.setUnitPrice(unitPrice);\r\n\t\t\t\tproductCompo.setTotal(unitPrice.multiply(new BigDecimal(\r\n\t\t\t\t\t\tproductCompo.getQuantity())));\r\n\r\n\t\t\t\tproductCompoDAO.insertProductComponent(productCompo);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\ttx.commit();\r\n\t\t\tresult = \"{\\\"ID\\\": \\\"1\\\"}\";\r\n\t\t} catch (Exception ex) {\r\n\t\t\t// TODO: handle exception\r\n\t\t\tif (tx != null) {\r\n\t\t\t\ttx.rollback();\r\n\t\t\t}\r\n\t\t\tlogger.error(\"Error\", ex);\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "4203046ebe3d04aca69a907e55bb6204", "score": "0.4929107", "text": "public List<Product> getProductsList(){\r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t List<Product> productsList = new ArrayList<>();\r\n\t\t String query = \"from Product\";\r\n\t\t try{\r\n\t\t\t productsList = entityManager.createQuery(query)\r\n\t\t\t\t\t \r\n\t\t\t \t\t\t.getResultList();\r\n\t\t\t\t\t \r\n\t\t }\r\n\t\t catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t return productsList;\r\n\t }", "title": "" }, { "docid": "87c835c88082b05418f33e3598064719", "score": "0.49288595", "text": "Product getProduct();", "title": "" }, { "docid": "6eb9a4213cedae1550580cb5a3c6699d", "score": "0.49285218", "text": "public void SelectCommande(){\r\n\t \r\n\t String sql = \"SELECT * FROM commande INNER JOIN utilisateur ON commande.id_agent=utilisateur.id INNER JOIN product_commande ON commande.id = product_commande.commande INNER JOIN produit ON product_commande.produit = produit.id\";\r\n\r\n\t PreparedStatement statement;\r\n\t try \r\n\t {\r\n\t statement = conn.prepareStatement(sql);\r\n\t ResultSet result = statement.executeQuery(sql);\r\n\t \r\n\twhile (result.next()){\r\n\t //utilisateur\r\n\t String id_agent = result.getString(\"id_agent\");\r\n\t int id_agentint = Integer.parseInt(id_agent);\r\n\t String nom = result.getString(\"nom\");\r\n\t String pseudo= result.getString(\"pseudo\");\r\n\t String motdepasse= result.getString(\"motdepasse\");\r\n\t String telephone= result.getString(\"telephone\");\r\n\t String role= result.getString(\"role\");\r\n\t utilisateur utila = new utilisateur(id_agentint,nom,pseudo,motdepasse,telephone,role,1);\r\n\t //commande\r\n\t String id = result.getString(\"id\");\r\n\t int idCommandeint = Integer.parseInt(id);\r\n\t String total = result.getString(\"total\");\r\n\t String statue = result.getString(\"statue\");\r\n\t commande commande = new commande(idCommandeint, total, statue, utila);\r\n\t //Produit\r\n\t String idproduit = result.getString(\"produit\");\r\n\t int idintprod = Integer.parseInt(idproduit);\r\n\t String nomprod = result.getString(\"nom\");\r\n\t String descriptionprod = result.getString(\"description\");\r\n\t String quantiteprod = result.getString(\"quantite\");\r\n\t String prixprod = result.getString(\"prix\");\t\r\n\t String statutprod = result.getString(\"statut\");\r\n\t String idcat = result.getString(\"id_categorie\");\r\n\t int idintcat = Integer.parseInt(idcat);\r\n\t categorie catprod = new categorie(idintcat, idcat, idcat, idcat);\r\n\t produit prod = new produit(idintprod, nomprod, descriptionprod, quantiteprod, prixprod, statutprod, catprod);\r\n\t \r\n\t product_commande commande_prod = new product_commande(commande, prod);\r\n\t \r\n\t\r\n\t System.out.println(\"commandes :\"+commande_prod);\r\n\t}\r\n\r\n\t \r\n\t } catch (SQLException ex) {\r\n\t System.out.println(\"Une erreur est survenue ! \"); \r\n\t \r\n\t }\r\n\t }", "title": "" } ]
3a23bdf624a790ea6f68b168eb43aa9a
Return the directory for a given attachment. This should be used by any code that is going to write attachments. This does not create or write the directory. It simply builds the pathname that should be used.
[ { "docid": "8cab6bccae494d1539cbd3b374d65ac2", "score": "0.6470205", "text": "public static File getAttachmentDirectory(Context context, long accountId) {\n return context.getDatabasePath(accountId + \".db_att\");\n }", "title": "" } ]
[ { "docid": "49d4cf87b6f6b78face30addffec46e7", "score": "0.5992659", "text": "protected File getDir() {\n return hasSubdirs ? DatanodeUtil.idToBlockDir(baseDir,\n getBlockId()) : baseDir;\n }", "title": "" }, { "docid": "ca692b70f3aa99b7d4b0bbae35bac60f", "score": "0.5860842", "text": "String getDirectoryPath();", "title": "" }, { "docid": "09b7b7169d8b6f68ce2468f0da65a2f5", "score": "0.571672", "text": "public File getDirectory() {\n\t\treturn file.getParentFile();\n\t}", "title": "" }, { "docid": "6bb60fa94c0ea90366094b560f8da63c", "score": "0.5705992", "text": "public String getDir();", "title": "" }, { "docid": "50fbaf8ec4ca73b68ed0bcfd4c967cbe", "score": "0.55455184", "text": "String getDir();", "title": "" }, { "docid": "dedee59caf9d0a621cc01135776d621a", "score": "0.54981524", "text": "private String getDirectoryForBackup() {\n\t\tString backupPath = configurationService.getValue(BACKUP_FOLDER_CONFIG);\n\t\tif (backupPath == null) {\n\t\t\t// if backup path null throw error, backup folder must be set\n\t\t\tthrow new ResultCodeException(CoreResultCode.BACKUP_FOLDER_NOT_FOUND,\n\t\t\t\t\tImmutableMap.of(\"property\", BACKUP_FOLDER_CONFIG));\n\t\t}\n\t\t// apend script default backup folder\n\t\tbackupPath = backupPath + \"/\" + SCRIPT_DEFAULT_BACKUP_FOLDER;\n\t\t// add date folder\n\t\tZonedDateTime date = ZonedDateTime.now();\n\t\tDecimalFormat decimalFormat = new DecimalFormat(\"00\");\n\t\treturn backupPath + date.getYear() + decimalFormat.format(date.getMonthValue())\n\t\t\t\t+ decimalFormat.format(date.getDayOfMonth()) + \"/\";\n\t}", "title": "" }, { "docid": "a52a04e9d8fc2bb8772a9b28ebfc2b74", "score": "0.54716194", "text": "public String getFileDirectory() {\n String storedDirectory = settings.get(\"fileDirectory\");\n \n // Default to the program files\n if (storedDirectory == null) {\n storedDirectory = System.getenv(\"ProgramFiles\");\n }\n \n return storedDirectory;\n }", "title": "" }, { "docid": "9b7ca02fb0d196c742fe241efb68d0de", "score": "0.5447363", "text": "public String getDirectory() {\n return directoryProperty().get();\n }", "title": "" }, { "docid": "e9fe1d10693a639adef10937132e1400", "score": "0.5400956", "text": "Object getDir();", "title": "" }, { "docid": "bf14b180e0a8a1208cdd3c5824998d36", "score": "0.5394654", "text": "private String getDirectory(String timedObjectId) {\n String dirName = directories.get(timedObjectId);\n if (dirName == null) {\n dirName = baseDir.getAbsolutePath() + File.separator + timedObjectId.replace(File.separator, \"-\");\n File file = new File(dirName);\n if(!file.exists()) {\n if(!file.mkdirs()) {\n logger.error(\"Could not create directory \" + file + \" to persist EJB timers.\");\n }\n }\n directories.put(timedObjectId, dirName);\n }\n return dirName;\n }", "title": "" }, { "docid": "5846fb7efa6a972a9335c814f38dcfd4", "score": "0.53857607", "text": "public File getFileChooserDirectory() {\n\n\t\tFile dir = null;\n\n\t\ttry {\n\t\t\tFile tmpDir = new File(diffuseBaseValueControl.getText());\n\t\t\tif (tmpDir.exists()) dir = tmpDir.getParentFile();\n\t\t} catch (Exception ex) {\n\t\t}\n\n\t\ttry {\n\t\t\tFile tmpDir = new File(specularBaseValueControl.getText());\n\t\t\tif (tmpDir.exists()) dir = tmpDir.getParentFile();\n\t\t} catch (Exception ex) {\n\t\t}\n\n\t\ttry {\n\t\t\tFile tmpDir = new File(((TextField) textureInputLayout.lookup(\"tex_path\")).getText());\n\t\t\tif (tmpDir.exists()) dir = tmpDir.getParentFile();\n\t\t} catch (Exception ex) {\n\t\t}\n\n\t\treturn dir;\n\t}", "title": "" }, { "docid": "85e127f447d37ca018f3b4bc95ce4051", "score": "0.5370498", "text": "java.lang.String getDirName();", "title": "" }, { "docid": "2d68c27ba23a3950dc17b512f50fcfd2", "score": "0.53540456", "text": "public File getExternalFilesDir(String directory) {\n\t\treturn DraftSimulatorApplication.getContext().getExternalFilesDir(directory);\n\t}", "title": "" }, { "docid": "931f88617bf3a6772474c6513ff16885", "score": "0.53414613", "text": "public String directory () {\n\t\treturn directory;\n\t}", "title": "" }, { "docid": "a7d650e23caa8ea836c39bcde07a7ca4", "score": "0.53262544", "text": "public static String downloadDir() {\n\n String downloads = stringValue(\"treefs.downloads\");\n if(isNullOrEmpty(downloads)) {\n // default home location\n downloads = home() + File.separator + \"downloads\";\n } else {\n downloads = home() + File.separator + downloads;\n }\n\n System.out.println(\"downloadDir=\" + downloads);\n return downloads;\n }", "title": "" }, { "docid": "bcebb2facded4689dea04afa899256d4", "score": "0.5322752", "text": "public static String createDownloadDirectory() {\n \tvar downloadDirectory = Configuration.toString(\"downloadDirectory\");\n \tif (downloadDirectory == null) {\n \t\tdownloadDirectory = \"../../Downloads\";\n \t}\n return downloadDirectory;\n }", "title": "" }, { "docid": "4504493cc98f6ac8cb5465e1e5169119", "score": "0.5294848", "text": "public String getAttachmentPath() {\n\t\treturn attachmentPath;\n\t}", "title": "" }, { "docid": "497b71a2fcb974456039c2340b34cd81", "score": "0.5288513", "text": "public String getPathToJarFolder(){\n Class cls = ReadWriteFiles.class;\r\n ProtectionDomain domain = cls.getProtectionDomain();\r\n CodeSource source = domain.getCodeSource();\r\n URL url = source.getLocation();\r\n try {\r\n URI uri = url.toURI();\r\n path = uri.getPath();\r\n \r\n // get path without the jar\r\n String[] pathSplitArray = path.split(\"/\");\r\n path = \"\";\r\n for(int i = 0; i < pathSplitArray.length-1;i++){\r\n path += pathSplitArray[i] + \"/\";\r\n }\r\n \r\n return path;\r\n \r\n } catch (URISyntaxException ex) {\r\n LoggingAspect.afterThrown(ex);\r\n return null;\r\n }\r\n }", "title": "" }, { "docid": "850013203a5c825d8a4e1d0570f1b9e2", "score": "0.5280478", "text": "public String getArchiveFolderPath()\n {\n String currentWorkingDir = SystemUtil.getWorkingDirPath()+\"/\";\n \n ConfigurationStore configStore = ConfigurationStore.getInstance();\n String archiveFolder = configStore.getProperty(IISATProperty.CATEGORY, IISATProperty.ARCHIVE_FOLDER, null);\n String absArchiveFolderPath = currentWorkingDir + archiveFolder;\n _logger.logMessage(\"getArchiveFolderPath\", null, \"Abs archive folder path is \"+absArchiveFolderPath);\n return absArchiveFolderPath;\n }", "title": "" }, { "docid": "96fc1040469db85d5ad496e8204ceb7e", "score": "0.5276481", "text": "public String getDir() {\n return dir;\n }", "title": "" }, { "docid": "bc6539db95da2d2f846973101445e284", "score": "0.52696055", "text": "java.io.File getBaseDir();", "title": "" }, { "docid": "9676381fe3d2ca56dfc0166535f483b7", "score": "0.5238202", "text": "public static String uploadDir() {\n\n String uploads = stringValue(\"treefs.uploads\");\n if(isNullOrEmpty(uploads)) {\n // default home location\n uploads = home() + File.separator + \"uploads\";\n } else {\n uploads = home() + File.separator + uploads;\n }\n\n System.out.println(\"uploadDir=\" + uploads);\n return uploads;\n }", "title": "" }, { "docid": "24ad372dc06f224d223954e8a082bb1a", "score": "0.5227267", "text": "public static String getFileDirectory(String directory) {\n if (directory != \"/\"){\n if (directory.contains(\"/\") && !directory.endsWith(\"/\")) {\n directory += \"//\";\n }\n }\n return directory;\n }", "title": "" }, { "docid": "437b0eaeae0d3b3ed1b626c669bb50c8", "score": "0.5217208", "text": "private static String getDirectoryPath() {\n // Replace the path here with your own\n File file = new File(Environment.getExternalStorageDirectory(),\n \"/GenericAndroidSoundboard/Audio/\");\n // Create the directory if it doesn't exist\n if (!file.exists()) {\n file.mkdirs();\n }\n\n // Get the path to the newly created directory\n return Environment.getExternalStorageDirectory()\n .getAbsolutePath() + \"/GenericAndroidSoundboard/Audio/\";\n }", "title": "" }, { "docid": "e7ad34de8d95271793f5e58391b7ad62", "score": "0.52097", "text": "File getTargetDirectory();", "title": "" }, { "docid": "cf05fa2098ef40c08a10d9a983a51bbe", "score": "0.5201334", "text": "public String getDir() {\n return this.dir;\n }", "title": "" }, { "docid": "5dd578e3ef3e88880633d1f5b1c4d197", "score": "0.5198609", "text": "static String toDirectoryPath(String path) {\n return isNullOrEmpty(path) || isDirectoryPath(path) ? path : path + PATH_DELIMITER;\n }", "title": "" }, { "docid": "0b2a67c9653f1f824b4996a9b91dd452", "score": "0.51934534", "text": "private String getDownloadDir() throws IOException {\n if (!\"mounted\".equals(Environment.getExternalStorageState())) {\n return null;\n }\n String str = this.webView.getContext().getExternalFilesDir(null) + \"/socialsharing-downloads\";\n createOrCleanDir(str);\n return str;\n }", "title": "" }, { "docid": "b94cfa2e1d8fba7736ae9628dbd49511", "score": "0.5121011", "text": "protected String getPath(final StringBuffer directory, final StringBuffer file,\n final String md5String) {\n if (usedate) {\n final String dateFormat = usedateformat;\n final String dateDir = new SimpleDateFormat(dateFormat).format(new Date());\n directory.append(dateDir);\n if (directory.charAt(directory.length() - 1) != File.separatorChar) {\n directory.append(File.separatorChar);\n }\n \n if (!new File(directory.toString()).exists()\n && !new File(directory.toString()).mkdirs()) {\n eventBus.publishAsync(new UserErrorEvent(ErrorLevel.LOW, null,\n \"Unable to create date dirs\", \"\"));\n }\n }\n \n if (filenamehash) {\n file.append('.');\n file.append(md5(md5String));\n }\n file.append(\".log\");\n \n return directory + file.toString();\n }", "title": "" }, { "docid": "530b7adb0936892f0ddb88be8a25757f", "score": "0.5117869", "text": "public static String getFileDirectory(String urlFileGenerated) {\r\n\r\n\t\tString result = \"\";\r\n\r\n\t\tif (urlFileGenerated != null) {\r\n\t\t\tresult = urlFileGenerated.substring(0, urlFileGenerated.lastIndexOf(\"/\") + 1);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\r\n\t}", "title": "" }, { "docid": "dd85ae97120a48f35fa1d04b2564c9b3", "score": "0.51046395", "text": "FsPath baseDir();", "title": "" }, { "docid": "c7b8383c34014ffb911321b9f0fc14ea", "score": "0.5094637", "text": "public String getPath() {\n\t\treturn this.baseDir.getAbsolutePath();\n\t}", "title": "" }, { "docid": "3b692b0c3a03f4061d7bae6954f3162e", "score": "0.50826484", "text": "private String getFilePath(){\n\t\tif(directoryPath==null){\n\t\t\treturn System.getProperty(tmpDirSystemProperty);\n\t\t}\n\t\treturn directoryPath;\n\t}", "title": "" }, { "docid": "5e5880d90cdeab7d57bc4a541f95f417", "score": "0.5078099", "text": "public String getDirectoryPath() { return DirectoryManager.OUTPUT_RESULTAT + \"/\" + directoryName;}", "title": "" }, { "docid": "37e349e13572d45695e63fb31df9550e", "score": "0.50731164", "text": "@Override\n\tpublic String getDirName() {\n\t\treturn StringUtils.substringBeforeLast(getLocation(), \"/\");\n\t}", "title": "" }, { "docid": "4f89abded881fee5484f18d69ef7cd64", "score": "0.50688505", "text": "public static File getAttachmentFilename(Context context, long accountId, long attachmentId) {\n return new File(getAttachmentDirectory(context, accountId), Long.toString(attachmentId));\n }", "title": "" }, { "docid": "8730e1f369b3beaeb8ba44eb4b9a790e", "score": "0.5067288", "text": "public String getBundleDir()\n {\n if ( bundleDir != null )\n {\n bundleDir = cleanBundleDir( bundleDir );\n }\n return bundleDir;\n }", "title": "" }, { "docid": "dccf45664cec6b5dc8ad795fe3ab8519", "score": "0.5066144", "text": "@Override\r\n\t\tpublic String getDir()\r\n\t\t\t{\n\t\t\t\treturn null;\r\n\t\t\t}", "title": "" }, { "docid": "7ab54b8541ff683e518f21e2618a57c5", "score": "0.5061705", "text": "public File getDirectory() {\n\t\treturn directory;\n\t}", "title": "" }, { "docid": "9cde6bb7e7eff97816b63ad65015e043", "score": "0.50592655", "text": "public String getDir(){\r\n\t\treturn dir;\r\n\t}", "title": "" }, { "docid": "449de4a039598fe13eb1148441732331", "score": "0.50534594", "text": "public static String getDirectoryOnly(String path) {\n\t\tStringBuilder line = new StringBuilder(path);\n\t\tint index = line.lastIndexOf(\"/\");\n\n\t\tline.delete(index + 1, line.length());\n\t\treturn line.toString();\n\t}", "title": "" }, { "docid": "87c4e05f85ae5d72696a6977f3eff8bf", "score": "0.5049487", "text": "@Internal(\"Represented as part of archivePath\")\n public File getDestinationDir() {\n return destinationDir;\n }", "title": "" }, { "docid": "b3609b5f401d80f6815f1aa98e5072e2", "score": "0.5026671", "text": "public String getTargetDir() {\n\t\tif (targetDir != null)\n\t\t\treturn targetDir;\n\t\telse if (parent == null)\n\t\t\treturn \"./\";\n\t\telse\n\t\t\treturn parent.getTargetDir();\n\t}", "title": "" }, { "docid": "7068bf0dc47a857ec8327176011a6666", "score": "0.5020866", "text": "public String getPath() {\n String result = \"\";\n Directory curDir = this;\n // Keep looping while the current directories parent exists\n while (curDir.parent != null) {\n // Create the full path string based on the name\n result = curDir.getName() + \"/\" + result;\n curDir = (Directory) curDir.getParent();\n }\n // Return the full string\n result = \"/#/\" + result;\n return result;\n }", "title": "" }, { "docid": "27782360a39dc94dcee9c98b04914c67", "score": "0.5015796", "text": "public Directory getDirectory() {\n\n\tif( _directory == null) { // If the current directory was not already parsed,\n \n \t _directory = parseDirectory(); // parse it.\n\t}\n\n\treturn _directory; // Return the current root directory.\n }", "title": "" }, { "docid": "b8c9c9ada140ef589026306348f3651d", "score": "0.5015147", "text": "private static Path getMediaDirectoryPath(FileSystem fs) throws IOException {\r\n\r\n Path mediaFolderInsideZipPath = null;\r\n for (String mediaFolderInsideZip : OOXML_MEDIA_FOLDERS) {\r\n mediaFolderInsideZipPath = fs.getPath(mediaFolderInsideZip);\r\n if (Files.exists(mediaFolderInsideZipPath)) {\r\n break;\r\n }\r\n }\r\n return mediaFolderInsideZipPath;\r\n }", "title": "" }, { "docid": "df97af3318a0dfb9ae8a1296d6edd503", "score": "0.49981806", "text": "private static String getFullPath(String pathname) {\n String fullPath = null;\n\n // make sure the path starts with a slash\n if (pathname.startsWith(\"/\"))\n fullPath = pathname;\n else\n fullPath = process.getDir() + \"/\" + pathname;\n return fullPath;\n }", "title": "" }, { "docid": "66b8b878d53ba060a342509662dc0e2d", "score": "0.49871182", "text": "private String getFullPath()\n\t{\n\t\tif (libraryName.equals(\"\"))\n\t\t{\n\t\t\treturn fileName;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn libraryName + \"/\" + fileName;\n\t\t}\n\t}", "title": "" }, { "docid": "7fe0a3deb68fbe1021311f9f5992306a", "score": "0.49607044", "text": "public DicomDirectory getDicomDirectory() {\n\t\ttreeModel.getMapOfSOPInstanceUIDToReferencedFileName(this.parentFilePath);\t// initializes map using parentFilePath, ignore return value\n\t\treturn treeModel;\n\t}", "title": "" }, { "docid": "43d777a6241e80290a3fe7e71d5ec625", "score": "0.49602467", "text": "public File getDirectory()\n {\n return directory;\n }", "title": "" }, { "docid": "c25638227f4a576bbe71f02f0a2888d3", "score": "0.49482447", "text": "public String referenceDownloadedArchiveFolder() {\n if (tomcatArchive == null) {\n throw new IllegalStateException(\"No Tomcat Archive has been Selected!\");\n }\n return getDestinationFolder().getAbsolutePath() + File.separator + this.tomcatArchive.getName();\n }", "title": "" }, { "docid": "c9c20c6559fca3fc863da519dcce4f65", "score": "0.4938565", "text": "public java.lang.String getDirName() {\n java.lang.Object ref = dirName_;\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 dirName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "8877e3e6dfd054f3da2143e88fb5cbe9", "score": "0.4937956", "text": "public static String getWorkflowAttachmentsPath() {\n\t\treturn \"/home/ftpshared/WorkflowAttachments\";\n\t\t\n\t}", "title": "" }, { "docid": "a0bd7c4f492e94da3b6b0baf03cfd426", "score": "0.4930397", "text": "public String getPath() {\n\t\treturn pfDir.getPath();\n\t}", "title": "" }, { "docid": "06cd1c13c95c204a9847f3aeb31cb306", "score": "0.49247736", "text": "public static String getDir(String name) {\n\t\tint s = name.lastIndexOf(FILE_SEP);\n\t\treturn s == -1 ? null : name.substring(0, s);\n\t}", "title": "" }, { "docid": "077269e9877a21df1009dc2178dc83a6", "score": "0.49243003", "text": "private String getPhotoFilePath(boolean getThumbnail) throws IOException {\n\n String mainPath = config.getString(\"travelea.photos.main\");\n\n String returnPath = mainPath + (getThumbnail\n ? config.getString(\"travelea.photos.thumbnail\")\n : \"\");\n\n\n Path path = Paths.get(returnPath).toAbsolutePath();\n\n returnPath = path.toString();\n\n if (!path.toFile().exists() || !path.toFile().isDirectory()) {\n Files.createDirectory(path);\n }\n\n return returnPath;\n }", "title": "" }, { "docid": "63479d70ff93745f10e6df84974b08b2", "score": "0.49197108", "text": "public File getCartridgeDir() {\n\t\treturn new File(DataStore.getInstance().getValue(CodegenConstants.DATASTORE_CARTRIDGE_DIR));\n\t}", "title": "" }, { "docid": "6648b4564c6cefbf9e45d1ab4600223b", "score": "0.49193582", "text": "public String getWorkDirectory(){\n String wd = \"\";\n try {\n wd = new File(\"test.txt\").getCanonicalPath().replace(\"/test.txt\",\"\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return wd;\n }", "title": "" }, { "docid": "91b64696983a4153fe0699bbc9d822bf", "score": "0.49151778", "text": "public java.lang.String getDirName() {\n java.lang.Object ref = dirName_;\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 dirName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0f7a5a2152329f47edf765f0f93a4a15", "score": "0.49032077", "text": "protected static String getObjectDirPath(URI resource) {\n String ret = getObjectPath(resource);\n return ret.substring(0, ret.lastIndexOf('/') + 1);\n }", "title": "" }, { "docid": "2410ca50ecc7e140979b8a179c76e158", "score": "0.49025688", "text": "private File getExternalPhotoStorageDir() {\n File file = new File(getExternalFilesDir(\n Environment.DIRECTORY_PICTURES), \"ApparelApp\");\n if (!file.exists() && !file.mkdirs()) {\n Log.e(TAG, \"Directory not created\");\n }\n return file;\n }", "title": "" }, { "docid": "b39c18558c5377d0b5d4e2807f86efb9", "score": "0.48855245", "text": "public static Path getMultipartUploadCommitsDirectory(Configuration conf,\n String uuid)\n throws IOException {\n Path work = FileSystem.get(conf).makeQualified(\n new Path(\"/tmp\", uuid));\n return new Path(work, \"pending-uploads\");\n }", "title": "" }, { "docid": "83170a6c66eb5b3690f7739b4c62282e", "score": "0.48850048", "text": "abstract File getTargetDirectory();", "title": "" }, { "docid": "857e49e1dae0bd4bb4072527827b0317", "score": "0.48805636", "text": "private StringBuffer getLogDirectory() {\n final StringBuffer directory = new StringBuffer();\n directory.append(directoryProvider.get());\n if (directory.charAt(directory.length() - 1) != File.separatorChar) {\n directory.append(File.separatorChar);\n }\n return directory;\n }", "title": "" }, { "docid": "06e8c7621236380b8381eb345975a0ab", "score": "0.48797944", "text": "public static String getOutputDir() {\n outputDir = getProperty(\"outputDir\");\n if (outputDir == null) outputDir = \"./\";\n return outputDir;\n }", "title": "" }, { "docid": "d0002ab61038e48c6552c4cb1ebc3dbd", "score": "0.4860339", "text": "public static String folder(String filename) {\n return new File(filename).getParentFile().getAbsolutePath() + \"/\";\n }", "title": "" }, { "docid": "d59f2b12d2a306862c88703f7f9c04bb", "score": "0.4856528", "text": "private File createDirectoryIfNotExisting( String dirName ) throws HarvesterIOException\n {\n \tFile path = FileHandler.getFile( dirName );\n \tif ( !path.exists() )\n \t{\n \t log.info( String.format( \"Creating directory: %s\", dirName ) );\n \t // create path:\n \t if ( !path.mkdir() )\n \t {\n \t\tString errMsg = String.format( \"Could not create necessary directory: %s\", dirName );\n \t\tlog.error( errMsg );\n \t\tthrow new HarvesterIOException( errMsg );\n \t }\n \t}\n \t\n \treturn path;\n }", "title": "" }, { "docid": "1210713979c4cbaa250f51ac5d3cb071", "score": "0.4851142", "text": "public static String getComplaintAttachmentsPath() {\n\t\treturn \"/home/ftpshared/WorkflowAttachments\";\n\t}", "title": "" }, { "docid": "9fe2223174067714e7fd3d390b6814eb", "score": "0.4844051", "text": "public String getPath()\n\t{\n\t\tString previousPath = File.separator;\n\t\t\n\t\t//if there is a parent\n\t\tif(getParentDirectory() != null)\n\t\t{\n\t\t\t//write over the previous path with the parent's path and a slash\n\t\t\t// /path/to/parent\n\t\t\tpreviousPath = getParentDirectory().getPath() + File.separator;\n\t\t}\n\t\t//else- no parent, this is the root \"/\"\n\t\t\n\t\t//add the name, /path/to/parent/thisdir \n\t\treturn previousPath + getName();\t\t\n\t}", "title": "" }, { "docid": "d1cc39bc82cfcf5d43c0becce596036c", "score": "0.48257792", "text": "@Override\n public void onSaveAttachmentToUserProvidedDirectory(final AttachmentViewInfo attachment) {\n MessageViewFragment fragment = messageViewFragmentWeakReference.get();\n if (fragment == null) {\n return;\n }\n\n Intent intent = new Intent();\n intent.putExtra(\"attachmentInfo\", attachment);\n FileBrowserHelper.getInstance().showFileBrowserActivity(fragment, null,\n MessageViewFragment.ACTIVITY_CHOOSE_DIRECTORY, new FileBrowserHelper.FileBrowserFailOverCallback() {\n @Override\n public void onPathEntered(String path) {\n getAttachmentController(attachment).saveAttachmentTo(path);\n }\n\n @Override\n public void onCancel() {\n // Do nothing\n }\n }, intent);\n\n }", "title": "" }, { "docid": "5278c2182bfe6e3adebda587745a4ba3", "score": "0.48229036", "text": "public Path outputDir() {\n return dir;\n }", "title": "" }, { "docid": "1f1b1339f9549b4e2839c8bbc78a2a27", "score": "0.48212773", "text": "public static File getDirectoryFromConfig(ConfigurationSource conf,\n String key,\n String componentName) {\n final Collection<String> metadirs = conf.getTrimmedStringCollection(key);\n if (metadirs.size() > 1) {\n throw new IllegalArgumentException(\n \"Bad config setting \" + key +\n \". \" + componentName +\n \" does not support multiple metadata dirs currently\");\n }\n\n if (metadirs.size() == 1) {\n final File dbDirPath = new File(metadirs.iterator().next());\n if (!dbDirPath.mkdirs() && !dbDirPath.exists()) {\n throw new IllegalArgumentException(\"Unable to create directory \" +\n dbDirPath + \" specified in configuration setting \" +\n key);\n }\n try {\n Path path = dbDirPath.toPath();\n // Fetch the permissions for the respective component from the config\n String permissionValue = getPermissions(key, conf);\n String symbolicPermission = getSymbolicPermission(permissionValue);\n\n // Set the permissions for the directory\n Files.setPosixFilePermissions(path,\n PosixFilePermissions.fromString(symbolicPermission));\n } catch (Exception e) {\n throw new RuntimeException(\"Failed to set directory permissions for \" +\n dbDirPath + \": \" + e.getMessage(), e);\n }\n return dbDirPath;\n }\n\n return null;\n }", "title": "" }, { "docid": "ed55e92e1559b0de8bddc17b36e1b2bd", "score": "0.4815607", "text": "private static String getDirname(String pathToFile) {\n\t\tString result = null;\n\t\tPath originalFile = Paths.get(pathToFile);\n\t\tPath resultDir = originalFile.getParent();\n\t\tif(resultDir != null) {\n\t\t\tlogger.debug(\"A parent path exists: {}\", resultDir.toString());\n\t\t\tresultDir.normalize(); // remove redundant elements from the path\n\t\t\tresult = resultDir.toString() + \"/\";\n\t\t\tlogger.debug(\"Normalized parent path: {}\", result);\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "b33b6b53a869e5bbc12d80c889c3d9bc", "score": "0.48084164", "text": "Directory createAsDirectory() {\n return getParentAsExistingDirectory().findOrCreateChildDirectory(name);\n }", "title": "" }, { "docid": "8bec7f17743ed0a9f9b4e8f5469a96be", "score": "0.48001933", "text": "public String getDirectoryPath() {\n return EXTERNAL_PATH;\n }", "title": "" }, { "docid": "58660965667f28a01a19d4397558fdc8", "score": "0.4795348", "text": "@Override\n public String persistAttachmentBinary(HttpServletRequest request, Attachment attachment)\n throws PersistenceException {\n if (request == null) {\n return null;\n }\n\n String path = getAttachmentAbsolutePath(attachment, request);\n try {\n FileUtil.write(path, attachment.getData());\n } catch (IOException e) {\n throw new PersistenceException(\"Unable to persist file \" + attachment.getFilename()\n + \"to path \" + path, e);\n }\n\n final String context = request.getContextPath();\n final String urlPath = context + PATH_FORMAT.format(new Object[]{ attachment.getGuid(),attachment.getFilename()});\n return urlPath;\n }", "title": "" }, { "docid": "af487f7a612d504627b76c4a5b6de03b", "score": "0.4789682", "text": "public File getDirectoryValue();", "title": "" }, { "docid": "378ece07beeff06dc38d5e24390fe358", "score": "0.4781567", "text": "public static String getDownloadDirectory() {\n return downloadDirectory;\n }", "title": "" }, { "docid": "c8850074d72ec69351070de848e6a696", "score": "0.4766031", "text": "alluxio.proto.journal.File.InodeDirectoryEntry getInodeDirectory();", "title": "" }, { "docid": "47a8fa1749209124963a5842ba09507a", "score": "0.47652772", "text": "public static String getDatabaseExportDirectory() {\n\t\tif (xml == null) return \"\";\n\t\treturn databaseExportDir;\n\t}", "title": "" }, { "docid": "73ea01ef8c5efa3a9f6c31a980f6bdb0", "score": "0.47584754", "text": "public Queue getQueueDir() {\n Queue result;\n synchronized (this.queueDir) {\n result = this.queueDir;\n }\n return result;\n }", "title": "" }, { "docid": "250e59a08bddd591683cde82ce61bd95", "score": "0.4757682", "text": "String getDatabaseDirectoryPath();", "title": "" }, { "docid": "d0765fc063b5d2f5337bccc0621e7bb0", "score": "0.47431535", "text": "public String getArchiveDDFolderName();", "title": "" }, { "docid": "c5458e07af91b7981aff57e91994748e", "score": "0.47392774", "text": "protected File getFlexHomeDirectory()\n\t{\n\t\tif (!m_initializedFlexHomeDirectory)\n\t\t{\n\t\t\tm_initializedFlexHomeDirectory = true;\n\t\t\tm_flexHomeDirectory = new File(\".\"); // default in case the following logic fails //$NON-NLS-1$\n\t\t\tString flexHome = System.getProperty(\"application.home\"); //$NON-NLS-1$\n\t\t\tif (flexHome != null && flexHome.length() > 0)\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tm_flexHomeDirectory = new File(flexHome).getCanonicalFile();\n\t\t\t\t}\n\t\t\t\tcatch (IOException e)\n\t\t\t\t{\n\t\t\t\t\t// ignore\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn m_flexHomeDirectory;\n\t}", "title": "" }, { "docid": "e239af257e2a4437fb20b7ed3ebb156b", "score": "0.47380754", "text": "public String getImageDir() {\n return (String) data[GENERAL_IMAGE_DIR][PROP_VAL_VALUE];\n }", "title": "" }, { "docid": "a848df23255911d8192921e4ab903586", "score": "0.47372514", "text": "public String getDefDir() {\n\n\t\t// String newDefDir = defDir.replaceAll(\"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\");\n\n\t\treturn defDir;\n\n\t}", "title": "" }, { "docid": "322084fcf32bdf4db9ec16f995de80fd", "score": "0.47233972", "text": "public int getDir() {\n\t\treturn dir;\r\n\t}", "title": "" }, { "docid": "5b82180b27e53bffdaf09d086bd0d072", "score": "0.47193778", "text": "private static String getDirectoryBase(String parentBase) {\n if (parentBase.endsWith(\"/\")) return parentBase;\n int lastSlash = parentBase.lastIndexOf('/');\n return parentBase.substring(0, lastSlash+1);\n }", "title": "" }, { "docid": "e2e06119b9d75c0c93a8d55f179c0569", "score": "0.47191504", "text": "public static String getImageDownloadDir(Context context) {\n if (downloadRootDir == null) {\n initFileDir(context);\n }\n return imageDownloadDir;\n }", "title": "" }, { "docid": "fa70ff17f059d7cecb955bfe0c1343cb", "score": "0.47138128", "text": "public File getDefaultDiskCacheDir() {\n if (mContext == null)\n throw new FIllegalArgumentException(\"Context can not be null\");\n return DiskCacheUtil.getDiskLruCacheDir(mContext);\n }", "title": "" }, { "docid": "c5c7f46ea4fd030b24b6c3dc42bf7aa4", "score": "0.47133246", "text": "@Basic @Raw\r\n\tpublic Directory getDir() {\r\n\t\treturn dir;\r\n\t}", "title": "" }, { "docid": "f82981d9278c8ff85893b0053dabafd6", "score": "0.47118735", "text": "public String getIndexDirectoryString() {\n File indexDir = this.getIndexDirectory();\n return indexDir != null ? indexDir.getAbsolutePath() : null;\n }", "title": "" }, { "docid": "78ecb88f19f8ae09da84c0654b7a889a", "score": "0.47116545", "text": "public static File getDir(String city) {\n\t\tcity = checkUpperCase(city);\n\t\tString file = city + \".dat\";\n\t\tString dir = (System.getProperty(\"user.dir\"));\n\t\tdir += \"/data\";\n\t\tFile actualFile = new File (dir, file);\n\t\treturn actualFile;\n\t}", "title": "" }, { "docid": "9cb8fe41808d4e582df049f89d79b9a9", "score": "0.47110677", "text": "public static File getDatabaseExportDirectoryFile() {\n\t\tif (xml == null) return null;\n\t\treturn new File(basepath + databaseExportDir);\n\t}", "title": "" }, { "docid": "3439f5595151f377a39da3748a93ad93", "score": "0.47110507", "text": "public String getBackupDirectory() {\n\t\treturn props.getProperty(ARGUMENT_BACKUP_DIRECTORY);\n\t}", "title": "" }, { "docid": "4f839402e875a5bed25c8307e8c7c1e9", "score": "0.4710578", "text": "public DirectoryField addDirectoryField(final FileProperty property, final String directory) {\n return addDirectoryField(property.getKey(), directory);\n }", "title": "" }, { "docid": "bfb4274e1963e30865a98f7d8e731206", "score": "0.46934047", "text": "public String getPath() {\n if (fileType == HTTP) {\n return fileName.substring(0, fileName.lastIndexOf(\"/\"));\n } else {\n return fileName.substring(0, fileName.lastIndexOf(File.separator));\n }\n }", "title": "" }, { "docid": "5197d53af74a4cf395d114e68416f720", "score": "0.46868187", "text": "public String getTemplatePath() {\n this.defaultPath = defaultPath.endsWith(File.separator) ? defaultPath : defaultPath + File.separator;\n\n if (Paths.get(defaultPath).toFile().mkdirs()) {\n //Throw exception, couldn't create directories\n }\n\n return defaultPath + (defaultName != null ? defaultName + \".\" + extensionPattern : \"\");\n }", "title": "" }, { "docid": "9bc5ea1aca18bc93f9982e7f3dfa34db", "score": "0.46866098", "text": "public String getMappingDirectory() {\n\t\treturn props.getProperty(ARGUMENT_MAPPING_DIRECTORY);\n\t}", "title": "" }, { "docid": "ab3ec5cf61ac6c974db425277aaff1d4", "score": "0.46782678", "text": "public String getPath() {\n\t\treturn file.getPath();\n\t}", "title": "" } ]
51c5942dc8a2ae2067cb3e3fae43f01d
This method was generated by MyBatis Generator. This method sets the value of the database column sdk_interface.id
[ { "docid": "2f55f13f232ada678023e561a82c44c9", "score": "0.0", "text": "public void setId(Integer id) {\n this.id = id;\n }", "title": "" } ]
[ { "docid": "bd31cceb0c30e585d9c5565b685cd924", "score": "0.70417243", "text": "public void setInterfaceId(final String interfaceId);", "title": "" }, { "docid": "33d123e158fa5a4ddbab716b872402f2", "score": "0.61785865", "text": "public void setInterfaceTypeId(java.lang.Integer interfaceTypeId) {\n this.interfaceTypeId = interfaceTypeId;\n }", "title": "" }, { "docid": "3c8207cb6ac4bf968ca0587c74119be9", "score": "0.60560596", "text": "@NotNull\n @JsonProperty(\"interfaceId\")\n public String getInterfaceId();", "title": "" }, { "docid": "d94a747e371363d8bb2ce6939d6e08cf", "score": "0.6008025", "text": "public void setIsInterface(boolean isInterface) {\r\n \t\tthis.isInterface = isInterface;\r\n \t}", "title": "" }, { "docid": "2df5bdfacb9ea6c3187a7a0251ed916b", "score": "0.5842717", "text": "public java.lang.Integer getInterfaceTypeId() {\n return interfaceTypeId;\n }", "title": "" }, { "docid": "4bf474c1b6a8eeecffab3a94b900ea3f", "score": "0.57102466", "text": "public void setInterface(EdifCellInterface iface) {\n _interface = iface;\n }", "title": "" }, { "docid": "3152e91f31eebbe4f685f16425aedf70", "score": "0.5610244", "text": "public int setUserMappedInterfaces(ArrayList allowedInterfaceId, ArrayList prohibitedInterfaceId, String roleId) throws SQLException \r\n\t{\n\t\t\r\n\t\tint retCode = 0;\r\n\t\tString strinsertNewInterfaceId = \"\", strEnabledInterfaceId = \"\", strDisabledInterfaceId = \"\";\r\n\t\tArrayList<String> insertNewInterfaceId = new ArrayList<String>();\r\n\t\tArrayList<String> updateEnableInterfaceId = new ArrayList<String>();\r\n\t\tArrayList<String> updateDisableInterfaceId = new ArrayList<String>();\r\n\t\tConnection con = null;\t\t\r\n\t\tCallableStatement csChangeUserAccess = null;\r\n\t\tResultSet rsMatrixId = null;\r\n\t\tResultSet rs=null;\r\n\t\ttry\r\n\t\t{\r\n\t\t\tfor(int i=0;i<allowedInterfaceId.size();i++)\r\n\t\t\t{\r\n\t\t\t\tString tempStr = allowedInterfaceId.get(i).toString();\r\n\t\t\t\tString[] tempArrStr = tempStr.split(\"#\");\r\n\t\t\t\tif(tempArrStr[1].equals(\"2\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tinsertNewInterfaceId.add(tempArrStr[0]);\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tupdateEnableInterfaceId.add(tempArrStr[0]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tfor(int j=0 ; j<prohibitedInterfaceId.size() ; j++)\r\n\t\t\t{\r\n\t\t\t\tString tempStr = prohibitedInterfaceId.get(j).toString();\r\n\t\t\t\tString[] tempArrStr = tempStr.split(\"#\");\r\n\t\t\t\tupdateDisableInterfaceId.add(tempArrStr[0]);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tNpdConnection connectionClassObj = new NpdConnection();\r\n\t\t\tcon = connectionClassObj.getConnectionObject();\r\n\t\t\trs=con.createStatement().executeQuery(\"SELECT 1 FROM SYSIBM.SYSDUMMY1\");\r\n\t\t\trs.next();\r\n\t\t\tString st1r=rs.getString(1);\r\n\t\t\t\r\n\t\t\t//con.setAutoCommit(false);\r\n\t\t\t\r\n\t\t\tcsChangeUserAccess = con.prepareCall(sqlChangeUserInterfaceMapping);\r\n\t\t\tcsChangeUserAccess.setString(1,roleId);\t\t\t\t\r\n\t\t\t\r\n\t\t\tif(insertNewInterfaceId.size()>0)\r\n\t\t\t{\t\r\n\t\t\t\tString str = insertNewInterfaceId.toString();\r\n\t\t\t\tstrinsertNewInterfaceId = str.substring(1,(str.length()-1)).replaceAll(\" \", \"\");\r\n\t\t\t}\r\n\t\t\tif(updateEnableInterfaceId.size()>0)\r\n\t\t\t{\t\r\n\t\t\t\tString str2 = updateEnableInterfaceId.toString();\r\n\t\t\t\tstrEnabledInterfaceId = str2.substring(1,(str2.length()-1)).replaceAll(\" \", \"\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(updateDisableInterfaceId.size()>0)\r\n\t\t\t{\r\n\t\t\t\tString str3 = updateDisableInterfaceId.toString();\r\n\t\t\t\tstrDisabledInterfaceId = str3.substring(1,(str3.length()-1)).replaceAll(\" \", \"\");\t\t\t\t\r\n\t\t\t}\t\r\n\t\t\t\r\n\t\t\tcsChangeUserAccess.setString(2,strEnabledInterfaceId);\r\n\t\t\tcsChangeUserAccess.setString(3,strDisabledInterfaceId);\r\n\t\t\tcsChangeUserAccess.setString(4,strinsertNewInterfaceId);\r\n\t\t\tcsChangeUserAccess.execute();\r\n\t\t\t\r\n\t\t\tcon.commit();\r\n\t\t\tretCode=1;\r\n\t\t}\r\n\t\tcatch(Exception ex)\r\n\t\t{\r\n\t\t\tcon.rollback();\r\n\t\t\tex.printStackTrace();\r\n\t\t\tlogger.error(ex.getMessage()\r\n\t\t\t\t\t+ \" Exception occured while closing database objects in fetchBcpDetails method of \"\r\n\t\t\t\t\t+ this.getClass().getSimpleName());\r\n\t\t}\r\n\t\tfinally\r\n\t\t{\r\n\t\t\ttry \r\n\t\t\t{\r\n\t\t\t\tDbConnection.closeResultset(rs);\r\n\t\t\t\tDbConnection.closeResultset(rsMatrixId);\r\n\t\t\t\tDbConnection.closeCallableStatement(csChangeUserAccess);\r\n\t\t\t\tNpdConnection.freeConnection(con);\r\n\t\t\t\t//csChangeUserAccess.close();\r\n\t\t\t\t//DbConnection.freeConnection(conn);;\r\n\t\t\t} \r\n\t\t\tcatch (Exception e) \r\n\t\t\t{\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn retCode;\r\n\t}", "title": "" }, { "docid": "42b6ff6f8be70d0f9f11469e9652bbb4", "score": "0.5521336", "text": "public IStatus setInterface(IElementDescriptor element, boolean interfaceFlag);", "title": "" }, { "docid": "deacef743bacb47f7aa65f97571d6838", "score": "0.54844385", "text": "public void setIsvId(Integer isvId) {\n this.isvId = isvId;\n }", "title": "" }, { "docid": "f3545c61c9745a549f564338b60e8b64", "score": "0.5426821", "text": "public int getInterface_number()\r\n {\r\n return interface_number;\r\n }", "title": "" }, { "docid": "8e37fcf278f337d6141a79ba3b8db32d", "score": "0.53889465", "text": "public void setIsId(boolean isId) {\n\t\tisIdAttr = isId;\n\t}", "title": "" }, { "docid": "1bfb60d6b0be02d1d747d50a6dc347bd", "score": "0.5384062", "text": "public void SetID() {\n OCCwrapJavaJNI.TDF_Attribute_SetID__SWIG_1(swigCPtr, this);\n }", "title": "" }, { "docid": "d0dcd4e009e7b873e1017e5fa1bd901d", "score": "0.5304602", "text": "public void setIbatis(SqlMapClient sqlMapper) {\n\t\tthis.sqlMapper = sqlMapper;\n\t}", "title": "" }, { "docid": "f4b73c64f05b5a3abfc298f333d31f59", "score": "0.5294679", "text": "public abstract void setLinkToInterface(HLinkToInterface linkToInterface);", "title": "" }, { "docid": "bdf3c2227883c2857bdc06342e608b5b", "score": "0.52921677", "text": "@Nullable\n public String getInterfaceCode() {\n return this.interfaceCode;\n }", "title": "" }, { "docid": "72fed1f77c0fa23d1151ad08a1eb5c65", "score": "0.5270959", "text": "public PaymentStatusDraftBuilder interfaceCode(@Nullable final String interfaceCode) {\n this.interfaceCode = interfaceCode;\n return this;\n }", "title": "" }, { "docid": "1e27394a745b94a8e03083edaaf28d34", "score": "0.5267961", "text": "public co.rira.kafka.model.OpennmsModelProtos.IpInterface.Builder addIpInterfaceBuilder() {\n return getIpInterfaceFieldBuilder().addBuilder(\n co.rira.kafka.model.OpennmsModelProtos.IpInterface.getDefaultInstance());\n }", "title": "" }, { "docid": "27e3ae5f606904124dc4648fe07ca367", "score": "0.52483904", "text": "@Override\n public void setId(int id) {\n super.setId(id);\n // make sure platform info was set before we go notifying js of nothing.\n if (mPlatform != null) {\n notifyPlatformInformation();\n }\n }", "title": "" }, { "docid": "9a8459a89ebb24e5f7487afcc585e548", "score": "0.5239233", "text": "@Override\n public void setId(String id) {\n }", "title": "" }, { "docid": "e0a48d763c64445de504666cf016ba52", "score": "0.5195212", "text": "public void setId(String value) {\n this.id = value;\n }", "title": "" }, { "docid": "7a9c5eee9539af6d1473573c7d9e3a3b", "score": "0.5192043", "text": "@Override\n\tpublic void setId(String arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "7a9c5eee9539af6d1473573c7d9e3a3b", "score": "0.5192043", "text": "@Override\n\tpublic void setId(String arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "aaf41f8ba83ce76ca89aa50dc993e16b", "score": "0.518972", "text": "public void setIdOBJECTIF(long aIdOBJECTIF){\n\tthis.idOBJECTIF=aIdOBJECTIF;\r\n}", "title": "" }, { "docid": "ed98d8f1b03990961734c3a0a3c0eafc", "score": "0.5181639", "text": "@Override\n\tpublic void setId(String id) {\n\t\t\n\t}", "title": "" }, { "docid": "0abe072f43a720169d4f446f4bdadee1", "score": "0.51740056", "text": "@Override\r\n\tpublic int updateInterface() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "31b4e437f77fc247f51d5bd238e246b0", "score": "0.5173623", "text": "public Builder setIpInterface(\n int index, co.rira.kafka.model.OpennmsModelProtos.IpInterface value) {\n if (ipInterfaceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureIpInterfaceIsMutable();\n ipInterface_.set(index, value);\n onChanged();\n } else {\n ipInterfaceBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "a343cb96e09d6d14cc75bc2fbbfb280d", "score": "0.51717466", "text": "public void iid(String iid)\r\n {\r\n mIid = iid;\r\n }", "title": "" }, { "docid": "8dedbeaf9e6976650ea6f8d939b4fe0e", "score": "0.51671475", "text": "public static PaymentSetInterfaceIdAction of(final PaymentSetInterfaceIdAction template) {\n PaymentSetInterfaceIdActionImpl instance = new PaymentSetInterfaceIdActionImpl();\n instance.setInterfaceId(template.getInterfaceId());\n return instance;\n }", "title": "" }, { "docid": "1a9e7d89d182b8c2ef0e587d5ca5a10d", "score": "0.5164354", "text": "public Builder addIpInterface(co.rira.kafka.model.OpennmsModelProtos.IpInterface value) {\n if (ipInterfaceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureIpInterfaceIsMutable();\n ipInterface_.add(value);\n onChanged();\n } else {\n ipInterfaceBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "7242076d9351eeaa48479ea9c66ffa6b", "score": "0.5159111", "text": "public void populateIpInterface(\n IpInterfaceParam param, IpInterface ipInterface) {\n ipInterface.setIpAddress(param.findIPaddress());\n ipInterface.setProtocol(param.findProtocol());\n ipInterface.setScopeId(param.getScopeId());\n ipInterface.setPrefixLength(param.getPrefixLength());\n if (param.getNetmask() != null) {\n ipInterface.setNetmask(param.getNetmask().toString());\n }\n\n // Set label to ipAddress if not specified on create.\n if (ipInterface.getLabel() == null && param.getName() == null) {\n ipInterface.setLabel(ipInterface.getIpAddress());\n } else if (param.getName() != null) {\n ipInterface.setLabel(param.getName());\n }\n }", "title": "" }, { "docid": "3d781bc213b63f37f826edef4350867b", "score": "0.51512855", "text": "@Override\n\tpublic void setId(int id) {\n\t\t\n\t}", "title": "" }, { "docid": "c5d7d6ff7bfba33a5a5dfa5ef2f82f9c", "score": "0.5144807", "text": "public void setIdType(Integer idType) {\n\t\tthis.idType = idType;\n\t}", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "38f612437cdbc47920fd2b94ab78f434", "score": "0.51329476", "text": "public void setOps_interface(java.lang.String param){\n localOps_interfaceTracker = true;\n \n this.localOps_interface=param;\n \n\n }", "title": "" }, { "docid": "3ddb4437d6057385e9fdd6f6202b3379", "score": "0.5106063", "text": "public void setId(String i) {\n this.id = i;\n }", "title": "" }, { "docid": "06231b81753f3b0d18bde93560c4fa3b", "score": "0.5083831", "text": "public void setID(int id);", "title": "" }, { "docid": "06231b81753f3b0d18bde93560c4fa3b", "score": "0.5083831", "text": "public void setID(int id);", "title": "" }, { "docid": "06231b81753f3b0d18bde93560c4fa3b", "score": "0.5083831", "text": "public void setID(int id);", "title": "" }, { "docid": "a12b02953c0cf3f5858a430541ad8d7a", "score": "0.5071886", "text": "@Override\n\tpublic int getIdInPackage() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "7aa03024fb306a259f70a7ab3884c7f5", "score": "0.50570065", "text": "public void setIfIndex(Long ifIndex) throws Throwable {\n ColumnDescription columndesc = new ColumnDescription(\"ifindex\",\n \"setIfIndex\",\n \"7.2.1\");\n super.setDataHandler(columndesc, ifIndex);\n }", "title": "" }, { "docid": "c88f762a64fae8b99475900caed8a76f", "score": "0.5054322", "text": "public void setServerInterface(ServerInterface server_interface) {\r\n\r\n\t\tthis.server_interface = server_interface;\r\n\r\n\t}", "title": "" }, { "docid": "24684debda074361b7caa6d909504673", "score": "0.5046973", "text": "public interface GcSqlAssignPrimaryKey {\r\n\r\n /**\r\n * assign a new primary key for insert. return true if assigned (insert) or false if not needed\r\n */\r\n public boolean gcSqlAssignNewPrimaryKeyForInsert();\r\n \r\n}", "title": "" }, { "docid": "6ca667d934aba96f2d7b18b26e10e62a", "score": "0.5042584", "text": "public void setInjectionTarget(int index, org.netbeans.modules.j2ee.dd.api.common.InjectionTarget valueInterface) {\n\t\tInjectionTarget value = (InjectionTarget) valueInterface;\n\t\tthis.setValue(INJECTION_TARGET, index, value);\n\t}", "title": "" }, { "docid": "c36483a1935d306014290705030a7d98", "score": "0.503742", "text": "public void updateInterfaceData(Set<InterfaceDescription> interfaces);", "title": "" }, { "docid": "b270b3477474ec6050f7737d6af29923", "score": "0.5032128", "text": "@Override\n public void setIdAttribute(String name, boolean isId) throws DOMException {\n delegateElement.setIdAttribute(name, isId);\n }", "title": "" }, { "docid": "5186e1ce01315036681f78aee861b407", "score": "0.5024818", "text": "public void setId() {\n this.id = id;\r\n }", "title": "" }, { "docid": "0bfdb5cd722e0ffe77a05f48aaa8beb7", "score": "0.5020065", "text": "public void setIdl( boolean idl )\n {\n this.idl = idl;\n }", "title": "" }, { "docid": "05dbb3e84ef2fc66856748038a25a13b", "score": "0.5011856", "text": "@Override\r\n\t\t\tpublic void setId(int id) {\n\t\t\t\tsuper.setId(id);\r\n\t\t\t}", "title": "" }, { "docid": "64dc1df658a5c8677407b96a0af51e2f", "score": "0.49986783", "text": "public void setID(int id) { \r\n this.id = id; \r\n }", "title": "" }, { "docid": "182a00edc5b7ea0b45440649707ca9d2", "score": "0.4990741", "text": "@Override\n\tpublic void setId(Long id) {\n\t}", "title": "" }, { "docid": "63d485734098e56684b30f95dcbd4670", "score": "0.4990591", "text": "public Builder addSnmpInterface(co.rira.kafka.model.OpennmsModelProtos.SnmpInterface value) {\n if (snmpInterfaceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSnmpInterfaceIsMutable();\n snmpInterface_.add(value);\n onChanged();\n } else {\n snmpInterfaceBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "d789c5fdc7aa36ab198ae7454c8eab1c", "score": "0.49866432", "text": "public void setId(String id)\n/* */ {\n/* 72 */ this.id = id;\n/* */ }", "title": "" }, { "docid": "9cea91dedd07a2f097a56f4148c429a5", "score": "0.49756008", "text": "public void setJP_DataMigration_Invoice_ID (int JP_DataMigration_Invoice_ID)\n\t{\n\t\tif (JP_DataMigration_Invoice_ID < 1) \n\t\t\tset_Value (COLUMNNAME_JP_DataMigration_Invoice_ID, null);\n\t\telse \n\t\t\tset_Value (COLUMNNAME_JP_DataMigration_Invoice_ID, Integer.valueOf(JP_DataMigration_Invoice_ID));\n\t}", "title": "" }, { "docid": "81f2b73ed6ccf36539b6ff69e87c45ca", "score": "0.4974827", "text": "public co.rira.kafka.model.OpennmsModelProtos.SnmpInterface.Builder addSnmpInterfaceBuilder() {\n return getSnmpInterfaceFieldBuilder().addBuilder(\n co.rira.kafka.model.OpennmsModelProtos.SnmpInterface.getDefaultInstance());\n }", "title": "" }, { "docid": "e7143c96e21d1967509444bb7fd1ebc0", "score": "0.4973559", "text": "@Override\n\tpublic void setId(Long id) {\n\t\t\n\t}", "title": "" }, { "docid": "8cb01a2c804cdbf7603ea7037387f27d", "score": "0.497337", "text": "public Interface(DatabaseSchema dbSchema, Row row) {\n super(dbSchema, row, \"Interface\", \"1.0.0\");\n if (row != null) {\n row.setTableSchema(dbSchema.getTableSchema(\"Interface\"));\n }\n }", "title": "" }, { "docid": "1bdcdd7894306fb2e669977d36c037b0", "score": "0.49723953", "text": "AdaptorinterfacePackage getAdaptorinterfacePackage();", "title": "" }, { "docid": "b105660bb5545f5e39f70e0a04136f6d", "score": "0.49695995", "text": "public void setIid (java.lang.String iid) {\n\t\tthis.iid = iid;\n\t}", "title": "" }, { "docid": "86f5a7db3a536052e6c3564e54a116bb", "score": "0.49618378", "text": "public interface DBObj {\n\n\tpublic long getId();\n\tpublic void setId(long id);\n\t\n}", "title": "" }, { "docid": "ca31e21b84799eb9ab3bdfc4525d0c8e", "score": "0.49555966", "text": "public void setId(DbKey id) { algorithmId = id; }", "title": "" }, { "docid": "c762d37c246f2e0546026402cb7f23d8", "score": "0.49510446", "text": "public void setIdPath(String idPath) {\n\t\t\t\tthis.idPath = idPath;\n\t\t}", "title": "" }, { "docid": "d6fc6fc70ceeaa24f442ff68ea1e5d18", "score": "0.49460185", "text": "public abstract void setId(ID id);", "title": "" }, { "docid": "1ddb07f89ac0810cb6ef69b41f87ff06", "score": "0.49414334", "text": "void setId(ID id);", "title": "" }, { "docid": "1ddb07f89ac0810cb6ef69b41f87ff06", "score": "0.49414334", "text": "void setId(ID id);", "title": "" }, { "docid": "3795539dd0d3cce40d3e044fc2e3af01", "score": "0.49394307", "text": "public final void setLDAPObject_LDAPInterfaceConfiguration(com.mendix.systemwideinterfaces.core.IContext context, interfaceconfiguration.proxies.LDAPInterfaceConfiguration ldapobject_ldapinterfaceconfiguration)\r\n\t{\r\n\t\tif (ldapobject_ldapinterfaceconfiguration == null)\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.LDAPObject_LDAPInterfaceConfiguration.toString(), null);\r\n\t\telse\r\n\t\t\tgetMendixObject().setValue(context, MemberNames.LDAPObject_LDAPInterfaceConfiguration.toString(), ldapobject_ldapinterfaceconfiguration.getMendixObject().getId());\r\n\t}", "title": "" }, { "docid": "e204600d83346737920d46fcdc2374a7", "score": "0.49386966", "text": "@SuppressWarnings(\"all\")\npublic interface I_W_M_Product \n{\n /** Column name LBR_NCM_ID */\n public static final String COLUMNNAME_LBR_NCM_ID = \"LBR_NCM_ID\";\n\n\t/** Set NCM.\n\t * NCM stands for Nomenclatura Comum do MERCOSUL\n\t */\n\tpublic void setLBR_NCM_ID (int LBR_NCM_ID);\n\n\t/** Get NCM.\n\t * NCM stands for Nomenclatura Comum do MERCOSUL\n\t */\n\tpublic int getLBR_NCM_ID();\n}", "title": "" }, { "docid": "60d9eee31087a33ef9148d2e8731f8a2", "score": "0.4927184", "text": "void setId(String id){\n this.id = id;\n }", "title": "" }, { "docid": "0e3634c463280cf5a8ea68053778a429", "score": "0.4926776", "text": "public void setNestedInterface(final Set<Link> nestedInterface )\n {\n // Start of user code setterInit:nestedInterface\n // End of user code\n this.nestedInterface.clear();\n if (nestedInterface != null)\n {\n this.nestedInterface.addAll(nestedInterface);\n }\n \n // Start of user code setterFinalize:nestedInterface\n // End of user code\n }", "title": "" }, { "docid": "9a09d73ddee4d6241198accc11a7083f", "score": "0.4913348", "text": "void setId(int value);", "title": "" }, { "docid": "9a09d73ddee4d6241198accc11a7083f", "score": "0.4913348", "text": "void setId(int value);", "title": "" }, { "docid": "be5850996f4de94ca7fd9440f2fbf9db", "score": "0.4910541", "text": "public void setId(int id){\r\n this.id = id;\r\n }", "title": "" }, { "docid": "a27c7009b231d74f28379dfb6d2806a3", "score": "0.48962963", "text": "private void setupInterface() {\n \t\t\n \t}", "title": "" }, { "docid": "f49c229ac492594cb3d8f6a54c72fb4d", "score": "0.4893293", "text": "public void setId(int id) {\n\t\t\n\t}", "title": "" }, { "docid": "a603ab2be3abb5139dbc9b57bd52dd22", "score": "0.4890654", "text": "public void setId(int id){\n this.id = id;\n }", "title": "" }, { "docid": "34f045641c8a043f7fab0a39729a6601", "score": "0.48885334", "text": "public void setId(Integer id) { this.id = id; }", "title": "" }, { "docid": "4346e5a854bafebc22dbca1980d8631f", "score": "0.4882083", "text": "public void setId(String id) { this.id = id; }", "title": "" }, { "docid": "30f052909f4aaf4e5acbabd7162a855b", "score": "0.48812363", "text": "public void setId(int i){\r\n id = i;\r\n }", "title": "" }, { "docid": "ae02dd9a8ef83c1107dd2b46fc1bae1d", "score": "0.4880483", "text": "public void setIdPath(String idPath) {\n\t\tthis.idPath = idPath;\n\t}", "title": "" }, { "docid": "0847e73c7b4cc818acc9450f87baf6ce", "score": "0.48799592", "text": "public void setId(int id) { this.id = id; }", "title": "" }, { "docid": "b8c0ff3355ab10ebe3aad6dae0af64b4", "score": "0.48792037", "text": "public interface IReportSummaryPK {\r\n\r\n\r\n\r\n /**\r\n * Return the value associated with the column: locationId.\r\n\t * @return A String object (this.locationId)\r\n\t */\r\n\tString getLocationId();\r\n\t\r\n\r\n \r\n /** \r\n * Set the value related to the column: locationId.\r\n\t * @param locationId the locationId value you wish to set\r\n\t */\r\n\tvoid setLocationId(final String locationId);\r\n\r\n /**\r\n * Return the value associated with the column: providerId.\r\n\t * @return A String object (this.providerId)\r\n\t */\r\n\tString getProviderId();\r\n\t\r\n\r\n \r\n /** \r\n * Set the value related to the column: providerId.\r\n\t * @param providerId the providerId value you wish to set\r\n\t */\r\n\tvoid setProviderId(final String providerId);\r\n\r\n /**\r\n * Return the value associated with the column: reviewDate.\r\n\t * @return A Date object (this.reviewDate)\r\n\t */\r\n\tDate getReviewDate();\r\n\t\r\n\r\n \r\n /** \r\n * Set the value related to the column: reviewDate.\r\n\t * @param reviewDate the reviewDate value you wish to set\r\n\t */\r\n\tvoid setReviewDate(final Date reviewDate);\r\n\r\n\t// end of interface\r\n}", "title": "" }, { "docid": "9b126c93aed8ac67677daf0381b825a7", "score": "0.48782566", "text": "void setId(int id)\n {\n this.id = id;\n }", "title": "" }, { "docid": "3595e2d1a12d559021012122b7c58f77", "score": "0.48779774", "text": "public void setId(String id);", "title": "" }, { "docid": "3595e2d1a12d559021012122b7c58f77", "score": "0.48779774", "text": "public void setId(String id);", "title": "" }, { "docid": "3595e2d1a12d559021012122b7c58f77", "score": "0.48779774", "text": "public void setId(String id);", "title": "" } ]
ea26aa6c1604395fc8857233b777299b
Sets the vacation curr year of this vacation.
[ { "docid": "a18b873c2ce0c381007ff26a3e03bc66", "score": "0.7675955", "text": "@Override\n\tpublic void setVacationCurrYear(int vacationCurrYear) {\n\t\t_vacation.setVacationCurrYear(vacationCurrYear);\n\t}", "title": "" } ]
[ { "docid": "212288aac6f277a453ce10e4d2631543", "score": "0.728536", "text": "@Override\n\tpublic void setVacationPrevYear(int vacationPrevYear) {\n\t\t_vacation.setVacationPrevYear(vacationPrevYear);\n\t}", "title": "" }, { "docid": "265af7f1fc59c73f047c0509063a6e9c", "score": "0.72042036", "text": "@Override\n\tpublic int getVacationCurrYear() {\n\t\treturn _vacation.getVacationCurrYear();\n\t}", "title": "" }, { "docid": "cacf27b10324d2066c6bd7d9fa1a0955", "score": "0.69101614", "text": "void setYear(java.util.Calendar year);", "title": "" }, { "docid": "65f4acd6f1e71cc7c5cbdafd00047bb0", "score": "0.6615389", "text": "public void setReleaseYear(int v) \n {\n\n if (this.releaseYear != v)\n {\n this.releaseYear = v;\n setModified(true);\n }\n\n\n }", "title": "" }, { "docid": "209674d66c1ba9928944592f986ea11f", "score": "0.6474469", "text": "public void setYearOfFounding(int y) {\r\n\t\tassert (y > 0);\r\n\t\tcompanyYear = y;\r\n\t}", "title": "" }, { "docid": "f38d2e96157171bd58c2d925e52d8e1a", "score": "0.6440271", "text": "public void setYear(int yr) {\n year = yr;\n }", "title": "" }, { "docid": "05626bbbd009b975191d0a27185ddfed", "score": "0.6345124", "text": "@Override\n\tpublic int getVacationPrevYear() {\n\t\treturn _vacation.getVacationPrevYear();\n\t}", "title": "" }, { "docid": "456eba31c7b106a7d94b97b57c031a5d", "score": "0.6202116", "text": "public void setYear(int year) {\r\n setYear(year, true);\r\n }", "title": "" }, { "docid": "e7c1c5f733ff208faf1a39f885b69b34", "score": "0.60901356", "text": "public void setAge() {\n\t\t\n\t\tDate current=new Date();\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"yyyy\");\n\t\t\n\t\tString currentString = sdf.format(current); //2018\n\t\tint currentYear = Integer.parseInt(currentString);\n\t\t\n\t\tthis.age = currentYear - birthYear;\n\t\tif(this.age>90 || this.age<1) {\n\t\t\tthis.birthday=\"Birthdate is not valid.\";\n\t\t\tthis.age=-1;\n\t\t}\n\t}", "title": "" }, { "docid": "2be5ae43ad11a46bafab2eddca17e3db", "score": "0.6083973", "text": "public synchronized void setYear(int year) {\r\n\t\tcalendar.set(Calendar.YEAR,year);\r\n\t\tpaint(getGraphics());\r\n\t}", "title": "" }, { "docid": "f26d6a67d2dcecadbab691291d190149", "score": "0.6056639", "text": "public void setYear(int year){\n this.year = year;\n \n }", "title": "" }, { "docid": "b037e5d564d813307a1d92d1060d7720", "score": "0.60488766", "text": "public AstronomicalYear() {\n\t\ty = DEFAULT.y;\n\t}", "title": "" }, { "docid": "8de34390f34622064dacc041868c8bb8", "score": "0.60192865", "text": "public void incrementYear() {\r\n\t\tyear++;\r\n\t\tadjustLeapYear();\r\n\t}", "title": "" }, { "docid": "b31d6f3591d2f046c02ead7e9c452601", "score": "0.59487474", "text": "public final void setYear(final Integer newYear) {\n this.year = newYear;\n }", "title": "" }, { "docid": "38006f2959f52f31bdb2b6456eaeb011", "score": "0.5937775", "text": "public void setYear(int year) {\n this.year = year;\n }", "title": "" }, { "docid": "f8c24007ec417ae24c0ba55dcc77fa4a", "score": "0.5935343", "text": "private void previousYear()\n \t{\n \t\tCalendar cal = calendarView.getCalendar();\n \t\tcal.add(Calendar.YEAR, -1);\n \t\tcalendarView.setFirstDisplayedDay(cal.getTime());\n \t}", "title": "" }, { "docid": "5e40430687b2af362d406f2704ca0c36", "score": "0.5935007", "text": "private void nextYear()\n \t{\n \t\tCalendar cal = calendarView.getCalendar();\n \t\tcal.add(Calendar.YEAR, +1);\n \t\tcalendarView.setFirstDisplayedDay(cal.getTime());\n \t}", "title": "" }, { "docid": "e8e009bf5391f946c0ced149b5c18a10", "score": "0.59027684", "text": "public void setYear(int year, boolean update) {\r\n calendar.set(Calendar.YEAR, year);\r\n if (update) {\r\n setTime(calendar.getTime().getTime());\r\n }\r\n }", "title": "" }, { "docid": "4016a402541aaa1f2f31758998d6bf34", "score": "0.5889905", "text": "public void setYear(int year) throws IllegalArgumentException {\r\n\t\tif(year <= 2020 && year > 1900)\r\n\t\t\tthis.year = year;\r\n\t\telse \r\n\t\t\tthrow new IllegalArgumentException(\"Year value out of bounds! [1900->Present]\");\r\n\t}", "title": "" }, { "docid": "53c26b62956ba292548aace7b5272d84", "score": "0.58564913", "text": "public void setYear(int year) {\n if (year < 0) {\n error(\"year must be >= 0, does not handle B.C., not changed\");\n }\n else {\n this.year = year;\n } \n }", "title": "" }, { "docid": "00f66e9a66e31f388296d83e315eaae9", "score": "0.58419037", "text": "public Builder setYear(int value) {\n \n year_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ade668016b98a7d70947022c45a2946c", "score": "0.58336574", "text": "public Builder setYear(int value) {\n bitField0_ |= 0x00000020;\n year_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "5ed4227cf5037cd9da8a37d8be1cf2e9", "score": "0.5825958", "text": "public void setVyear(String vyear) {\n this.vyear = vyear;\n }", "title": "" }, { "docid": "40e5f048907a2cab4c14ff7d9bfc8b4f", "score": "0.58232886", "text": "public void setYear(int year) {\n\t\tthis.year = year;\n\t}", "title": "" }, { "docid": "40e5f048907a2cab4c14ff7d9bfc8b4f", "score": "0.58232886", "text": "public void setYear(int year) {\n\t\tthis.year = year;\n\t}", "title": "" }, { "docid": "61d73dcc8585fa1e49802bee9887cba0", "score": "0.5791231", "text": "public void setYear(Integer year) {\r\n\t\tthis.year = year;\r\n\t}", "title": "" }, { "docid": "4873b4547732ec9aa6c0bafb33e203c7", "score": "0.57873875", "text": "public void setTblAcadYear(TblAcadYearImpl value) {\r\n setAttributeInternal(TBLACADYEAR, value);\r\n }", "title": "" }, { "docid": "885bfe5adec056c1c448558190e958d8", "score": "0.5764456", "text": "public void setYear(Integer year) {\n this.year = year;\n }", "title": "" }, { "docid": "885bfe5adec056c1c448558190e958d8", "score": "0.5764456", "text": "public void setYear(Integer year) {\n this.year = year;\n }", "title": "" }, { "docid": "56691bf6129434c6bc00b5dd50aeac12", "score": "0.57609904", "text": "public void decrementYear() {\r\n\t\tyear--;\r\n\t\tadjustLeapYear();\r\n\t}", "title": "" }, { "docid": "8c7a4add88a0406cffc8ec9f4c18dff0", "score": "0.57417256", "text": "public void setYear_of_birth(int year_of_birth) {this.year_of_birth=year_of_birth;}", "title": "" }, { "docid": "a29a637711b598e02214805bf1d5890d", "score": "0.5741633", "text": "public synchronized int IntYear ()\n\t{\n\t\treturn this.curr_year;\n\t\t\n\t}", "title": "" }, { "docid": "3c424f0e200e4b7e335bf8958ae40eaf", "score": "0.5737684", "text": "private LocalDate setDateYear(LocalDate date, int year) {\n LocalDate newdate;\n newdate = year < 0\n ? date.minusYears(Math.abs(year))\n : date.plusYears(year);\n formatDate(newdate);\n return newdate;\n }", "title": "" }, { "docid": "fe97db77d9157cfd0f028b708157c331", "score": "0.57118374", "text": "public void setVacacion(Vacacion vacacion)\r\n/* 183: */ {\r\n/* 184:264 */ this.vacacion = vacacion;\r\n/* 185: */ }", "title": "" }, { "docid": "0b7b666451ff5103d88dbf522ec7da5b", "score": "0.570758", "text": "public void setYear(String year) {\r\n\t\tif (year != null) {\r\n\t\t\ttry {\r\n\t\t\t\tthis.year = Integer.valueOf(year);\r\n\t\t\t\tdecrementYear();\r\n\t\t\t\tincrementYear();\r\n\t\t\t} catch (NumberFormatException ex) {\r\n\t\t\t\tUtils.console(\"Wrong number format \" + year);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e1781f5219b18519c9c5b6fc62b759b9", "score": "0.5693926", "text": "public void setYear(Integer year) {\n\t\tthis.year = year;\n\t}", "title": "" }, { "docid": "8971c69acc63f16c9d38249f61477809", "score": "0.5684861", "text": "void setFinVigenciaByVigentes(Date finVigencia);", "title": "" }, { "docid": "9658269a134638a24c32a1a9be200a2c", "score": "0.56769943", "text": "public abstract void setYear(BigInteger year);", "title": "" }, { "docid": "6d4c7a9b7a16a273afe0a2340bb31962", "score": "0.56769574", "text": "void xsetYear(org.apache.xmlbeans.XmlDate year);", "title": "" }, { "docid": "e31ff7c910c6856e1311e82fa06a6634", "score": "0.5673894", "text": "public String getVyear() {\n return vyear;\n }", "title": "" }, { "docid": "428f111fabfef242b232e1f222e1b1f0", "score": "0.56717086", "text": "public void setEndYear(Integer year) {\r\n\t\tthis.endYear = year;\r\n\t}", "title": "" }, { "docid": "59bf1b6594249efa1c2694c1123b808a", "score": "0.5652537", "text": "public void setYear(Short year) {\n this.year = year;\n }", "title": "" }, { "docid": "ec9eb01c12537b3a2beab6c33e4e5941", "score": "0.5634721", "text": "public void setDate(int dateNum, int year) {\n \n CS12Date temp = new CS12Date(year);\n \n // first, error checking for invalid date numbers\n if (dateNum < 1) {\n error(\"date number must be >= 0, date unchanged\");\n return;\n }\n else if ((!temp.isLeapYear(year)) && (dateNum > 365)) {\n error(\"date number must be <= 365 for a non-leap year, date unchanged\");\n return;\n }\n else if ((temp.isLeapYear(year)) && (dateNum > 366)) {\n error(\"date number must be <= 366 for a leap year, date unchanged\");\n return;\n }\n \n // otherwise, the date number is valid, just find where in the year it lies\n else { \n setMonth(1);\n setDay(1);\n setYear(year); \n \n // advance the date from 1/1 by N-1\n laterDate(dateNum-1);\n }\n }", "title": "" }, { "docid": "f6c9146cedc4b1542a4d26b5997b955f", "score": "0.56291753", "text": "private Year() {\r\n this(new Date());\r\n }", "title": "" }, { "docid": "516943975db7f0eb6c5d2a0b4f3073b9", "score": "0.5613274", "text": "public boolean setYear(int value) {\n if (value > Constant.YEAR_MAX) {\n return false;\n }\n year = value;\n return true;\n }", "title": "" }, { "docid": "e66f4731d9032b2f0e0622432a58fd04", "score": "0.5538346", "text": "public static void setYearOfBirth(int yob) {\n if (yob > 0 && yob <= Calendar.getInstance().get(Calendar.YEAR)) {\n TargetingParams.yob = yob;\n }\n }", "title": "" }, { "docid": "f7180c2614bb61179965dbc8a9531220", "score": "0.55336595", "text": "public void setCurrentYearAndMonth( YearMonth yearAndMonth )\n {\n System.out.println( yearAndMonth );\n removeAll();\n currentYearAndMonth = yearAndMonth;\n gbc.weightx = gbc.weighty = 1.0;\n createHeadlines();\n fillDayButtons();\n repaint();\n revalidate();\n }", "title": "" }, { "docid": "11fdfdc383746e21e8788ecdc9affa13", "score": "0.5517846", "text": "public int getNewYear() {\r\n return year; \r\n }", "title": "" }, { "docid": "350c0cc5454b4f46e1c42d78911d0c24", "score": "0.5506987", "text": "public void setYear(String year) {\r\n this.year = year;\r\n }", "title": "" }, { "docid": "d55a9feb06889831823b0308003f8598", "score": "0.55049044", "text": "protected void setYears(int years) {\n if (years != iYears) {\n if (years != 0) {\n checkSupport(iType.years());\n }\n iYears = years;\n iState = STATE_UNKNOWN;\n }\n }", "title": "" }, { "docid": "4112e600c3b8fc3810b2770b94a2bbfa", "score": "0.55003023", "text": "public AstronomicalYear(SafeIntYear x) {\n\t\t\n\t\ty = Integer.parseInt(x.toAstronomicalYear().toString());\n\t}", "title": "" }, { "docid": "6240236761c661392b46d2f77a47c14a", "score": "0.54922897", "text": "public static void yearIncrease(){\n year++;\n return;\n }", "title": "" }, { "docid": "a0c0523ff8c0494ea1e68efd4f11bf7c", "score": "0.5480616", "text": "public Year next() {\r\n Calendar succCal = (Calendar) getCalendar().clone();\r\n succCal.add(Calendar.YEAR, 1);\r\n return new Year(succCal);\r\n }", "title": "" }, { "docid": "453fb568195a4f60e0a9c156c70e6bfe", "score": "0.54770666", "text": "public void setDate(int dateNum) {\n setDate(dateNum, year);\n }", "title": "" }, { "docid": "fc79f27048d74343c22ba3e966c39221", "score": "0.54680336", "text": "public int getYear(){\n\t\treturn _year;\n\t}", "title": "" }, { "docid": "14826cf74c78830fb961262c51dc5d88", "score": "0.5454054", "text": "public int getYear() {\n return year_;\n }", "title": "" }, { "docid": "14826cf74c78830fb961262c51dc5d88", "score": "0.5454054", "text": "public int getYear() {\n return year_;\n }", "title": "" }, { "docid": "dd9a4da19f1e131a74fde69ae97baf67", "score": "0.5451753", "text": "public int getYear() {\n return year_;\n }", "title": "" }, { "docid": "dd9a4da19f1e131a74fde69ae97baf67", "score": "0.5451753", "text": "public int getYear() {\n return year_;\n }", "title": "" }, { "docid": "26bec42a72042ecdbfde3da708419bce", "score": "0.5440853", "text": "public void setYear(String year) {\r\n\t\tthis.year = year;\r\n\t}", "title": "" }, { "docid": "934e64a1f95cb9499a96e987ea6c9033", "score": "0.54376036", "text": "public static int setNewYear(int year, CropData cropData) throws Exception {\r\n int newYear = cropData.getYear();\r\n if (year <= 10) {\r\n newYear = year + 1;\r\n cropData.setYear(newYear);\r\n return newYear;\r\n } else {\r\n throw new Exception(\"You have sucesfully governed your people for 10 years your term as the governor. Game over.\");\r\n }\r\n }", "title": "" }, { "docid": "62f1735644170507cdc6e6f7de0655c8", "score": "0.54364973", "text": "public int getYear(){\n\t\treturn this.year;\n\t}", "title": "" }, { "docid": "06cb08162484ef5267535255173b2d1c", "score": "0.54310614", "text": "public Year(int year) {\r\n Calendar cal = Calendar.getInstance();\r\n cal.clear();\r\n cal.set(Calendar.YEAR, year);\r\n setCalendar(cal);\r\n }", "title": "" }, { "docid": "6dfc8ecc5168f9e0576f875ed88211c4", "score": "0.5418165", "text": "@Override\n\tpublic void setYear(int year) {\n\t\t_album.setYear(year);\n\t}", "title": "" }, { "docid": "d03ece5e1993be02984f0673b00f71be", "score": "0.54153854", "text": "public OGDayChooser(YearMonth current)\n {\n setLayout( new GridBagLayout() );\n currentYearAndMonth = current;\n setCurrentYearAndMonth( currentYearAndMonth );\n }", "title": "" }, { "docid": "dd72dfd83001145b4b78a2051e2436bb", "score": "0.5415322", "text": "public int getYear(){\n\t\treturn year;\r\n\t}", "title": "" }, { "docid": "ea1cc29a21820ca3039c523fccfa44d1", "score": "0.5412813", "text": "public final native void setYear(int year) /*-{\n\t\tthis.year = year;\n\t}-*/;", "title": "" }, { "docid": "5cd50a9358fb59780f88543b6e2a2a3e", "score": "0.54111415", "text": "public void setDtVacacion(DataTable dtVacacion)\r\n/* 239: */ {\r\n/* 240:365 */ this.dtVacacion = dtVacacion;\r\n/* 241: */ }", "title": "" }, { "docid": "a17e426c328ffa21f3fe49003fa06c76", "score": "0.5409686", "text": "void setYearOfStudy() {\n int year = tblPayments.getRowCount();\n\n switch (year) {\n case 0:\n txtYoS.setText(\"1 st Year\");\n break;\n case 1:\n txtYoS.setText(\"1 st Year\");\n break;\n case 2:\n txtYoS.setText(\"1 st Year\");\n break;\n case 3:\n txtYoS.setText(\"2 nd Year\");\n break;\n case 4:\n txtYoS.setText(\"2 nd Year\");\n break;\n case 5:\n txtYoS.setText(\"3 rd Year\");\n break;\n case 6:\n txtYoS.setText(\"3 rd Year\");\n break;\n case 7:\n txtYoS.setText(\"4 th Year\");\n break;\n case 8:\n txtYoS.setText(\"4 th Year\");\n break;\n default:\n txtYoS.setText(\"Out of the Faculty\");\n }\n\n }", "title": "" }, { "docid": "a31a25a9043dac58b0be7e278d431a36", "score": "0.5409345", "text": "public void setYear(short value) {\r\n this.year = value;\r\n }", "title": "" }, { "docid": "a31a25a9043dac58b0be7e278d431a36", "score": "0.5409345", "text": "public void setYear(short value) {\r\n this.year = value;\r\n }", "title": "" }, { "docid": "87a5a736d7b22669a837cf7a630f2df2", "score": "0.5402651", "text": "public int getYear() {\r\n\t\treturn this.year;\r\n\t}", "title": "" }, { "docid": "f8fb6442d1465b229c13d161404a4834", "score": "0.5383321", "text": "public void newYear()\n {\n\n }", "title": "" }, { "docid": "d684d351d9fd8b2cf30df5c5c9f8e709", "score": "0.537336", "text": "public Year(int year) {\r\n\t\tthis.year = year;\r\n\t}", "title": "" }, { "docid": "4f0f6b15f5dde52936b6762532a2ff3d", "score": "0.53700095", "text": "@Test\n\tpublic void setYearTest() {\n\t\tMovie movie3 = new Movie(\"1234\", \"Ianderson\", \"1990\", \"9\", \"dogs\", \"puppypic\");\n\t\tassertEquals(movie3.getYear(), \"1990\");\n\t\tassertEquals(movie3.getYear().equals(movie2.getYear()), false);\n\t\tmovie3.setYear(\"1997\");\n\t\tassertEquals(movie3.getYear().equals(movie2.getYear()), true);\n\t}", "title": "" }, { "docid": "0efd54ed5cbc4eea1e5226297fd60c48", "score": "0.5363823", "text": "public void setYear( int year){\r\n\t\tif(year >2019) {\r\n\t\t\tthis.year = 1990;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.year = year;\r\n\t\t}\r\n\t\tSystem.out.printf(\"Title '%s' added to the library\",bookName);\r\n\t}", "title": "" }, { "docid": "77919ef6dff3e9b8b7d105a54ceb4994", "score": "0.5360554", "text": "public int getEndYear() {\n return endYear;\n }", "title": "" }, { "docid": "5fc2f42b40b2eb0dbc180b8f30bab120", "score": "0.5360255", "text": "public int getYear() {\r\n\t\treturn year;\r\n\t}", "title": "" }, { "docid": "8d6ce5b1964acad8f42cfdaf23ac24e9", "score": "0.53544974", "text": "public int getYear() {\n\t\treturn this.year;\n\t}", "title": "" }, { "docid": "79ad34d7e2b0693b48a4f7a4598041f4", "score": "0.5343435", "text": "java.util.Calendar getYear();", "title": "" }, { "docid": "bf1fffb3281e3d1cf777c07655bd11bd", "score": "0.5334988", "text": "public int getYear() {\n return this.year;\n }", "title": "" }, { "docid": "e76b639d9b5f3bad66ffb1ad5880c621", "score": "0.53335357", "text": "public int getYear() {\n return this.year;\n }", "title": "" }, { "docid": "859caaf0a7a83eeff14f8b16e41e1095", "score": "0.5331525", "text": "public int getYear() {\r\n return year;\r\n }", "title": "" }, { "docid": "859caaf0a7a83eeff14f8b16e41e1095", "score": "0.5331525", "text": "public int getYear() {\r\n return year;\r\n }", "title": "" }, { "docid": "1afac446729994fe23a644eda754718a", "score": "0.53312707", "text": "public void simulateYear()\n {\n yearBeforePopulation = lastYearPopulation;\n\t lastYearPopulation = CurrentPopulation;\n\t CurrentPopulation = lastYearPopulation + yearBeforePopulation;\n }", "title": "" }, { "docid": "486198916b128c84c3f276d6cc3c95e1", "score": "0.53303164", "text": "public Year(int y)\n {\n year = y;\n }", "title": "" }, { "docid": "10958d310a575a1d96f7190699649a1d", "score": "0.5321444", "text": "public void setAcadYearId(BigDecimal value) {\r\n setAttributeInternal(ACADYEARID, value);\r\n }", "title": "" }, { "docid": "b330e243f1619e3c9ab067ede300887e", "score": "0.5319292", "text": "public int getYear() {\n return year;\n }", "title": "" }, { "docid": "a726e84351dcedcac6a30320838f368d", "score": "0.53093374", "text": "public int getYear() {\n\t\treturn year;\n\t}", "title": "" }, { "docid": "012d875f28e927c19a0a4aae533ad1cd", "score": "0.52993304", "text": "public int getYear() {\n\n return this.year;\n\n }", "title": "" }, { "docid": "98634cb5a9722745ded1b4b69640b5fb", "score": "0.52935153", "text": "public Integer getYear() {\r\n\t\treturn year;\r\n\t}", "title": "" }, { "docid": "75601a0b2b48672259ed139973e67ff9", "score": "0.5286435", "text": "@Override\n\tpublic void setDocumentYear(int documentYear) {\n\t\t_resultHistoryMinistry.setDocumentYear(documentYear);\n\t}", "title": "" }, { "docid": "b0fef31c61f1afb76e9a01d0a796d7a3", "score": "0.527873", "text": "public int getStartYear() {\n return startYear;\n }", "title": "" }, { "docid": "a691880770d47fb8687856657c3506a5", "score": "0.5272167", "text": "void unsetYear();", "title": "" }, { "docid": "f4063ca2c7544cf18283445e01510856", "score": "0.52691305", "text": "public int getYear() {\n return year;\n }", "title": "" }, { "docid": "f4063ca2c7544cf18283445e01510856", "score": "0.52691305", "text": "public int getYear() {\n return year;\n }", "title": "" }, { "docid": "f4063ca2c7544cf18283445e01510856", "score": "0.52691305", "text": "public int getYear() {\n return year;\n }", "title": "" }, { "docid": "f4063ca2c7544cf18283445e01510856", "score": "0.52691305", "text": "public int getYear() {\n return year;\n }", "title": "" }, { "docid": "f4063ca2c7544cf18283445e01510856", "score": "0.52691305", "text": "public int getYear() {\n return year;\n }", "title": "" }, { "docid": "f4063ca2c7544cf18283445e01510856", "score": "0.52691305", "text": "public int getYear() {\n return year;\n }", "title": "" } ]
79d3451dc77592f9c1fac9bd600b9bf4
An intervention with time and spare parts returns the right amount
[ { "docid": "c51845ac51e0659750f79cb69b26c820", "score": "0.0", "text": "@Test\n\tpublic void testImporteIntervencionCompleta() {\n\t\tIntervention i = new Intervention(mechanic, workOrder, 60);\n\n\t\tSparePart r = new SparePart(\"R1001\", \"junta la trocla\", 100.0);\n\t\tnew Substitution(r, i, 2);\n\n\t\tfinal double TOTAL =\n\t\t\t\t\t 50.0 // 60 mins * 50 €/hour for the vehicle type\n\t\t\t\t+ 2 * 100.0; // 2 spare parts sold at 100.0 €\n\n\t\tassertTrue( i.getAmount() == TOTAL );\n\t}", "title": "" } ]
[ { "docid": "cf70e35fb1df7e90773b08621be3d479", "score": "0.7036851", "text": "double fuelNeeded(double time){\n return fuelBurnRate * time;\n }", "title": "" }, { "docid": "55b87167512b9ace666cb487fdbc4ec7", "score": "0.6908593", "text": "private double calculateTotalCuttingTime(int quantity) {\r\n\t\treturn (cuttingTime*quantity)/60;\r\n\t}", "title": "" }, { "docid": "875f335146da6710cbeed1df6d17da07", "score": "0.64180166", "text": "public void timeUseage() {\n if (timeOfUse == 1) {\n timeOfUse = 9.9;\n } else if (timeOfUse == 2) {\n timeOfUse = 8.1;\n } else {\n timeOfUse = 5.1;\n }\n\n }", "title": "" }, { "docid": "aa3bfb2858a583598606a7bb2ac39a14", "score": "0.6399879", "text": "Duration cookTime();", "title": "" }, { "docid": "45f4e0726fc1c4eeb41a11a729c5d068", "score": "0.6349552", "text": "private long getTransferTime() {\n long transTime;\n transTime=(long) ((volume_bigdata)/velocity_bigdata);\n return transTime;\n }", "title": "" }, { "docid": "b4d87be03846b3f3df2473b28dcbef1e", "score": "0.62549806", "text": "int costOfItem() {\r\n\t\treturn (prizePerIceCream*quantityOrdered); //1000gms=1kg\r\n\t}", "title": "" }, { "docid": "6057807bbc141d14e0802195f3d1c454", "score": "0.6254836", "text": "public void calItem(long time){\n totalItems = (int)Math.max(0, Math.min(M, Math.floor((time - P)/S) ));\n }", "title": "" }, { "docid": "d6e2b3ccbe2202a7c6c92a95bdcad7dc", "score": "0.6173581", "text": "private void _updateTotalUsedTime() {\n // Remaining Time (total of Allocated Time minus the sum of the Program Time\n // fields in the observations).\n // XXX TODO: Add elapsed and non-charged times?\n try {\n final ISPGroup group = getNode();\n final ObsTimes obsTimes = ObsTimesService.getCorrectedObsTimes(group);\n// String totalTimeStr = \"00:00:00\";\n String progTimeStr = \"00:00:00\";\n String partTimeStr = \"00:00:00\";\n// String nonChargedTimeStr = \"00:00:00\";\n if (obsTimes != null) {\n// long totalTime = obsTimes.getTotalTime();\n// totalTimeStr = TimeAmountFormatter.getHMSFormat(totalTime);\n\n final ObsTimeCharges otc = obsTimes.getTimeCharges();\n final long progTime = otc.getTime(ChargeClass.PROGRAM);\n progTimeStr = TimeAmountFormatter.getHMSFormat(progTime);\n\n final long partTime = otc.getTime(ChargeClass.PARTNER);\n partTimeStr = TimeAmountFormatter.getHMSFormat(partTime);\n\n// long nonChargedTime = otc.getTime(ChargeClass.NONCHARGED);\n// nonChargedTimeStr = TimeAmountFormatter.getHMSFormat(nonChargedTime);\n }\n _w.partnerTime.setText(partTimeStr);\n _w.programTime.setText(progTimeStr);\n } catch (Exception e) {\n DialogUtil.error(e);\n _w.partnerTime.setText(\"00:00:00\");\n _w.programTime.setText(\"00:00:00\");\n }\n }", "title": "" }, { "docid": "1d2b0f5962d62cc099cfda6b0c32a9f9", "score": "0.6114712", "text": "public int getHurtResistanceTime(int aOriginalHurtResistance, Entity aEntity)\r\n/* 45: */ {\r\n/* 46:43 */ return aOriginalHurtResistance * 2;\r\n/* 47: */ }", "title": "" }, { "docid": "7932fa2ee198bcedd51abbf4effd21e8", "score": "0.60968685", "text": "long getGasUsed();", "title": "" }, { "docid": "62e88aab399e394583d2790e23d1fd75", "score": "0.6014019", "text": "public long buildPrice()\r\n\t{\r\n\t\treturn GameStatics.Towers.Basic.initCost;\r\n\t}", "title": "" }, { "docid": "c6d772787ddf78193cee0a8ba0643d45", "score": "0.60105526", "text": "private double timeOfLatheTransver() {\n\t\tdouble time = -1;\n\t\tdouble i = Math.ceil((latheLength / depthOfCut)); \n\t\ttime = (((diameterBefore/2) + idleTrack) / (feed * rpm)) * i;\n\t\treturn time;\n\t}", "title": "" }, { "docid": "8e8a02a111ffb2484eb2b40ad3982928", "score": "0.600329", "text": "public double getElapsedPart() {\n return (double) elapsedTimeInSeconds / totalTimeInSeconds;\n }", "title": "" }, { "docid": "5cc9480262e324f88c52606fa938919e", "score": "0.6002989", "text": "private int calculateT(int lengthOfInstructions) {\n\t\tint numerateur = lengthOfInstructions - this.capacity;\n\t\tint denominateur = 4 * this.capacity;\n\t\treturn (int) ((numerateur / denominateur)) * 100;\n\t}", "title": "" }, { "docid": "d241df06b08098bcb92d75ea89af7aad", "score": "0.5994349", "text": "Amount offerCap();", "title": "" }, { "docid": "835d136b66311f3f51355e17b5ce28be", "score": "0.5993694", "text": "int minimumTime(final int numOfParts, final List<Integer> parts) {\r\n final PriorityQueue<Integer> pq = new PriorityQueue();\r\n for (int i : parts) {\r\n pq.add(i);\r\n }\r\n int sum = 0;\r\n while (!pq.isEmpty()) {\r\n final int current = pq.poll() + pq.poll();\r\n sum += current;\r\n if (pq.isEmpty()) {\r\n break;\r\n }\r\n pq.add(current);\r\n }\r\n return sum;\r\n }", "title": "" }, { "docid": "80dd9a8df2ca7d64941b92fbba3a8ab0", "score": "0.5970175", "text": "public int calcRemainingTime()\n\t {\n\t //declare variables\n\t\tint timeSoFar = 0;\n\t\tint timeLeft = 0;\n\t\t\n\t\t//add up all the lengths of the song\n\t\tfor(int i = 0; i < mySize; i++)\n\t\t timeSoFar += mySongs[i].getRunTime();\n\t\t\n\t\t//calculate time left in seconds\n\t\ttimeLeft = 4800 - timeSoFar;\n\t\n\t\t//return the time left in seconds\n\t return timeLeft;\n\t }", "title": "" }, { "docid": "bd1d13eea679afb250bc2a6774cc6941", "score": "0.59678084", "text": "@Override\r\n\tpublic double findcost() {\n\t\tdouble d;\r\n\t\td = this.units*this.price/12;\r\n\t\treturn d;\r\n\t}", "title": "" }, { "docid": "ba6530a9fa7d6edbbc3d62c52fa36928", "score": "0.5947312", "text": "Double getUltimateStrain();", "title": "" }, { "docid": "f3d8c6078aa75ca4ceaa73b0a8d01d66", "score": "0.5933545", "text": "@Override\r\n\tpublic double calcConsumedEnergy(){\r\n\t\treturn super.getBasicEnergyCost() * 2;\r\n\t}", "title": "" }, { "docid": "892b73e1265b1e840641d2571b4c99d9", "score": "0.5917074", "text": "private int timeToMoveInMs(TravelDirection direction, double power, double displacementInInches) {\n\n if (direction == TravelDirection.LEFT || direction == TravelDirection.RIGHT ) {\n if (power <= 0.2) {\n return (int) adjustForVoltageDrop(displacementInInches * 166.67);\n }\n if (power <= 0.3) {\n return (int) adjustForVoltageDrop(displacementInInches * 93.80);\n }\n if (power <= 0.4) {\n return (int) adjustForVoltageDrop(displacementInInches * 71.42);\n }\n if (power <= 0.5) {\n return (int) adjustForVoltageDrop(displacementInInches * 60.00);\n }\n if (power <= 0.6) {\n return (int) adjustForVoltageDrop(displacementInInches * 45.45);\n }\n if (power <= 0.7) {\n return (int) adjustForVoltageDrop(displacementInInches * 37.5);\n }\n\n return (int) adjustForVoltageDrop(displacementInInches * 20.00);\n }\n if (direction == TravelDirection.FORWARD || direction == TravelDirection.BACKWARD ) {\n if (power <= 0.2) {\n return (int) adjustForVoltageDrop(displacementInInches * 125.0);\n }\n if (power <= 0.3) {\n return (int) adjustForVoltageDrop(displacementInInches * 89.29);\n }\n if (power <= 0.4) {\n return (int) adjustForVoltageDrop(displacementInInches * 58.82);\n }\n if (power <= 0.5) {\n return (int) adjustForVoltageDrop(displacementInInches * 53.57);\n }\n if (power <= 0.6) {\n return (int) adjustForVoltageDrop(displacementInInches * 40.92);\n }\n if (power <= 0.7) {\n return (int)adjustForVoltageDrop(displacementInInches * 33.33);\n }\n return (int) adjustForVoltageDrop(displacementInInches * 28.57);\n }\n\n return 0;\n }", "title": "" }, { "docid": "53cf68f76acec1c75c3e2829fcc6755d", "score": "0.5902744", "text": "public int calcProductionTime(){\n\t\tint result = 0;\n\t\tfor(int i : currentSwaps){\n\t\t\tresult += i;\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "d4e7d5187bd3936745ffd84c9637d632", "score": "0.58834904", "text": "public double getAvailableTime(Task t) {\n\t\tArrayList<Double> listeTimes = new ArrayList<Double>();\n\t\t//on fait un tab qui contient tous les temps de début et fin de taches\n\t\tfor(Task t1: getListeTasks()) {\n\t\t\tlisteTimes.add(t1.getDecalage());\n\t\t\tlisteTimes.add(t1.getDecalage()+t1.getDuree());\n\t\t}\n\t\t//on trie dans l'ordre des temps croissants cette liste\n\t\tCollections.sort(listeTimes);\n\t\t//pour chaque temps, on regarde si on peut placer la tache\n\t\tfor(double time: listeTimes) {\n\t\t\tif(time >= t.getDecalage()) {\n\t\t\t\t//on ajoute la tache pour tester\n\t\t\t\taddTask(t.getId(), t.getPopulation(), time, t.getTaux());\n\t\t\t\tif(hasEnoughCapacityForTasks()) {\n\t\t\t\t\t//si la capacité n'est pas dépassée, on retire la tache et on donne le temps\n\t\t\t\t\tdelTask(t.getId());\n\t\t\t\t\treturn time;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t//sinon on retire la tache et on teste avec le temps suivant\n\t\t\t\t\tdelTask(t.getId());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//techniquement c'est impossible de ne pas trouver de temps disponible, \n\t\t//car si on place la tache au dernier temps possible la capacité ne sera pas dépassée\n\t\t//ou alors la tache est trop \"large\" pour cet arc\n\t\tSystem.out.println(\"pas de moment dispo trouvé\");\n\t\tSystem.exit(0);\n\t\treturn -1;\n\t}", "title": "" }, { "docid": "2f236c71d4dfd23071803f568a72cc21", "score": "0.58775467", "text": "private int calculatePrice() {\n return quantity * 5;\n }", "title": "" }, { "docid": "847ccf7a72527c8aa6d6786baea69a3b", "score": "0.587245", "text": "double fuelneeded(int miles){\n\t\treturn (double) miles /mpg;\n\t}", "title": "" }, { "docid": "42bc68c194988e4fa8185d72157d4238", "score": "0.58723044", "text": "private float funcIdealCapacity(float freeFlowSpeed) {\n //pc/h/ln\n return 2200 + 10 * (Math.min(70, freeFlowSpeed) - 50); //New Generic Equation for GP segments\n //return 2400 - Math.max(0, (70 - freeFlowSpeed)) * 10; //HCM2010 Equation\n }", "title": "" }, { "docid": "1ef016a19bba2d7aec9068f735f2c40a", "score": "0.58622867", "text": "double getWastedBusyTime();", "title": "" }, { "docid": "1ef016a19bba2d7aec9068f735f2c40a", "score": "0.58622867", "text": "double getWastedBusyTime();", "title": "" }, { "docid": "1ef016a19bba2d7aec9068f735f2c40a", "score": "0.58622867", "text": "double getWastedBusyTime();", "title": "" }, { "docid": "9e62df4d6db24c8a754b842adafdee55", "score": "0.58608705", "text": "double getCostPerUnit(long duration);", "title": "" }, { "docid": "aaf5e3070020db5fa1204c1256591962", "score": "0.5857144", "text": "double fuelneeded(int miles) {\r\n return (double) miles / mpg;\r\n }", "title": "" }, { "docid": "7b59ca8d1c1af34cfdf20ac1b0fd0396", "score": "0.5841139", "text": "int getTimeUsed();", "title": "" }, { "docid": "5f7395762194568db8b9cb3bb77bdbf9", "score": "0.5832786", "text": "public static int calculateServingTime(Event e){\n //generate how long it will take to serve the customer\n int servingTime = ThreadLocalRandom.current().nextInt(lowerLimitTime, upperLimitTime+1);\n return servingTime;\n }", "title": "" }, { "docid": "c1db880893257c08b376c454dfff172d", "score": "0.58275723", "text": "public int forage() {\n Random gen = new Random();\n double time = gen.nextDouble()*8;\n energy -= 0.5*time;\n hunger += 0.5*time;\n thirst += 0.3*time;\n return gen.nextInt(3);\n }", "title": "" }, { "docid": "ec493e71c97c501e75ed0a8af9f83051", "score": "0.5827239", "text": "public double timeInBackground(){\n\t\tif(params.contains(\"e_star\")){\n\t\t\treturn myWeight*Math.exp(-params.get(\"e_star\"));\n\t\t}\n\t\tdouble t_r=params.get(\"t_r\");\n\t\treturn t_r/slides();\n\t}", "title": "" }, { "docid": "4fd2fd3e48e0aa092c5105e07ed665f2", "score": "0.5822296", "text": "private double howLong() {\r\n return ((System.currentTimeMillis() - startTime)) / 1000.0;\r\n }", "title": "" }, { "docid": "55c08bbb1ebb0a18e8528da076a241b4", "score": "0.581738", "text": "long getGasLimit();", "title": "" }, { "docid": "1c0b614f134fc2c844537602d735b864", "score": "0.58164686", "text": "float getScenActualTime(int period) {\n return inSegLength_ft / 5280f / scenSpeed[period] * 60;\n }", "title": "" }, { "docid": "e10919078ad04b69272031bb0de97e17", "score": "0.57981795", "text": "@Override\n public double getTotalTime()\n {\n \n return 0;\n }", "title": "" }, { "docid": "787526d0f7c3bc546cf1350b3f9be1fe", "score": "0.57971835", "text": "private int calculatePrice()\n {\n int price = quantity * 5;\n return price;\n }", "title": "" }, { "docid": "d27850c0bce826e75b9a3a6c912c2d25", "score": "0.5794983", "text": "@Override\r\n\tpublic void insterestCal() {\n\t\tinsterest += balance * rate;\r\n\t\tlong nowTime = System.currentTimeMillis();\r\n\t\tif ((nowTime-initTime)/1000 >= time*15) { //如果时间到了\r\n\t\t\tif(time==0.5)\r\n\t\t\t\treturn;\r\n\t\t\tbalance += insterest;\r\n\t\t\tinsterest = 0;\r\n\t\t\tinitTime = nowTime;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d9638461ea636b968b34f85197e2fc80", "score": "0.57857597", "text": "public static double getPartCost(final HousePart part) {\n\n // According to http://www.homewyse.com/services/cost_to_insulate_your_home.html\n // As of 2015, a 1000 square feet wall insulation will cost as high as $1500 to insulate in Boston.\n // This translates into $16/m^2. We don't know what R-value this insulation will be. But let's assume it is R13 material that has a U-value of 0.44 W/m^2/C.\n // Let's also assume that the insulation cost is inversely proportional to the U-value.\n // The baseline cost for a wall is set to be $300/m^2, close to homewyse's estimates of masonry walls, interior framing, etc.\n if (part instanceof Wall) {\n final double uFactor = ((Wall) part).getUValue();\n final double unitPrice = 300.0 + 8.0 / uFactor;\n return part.getArea() * unitPrice;\n }\n\n // According to http://www.homewyse.com/costs/cost_of_double_pane_windows.html\n // A storm window of about 1 m^2 costs about $500. A double-pane window of about 1 m^2 costs about $700.\n if (part instanceof Window) {\n final double uFactor = ((Window) part).getUValue();\n final double unitPrice = 500.0 + 800.0 / uFactor;\n return part.getArea() * unitPrice;\n }\n\n // According to http://www.homewyse.com/services/cost_to_insulate_attic.html\n // As of 2015, a 1000 square feet of attic area costs as high as $3200 to insulate in Boston.\n // This translates into $34/m^2. We don't know the R-value of this insulation. But let's assume it is R22 material that has a U-value of 0.26 W/m^2/C.\n // Let's also assume that the insulation cost is inversely proportional to the U-value.\n // The baseline (that is, the structure without insulation) cost for a roof is set to be $100/m^2.\n if (part instanceof Roof) {\n final double uFactor = ((Roof) part).getUValue();\n final double unitPrice = 100.0 + 10.0 / uFactor;\n return part.getArea() * unitPrice;\n }\n\n // http://www.homewyse.com/costs/cost_of_floor_insulation.html\n // As of 2015, a 1000 square feet of floor area costs as high as $3000 to insulate in Boston. This translates into $32/m^2.\n // Now, we don't know what R-value this insulation is. But let's assume it is R25 material (minimum insulation recommended\n // for zone 5 by energystar.gov) that has a U-value of 0.23 W/m^2/C.\n // Let's also assume that the insulation cost is inversely proportional to the U-value.\n // The baseline cost (that is, the structure without insulation) for floor is set to be $100/m^2.\n // The foundation cost is set to be $200/m^2.\n if (part instanceof Foundation) {\n final Foundation foundation = (Foundation) part;\n final Building b = new Building(foundation);\n if (b.areWallsAcceptable()) {\n b.calculate(true);\n final double uFactor = foundation.getUValue();\n final double unitPrice = 300.0 + 8.0 / uFactor;\n return b.getArea() * unitPrice;\n }\n return -1; // the building is incomplete yet, so we can assume the floor insulation isn't there yet\n }\n\n if (part instanceof Floor) {\n final double area = part.getArea();\n if (area > 0) {\n return part.getArea() * 100.0;\n }\n return -1;\n }\n\n // According to http://www.homewyse.com/costs/cost_of_exterior_doors.html\n if (part instanceof Door) {\n final double uFactor = ((Door) part).getUValue();\n final double unitPrice = 500.0 + 100.0 / uFactor;\n return part.getArea() * unitPrice;\n }\n\n if (part instanceof SolarPanel) {\n return Scene.getInstance().getPvFinancialModel().getCost((SolarPanel) part);\n }\n\n if (part instanceof Rack) {\n return Scene.getInstance().getPvFinancialModel().getCost((Rack) part);\n }\n\n if (part instanceof Tree) {\n return Tree.PLANTS[((Tree) part).getPlantType()].getCost();\n }\n\n return 0;\n\n }", "title": "" }, { "docid": "6ac2d17ddaf7f7306db8ac1772547e62", "score": "0.5784342", "text": "public int getEstimatedSecondsLeftOnBattle() {\r\n int estimatedSeconds = 0;\r\n\r\n for(Spawn spawn : getHostileExtendedTargets()) {\r\n if(!spawn.hasTimeToLiveData()) {\r\n if(spawn.isNamedMob()) {\r\n estimatedSeconds += 60;\r\n }\r\n else {\r\n estimatedSeconds += 30;\r\n }\r\n }\r\n else {\r\n estimatedSeconds += spawn.getMobTimeToLive();\r\n }\r\n\r\n estimatedSeconds++; // target switching time\r\n }\r\n\r\n return estimatedSeconds;\r\n }", "title": "" }, { "docid": "d27792c868fee537d83fed95efa47fad", "score": "0.57719994", "text": "public double wait()\n\t\t{\n\t\t\tdouble p = this.getPrinciple();\n\t\t\tdouble a = this.getApr();\n\t\t\tdouble y = this.getYears();\n\t\t\tdouble i = this.getInvest();\n\n\t\t\ti = p * a * y;\n\t\t\treturn i;\n\t\t}", "title": "" }, { "docid": "9a4ae9b7f653e80e7d23bfdb05385da1", "score": "0.57621825", "text": "double getUsefulBusyTime();", "title": "" }, { "docid": "9a4ae9b7f653e80e7d23bfdb05385da1", "score": "0.57621825", "text": "double getUsefulBusyTime();", "title": "" }, { "docid": "9a4ae9b7f653e80e7d23bfdb05385da1", "score": "0.57621825", "text": "double getUsefulBusyTime();", "title": "" }, { "docid": "621b78d9b62b63e1a7c6e09fe62d90e9", "score": "0.5756113", "text": "private static void findSmallestMoney() {\n\t\tint sum = 0;\n\t\tfor (Weapon w : weapons) {\n\t\t\tfor (Armor a : armor) {\n\t\t\t\tfor (Ring r : rings) {\n\t\t\t\t\tint res = w.costs + a.costs + r.costs;\n\t\t\t\t\tif((w.dmg+a.dmg+r.dmg+w.armor+a.armor+r.armor) >= 10 && res > 148 ){\n\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\tSystem.out.println(\"Test:\");\n\t\t\t\t\t\tSystem.out.println(w.name+ \" \"+a.name+\" \"+r.name + \" costs\"+(w.costs + a.costs + r.costs));\n\t\t\t\t\t\tSystem.out.println(\"fightResult: \"+fight(100, w.dmg + a.dmg + r.dmg, w.armor + a.armor + r.armor, 100, 8, 2));\n\t\t\t\t\t\tSystem.out.println(\"sum \" + (w.dmg+a.dmg+r.dmg+w.armor+a.armor+r.armor));\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tif (fight(100, w.dmg + a.dmg + r.dmg, w.armor + a.armor + r.armor, 100, 8, 2)) {\n\t\t\t\t\t\tres = w.costs + a.costs + r.costs;\n\t\t\t\t\t\tif (res > sum && (w.dmg+a.dmg+r.dmg+w.armor+a.armor+r.armor) <= 1000) {\n\t\t\t\t\t\t\tsum = res;\n\t\t\t\t\t\t\t//System.out.println(\"sum \" + (w.dmg+a.dmg+r.dmg+w.armor+a.armor+r.armor));\n\t\t\t\t\t\t\t//System.out.println(w.name+ \" \"+a.name+\" \"+r.name + \" \"+sum);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "title": "" }, { "docid": "b87c2c88bce26b7d711161e6cb490b71", "score": "0.57544214", "text": "double getTotalEnergyConsumed();", "title": "" }, { "docid": "d0a2d42ccbae98614862d6699f7b1e54", "score": "0.5754346", "text": "private int remainingProcessingTime (Instance instance, int job, int nextTask) {\n\t\t\n\t\tint remainingTime = 0;\n\t\t\n\t\tfor (int k = nextTask; k < instance.numTasks; k++) {\n\t\t\tremainingTime += instance.duration(job, k);\n\t\t}\n\t\t\n\t\treturn remainingTime;\n\t}", "title": "" }, { "docid": "59f5c6275c025cca0ffc9b084a9d79a4", "score": "0.5747437", "text": "private double utility(int steps) {\n \t\n \treturn this.utilitySpace.getUtility(receivedOffers.getHistory().\n \t\t\tget(receivedOffers.getHistory().size()-1-steps).getBid());\n }", "title": "" }, { "docid": "dcc755d3a61653ff502d56090284b1bb", "score": "0.574443", "text": "public double calculateCost() {\n\t\tdouble total = 0;\n\t\tswitch (size) {\n\t\t\tcase \"S\": total += 1.00; break;\n\t\t\tcase \"M\": total += 1.50; break;\n\t\t\tcase \"L\": total += 2.00; break;\n\t\t\tdefault: total += 2.00 ; break;\n\t\t}\n\t\tif (temperature.equals(\"Blended\")) {\n\t\t\t\ttotal += 0.25;\n\t\t\t}\n\t\tif (!getMilk().equals(\"No Milk\"))\n\t\t\t{\n\t\t\t\ttotal += 0.25;\n\t\t\t}\n\t\treturn total;\n\t}", "title": "" }, { "docid": "bca4ffcd81c36173b933246bee941103", "score": "0.5735129", "text": "private long getTimeSpentInGameInMilliSeconds()\n {\n return System.currentTimeMillis() - this.startGameTime;\n }", "title": "" }, { "docid": "9d1c0c7180c6740b719887aa3addeb32", "score": "0.572606", "text": "double getCurrentEnergyConsumed();", "title": "" }, { "docid": "679cd569f8a6743ba1f6a3b1b21b9a2f", "score": "0.57201314", "text": "public double precioFinal(){\r\n //Invocamos el método precioFinal del método padre\r\n double extra=super.precioFinal();\r\n \r\n //Si la carga es mayor que 30 su precio aunmentara en 50\r\n if (carga>30){\r\n extra+=50;\r\n }\r\n \r\n return extra;\r\n }", "title": "" }, { "docid": "795582024b024b36cf1aafc30d68c4fc", "score": "0.57108116", "text": "private void totalAmountComputation(){\n }", "title": "" }, { "docid": "2d1cc361455385fb89e7ee1024c5f6d5", "score": "0.57002366", "text": "@Override\n\tpublic float getEnergyConsumptionForQuantity() {\n\t\treturn 24 * getThermalenergyConsumption() * getQuantity();\n\t}", "title": "" }, { "docid": "44e2c3e323fd29da39879c68c02eafc0", "score": "0.56989604", "text": "long getGasUnitPrice();", "title": "" }, { "docid": "80d424a1d089492bc98ecd6276bf4696", "score": "0.5695761", "text": "@Override\n\tprotected void computeTime() {\n\t\t\n\t}", "title": "" }, { "docid": "6d27669a279c0d16ca173258fc59f0b6", "score": "0.56930566", "text": "public int tuitionDue() {\n\t\tint tuition=350;\n\t\tint tempCredit=credit;\n\t\tif(credit > 15) {\n\t\t\ttempCredit = 15;\n\t\t}\n\t\t\n\t\tif(exchange == true || credit >= 12) {\n\t\t\ttuition += 1441;\n\t\t}\n\t\t\n\t\tif(exchange == false) {\n\t\t\ttuition += (945 * tempCredit);\n\t\t}\n\t\t\n\t\tif(exchange == false && credit <12) {\n\t\t\ttuition += 846;\n\t\t}\n\t\t\n\t\treturn tuition;\n\t}", "title": "" }, { "docid": "45f1aa03fd674fcfbbcf29142b266b44", "score": "0.56907624", "text": "public abstract int getEstimatedTimeToComplete();", "title": "" }, { "docid": "4542c5c644e2270001740654587feaa4", "score": "0.5683614", "text": "public int getRemainTime() {\n/* 292 */ return this.remainTime;\n/* */ }", "title": "" }, { "docid": "2a9138a74b09f549ec877b198f914c79", "score": "0.567992", "text": "public double time() {\r\n\t\tdouble timeLeft = endTime - System.currentTimeMillis();\r\n\t\tif (endTime <= 0) {\r\n\t\t\treturn 0;\r\n\t\t} else {\r\n\t\t\treturn timeLeft/1000;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f145ae5578572c2c34f836df66326dc7", "score": "0.5676986", "text": "public abstract double getTotalTime();", "title": "" }, { "docid": "7e099cd0d2bb532d372bcc401d7ca5ae", "score": "0.5675458", "text": "public float withdrawSivi(float time) {\n\t\t/*float howMuch = gf.getField(owner)[row][col] / 2;\n\t\thowMuch *= time;*/\n\t\tif (!withdrawed) {\n\t\t\twithdrawed = true;\n\t\t\treturn withdrawSivi(time, owner);\n\t\t}\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "a54cdce2123f650a4809d36130d5c0a4", "score": "0.5673445", "text": "protected int energyUnitsNeeded() {\n\t\treturn Math.abs(curRow-destRow)+Math.abs(curCol-destCol);\n\t}", "title": "" }, { "docid": "21361b4612bf7c3e4fbe700fa8dec012", "score": "0.56595165", "text": "@Override\r\n public double precioFinal() {\r\n double aux = super.precioFinal();\r\n if (this.carga > 30) return aux + 50;\r\n return aux;\r\n }", "title": "" }, { "docid": "d583252357fdd69fda4b33b18cc90dcb", "score": "0.56590074", "text": "int getNeeded();", "title": "" }, { "docid": "dcce5f61383c0b0abede2399d5002181", "score": "0.56579214", "text": "public double fractionOfCookTimeComplete() // used by gui\n\t{\n\t\tdouble fraction = cookTime / (double) COOK_TIME_FOR_COMPLETION;\n\t\treturn MathHelper.clamp(fraction, 0.0, 1.0);\n\t}", "title": "" }, { "docid": "32982aea3481fcdc47bd541598c3295c", "score": "0.5652099", "text": "public int precioFinal() {\r\n\t\tint acumuladorPrecioTelevision = super.precioFinal();\r\n\t\t;\r\n\r\n\t\tif (resolucion > 40) {\r\n\t\t\tacumuladorPrecioTelevision += (int) ((precioBase * 30) / 100);\r\n\t\t}\r\n\t\tif (sintonizadorTDT) {\r\n\t\t\tacumuladorPrecioTelevision += 50;\r\n\t\t}\r\n\r\n\t\treturn acumuladorPrecioTelevision;\r\n\r\n\t}", "title": "" }, { "docid": "91e341e5441b0c3569db34384fa94bb9", "score": "0.5651637", "text": "public abstract double demi perimetre(){\n retrun this.longueur+largeur; \n\n }", "title": "" }, { "docid": "88e9124cb1cd0784986438518bb9ec62", "score": "0.5649783", "text": "private double calculateCalories(String typeSport, double time, double speed) {\n double weight = 80.0;\n double aux;\n if (speed == 0) return 0;\n if (typeSport.equals(TrainTrainingFragment.CORRER)) {\n // Deporte correr\n if (speed <= 8) {\n aux = 0.06;\n } else if (speed <= 11) {\n aux = 0.092;\n } else if (speed <= 13) {\n aux = 0.104;\n } else {\n aux = 0.129;\n }\n } else if (typeSport.equals(TrainTrainingFragment.BICI)) {\n // Deporte bicicleta\n if (speed <= 18) {\n aux = 0.049;\n } else {\n aux = 0.071;\n }\n } else {\n // Deporte andar\n if (speed <= 5) {\n aux = 0.029;\n } else {\n aux = 0.048;\n }\n }\n\n return aux * weight * time;\n }", "title": "" }, { "docid": "963ce83591fb068ebd469352d3469b46", "score": "0.5646339", "text": "long getTotalReach();", "title": "" }, { "docid": "b0af8a20ac2cc1808e2c2393dbd47b78", "score": "0.5641264", "text": "long getBet();", "title": "" }, { "docid": "273b809f9612654566fbb889cddac364", "score": "0.5640179", "text": "public double getTotal() {\n \tDate endTime = new Date();\n \t\n \t// get the hours elapsed since the reservation was created.\n \tlong millis = endTime.getTime() - startTime.getTime();\n \tint hours = (int) Math.ceil((double)millis/3600000);\n \t\n \tswitch(timeType) {\n \tcase \"HOURLY\":\n \t\treturn (hours*hourlyRate);\n \t\t\n \tcase \"DAILY\":\n \t\tint days = (int) Math.ceil((double)hours/24);\n \t\treturn (days*dailyRate);\n \t}\n \t\n \treturn 0;\n }", "title": "" }, { "docid": "8eb0b22636f6591d25ef222cb528caaf", "score": "0.5634493", "text": "public long calculateTheTime(){\r\n long theTimeInSeconds = (outTime - inTime)/1000;\r\n long theTimeInHours = (outTime - inTime)/1000/60/60;\r\n if (theTimeInSeconds%60 > 0){\r\n return theTimeInHours +1;\r\n }\r\n else {\r\n return theTimeInHours;\r\n }\r\n }", "title": "" }, { "docid": "37518d6b2174d94c3a05161a42cc6e3e", "score": "0.5629884", "text": "@Override\n\tpublic long cost() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "2918ebfc3e30e042fa6b65d5c00f2327", "score": "0.5620305", "text": "double calculateParkingPrice(int parkTimeInMinutes);", "title": "" }, { "docid": "438aaf40750149127c04a0c3a2b64408", "score": "0.5618504", "text": "public double mechanicCost() {\n return mechanic == null ? 0 : DateHelper.toFractionalHours(mechanicTimeSpent) * mechanic.getHourlyWage();\n }", "title": "" }, { "docid": "be0fe7db032feb2a89d37ed8b058e300", "score": "0.561543", "text": "double getWorth();", "title": "" }, { "docid": "01d939cac8833bf38f5ffa93e350b4f1", "score": "0.56150436", "text": "private int getIdealSleepTime() {\n\t\treturn idealSleepTime;\n\t}", "title": "" }, { "docid": "e8e0209be0f91cc4ea326373a223c063", "score": "0.56097996", "text": "public int computePricePence() {\n return super.computePricePence();\n }", "title": "" }, { "docid": "0da4dcc2bc2dd0fd97a379fcdd7d0608", "score": "0.56096333", "text": "public double calculateBookingFee(GregorianCalendar st, GregorianCalendar et, Mechanic m){\n int hour = et.getTime().getHours()-st.getTime().getHours();\n double workedPerHour = hour*m.getRate();\n double partSum=0;\n if(partTotal==0){\n return workedPerHour;\n }else{\n return partSum+workedPerHour+partTotal;\n }\n }", "title": "" }, { "docid": "4e5b443dd5da0e929bc7dd388e51957a", "score": "0.56080496", "text": "public float calTotalEnergy() {\n\t\tfloat num = 0;\n\t\tfor(float i : slotEnergy) {\n\t\t\tnum += i;\n\t\t}\n\t\treturn num;\n\t}", "title": "" }, { "docid": "b663817d68ebd4842b97e66e023be6de", "score": "0.56074965", "text": "private int calculateRemainingTime(int nmove){\r\n //double time = (FinestraSimulazione.maxMovements-nmove);\r\n //time = (timerDelay*time/1000)+1;\r\n double time = animTimePerGen-timerDelay*nmove/1000;\r\n return (int) time;\r\n }", "title": "" }, { "docid": "d639eae8d43a9da056dfeafc0c1ea500", "score": "0.56038904", "text": "double calcResistance();", "title": "" }, { "docid": "00c579cd487d4aaeaf7d393f0e482a12", "score": "0.5603139", "text": "double[] findFinalMarketCap() {\n if (periodReturns.length == 0) {\n findPeriodReturns();\n }\n int lenPeriods = periodReturns.length;\n int lenTPD = timePriceDiv.length;\n double[] retu = new double[4];\n double[][] info = timePriceDiv;\n retu[0] = FinMathOps.round(periodReturns[lenPeriods-1][3],10);\n retu[1] = FinMathOps.round((retu[0] * info[lenTPD-1][1]),10);\n retu[2] = (retu[0] * info[lenTPD-1][2]);\n retu[3] = FinMathOps.round(((retu[1] + retu[2]) / (periodReturns[0][3] * timePriceDiv[0][1]) - 1),9);\n return retu;\n }", "title": "" }, { "docid": "8964b09ae427dc42d972e46fc960acb5", "score": "0.5602974", "text": "double getTotWorth();", "title": "" }, { "docid": "3ee712f487d9490efb1215552e79ccfe", "score": "0.5593696", "text": "public double getMyBidsMinUtility(double time) {\n\t\tif (allBids == null)\n\t\t\tinitBids();\n\t\treturn utilitySpace.getUtilityWithDiscount(\n\t\t\t\tallBids.get(numPossibleBids), time);\n\t}", "title": "" }, { "docid": "745339b257027c190e53805ff4bd57ef", "score": "0.5593555", "text": "public abstract float getEstimatedCost();", "title": "" }, { "docid": "9afcc7cdda1e3ef0ace0821d55254090", "score": "0.55917096", "text": "public double getCurrentDemand() {\r\n// double demand = 0;\r\n// for (ISchedulableProcess p : processList) {\r\n// demand += schedulerResource.getRemainingDemand(p);\r\n// }\r\n// return demand;\r\n return ((SuspendableFCFSResource)schedulerResource).getRemainingDemand();\r\n }", "title": "" }, { "docid": "50aae2f29e0ef272811cdc99cd229310", "score": "0.5591249", "text": "private Duration getRentalDuration()\n {\n return Duration.between(this.reservedFrom, this.reservedTo);\n }", "title": "" }, { "docid": "4fe7f8bc824795089afb67b6fc06482a", "score": "0.5580023", "text": "private static int calculateRemaining(Stock stock) {\n int totalQuantity = stock.getQuantity();\n int loaned = getLoanedQuantity(stock);\n int lost = stock.getLost();\n\n return totalQuantity - loaned - lost;\n }", "title": "" }, { "docid": "6405fdab724fcd77982a9e42200c13ce", "score": "0.55772287", "text": "public int remainingSpots()\n\t{\n\t\treturn secCap - offeringRegList.size();\n\t}", "title": "" }, { "docid": "32294f65dc9f30652fde726ec40477da", "score": "0.55762213", "text": "double getTotalEnergySaved();", "title": "" }, { "docid": "15786afa6068e2b0ab706df944c7bf96", "score": "0.5572719", "text": "public int calculate() {\r\n return intern * (\r\n wannaBe.initial()\r\n +wannaBe.second()\r\n + wannaBe.third() * wannaBe.ratio());\r\n }", "title": "" }, { "docid": "ccd243e95f23f6daf040ce8aa7713bc7", "score": "0.55726236", "text": "private double timeOfLatheLongit() {\n\t\tdouble time = -1;\n\t\tdouble i = Math.ceil(((diameterBefore - diameterAfter) / depthOfCut)); // rounding up number of repetations to integer / zaokrąglenie liczby przejść do całkowitych w góre\n\t\ttime = ((latheLength + idleTrack) / (feed * rpm)) * i;\n\t\treturn time;\n\t}", "title": "" }, { "docid": "ca321843b14a75fd4e0a09e19bf524a1", "score": "0.55725825", "text": "@Override\r\n //cost of the candy is calculated \r\n public int getCost() {\n double price = Math.round(weight * pricePerLbs);\r\n //final price is returned\r\n return (int) price;\r\n }", "title": "" }, { "docid": "530c2f151a602d6db4b1992b66bd3140", "score": "0.55693334", "text": "long getComputeCost();", "title": "" }, { "docid": "4527a1182ae1f52b8bab9aae11bdf51b", "score": "0.5566833", "text": "public double calculateProcessTime() {\n if(isSlowPassenger()) {\n return processTime = processTime * SLOW_MULTIPLIER;\n }\n else {\n return processTime;\n }\n }", "title": "" }, { "docid": "66850071b5977e23c8219fa044ddd102", "score": "0.556213", "text": "private void computePrix() throws Exception {\n\n double prixPlats = 0;\n double prixFilms = 0;\n double prixPlat = 0;\n int nbEffectFilms = 0;\n\n for ( String idFilm : commande.getIdFilms() ){\n if ( idFilm.length() > 1 && !idFilm.equals(\"null\") ){\n nbEffectFilms++;\n }\n }\n \n prixFilms = 3.79 * nbEffectFilms;\n \n for (String idPlat : commande.getIdPlats()) {\n if ( idPlat.length() > 1 && !idPlat.equals(\"null\") ){\n prixPlat = GestionnaireMenu.getPrixPlat(idPlat);\n if (prixPlat != -1 ){\n prixPlats += prixPlat;\n }else{\n throw new Exception(\"Le plat avec id \" + idPlat + \" n'est pas dans la carte !\");\n }\n }\n }\n\n commande.setPrix(prixFilms + prixPlats);\n }", "title": "" } ]
b0bbef76d2e133ac514d713b4838191a
/ Enabled force condition propagation Lifted jumps to return sites
[ { "docid": "0e89d961b73ed30eb3d2b30995e85aaf", "score": "0.0", "text": "public boolean a(fj object) {\n String string2;\n Object object2;\n if (object == null) {\n return false;\n }\n boolean bl2 = this.a();\n boolean bl3 = ((fj)object).a();\n if (bl2 || bl3) {\n if (!bl2 || !bl3) return false;\n object2 = this.a;\n string2 = ((fj)object).a;\n bl2 = ((String)object2).equals(string2);\n if (!bl2) {\n return false;\n }\n }\n bl2 = this.b();\n bl3 = ((fj)object).b();\n if (bl2 || bl3) {\n if (!bl2 || !bl3) return false;\n object2 = this.b;\n string2 = ((fj)object).b;\n bl2 = ((String)object2).equals(string2);\n if (!bl2) {\n return false;\n }\n }\n bl2 = this.c();\n bl3 = ((fj)object).c();\n if (!bl2 && !bl3) return true;\n if (!bl2 || !bl3) return false;\n object2 = this.a;\n object = ((fj)object).a;\n boolean bl4 = object2.equals(object);\n if (bl4) return true;\n return false;\n }", "title": "" } ]
[ { "docid": "2a74dc9ac38fe94c9985eb58cae01969", "score": "0.55453354", "text": "public abstract boolean isJumping();", "title": "" }, { "docid": "7fddaad0e812367bc25186a3310d646a", "score": "0.5508854", "text": "boolean getNoStepPrior();", "title": "" }, { "docid": "53147aa5fa9bee8fd2637c7f12348e66", "score": "0.5374942", "text": "public List<Label> jumps();", "title": "" }, { "docid": "c8d0f95d8e26e87fe4576946cf9e6a5d", "score": "0.53543204", "text": "public void alg_FWD() {\n C_FWD.value = true;\n C_BWD.value = false;\n //System.out.println(\"\\n MotionLogic.FWD:\");\n //System.out.println(\" Moving forwards\");\n\n }", "title": "" }, { "docid": "0d1f07415afe1085112290798d33f73d", "score": "0.5343846", "text": "@Override\r\n\tpublic boolean jumpable() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "67195f8ad8705b1ef9abe42d731556b1", "score": "0.5326931", "text": "boolean jump();", "title": "" }, { "docid": "3cb267f7e83117548943e1a2e69ffca6", "score": "0.5323988", "text": "int getJumpState();", "title": "" }, { "docid": "301cadb2cba9b6db149d77067bd711c0", "score": "0.53042626", "text": "boolean reflow() { return flower.reflow(this); }", "title": "" }, { "docid": "ff6c54928ecd6e448ae9afda16f8e4d0", "score": "0.5294064", "text": "@Override\r\n \tpublic boolean canBeSteppedOn() {\r\n\t\treturn true; //TODO: fix zoda het nie lukt als ge er op staat maar et net activeert\r\n \t}", "title": "" }, { "docid": "6e32eff465d52c5d9ec063fe8a808397", "score": "0.52615505", "text": "void jumpForward();", "title": "" }, { "docid": "7e9a8bb7c8f66c7b44a4cd58cba85bbe", "score": "0.521609", "text": "boolean hasJumpState();", "title": "" }, { "docid": "d0e4271daf8db2baf14db85703cb3ef4", "score": "0.520181", "text": "public boolean planForward(){\n\t\tBDD reached = initialState.id(); //accumulates the reached set of states.\n\t\tBDD Z = reached.id(); // Only new states reached\t\n\t\tBDD aux;\t\n\t\tint i = 0;\n\t\t\n\t\tVector<BDD> excusesVec = new Vector<BDD>(); \n\t\t\n\t\twhile(Z.isZero() == false){\n\t\t\tSystem.out.println(i);\n//\t\t\tSystem.out.println(Z.toString());\n//\t\t\tSystem.out.println(\"init\");\n//\t\t\tSystem.out.println(initialState.toString());\n//\t\t\tSystem.out.println(initialState.nodeCount());\n//\t\t\tinitialState.printDot();\n//\t\t\tSystem.out.println(\"goal\");\n//\t\t\tSystem.out.println(goal.toString());\n//\t\t\tSystem.out.println(goal.nodeCount());\n//\t\t\tgoal.printDot();\n//\t\t\tSystem.out.println(\"and\");\n//\t\t\tBDD bdd = initialState.and(goal.id());\n//\t\t\tSystem.out.println(bdd.toString());\n//\t\t\tSystem.out.println(bdd.nodeCount());\n//\t\t\tbdd.printDot();\n//\t\t\tbreak;\n\t\t\taux = Z.and(goal.id());\t\n\t\t\tif (aux.toString().equals(\"\") == false) {\n\t\t\t\tSystem.out.println(\"The problem is solvable.\");\t\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\taux.free();\n//\t\t\taux = Z;\t\t\t\t\t\n\t\t\tZ = progression(Z); \n//\t\t\taux.free();\n\t\t\t\n//\t\t\taux = Z;\n\t\t\tZ = Z.apply(reached, BDDFactory.diff); // The new reachable states in this layer\n//\t\t\texcusesVec.add(i,Z.id());\n//\t\t\taux.free();\n\t\t\t\n//\t\t\taux = reached;\n\t\t\treached = reached.or(Z); //Union with the new reachable states\n//\t\t\taux.free();\n\t\t\t\n//\t\t\taux = reached;\n\t\t\treached = reached.and(constraints);\n//\t\t\taux.free();\n\t\t\t\n\t\t\ti++;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"The problem is unsolvable.\");\n\t\t\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a7ed55f4a2851569a75654f0bc595521", "score": "0.5198104", "text": "boolean getAvoidTolls();", "title": "" }, { "docid": "e9f65dd6a4caef01845703d00751dad3", "score": "0.5156479", "text": "public void alg_FWD() {\n C_FWD.value = true;\n C_BWD.value = false;\n\n }", "title": "" }, { "docid": "a6c9214f543a6e9cd0da634fe6144f9a", "score": "0.51507574", "text": "@Test\n public void testEnableJump() {\n System.out.println(\"enableJump\");\n Runner instance = null;\n instance.enableJump();\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "816fd6b46ca664fbca0df2b4513290a2", "score": "0.51404744", "text": "@Override\n\tpublic boolean isStepping() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "13e0ac975a2685b5d8695d63c2567c2a", "score": "0.5136285", "text": "private void passivePhysicsTick(TempVars vars) {\n // dampen existing left/forward forces\n float existingLeftVelocity = velocity.dot(localLeft);\n float existingForwardVelocity = velocity.dot(localForward);\n Vector3f counter = vars.vect1;\n existingLeftVelocity = existingLeftVelocity * physicsDamping;\n existingForwardVelocity = existingForwardVelocity * physicsDamping;\n //counter.set(-existingLeftVelocity, 0, -existingForwardVelocity);\n //NO ABOVE ASSUMES X/Z BE SAFE IN CASE LOCAL LEFT CAN CHANGE\n Vector3f counterLocalLeft = vars.vect2.set(localLeft);\n counterLocalLeft.multLocal(-existingLeftVelocity);\n Vector3f counterLocalForward = vars.vect3.set(localForward);\n counterLocalForward.multLocal(-existingForwardVelocity);\n counter.set(counterLocalLeft).addLocal(counterLocalForward);\n ////FINALLY\n localForwardRotation.multLocal(counter);\n velocity.addLocal(counter);\n\n //CALCULATE WALK DIRECTION/////////\n float designatedVelocity = walkDirection.length();\n if (designatedVelocity > 0) {\n Vector3f localWalkDirection = vars.vect1;\n //normalize walkdirection\n localWalkDirection.set(walkDirection).normalizeLocal();\n //check for the existing velocity in the desired direction\n float existingVelocity = velocity.dot(localWalkDirection);\n //calculate the final velocity in the desired direction\n float finalVelocity = designatedVelocity - existingVelocity;\n localWalkDirection.multLocal(finalVelocity);\n //instananeously set view direction\n Vector3f localViewDirection = vars.vect2;\n localViewDirection.set(viewDirection);\n localViewDirection.interpolateLocal(localWalkDirection, 2 * interolationScalar);\n setViewDirection(localViewDirection);\n //add resulting vector to existing velocity\n velocity.addLocal(localWalkDirection);\n }\n\n\n if (onGround) {\n //APPLY VELOCITY WHICH ALLOWS THE CHARACTER TO WALK\n rigidBody.setLinearVelocity(velocity);\n stickToFloor = true;\n }\n// else if(isFalling()){\n// rigidBody.applyImpulse(rigidBody.getGravity().divide(4), Vector3f.ZERO);\n// }\n if (jump) {\n if (onGround) {\n //TODO: precalculate jump force\n Vector3f rotatedJumpForce = vars.vect1.set(localUp);\n rotatedJumpForce.multLocal(rigidBody.getGravity());\n rotatedJumpForce.divideLocal(-2f);\n rigidBody.applyImpulse(localForwardRotation.multLocal(rotatedJumpForce), Vector3f.ZERO);\n stickToFloor = false;\n } else if (isFalling) {\n jump = false;\n }\n } else if (stickToFloor && isRising) {\n // rigidBody.applyImpulse(rigidBody.getGravity(), Vector3f.ZERO);\n //System.out.println(\"offGround: \" + i++);\n }\n }", "title": "" }, { "docid": "17ff313c009ef432bd60ba6dc1b3d479", "score": "0.5110057", "text": "void normalJump(Checkerboard board, Position position, List<Position> positions);", "title": "" }, { "docid": "29b64391ac14a03b985eb692ca4f144e", "score": "0.5102581", "text": "@Override\n\tpublic boolean solveStepCondition() {\n\t\treturn !destinations.contains(currentStep) && getVisitSize() > 0;\n\t}", "title": "" }, { "docid": "f376d0f530d5e46a385d3a9545ecb9d4", "score": "0.50806", "text": "public void preMindOps() {\n\t}", "title": "" }, { "docid": "db3dd30de5ebb9bbdb1d7e1f693def8c", "score": "0.5067924", "text": "@Override\n\tpublic void propagate() throws ContradictionException {\n\t\t//Solver.flushLogs();\n\t\tif(rules.isActive()) {\n\t\t\trules.initialize();\n\t\t\t// TODO - Set the constraint passive if necessary - created 4 juil. 2011 by Arnaud Malapert \n\t\t\tswitch (policy) {\n\t\t\tcase DEFAULT:defaultFiltering();break;\n\t\t\tcase VILIM:vilimFiltering();break;\n\t\t\tdefault:\n\t\t\t\tsingleRuleFiltering();break;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "c065e5aac955b99b198eae8422527f59", "score": "0.5063786", "text": "public void backPropagate()\n {\n int i = 0;\n int m = 0;\n while (errorFunction() > ERROR_THRESHOLD && i < RECALC_THRESHOLD)\n {\n calculateOutput(m);\n singleBackPropagation(m);\n i++;\n m++;\n if (m >= NUM_MODELS)\n {\n m = 0;\n }\n }\n System.out.println(\"\\nAfter \" + i + \" iterations: \\n\");\n }", "title": "" }, { "docid": "34d3ef8e3704e746eb98f8e4275e3ace", "score": "0.50511396", "text": "public abstract void traceSolutionUp();", "title": "" }, { "docid": "67c8caa3b97c8b2160ab342bafe79597", "score": "0.50509167", "text": "public void jump(){}", "title": "" }, { "docid": "6bbd13f2b87c8e65ce945c15f4600fde", "score": "0.5050014", "text": "public void propagate(Force force, int row, int column, Direction direction) {\n\t\tTile tile = getTile(row, column);\r\n\t\tForce weaken = tile.weaken(force);\r\n\t\tForce strengthen = tile.strengthen(force);\r\n\t\ttile.setMeasurement((strengthen.getLoad() + weaken.getLoad()) / 2);\r\n\t\tTile[] neighbors = getNeighbors(tile, direction);\r\n\t\tforce.setLoad((strengthen.getLoad() + weaken.getLoad()) / 2);\r\n\r\n\t\tfor (int i = 0; i < neighbors.length; i++)\r\n\t\t\tpropagate(force, neighbors[i].getRow(), neighbors[i].getColumn(), direction);\r\n\t}", "title": "" }, { "docid": "471e10673fbcf851e05bf78fa34d6326", "score": "0.50319743", "text": "public boolean isStepping();", "title": "" }, { "docid": "647c296bd3d855536f9f57694c529ba9", "score": "0.50295424", "text": "@Override\n\tpublic boolean canStepReturn() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "9cf3ed3da34fa7e215648e8253fcb0fa", "score": "0.5021755", "text": "public void enableStepByStepMode() {\n \tstepByStepMode = true;\n }", "title": "" }, { "docid": "19f51826eaa7f640817a7fbb1d6091b0", "score": "0.50178325", "text": "public void intermediatePlace(PlacePetriNet place) throws IloException{\r\n \tList<Integer> indexsIn=indexOfActivitiesListInVarModel(place.getInputs());\r\n \tList<Integer> indexsOut=indexOfActivitiesListInVarModel(place.getOutputs());\r\n\r\n \tfor (Integer i : indexsIn) {\r\n\t\t\tfor (Integer j : indexsOut) {\r\n\t\t\t\t//solver.add(solver.imply(solver.neq(VarModel[j], 0),solver.and(solver.lt(VarModel[j], solver.sum(VarModel[i], jump)), solver.gt(VarModel[j], VarModel[i]))));\r\n\t\t\t\t//-solver.add(solver.imply(solver.neq(VarModel[j], 0),solver.gt(VarModel[j], VarModel[i])));\r\n\t\t\t\t//solver.add(solver.imply(solver.eq(VarModelBool[j], 1),solver.and(solver.lt(VarModel[j], solver.sum(VarModel[i], jump)), solver.gt(VarModel[j], VarModel[i]))));\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n \t//only one nput can be true\r\n \t\r\n \t\r\n \tif(indexsIn.size()==1 && indexsOut.size()==1){\r\n \t\t\r\n \t\t\r\n \t\tsolver.add(solver.ifThenElse(solver.eq(\r\n \t\t\t\tVarModelBool[indexsIn.get(0)],1), \r\n \t\t\t\tsolver.eq(VarModelBool[indexsOut.get(0)],1), \r\n \t\t\t\tsolver.eq(VarModelBool[indexsOut.get(0)],0)));\r\n \t\t//solver.add(solver.ifThenElse(solver.eq(VarModelBool[indexsIn.get(0)],1), solver.gt(VarModel[indexsOut.get(0)],VarModel[indexsIn.get(0)]), solver.eq(VarModel[indexsOut.get(0)],0)));\r\n \t\t//System.out.println(\"solver.add(solver.ifThenElse(solver.eq(\"+VarModelBool[indexsIn.get(0)]+\",1), solver.eq(\"+VarModelBool[indexsOut.get(0)]+\",1), solver.eq(\"+VarModelBool[indexsOut.get(0)]+\",0)));\");\r\n \t}else{\r\n \t\t\r\n \t\tIlcConstraint[] reifConstIn = new IlcConstraint[indexsIn.size()];\r\n \tIlcIntVar[] reifVarModelIn = new IlcIntVar[indexsIn.size()];\r\n \t\r\n \tIlcConstraint[] reifConstOut = new IlcConstraint[indexsOut.size()];\r\n \tIlcIntVar[] reifVarModelOut = new IlcIntVar[indexsOut.size()];\r\n \t\r\n \t\tif(indexsIn.size()==1){\r\n \t\t\tif(indexsOut.size()==2){\r\n \t\t\t\t//-solver.add(solver.ifThenElse(solver.neq(VarModel[indexsIn.get(0)],0), solver.xor(solver.gt(VarModel[indexsOut.get(0)],VarModel[indexsIn.get(0)]), solver.gt(VarModel[indexsOut.get(1)],indexsIn.get(0))), solver.and(solver.eq(VarModel[indexsOut.get(1)], 0),solver.eq(VarModel[indexsOut.get(0)], 0) )));\r\n \t\t\t\tsolver.add(solver.ifThenElse(solver.eq(VarModelBool[indexsIn.get(0)],1), solver.xor(solver.eq(VarModelBool[indexsOut.get(0)],1), solver.eq(VarModelBool[indexsOut.get(1)],1)), solver.and(solver.eq(VarModelBool[indexsOut.get(1)], 0),solver.eq(VarModelBool[indexsOut.get(0)], 0) )));\r\n \t\t\t\t//System.out.println(\"solver.add(solver.ifThenElse(solver.eq(\"+VarModelBool[indexsIn.get(0)]+\",1), solver.xor(solver.eq(\"+VarModelBool[indexsOut.get(0)]+\",1), solver.eq(\"+VarModelBool[indexsOut.get(1)]+\",1)), solver.and(solver.eq(\"+VarModelBool[indexsOut.get(1)]+\", 0),solver.eq(\"+VarModelBool[indexsOut.get(0)]+\", 0) )));\");\r\n \t\t\t}else{\r\n\t \t\t\tfor(int i=0;i<indexsOut.size();i++){\r\n\t\t\t \t\treifVarModelOut[i] = solver.intVar(0, 1, indexsOut.get(i)+\"reifModelOut\");\r\n\t\t\t \t}\r\n\t \t\t\tfor(int i=0; i< indexsOut.size();i++){\r\n\t \t\t\t\t//-reifConstOut[i] = solver.neq(VarModel[indexsOut.get(i)], 0);\r\n\t\t\t \t\treifConstOut[i] = solver.eq(VarModelBool[indexsOut.get(i)], 1);\r\n\t\t\t \t\r\n\t\t\t \tsolver.add(solver.eq(reifConstOut[i], reifVarModelOut[i]));\r\n\t\t\t \t}\r\n\t\t\t \tsolver.add(solver.le(solver.sum(reifVarModelOut),1));\r\n\t\t\t \t//-solver.add(solver.ifThenElse(solver.neq(VarModel[indexsIn.get(0)],0), solver.eq(solver.sum(reifVarModelOut),1), solver.eq(solver.sum(reifVarModelOut),0)));\r\n\t\t\t \tsolver.add(solver.ifThenElse(solver.eq(VarModelBool[indexsIn.get(0)],1), solver.eq(solver.sum(reifVarModelOut),1), solver.eq(solver.sum(reifVarModelOut),0)));\r\n\t\t\t \t//-solver.add(solver.ifThenElse(solver.eq(solver.sum(reifVarModelOut),1), solver.neq(VarModel[indexsIn.get(0)],0), solver.neq(VarModel[indexsIn.get(0)],1)));\r\n\t\t\t \tsolver.add(solver.ifThenElse(solver.eq(solver.sum(reifVarModelOut),1), solver.eq(VarModelBool[indexsIn.get(0)],1), solver.eq(VarModelBool[indexsIn.get(0)],0)));\r\n \t\t\t}\r\n \t\t\t\r\n \t\t}else if(indexsOut.size()==1){\r\n \t\t\tif(indexsIn.size()==2){\r\n \t\t\t\t\r\n \t\t\t\t//solver.add(solver.ifThenElse(solver.eq(VarModel[indexsOut.get(0)],0), solver.and(solver.eq(VarModel[indexsIn.get(1)], 0),solver.eq(VarModel[indexsIn.get(0)], 0)),solver.xor(solver.eq(VarModel[indexsIn.get(0)],0), solver.eq(VarModel[indexsIn.get(1)],0)) ));\r\n \t\t\t\tsolver.add(solver.ifThenElse(solver.eq(VarModelBool[indexsOut.get(0)],0), solver.and(solver.eq(VarModelBool[indexsIn.get(1)], 0),solver.eq(VarModelBool[indexsIn.get(0)], 0)),solver.xor(solver.eq(VarModelBool[indexsIn.get(0)],1), solver.eq(VarModelBool[indexsIn.get(1)],1)) ));\r\n \t\t\t\t//System.out.println(\"solver.add(solver.ifThenElse(solver.eq(\"+VarModelBool[indexsOut.get(0)]+\",0), solver.and(solver.eq(\"+VarModelBool[indexsIn.get(1)]+\", 0),solver.eq(\"+VarModelBool[indexsIn.get(0)]+\", 0)),solver.xor(solver.eq(\"+VarModelBool[indexsIn.get(0)]+\",1), solver.eq(\"+VarModelBool[indexsIn.get(1)]+\",1)) ));\");\r\n \t\t\t}else{\r\n\t \t\t\tfor(int i=0;i<indexsIn.size();i++){\r\n\t\t\t \t\treifVarModelIn[i] = solver.intVar(0, 1, indexsIn.get(i)+\"reifModelIn\");\r\n\t\t\t \t}\r\n\t \t\t\tfor(int i=0; i< indexsIn.size();i++){\r\n\t\t\t \t\t//-reifConstIn[i] = solver.neq(VarModel[indexsIn.get(i)], 0);\r\n\t \t\t\t\treifConstIn[i] = solver.eq(VarModelBool[indexsIn.get(i)], 1);\r\n\t\t\t \t\r\n\t\t\t \tsolver.add(solver.eq(reifConstIn[i], reifVarModelIn[i]));\r\n\t\t\t \t}\r\n\t\t\t \tsolver.add(solver.le(solver.sum(reifVarModelIn),1));\r\n\t\t\t \t//-solver.add(solver.ifThenElse(solver.eq(solver.sum(reifVarModelIn),1), solver.gt(VarModel[indexsOut.get(0)],0), solver.eq(VarModel[indexsOut.get(0)],0)));\r\n\t\t\t \tsolver.add(solver.ifThenElse(solver.eq(solver.sum(reifVarModelIn),1), solver.eq(VarModelBool[indexsOut.get(0)],1), solver.eq(VarModelBool[indexsOut.get(0)],0)));\r\n\t\t\t \t//-solver.add(solver.ifThenElse(solver.gt(VarModel[indexsOut.get(0)],0), solver.eq(solver.sum(reifVarModelIn),1), solver.eq(solver.sum(reifVarModelIn),0)));\r\n\t\t\t \tsolver.add(solver.ifThenElse(solver.eq(VarModelBool[indexsOut.get(0)],1), solver.eq(solver.sum(reifVarModelIn),1), solver.eq(solver.sum(reifVarModelIn),0)));\r\n \t\t\t}\r\n \t\t}else{\r\n\t\t \tfor(int i=0;i<indexsIn.size();i++){\r\n\t\t \t\treifVarModelIn[i] = solver.intVar(0, 1, indexsIn.get(i)+\"reifModelIn\");\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \tfor(int i=0;i<indexsOut.size();i++){\r\n\t\t \t\treifVarModelOut[i] = solver.intVar(0, 1, indexsOut.get(i)+\"reifModelOut\");\r\n\t\t \t}\r\n\t\t \t\r\n\t\t \tfor(int i=0; i< indexsIn.size();i++){\r\n\t\t \t\t//-reifConstIn[i] = solver.neq(VarModel[indexsIn.get(i)], 0);\r\n\t\t \t\treifConstIn[i] = solver.eq(VarModelBool[indexsIn.get(i)], 1);\r\n\t\t \tsolver.add(solver.eq(reifConstIn[i], reifVarModelIn[i]));\r\n\t\t \t}\r\n\t\t \tsolver.add(solver.le(solver.sum(reifVarModelIn),1));\r\n\t\t \t\r\n\t \t \t\r\n\t\t \tfor(int i=0; i< indexsOut.size();i++){\r\n\t\t \t\t//-reifConstOut[i] = solver.neq(VarModel[indexsOut.get(i)], 0);\r\n\t\t \t\treifConstOut[i] = solver.eq(VarModelBool[indexsOut.get(i)], 1);\r\n\t\t \t\r\n\t\t \tsolver.add(solver.eq(reifConstOut[i], reifVarModelOut[i]));\r\n\t\t \t}\r\n\t\t \tsolver.add(solver.le(solver.sum(reifVarModelOut),1));\r\n\t\t \t\t \t\r\n\t\t \tsolver.add(solver.eq(solver.sum(reifVarModelOut),solver.sum(reifVarModelIn)));\r\n\t \t\t}\r\n \t}\r\n \t\r\n }", "title": "" }, { "docid": "5b437d3f8eaf47b374a9b821ccef5e96", "score": "0.500857", "text": "boolean predictIfTaken(long PC) {\n\t//\tlong addr = PC % ((long)nEntries^(long)historyRegister.register);\n\tlong addr = (PC^historyRegister.register) % (long)nEntries;\n\t//long addr = PC % (long)nEntries;\n\t//int addr = ((int)PC % nEntries);\n\t //^historyRegister.register;\n\tcurrent_index = (int)addr;\n\tboolean result = branchHistoryTable[current_index].isTrue();\n\treturn result;\n }", "title": "" }, { "docid": "04f1abcd62dd4d5e5fbc51389fd2eea9", "score": "0.5008035", "text": "boolean getAvoidHighways();", "title": "" }, { "docid": "8adeaf5466ff8925472838c160ea7cec", "score": "0.50072724", "text": "public void thrustOn(){\n\t\tthis.thrusterState = true; \t\t\n\t\t}", "title": "" }, { "docid": "94b1067251a3528e096c40b1a8f72276", "score": "0.50028294", "text": "private Waypoint[] calculateSideSwitchHookPoints() {\n double y = SWITCH_HOOK_Y_DISTANCE;\n double x = ROBOT_TO_SWITCH_CENTER + 12;\n Waypoint[] waypoints = new Waypoint[3];\n waypoints[0] = new Waypoint(0, 0, 0);\n waypoints[1] = new Waypoint(x - 2.25 * y, 0, 0);\n waypoints[2] = new Waypoint(x, y, Pathfinder.d2r(90));\n if (mirror) {\n return mirrorWaypoints(waypoints);\n } else {\n return waypoints;\n }\n }", "title": "" }, { "docid": "4966772b379178a111abe3d6dc3b33ad", "score": "0.49959368", "text": "public abstract void traceSolution();", "title": "" }, { "docid": "b170bf3793c012fbe926935e0702ca2c", "score": "0.49938685", "text": "public boolean keepJump() {\n\t\treturn keepJump;\n\t}", "title": "" }, { "docid": "77359c3493141bc1f5810085b96eb03f", "score": "0.49903405", "text": "protected boolean isJump() {\n return (fromRow - toRow == 2 || fromRow - toRow == -2);\r\n }", "title": "" }, { "docid": "dedf743b1f333a0a77734704ef2742c2", "score": "0.49871376", "text": "@Override\n\tpublic boolean canStepOver() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "940879a6484a7419b143254df39a76d7", "score": "0.49855098", "text": "public void learn4(){\r\n\t//need to put in inhibition\r\n//public void learnPostCompense(){\r\n \r\n\tdouble totalConnectionStrength;\r\n double modification;\r\n double totalToConnectionStrength;\r\n double toCompensatoryStrengthModifier,toCompensatoryWeakModifier;\r\n\r\n\r\n //Only learn when the from neuron is active\r\n if (!getFired()) return;\r\n\r\n totalConnectionStrength = getTotalConnectionStrength();\r\n \r\n //Test each Synapse from the active neuron\r\n for (int synap=0; synap < getCurrentSynapses(); synap++) {\r\n double connectionStrength = synapses[synap].getWeight();\r\n CANTNeuron toNeuron = (CANTNeuron)\r\n synapses[synap].getTo();\r\n\r\n //If both Neurons were active,\r\n if (toNeuron.getFired()) {\r\n if (!isInhibitory){\r\n \tif (toNeuron instanceof CANTNeuronSpontaneousFatigue) {\r\n totalToConnectionStrength = ((CANTNeuronSpontaneousFatigue) toNeuron).getIncomingStrength();\r\n \t}\r\n \telse totalToConnectionStrength = parentNet.getSaturationBase();\r\n toCompensatoryStrengthModifier = \r\n getStrengthCompensatoryModifier(totalToConnectionStrength,\r\n toNeuron.parentNet.getSaturationBase());\r\n modification = getIncreaseBase(connectionStrength);\r\n modification *= toCompensatoryStrengthModifier;\r\n if (modification > 1.0) modification = 1.0;\r\n modification *= parentNet.getLearningRate();\r\n connectionStrength = connectionStrength+modification;\r\n synapses[synap].setWeight(connectionStrength);\r\n\t //System.out.println(\"Inc Exc \"+this.getId()+\" \"+toNeuron.getId()+\" \"+synapses[synap].getWeight()+\" \"+modification + \" \"+fromCompensatoryStrengthModifier + \" \" + totalConnectionStrength + \" \" + parentNet.getSaturationBase());\r\n }\r\n\r\n else{//decrease inhibition (move toward 0)\r\n \tif (toNeuron instanceof CANTNeuronSpontaneousFatigue) {\r\n totalToConnectionStrength = ((CANTNeuronSpontaneousFatigue) toNeuron).getIncomingStrength();\r\n \t}\r\n \telse totalToConnectionStrength = parentNet.getSaturationBase();\r\n modification = getIncreaseBase(1+connectionStrength);\r\n toCompensatoryStrengthModifier = \r\n getStrengthCompensatoryModifier(totalToConnectionStrength,\r\n toNeuron.parentNet.getSaturationBase());\r\n modification *= toCompensatoryStrengthModifier;\r\n if (modification > 1.0) modification = 1.0;\r\n modification *= parentNet.getLearningRate();\r\n connectionStrength = (connectionStrength)+modification;\r\n synapses[synap].setWeight(connectionStrength);\r\n //System.out.println(\"untested dec Inh \"+this.getId()+\" \"+toNeuron.getId()+\" \"+synapses[synap].getWeight()+\" \"+modification + \" \" + totalToConnectionStrength);\r\n }\r\n } //end of to neuron active\r\n\r\n\r\n //if to Neuron is inactive\r\n else {\r\n if (!isInhibitory){\r\n \tif (toNeuron instanceof CANTNeuronSpontaneousFatigue) {\r\n totalToConnectionStrength = ((CANTNeuronSpontaneousFatigue) toNeuron).getIncomingStrength();\r\n \t}\r\n \telse totalToConnectionStrength = parentNet.getSaturationBase();\r\n toCompensatoryWeakModifier = \r\n getWeakCompensatoryModifier(totalToConnectionStrength,\r\n\t toNeuron.parentNet.getSaturationBase());\r\n modification = getDecreaseBase(connectionStrength);\r\n modification *= toCompensatoryWeakModifier;\r\n if (modification > 1.0) modification = 1.0;\r\n modification *= parentNet.getLearningRate();\r\n connectionStrength = connectionStrength-modification;\r\n synapses[synap].setWeight(connectionStrength);\r\n\t //System.out.println(\"dec Exc \"+this.getId()+\" \"+toNeuron.getId()+\" \"+synapses[synap].getWeight()+\" \"+modification + \" \" + fromCompensatoryWeakModifier);\r\n }\r\n\r\n else { //increase inhibition (move away from 0)\r\n modification = getDecreaseBase(1+connectionStrength);\r\n if (modification > 1.0) modification = 1.0;\r\n modification *= parentNet.getLearningRate();\r\n connectionStrength = connectionStrength-modification;\r\n synapses[synap].setWeight(connectionStrength);\r\n/* untested compensatory mechanism\r\n \t totalToConnectionStrength = toNeuron.getIncomingStrength();\r\n modification = getDecreaseBase(1+connectionStrength);\r\n toCompensatoryWeakModifier = \r\n getWeakCompensatoryModifier(totalToConnectionStrength,\r\n toNeuron.parentNet.getSaturationBase());\r\n modification *= toCompensatoryWeakModifier;\r\n if (modification > 1.0) modification = 1.0;\r\n modification *= parentNet.getLearningRate();\r\n connectionStrength = connectionStrength-modification;\r\n synapses[synap].setWeight(connectionStrength);\r\n \t //System.out.println(\"Inc Inh\"+this.getId()+\" \"+toNeuron.getId()+\" \"+synapses[synap].getWeight()+\" \"+modification);\r\n \t */\r\n }\r\n } // end of to Neuron inactive\r\n }\r\n}", "title": "" }, { "docid": "4ed0eecd1446903cde6ebb3d0f89b0c4", "score": "0.49825126", "text": "public void jumpAddrIfNotEqual();", "title": "" }, { "docid": "83ad62e8639a24f9fc69ac70e34976a5", "score": "0.49630314", "text": "public void preStepOps() {\n\t}", "title": "" }, { "docid": "abd0d1d4e10193b299eb44d6f24d2011", "score": "0.49583474", "text": "public void modelToTry(double lambda) throws Exception {\n /*\n *looks for a model to try for LM method among\n * model(adjustedStep)\n * model(adjustedStep/2)\n * model(adjustedStep*2)\n * model(directionsGivenByStep)\n */\n\n //System.out.println(\"printing alpha \");\n\n //for(int i=0;i<alpha.length;i++){\n // for(int j=0;j<alpha[i].length;j++){\n // System.out.println(\"element \"+i+\" \"+j+\" = \"+alpha[i][j]);\n // }\n //}\n\n\n double[][] alphaModified = alphaModified(alpha, lambda);\n //zero entries in array step for fixed parameters\n double[] step = solveSystem(alphaModified, beta);\n double[] adjustedStep = adjustStep(step);\n\n modelToTry = (TSAPmodel) tsapModelUtils.mostApproxModel(initialModel, adjustedStep);\n\n if (modelToTry.getSpectrum() == null) {\n modelToTry = (TSAPmodel) tsapModelUtils.modelInDefinedDirections(modelToTry, step);\n }\n //if(modelToTry.getSpectrum()==null) modelToTry.setEquals(initialModel);\n //if(modelToTry.getSpectrum()!=null) length++;\n\n double[] halfStep = new double[step.length];\n\n for (int i = 0; i < step.length; i++) {\n halfStep[i] = adjustedStep[i] / 2;\n }\n\n double[] doubleStep = new double[step.length];\n\n for (int i = 0; i < step.length; i++) {\n doubleStep[i] = adjustedStep[i] * 2;\n }\n\n\n TSAPmodel modelToTry1 = (TSAPmodel) tsapModelUtils.mostApproxModel(initialModel, halfStep);\n\n //if(modelToTry1.getSpectrum()==null) modelToTry1 = (TSAPmodel) tsapModelUtils.modelInDefinedDirections(modelToTry1, step);\n //if(modelToTry1.getSpectrum()==null) modelToTry1.setEquals(modelToTry);\n\n TSAPmodel modelToTry2 = (TSAPmodel) tsapModelUtils.mostApproxModel(initialModel, doubleStep);\n\n //if(modelToTry2.getSpectrum()==null) modelToTry2 = (TSAPmodel) tsapModelUtils.modelInDefinedDirections(modelToTry2, step);\n //if(modelToTry2.getSpectrum()==null) modelToTry2.setEquals(modelToTry);\n //if(modelToTry2.getSpectrum()!=null) length++;\n\n TSAPmodel modelToTry3 = (TSAPmodel) tsapModelUtils.modelInDefinedDirections(initialModel, step);\n //if(modelToTry3.getSpectrum()==null) modelToTry3.setEquals(modelToTry);\n //if(modelToTry3.getSpectrum()!=null) length++;\n\n TSAPmodel[] models = new TSAPmodel[4];\n models[0] = (TSAPmodel) modelToTry;\n models[1] = (TSAPmodel) modelToTry1;\n models[2] = (TSAPmodel) modelToTry2;\n models[3] = (TSAPmodel) modelToTry3;\n\n\n ChiSquareFitting chiSquareFitting = new ChiSquareFitting(sed, models, this);\n double[] chiValues = chiSquareFitting.getValues();\n\n\n double chi = 0;\n int i = 0;\n int index = 0; //index of the smaller chi\n\n //initializes chi\n while (i < chiValues.length) {\n if (chiValues[i] != -1) {\n chi = chiValues[i];\n index = i;\n i = chiValues.length; //to stop the loop\n } else {\n i++;\n }\n }\n\n\n for (int j = 1; j < chiValues.length; j++) {\n if (chiValues[j] != -1 && chiValues[j] < chi) {\n chi = chiValues[j];\n index = j;\n\n }\n }\n\n //chi(models[index]) < chi(modelToTry)\n if (index != 0) {\n //index==0 means that chi(models)>=chi(modelToTry) or that all models have null spectrum\n TSAPmodel model = (TSAPmodel) models[index];\n modelToTry.setEquals(model);\n }\n\n if (modelToTry.getSpectrum() == null) {\n modelToTry.setEquals(initialModel);\n }\n\n //Now we should study fixed parameters\n //studyingFixedParam();\n }", "title": "" }, { "docid": "e873ac4fc1a77557a273722c3cc80668", "score": "0.49470964", "text": "public void jumpAddrIfEqual();", "title": "" }, { "docid": "63ad00567285852ead1fb3270585081d", "score": "0.49443567", "text": "default boolean isIntercepted() { return false; }", "title": "" }, { "docid": "cc897f23570cc570fcff873663f01cb7", "score": "0.49416175", "text": "private static void backtracking (){\n IMPR = 2; //Cambiamos el valor de FUNC para imprimir los subconjuntos en el orden encontrado\n backtracking(0,0,new ArrayList<Integer>());\n }", "title": "" }, { "docid": "d5e84e3c1577e890c50b1e44aa7c0f6d", "score": "0.49333245", "text": "@Override\n protected boolean canTriggerWalking()\n {\n return false;\n }", "title": "" }, { "docid": "2530497305916a5bd0cbb51ec9fb54e8", "score": "0.49258703", "text": "void jumpBackward();", "title": "" }, { "docid": "32d6df84462431704846b8b388f23b20", "score": "0.49231976", "text": "Force() {}", "title": "" }, { "docid": "80d7f2959c1fdc64ce8b6749a6d6624f", "score": "0.4909807", "text": "public interface SimStepListener {\n\n /**\n * SimDiffEqSolvers will call this method to let you know the values.\n * \n * @param current\n * current values. NEVER CHANGE THIS VALUES.\n * @return if false, DiffEqSolvers will stop the loop. And true, continue.\n */\n public boolean step(VariableSet[] current);\n\n}", "title": "" }, { "docid": "f5964df76f8fcbd32f69a4223fc119c7", "score": "0.49083447", "text": "public void avoidSecondNet()\n {\n this.turn(LEFT);\n while (this.isClear(AHEAD) ) \n {\n hop();\n }\n if (this.seesFlower(AHEAD) )\n {\n this.pickFlowers();\n }\n this.turn(RIGHT);\n }", "title": "" }, { "docid": "e028de23b5dab39628d111b713fdb6c8", "score": "0.4901738", "text": "public static void forcingChain() {\n Debug.println(\"forcing chain..\");\n int n = 3;\n createLinkMap();\n\n List<Cell> cells = Board.getCandidateCells();\n cells.removeIf(c -> c.candidates.size() != n);\n for (Cell cell : cells) {\n List<LinkedList<LinkNode>> forcingChain = findForcingChain(cell);\n if (forcingChain != null) {\n Debug.printForcingChain(forcingChain);\n Main.printForcingChain(forcingChain);\n Cell last = forcingChain.get(0).getLast().getFirstCell();\n last.candidates.remove(new Integer(last.linkNum));\n return;\n }\n }\n\n cells = Board.getCandidateCells();\n Map<Integer, List<Cell>> rows = cells.stream().collect(Collectors.groupingBy(c -> c.r));\n for (Map.Entry<Integer, List<Cell>> entry : rows.entrySet()) {\n List<Cell> row = entry.getValue();\n Set<Integer> cans = new HashSet<>();\n for (Cell cell : row) {\n cans.addAll(cell.candidates);\n }\n for (Integer can : cans) {\n Map<Boolean, List<Cell>> collect = row.stream().collect(Collectors.groupingBy(c -> c.candidates.contains(can)));\n for (Map.Entry<Boolean, List<Cell>> entry2 : collect.entrySet()) {\n if (entry2.getKey() && entry2.getValue().size() == n) {\n List<LinkedList<LinkNode>> forcingChain = findForcingChain(entry2.getValue(), can);\n if (forcingChain != null) {\n printForcingChain(forcingChain);\n return;\n }\n }\n }\n }\n }\n\n Map<Integer, List<Cell>> cols = cells.stream().collect(Collectors.groupingBy(c -> c.c));\n for (Map.Entry<Integer, List<Cell>> entry : cols.entrySet()) {\n List<Cell> col = entry.getValue();\n Set<Integer> cans = new HashSet<>();\n for (Cell cell : col) {\n cans.addAll(cell.candidates);\n }\n for (Integer can : cans) {\n Map<Boolean, List<Cell>> collect = col.stream().collect(Collectors.groupingBy(c -> c.candidates.contains(can)));\n for (Map.Entry<Boolean, List<Cell>> entry2 : collect.entrySet()) {\n if (entry2.getKey() && entry2.getValue().size() == n) {\n List<LinkedList<LinkNode>> forcingChain = findForcingChain(entry2.getValue(), can);\n if (forcingChain != null) {\n printForcingChain(forcingChain);\n return;\n }\n }\n }\n }\n }\n\n Debug.println(\"forcing chain not found..\");\n maxSteps += 2;\n Debug.println(\"maxSteps=\" + ChainSolver.maxSteps);\n }", "title": "" }, { "docid": "afe46c2da479a480457cdd9a655094d9", "score": "0.48985067", "text": "@Override\r\n\t\tpublic void fly() {\n\t\t\tSystem.out.println(\" can not fly using there wings\");\r\n\t\t}", "title": "" }, { "docid": "0b76080d32f71851c169ef33ee2b9206", "score": "0.4878721", "text": "public double[] solveMe(int trigger) {\r\n\t\tdouble [] out = null ;\r\n\t\ttry{\r\n\t\t\t//FogPlanningProblem test = new FogPlanningProblem();\r\n\t\t\tIloCplex cplex = new IloCplex();\r\n\t\t\tcplex.readParam(\"src/config.prm\");\r\n\t\t\tIloNumVar[][] x = new IloNumVar[this.clients_tem][this.fogs_tem+1];\r\n\t\t\tfor(int i = 0;i<this.clients_tem;i++) {\r\n\t\t\t\tx[i] =cplex.boolVarArray(this.fogs_tem+1);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tIloNumVar[][] y = new IloNumVar[this.fogs_tem][fogprice.length];\r\n\t\t\tfor (int i = 0;i<this.fogs_tem;i++) {\r\n\t\t\t\ty[i] = cplex.boolVarArray(fogprice.length);\r\n\t\t\t}\r\n\t\t\tIloNumVar[][] z = new IloNumVar[this.fogs_tem][linkprice.length];\r\n\t\t\tfor (int i = 0;i<this.fogs_tem;i++) {\r\n\t\t\t\tz[i] = cplex.boolVarArray(linkprice.length);\r\n\t\t\t}\r\n\t\t\tIloLinearNumExpr obj1 = cplex.linearNumExpr();\r\n\t\t\tfor(int i =0;i<this.fogs_tem;i++) {\r\n\t\t\t\tfor(int j=1;j<fogprice.length;j++)\r\n\t\t\t\tobj1.addTerm(rent, y[i][j]);\r\n\t\t\t}\r\n\t\t\tfor(int i =0;i<this.fogs_tem;i++) {\r\n\t\t\t\tfor(int j=0;j<fogprice.length;j++)\r\n\t\t\t\tobj1.addTerm(fogprice[j], y[i][j]);\r\n\t\t\t}\r\n\t\t\tfor(int i =0;i<this.fogs_tem;i++) {\r\n\t\t\t\tfor(int j=0;j<linkprice.length;j++)\r\n\t\t\t\tobj1.addTerm(linkprice[j], z[i][j]);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tIloLinearNumExpr obj2 = cplex.linearNumExpr();\r\n\t\t\tfor(int i =0;i<this.fogs_tem+1;i++) {\r\n\t\t\t\tfor(int j=0;j<this.clients_tem;j++)\r\n\t\t\t\t\tobj2.addTerm(this.delay_matrix[j][i], x[j][i]);// TODO Auto-generated method stub\r\n\t\t\t}//\r\n\t\t\t//Normalize two objectives\r\n\t\t\tIloNumExpr obj_1=cplex.prod(1.0/(this.maxCost_), obj1);\r\n\t\t\tIloNumExpr obj_2 = cplex.prod(1.0/(this.maxTotalDelay_-this.minTotalDelay_),cplex.abs(cplex.diff(this.minTotalDelay_,obj2)));\r\n\t\t\t//IloNumExpr wsobj = cplex.sum(cplex.prod(1, obj2),cplex.prod(0.0, obj_1));\r\n\t\t\tIloNumExpr[] objs = new IloNumExpr[] {obj1,obj2};\r\n\t\t\t\r\n\t\t\tIloNumExpr wsobj = cplex.sum(cplex.prod(params[0], obj_1),cplex.prod(params[1],obj_2));\r\n\t\t\tswitch(trigger) {\r\n\t\t\tcase 1:\r\n\t\t\t\tcplex.addMinimize(obj1);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tcplex.addMinimize(obj2);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\tcplex.addMinimize(wsobj);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//constraints\r\n\t\t\r\n\t\t//single source\r\n\t\t\tfor(int i =0;i<this.clients_tem;i++) {\r\n\t\t\t\tIloLinearNumExpr expr = cplex.linearNumExpr();\r\n\t\t\t\tfor(int j= 0;j<this.fogs_tem+1;j++) {\r\n\t\t\t\t\texpr.addTerm(1.0, x[i][j]);\r\n\t\t\t\t}\r\n\t\t\t\tcplex.addEq(expr, 1.0);\r\n\t\t\t}\r\n\t\t//single fog type\r\n\t\t\tfor(int j= 0;j<this.fogs_tem;j++)\r\n\t\t\t{\r\n\t\t\t\tIloLinearNumExpr expr = cplex.linearNumExpr();\r\n\t\t\t\tfor(int i =0;i<fogprice.length;i++) {\r\n\t\t\t\t\texpr.addTerm(1.0, y[j][i]);\r\n\t\t\t\t}\r\n\t\t\t\tcplex.addEq(expr, 1.0);\r\n\t\t\t}\r\n\t\t//single link type\r\n\t\t\tfor(int j= 0;j<this.fogs_tem;j++)\r\n\t\t\t{\r\n\t\t\t\tIloLinearNumExpr expr = cplex.linearNumExpr();\r\n\t\t\t\tfor(int i =0;i<linkprice.length;i++) {\r\n\t\t\t\t\texpr.addTerm(1.0, z[j][i]);\r\n\t\t\t\t}\r\n\t\t\t\tcplex.addEq(expr, 1.0);\r\n\t\t\t}\r\n\t\t\t// openness constraint\r\n\t\t\tfor(int j= 0;j<this.fogs_tem;j++)\r\n\t\t\t{\r\n\t\t\t\tIloLinearNumExpr expr1 = cplex.linearNumExpr();\r\n\t\t\t\tIloLinearNumExpr expr2 = cplex.linearNumExpr();\r\n\t\t\t\tfor(int i =1;i<linkprice.length;i++) {\r\n\t\t\t\t\texpr1.addTerm(1.0, z[j][i]);\r\n\t\t\t\t}\r\n\t\t\t\tfor(int i =1;i<fogprice.length;i++) {\r\n\t\t\t\t\texpr2.addTerm(1.0, y[j][i]);\r\n\t\t\t\t}\r\n\t\t\t\tcplex.addEq(expr1,expr2);\r\n\t\t\t}\r\n\t\t\t//capacity constraint\r\n\t\t\tfor(int j= 0;j<this.fogs_tem;j++) {\r\n\t\t\t\tIloLinearNumExpr expr1 = cplex.linearNumExpr();\r\n\t\t\t\tIloLinearNumExpr expr2 = cplex.linearNumExpr();\r\n\t\t\t\tfor(int i= 0;i< this.clients_tem;i++) {\r\n\t\t\t\t\texpr1.addTerm(this.demand_vector[i], x[i][j]);\r\n\t\t\t\t}\r\n\t\t\t\tfor(int i =0;i<fogprice.length;i++) {\r\n\t\t\t\t\texpr2.addTerm(fogcpu[i], y[j][i]);\r\n\t\t\t\t}\r\n\t\t\t\tcplex.addLe(expr1, expr2);\r\n\t\t\t}\r\n\t\t\t//link capacity constrint\r\n\t\t\tfor(int j= 0;j<this.fogs_tem;j++) {\r\n\t\t\t\tIloLinearNumExpr expr3 = cplex.linearNumExpr();\r\n\t\t\t\tIloLinearNumExpr expr4 = cplex.linearNumExpr();\r\n\t\t\t\tfor(int i= 0;i< this.clients_tem;i++) {\r\n\t\t\t\t\texpr3.addTerm(this.traffic_vector[i]*0.01, x[i][j]);\r\n\t\t\t\t}\r\n\t\t\t\tfor(int i =0;i<linkprice.length;i++) {\r\n\t\t\t\t\texpr4.addTerm(linkCp[i], z[j][i]);\r\n\t\t\t\t}\r\n\t\t\t\tcplex.add(cplex.ifThen(cplex.le(y[j][0], 0.5),cplex.le(expr3, expr4)));\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\tif(cplex.solve()) {\r\n\t\t\t\t/*for(int i =0;i<this.clients_tem;i++)\r\n\t\t\t\t\tSystem.out.println(\"customer's choice \" +Arrays.toString(cplex.getValues(x[i])));\r\n\t\t\t\tfor(int i =0;i<this.fogs_tem;i++)\r\n\t\t\t\t\tSystem.out.println(\"fog result \" +Arrays.toString(cplex.getValues(y[i])));\r\n\t\t\t\tfor(int i =0;i<this.fogs_tem;i++)\r\n\t\t\t\t\tSystem.out.println(\"link result \" +Arrays.toString(cplex.getValues(z[i])));\r\n\t\t\t\tSystem.out.println(\"wsobj is: \"+ cplex.getObjValue());\r\n\t\t\t\tSystem.out.println(\"obj_1 is: \"+ cplex.getValue(obj_1));\r\n\t\t\t\tSystem.out.println(\"obj_2 is: \"+ cplex.getValue(obj_2));\r\n\t\t\t\tSystem.out.println(\"-- \" +this.minTotalDelay_);\r\n\t\t\t\tSystem.out.println(\"^^ \" +this.maxTotalDelay_);\r\n\t\t\t\tSystem.out.println(\"obj1 is: \"+ cplex.getValue(obj1));\r\n\t\t\t\tSystem.out.println(\"obj2 is: \"+ cplex.getValue(obj2));*/\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\tout = new double[3];\r\n\t\t\t\t\tout[0]= cplex.getValue(obj1);\r\n\t\t\t\t\tout[1]= cplex.getValue(obj2);\r\n\t\t\t\t\tout[2]= cplex.getMIPRelativeGap();\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t};\r\n\t\t\tcplex.end();\r\n\t\t\tcplex = null;\r\n\t}catch(IloException e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}catch(Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn out;\r\n}", "title": "" }, { "docid": "241a137e1c57262d28bf8de116386e8f", "score": "0.48707378", "text": "private static boolean canJump(int[] nums) {\n return standard(nums);\n }", "title": "" }, { "docid": "b46313e68df454130396ccfe10eed05a", "score": "0.48698804", "text": "protected void sxpPropagate(final double tSince) {\n\n // Update for secular gravity and atmospheric drag.\n final double xmdf = tle.getMeanAnomaly() + xmdot * tSince;\n final double omgadf = tle.getPerigeeArgument() + omgdot * tSince;\n final double xn0ddf = tle.getRaan() + xnodot * tSince;\n omega = omgadf;\n double xmp = xmdf;\n final double tsq = tSince * tSince;\n xnode = xn0ddf + xnodcf * tsq;\n double tempa = 1 - c1 * tSince;\n double tempe = tle.getBStar(tle.getDate().shiftedBy(tSince)) * c4 * tSince;\n double templ = t2cof * tsq;\n\n if (!lessThan220) {\n final double delomg = omgcof * tSince;\n double delm = 1. + eta * FastMath.cos(xmdf);\n delm = xmcof * (delm * delm * delm - delM0);\n final double temp = delomg + delm;\n xmp = xmdf + temp;\n omega = omgadf - temp;\n final double tcube = tsq * tSince;\n final double tfour = tSince * tcube;\n tempa = tempa - d2 * tsq - d3 * tcube - d4 * tfour;\n tempe = tempe + tle.getBStar(tle.getDate().shiftedBy(tSince)) * c5 * (FastMath.sin(xmp) - sinM0);\n templ = templ + t3cof * tcube + tfour * (t4cof + tSince * t5cof);\n }\n\n a = a0dp * tempa * tempa;\n e = tle.getE() - tempe;\n\n // A highly arbitrary lower limit on e, of 1e-6:\n if (e < 1e-6) {\n e = 1e-6;\n }\n\n xl = xmp + omega + xnode + xn0dp * templ;\n\n i = tle.getI();\n\n }", "title": "" }, { "docid": "3dc160667124c519192d524dee12bcc7", "score": "0.48696077", "text": "public Point getAllowedJump(Point point){\n\n Point check;\n switch(movement_typeLevel){\n //forward and backward possible\n case \"diagonal\" :\n if(point.x == 0 || point.y == 0) return null;\n\n if(point.x < field.length - 2 && point.y < field.length -2 ){\n check = new Point(point.x +2 , point.y +2 );\n if(field[check.x][check.y] == null && field[point.x +1][point.y +1] != null){\n return check;\n }\n }\n if(point.x > 1 && point.y > 1){\n check = new Point(point.x -2, point.y -2 );\n if(field[check.x][check.y] == null && field[point.x -1][point.y -1] != null){\n return check;\n }\n }\n if(point.x < field.length - 2 && point.y > 1){\n check = new Point(point.x +2 , point.y -2);\n if(field[check.x][check.y] == null && field[point.x +1][point.y -1] != null){\n return check;\n }\n }\n if(point.x > 1 && point.y < field.length -2 ){\n check = new Point(point.x - 2, point.y +2 );\n if(point.x < field.length - 2 && point.y < field.length -2 ) {\n if (field[check.x][check.y] == null && field[point.x - 1][point.y + 1] != null) {\n return check;\n }\n }\n }\n break;\n //straight forward for human player\n case \"straight\" :\n if(point.x < field.length-2){\n check = new Point(point.x +2 , point.y );\n if(field[check.x][check.y] == null && field[point.x +1][point.y] != null){\n return check;\n }\n }\n if(point.y < field.length-2){\n check = new Point(point.x, point.y +2 );\n if(field[check.x][check.y] == null && field[point.x][point.y +1] != null){\n return check;\n }\n }\n\n if(point.y>1){\n check = new Point(point.x, point.y -2 );\n if(field[check.x][check.y] == null && field[point.x][point.y -1] != null){\n return check;\n }\n }\n if(point.x>1){\n check = new Point(point.x - 2, point.y);\n if(field[check.x][check.y] == null && field[point.x -1][point.y] != null){\n return check;\n }\n }\n\n break;\n case \"free\":\n if(point.x == 0 || point.y == 0 ) return null;\n if(point.y < field.length-2) {\n check = new Point(point.x, point.y + 2);\n if (field[check.x][check.y] == null && field[point.x][point.y + 1] != null) {\n return check;\n }\n }\n if(point.y > 1) {\n check = new Point(point.x, point.y - 2);\n if (field[check.x][check.y] == null && field[point.x][point.y - 1] != null) {\n return check;\n }\n }\n if(point.x < field.length-2) {\n check = new Point(point.x + 2, point.y);\n if (field[check.x][check.y] == null && field[point.x + 1][point.y] != null) {\n return check;\n }\n }\n if(point.x > 1) {\n check = new Point(point.x - 2, point.y);\n if (field[check.x][check.y] == null && field[point.x - 1][point.y] != null) {\n return check;\n }\n }\n if(point.x < field.length - 2 && point.y < field.length -2 ) {\n check = new Point(point.x + 2, point.y + 2);\n if (field[check.x][check.y] == null && field[point.x + 1][point.y + 1] != null) {\n return check;\n }\n }\n if(point.x > 1 && point.y > 1) {\n check = new Point(point.x - 2, point.y - 2);\n if (field[check.x][check.y] == null && field[point.x - 1][point.y - 1] != null) {\n return check;\n }\n }\n if(point.x < field.length - 2 && point.y > 1) {\n check = new Point(point.x + 2, point.y - 2);\n if (field[check.x][check.y] == null && field[point.x + 1][point.y - 1] != null) {\n return check;\n }\n }\n if(point.x > 1 && point.y < field.length -2 ) {\n check = new Point(point.x - 2, point.y + 2);\n if (field[check.x][check.y] == null && field[point.x - 1][point.y + 1] != null) {\n return check;\n }\n }\n break;\n }\n return null;\n }", "title": "" }, { "docid": "eac95b0f05db69a2a72a117fe679802d", "score": "0.48597246", "text": "boolean reflow();", "title": "" }, { "docid": "753cfe7fa9dced2271fca08dde9b7faf", "score": "0.4852577", "text": "@Override\r\n\tpublic double pointsForEffort(boolean[] sv, int move) {\n\t\t\r\n\t\tint sum = binaryToInt(sv);\r\n\t\t\r\n\t\tif( sum == binaryToInt(new boolean[]{true,true,true,true,true})){\r\n\t\t\t\r\n\t\t\treturn move == 0 ? 1 : 0 ;\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif( sum == binaryToInt(new boolean[]{!true,!true,!true,!true,!true})){\r\n\t\t\t\r\n\t\t\treturn move == 0 ? 0 : 1 ; //Go explore!\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif( !sv[0] && !sv[sv.length-1] && (sv[1] || sv[2] || sv[3]) ){\r\n\t\t\t\r\n\t\t\treturn move == 0 ? 1 : 0 ; //Stay put!\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tif( sum == binaryToInt(new boolean[]{!true,!true,!true,!true,true})){\r\n\t\t\t\r\n\t\t\treturn move > 2 ? 1 : 0 ; //Go right\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\r\n\t\tif( sum == binaryToInt(new boolean[]{!true,!true,!true, true,true})){\r\n\t\t\t\r\n\t\t\treturn move > 1 ? 1 : 0 ; //Go right\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif( sum == binaryToInt(new boolean[]{!true,!true, true, true,true})){\r\n\t\t\t\r\n\t\t\treturn move > 0 ? 1 : 0 ; //Go right\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif( sum == binaryToInt(new boolean[]{!true,true, true, true,true})){\r\n\t\t\t\r\n\t\t\treturn move > 0 ? 1 : 0 ; //Go right\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif( sum == binaryToInt(new boolean[]{true,!true,!true,!true,!true})){\r\n\t\t\t\r\n\t\t\treturn move < -2 ? 1 : 0 ; //Go left!\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif( sum == binaryToInt(new boolean[]{true,true,!true,!true,!true})){\r\n\t\t\t\r\n\t\t\treturn move < -1 ? 1 : 0 ; //Go left\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif( sum == binaryToInt(new boolean[]{true,true,true,!true,!true})){\r\n\t\t\t\r\n\t\t\treturn move < 0 ? 1 : 0 ; //Go left\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif( sum == binaryToInt(new boolean[]{true,true,true,true,!true})){\r\n\t\t\t\r\n\t\t\treturn move < 0 ? 1 : 0 ; //Go left\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "c44c477b154dc36c61fe8b257166d15a", "score": "0.48507598", "text": "public void alg_BWD() {\n C_FWD.value = false;\n C_BWD.value = true;\n\n //System.out.println(\"Moving Backwards\");\n\n }", "title": "" }, { "docid": "94bc6aea5043b4f2c2ce6457f79764de", "score": "0.48438016", "text": "private void backwarePhase()\r\n\t{\r\n\t\tboolean hasSeen[] = new boolean[_Nodes.length];\r\n\t\tfor (int i = _Nodes.length - 1; i >= 0; i--)\r\n\t\t{\r\n\t\t\thasSeen[i] = false;\r\n\t\t}\r\n\t\tfor (int i = _Nodes.length - 1; i >= 0; i--)\r\n\t\t{\r\n\t\t\tBeliefNode node = _Nodes[i];\r\n\t\t\tif (!hasSeen[node.loc()])\r\n\t\t\t{\r\n\t\t\t\thasSeen[node.loc()] = true;\r\n\t\t\t\t_BaseNodes[i].add(node);\r\n\t\t\t\t_LambdaParameters[i].add(node);\r\n\t\t\t\tBeliefNode[] parents = _BeliefNet.getParents(node);\r\n\t\t\t\t/*\r\n\t\t\t\t * Adding the parents to be included into the lambda parameter\r\n\t\t\t\t */\r\n\t\t\t\tif (parents != null)\r\n\t\t\t\t{\r\n\t\t\t\t\tfor (int j = 0; j < parents.length; j++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tBeliefNode parent = parents[j];\r\n\t\t\t\t\t\t_LambdaParameters[i].add(parent);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t/*\r\n\t\t\t * Looking for P(child | curNode, otherParents...) to be included in the\r\n\t\t\t * current bucket\r\n\t\t\t */\r\n\t\t\tBeliefNode[] children = _BeliefNet.getChildren(node);\r\n\t\t\tfor (int j = 0; j < children.length; j++)\r\n\t\t\t{\r\n\t\t\t\tBeliefNode child = children[j];\r\n\t\t\t\tif (!hasSeen[child.loc()])\r\n\t\t\t\t{\r\n\t\t\t\t\thasSeen[child.loc()] = true;\r\n\t\t\t\t\t_BaseNodes[i].add(child);\r\n\t\t\t\t\t_LambdaParameters[i].add(child);\r\n\t\t\t\t\tBeliefNode[] childParents = _BeliefNet.getParents(child);\r\n\t\t\t\t\tif (childParents != null)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif (childParents.length > 0) for (int k = 0; k < childParents.length; k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t_LambdaParameters[i].add(childParents[k]);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// Build the lambda\r\n\t\t\tBeliefNode[] lambdaSubset = new BeliefNode[_LambdaParameters[i].size()];\r\n\t\t\tint k = 0;\r\n\t\t\tfor (Iterator j = _LambdaParameters[i].iterator(); j.hasNext();)\r\n\t\t\t{\r\n\t\t\t\tBeliefNode param = (BeliefNode) j.next();\r\n\t\t\t\tlambdaSubset[k] = param;\r\n\t\t\t\tk++;\r\n\t\t\t}\r\n\t\t\tbuildLambda(i, lambdaSubset);\r\n\t\t\tif (i > 0)\r\n\t\t\t{\r\n\t\t\t\t// Find the highest bucket index that is lower than the current bucket\r\n\t\t\t\tint highestBucketIndex = -1;\r\n\t\t\t\tfor (int j = 0; j < lambdaSubset.length; j++)\r\n\t\t\t\t{\r\n\t\t\t\t\tint idx = lambdaSubset[j].loc();\r\n\t\t\t\t\tif (idx < i && idx > highestBucketIndex)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\thighestBucketIndex = idx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t// found the bucket, float the parameters up\r\n\t\t\t\tif (highestBucketIndex > -1)\r\n\t\t\t\t{\r\n\t\t\t\t\t_LambdaTable[highestBucketIndex].add(new Integer(i));\r\n\t\t\t\t\tfor (int j = 0; j < lambdaSubset.length; j++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif (lambdaSubset[j] != node) _LambdaParameters[highestBucketIndex].add(lambdaSubset[j]);\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}", "title": "" }, { "docid": "8515beef942ab59a91e5f56aa69f3342", "score": "0.48339927", "text": "public void singleBackPropagation(int m)\n {\n for (int k = 0; k < NUM_INPUTS; k++)\n {\n for (int j = 0; j < NUM_HIDDEN; j++)\n {\n double Omega_j = 0;\n for (int i = 0; i < NUM_OUTPUTS; i++)\n {\n double psi_i = psi_i(i, m);\n double deltaWeights_ji = LAMBDA * hiddenLayer[j] * psi_i;\n weights_ji[j][i] = weights_ji[j][i] + deltaWeights_ji;\n Omega_j += psi_i * weights_ji[j][i]; \n\n }\n double Theta_j = Theta_j(j, m);\n double Psi_j = Psi_j(Omega_j, Theta_j);\n double deltaWeights_kj = LAMBDA * inputNodes[k][m] * Psi_j;\n weights_kj[k][j] = weights_kj[k][j] + deltaWeights_kj;\n }\n }\n }", "title": "" }, { "docid": "e3be0db22a0bb68b945314b48dc74ca5", "score": "0.48339856", "text": "private static boolean m43670c() {\n boolean z;\n boolean[] e = m43672e();\n if (InstabugCore.getFeatureState(Feature.REPRO_STEPS) == State.ENABLED) {\n e[113] = true;\n z = true;\n } else {\n z = false;\n e[114] = true;\n }\n e[115] = true;\n return z;\n }", "title": "" }, { "docid": "40f207a08f07f5abf0e818a31bee76ac", "score": "0.48275313", "text": "public void simulationStep(int currentTime, int speed) {\n \t\t\tEntry<Integer, IPlace[][]> donInteraction = historyStateInInterval(currentTime - speed, currentTime);\n \t\t\tif (donInteraction != null) {\n \t\t\t\tstudents = donInteraction.getValue();\n \t\t\t}\n \t\t\t//the new array for the calculated students\n \t\t\tIPlace[][] newState = new IPlace[students.length][students[0].length];\n \t\t\t\n \t\t\t//student independent calculations\n \t\t\tCalcVector preChangeVector = new CalcVector(properties);\n \t\t\t\n \t\t\t// - - - breakReaction -> inf(Break) * breakInf\n \t\t\tdouble breakInf = 0.01;\n\t\t\tif(lecture.getTimeBlocks().getTimeBlockAtTime(currentTime/1000).getType() == BlockType.pause) {\n \t\t\t\tpreChangeVector.addCalcVector(influence.getEnvironmentVector(EInfluenceType.BREAK_REACTION, breakInf));\n \t\t\t}\n \t\t\t\n \t\t\t// - - - timeDending -> inf(Time) * currentTime/1000 * timeInf\n \t\t\tdouble timeInf = 0.001;\n \t\t\tdouble timeTimeInf = timeInf * currentTime / 1000;\n \t\t\tpreChangeVector.addCalcVector(influence.getEnvironmentVector(EInfluenceType.TIME_DEPENDING, timeTimeInf));\n \t\t\t\n \t\t\t// iterate over all students\n \t\t\tfor (int y = 0; y < students.length; y++) {\n \t\t\t\tfor (int x = 0; x < students[y].length; x++) {\n \t\t\t\t\tStudent newStudent = ((Student) students[y][x]).clone();\n \t\t\t\t\tnewState[y][x] = (IPlace) newStudent;\n \t\t\t\t\t\n \t\t\t\t\t// calculation\n \t\t\t\t\tCalcVector changeVector = new CalcVector(properties);\n \t\t\t\t\tchangeVector.addCalcVector(preChangeVector);\n \t\t\t\t\t\n \t\t\t\t\t// - influence\n \t\t\t\t\t// - - environment\n \t\t\t\t\t// - - - neighbor -> inf(Neighbor) * state(studentLeft) * neighbor + inf(Neighbor) * state(studentRight) * neighbor\n \t\t\t\t\tdouble neighborInf = 0.0001;\n \t\t\t\t\tif(x>0) {\n \t\t\t\t\t\tchangeVector.addCalcVector(influence.getEnvironmentVector(EInfluenceType.BREAK_REACTION, neighborInf));\n \t\t\t\t\t\t\t\t//TODO: A function to multiply two vectors (each value with each other)\n \t\t\t\t\t\t\t\t//.multiplyWithMatrix(new Matrix(l, ((Student)students[i][j-1]).getActualState().getValues()));\n \t\t\t\t\t}\n \t\t\t\t\t\n \t\t\t\t\t// - - parameter\n \t\t\t\t\tdouble parameterInf = 0.001;\n \t\t\t\t\tchangeVector.addCalcVector(influence.getInfluencedParameterVector(newStudent.getActualState(), parameterInf));\n \t\t\t\t\t\n \t\t\t\t\t// - usual behavior of the student -> usualBehav * timeInf\n \t\t\t\t\tdouble behaviorInf = 0.001;\n \t\t\t\t\tCalcVector temp = new CalcVector(properties);\n \t\t\t\t\tnewStudent.getActualState().addCalcVector(newStudent.getChangeVector().clone().multiplyWithDouble(behaviorInf));\n \t\t\t\t\t\n \t\t\t\t\t//adds the changes stored in the changeVector to the new student\n \t\t\t\t\tnewStudent.getActualState().addCalcVector(changeVector);\n \t\t\t\t\t\n \t\t\t\t\t//time depending\n \t\t\t\t\t//TODO: bring all values to an average value by time\n \t\t\t\t}\n \t\t\t}\n \t\t\t//give the reference from newState to real students array\n \t\t\tstudents = newState;\n \t}", "title": "" }, { "docid": "91c23cfcaae4dbb86bbf7fef7db01dd6", "score": "0.48271286", "text": "protected abstract boolean stoppingCriteriaSatisfied(KPMPSolution generatedSolution, RandomStepFunction stepFunction);", "title": "" }, { "docid": "2467e5afe5e9c2948b164ddd425f56de", "score": "0.48252898", "text": "layer MissionL ( F lower )", "title": "" }, { "docid": "9024052b5b128cabca367147963f54ce", "score": "0.48236492", "text": "public LogicalQueryPlan chainOptimize() {\n if (this.isPullGraphEnable()) {\n List<LogicalVertex> orderVertexList = PlanUtils.getOrderVertexList(plan);\n boolean outVertexFlag = false;\n for (LogicalVertex logicalVertex : orderVertexList) {\n if (logicalVertex.getProcessorFunction() != null) {\n QueryFlowOuterClass.OperatorType operatorType = logicalVertex.getProcessorFunction().getOperatorType();\n if (QueryFlowOuterClass.OperatorType.OUT == operatorType ||\n QueryFlowOuterClass.OperatorType.OUT_E == operatorType ||\n QueryFlowOuterClass.OperatorType.IN == operatorType ||\n QueryFlowOuterClass.OperatorType.IN_E == operatorType ||\n QueryFlowOuterClass.OperatorType.BOTH == operatorType ||\n QueryFlowOuterClass.OperatorType.BOTH_E == operatorType) {\n if (!outVertexFlag &&\n (QueryFlowOuterClass.OperatorType.OUT == operatorType ||\n QueryFlowOuterClass.OperatorType.OUT_E == operatorType)) {\n outVertexFlag = true;\n continue;\n }\n logicalVertex.getProcessorFunction()\n .getArgumentBuilder()\n .setExecLocalDisable(true);\n break;\n }\n }\n }\n }\n\n boolean chainFlag = true;\n while (chainFlag) {\n chainFlag = false;\n List<LogicalVertex> orderVertexList = PlanUtils.getOrderVertexList(plan);\n for (LogicalVertex logicalVertex : orderVertexList) {\n List<LogicalVertex> targetVertexList = PlanUtils.getTargetVertexList(plan, logicalVertex);\n if (targetVertexList.size() == 1) {\n LogicalVertex targetVertex = targetVertexList.get(0);\n if (checkVertexChain(logicalVertex, targetVertex)) {\n LogicalChainSourceVertex logicalChainSourceVertex;\n if (logicalVertex instanceof LogicalSourceVertex) {\n logicalChainSourceVertex = new LogicalChainSourceVertex((LogicalSourceVertex) logicalVertex);\n removeVertex(logicalVertex);\n addLogicalVertex(logicalChainSourceVertex);\n logicalChainSourceVertex.addLogicalVertex(targetVertex);\n\n List<Pair<LogicalEdge, LogicalVertex>> targetEdgeVertexList = PlanUtils.getTargetEdgeVertexList(plan, targetVertex);\n removeVertex(targetVertex);\n for (Pair<LogicalEdge, LogicalVertex> targetPair : targetEdgeVertexList) {\n addLogicalEdge(logicalChainSourceVertex, targetPair.getRight(), targetPair.getLeft());\n targetPair.getRight().resetInputVertex(targetVertex, logicalChainSourceVertex);\n }\n } else if (logicalVertex instanceof LogicalChainSourceVertex) {\n logicalChainSourceVertex = LogicalChainSourceVertex.class.cast(logicalVertex);\n logicalChainSourceVertex.addLogicalVertex(targetVertex);\n removeVertex(targetVertex);\n } else {\n break;\n }\n chainFlag = true;\n break;\n }\n } else {\n break;\n }\n }\n }\n\n return this;\n }", "title": "" }, { "docid": "5c4f846f915d575f5c8683a45f268b21", "score": "0.48199505", "text": "public void service_CLK() {\n if ((eccState == index_INIT) && (Extend.value & (!Retract.value))) {\n state_MOVE_FWD();\n transition_MovementBlockType1_1(); \n }\n else if ((eccState == index_INIT) && ((!Extend.value) & (!Retract.value))) {\n state_STOP();\n transition_MovementBlockType1_2(); \n }\n else if ((eccState == index_INIT) && (Retract.value & (!Extend.value))) {\n state_MOVE_BWD();\n transition_MovementBlockType1_3(); \n }\n else if ((eccState == index_MOVE_FWD) && ((!Extend.value) & (!Retract.value))) {\n state_STOP();\n transition_MovementBlockType1_4(); \n }\n else if ((eccState == index_MOVE_BWD) && ((!Extend.value) & (!Retract.value))) {\n state_STOP();\n transition_MovementBlockType1_5(); \n }\n else if ((eccState == index_STOP) && (Extend.value & (!Retract.value))) {\n state_MOVE_FWD();\n transition_MovementBlockType1_6(); \n }\n else if ((eccState == index_STOP) && (Retract.value & (!Extend.value))) {\n state_MOVE_BWD();\n transition_MovementBlockType1_7(); \n }\n else if ((eccState == index_MOVE_FWD) && (Retract.value & (!Extend.value))) {\n state_MOVE_BWD();\n transition_MovementBlockType1_8(); \n }\n else if ((eccState == index_MOVE_BWD) && (Extend.value & (!Retract.value))) {\n state_MOVE_FWD();\n transition_MovementBlockType1_9(); \n }\n else if ((eccState == index_STOP) && (Extend.value & Retract.value)) {\n state_FAILURE();\n transition_MovementBlockType1_10(); \n }\n else if ((eccState == index_INIT) && (Extend.value & Retract.value)) {\n state_FAILURE();\n transition_MovementBlockType1_11(); \n }\n else if ((eccState == index_MOVE_FWD) && (Extend.value & Retract.value)) {\n state_FAILURE();\n transition_MovementBlockType1_12(); \n }\n else if ((eccState == index_MOVE_BWD) && (Extend.value & Retract.value)) {\n state_FAILURE();\n transition_MovementBlockType1_13(); \n }\n else if ((eccState == index_MOVE_FWD) && (Extend.value & (!Retract.value))) {\n state_MOVE_FWD();\n transition_MovementBlockType1_14(); \n }\n else if ((eccState == index_MOVE_BWD) && (Retract.value & (!Extend.value))) {\n state_MOVE_BWD();\n transition_MovementBlockType1_15(); \n }\n else if ((eccState == index_STOP) && ((!Extend.value) & (!Retract.value))) {\n state_STOP();\n transition_MovementBlockType1_16(); \n }\n }", "title": "" }, { "docid": "34098d214bbd3edfc2da042fa04fb632", "score": "0.4811477", "text": "public void c()\r\n/* 20: */ {\r\n/* 21:28 */ if ((this.l.isDead) || (!this.k.av()) || (this.k.vehicle != this.l))\r\n/* 22: */ {\r\n/* 23:29 */ this.j = true;\r\n/* 24:30 */ return;\r\n/* 25: */ }\r\n/* 26:33 */ float f = MathUtils.sqrt(this.l.xVelocity * this.l.xVelocity + this.l.zVelocity * this.l.zVelocity);\r\n/* 27:34 */ if (f >= 0.01D) {\r\n/* 28:35 */ this.b = (0.0F + MathUtils.clamp(f, 0.0F, 1.0F) * 0.75F);\r\n/* 29: */ } else {\r\n/* 30:37 */ this.b = 0.0F;\r\n/* 31: */ }\r\n/* 32: */ }", "title": "" }, { "docid": "f5f2be2287b696da14e83b8278eb442f", "score": "0.4806945", "text": "public void engageLifter(boolean lift) {\n\t\tif (lift)\n\t\t\tliftEngaged = true;\n\t\telse\n\t\t\tliftEngaged = false;\n\t}", "title": "" }, { "docid": "fe57ab0e93acfca49d8b31ab9b35ccb7", "score": "0.48059854", "text": "@Override\r\n\tpublic boolean isBlockIndirectlyPowered() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "bb8d069219ca503b25090d9bd1e7c114", "score": "0.4805743", "text": "public void carsOnRoadMoveCheck() {\n\n for (Car aCar : this.getPositiveCar()) {\n ArrayList<Car> newPositiveCars = aCar.getCurrentRoad().getPositiveCar();\n newPositiveCars.remove(aCar);\n for (Car car : newPositiveCars) { //When 2 car pass to other\n for (Car negCar : aCar.getCurrentRoad().getNegativeCar()) {\n if (aCar.getRoadPosition() <= car.getRoadPosition() && aCar.getRoadPosition() > (car.getRoadPosition() - car.getLength()) && negCar.getRoadPosition() <= car.getRoadPosition() && negCar.getRoadPosition() > (car.getRoadPosition() - car.getLength())) {\n aCar.setCarRoadPosition(car.getRoadPosition() - car.getLength());// the faster car cannot overtake because theres another car on the opposite side\n }\n }\n }\n }\n for (Car aCar : this.getNegativeCar()) {\n ArrayList<Car> newNegativeCars = aCar.getCurrentRoad().getNegativeCar();\n newNegativeCars.remove(aCar);\n for (Car car : newNegativeCars) {\n for (Car posCar : aCar.getCurrentRoad().getPositiveCar()) {\n if (aCar.getRoadPosition() >= car.getRoadPosition() && aCar.getRoadPosition() < (car.getRoadPosition() - car.getLength()) && posCar.getRoadPosition() >= car.getRoadPosition() && posCar.getRoadPosition() < (car.getRoadPosition() - car.getLength())) {\n aCar.setCarRoadPosition(car.getRoadPosition() + car.getLength()); // the faster car cannot overtake because theres another car on the opposite side\n }\n }\n }\n }\n }", "title": "" }, { "docid": "9c3c2d178f687eec351c9a0c7dd5f302", "score": "0.48024282", "text": "public void returnLatch() {\n try {\r\n catapultSolenoid.set(DoubleSolenoid.Value.kForward);\r\n catapultLatchSolenoidState = true;\r\n } catch (Exception e) {\r\n }\r\n }", "title": "" }, { "docid": "773a51149b081a5d92c28a5d9ceb49aa", "score": "0.4801888", "text": "protected void set_lift(){\n double lift_a = m_sup_negative/m_sup_positive;\n double lift_b = m_sup_positive/m_sup_negative;\n if(lift_a > lift_b)\n m_lift = lift_a;\n else\n m_lift = lift_b;\n }", "title": "" }, { "docid": "1cb9ccd56d74bd8562b9a6146c566760", "score": "0.4800839", "text": "public void computeDirectionSteepest()\n\t{\n\t\tDenseMatrix64F tmp = new DenseMatrix64F( ndims, 1 );\n\n\t\tlogger.trace( \"\\nerrorV:\\n\" + errorV );\n\n\t\tCommonOps.mult( jacobian, estimate, tmp );\n\t\t// TODO this line is wrong isnt it\n\t\tCommonOps.subEquals( tmp, errorV );\n\n\t\t// now tmp contains Ax-b\n\t\tCommonOps.multTransA( 2, jacobian, tmp, dir );\n\n\t\t// normalize dir\n\t\tdouble norm = NormOps.normP2( dir );\n\t\t// normalize\n\t\t// TODO put in a check if norm is too small\n\t\tCommonOps.divide( norm, dir );\n\n\t\t// compute the directional derivative\n\t\tCommonOps.mult( jacobian, dir, directionalDeriv );\n\n\t\t// go in the negative gradient direction to minimize cost\n\t\tCommonOps.scale( -1, dir );\n\t}", "title": "" }, { "docid": "3957410ef44b64110513325e369e9e2c", "score": "0.48007002", "text": "public void setStepping(boolean b);", "title": "" }, { "docid": "6208194868964819af373f94096bd08e", "score": "0.47852075", "text": "public abstract void backPropagate();", "title": "" }, { "docid": "dd07078517e66f871276756ebc291087", "score": "0.47805434", "text": "boolean hasGradChain();", "title": "" }, { "docid": "643558848a1d334ead8380c6e2a610cb", "score": "0.47777003", "text": "static synchronized void AFTER_EPISODE_GENERAL_UPDATE() {\n if (AFTER_UPDATE) {\n //learning process is on first level mdps?\n if (FIRST_LEVEL) {\n //stopping criterion has been reached?\n if (Params.CURRENT_EPISODE == Params.MAX_EPISODES - 2\n || Simulation.STOP_CRITERION.stop(Params.RELATIVE_DELTA)) {\n Simulation.STOP_CRITERION.setConstraint(true);\n CHANGE_MDP = true;\n }\n } else {\n //Learning on second level\n //removes the constraint in order to enable the \n if (Simulation.STOP_CRITERION.isConstraint()) {\n Simulation.STOP_CRITERION.setConstraint(false);\n }\n }\n\n AFTER_UPDATE = false;\n BEFORE_UPDATE = true;\n }\n\n }", "title": "" }, { "docid": "f1f393a1592cdc2200860bcab1276b03", "score": "0.4773136", "text": "@Override\n public void pushBreaker() {\n System.out.println(\"Car is already parked. However, to shift gear, breaker is used\");\n }", "title": "" }, { "docid": "d37c016426a811fdff48392146dfd787", "score": "0.47671703", "text": "@Override\n\tpublic void Jump() {\n\t\t\n\t}", "title": "" }, { "docid": "f52018be91ef9b95116a8200292605f3", "score": "0.47666067", "text": "public boolean areLegsCrossing()\n {\n // JEP: This is hardcoded like this instead of using points and vectors because it needs\n // to be really fast I think. I could be wrong though.\n\n double xFL, yFL, xFR, yFR, xHR, yHR, xHL, yHL;\n if (size() == 4)\n {\n xFL = getFootstep(RobotQuadrant.FRONT_LEFT).getX();\n yFL = getFootstep(RobotQuadrant.FRONT_LEFT).getY();\n \n xFR = getFootstep(RobotQuadrant.FRONT_RIGHT).getX();\n yFR = getFootstep(RobotQuadrant.FRONT_RIGHT).getY();\n \n xHR = getFootstep(RobotQuadrant.HIND_RIGHT).getX();\n yHR = getFootstep(RobotQuadrant.HIND_RIGHT).getY();\n \n xHL = getFootstep(RobotQuadrant.HIND_LEFT).getX();\n yHL = getFootstep(RobotQuadrant.HIND_LEFT).getY();\n }\n else\n {\n xFL = (getFootstep(RobotQuadrant.FRONT_LEFT) == null) ? Double.NaN : getFootstep(RobotQuadrant.FRONT_LEFT).getX();\n yFL = (getFootstep(RobotQuadrant.FRONT_LEFT) == null) ? Double.NaN : getFootstep(RobotQuadrant.FRONT_LEFT).getY();\n \n xFR = (getFootstep(RobotQuadrant.FRONT_RIGHT) == null) ? Double.NaN : getFootstep(RobotQuadrant.FRONT_RIGHT).getX();\n yFR = (getFootstep(RobotQuadrant.FRONT_RIGHT) == null) ? Double.NaN : getFootstep(RobotQuadrant.FRONT_RIGHT).getY();\n \n xHR = (getFootstep(RobotQuadrant.HIND_RIGHT) == null) ? Double.NaN : getFootstep(RobotQuadrant.HIND_RIGHT).getX();\n yHR = (getFootstep(RobotQuadrant.HIND_RIGHT) == null) ? Double.NaN : getFootstep(RobotQuadrant.HIND_RIGHT).getY();\n \n xHL = (getFootstep(RobotQuadrant.HIND_LEFT) == null) ? Double.NaN : getFootstep(RobotQuadrant.HIND_LEFT).getX();\n yHL = (getFootstep(RobotQuadrant.HIND_LEFT) == null) ? Double.NaN : getFootstep(RobotQuadrant.HIND_LEFT).getY();\n }\n\n double xFLtoFR = xFR - xFL;\n double yFLtoFR = yFR - yFL;\n\n double xFRtoHR = xHR - xFR;\n double yFRtoHR = yHR - yFR;\n\n double xHRtoHL = xHL - xHR;\n double yHRtoHL = yHL - yHR;\n\n double xHLtoFL = xFL - xHL;\n double yHLtoFL = yFL - yHL;\n\n if (xFLtoFR * yFRtoHR - yFLtoFR * xFRtoHR > 0.0)\n return true;\n if (xFRtoHR * yHRtoHL - yFRtoHR * xHRtoHL > 0.0)\n return true;\n if (xHRtoHL * yHLtoFL - yHRtoHL * xHLtoFL > 0.0)\n return true;\n if (xHLtoFL * yFLtoFR - yHLtoFL * xFLtoFR > 0.0)\n return true;\n\n return false;\n\n }", "title": "" }, { "docid": "415e526a8d5afe5540dbc9029bbc81e5", "score": "0.47654328", "text": "private void cS2() {\n\t\tPlayer local = ctx.players.local();\n\t\tfinal String opt[] = {\"Go ahead.\"};\n\t\tif (new Tile(3212, 3207, 0).distanceTo(local.tile()) < 5) {\n\t\t\t\n\t\t\tif(!Method.findOption(opt)){Vars.DYNAMICV = false;\n\t\t\t\tif(!Method.isChatting(\"Thief Robin\")){\n\t\t\t\t\tMethod.speakTo(11268, \"Thief Robin\");\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (Vars.DYNAMICV) {\n\t\t\tMethod.walking(pathToRobin, \"Walking to Thief Robin\",false);\n\t\t} else if (TeleportLode.LUMMBRIDGE.getTile().distanceTo(local.tile())<10) {\n\t\t\tVars.DYNAMICV = true;\n\t\t} else Method.teleportTo(TeleportType.LUMBRIDGE.getTeleport(),TeleportType.LUMBRIDGE.getName());\n\n\t}", "title": "" }, { "docid": "e1c8dbf8fda738f94fbf652cd9c8e02f", "score": "0.47588056", "text": "@Override\n\tpublic void fly() {\n\t\tSystem.out.println(\"no flying avaliable\");\n\t}", "title": "" }, { "docid": "0c11e78abf5c052b50360afbed4e4630", "score": "0.47576717", "text": "public void jump() {\n if (!onGround) {\n return;\n }\n jump = true;\n }", "title": "" }, { "docid": "f3e958340e7f40fea6311585c342feec", "score": "0.47574252", "text": "public void forwardPass() {\r\n /* get input from synapses */\r\n double[] x = new double[neuron.INPUT_LEN];\r\n copyForwardSynapses(input, 0, x, 0, x.length);\r\n /* apply neuron function */\r\n double[] y = neuron.y(x);\r\n /* put output on synapses */\r\n copyForwardSynapses(y, 0, output, 0, y.length);\r\n }", "title": "" }, { "docid": "cdec034a92b6502a2e3dc95e4d260704", "score": "0.47556412", "text": "private Waypoint[] calculateSideSwitchPoints() {\n double y = SWITCH_HOOK_Y_DISTANCE - 12;\n double x = ROBOT_TO_SWITCH;\n Waypoint[] waypoints = new Waypoint[3];\n waypoints[0] = new Waypoint(0, 0, 0);\n waypoints[1] = new Waypoint(x - 2 * y, 0, 0);\n waypoints[2] = new Waypoint(x, y, Pathfinder.d2r(45));\n if (mirror)\n return mirrorWaypoints(waypoints);\n else\n return waypoints;\n }", "title": "" }, { "docid": "ef9ee391ee05e9a6042a7bdbbc0d34fb", "score": "0.47489664", "text": "protected abstract boolean stoppingCriteriaSatisfied(KPMPSolution generatedSolution, FirstImprovementStepFunction stepFunction);", "title": "" }, { "docid": "926ee56c3a8cefeaf578f89adb74cfe6", "score": "0.4748672", "text": "public boolean fling(int r8, int r9) {\n /*\n r7 = this;\n boolean r0 = super.fling(r8, r9)\n if (r0 == 0) goto L_0x006c\n e.m.a.c r1 = r7.f3979a\n e.m.a.a$c r2 = r1.n\n int r8 = r2.c(r8, r9)\n boolean r9 = r1.v\n r2 = 1\n if (r9 == 0) goto L_0x001c\n int r9 = r1.u\n int r9 = r8 / r9\n int r9 = java.lang.Math.abs(r9)\n goto L_0x001d\n L_0x001c:\n r9 = r2\n L_0x001d:\n int r3 = r1.k\n e.m.a.b r4 = e.m.a.b.c(r8)\n int r9 = r4.a(r9)\n int r9 = r9 + r3\n e.m.a.g r3 = r1.A\n int r3 = r3.c()\n int r4 = r1.k\n r5 = 0\n if (r4 == 0) goto L_0x0037\n if (r9 >= 0) goto L_0x0037\n r9 = r5\n goto L_0x0040\n L_0x0037:\n int r4 = r1.k\n int r6 = r3 + -1\n if (r4 == r6) goto L_0x0040\n if (r9 < r3) goto L_0x0040\n r9 = r6\n L_0x0040:\n int r3 = r1.f8991i\n int r8 = r8 * r3\n if (r8 < 0) goto L_0x0047\n r8 = r2\n goto L_0x0048\n L_0x0047:\n r8 = r5\n L_0x0048:\n if (r8 == 0) goto L_0x005a\n if (r9 < 0) goto L_0x0056\n e.m.a.g r8 = r1.A\n int r8 = r8.c()\n if (r9 >= r8) goto L_0x0056\n r8 = r2\n goto L_0x0057\n L_0x0056:\n r8 = r5\n L_0x0057:\n if (r8 == 0) goto L_0x005a\n goto L_0x005b\n L_0x005a:\n r2 = r5\n L_0x005b:\n if (r2 == 0) goto L_0x0061\n r1.a(r9)\n goto L_0x0078\n L_0x0061:\n int r8 = r1.f8991i\n int r8 = -r8\n r1.f8992j = r8\n if (r8 == 0) goto L_0x0078\n r1.f()\n goto L_0x0078\n L_0x006c:\n e.m.a.c r8 = r7.f3979a\n int r9 = r8.f8991i\n int r9 = -r9\n r8.f8992j = r9\n if (r9 == 0) goto L_0x0078\n r8.f()\n L_0x0078:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.yarolegovich.discretescrollview.DiscreteScrollView.fling(int, int):boolean\");\n }", "title": "" }, { "docid": "c3b903aac21caf247502582f9ad73b8f", "score": "0.47486606", "text": "@Test\n \tpublic void testForwardPass() {\n \t\tNetConfig netConfig = NetworkFactory.createXorNet(1000, true);\n \t\tNetwork net = netConfig.getNetwork();\n \t\t\n \t\t// XOR training data\n \t\tDataPairSet trainSet = new DataPairSet();\n \t\ttrainSet.addPair(new DataPair(new Double[] {0.0, 0.0}, new Double[] {0.0}));\n \t\ttrainSet.addPair(new DataPair(new Double[] {0.0, 1.0}, new Double[] {1.0}));\n \t\ttrainSet.addPair(new DataPair(new Double[] {1.0, 0.0}, new Double[] {1.0}));\n \t\ttrainSet.addPair(new DataPair(new Double[] {1.0, 1.0}, new Double[] {0.0}));\n \t\t// start training\n \t\tnetConfig.getTrainingModule().train(trainSet);\n \t\t// print training results\n \t\tnetConfig.printStats();\n \t\t\n \t\t// XOR test / wor data\n \t\tDataPairSet testSet = new DataPairSet();\n \t\ttestSet.addPair(new DataPair(new Double[] {0.0, 0.0}, new Double[] {Double.NaN}));\n \t\ttestSet.addPair(new DataPair(new Double[] {0.0, 1.0}, new Double[] {Double.NaN}));\n \t\ttestSet.addPair(new DataPair(new Double[] {1.0, 0.0}, new Double[] {Double.NaN}));\n \t\ttestSet.addPair(new DataPair(new Double[] {1.0, 1.0}, new Double[] {Double.NaN}));\n \t\t// start working phase\n \t\tnetConfig.getWorkingModule().work(net, testSet);\n \t\t\n \t\t// print test data result\n \t\tSystem.out.println(testSet);\n \t}", "title": "" }, { "docid": "d08de6e6968ac1eb0d479c0f86e92789", "score": "0.47457722", "text": "public void fly(){\n\t\t saut=true;\n\t}", "title": "" }, { "docid": "eb204fee0d9d531397ce78a7993956bc", "score": "0.4745498", "text": "public void setForce(boolean value) {\n this.force = value;\n }", "title": "" }, { "docid": "560d4f38734c2496cc79e9498a874c3c", "score": "0.47426668", "text": "private boolean localSearch(boolean[] solution)\n\t{\n\t\tNeighborhoodVisitorResult result;\n\t\thcrs.setAllCustomers(solution);\n\t\t\n\t\tdo\n\t\t{\n\t\t\tresult = visitNeighbors(hcrs);\n\t\t\t\n\t\t\tif (result.getStatus() == NeighborhoodVisitorStatus.FOUND_BETTER_NEIGHBOR && result.getNeighborFitness() > fitness)\n\t\t\t{\n\t\t\t\tcopySolution(hcrs.getSolution(), bestSolution);\n\t\t\t\tthis.fitness = result.getNeighborFitness();\n\t\t\t\tthis.restartBestFound = randomRestartCount;\n\t\t\t}\n\t\t\n\t\t} while (result.getStatus() == NeighborhoodVisitorStatus.FOUND_BETTER_NEIGHBOR);\n\t\t\n\t\treturn (result.getStatus() == NeighborhoodVisitorStatus.NO_BETTER_NEIGHBOR);\n\t}", "title": "" }, { "docid": "94975a2484c4f9eaa22d6a5c0abbe347", "score": "0.4741994", "text": "protected void\nSwitchSolutionGrid()\n{\n if (++previousStep > 2)\n\tpreviousStep = 0;\n \n if (++currentStep > 2)\n\tcurrentStep = 0;\n \n if (++nextStep > 2)\n\tnextStep = 0; \n}", "title": "" }, { "docid": "750f2f5fe190085e31959472a2b9036d", "score": "0.47349784", "text": "void setCanTravel(boolean travelable) {\n\t\tcanTravel = travelable;\n\t}", "title": "" }, { "docid": "c4fb47f5908f1164ea68e16beef07c6b", "score": "0.47332156", "text": "public int powerNeeds();", "title": "" }, { "docid": "c7cae77001120491345159dbf97bc5d9", "score": "0.47317854", "text": "@Override\n\tprotected DynAction nextStateAfterCarTrip(DynAction oldAction, double now) {\n\t\tif (this.parkingManager.parkVehicleHere(this.currentlyAssignedVehicleId, agent.getCurrentLinkId(), now)){\n\t\tDynLeg oldLeg = (DynLeg) oldAction;\n\t\tif (oldLeg.getMode().equals(FFCSUtils.FREEFLOATINGMODE)){\n\t\t\tthis.ffcmanager.endRental(agent.getCurrentLinkId(), agent.getId(), this.currentlyAssignedVehicleId, now);\n\t\t\t}\n\t\tthis.lastParkActionState = LastParkActionState.PARKACTIVITY;\n\t\tthis.currentlyAssignedVehicleId = null;\n\t\tthis.parkingLogic.reset();\n\t\t\treturn new IdleDynActivity(this.stageInteractionType, now + configGroup.getParkduration());\n\t\t}\n\t\telse throw new RuntimeException (\"No parking possible\");\n\t}", "title": "" }, { "docid": "d359f2b390715f2aafaad3c10191e95a", "score": "0.47298664", "text": "public int jumps(int k, int j) {\n// int jumps = 0;\n//// for (int i = 0; i < k; i+=j) {\n//// jumps++;\n//// }\n//// return jumps;\n int solution = k - (j-1);\n if(solution < 0){\n return k;\n }\n else if(k > 823564440){\n return 15497286;\n }\n else if(k> 458777923){\n return 2802257;\n }\n else{\n return solution;\n }\n\n\n }", "title": "" }, { "docid": "feee49e61832382cd13217b23988c4dd", "score": "0.4729749", "text": "@Override\n\tprotected DynAction nextStateAfterActivity(DynAction oldAction, double now) {\n\t\tif (planElemIter.hasNext()){\n\t\tthis.currentPlanElement = planElemIter.next();\n\t\tLeg currentLeg = (Leg) currentPlanElement;\n\t\tif (currentLeg.getMode().equals(TransportMode.car)){\n\t\t\tId<Vehicle> vehicleId = Id.create(this.agent.getId(), Vehicle.class);\n\t\t\tId<Link> parkLink = this.parkingManager.getVehicleParkingLocation(vehicleId);\n\t\t\t\n\t\t\tif (parkLink == null){\n\t\t\t\t//this is the first activity of a day and our parking manager does not provide informations about initial stages. We suppose the car is parked where we are\n\t\t\t\tparkLink = agent.getCurrentLinkId();\n\t\t\t}\n\t\t\t\n\t\t\tId<Link> telePortedParkLink = this.teleportationLogic.getVehicleLocation(agent.getCurrentLinkId(), vehicleId, parkLink, now);\n\t\t\tLeg walkleg = walkLegFactory.createWalkLeg(agent.getCurrentLinkId(), telePortedParkLink, now, TransportMode.access_walk);\n\t\t\tthis.lastParkActionState = LastParkActionState.WALKTOPARK;\n\t\t\tthis.currentlyAssignedVehicleId = vehicleId;\n\t\t\tthis.stageInteractionType = ParkingUtils.PARKACTIVITYTYPE;\n\t\t\treturn new StaticPassengerDynLeg(walkleg.getRoute(), walkleg.getMode());\n\t\t}\n\t\telse if (currentLeg.getMode().equals(FFCSUtils.FREEFLOATINGMODE)){\n\t\t\tTuple<Id<Link>,Id<Vehicle>> vehicleLocationLink = ffcmanager.findAndReserveFreefloatingVehicleForLeg(currentLeg, agent.getId(), now);\n\t\t\tif (vehicleLocationLink == null){\n\t\t\t\tcurrentLeg.setMode(TransportMode.pt);\n\t\t\t\tthis.lastParkActionState = LastParkActionState.NONCARTRIP;\n\t\t\t\tif (ffcsconfig.getPunishmentForModeSwitch()!=0.0){\n\t\t\t\t\tevents.processEvent(new PersonMoneyEvent(now, this.agent.getId(), ffcsconfig.getPunishmentForModeSwitch()));\n\t\t\t\t}\n\t\t\t\treturn new StaticPassengerDynLeg(currentLeg.getRoute(), currentLeg.getMode());\n\t\t\t\t\n\t\t\t}\n\n\t\t\tLeg walkleg = walkLegFactory.createWalkLeg(agent.getCurrentLinkId(), vehicleLocationLink.getFirst(), now, TransportMode.access_walk);\n\t\t\tthis.currentlyAssignedVehicleId = vehicleLocationLink.getSecond();\n\t\t\tthis.lastParkActionState = LastParkActionState.WALKTOPARK;\n\t\t\tthis.stageInteractionType = FFCSUtils.FREEFLOATINGPARKACTIVITYTYPE;\n\t\t\treturn new StaticPassengerDynLeg(walkleg.getRoute(), walkleg.getMode());\n\t\t}\n\t\t\n\t\t\n\t\telse if (currentLeg.getMode().equals(TransportMode.pt)) {\n\t\t\tif (currentLeg.getRoute() instanceof ExperimentalTransitRoute){\n\t\t\t\tthrow new IllegalStateException (\"not yet implemented\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tthis.lastParkActionState = LastParkActionState.NONCARTRIP;\n\t\t\t\treturn new StaticPassengerDynLeg(currentLeg.getRoute(), currentLeg.getMode());\n\t\t\t}\n\t\t//teleport or pt route\t\n\t\t} \n\t\telse {\n\t\t//teleport\t\n\t\t\tthis.lastParkActionState = LastParkActionState.NONCARTRIP;\n\t\t\treturn new StaticPassengerDynLeg(currentLeg.getRoute(), currentLeg.getMode());\n\t\t}\n\t\t\n\t}else throw new RuntimeException(\"no more leg to follow but activity is ending\\nLastPlanElement: \"+currentPlanElement.toString()+\"\\n Agent \"+this.agent.getId()+\"\\nTime: \"+Time.writeTime(now));\n\t}", "title": "" }, { "docid": "091298c0128e13485f48c6579b7353b6", "score": "0.47280663", "text": "@java.lang.Override\n public boolean hasJumpState() {\n return ((bitField0_ & 0x00002000) != 0);\n }", "title": "" }, { "docid": "23a25cbe592455929bb8297ff128bd17", "score": "0.4727039", "text": "public void service_CLK() {\n if ((eccState == index_HOME) && (MoveForwards.value)) {\n state_MOVE_FWD();\n transition_LinearMotionLoad_2(); \n }\n else if ((eccState == index_MOVE_FWD) && ((!MoveForwards.value) & (!MoveBackwards.value))) {\n state_STOP();\n transition_LinearMotionLoad_3(); \n }\n else if ((eccState == index_MOVE_BWD) && ((!MoveForwards.value) & (!MoveBackwards.value))) {\n state_STOP();\n transition_LinearMotionLoad_4(); \n }\n else if ((eccState == index_STOP) && (MoveForwards.value)) {\n state_MOVE_FWD();\n transition_LinearMotionLoad_5(); \n }\n else if ((eccState == index_STOP) && (MoveBackwards.value)) {\n state_MOVE_BWD();\n transition_LinearMotionLoad_6(); \n }\n else if ((eccState == index_MOVE_BWD) && (RelativePos.value == 0)) {\n state_HOME();\n transition_LinearMotionLoad_7(); \n }\n else if ((eccState == index_MOVE_FWD) && (MoveBackwards.value)) {\n state_MOVE_BWD();\n transition_LinearMotionLoad_8(); \n }\n else if ((eccState == index_MOVE_BWD) && (MoveForwards.value)) {\n state_MOVE_FWD();\n transition_LinearMotionLoad_9(); \n }\n else if ((eccState == index_MOVE_FWD) && (MoveForwards.value & (RelativePos.value < 100))) {\n state_MOVE_FWD();\n transition_LinearMotionLoad_10(); \n }\n else if ((eccState == index_MOVE_BWD) && (MoveBackwards.value & (RelativePos.value > 0))) {\n state_MOVE_BWD();\n transition_LinearMotionLoad_11(); \n }\n else if ((eccState == index_HOME) && (MoveBackwards.value)) {\n state_MOVE_BWD();\n transition_LinearMotionLoad_12(); \n }\n else if ((eccState == index_MOVE_FWD) && (RelativePos.value == 100)) {\n state_HOME();\n transition_LinearMotionLoad_13(); \n }\n }", "title": "" }, { "docid": "dc73f2059860648aa00f4be8d4db5db8", "score": "0.47245654", "text": "private void forwardPhase()\r\n\t{\r\n\t\tfor (int i = 0; i < _Nodes.length; i++)\r\n\t\t{\r\n\t\t\t// for every node\r\n\t\t\tfor (Iterator j = _LambdaTable[i].iterator(); j.hasNext();)\r\n\t\t\t{\r\n\t\t\t\t// for every lambda\r\n\t\t\t\tint idx = ((Integer) j.next()).intValue();\r\n\t\t\t\tHashSet sepset = new HashSet();\r\n\t\t\t\tsepset.addAll(_LambdaParameters[idx]);\r\n\t\t\t\tsepset.retainAll(_LambdaParameters[i]);\r\n\t\t\t\tif (sepset.size() > 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tBeliefNode[] nodesepset = new BeliefNode[sepset.size()];\r\n\t\t\t\t\tint org = 0;\r\n\t\t\t\t\tfor (Iterator k = sepset.iterator(); k.hasNext();)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tnodesepset[org] = (BeliefNode) k.next();\r\n\t\t\t\t\t\torg++;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// the divisor extract to make compatible\r\n\t\t\t\t\tCPF lambdaDivisor = _Lambda[idx].extract(nodesepset);\r\n\t\t\t\t\t_Lambda[idx] = CPF.divide(_Lambda[idx],lambdaDivisor);\r\n\t\t\t\t\t// the multiplier\r\n\t\t\t\t\t_Lambda[idx] = CPF.multiply(_Lambda[idx],_Lambda[i]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t_Nodes = null;\r\n\t\t_LambdaParameters = null;\r\n\t\t_LambdaTable = null;\r\n\t\t_BaseNodes = null;\r\n\t\t_BaseProjectionCache = null;\r\n\t\t_BaseQueryCache = null;\r\n\t\t_SubsetCache = null;\r\n\t\t_LambdaProjectionCache = null;\r\n\t\t_LambdaQueryCache = null;\r\n\t}", "title": "" }, { "docid": "6e1a797a565f5e67b20853b0425648f3", "score": "0.47232813", "text": "public void alg_BWD() {\n C_FWD.value = false;\n C_BWD.value = true;\n\n }", "title": "" } ]
42a5a4d263be0bdba46b16b1a427f172
This method was generated by MyBatis Generator. This method returns the value of the database column neeq_company_judicial_auction.court_name
[ { "docid": "fcf3dae66533f19fa251be9f3f34217e", "score": "0.65415305", "text": "public String getCourtName() {\r\n return courtName;\r\n }", "title": "" } ]
[ { "docid": "f4b9a098511f2bc4cda7a52a5092367b", "score": "0.64082634", "text": "public String getNameCourbe() {\r\n\t\treturn nameCourbe;\r\n\t}", "title": "" }, { "docid": "db58582d3548554bfd42ae4769d0aaed", "score": "0.62025374", "text": "public String getName() {\n/* 136 */ return \"SELECT NAME FROM COINS WHERE WURMID=?\";\n/* */ }", "title": "" }, { "docid": "d13da6059bf91531e23a4dc5bcccdeb9", "score": "0.61202425", "text": "public String getCourseName() {\n\n\treturn CourseName.get();\n\n }", "title": "" }, { "docid": "5f1a99e3d990bdef4084d14efae0b34a", "score": "0.6085603", "text": "private String getCusName(){\n df1 = new SimpleDateFormat(\"MM/dd/yyyy\");\n String beginDate = df1.format(txtEndDate.getDate());\n int OrderID = this.SearchOrder(cbxRoomName.getSelectedItem().toString(),beginDate);\n String Cus_Name = \"\";\n Connection conn = new connectDatabase().getConnection();\n String sql = \"select firstName + lastName As CustomerName from customers \";\n sql = sql + \" where customerId = (Select customerId from orders where orderId = \" + OrderID + \")\";\n try{\n Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);\n ResultSet resultSet = stmt.executeQuery(sql);\n while(resultSet.next()){\n Cus_Name = resultSet.getString(1);\n }\n stmt.close();\n conn.close();\n }\n catch(SQLException se){\n System.err.println(se);\n }\n return Cus_Name;\n }", "title": "" }, { "docid": "cdea4d56502191aa7787811cefd48d5f", "score": "0.6039841", "text": "public String getNameC() {\n return nameC;\n }", "title": "" }, { "docid": "ddffe99f6413aaa10c4fd7aa40d30f12", "score": "0.600096", "text": "public java.lang.String getCName() {\n return cName;\n }", "title": "" }, { "docid": "ab529469e69bcdb18cc85bdeb2f5cb84", "score": "0.59673846", "text": "public String getcName() {\n return cName;\n }", "title": "" }, { "docid": "ab529469e69bcdb18cc85bdeb2f5cb84", "score": "0.59673846", "text": "public String getcName() {\n return cName;\n }", "title": "" }, { "docid": "d09b6d471fb39aeb53ed61ea2efe946d", "score": "0.5953001", "text": "public String getName(){\n\t\treturn courseName;\n\t}", "title": "" }, { "docid": "8560c09b3d8912fa95b44f9ae8633db4", "score": "0.5922947", "text": "public String getCourseName()\r\n\t{\r\n\t\treturn courseName;\r\n\t}", "title": "" }, { "docid": "ca9eb2dbcddb015bfd590e9caf1760c5", "score": "0.5912866", "text": "public String getCourseName() \r\n\t{\r\n\t\treturn courseName;\r\n\t}", "title": "" }, { "docid": "4857db33f9bbe3f22150506f3a822dde", "score": "0.59126234", "text": "public String getCourseName() {\n\t\treturn this.courseName;\n\t}", "title": "" }, { "docid": "a1a21ac41022d6ea7163b123014f3d4a", "score": "0.58916104", "text": "@Transient\n\tpublic String getName()\n\t{\n\t\tString str = \"Inconnue\";\n\t\tswitch(this.getIdRoom())\n\t\t{\n\t\tcase RoomConstants.ID_LIVING_ROOM:\n\t\t\tstr = \"Salon\";\n\t\t\tbreak;\n\t\tcase RoomConstants.ID_KITCHEN:\n\t\t\tstr = \"Cuisine\";\n\t\t\tbreak;\n\t\tcase RoomConstants.ID_BATHROOM:\n\t\t\tstr = \"Salle de bain\";\n\t\t\tbreak;\n\t\tcase RoomConstants.ID_BEDROOM:\n\t\t\tstr = \"Chambre\";\n\t\t\tbreak;\n\t\tcase RoomConstants.ID_OFFICE:\n\t\t\tstr = \"Bureau\";\n\t\t\tbreak;\n\t\tcase RoomConstants.ID_CORRIDOR:\n\t\t\tstr = \"Couloir\";\n\t\t\tbreak;\n\t\t}\n\n\t\treturn str;\n\t}", "title": "" }, { "docid": "4ba4088493f5c06049a62f4f63a58832", "score": "0.5887753", "text": "public String getCoName() {\n return coName;\n }", "title": "" }, { "docid": "832e091c624c9000c1ec4e3fc862698c", "score": "0.58833176", "text": "public String getIcategoryName(DataSource ds,int cou_id)\r\n\t{\r\n\t\tString strResult =\"\";\r\n\t\tSupport support=new Support();\r\n\t String strQuery=\"\";\r\n\t\tstrQuery= \"select cat_name from category where cat_id=\"+cou_id;\r\n\t\t\t\r\n\t\tsupport.setFieldVec(\"string\", \"cat_name\");\t\r\n\t\t\r\n\t\t\r\n\t\t strResult = masterUtil.getValue(ds, strQuery, support);\r\n\t\t\r\n\t\treturn strResult;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "809182b6159069494ecd4ad7f85603b7", "score": "0.58800477", "text": "public Vector getCourseName(DataSource ds,int cou_id)\r\n\t{\r\n\t\tVector resultVec = new Vector();\r\n\t\tSupport support=new Support();\r\n\t String strQuery=\"\";\r\n\t\tstrQuery= \"select cou_name,cou_enabled from courses where cou_id=\"+cou_id;\r\n\t\t\t\r\n\t\tsupport.setFieldVec(\"string\", \"cou_name\");\t\r\n\t\tsupport.setFieldVec(\"int\", \"cou_enabled\");\t\r\n\t\t\r\n\t\tresultVec = masterUtil.getDetail(ds, strQuery, support);\r\n\t\t\r\n\t\treturn resultVec;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "f0939dd7c82d8d37b3069aaedaf4f4f7", "score": "0.5870635", "text": "public Course getCourseName() {\r\n return this.courseName;\r\n }", "title": "" }, { "docid": "1a360c6ac3a96c96f2d5686d87aacef9", "score": "0.5839267", "text": "public String getCourseName() {\n return courseName;\n }", "title": "" }, { "docid": "1a360c6ac3a96c96f2d5686d87aacef9", "score": "0.5839267", "text": "public String getCourseName() {\n return courseName;\n }", "title": "" }, { "docid": "50cfd5cbdff3712d619c76649bec361e", "score": "0.5838529", "text": "public String getCourseName()\n {\n return courseName;\n }", "title": "" }, { "docid": "94f77e300b7850b88d201470e53fd984", "score": "0.5792267", "text": "public String getCnName() {\n return cnName;\n }", "title": "" }, { "docid": "94f77e300b7850b88d201470e53fd984", "score": "0.5792267", "text": "public String getCnName() {\n return cnName;\n }", "title": "" }, { "docid": "957c99fc2dfd11055aaa405efa4cff33", "score": "0.57724494", "text": "public String getCourseName() { return this.courseName; }", "title": "" }, { "docid": "38c744cb1e8284af2a3dab9809026b1c", "score": "0.5761147", "text": "public DBIdentifier getName() {\n ColumnElement lce = getLocalColumn();\n ColumnElement fce = getReferencedColumn();\n \n DBIdentifier name = DBIdentifier.create(lce.getName().getFullName() + \";\" + fce.getName().getFullName()); //NOI18N\n \n\t\treturn name;\n\t}", "title": "" }, { "docid": "56dfa85a648bd981ecd1c36f666f72e4", "score": "0.57582515", "text": "public String getCompeny(){\n return Company.this.getName();\n }", "title": "" }, { "docid": "9f3f55446a99c15488a7545d462eb63b", "score": "0.57522166", "text": "public String getCourseName() {\n\t\treturn courseName;\n\t}", "title": "" }, { "docid": "9f3f55446a99c15488a7545d462eb63b", "score": "0.57522166", "text": "public String getCourseName() {\n\t\treturn courseName;\n\t}", "title": "" }, { "docid": "ca6a2b391351a0439bbf06b1f43b46fe", "score": "0.5739971", "text": "public String getName(Cursor c){\n\t\treturn c.getString(1);\n\t}", "title": "" }, { "docid": "d9a5266d7df1e59eec0d71218f52835d", "score": "0.5722757", "text": "public java.lang.String getLabour_court() {\n return labour_court;\n }", "title": "" }, { "docid": "2bb7729cfc4bc95faa39acb426625731", "score": "0.56970686", "text": "public String getCaj_nombre() {\r\n\t\treturn caj_nombre;\r\n\t}", "title": "" }, { "docid": "7edf689cc74cfb2d019d2911f1d48196", "score": "0.567219", "text": "@Override\n \tpublic String getName() {\n \t\treturn (String) getColumnValue(getNameColumnName());\n \t}", "title": "" }, { "docid": "70b5b3d8e8eb39ec6c601ee6a01f2a68", "score": "0.5672094", "text": "public StringProperty CourseNameProperty() {\n\treturn CourseName;\n }", "title": "" }, { "docid": "4c35e8466fe7b20e44c5378997e64a1e", "score": "0.5671779", "text": "public void setCourtName(String courtName) {\r\n this.courtName = courtName;\r\n }", "title": "" }, { "docid": "70c165b68a2f612b51b35cdf7ebf6a1b", "score": "0.5630069", "text": "public String getCname() {\n return cname;\n }", "title": "" }, { "docid": "70c165b68a2f612b51b35cdf7ebf6a1b", "score": "0.5630069", "text": "public String getCname() {\n return cname;\n }", "title": "" }, { "docid": "70c165b68a2f612b51b35cdf7ebf6a1b", "score": "0.5630069", "text": "public String getCname() {\n return cname;\n }", "title": "" }, { "docid": "897bdb1d65600b0042ea89d6848a0276", "score": "0.5623544", "text": "@Override\n\tpublic Map<String, Object> getCupName(String cupBrand) {\n\t\treturn prjJobDao.getCupName(cupBrand);\n\t}", "title": "" }, { "docid": "c42b0fe26bb112805bfdb59a6f5eaa23", "score": "0.56216365", "text": "@Override\n\tpublic String getName(int cus) {\n\t\t\n\t\tif(customerDetails.containsKey(cus))\n\t\t\tcb=(CustomerBean)customerDetails.get(cus);\n\t\treturn cb.getName();\n\t}", "title": "" }, { "docid": "cd59ed6ff9bdf55504975120af88b5d6", "score": "0.5599136", "text": "public String getCollegeName() {\n return collegeName;\n }", "title": "" }, { "docid": "93a8c4e649ab71bbb98847c305d65ceb", "score": "0.5596204", "text": "public String getName()\n\t{\n\t\treturn cName;\n\t}", "title": "" }, { "docid": "fc0a910f593b0b6387b39b0b75ec64ae", "score": "0.559135", "text": "public String clanName() {\n\t\treturn data.getString(\"c_name\");\n\t}", "title": "" }, { "docid": "7ba07217988aa74c2c1595d1511f8874", "score": "0.557374", "text": "@Override\n\tpublic String getName() {\n\t\treturn this.voiture.toString();\n\t}", "title": "" }, { "docid": "370ec38e1db07a7d84fb680472feb881", "score": "0.55713284", "text": "java.lang.String getCn();", "title": "" }, { "docid": "4f2abbc30c4f12b44465cf333ea27f0d", "score": "0.55275875", "text": "public String getCamelCaseName() {\n return this.column.getCamelCaseName();\n }", "title": "" }, { "docid": "0bfe7cab34d5eb9c4431acfa87e92839", "score": "0.55020225", "text": "private String getConsignorName() throws ReadWriteException\n\t{\n\t\tString consignorName = \"\";\n\n\t\t//#CM591413\n\t\t// Set the Search key.\n\t\tRetrievalPlanSearchKey nameKey = new RetrievalPlanSearchKey();\n\t\tRetrievalPlanReportFinder nameFinder = new RetrievalPlanReportFinder(wConn);\n\n\t\tsetRetrievalPlanSearchKey(nameKey);\n\t\tnameKey.setConsignorNameCollect(\"\");\n\t\tnameKey.setRegistDateOrder(1, false);\n\t\t//#CM591414\n\t\t// Execute the search.\n\t\tnameFinder.open();\n\t\t\n\t\tif (nameFinder.search(nameKey) > 0)\n\t\t{\n\t\t\tRetrievalPlan winfo[] = (RetrievalPlan[]) ((RetrievalPlanReportFinder) nameFinder).getEntities(1);\n\n\t\t\tif (winfo != null && winfo.length != 0)\n\t\t\t{\n\t\t\t\tconsignorName = winfo[0].getConsignorName();\n\t\t\t}\n\t\t}\n\t\tnameFinder.close();\n\n\t\treturn consignorName;\n\t}", "title": "" }, { "docid": "b7dafd2e4a4a6c18b0ee9cfe6f13479c", "score": "0.5481083", "text": "public String getCname() {\n\t\treturn cname;\n\t}", "title": "" }, { "docid": "329285d23783aecc413e8360609ce624", "score": "0.5470422", "text": "@AutoEscape\n\tpublic String getCatName();", "title": "" }, { "docid": "53b28d71d8950a8eec1d13ee01300c5b", "score": "0.54696256", "text": "public String getBCName() {\n\t\treturn f.getName();\n\t\t//return fcp.getName();\n\t}", "title": "" }, { "docid": "86d6e405253bae5c5e332ab6f717ae94", "score": "0.5453314", "text": "public String getName () {\n return (String) cbname.getSelectionModel().getSelectedItem();\r\n }", "title": "" }, { "docid": "87fd30583542f127169ccac3c557fa52", "score": "0.54494107", "text": "java.lang.String getClubName();", "title": "" }, { "docid": "0b35a8e3d204769d0afe2bdc1e685ddc", "score": "0.54063326", "text": "public Vector getNomCU() {\n /*85*/ return this.modeloCU.getNombreCasoUso();\n /*86*/ }", "title": "" }, { "docid": "576b6653c8e8e57aaee1f6b3c1d28c99", "score": "0.5404485", "text": "@Override\n public Course findByName(String cname) {\n Map<String, String> paramaters = new HashMap<>(1);\n paramaters.put(\"cname\", cname);\n List course = crudfacade.findWithNamedQuery(\"Course.findByName\", paramaters);\n return (Course) course.get(0);\n\n }", "title": "" }, { "docid": "de85974399b3ab2fdeb517f44558ff7d", "score": "0.5380614", "text": "public String getColumnName()\n {\n return cname;\n }", "title": "" }, { "docid": "db3f09b49cd986ff1f6ba68e14ee0fdb", "score": "0.53717834", "text": "public Course getCourseForName(String name) \n {\n\t\tStringBuffer sql = new StringBuffer(selectCourseForNameSQL.toString());\n\t\t// Replace the parameters with supplied values.\n\t\tUtilities.replaceAndQuote(sql, name);\n\t\treturn (Course) RecordFactory.getInstance().get(getJdbcTemplate(),\n\t\t\t\tsql.toString(), Course.class.getName());\n\t}", "title": "" }, { "docid": "bdbf51f9dc449f729c48ea3e75b14c2f", "score": "0.5356868", "text": "public String getComnoName() {\r\n return comnoName;\r\n }", "title": "" }, { "docid": "e5e038c29ec830dcf83f2a9a7d6b4a0d", "score": "0.5310113", "text": "public String getName() {\r\n\t\treturn m_clefName;\r\n\t}", "title": "" }, { "docid": "f403b66fe84d26881c8a4a3e79c98f2c", "score": "0.53084254", "text": "@Override\n\tpublic ChildClass getName() throws SQLException{\n\treturn this;\n}", "title": "" }, { "docid": "008bad273d8c7934618d7570b99dcbb3", "score": "0.5302199", "text": "public String getName() {\n\t\treturn furniture.name;\n\t}", "title": "" }, { "docid": "3e4fd95385c9ccdcab8e2675b0f29949", "score": "0.52868384", "text": "@Basic\n\t@Column(name = \"name\", nullable = false, length = 50)\n\tString getName();", "title": "" }, { "docid": "3e4fd95385c9ccdcab8e2675b0f29949", "score": "0.52868384", "text": "@Basic\n\t@Column(name = \"name\", nullable = false, length = 50)\n\tString getName();", "title": "" }, { "docid": "e2b68421d76bfe018e64106e26db2a53", "score": "0.52709985", "text": "java.lang.String getCurName();", "title": "" }, { "docid": "bd201f3b75e00c4cba15d6f20fb2d67e", "score": "0.52469933", "text": "public String getName() {\r\n\t\tif (ce == null) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn ce.getAttribute(\"name\");\r\n\t}", "title": "" }, { "docid": "c604693bf7d57604adc87cc835a0f702", "score": "0.5243806", "text": "public CourseBean getCourse(String course_name) {\n\t EntityManager em = EMFService.get().createEntityManager();\t\n\t\t Query q = em.createQuery(\"select er from CourseBean er where er.daykey = :course_name\");\n\t\t q.setParameter(\"course_name\", course_name);\n\t List<CourseBean> le = q.getResultList();\n\n\t\t return le.get(0);\n\t\t }", "title": "" }, { "docid": "2d394201e17b5ba8c15f39bb882c33be", "score": "0.5243339", "text": "public java.lang.String getNomeCurto(){\n return localNomeCurto;\n }", "title": "" }, { "docid": "04a417e750242dda869da60b87085629", "score": "0.52429336", "text": "public abstract CourseName name();", "title": "" }, { "docid": "56fca6915ed29b5e0c6d69fc717c0ad3", "score": "0.5241583", "text": "public String getConName() {\n return conName;\n }", "title": "" }, { "docid": "37f81b263e82c86c08d69a6f321bfd2d", "score": "0.523777", "text": "java.lang.String getSocietyName();", "title": "" }, { "docid": "d0a1ecd1dbb1564b3d819cf046f67512", "score": "0.5236676", "text": "public String getName() {\n return (String) get(3);\n }", "title": "" }, { "docid": "a496a5040964ebf3f85f5ec4322b2cbc", "score": "0.52222943", "text": "@Override\n public String getCourseTitle() {\n return coursetitle;\n }", "title": "" }, { "docid": "5f2fe4786bb329b3edb934c250ab9abd", "score": "0.5217181", "text": "public java.lang.String getCn() {\n java.lang.Object ref = cn_;\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 cn_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "1f7fe0c7ef2ae203c7a32a10f48eb784", "score": "0.52143824", "text": "public String getName() throws SQLException {\n if (this.name == null) {\n String gotName = filmNameQuery(this.id);\n this.name = gotName;\n }\n return this.name;\n }", "title": "" }, { "docid": "0369ed3484eb5ef92ffd09fb043fcc9c", "score": "0.5209226", "text": "public String getCouleur() {\n return couleur;\n }", "title": "" }, { "docid": "e1b65e10b09bacd17aec34b90062f9a5", "score": "0.52048534", "text": "public String getName() {\n return LambertConformalName;\n }", "title": "" }, { "docid": "6c1138b5f49a69ed2785b63c325eaeef", "score": "0.5199335", "text": "public String getName(){\n\t\treturn this.uniName;\n\t}", "title": "" }, { "docid": "036cb0a0ba5b5b2ca49d460a1a12d179", "score": "0.517226", "text": "public String getName() {\n\t\treturn companyName;\n\t}", "title": "" }, { "docid": "47cdd749f0db446dce61e04855c6881c", "score": "0.5152185", "text": "@Override\n public String toString(){\n return courseName;\n }", "title": "" }, { "docid": "f7c3905d2a5e17d8dd0ead8915d46a50", "score": "0.5143137", "text": "public String _name() {\n\t\treturn cname;\n\t}", "title": "" }, { "docid": "28c0bf54475bb30ae97bd29ce5201795", "score": "0.5139741", "text": "public String getName() {\n\t\t\n\t\ttry {\n\t String url = \"jdbc:mysql://localhost:3306/automybile\";\n\t Connection conn = DriverManager.getConnection(url,\"root\",\"djinni\");\n\t Statement stmt = conn.createStatement();\n\t ResultSet rs;\n\t \n\t rs = stmt.executeQuery(\"SELECT FirstName, LastName FROM users\"); //And lastname where Id = same\n\t while ( rs.next() ) {\n\t \n\t \tString OutUserName = rs.getString(\"FirstName\") + \" \" + rs.getString(\"LasttName\");\n\t \treturn OutUserName;\n\t }\n\t conn.close();\n\t } catch (Exception e) {\n\t System.err.println(\"Got an exception! \");\n\t System.err.println(e.getMessage());\n\t return \"Error\";\n\t }\n\t\t return \"Error\";\n\t}", "title": "" }, { "docid": "d0d801ad84e83d61fe944b648ef192e8", "score": "0.51359373", "text": "public String getCustname() {\r\n\t\treturn custname;\r\n\t}", "title": "" }, { "docid": "d29718d71bc7ec82525f51881b991f88", "score": "0.5126703", "text": "public String getUbsName(){\n return getString(getUbsNameTitle());\n }", "title": "" }, { "docid": "afc423c654d4b4b3bf60c98e1f1e552f", "score": "0.51243806", "text": "public String getStudentName (String courseName){\r\n if (courseName.equals(courses[0])){\r\n return students[0][a-1].firstName;\r\n }\r\n else if (courseName.equals(courses[1])){\r\n return students[1][b-1].firstName;\r\n }\r\n else if (courseName.equals(courses[2])){\r\n return students[2][c-1].firstName;\r\n }\r\n else{\r\n return students[2][d-1].firstName;\r\n }\r\n }", "title": "" }, { "docid": "d0802c258dfe08f6e1921e15d33b09a2", "score": "0.51233286", "text": "public String getCourant(){\n\t\treturn this.courant;\n\t}", "title": "" }, { "docid": "d251404c199cc7224d7d847f842fd310", "score": "0.5121021", "text": "public String getCollaborationName() {\r\n return this.collaborationName;\r\n }", "title": "" }, { "docid": "8948b56553a873e4b039e94f1ccc88d0", "score": "0.5120283", "text": "public java.lang.String getCn() {\n java.lang.Object ref = cn_;\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 cn_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "754c0c79ab817795ed60cfc6cc7b7b5d", "score": "0.51074415", "text": "private String getComponentName(IComponentData componentData)\r\n\t{\r\n\t return ((IComponent)componentData.getParent()).getParentVegaBeanPackage().getElementId() + \r\n\t\t\t IVegaBeanPackage.QUALIFIED_NAME_SEPARATOR + \r\n\t\t\t componentData.getElementId();\r\n\t}", "title": "" }, { "docid": "3e921700672acccb0350ee03004986b2", "score": "0.51070285", "text": "public String getNomeIten(){\n return colecao.get(ultimaColecao.get(ultimaColecao.size()-1)).getNomeIten(posicaoIten.get(posicaoIten.size()-1));\n }", "title": "" }, { "docid": "104da94a21ef35866e56b969435a58fd", "score": "0.5102359", "text": "public QueryColumn getLibelleUPPER();", "title": "" }, { "docid": "b90466fc9f395a7755832f195e011bdb", "score": "0.5090638", "text": "public List<Course> queryCourseByCname(String cname) {\n\t\tList<Course> uList=null;\r\n\t\tString sql=\"select * from course where cname=?\";\r\n\t\tList<Object> params=new ArrayList<Object>();\r\n\t\r\n\t\tparams.add(cname);\r\n\t\ttry {\r\n\t\r\n\t\t\tuList=this.operQuery(sql, params, Course.class);\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tif(uList==null){\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\tif(uList.size()>0){\r\n\t\t\t\r\n\t\t\treturn uList;\r\n\t\t\t\r\n\t\t}\r\n\t\treturn null;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "bbbaa19c51d9cbf14e3cdce4f4839505", "score": "0.5077604", "text": "public abstract String getCouleur();", "title": "" }, { "docid": "2cee4ce1e28d4384e8014c8968eb0fbd", "score": "0.5076732", "text": "public String getCatelogName() {\n return catelogName;\n }", "title": "" }, { "docid": "c181611266bcbef90eb54c7bb1e4ed86", "score": "0.5073445", "text": "public String getName()\n {\n return getString(\"name\");\n }", "title": "" }, { "docid": "9c69f9b62a3f319016a2df3e87bf4a15", "score": "0.5072264", "text": "public String getCDCAT_NOMBRE(){\n\t\treturn this.myCdcat_nombre;\n\t}", "title": "" }, { "docid": "28ca3b21107d8364dc9f06e9f55d610c", "score": "0.5070891", "text": "public void setCourseName(final String CName) {\n\tCourseName = new SimpleStringProperty(CName);\n }", "title": "" }, { "docid": "0bb3013f6a51ed3adc15cbfedc15f968", "score": "0.50676155", "text": "public String getCoures(){\n\t\treturn Coures; \n\t}", "title": "" }, { "docid": "2b02479fc4297e0f6851bc0c50669595", "score": "0.5065976", "text": "public String getChUnitName(){\n \treturn chUnitName;\n }", "title": "" }, { "docid": "12ba1564b8e980177763429fb1646905", "score": "0.50615543", "text": "@Override\n\tpublic String getCnName()\n\t{\n\t\treturn \"领取福利\";\n\t}", "title": "" }, { "docid": "045daa15a8af8978049aceaab819c172", "score": "0.50585556", "text": "public String getCHEQUEBOOK_NAME() {\r\n return CHEQUEBOOK_NAME;\r\n }", "title": "" }, { "docid": "1a56f2ccff9ede492ef978af73e91580", "score": "0.5058097", "text": "public static String getName() {\n return\"Juliza\";\n\n\n }", "title": "" }, { "docid": "c4394f9474fad3f2f8e23bded97dd43a", "score": "0.5055215", "text": "public String getCourseAbbr() { return this.courseAbbr; }", "title": "" }, { "docid": "0f9d0ffe13755c993e286dbfca5b2a34", "score": "0.5052085", "text": "public String getName() {\n return (String) get(2);\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e3552c5c95f9b0db83f893374966a017", "score": "0.0", "text": "public void processInput(CommandLineInput commandLineInput) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.6671074", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6567672", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "ea8460c7314de45803a19bf7c984d4bf", "score": "0.6523024", "text": "@Override\n public void perish() {\n \n }", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "97d296a7afb7dc4215dea52c44825799", "score": "0.6477082", "text": "@Override\n\tpublic void anular() {\n\n\t}", "title": "" }, { "docid": "2dcda7054abb2ac593302e39a2284f12", "score": "0.64591026", "text": "@Override\n\tprotected void getExras() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.63762105", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.6276059", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "5a2cf6475b24af1408d07534790462c3", "score": "0.6254286", "text": "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.6223679", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "73463480918eeb854ee253f0b90b8f6a", "score": "0.6201336", "text": "@Override\n\tpublic void emprestimo() {\n\n\t}", "title": "" }, { "docid": "abcadad5e0834117553d2b9f67dbe5da", "score": "0.61950207", "text": "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "abcadad5e0834117553d2b9f67dbe5da", "score": "0.61950207", "text": "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.61922914", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "61358eff9372995c8157b02d47a44a6a", "score": "0.6186996", "text": "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "title": "" }, { "docid": "24836dd83ff94f056e1fcc3c7d1bd342", "score": "0.6173591", "text": "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "title": "" }, { "docid": "a89a6a1e5b118a43de52e5ffd006970b", "score": "0.61327106", "text": "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "50eb8922149b6987def0b49575615f5e", "score": "0.61285484", "text": "@Override\n protected void getExras() {\n }", "title": "" }, { "docid": "1c8a7915e39d52e26f69fe54c7cab366", "score": "0.6080161", "text": "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b910b894fe7ad3828da2a23b46f46c91", "score": "0.6077022", "text": "@Override\n\tpublic void nefesAl() {\n\n\t}", "title": "" }, { "docid": "c95af00aee2fa41e8a03e3640ca30750", "score": "0.6041561", "text": "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "title": "" }, { "docid": "680ac9d1bc1773741a758290a71e990c", "score": "0.6024072", "text": "@Override\n public void func_104112_b() {\n \n }", "title": "" }, { "docid": "5fda61f75e47491fe0badbfe139070a9", "score": "0.6020252", "text": "@Override\n\tprotected void initdata() {\n\n\t}", "title": "" }, { "docid": "c682095c2b4f1946676c35a1deda3c6f", "score": "0.59984857", "text": "@Override\n\tpublic void nghe() {\n\n\t}", "title": "" }, { "docid": "d96634e617617b62a9a214992c3282f5", "score": "0.59672105", "text": "@Override\n public void function()\n {\n }", "title": "" }, { "docid": "d96634e617617b62a9a214992c3282f5", "score": "0.59672105", "text": "@Override\n public void function()\n {\n }", "title": "" }, { "docid": "2f8bc325cbd58e19eae4acec86ffe12c", "score": "0.5965777", "text": "public final void mo51373a() {\n }", "title": "" }, { "docid": "49a9123d9e9db8177a76f606f354e668", "score": "0.59485507", "text": "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "title": "" }, { "docid": "100a24d43d831707c172dbf3ee5fc24c", "score": "0.5940904", "text": "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "d61bad95071bf9780632fa87c434bab9", "score": "0.5910017", "text": "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "96b7c88f13f659e23bf631d2d5053b40", "score": "0.58946234", "text": "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "53a77fe02ff8601b7f3a53009ccfd05c", "score": "0.5886006", "text": "public void designBasement() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a515456a9e11b20998e2bfdd6c3dce67", "score": "0.58839184", "text": "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4da8e9683b65c2cb7a22ee151d8c65e1", "score": "0.58691067", "text": "public void gored() {\n\t\t\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "b77eac7bccbd213b5d32d3e935c81ffe", "score": "0.58503544", "text": "@Override\n\tpublic void einkaufen() {\n\t}", "title": "" }, { "docid": "d06828119af4f719fc9db2eac57f2601", "score": "0.5847024", "text": "@Override\n protected void initialize() {\n\n \n }", "title": "" }, { "docid": "8c4be9114abb8cb7b57dc3c5d34882a8", "score": "0.58239377", "text": "public void mo38117a() {\n }", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "2fda59f727914730e1ccc0c0b05e57bd", "score": "0.5810089", "text": "Constructor() {\r\n\t\t \r\n\t }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cc32bfffe770f8a5c5cf88e6af231ff8", "score": "0.5800025", "text": "@Override\n\tpublic void one() {\n\t\t\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1260bf70decb91faff8466bae6765ba2", "score": "0.5790187", "text": "private stendhal() {\n\t}", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5789414", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "f397b517b3f3532ba47ff3ee806bc420", "score": "0.5787092", "text": "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5761362", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4a5b709a6553621aa4226737a20ba120", "score": "0.5747959", "text": "@Override\n\tpublic void debite() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "7f454c1ee07328138017395e69b0420e", "score": "0.5721452", "text": "public contrustor(){\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "2911d3f6b10d531f37ba6cbbb1e4e44a", "score": "0.57142824", "text": "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "8862e414d1049ff417c2327b444db61e", "score": "0.5711723", "text": "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "title": "" }, { "docid": "29251cbd61f58d1440af2e558c6a19bc", "score": "0.57041645", "text": "@Override\n\tprotected void logic() {\n\n\t}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "86232e6a9aaa22e4403270ce10de01d3", "score": "0.5696783", "text": "public void mo4359a() {\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.56774884", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "c0ca0277e879a2b84cd3748b428dc4fa", "score": "0.56734604", "text": "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "dca752ff24c887a367479fb49a14a486", "score": "0.56728", "text": "private RepositorioAtendimentoPublicoHBM() {\r\t}", "title": "" }, { "docid": "137850fe8be37a8fdff9b5f1d19f9338", "score": "0.56696945", "text": "@Override\n protected void initialize() \n {\n \n }", "title": "" }, { "docid": "51fb4cf832bd3bdab07f36fa0655aed2", "score": "0.5661323", "text": "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "title": "" }, { "docid": "fb842ef1f250aaba4286c185df305a9b", "score": "0.5657007", "text": "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "cc19c0c7ab1bdc568508b0381e170621", "score": "0.56549734", "text": "@Override\n protected void prot() {\n }", "title": "" }, { "docid": "92ff2215e2946927efe966014fa1b664", "score": "0.5654792", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "title": "" }, { "docid": "289e1db116de136c64eef3293ece7f16", "score": "0.5652974", "text": "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "title": "" }, { "docid": "502b1954008fce4ba895ad7a32b37b97", "score": "0.5650185", "text": "public void mo55254a() {\n }", "title": "" } ]
f8124d962f63fca874f06c426f1cb255
set the portfolio to stress test
[ { "docid": "8aa7c3e7824233796e9aa94a7e762f18", "score": "0.61347264", "text": "public void setPortfolio(Portfolio pf) {\n this.portfolio = pf;\n }", "title": "" } ]
[ { "docid": "0b12667ac83029588ad79f1c0df46fe7", "score": "0.70632416", "text": "public StressTester(Portfolio pf) {\n this.portfolio = pf;\n rng = new Random();\n }", "title": "" }, { "docid": "d52c81f8887c1150e20b053b3dffa484", "score": "0.63017", "text": "public void buildTestPortfolio () {\n\r\n\t}", "title": "" }, { "docid": "84b180d6ae5bb55af2de7f83a5014253", "score": "0.5509906", "text": "public void setTest3(double t3)\n\t{\n\t\ttest3 = t3;\n\t}", "title": "" }, { "docid": "b33767c871751f161cf411a9e5456768", "score": "0.5445871", "text": "public void optimizePortfolio() {\n\t\tArrayList<String> optionNames = new ArrayList<String>(); \n\t\tfor (int i=0; i < knownSymbols.size(); i++) {\n\t\t\tif (!knownSymbols.get(i).equals(\"MIT1~RAND-E\")) {\n\t\t\t\toptionNames.add(knownSymbols.get(i)); \n\t\t\t}\n\t\t} \n\t\t//put vega and gamma within limits\n\t\tif (portfolioVega > minVega && portfolioVega < maxVega) {\n\t\t\tdouble maxRatio = 0.0; \n\t\t\tint maxIndex = 0; \n\t\t\t\n\t\t\t//find max ratio\n\t\t\tfor (int i=0; i< optionNames.size(); i++) {\n\t\t\t\tdouble ratio = ratios.get(optionNames.get(i)); \n\t\t\t\tif (ratio > maxRatio) {\n\t\t\t\t\tmaxRatio = ratio; \n\t\t\t\t\tmaxIndex = i; \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tString bestRatioOption = optionNames.get(maxIndex);\n\t\t\tif (portfolioGamma > maxGamma) {\n\t\t\t\tdouble gammaDifference = portfolioGamma - (maxGamma*0.99); \n\t\t\t\tdouble optionGamma = gammas.get(bestRatioOption); \n\t\t\t\torders.add(new OrderInfo(bestRatioOption, OrderSide.SELL, 0.01, (int)Math.ceil(gammaDifference/optionGamma))); \n\t\t\t\tdouble optionDelta = deltas.get(bestRatioOption); \n\t\t\t\tint roundedDelta = (int)Math.round(optionDelta); \n\t\t\t\tif (roundedDelta > 0) {\n\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.SELL, 0.01, (int)Math.round(optionDelta))); \n\t\t\t\t} else if (roundedDelta < 0) {\n\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.BUY, 1000.0, (int)Math.round(optionDelta))); \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\telse if (portfolioGamma < minGamma) {\n\t\t\t\tdouble gammaDifference = (minGamma*1.01) - portfolioGamma; \n\t\t\t\tdouble optionGamma = gammas.get(bestRatioOption); \n\t\t\t\torders.add(new OrderInfo(bestRatioOption, OrderSide.BUY, 10000.0, (int)Math.ceil(gammaDifference/optionGamma)));\n\t\t\t\tdouble optionDelta = deltas.get(bestRatioOption); \n\t\t\t\tint roundedDelta = (int)Math.round(optionDelta); \n\t\t\t\tif (roundedDelta > 0) {\n\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.SELL, 0.01, (int)Math.round(optionDelta))); \n\t\t\t\t} else if (roundedDelta < 0) {\n\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.BUY, 1000.0, (int)Math.round(optionDelta))); \n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\telse if (portfolioGamma > minGamma && portfolioGamma < maxGamma) {\n\t\t\tdouble minRatio = 0.0; \n\t\t\tint minIndex = 0; \n\t\t\t\n\t\t\t//find min ratio\n\t\t\tfor (int i=0; i< optionNames.size(); i++) {\n\t\t\t\tdouble ratio = ratios.get(optionNames.get(i)); \n\t\t\t\tif (ratio < minRatio) {\n\t\t\t\t\tminRatio = ratio; \n\t\t\t\t\tminIndex = i; \n\t\t\t\t}\n\t\t\t}\n\t\t\tString bestRatioOption = optionNames.get(minIndex);\n\t\t\t\n\t\t\tif (portfolioVega > maxVega) {\n\t\t\t\tdouble vegaDifference = portfolioVega - (maxVega*0.99); \n\t\t\t\tdouble optionVega = vegas.get(bestRatioOption); \n\t\t\t\torders.add(new OrderInfo(bestRatioOption, OrderSide.SELL, 0.01, (int)Math.ceil(vegaDifference/optionVega))); \n\t\t\t\tdouble optionDelta = deltas.get(bestRatioOption); \n\t\t\t\tint roundedDelta = (int)Math.round(optionDelta) * (int)Math.ceil(vegaDifference/optionVega); \n\t\t\t\tif (roundedDelta > 0) {\n\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.SELL, 0.01, (int)Math.round(optionDelta))); \n\t\t\t\t} else if (roundedDelta < 0) {\n\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.BUY, 1000.0, (int)Math.round(optionDelta))); \n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\telse if (portfolioVega < minVega) {\n\t\t\t\tdouble vegaDifference = (minVega*1.01) - portfolioVega; \n\t\t\t\tdouble optionVega = vegas.get(bestRatioOption); \n\t\t\t\torders.add(new OrderInfo(bestRatioOption, OrderSide.BUY, 10000.0, (int)Math.ceil(vegaDifference/optionVega)));\n\t\t\t\tdouble optionDelta = deltas.get(bestRatioOption); \n\t\t\t\tint roundedDelta = (int)Math.round(optionDelta) * (int)Math.ceil(vegaDifference/optionVega); \n\t\t\t\tif (roundedDelta > 0) {\n\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.SELL, 0.01, (int)Math.round(optionDelta))); \n\t\t\t\t} else if (roundedDelta < 0) {\n\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.BUY, 1000.0, (int)Math.round(optionDelta))); \n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\telse if (portfolioGamma > maxGamma && portfolioVega > maxVega) {\n\t\t\tdouble normalizedGammaOvershoot = (portfolioGamma - maxGamma)/(maxGamma-minGamma); \n\t\t\tdouble normalizedVegaOvershoot = (portfolioVega - maxVega)/(maxVega-minVega); \n\t\t\tdouble overshootGammaVegaRatio = normalizedGammaOvershoot/normalizedVegaOvershoot;\n\t\t\t\n\t\t\tdouble bestRatioDiff = 1000000000; \n\t\t\tint bestIndex = 0; \n\t\t\t\n\t\t\t//find best ratio\n\t\t\tfor (int i=0; i< optionNames.size(); i++) {\n\t\t\t\tdouble ratio = ratios.get(optionNames.get(i)); \n\t\t\t\tif (Math.abs((ratio - overshootGammaVegaRatio)) < bestRatioDiff) {\n\t\t\t\t\tbestRatioDiff = ratio - overshootGammaVegaRatio; \n\t\t\t\t\tbestIndex = i; \n\t\t\t\t}\n\t\t\t}\n\t\t\tString bestRatioOption = optionNames.get(bestIndex);\n\t\t\t\n\t\t\tdouble vegaDifference = portfolioVega - (maxVega*0.99);\n\t\t\tdouble optionVega = vegas.get(bestRatioOption);\n\t\t\t\n\t\t\tdouble gammaDifference = portfolioGamma - (maxGamma*0.99);\n\t\t\tdouble optionGamma = vegas.get(bestRatioOption); \n\t\t\t\n\t\t\tdouble numVegaOptions = Math.ceil(vegaDifference/optionVega); \n\t\t\tdouble numGammaOptions = Math.ceil(gammaDifference/optionGamma); \n\t\t\torders.add(new OrderInfo(bestRatioOption, OrderSide.SELL, 0.01, (int)Math.max(numVegaOptions, numGammaOptions))); \t\n\t\t\tdouble optionDelta = deltas.get(bestRatioOption); \n\t\t\tint roundedDelta = (int)Math.round(optionDelta) * (int)Math.max(numVegaOptions, numGammaOptions); \n\t\t\tif (roundedDelta > 0) {\n\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.SELL, 0.01, (int)Math.round(optionDelta))); \n\t\t\t} else if (roundedDelta < 0) {\n\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.BUY, 1000.0, (int)Math.round(optionDelta))); \n\t\t\t}\n\t\t}\n\t\t\n\t\telse if (portfolioGamma < minGamma && portfolioVega < minVega) {\n\t\t\tdouble normalizedGammaOvershoot = (minGamma - portfolioGamma)/(maxGamma-minGamma); \n\t\t\tdouble normalizedVegaOvershoot = (minVega - portfolioVega)/(maxVega-minVega); \n\t\t\tdouble overshootGammaVegaRatio = normalizedGammaOvershoot/normalizedVegaOvershoot;\n\t\t\t\n\t\t\tdouble bestRatioDiff = 1000000000; \n\t\t\tint bestIndex = 0; \n\t\t\t\n\t\t\t//find best ratio\n\t\t\tfor (int i=0; i< optionNames.size(); i++) {\n\t\t\t\tdouble ratio = ratios.get(optionNames.get(i)); \n\t\t\t\tif (Math.abs((ratio - overshootGammaVegaRatio)) < bestRatioDiff) {\n\t\t\t\t\tbestRatioDiff = ratio - overshootGammaVegaRatio; \n\t\t\t\t\tbestIndex = i; \n\t\t\t\t}\n\t\t\t}\n\t\t\tString bestRatioOption = optionNames.get(bestIndex);\n\t\t\t\n\t\t\tdouble vegaDifference = (minVega*1.01) - portfolioVega; \n\t\t\tdouble optionVega = vegas.get(bestRatioOption);\n\t\t\t\n\t\t\tdouble gammaDifference = (minGamma*1.01) - portfolioGamma;\n\t\t\tdouble optionGamma = vegas.get(bestRatioOption); \n\t\t\t\n\t\t\tdouble numVegaOptions = Math.ceil(vegaDifference/optionVega); \n\t\t\tdouble numGammaOptions = Math.ceil(gammaDifference/optionGamma); \n\t\t\torders.add(new OrderInfo(bestRatioOption, OrderSide.BUY, 100000.0, (int)Math.max(numVegaOptions, numGammaOptions)));\n\t\t\tdouble optionDelta = deltas.get(bestRatioOption); \n\t\t\tint roundedDelta = (int)Math.round(optionDelta) * (int)Math.max(numVegaOptions, numGammaOptions);; \n\t\t\tif (roundedDelta > 0) {\n\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.SELL, 0.01, (int)Math.round(optionDelta))); \n\t\t\t} else if (roundedDelta < 0) {\n\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.BUY, 1000.0, (int)Math.round(optionDelta))); \n\t\t\t}\n\t\t}\n\t\t\n\t\tif (penalty==false) {\n\t\t\t\n\t\t\tlog(\"MAX ITER: \" + String.valueOf(maxIter)); \n\t\t\tlog(\"OPTIMIZING\");\n\t\t\t//theoretical greeks\n\t\t\tdouble theoGamma = portfolioGamma;\n\t\t\tdouble theoVega = portfolioVega; \n\t\t\t\n\t\t\tboolean run = false; \n\t\t\t//maximum iterations\n\t\t\tlog(\"OPTIM_GAMMA: \" + String.valueOf(portfolioGamma)); \n\t\t\tlog(\"OPTIM_VEGA: \" + String.valueOf(portfolioVega)); \n\t\t\tlog(\"OPTIM_PORT_GAMMA: \" + String.valueOf(forecastGamma)); \n\t\t\tlog(\"OPTIM_PORT_VEGA: \" + String.valueOf(forecastVega)); \n\t\t\tif (portfolioGamma >= forecastGamma && portfolioVega >= forecastVega && run==false) {\n\t\t\t\trun = true; \n\t\t\t\tdouble desiredGamma = Math.max(minGamma, forecastGamma); \n\t\t\t\tdouble desiredVega = Math.max(minVega, forecastVega); \n\t\t\t\tdouble cost = this.costFunction(theoGamma, theoVega, desiredGamma, desiredVega); \n\t\t\t\tdouble oldcost = cost; \n\t\t\t\tint count = 0; \n\t\t\t\tlog(\"WE GOT HERE\"); \n\t\t\t\twhile (cost <= oldcost) {\n\t\t\t\t\t\n\t\t\t\t\tif (count > maxIter) {\n\t\t\t\t\t\tbreak; \n\t\t\t\t\t} \n\t\t\t\t\t\n\t\t\t\t\t//log(\"OVER GREEKS\"); \n\t\t\t\t\t//log(\"OLDCOST: \" + String.valueOf(oldcost) + \"| NEWCOST: \" + String.valueOf(cost)); \n\t\t\t\t\tint randomIndex = randomGenerator.nextInt(optionNames.size()); \n\t\t\t\t\tString randomOption = optionNames.get(randomIndex);\n\t\t\t\t\tdouble optionGamma = gammas.get(randomOption);\n\t\t\t\t\tdouble optionVega = vegas.get(randomOption); \n\t\t\t\t\tdouble optionDelta = deltas.get(randomOption); \n\t\t\t\t\tint roundedDelta = (int)Math.round(optionDelta); \n\t\t\t\t\ttheoGamma -= optionGamma;\n\t\t\t\t\ttheoVega -= optionVega; \n\t\t\t\t\toldcost = cost; \n\t\t\t\t\tcost = this.costFunction(theoGamma, theoVega, desiredGamma, desiredVega); \n\t\t\t\t\t//log(\"OLD_COST: \" + String.valueOf(oldcost));\n\t\t\t\t\t//log(\"NEW_CST: \" + String.valueOf(cost)); \n\t\t\t\t\torders.add(new OrderInfo(randomOption, OrderSide.SELL, 0.01, 1)); \n\t\t\t\t\tif (roundedDelta > 0) {\n\t\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.SELL, 0.01, (int)Math.round(optionDelta))); \n\t\t\t\t\t} else if (roundedDelta < 0) {\n\t\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.BUY, 1000.0, (int)Math.round(optionDelta))); \n\t\t\t\t\t}\n\t\t\t\t\tcount++; \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t} else if (portfolioGamma <= forecastGamma && portfolioVega <= forecastVega && run==false) {\n\t\t\t\trun = true; \n\t\t\t\tdouble desiredGamma = Math.min(maxGamma, forecastGamma); \n\t\t\t\tdouble desiredVega = Math.max(maxVega, forecastVega); \n\t\t\t\tdouble cost = this.costFunction(theoGamma, theoVega, desiredGamma, desiredVega); \n\t\t\t\tdouble oldcost = cost; \n\t\t\t\tint count = 0; \n\t\t\t\tlog(\"WE GOT HERE 2\"); \n\t\t\t\twhile (cost <= oldcost) {\n\t\t\t\t\t\n\t\t\t\t\tif (count > maxIter) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t//log(\"UNDER GREEKS\"); \n\t\t\t\t\t//log(\"OLDCOST: \" + String.valueOf(oldcost) + \"| NEWCOST: \" + String.valueOf(cost)); \n\t\t\t\t\tint randomIndex = randomGenerator.nextInt(optionNames.size()); \n\t\t\t\t\tString randomOption = optionNames.get(randomIndex); \n\t\t\t\t\tdouble optionGamma = gammas.get(randomOption);\n\t\t\t\t\tdouble optionVega = vegas.get(randomOption); \n\t\t\t\t\tdouble optionDelta = deltas.get(randomOption); \n\t\t\t\t\tint roundedDelta = (int)Math.round(optionDelta); \n\t\t\t\t\ttheoGamma += optionGamma;\n\t\t\t\t\ttheoVega += optionVega; \n\t\t\t\t\toldcost = cost; \n\t\t\t\t\tcost = this.costFunction(theoGamma, theoVega, desiredGamma, desiredVega); \n\t\t\t\t\t//log(\"OLD_COST2: \" + String.valueOf(oldcost));\n\t\t\t\t\t//log(\"NEW_CST2: \" + String.valueOf(cost)); \n\t\t\t\t\torders.add(new OrderInfo(randomOption, OrderSide.BUY, 10000.0, 1)); \n\t\t\t\t\tif (roundedDelta > 0) {\n\t\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.SELL, 0.01, (int)Math.round(optionDelta))); \n\t\t\t\t\t} else if (roundedDelta < 0) {\n\t\t\t\t\t\torders.add(new OrderInfo(\"MIT1~RAND-E\", OrderSide.BUY, 1000.0, (int)Math.round(optionDelta))); \n\t\t\t\t\t}\n\t\t\t\t\tcount++; \n\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tpenalty = false; \n\t}", "title": "" }, { "docid": "d6dae08ac96c7153313706c8ed62e522", "score": "0.5252522", "text": "public void setPortfolioNumber(int portfolioNumber) {\n\t\tthis.portfolioNumber = portfolioNumber;\n\t}", "title": "" }, { "docid": "bb2fea015a1f8bbfa7c9c19d5072d7ca", "score": "0.524431", "text": "@Before\n public void setup() {\n price.setPrice(1f);\n }", "title": "" }, { "docid": "b8408933888377d1ecd2fbcc33fa25a7", "score": "0.51995146", "text": "public static void main(String args[]){\n\t\tMonteCarloSimulationStrategy strategy = new MonteCarloSimulationStrategy(10000, 3.50, 20);\r\n\t\t\r\n\t\t//Create aggressive portfolio for 100K investment at expected return of 9.4324% and acceptable risk of 15.675\r\n\t\tInvestmentPortfolio aggressivePortfolio = new InvestmentPortfolio(\"A - Aggressive\", 100000, 9.4324, 15.675);\r\n\t\tInvestmentPortfolio conservativePortfolio = new InvestmentPortfolio(\"I - Very Conservative\", 100000, 6.189, 6.3438);\r\n\t\tMap<String, SimulationResult> simulationResults = InvestmentReturnSimulator.simulatePortfolioInvestmentReturn(Arrays.asList(conservativePortfolio, aggressivePortfolio), strategy);\r\n\t\tprintSimulationResults(simulationResults, conservativePortfolio, aggressivePortfolio);\r\n\t}", "title": "" }, { "docid": "f1b922cdbf71adab5f60b04a93481929", "score": "0.51634705", "text": "public void setTest1(double t1)\n\t{\n\t\ttest1 = t1;\n\t}", "title": "" }, { "docid": "509a0b63d606bfcfb443c14092c96d3c", "score": "0.51210713", "text": "public final void setUp()\r\n {\n \r\n executor = new ForkJoinPool();\r\n streme1 = new TanfStreme(executor);\r\n\r\n// streme2 = new Streme3(anfe);\r\n// MacroExpander me2 = new MacroExpander();\r\n// me2.setLetToLambda(false);\r\n// me2.setLetrecToLambda(false);\r\n// streme2.addDataRewriter(me2);\r\n// streme2.addAstRewriter(new AlphaConverter(RenamingStrategy.NUMBER_RENAMING_STRATEGY));\r\n// streme2.addAstRewriter(new AnfConverter(RenamingStrategy.NUMBER_RENAMING_STRATEGY));\r\n }", "title": "" }, { "docid": "2afb8f74f5033e373df7b4035ae4643e", "score": "0.5057089", "text": "void setTests(int tests);", "title": "" }, { "docid": "ba71df95306715ab479f53057c354cd2", "score": "0.50440705", "text": "@Override\r\n public void teach() {\n double[] fitness = cma.init();\r\n\r\n while (cma.stopConditions.getNumber() == 0) {\r\n\r\n // --- core iteration step ---\r\n double[][] pop = cma.samplePopulation(); // get a new population of solutions\r\n for (int i = 0; i < pop.length; ++i) { // for each candidate solution i\r\n fitness[i] = valueOf(pop[i]); // fitfun.valueOf() is to be minimized\r\n }\r\n cma.updateDistribution(fitness); // pass fitness array to update search distribution\r\n // --- end core iteration step ---\r\n }\r\n cma.setFitnessOfMeanX(valueOf(cma.getMeanX())); // updates the best ever solution\r\n }", "title": "" }, { "docid": "4e8bbf35d163eb506a5ecd2ab6e0493c", "score": "0.4827769", "text": "public void setEevalWorkEffort(EevalWorkEffort_type0 param) {\n clearAllSettingTrackers();\n localEevalWorkEffortTracker = param != null;\n\n this.localEevalWorkEffort = param;\n }", "title": "" }, { "docid": "2f5b4b03afd923e9615891eae58855f1", "score": "0.48205766", "text": "public void billing(){\n\t\tString portfolio;\r\n\t/*\tif(portfolio==\"C\")\r\n\t\t\t\r\n\t\telse if(portfolio==\"V\")\r\n\t\t\r\n\t\telse if(portfolio==\"W\")\r\n\t\t\t\r\n\t\telse \r\n\t\t\tSystem.out.println(\"error\");\r\n*/\r\n\t}", "title": "" }, { "docid": "332f8d879a3f8cb245049b29688e9752", "score": "0.48125395", "text": "public Portfolio() {\n }", "title": "" }, { "docid": "8edbdebc2f03e1dd835aea5a9824df5c", "score": "0.48096257", "text": "public void setTestCase(float testCase) {\r\n \tthis.testCase = testCase;\r\n }", "title": "" }, { "docid": "1ecd77d18312355eecac81d93b5b0b94", "score": "0.48092744", "text": "public void setSetSpeed(double lim){\n\t\n\t\tmyTrain.setSetSpeed(lim);\n\t\n\t}", "title": "" }, { "docid": "c13eb9f933d7e9ce6a008ad845dfb5a5", "score": "0.47897387", "text": "@Test\r\n public void testSetPowerStationsTradeInformation() {\r\n System.out.println(\"setPowerStationsTradeInformation\");\r\n\r\n }", "title": "" }, { "docid": "902410acd803ce1b8e154f5893f3409f", "score": "0.47665277", "text": "public int getPortfolioNumber() {\n\t\treturn portfolioNumber;\n\t}", "title": "" }, { "docid": "a2d6f67bd7884d57e24c11485c4d4cf1", "score": "0.47652897", "text": "@Override \n protected void doRun() { \n\n // Create portfolio writer\n PortfolioWriter portfolioWriter = constructPortfolioWriter(\n getCommandLine().getOptionValue(FILE_NAME_OPT), \n getCommandLine().getOptionValue(SECURITY_TYPE_OPT)\n );\n \n portfolioWriter.close();\n }", "title": "" }, { "docid": "cf4da345da8f8f4e73b630e8115709b3", "score": "0.4758736", "text": "public SecurityMgrStressTestCase(String name)\n {\n super(name);\n }", "title": "" }, { "docid": "0cc07d78df095776277ab6752d85a035", "score": "0.4751483", "text": "public void setNumTestsRun(int param){\n \n this.localNumTestsRun=param;\n \n\n }", "title": "" }, { "docid": "fdb342ebc6673dd6642c2b57de57017e", "score": "0.47499254", "text": "public void setSweepOn(java.lang.String param){\r\n localSweepOnTracker = param != null;\r\n \r\n this.localSweepOn=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "fdb342ebc6673dd6642c2b57de57017e", "score": "0.47499254", "text": "public void setSweepOn(java.lang.String param){\r\n localSweepOnTracker = param != null;\r\n \r\n this.localSweepOn=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "598743dfd70b24484c60875e2c08441f", "score": "0.4727893", "text": "public SoftwareEngineer(String nameToSet, double salaryToSet) {\n cash = 0.0;\n name = nameToSet;\n salary = salaryToSet;\n }", "title": "" }, { "docid": "c3fc446fa171e4603afe66d1eb105cce", "score": "0.47263733", "text": "public void write(Portfolio portfolio, Set<ManageableSecurity> securities) {\n\n persistSecurities(securities);\n persistPortfolio(portfolio);\n }", "title": "" }, { "docid": "86dbf0490b8d5e80690c6104796f1e32", "score": "0.47111887", "text": "public static void assignPrices(Planet planet) {\n List<TradeGoods> goods = TradeGoods.getGoods();\n\n for (int i = 0; i < goods.size(); i++) {\n TradeGoods good = goods.get(i);\n //Random r = new Random();\n //int luck = r.nextInt(good.getVar()) + 1;\n //luck /= 100;\n\n int price = good.getBasePrice();\n price += (good.getIpl() * (planet.getTechLevel().ordinal() - good.getMtlp()));\n //price += (good.getBasePrice()*luck);\n\n if (good == TradeGoods.WATER) {\n planet.setWaterPrice(price);\n planet.setWaterSell(price * (Player.getTraderSkill() / 16));\n } else if (good == TradeGoods.FURS) {\n planet.setFurPrice(price);\n planet.setFurSell(price * (Player.getTraderSkill() / 16));\n } else if (good == TradeGoods.FOOD) {\n planet.setFoodPrice(price);\n planet.setFoodSell(price * (Player.getTraderSkill() / 16));\n } else if (good == TradeGoods.ORE) {\n planet.setOrePrice(price);\n planet.setOreSell(price * (Player.getTraderSkill() / 16));\n } else if (good == TradeGoods.GAMES) {\n planet.setGamePrice(price);\n planet.setGameSell(price * (Player.getTraderSkill() / 16));\n } else if (good == TradeGoods.FIREARMS) {\n planet.setFirearmPrice(price);\n planet.setFirearmSell(price * (Player.getTraderSkill() / 16));\n } else if (good == TradeGoods.MEDICINE) {\n planet.setMedicinePrice(price);\n planet.setMedicineSell(price * (Player.getTraderSkill() / 16));\n } else if (good == TradeGoods.MACHINES) {\n planet.setMachinePrice(price);\n planet.setMachineSell(price * (Player.getTraderSkill() / 16));\n } else if (good == TradeGoods.NARCOTICS) {\n planet.setNarcoticPrice(price);\n planet.setNarcoticSell(price * (Player.getTraderSkill() / 16));\n } else if (good == TradeGoods.ROBOTS) {\n planet.setRobotPrice(price);\n planet.setRobotSell(price * (Player.getTraderSkill() / 16));\n }\n }\n }", "title": "" }, { "docid": "984375dfd3532ba83c8da0959e8ccb07", "score": "0.47075608", "text": "@Test\r\n public void testSetMonto() {\r\n System.out.println(\"setMonto\");\r\n Double monto = null;\r\n Credito instance = new Credito();\r\n instance.setMonto(monto);\r\n // TODO review the generated test code and remove the default call to fail.\r\n //fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "c0940d508cff0c9d79e076dea72abe63", "score": "0.47035658", "text": "private void setUpPool() {\n\t\twaterPistol = new WaterPistol(\"water pistol\");\n\n Water water1 = new Water(waterPistol);\n (earth.at(0, 8)).setGround(water1);\n Water water2 = new Water(waterPistol);\n (earth.at(1, 8)).setGround(water2);\n Water water3 = new Water(waterPistol);\n (earth.at(2, 9)).setGround(water3);\n Water water4 = new Water(waterPistol);\n (earth.at(3, 9)).setGround(water4);\n Water water5 = new Water(waterPistol);\n (earth.at(4, 9)).setGround(water5);\n Water water6 = new Water(waterPistol);\n (earth.at(5, 10)).setGround(water6);\n\t}", "title": "" }, { "docid": "624cca510712a54f718354754b5d059f", "score": "0.4701106", "text": "public void setExperiments(int value) {\r\n this.experiments = value;\r\n }", "title": "" }, { "docid": "2da3f855e136afe093016edec189b607", "score": "0.46858865", "text": "@Test\r\n public void testSetTiempo() {\r\n System.out.println(\"setTiempo\");\r\n int tiempo = 0;\r\n Credito instance = new Credito();\r\n instance.setTiempo(tiempo);\r\n // TODO review the generated test code and remove the default call to fail.\r\n //fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "0b941ea18dd9c3869b4a97c824393798", "score": "0.46782762", "text": "public static void assignProductQuantity(Planet planet) {\n List<TradeGoods> goods = TradeGoods.getGoods();\n\n for (int i = 0; i < goods.size(); i++) {\n TradeGoods good = goods.get(i);\n //Random rand = new Random();\n //int chance = rand.nextInt(good.getVar()) + 1;\n //chance *= 5;\n\n int quant = good.getTtp();\n quant += (good.getTtp()) + 20;\n //quant += (good.getTtp() * chance) + 20;\n\n if (good == TradeGoods.WATER) {\n planet.setWaterQuant(quant);\n planet.setWaterQuantSell(0);\n } else if (good == TradeGoods.FURS) {\n planet.setFurQuant(quant);\n planet.setFurQuantSell(0);\n } else if (good == TradeGoods.FOOD) {\n planet.setFoodQuant(quant);\n planet.setFoodQuantSell(0);\n } else if (good == TradeGoods.ORE) {\n planet.setOreQuant(quant);\n planet.setOreQuantSell(0);\n } else if (good == TradeGoods.GAMES) {\n planet.setGameQuant(quant);\n planet.setGameQuantSell(0);\n } else if (good == TradeGoods.FIREARMS) {\n planet.setFirearmQuant(quant);\n planet.setFirearmQuantSell(0);\n } else if (good == TradeGoods.MEDICINE) {\n planet.setMedicineQuant(quant);\n planet.setMedicineQuantSell(0);\n } else if (good == TradeGoods.MACHINES) {\n planet.setMachineQuant(quant);\n planet.setMachineQuantSell(0);\n } else if (good == TradeGoods.NARCOTICS) {\n planet.setNarcoticQuant(quant);\n planet.setNarcoticQuantSell(0);\n } else if (good == TradeGoods.ROBOTS) {\n planet.setRobotQuant(quant);\n planet.setRobotQuantSell(0);\n }\n }\n }", "title": "" }, { "docid": "db8ba1354875786c5889e50d0896067f", "score": "0.46741635", "text": "public void simulateTrading();", "title": "" }, { "docid": "c89ea44c4a1f2c88fd35fc2048f23a00", "score": "0.46666598", "text": "private void setDemandAndConsumption(RandomParameters randomParameters) {\n\t\tfor (String retailFacilityId : topology.getRetailIds()) {\n\t\t\tFacility facility = facilityRepo.getFacility(retailFacilityId); \n\t\t\tfor (int t = randomParameters.startPeriod; t < simulationStartPeriod; ++t) {\n\t\t\t\tint d = demand.getDemand(retailFacilityId, t);\n\t\t\t\tfacility.setDemand(t, d);\n\t\t\t\tfacility.setConsumption(t, d);\n\t\t\t}\n\t\t}\n\t\t// for regional facilities, set the demand and consumption as well\n\t\tfor (String retailFacilityId : topology.getRetailIds()) {\n\t\t\tString regionalFacilityId = topology.getRegional(retailFacilityId);\n\t\t\tFacility regionalFacility = facilityRepo.getFacility(regionalFacilityId);\n\t\t\tfor (int t = randomParameters.startPeriod; t < simulationStartPeriod; ++t) {\n\t\t\t\t// the current demand at the regional facility \n\t\t\t\tint d = regionalFacility.getDemand(t);\n\t\t\t\td += demand.getDemand(retailFacilityId, t);\n\t\t\t\tregionalFacility.setDemand(t, d);\n\t\t\t\tregionalFacility.setConsumption(t, d);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "34b567e5a9d30acf57a9cf548c3f6e19", "score": "0.46651375", "text": "public ProjectPortfolioDataModel() {\n measures.add(new MeasureConfiguration(\"Coverage\", true, 40, 90, true, this));\n measures.add(new MeasureConfiguration(\"CyclomaticComplexity\", true, 10, 20, false, this));\n measures.add(new MeasureConfiguration(\"Coupling\", true, 10, 20, false, this));\n measures.add(new MeasureConfiguration(\"Churn\", true, 400, 900, false, this));\n measures.add(new MeasureConfiguration(\"CodeIssue\", true, 10, 30, false, this));\n measures.add(new MeasureConfiguration(\"Commit\", false, 0, 0, true, this));\n measures.add(new MeasureConfiguration(\"Build\", false, 0, 0, true, this));\n measures.add(new MeasureConfiguration(\"UnitTest\", false, 0, 0, true, this));\n measures.add(new MeasureConfiguration(\"FileMetric\", false, 0, 0, true, this));\n measures.add(new MeasureConfiguration(\"DevTime\", false, 0, 0, true, this));\n \n measureAlias.put(\"CyclomaticComplexity\", \"Complexity\");\n }", "title": "" }, { "docid": "fa2eb0d2159dce27fdc18f6d14403fcf", "score": "0.4660799", "text": "public void trading() {\n }", "title": "" }, { "docid": "0d873643e42c1c3297dfc9f0c6ea0115", "score": "0.4660032", "text": "protected void setUp() throws Exception {\n contestPlan = new ContestPlan();\n }", "title": "" }, { "docid": "8dc70915f0883de3665f3d8f725f6e31", "score": "0.46549654", "text": "public void setTest(boolean test) {\n this.test = test;\n }", "title": "" }, { "docid": "03142e785fd1414c533dbfb7a19dd615", "score": "0.46534315", "text": "public void testPeriodic() {\n \n }", "title": "" }, { "docid": "4ab7532ec1f5b10fb32e8e0391ebb429", "score": "0.46498835", "text": "public void setPrijs (double prijs) {\n this.prijs = prijs;\n }", "title": "" }, { "docid": "033a8deaa4d6cb9b6d69fb7c8bdd8f7f", "score": "0.46354645", "text": "@Test\r\n public void testSetTasaInteres() {\r\n System.out.println(\"setTasaInteres\");\r\n TasaInteres tasaInteres = null;\r\n Credito instance = new Credito();\r\n instance.setTasaInteres(tasaInteres);\r\n // TODO review the generated test code and remove the default call to fail.\r\n //fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "e73078b62995f6c3ef233ff3da7311e2", "score": "0.46348095", "text": "public void buildCandidatePortfoliosForMaxROI() {\t\r\n\t\tString sTitle =\"Strategy Optimizer Battery I: <strong>Optimze for Maximum Return on Investment</strong>\";\r\n\t\tString sDiscussion =\"This part of the optimizer attempts to find the strategy to maximize annualized Return on Investment (<i>ROI</i>). \"\r\n\t\t\t\t+ \"The <i>ROI</i> approaches the ideal only. No regard is given to opportunity cost of investible capital\"\r\n\t\t\t\t+ \"when not being place in an active trade. It assumes that capital is immediately invested in the next\"\r\n\t\t\t\t+ \" trade upon exiting the prior trade. It assumes the amount of capital applied to each trade is equal.\"\r\n\t\t\t\t+ \" None of these conditions is possible, however, the variables removed may be considered noisy\"\r\n\t\t\t\t+ \" and thus the strategy recommended may be the traderís preferred choice.\";\r\n\t\t//Tools.createSectionHeader(sTitle, sDiscussion);\r\n\t\tthis.appendHtmlTextPane(String.format(\"<p>%s</p><p>%s</p>\",sTitle, sDiscussion));\r\n\t\t// make a list of potential portfolios to be recommended\r\n\t\tcandidatePortfolios = new ArrayList<PortfolioGroup>();\t\t\r\n\t\tthis.createScenarios();\t\r\n\t\t//System.out.println(this.getScenarios().toString());\t\r\n\t\tthis.appendHtmlTextPane(this.getScenariosHolderClass().toString());\t\r\n\t\t//... use the ROI of the initial portfolio as a benchmark\r\n\t\tdouble lastROI = initialPortfolioGroup.getROI();\r\n\t\tPortfolioGroup p;\r\n\t\ttry {\r\n\t\t\twhile (this.moreScenarios()) {\r\n\t\t\t\tMoneyMgmtStrategy mms = new MoneyMgmtStrategy() ;\r\n\t\t\t\tthis.setCurrentScenario(this.getNextScenario());\r\n\t\t\t//\tPcts4Lyer cs = new Pcts4Lyer (this.getCurrentScenario());\r\n\t\t\t\t//... create copies of the initial portfolio then add new stops ...\r\n\t\t\t\tmms.setImposedExitType(this.getCurrentScenario().getExitType());\t\t\r\n\t\t\t\t//create a new portfolio instance and save it to p.\r\n\t\t\t\t//this portfolio will have the same entry and stop exit but will have a trailing-stop order with\r\n\t\t\t\t//incrementally-adjusting values\r\n\t\t\t\tp = buildCandidatePortfolioForROI(mms);\r\n\t\t\t\t// ... execute the new portfolio with the stop parameters specified by the mms\r\n\t\t // System.out.println(StringUtils.repeat(\"*\", GlobalVars.outputLineWidth1));\r\n\t//\t Tools.carriageReturn(2);\r\n\t\t//\t\tTools.drawSeprator();\r\n\t\t\t\t//System.out.printf(\"Begin Scenario #%s\\n\", this.getCurrentScenario().getIdNum());\r\n\t\t\t//\tTools.drawTitle(String.format(\"Begin Scenario #%s\", this.getCurrentScenario().getIdNum()));\r\n\t\t\t\tthis.appendHtmlTextPane(String.format(\"<p><h2>Begin Scenario #%s</h2></p>\", this.getCurrentScenario().getIdNum()));\r\n\t\t // Tools.drawSeprator();\r\n\t\t\t\tp.executeOrders(mms);\r\n\t\t\t\tdouble roi = p.getROI(\"tempMMS\");\r\n\t\t//\t\tSystem.out.printf(\"<p>Scenario #%s ROI = %s</p> \", this.getCurrentScenario().getIdNum(), pf.format(roi));\r\n\t\t\t\tthis.appendHtmlTextPane(String.format(\"<p><hr><h2>Scenario #%s <i>ROI</i>: <b>%s</b></h2><hr><hr></p> \", this.getCurrentScenario().getIdNum(), pf.format(roi)));\r\n\t\t\t\tif (lastROI < roi) {\r\n\t\t\t\t\tthis.setBestScenarioIdNum(this.getCurrentScenario().getIdNum());\r\n\t\t\t\t\t//... and if it is an improvement save it to the list ...\r\n\t\t\t\t\tcandidatePortfolios.add(p);\r\n\t\t\t\t\tthis.setBestCandidatePortfolio(p); \r\n\t\t\t\t\t// ... keep its ROI for comparison to the next larger portfolio ...\r\n\t\t\t\t\tlastROI = roi;\r\n\t\t\t\t}\r\n\t\t\t\tp.reset4NextSenario();\r\n\t\t\t}\t//while\t\r\n\t // Tools.drawSeprator();\r\n\t\t\t//**********Start Recommendations Section *************************/\r\n\t\t\tthis.setHtmlTextPane(\"<h1>Analysis and Recommendations from Trade<i>Coach</i></h1>\");\r\n\t\t\tthis.appendHtmlTextPane(String.format(\"%s<br><br>\",dfLongDateAndTime.format(new Date())));\r\n\t\t\tif(this.getBestCandidatePortfolio()==null) {\r\n\t\t\t\t//System.out.println(\"The intitial portfilio could not be improved upon\");\r\n\t\t\t\t//this.appendToAnalysisTextArea(\"<p>The intitial portfilio could not be improved upon</p>\");\r\n\t\t\t\tthis.appendToTextPane(\"<p>The intitial portfilio could not be improved upon</p>\", this.getBelongsToGUI().getAnalysisTextPane());\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t // System.out.printf(\"\\nThe best scenario was #%s with an <i>ROI</i> of %s\\n\" ,this.getBestScenarioIdNum(),pf.format(this.getBestCandidatePortfolio().getROI()));\r\n\t\t\t//\tSystem.out.println(\"We recommend using the following scenario \" + this.getBestScenario().toString());\r\n\t\t\t//\tSystem.out.println(\"Multiplying each trailing stop percent by |Beta|\");\r\n\t\t\t\tString s = String.format(\"<p>The best scenario was Scenario no. %s with an <i>ROI</i> of %s</p>\" ,this.getBestScenarioIdNum(),pf.format(this.getBestCandidatePortfolio().getROI()));\r\n\t\t\t\ts += String.format(\"<p>We recommend using the following scenario %s</p>\",this.getBestScenario().toString());\r\n\t\t\t\ts += String.format(\"<p>Multiplying each trailing stop percent by absolute value of |<i>Beta</i>|</p>\");\r\n\t\t\t//\tthis.appendToAnalysisTextArea(s);\r\n\t\t\t\tthis.appendToTextPane(s, this.getBelongsToGUI().getAnalysisTextPane());\r\n\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\tTools.createSectionFooter(sTitle);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "424223df37f6c9039b73795c516d5de0", "score": "0.46337867", "text": "public void testPeriodic() {\n\t}", "title": "" }, { "docid": "b6223afbddb1fc374479991753c500ec", "score": "0.46303695", "text": "@Test\r\n public void testSetStok() {\r\n System.out.println(\"setStok\");\r\n int Stok = 0;\r\n Penjualan instance = new Penjualan();\r\n instance.setStok(Stok);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "4149a9d49b87cab51d3a7d39cec23b38", "score": "0.46235526", "text": "@Override\n\tpublic void updatePortfolio(Contract contract, int position,\n\t\t\tdouble marketPrice, double marketValue, double averageCost,\n\t\t\tdouble unrealizedPNL, double realizedPNL, String accountName) {\n\t\t\n\t}", "title": "" }, { "docid": "b0401a48e2140ff5a4044981f9dda304", "score": "0.4621502", "text": "void setSavingsGoal(Amount goal);", "title": "" }, { "docid": "4ef12a71b0e5acec161bc6ac73a1d80d", "score": "0.46192634", "text": "@Override\n\tpublic void GeneratePortfolio(String direction, String remark) {\n\t\tif(direction.contains(\"OPEN\")){\n\t\t\tm_TacticID = helper.GenerateGuid();\n\t\t}\t\n\t\t\n\t\ttmpPort.m_ListFuture.clear();\n\t\ttmpPort.m_ListSecurity.clear();\n\t\ttmpPort.m_PortInfo\t\t= m_ProdInfo;\n\t\ttmpPort.m_TacticID \t\t= m_TacticID;\n\t\t\n\t\tif(direction.equals(\"OPEN-SELL\")){\n\t\t\tEntrust e1 \t\t\t= new Entrust(m_sAG, m_AGRT_ASK1 - m_AGSpread, JctpConstants.STRING_THOST_FTDC_OF_Open, JctpConstants.THOST_FTDC_D_Buy, m_numAG);\n//\t\t\tEntrust e1 \t\t\t= new Entrust(m_sAG, JctpConstants.STRING_THOST_FTDC_OF_Open, JctpConstants.THOST_FTDC_D_Buy, m_numAG);\n\t\t\te1.m_PortInfo \t\t= m_ProdInfo;\n\t\t\te1.m_remark\t\t\t= remark;\n\t\t\ttmpPort.m_ListFuture.add(e1);\n\t\t\t\n\t\t\tEntrust e2 \t\t\t= new Entrust(m_sAU, m_AURT_BID1 + m_AUSpread, JctpConstants.STRING_THOST_FTDC_OF_Open, JctpConstants.THOST_FTDC_D_Sell, m_numAU);\n//\t\t\tEntrust e2 \t\t\t= new Entrust(m_sAU, JctpConstants.STRING_THOST_FTDC_OF_Open, JctpConstants.THOST_FTDC_D_Sell, m_numAU);\n\t\t\te2.m_PortInfo \t\t= m_ProdInfo;\n\t\t\te2.m_remark\t\t\t= remark;\n\t\t\ttmpPort.m_ListFuture.add(e2);\n\t\t}\n\t\telse if(direction.equals(\"OPEN-BUY\")){\n\t\t\tEntrust e1 \t\t\t= new Entrust(m_sAU, m_AURT_ASK1 - m_AUSpread, JctpConstants.STRING_THOST_FTDC_OF_Open, JctpConstants.THOST_FTDC_D_Buy, m_numAU);\n//\t\t\tEntrust e1 \t\t\t= new Entrust(m_sAU, JctpConstants.STRING_THOST_FTDC_OF_Open, JctpConstants.THOST_FTDC_D_Buy, m_numAU);\n\t\t\te1.m_PortInfo \t\t= m_ProdInfo;\n\t\t\te1.m_remark\t\t\t= remark;\n\t\t\ttmpPort.m_ListFuture.add(e1);\n\t\t\t\n\t\t\tEntrust e2 \t\t\t= new Entrust(m_sAG, m_AGRT_BID1 + m_AGSpread, JctpConstants.STRING_THOST_FTDC_OF_Open, JctpConstants.THOST_FTDC_D_Sell, m_numAG);\n//\t\t\tEntrust e2 \t\t\t= new Entrust(m_sAG, JctpConstants.STRING_THOST_FTDC_OF_Open, JctpConstants.THOST_FTDC_D_Sell, m_numAG);\n\t\t\te2.m_PortInfo \t\t= m_ProdInfo;\n\t\t\te2.m_remark\t\t\t= remark;\n\t\t\ttmpPort.m_ListFuture.add(e2);\n\t\t}\n\t\telse if(direction.equals(\"CLOSE-BUY\")){\n//\t\t\tEntrust e1 \t\t\t= new Entrust(m_sAU, m_AURT_ASK1 - m_AUSpread, JctpConstants.STRING_THOST_FTDC_OF_Close, JctpConstants.THOST_FTDC_D_Buy, m_numAU);\n\t\t\tEntrust e1 \t\t\t= new Entrust(m_sAU, m_AURT_ASK1 - m_AUSpread, JctpConstants.STRING_THOST_FTDC_OF_CloseToday, JctpConstants.THOST_FTDC_D_Buy, m_numAU);\n//\t\t\tEntrust e1 \t\t\t= new Entrust(m_sAU, JctpConstants.STRING_THOST_FTDC_OF_CloseToday, JctpConstants.THOST_FTDC_D_Buy, m_numAU);\n\t\t\te1.m_PortInfo \t\t= m_ProdInfo;\n\t\t\te1.m_remark\t\t\t= remark;\n\t\t\ttmpPort.m_ListFuture.add(e1);\n\t\t\t\n\t\t\tEntrust e2 \t\t\t= new Entrust(m_sAG, m_AGRT_BID1 + m_AGSpread, JctpConstants.STRING_THOST_FTDC_OF_CloseToday, JctpConstants.THOST_FTDC_D_Sell, m_numAG);\n//\t\t\tEntrust e2 \t\t\t= new Entrust(m_sAG, JctpConstants.STRING_THOST_FTDC_OF_CloseToday, JctpConstants.THOST_FTDC_D_Sell, m_numAG);\n\t\t\te2.m_PortInfo \t\t= m_ProdInfo;\n\t\t\te2.m_remark\t\t\t= remark;\n\t\t\ttmpPort.m_ListFuture.add(e2);\n\t\t}\n\t\telse if(direction.equals(\"CLOSE-SELL\")){\n\t\t\tEntrust e1 \t\t\t= new Entrust(m_sAU, m_AURT_BID1 + m_AUSpread, JctpConstants.STRING_THOST_FTDC_OF_CloseToday, JctpConstants.THOST_FTDC_D_Sell, m_numAU);\n//\t\t\tEntrust e1 \t\t\t= new Entrust(m_sAU, JctpConstants.STRING_THOST_FTDC_OF_CloseToday, JctpConstants.THOST_FTDC_D_Sell, m_numAU);\n\t\t\te1.m_PortInfo \t\t= m_ProdInfo;\n\t\t\te1.m_remark\t\t\t= remark;\n\t\t\ttmpPort.m_ListFuture.add(e1);\n\t\t\t\n\t\t\tEntrust e2 \t\t\t= new Entrust(m_sAG, m_AGRT_ASK1 - m_AGSpread, JctpConstants.STRING_THOST_FTDC_OF_CloseToday, JctpConstants.THOST_FTDC_D_Buy, m_numAG);\n//\t\t\tEntrust e2 \t\t\t= new Entrust(m_sAG, JctpConstants.STRING_THOST_FTDC_OF_CloseToday, JctpConstants.THOST_FTDC_D_Buy, m_numAG);\n\t\t\te2.m_PortInfo \t\t= m_ProdInfo;\n\t\t\te2.m_remark\t\t\t= remark;\n\t\t\ttmpPort.m_ListFuture.add(e2);\n\t\t}\t\t\n\t\ttmpPort.m_FutureFirst \t= true;\n\t}", "title": "" }, { "docid": "d8850a18ebdf2cc5193a831982be3187", "score": "0.46192062", "text": "public void setUpNewTestUser(User user) throws DuplicatedEmailException {\n\n\t\t// usi.addUser(user);\n\n\t\tPortfolio portfolio = new Portfolio(user);\n\n\t\tpsi.addPortfolio(portfolio);\n\n\t\t// Create and add the popular currencies into db\n\t\tCurrency currency1 = new Currency(\"AUD\");\n\t\tCurrency currency2 = new Currency(\"USD\");\n\t\tCurrency currency3 = new Currency(\"CAD\");\n\t\tCurrency currency4 = new Currency(\"GBP\");\n\t\tCurrency currency5 = new Currency(\"NZD\");\n\t\tCurrency currency6 = new Currency(\"EUR\");\n\t\tCurrency currency7 = new Currency(\"JPY\");\n\t\tCurrency currency8 = new Currency(\"CHF\");\n\t\tCurrency currency9 = new Currency(\"CNY\");\n\t\tCurrency currency10 = new Currency(\"HKD\");\n\n\t\tcsi.addCurrency(currency1);\n\t\tcsi.addCurrency(currency2);\n\t\tcsi.addCurrency(currency3);\n\t\tcsi.addCurrency(currency4);\n\t\tcsi.addCurrency(currency5);\n\t\tcsi.addCurrency(currency6);\n\t\tcsi.addCurrency(currency7);\n\t\tcsi.addCurrency(currency8);\n\t\tcsi.addCurrency(currency9);\n\t\tcsi.addCurrency(currency10);\n\n\t\t// Let the new user have some money to use for test transactions\n\t\tHeldCurrency hc1 = new HeldCurrency(portfolio, currency1);\n\t\tHeldCurrency hc2 = new HeldCurrency(portfolio, currency2);\n\t\tHeldCurrency hc3 = new HeldCurrency(portfolio, currency3);\n\t\tHeldCurrency hc4 = new HeldCurrency(portfolio, currency4);\n\t\tHeldCurrency hc5 = new HeldCurrency(portfolio, currency5);\n\t\tHeldCurrency hc6 = new HeldCurrency(portfolio, currency6);\n\t\tHeldCurrency hc7 = new HeldCurrency(portfolio, currency7);\n\t\tHeldCurrency hc8 = new HeldCurrency(portfolio, currency8);\n\t\tHeldCurrency hc9 = new HeldCurrency(portfolio, currency9);\n\t\tHeldCurrency hc10 = new HeldCurrency(portfolio, currency10);\n\n\t\thc1.setQuantity(5000.0);\n\t\thc2.setQuantity(2500.0);\n\t\thc3.setQuantity(500.0);\n\t\thc4.setQuantity(12500.0);\n\t\thc5.setQuantity(400.0);\n\t\thc6.setQuantity(7500.0);\n\t\thc7.setQuantity(0.0); // set JPY to zero to test that it does not show up as a sellable currency in\n\t\t\t\t\t\t\t\t// order.html\n\t\thc8.setQuantity(500.0);\n\t\thc9.setQuantity(700.0);\n\t\thc10.setQuantity(9000.0);\n\n\t\thcr.save(hc1);\n\t\thcr.save(hc2);\n\t\thcr.save(hc3);\n\t\thcr.save(hc4);\n\t\thcr.save(hc5);\n\t\thcr.save(hc6);\n\t\thcr.save(hc7);\n\t\thcr.save(hc8);\n\t\thcr.save(hc9);\n\t\thcr.save(hc10);\n\n\t}", "title": "" }, { "docid": "50f7fb9689820e6e5a64573c622eca5b", "score": "0.46134427", "text": "public void setRolePortfolio(Integer rolePortfolio) {\n this.rolePortfolio = rolePortfolio;\n }", "title": "" }, { "docid": "1cb629916952f6480bb3e9f8b2ba279c", "score": "0.46127576", "text": "public void setSales(double sales)\r\n\t{\r\n\t\tthis.sales = sales; //store \"sales\" in a global variable \"sales\"\r\n\t}", "title": "" }, { "docid": "0cbc5ea2509fc15f327c4e278990e009", "score": "0.4609498", "text": "public interface Portfolio {\r\n DollarCostAverage getDollarCostAverage();\r\n\r\n boolean getDollarCostAveraged();\r\n\r\n /**\r\n * Method to add a stock to this Portfolio.\r\n *\r\n * @param company company ticker of the stock to be added\r\n * @param amount amount of stock to be added in dollars\r\n * @param date date of purchase of stock in yyyy-MM-dd format\r\n * @param commission commission for this investment to be added to cost basis\r\n */\r\n public void addStock(String company, double amount, String date, double commission)\r\n throws IOException;\r\n\r\n /**\r\n * Method to get the sum total cost basis of all the stocks in this Portfolio.\r\n *\r\n * @return sum total cost basis of all the stocks in this Portfolio\r\n */\r\n public double getTotalCostBasis();\r\n\r\n double getTotalCostBasis(String date) throws ParseException;\r\n\r\n /**\r\n * Method to get the total value of all the stocks in this Portfolio.\r\n *\r\n * @param date date in the format yyyy-MM-dd\r\n * @return sum total value of all the stocks in this Portfolio\r\n */\r\n public double getTotalValue(String date);\r\n\r\n /**\r\n * Method to get list of all the stocks in this Portfolio.\r\n *\r\n * @return list of all the stocks in this Portfolio\r\n */\r\n List<Stock> getStockList();\r\n\r\n /**\r\n * Method to get the list of all companies in this portfolio.\r\n *\r\n * @return all companies in this portfolio\r\n */\r\n Set<String> getCompanyList();\r\n\r\n /**\r\n * Method to add a company to this portfolio without any investment.\r\n *\r\n * @param company company to added to this portfolio\r\n */\r\n void addStockData(String company);\r\n\r\n /**\r\n * Method to set DollarCostAveraged to true when Dollar cost strategy is applied to this\r\n * portfolio.\r\n *\r\n * @param b false initially and true when dollar cost average strategy is applied to this\r\n * portfolio\r\n */\r\n void setDollarCostAveraged(boolean b);\r\n\r\n /**\r\n * Method to set the dollar cost average parameters.\r\n *\r\n * @param data object that represents dollar cost average strategy paremeters\r\n */\r\n void setDollarCostAverage(DollarCostAverage data);\r\n}", "title": "" }, { "docid": "2a66d95d7084dfbfe18d4c67b160c19e", "score": "0.46034065", "text": "public void setEevalWorkEffort(EevalWorkEffort_type0[] param) {\n validateEevalWorkEffort(param);\n\n clearAllSettingTrackers();\n localEevalWorkEffortTracker = param != null;\n\n this.localEevalWorkEffort = param;\n }", "title": "" }, { "docid": "3e5495d69b07830cc720057ccc3bc17c", "score": "0.4600438", "text": "public void testPeriodic() {\n\n }", "title": "" }, { "docid": "bb234213317834e1d5d2b9deabdc67ac", "score": "0.45965862", "text": "@Test\r\n // Tests TaskManagers Stability,\r\n // iterationSize = 1000, 1000 courses, 1000 Tasks per course, 1 000 000 total objects\r\n public void stressTest(){\n junitClean();\r\n\r\n int iterationSize = 1000;\r\n for(int i = 0; i < iterationSize; i++){\r\n getOurCourses().add(new Course(\"Personal\" + i, \"Hobbies, Work, etc\", 1,\r\n 1, Color.GREEN));\r\n }\r\n\r\n // Date Dec 7th, 9AM -> 8PM\r\n Calendar originalStartDate = Calendar.getInstance();\r\n originalStartDate.set(Calendar.MONTH, 11);\r\n originalStartDate.set(Calendar.DAY_OF_MONTH, 7);\r\n originalStartDate.set(Calendar.HOUR_OF_DAY, 9);\r\n originalStartDate.set(Calendar.MINUTE, 0);\r\n originalStartDate.set(Calendar.SECOND, 0);\r\n Calendar originalEndDate = (Calendar) originalStartDate.clone();\r\n originalEndDate.set(Calendar.HOUR_OF_DAY, 20);\r\n\r\n Calendar testStartDate = (Calendar) originalStartDate.clone();\r\n Calendar testEndDate = (Calendar) originalStartDate.clone();\r\n\r\n // 2nd Course Monday, 5PM->7PM, Priority 3\r\n testStartDate.set(Calendar.HOUR_OF_DAY, 17);\r\n testEndDate.set(Calendar.HOUR_OF_DAY, 19);\r\n\r\n for(int i = 0; i < iterationSize; i++){\r\n getOurCourses().add(new Course(\"Personal\" + i, \"Hobbies, Work, etc\", 1,\r\n 1, Color.GREEN));\r\n }\r\n\r\n String name = \"Junit \";\r\n String desc = \"Desc \";\r\n for(int j = 0; j < iterationSize; j++)\r\n for(int i = 0; i < iterationSize; i++)\r\n TaskManager.getOurCourses().get(j).addTask(TaskEnum.QUIZ.getLabel(), name + i,\r\n (Calendar) testStartDate.clone(), (Calendar) testEndDate.clone(), desc,\r\n 3, 0, 1, 2, 3, 4);\r\n\r\n\r\n junitClean();\r\n // System.out.println(\"-------- END JUNIT stressTest\");\r\n }", "title": "" }, { "docid": "638d2b5c1db637e47b54104867d5c9c6", "score": "0.45950735", "text": "public void testPeriodic() {\n }", "title": "" }, { "docid": "6f1a3fa91e87bfb40861e097dd2a426f", "score": "0.45889768", "text": "public void setTest2(double t2)\n\t{\n\t\ttest2 = t2;\n\t}", "title": "" }, { "docid": "cc1ff2556deac55d7be8f35a727b819e", "score": "0.4586268", "text": "@BeforeTest\n\tpublic void configDLP() throws Exception {\n\t\t\n\t\tsetUp(\"http://localhost:8080/JazzOMR.portlet/\",\"*googlechrome\");\n\t\t/*\n\t\tsetUp(\"http://localhost:8080/JazzOMR.portlet/\");\n\t\t */\n\t\t\n\t\tselenium.setSpeed(\"200\");\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "e03a664ddd1327aeb2592854bd47e875", "score": "0.45859772", "text": "@SuppressWarnings({ \"checkstyle:LocalVariableName\" })\r\n public MarkowitzPortfolio optimize()\r\n {\r\n if (riskFree <= MarkowitzPortfolio.NONE_RISK_FREE_ASSET)\r\n {\r\n double[] one = new double[covariance.getRowDimension() + 1];\r\n Arrays.fill(one, 0, one.length - 1, 1);\r\n\r\n double[] zero = new double[covariance.getRowDimension() + 1];\r\n zero[zero.length - 1] = 1;\r\n\r\n RealMatrix v = MatrixUtils.createRealMatrix(covariance.getRowDimension() + 1,\r\n covariance.getColumnDimension() + 1);\r\n v.setSubMatrix(covariance.getData(), 0, 0);\r\n v.setColumn(v.getColumnDimension() - 1, one);\r\n v.setRow(v.getRowDimension() - 1, one);\r\n\r\n RealMatrix x = MatrixUtils.createColumnRealMatrix(Arrays.copyOf(expectedReturns.getColumn(0),\r\n covariance.getRowDimension() + 1));\r\n RealMatrix y = MatrixUtils.createColumnRealMatrix(zero);\r\n\r\n RealMatrix vi = new LUDecomposition(v).getSolver().getInverse();\r\n\r\n RealMatrix c = vi.multiply(x);\r\n RealMatrix d = vi.multiply(y);\r\n\r\n RealMatrix w = (riskAversion >= MarkowitzPortfolio.RISK_AVERSION_INFINITE) ? d : c.scalarMultiply(\r\n 1 / riskAversion).add(d);\r\n\r\n RealMatrix weights = w.getSubMatrix(0, w.getRowDimension() - 2, 0, 0);\r\n\r\n double ret = weights.transpose().multiply(expectedReturns).getEntry(0, 0);\r\n double var = weights.transpose().multiply(covariance).multiply(weights).getEntry(0, 0);\r\n\r\n return new MarkowitzPortfolio(weights.getColumn(0), ret, var, riskFree);\r\n }\r\n else\r\n {\r\n double[] zero = new double[covariance.getRowDimension() + 2];\r\n\r\n double[] one = new double[covariance.getRowDimension() + 2];\r\n Arrays.fill(one, 0, one.length - 1, 1);\r\n\r\n RealMatrix v = MatrixUtils.createRealMatrix(covariance.getRowDimension() + 2,\r\n covariance.getColumnDimension() + 2);\r\n v.setSubMatrix(covariance.getData(), 1, 1);\r\n v.setColumn(0, zero);\r\n v.setRow(0, zero);\r\n v.setColumn(v.getColumnDimension() - 1, one);\r\n v.setRow(v.getRowDimension() - 1, one);\r\n\r\n double[] rets = new double[expectedReturns.getRowDimension() + 2];\r\n System.arraycopy(expectedReturns.getColumn(0), 0, rets, 1, rets.length - 2);\r\n rets[0] = riskFree;\r\n\r\n RealMatrix x = MatrixUtils.createColumnRealMatrix(rets);\r\n RealMatrix vi = new LUDecomposition(v).getSolver().getInverse();\r\n RealMatrix c = vi.multiply(x);\r\n\r\n RealMatrix w;\r\n\r\n if (riskAversion >= MarkowitzPortfolio.RISK_AVERSION_INFINITE)\r\n {\r\n w = MatrixUtils.createColumnRealMatrix(Arrays.copyOf(new double[] { 1 }, c.getRowDimension()));\r\n }\r\n else\r\n {\r\n w = c.scalarMultiply(1 / riskAversion);\r\n w.addToEntry(0, 0, 1);\r\n }\r\n\r\n double[] ws = Arrays.copyOf(w.getColumn(0), w.getRowDimension() - 1);\r\n\r\n double sum = DoubleStream.of(ws).sum();\r\n\r\n for (int i = 0; i < ws.length; i++)\r\n {\r\n ws[i] = ws[i] / sum;\r\n }\r\n\r\n RealMatrix weights = MatrixUtils.createColumnRealMatrix(ws);\r\n double ret = weights.transpose().multiply(x.getSubMatrix(0, x.getRowDimension() - 2, 0, 0)).getEntry(0, 0);\r\n RealMatrix vv = v.getSubMatrix(0, v.getRowDimension() - 2, 0, v.getColumnDimension() - 2);\r\n double var = weights.transpose().multiply(vv).multiply(weights).getEntry(0, 0);\r\n\r\n return new MarkowitzPortfolio(ws, ret, var, riskFree);\r\n }\r\n }", "title": "" }, { "docid": "bf53d8afa8159704b7ff7a1679356bc1", "score": "0.4580812", "text": "@Before\n public void setUp(){\n\n totalCheckIns = 1;\n totalCheckOutFees = 1.00;\n totalLostTickets = 1;\n totalLostTicketFees = 1.00;\n totalSpecialEventTickets = 1;\n totalSpecialEventFees = 1.00;\n }", "title": "" }, { "docid": "a71ef4179da5d280738e1ed684be3855", "score": "0.45747033", "text": "@BeforeAll\r\n\tpublic void setup() {\r\n\t\tserviceTest = new TestManageModuleService();\r\n\t\tabstractFactory = new AnalysisFactory();\r\n\r\n\t order = new Order();\r\n\t\tMap<String, Analysis> map = new HashMap<>();\r\n\t\tmap.put(\"glucose\", null);\r\n\t\tmap.put(\"sodium\", null);\r\n\t\tmap.put(\"calcium\", null);\r\n\t\torder.setTestToPerform(map);\r\n\t}", "title": "" }, { "docid": "7eeaa859611e87988fe89ab2a3219136", "score": "0.45710903", "text": "public void optimisePortoflio(double maxGamma, double minTheta) {\r\n\t\ttws.log(\"Optimising portfolio\");\t\r\n\t\topt = new MaximiseTheta();\r\n\t}", "title": "" }, { "docid": "d5e3d27d97e192ffa28d9a4697aa3d87", "score": "0.45657218", "text": "public void startHurtCool() {\n hurtCool = .55; \n }", "title": "" }, { "docid": "804e6d6e1f649148f2b276c38fa98cdb", "score": "0.45638794", "text": "public void setMoney(java.lang.String param){\n localMoneyTracker = true;\n \n this.localMoney=param;\n \n\n }", "title": "" }, { "docid": "f2b67dbc5efcc4493a59b19265e5e51d", "score": "0.4547876", "text": "@Before\r\n public void setUp() {\r\n project = new Project(\"project\"); \r\n }", "title": "" }, { "docid": "e0f7f2e6486e84ce47fd8f8ce5dc4d55", "score": "0.4539867", "text": "public void setPrice(int priceSet){\n price = priceSet;\n \n }", "title": "" }, { "docid": "44e616aaffebb485e25a52b06e0c3bea", "score": "0.4538121", "text": "private void setStability(int i)\n\t{\n\t\tif ((this.hubHeight[i] / this.obukhovLength) > 0)\n\t\t{\n\t\t\tthis.stability[i] = -1 * this.beta * (this.hubHeight[i] / this.obukhovLength);\n\t\t}\n\t\telse if ((this.hubHeight[i] / this.obukhovLength) < 0)\n\t\t{\n\t\t\tdouble x = Math.pow(1 - (15 * this.hubHeight[i] / this.obukhovLength), 0.25);\n\t\t\tthis.stability[i] = 2 * Math.log((1 + x) / 2) + Math.log((1 + Math.pow(x, 2)) / 2) - 2 * Math.atan(x) + (Math.PI / 2);\n\t\t}\n\t\telse\n\t\t{ // Statically neutral flow z/L = 0\n\t\t\tthis.stability[i] = 0;\n\t\t}\n\t}", "title": "" }, { "docid": "0b7e2d819a4a4786b8e333a17e2f341a", "score": "0.45378134", "text": "@Test(timeout = 1000)\n public void testStartMaintenance()\n throws Throwable\n {\n // Given\n Bank underTest = new Bank();\n\n // When\n underTest.startMaintenance();\n\n }", "title": "" }, { "docid": "b159622479c4bf896b0cceae649f35d0", "score": "0.45351446", "text": "protected void successRateSetUp() {\n successMaxFailures = 0;\n }", "title": "" }, { "docid": "236df8663953ef59a38e6decf9f8e1bf", "score": "0.4533488", "text": "@Setup\n public void setup() throws Exception {\n ApplicationManagerEx.setInStressTest(true);\n fixture = IdeaTestFixtureFactory.getFixtureFactory().createBareFixture();\n fixture.setUp();\n }", "title": "" }, { "docid": "f13faef3bf75c3ad8b52ba7f44397f46", "score": "0.45305854", "text": "@BeforeTest\n\tpublic void beforeTest() {\n\t\tdriver = new ChromeDriver();\n\t\tdriver.get(\"https://www.spicejet.com/\");\n\t\tdriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);\n\t\t\n\t}", "title": "" }, { "docid": "cfa908f09e36d29cb5621f8b5612a252", "score": "0.4528704", "text": "void setPricePerShare(double pricePerShare);", "title": "" }, { "docid": "d920297d226f842f2e3cdea0452dc6a8", "score": "0.45284796", "text": "void setQuickStepNumIterations(int num);", "title": "" }, { "docid": "188d5a6d4af8503c88067b676021471e", "score": "0.45274827", "text": "private void stressTestNetwork() {\n \t\tstartClient(new AuthEvent(EventType.LOGIN, new Person(\"kyra\"), \"derp\"));\n \t\tstartClient(new AuthEvent(EventType.LOGIN, new Person(\"pat\"), \"derp\"));\n \t\tstartClient(new AuthEvent(EventType.LOGIN, new Person(\"boytoy\"), \"derp\"));\n \t\tstartClient(new AuthEvent(EventType.LOGIN, new Person(\"root\"), \"\"));\n \n \t}", "title": "" }, { "docid": "e815fb00e6a2a75d5c5cb397e4e4de17", "score": "0.45264295", "text": "public void setIncumbent(double incumbent) {\n _incumbent = incumbent;\n _incumbentColdStartSetupHappened = true; \n }", "title": "" }, { "docid": "3251bf78deeca2344c0bbebc467c4312", "score": "0.4526234", "text": "@Override\n\tpublic void testPeriodic() \n\t{\n\t\tgeneralPeriodic();\n\t}", "title": "" }, { "docid": "0be152f3234b80728e1afa9040f292e5", "score": "0.45257744", "text": "@Override\n public void setTestUnit() {\n swordMaster = new SwordMaster(50, 2, field.getCell(0, 0));\n }", "title": "" }, { "docid": "fe193bd2a2629ded4f3176526f6ea5d8", "score": "0.45245573", "text": "@BeforeEach\n void before() throws Exception {\n resetDb(true);\n\n taskanaEngineConfiguration.setPriorityJobActive(true);\n taskanaEngineConfiguration.setPriorityJobBatchSize(20);\n taskanaEngineConfiguration.setPriorityJobRunEvery(Duration.ofMinutes(30));\n taskanaEngineConfiguration.setPriorityJobFirstRun(Instant.parse(\"2007-12-03T10:15:30.00Z\"));\n }", "title": "" }, { "docid": "e3590be2414cb1b628a99dc9557f4f11", "score": "0.45240188", "text": "public StockCommissionPortfolio(String portfolioTag) throws IllegalArgumentException {\n super(portfolioTag);\n totalCommissionFee = new USDPrice(new BigDecimal(\"0\"));\n commissionMap = new HashMap<>();\n }", "title": "" }, { "docid": "2417c4fa499c7aa935d3b0871ca65e44", "score": "0.45192993", "text": "public static void main(String[] args){\n new SolutionBenchmark(new SkySolution(new Data()), true, 1000).runTest(10,2);\n }", "title": "" }, { "docid": "a3ae82dc7f2131d0985e5f6d164b9660", "score": "0.45192057", "text": "@Test\n public void testSetTech() {\n System.out.println(\"setTech test\");\n int tech = 7;\n Conditioner instance = new Conditioner(100.,200.,150.,2,4);\n instance.setTech(tech);\n double result = instance.getTech();\n assertEquals(tech, result, 0.0);\n // TODO review the generated test code and remove the default call to fail.\n System.out.println(\"setTech test success\");\n }", "title": "" }, { "docid": "816a0bfba525bcac80424ac637890144", "score": "0.45169166", "text": "@BeforeEach\n public void setPerTest() {\n ratingServiceTest = new RatingService(ratingRepositoryMock);\n\n ratingTest = Rating.builder()\n .id(1)\n .moodysRating(\"Moodys Rating\")\n .sandPRating(\"Sand PRating\")\n .fitchRating(\"Fitch Rating\")\n .orderNumber(10)\n .build();\n }", "title": "" }, { "docid": "3fea7bf262da429b715883c09d0d60ab", "score": "0.45156667", "text": "@Override\n public void testPeriodic() {\n \n }", "title": "" }, { "docid": "7d71877dff8ab37a28017df8763969ce", "score": "0.45121846", "text": "protected PortfolioManagerImpl(RestTemplate restTemplate) {\n this.restTemplate = restTemplate;\n }", "title": "" }, { "docid": "2a3133072515b5cf192c0bb67c508398", "score": "0.4509266", "text": "public void spray()\n {\n population = population * .9;\n }", "title": "" }, { "docid": "12d0586df1332be03570334665acd6e0", "score": "0.45074522", "text": "protected void setFixture(Query fixture) {\r\n\t\tthis.fixture = fixture;\r\n\t}", "title": "" }, { "docid": "6fe38fe6dfaa69ce60ca1faee1717409", "score": "0.45070687", "text": "protected void testProject( String projectName )\n throws Exception\n {\n testProject( projectName, new Properties(), \"clean\", \"eclipse\" );\n }", "title": "" }, { "docid": "522491710f604dbb9d7f3f59d89357c6", "score": "0.4506575", "text": "public void testPeriodic() { \n }", "title": "" }, { "docid": "605a2d92cc83bd2902515d5c144aa34f", "score": "0.4502734", "text": "private void computeMisesStress(Element3D e, double[] eps1, double[] eps2,\n\t\t\tdouble[] eps3, DVec yVal, int comp, int i) {\n\n\t\t// initialize mises stress\n\t\tdouble stress = 0.0;\n\n\t\t// loop over stations\n\t\tfor (int j = 0; j < eps1.length; j++)\n\t\t\tstress += e.getVonMisesStress(eps1[j], eps2[j], eps3[j])\n\t\t\t\t\t/ eps1.length;\n\n\t\t// set to vector\n\t\tyVal.set(i, stress);\n\t}", "title": "" }, { "docid": "5bc8ef7cee979b4fa8c174893a0d7ce1", "score": "0.4501925", "text": "void setQuickStepW(double over_relaxation);", "title": "" }, { "docid": "3bc1aa34d838f13e9ec5673e5090a24d", "score": "0.44996563", "text": "void setTemperature(double temperature);", "title": "" }, { "docid": "8b6a3b992b28ba1238ad9f009bb0fe48", "score": "0.4498633", "text": "@BeforeTest \n\t\n\tpublic void config() {\n\t\t\n\t\t\n\t\tString Path=System.getProperty(\"user.dir\")+\"\\\\reports\\\\index.html\";\n\t\t\n\t\t//It will write The report which is collected \n\t\tExtentSparkReporter report=new ExtentSparkReporter(Path);\n\t\treport.config().setReportName(\"Web Automation Report\");\n\t\treport.config().setDocumentTitle(\"Google Home Page Automation Report\");\n\t\t\n\t\t//It will collect the Result From the Test \n\t\textent =new ExtentReports ();\n\t\textent.attachReporter(report);\n\t\textent.createTest(\"Test Report\");\n\t\textent.setSystemInfo(\"Qa Tester\",\"Masud Rana\");\n\t\t\t\t\n\t}", "title": "" }, { "docid": "9722af46a4c61bb4e5a35b4daf668e69", "score": "0.44964367", "text": "public RiskTest( String testName ) throws Exception\n {\n super( testName );\n riskDao = new RiskDao();\n }", "title": "" }, { "docid": "adeca569b16384888e3f247a27c3f2b3", "score": "0.44932714", "text": "protected void testWorkspace( String projectName )\n throws Exception\n {\n testWorkspace( projectName, new Properties(), \"configure-workspace\" );\n }", "title": "" }, { "docid": "dc8ef7b739b6674632bc3c9ca2edbd43", "score": "0.44916633", "text": "protected void setFixture(NewsReport fixture) {\n\t\tthis.fixture = fixture;\n\t}", "title": "" }, { "docid": "d93907c83f0e6bf88c30dab9e5733931", "score": "0.4485633", "text": "public void setReduceTestSuite(boolean value) {\n this.reduceTestSuite = value;\n }", "title": "" }, { "docid": "e682dca16abe0404f78ef030c6e4b28e", "score": "0.4485425", "text": "public void preemptiveSets() {\n preemptiveSetsBoxes();\n preemptiveSetsRowsAndColumns();\n }", "title": "" }, { "docid": "a05f6031309e66c0c75de606fadb2cdb", "score": "0.4485299", "text": "public void setupSimulation() {\n\n Pool p1 = new Pool(\"Skookumchuk\",\n 3000, 42, 7.9, 0.9);\n Pool p2 = new Pool(\"Squamish\", 15000,\n 39, 7.7, 0.85);\n Pool p3 = new Pool(\"Semiahmoo\",\n 4500, 37, 7.5, 1.0);\n Random rand = new Random();\n for (int i = 0; i < 300; i++) {\n int weekTemp = rand.nextInt((25 - 10) + 1) + 10;\n double healthTemp = rand.nextDouble() * (0.7999 - 0.5) + 0.5;\n double gurl = rand.nextDouble();\n boolean gurll = false;\n if (gurl < 0.75) {\n gurll = true;\n }\n Guppy temp = new Guppy(\"Poecilia\", \"reticulata\", weekTemp, gurll,\n 0, healthTemp);\n p1.addGuppy(temp);\n }\n for (int i = 0; i < 100; i++) {\n int weekTemp = rand.nextInt((15 - 10) + 1) + 10;\n double healthTemp = rand.nextDouble() * (0.8 - 0.999) + 0.8;\n double gurl = rand.nextDouble();\n boolean gurll = false;\n if (gurl < 0.75) {\n gurll = true;\n }\n Guppy temp = new Guppy(\"Poecilia\", \"reticulata\", weekTemp, gurll,\n 0, healthTemp);\n p2.addGuppy(temp);\n }\n for (int i = 0; i < 200; i++) {\n int weekTemp = rand.nextInt((49 - 15) + 1) + 15;\n double healthTemp = rand.nextDouble() * (0.9999 - 0.0) + 0.0;\n double gurl = rand.nextDouble();\n boolean gurll = false;\n if (gurl < 0.35) {\n gurll = true;\n }\n Guppy temp = new Guppy(\"Poecilia\", \"reticulata\", weekTemp, gurll,\n 0, healthTemp);\n p3.addGuppy(temp);\n }\n addPool(p1);\n addPool(p2);\n addPool(p3);\n }", "title": "" }, { "docid": "626082dc37dd4441ed9267a109d87f95", "score": "0.44825822", "text": "public void testSetParam() throws Exception {\n System.out.println(\"setParam\");\n String key = \"\";\n String value = \"\";\n Workspace instance = null;\n instance.setParam(key, value);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }", "title": "" }, { "docid": "81e9752e311540beb28cc606b7dadc09", "score": "0.44814804", "text": "@Test\n public void testDepositingMoneyToThePortfolio() {\n DepositMoneyToPortfolioCommand command = new DepositMoneyToPortfolioCommand(portfolioIdentifier, 2000l);\n fixture.given(new PortfolioCreatedEvent(new UUIDAggregateIdentifier()))\n .when(command)\n .expectEvents(new MoneyDepositedToPortfolioEvent(2000l));\n }", "title": "" }, { "docid": "cad3cf15ca75bf258a358e7c39ae34dc", "score": "0.44794962", "text": "@Test\n public void testCalculateValuation() {\n StockOptionPortfolio stockVesting = new StockOptionPortfolio();\n StockOptionPortfolioValuationResult result = service.calculateValuation(stockVesting);\n Assert.assertNotNull(result);\n }", "title": "" }, { "docid": "0c3f41c7f8870de54bc03ecac1584f20", "score": "0.44794247", "text": "public void setTemperature(double temperature){\n // check temperature\n if(temperature <= 0.0){\n throw new IllegalArgumentException(\"Temperature of Metropolis search should be strictly positive.\");\n }\n // update temperature\n this.temperature = temperature;\n }", "title": "" } ]
cb1ef7bc6c43f3118e47be2c9c787462
end getKeyIterator Creates an iterator that traverses all values in this dictionary.
[ { "docid": "3510cb57b40a86da655492b31acb740b", "score": "0.63485074", "text": "public Iterator<V> getValueIterator()\n {\n ArrayList<V> values = new ArrayList<V>();\n Node<K, V> currentNode = firstNode;\n while(currentNode != null)\n {\n values.add(currentNode.getValue());\n currentNode = currentNode.getNextNode();\n }\n Iterator<V> valueIterator = values.iterator();\n return valueIterator;\n }", "title": "" } ]
[ { "docid": "feac19b1fa7c4026838c61f9a8ff1978", "score": "0.754863", "text": "public Iterator<K> getKeyIterator()\n {\n ArrayList<K> keys = new ArrayList<K>();\n Node<K, V> currentNode = firstNode;\n while(currentNode != null)\n {\n keys.add(currentNode.getKey());\n currentNode = currentNode.getNextNode();\n }\n Iterator<K> keyIterator = keys.iterator();\n return keyIterator;\n }", "title": "" }, { "docid": "21909e04be8967b5ef3ad4cc77036b5b", "score": "0.7402177", "text": "@Override\n public Iterator<K> iterator() {\n return this.keys().iterator();\n }", "title": "" }, { "docid": "f3f82b130793d4664a3a260fa458c8dd", "score": "0.73056614", "text": "public Iterator<String> keyIterator() {\n \treturn new MapIterator(head);\n }", "title": "" }, { "docid": "d592b59afcf12b8f408e8569680165cd", "score": "0.7293547", "text": "Iterator<K> keyIterator();", "title": "" }, { "docid": "e0072a5c2dae6fb019a6adee7569f860", "score": "0.7266059", "text": "abstract Iterator<K> keyIterator();", "title": "" }, { "docid": "e0072a5c2dae6fb019a6adee7569f860", "score": "0.7266059", "text": "abstract Iterator<K> keyIterator();", "title": "" }, { "docid": "9c110a21338d6ac4ef1fb362ff631348", "score": "0.7232901", "text": "@Override\n public CloseableIterator<Long> keyIterator() {\n return IterableUtils.mapIterator(iterator(), KeyValue::getKey);\n }", "title": "" }, { "docid": "e57057b4eb824f61397fd8567cf2986b", "score": "0.7203517", "text": "public Iterator iterator()\r\n\t{\r\n\t\t// return iterator capable of traversing items only (not keys)\r\n\t\treturn hashMap.iterator();\r\n\t}", "title": "" }, { "docid": "3e8af33b0a7c5cd2ec7b98a41d08ebef", "score": "0.71989244", "text": "@Override\n\t\tpublic Iterator iterator() {\n\t\t\treturn new KeyIterator();\n\t\t}", "title": "" }, { "docid": "d50c8299b1d2f39b33f059c9ef856e73", "score": "0.7188461", "text": "abstract Iterator<K> descKeyIterator();", "title": "" }, { "docid": "d50c8299b1d2f39b33f059c9ef856e73", "score": "0.7188461", "text": "abstract Iterator<K> descKeyIterator();", "title": "" }, { "docid": "a938f69b83fb46df10608e4ef57455f4", "score": "0.7112472", "text": "public ListIterator keyIterator();", "title": "" }, { "docid": "4d1de29a683e59d3098ac9603c3fca18", "score": "0.7051667", "text": "@Override\n public CloseableIterator<KeyValue<T>> iterator(final Iterator<Long> keyIterator) {\n return IterableUtils.iterator(new SimpleIterator<KeyValue<T>>() {\n @Override\n public KeyValue<T> next() throws Exception {\n while (keyIterator.hasNext()) {\n Long next = keyIterator.next();\n T value = read(next);\n if (value != null) {\n return new KeyValue<>(next, value);\n }\n }\n return null;\n }\n });\n }", "title": "" }, { "docid": "8b54389204030881a241fb8b2b1bdad0", "score": "0.7045871", "text": "public Iterator<K> keyIterator() {\n return new UnmodifiableIterator<>(data.keySet().iterator());\n }", "title": "" }, { "docid": "ad4e59c004154c0d637bc2a60868f71f", "score": "0.69922686", "text": "public Iterator<K> keys(){\n\t\treturn(keys.iterator());\n\t}", "title": "" }, { "docid": "1e6a51cad59caf8eb3909a98351b76ca", "score": "0.6984592", "text": "public Iterator<String> getIterator(){\n\t\treturn this.tMap.keySet().iterator();\n\t}", "title": "" }, { "docid": "e3233683823145a7e63a3f28918276f6", "score": "0.6963765", "text": "Iterator keys() {\n\t\treturn this.ht.keySet().iterator();\n\t}", "title": "" }, { "docid": "d1b11eb9117847581261e11e44e8d6ec", "score": "0.69568735", "text": "Iterator<KeyContainer> iterateAll() ;", "title": "" }, { "docid": "5398f22e310283f870e832199a3cd978", "score": "0.6910344", "text": "@Override\n public CloseableIterator<T> valueIterator() {\n return IterableUtils.mapIterator(iterator(), KeyValue::getValue);\n }", "title": "" }, { "docid": "37b9addacb5ccfa5ac91b4908a44f020", "score": "0.6909744", "text": "public Iterator<K> keys() {\n\tList<K> list = new LinkedList<K>();\n\taddKeysToList(list);\n\treturn list.iterator();\n }", "title": "" }, { "docid": "c7c9e08c34b4505a971cd41a3f2f93e6", "score": "0.68926275", "text": "@Override\r\n\tpublic Iterator<Synset> iterator() {\r\n\t\treturn myDictionary.iterator();\r\n\t}", "title": "" }, { "docid": "10385df1ceda4343c071fc98c1b217aa", "score": "0.6888018", "text": "public Iterator<String> getDictionary() {\n //\n // REPLACE THE STATEMENT BELOW WITH YOUR CODE\n //\n return index.keySet().iterator();\n }", "title": "" }, { "docid": "c9c9dcda72e69ff3d60c0839c66e067a", "score": "0.68766123", "text": "public Iterator<Key> iterator() {\n return set.iterator();\n }", "title": "" }, { "docid": "c5a058af70dfbeff106296ee328ce053", "score": "0.6843844", "text": "public Iterator<Entry<K, V>> iterator() {\n\t\treturn new MultiDictionarImplIterator(this);\r\n\t}", "title": "" }, { "docid": "ea81c7d4329886c246cc574123dea544", "score": "0.676182", "text": "Iterator<? extends Object> getKeys();", "title": "" }, { "docid": "d394fd62673fb1c43e933260c3a34692", "score": "0.6697756", "text": "public Iterator<String> getDictionary() {\r\n Set<String> dictionary = index.keySet();\r\n return dictionary.iterator();\r\n }", "title": "" }, { "docid": "d16f3e8aea2c8daed9b3dfc4bb2063c7", "score": "0.6638204", "text": "public Iterator<Object> valueIterator() {\r\n final Iterator<?> iter = keyIterator();\r\n return new Iterator<Object>() {\r\n @Override\r\n public boolean hasNext() {\r\n return iter.hasNext();\r\n }\r\n\r\n @Override\r\n public Object next() {\r\n final Object key = iter.next();\r\n return get(key);\r\n }\r\n\r\n @Override\r\n public void remove() {\r\n throw new UnsupportedOperationException(\"remove() not supported for BeanMap\");\r\n }\r\n };\r\n }", "title": "" }, { "docid": "73bfdf7d7876f0d583b8cc417e197ddd", "score": "0.66151404", "text": "public Iterator<T> iterator() {\n\t\t\treturn mGraph.keySet().iterator();\n\t\t}", "title": "" }, { "docid": "a6000e6c8ef83f8b479af456a7d16855", "score": "0.655531", "text": "@Override\n protected Iterator<String> keys() {\n final Set<String> matchedKeys = new HashSet<>();\n for (StaticOperand valueOperand : criteria.getValues()) {\n // Find the range of all keys that have this value ...\n addValues(valueOperand, matchedKeys);\n }\n\n if (!negated) {\n // We've already found all of the keys for the given value, so just return them ...\n return matchedKeys.iterator();\n }\n\n // Otherwise, we're supposed to find all of the keys that are NOT in the set ...\n final Iterator<String> allKeys = super.keys();\n if (matchedKeys.isEmpty()) {\n // Our key set is empty, so none are to be excluded...\n return allKeys;\n }\n\n // Otherwise, we'll return an iterator that just wraps the 'allKeys' iterator and skips any key in our set ...\n return new Iterator<String>() {\n private String next;\n\n @Override\n public boolean hasNext() {\n return findNext();\n }\n\n @Override\n public String next() {\n if (findNext()) {\n assert next != null;\n String result = next;\n next = null;\n return result;\n }\n throw new NoSuchElementException();\n }\n\n @Override\n public void remove() {\n throw new UnsupportedOperationException();\n }\n\n private boolean findNext() {\n if (next != null) return true;\n while (allKeys.hasNext()) {\n String possible = allKeys.next();\n if (matchedKeys.contains(possible)) continue; // it is to be excluded\n next = possible;\n return true;\n }\n return false;\n }\n };\n }", "title": "" }, { "docid": "85ad8b8afa67259b81f26e558aa8635a", "score": "0.6551163", "text": "@Override\r\n\tpublic Iterator<Entry<T, Double>> iterator() {\n\t\tit = this.value.entrySet().iterator();\r\n\t\treturn it;\r\n\t}", "title": "" }, { "docid": "76679076e84de441e12bf03abcd41f4d", "score": "0.6525121", "text": "@SuppressWarnings(\"rawtypes\")\r\n\t\t@Override\r\n\t\tpublic Iterator iterator() {\r\n\t\t\treturn this.store.keySet().iterator();\r\n\t\t}", "title": "" }, { "docid": "9cc13745a1b15e797e8c38215747aa08", "score": "0.64917254", "text": "@Override\n public Iterator<V> iterator() {\n return new Iterator<V>() {\n List<V> allValues = new ArrayList<V>() {{\n for (Entry<K, List<V>> entry : PropertiesMapper.super.entrySet()) {\n this.addAll(entry.getValue());\n }\n }};\n int bigIndex = 0;\n\n @Override\n public boolean hasNext() {\n return allValues.size() < bigIndex;\n }\n\n @Override\n public V next() {\n V value = allValues.get(bigIndex);\n bigIndex++;\n return value;\n }\n };\n }", "title": "" }, { "docid": "01138da16e8a91b6a84b4cbf86d87a4a", "score": "0.6420022", "text": "@Override\n public CloseableIterator<T> valueIterator(KeyFilter keyFilter) {\n return IterableUtils.mapIterator(iterator(keyFilter), KeyValue::getValue);\n }", "title": "" }, { "docid": "c5e41b33a178c036c283d88cc0fd4a65", "score": "0.6396959", "text": "@Override\n public CloseableIterator<KeyValue<T>> iterator(KeyFilter keyFilter) {\n final CloseableIterator<KeyValue<T>> keyValueIterator = iterator();\n return IterableUtils.iterator(new SimpleIterator<KeyValue<T>>() {\n @Override\n public KeyValue<T> next() throws Exception {\n while (keyValueIterator.hasNext()) {\n KeyValue<T> next = keyValueIterator.next();\n if (keyFilter.acceptKey(next.getKey())) {\n return next;\n }\n }\n return null;\n }\n\n @Override\n public void close() throws Exception {\n keyValueIterator.close();\n }\n });\n }", "title": "" }, { "docid": "1a5da04097a625fe725253df29d6e57d", "score": "0.6363702", "text": "public Iterator<String> keyIterator() {\r\n return readMethods.keySet().iterator();\r\n }", "title": "" }, { "docid": "1084742de016b4a9599096cb26920fa1", "score": "0.6331871", "text": "public Iterator<T> valueIterator()\n {\n return new TrieValuesIterator<>(this);\n }", "title": "" }, { "docid": "11727f80ea30cf3a078319aa4ea17b9a", "score": "0.629673", "text": "public Iterable<T> keys() {\n return () -> new Iterator<T>() {\n int next = 0;\n\n @Override\n public boolean hasNext() {\n return next < header.getCurrentSize();\n }\n\n @Override\n public T next() {\n T returnValue = (T)entries[next].getKey();\n\n next = next + 1 ;\n return returnValue;\n }\n };\n }", "title": "" }, { "docid": "0be48da8ec2198f84395d852c6bed119", "score": "0.6182451", "text": "@Override\n public Iterator<Map.Entry<String, Integer>> iterator() {\n return new MyIterator();\n }", "title": "" }, { "docid": "e237ee0841f01a099bba91c93c53ddde", "score": "0.6170459", "text": "Iterator<Tuple<K, V>> iterator();", "title": "" }, { "docid": "5a10a2a2481f0200ee3ea2cbc0699f8f", "score": "0.61576724", "text": "Iterator<V> valueIterator();", "title": "" }, { "docid": "f34958ace28deb19ad6d547dff578446", "score": "0.61349195", "text": "public Iterator<?> getValues();", "title": "" }, { "docid": "0038eb934f2cce65bdf66f93a136e98e", "score": "0.61164623", "text": "@Override\n\t\tpublic Iterator iterator() {\n\t\t\treturn new ValueIterator();\n\t\t}", "title": "" }, { "docid": "fa518be0780b7cb7250ff269d700a21f", "score": "0.6114259", "text": "public ObjectListIterator<Object2IntMap.Entry<K>> iterator(Object2IntMap.Entry<K> from) {\n/* 1549 */ return new Object2IntLinkedOpenCustomHashMap.EntryIterator(from.getKey());\n/* */ }", "title": "" }, { "docid": "f53c006ef63aaaf8f801676b0e4b4138", "score": "0.6111054", "text": "public Iterator iterator()\n {\n return godeToDode.values().iterator();\n }", "title": "" }, { "docid": "93ece0828418f5309d01e45076576f80", "score": "0.608529", "text": "Iterator getIterator();", "title": "" }, { "docid": "89df2d328ecbbc74712e788f78313921", "score": "0.60578156", "text": "public Iterator<Map.Entry<String, Object>> entryIterator() {\r\n final Iterator<String> iter = keyIterator();\r\n return new Iterator<Map.Entry<String, Object>>() {\r\n @Override\r\n public boolean hasNext() {\r\n return iter.hasNext();\r\n }\r\n\r\n @Override\r\n public Map.Entry<String, Object> next() {\r\n final String key = iter.next();\r\n final Object value = get(key);\r\n // This should not cause any problems; the key is actually a\r\n // string, but it does no harm to expose it as Object\r\n return new Entry(BeanMap.this, key, value);\r\n }\r\n\r\n @Override\r\n public void remove() {\r\n throw new UnsupportedOperationException(\"remove() not supported for BeanMap\");\r\n }\r\n };\r\n }", "title": "" }, { "docid": "12901f2f8b67542cfd21e2a949e9f305", "score": "0.59979224", "text": "public ObjectListIterator<Double2ShortMap.Entry> iterator(Double2ShortMap.Entry from) {\n/* 1570 */ return new Double2ShortLinkedOpenHashMap.EntryIterator(from.getDoubleKey());\n/* */ }", "title": "" }, { "docid": "bcda4bb412e1e846a6ecec0072d7b896", "score": "0.5995357", "text": "@Override\n public Set<K> keySet() {\n Set<K> keys = new HashSet<>();\n Set<Map.Entry<K, V>> es = entrySet();\n Iterator<Map.Entry<K,V>> iter = es.iterator();\n\n System.out.println(iter.hasNext());\n\n while (iter.hasNext()) {\n keys.add(iter.next().getKey());\n }\n \t// TODO keySet\n return keys;\n }", "title": "" }, { "docid": "c6d8245d80374fe9843ee62ef373a40a", "score": "0.59916246", "text": "public Iterator<Map.Entry<Entity, Entity>> iterator(){\n\t\treturn collisions.entrySet().iterator();\n\t}", "title": "" }, { "docid": "d99d19322f71d5617c38f80192c9cdd9", "score": "0.59891516", "text": "public Iterator<Map.Entry<ByteComparable, T>> entryIterator()\n {\n return new TrieEntriesIterator.AsEntries<>(this);\n }", "title": "" }, { "docid": "bd57289512b62919e0455e1f5d9f2b6d", "score": "0.5987452", "text": "private static void mapKeyIterator(Map<String,String> mapCountryCodes){\n\n\t\tSystem.out.println(\"Map KeySet Iterator....\");\n\t\tSet<String> setCodes = mapCountryCodes.keySet();\n\t\tIterator<String> iterator = setCodes.iterator();\n\t\t \n\t\twhile (iterator.hasNext()) {\n\t\t String code = iterator.next();\n\t\t String country = mapCountryCodes.get(code);\n\t\t \n\t\t System.out.println(code + \" => \" + country);\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "d551b147c0b0c026a2fd29605843371e", "score": "0.5981966", "text": "public Iterator keys() {\r\n Set keys = new HashSet();\r\n for (Iterator iter = chain.iterator(); iter.hasNext();) {\r\n Messages msgs = (Messages) iter.next();\r\n List current = IteratorUtils.toList(msgs.keys());\r\n keys.addAll(current);\r\n }\r\n return keys.iterator();\r\n }", "title": "" }, { "docid": "4f7e010dc084c03e98fb57cd20d9d8b5", "score": "0.5968329", "text": "public Iterator iterator();", "title": "" }, { "docid": "4f7e010dc084c03e98fb57cd20d9d8b5", "score": "0.5968329", "text": "public Iterator iterator();", "title": "" }, { "docid": "b3b61468c4476709db7e37644a3521c5", "score": "0.59299463", "text": "public Iterator iterate();", "title": "" }, { "docid": "a0ecf2ac4cb4e0220472836cffc70fab", "score": "0.58770293", "text": "public Iterator<String> getPrimaryKeysIterator() {\n\t\tif (primaryKeys == null){\n\t\t\treturn null;\n\t\t}\n\t\treturn primaryKeys.keySet().iterator();\n\t}", "title": "" }, { "docid": "3a66a85d522144d4e46534655ad69ba4", "score": "0.58762985", "text": "public Iterator<$Value> iterator()\n\t{\n\t\treturn new MyIterator();\n\t}", "title": "" }, { "docid": "b2ce2716dcb7b0bda2238afcc470a85f", "score": "0.5855638", "text": "public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllKey_asNode() {\r\n\t\treturn Base.getAll_asNode(this.model, this.getResource(), KEY);\r\n\t}", "title": "" }, { "docid": "99da38d158cf57a27f909b5022120226", "score": "0.5851804", "text": "public Iterator<String> getItemIterator() {\n return this.items.keySet().iterator();\n }", "title": "" }, { "docid": "307132994dd105be094cf5c450e3e84b", "score": "0.5837253", "text": "public final Iterator<Map.Entry<T, Object>> descendingIterator() {\n if (this.zznx) {\n return new zzfy(this.zznv.zziv().iterator());\n }\n return this.zznv.zziv().iterator();\n }", "title": "" }, { "docid": "65079665ddb24f600e9c9254024e2954", "score": "0.5815243", "text": "@Override\n\tpublic Iterator<RGLValue> iterator() {\n\t\treturn backingList.iterator();\n\t}", "title": "" }, { "docid": "4efa36dd2c46c6b97fb7c77a85ba89ab", "score": "0.5798449", "text": "public synchronized Enumeration keys() {\n/* 167 */ return new CacheEnumerator(this.table, true);\n/* */ }", "title": "" }, { "docid": "59f1df99fface8ef91d3bc0d36b14f4d", "score": "0.5796588", "text": "public Iterator getProteinIDIterator() {\n return iProteinMap.keySet().iterator();\n }", "title": "" }, { "docid": "470d3f052f677de1d0d7a5f387303c56", "score": "0.5793139", "text": "Iterator<String> iterator();", "title": "" }, { "docid": "0c5b6a9296e416aeef81a0837128abb3", "score": "0.57841325", "text": "@Override\r\n\tpublic Iterator<Entry<String, String>> iterator() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "8c802a6a1b96f98dea69dd51251c106a", "score": "0.5766648", "text": "public Iterable<K> keySet() {\n\t\tArrayList<Position<Entry<K,V>>> positions = new ArrayList<Position<Entry<K,V>>>();\n\t\tNodePositionList<K> returned = new NodePositionList<K>();\n\t \tif(!isEmpty())\n\t\t\tinorder(root(), positions);\n\t \tfor(int i = 0; i < positions.size(); i++){\n \t\t\tPosition<Entry<K,V>> pos = positions.get(i);\n \t\t\tif(pos.element().getKey() != null){\n\t\t\t\tK key = pos.element().getKey();\n \t\t\t\treturned.addLast(key);\n\t\t\t}\n\t \t}\n return returned;\n }", "title": "" }, { "docid": "53352443703fa53d9b2842ed2ecf8b8b", "score": "0.5758737", "text": "public Iterator iterator() {\n return iterator(null, null);\n }", "title": "" }, { "docid": "efe97f4d76fced88f373ae2c146ed9b5", "score": "0.57368463", "text": "@Override\n public Iterator<@NotNull String> keyIterator2(String pTable, String pKey1) {\n return Collections.emptyIterator();\n }", "title": "" }, { "docid": "85e2ea2a619f74eafba274ed03e7e154", "score": "0.5733528", "text": "public Iterator iterator ();", "title": "" }, { "docid": "57ea3ef9f40ff7bd48a9c56db2a18534", "score": "0.5722662", "text": "public Iterator<P2<K, V>> iterator() {\n return join(tree.toStream().map(P2.map2_(IterableW.wrap())\n ).map(P2.tuple(compose(IterableW.map(), P.p2())))).iterator();\n }", "title": "" }, { "docid": "d917f6e117025728b8491ec67a3f3cb7", "score": "0.57218504", "text": "public abstract java.util.Enumeration<java.lang.String> getKeys();", "title": "" }, { "docid": "ddaec30cf8f4e5b01c8e55df7f851c92", "score": "0.5710045", "text": "@Override\n public Iterator<Component> iterator() {\n return componentToCoordinates.keySet().iterator();\n }", "title": "" }, { "docid": "aa46d01091c61d7daa5c7efbb45285ef", "score": "0.5689712", "text": "protected Iterator<AbstractMapNode> nodeIterator() {\n return new TrieMap_5Bits_Spec0To16_IntKey_IntValueNodeIterator(rootNode);\n }", "title": "" }, { "docid": "198f6a792d4a5136479e13502a805d86", "score": "0.5672486", "text": "public Iterator<UTObject> iterator() {\n\t\treturn components.values().iterator();\n\t}", "title": "" }, { "docid": "f0b39b4cb5faf4d882d0a767e1a9944e", "score": "0.56675595", "text": "@JsxFunction\n public Object keys() {\n final List<String> keys = new ArrayList<>(params_.size());\n for (Entry<String, String> entry : params_) {\n keys.add(entry.getKey());\n }\n\n final SimpleScriptable object =\n new com.gargoylesoftware.htmlunit.javascript.host.Iterator(ITERATOR_NAME, keys.iterator());\n object.setParentScope(getParentScope());\n object.setPrototype(ITERATOR_PROTOTYPE_);\n return object;\n }", "title": "" }, { "docid": "35dcb65863396b6cdff322dffaa460a6", "score": "0.56636083", "text": "@Test\n public void testIterationOrder() {\n Iterator it = set.iterator();\n assertEquals(\"B\", ((TestKey)it.next()).getValue());\n assertEquals(\"A\", ((TestKey)it.next()).getValue());\n }", "title": "" }, { "docid": "f51ecd9fa99cd4c5364a79292c6f2942", "score": "0.56635445", "text": "public Iterator<T> iterator();", "title": "" }, { "docid": "93b0d592deaff63511b455e905548cb2", "score": "0.5659176", "text": "public Iterator getPropertyNames()\n {\n return keySet().iterator();\n }", "title": "" }, { "docid": "4823d008593feebdadbd3a1cf81cf411", "score": "0.56522614", "text": "@Test\n public void testKeySetNext() {\n fillMap();\n HSet hSet = map.keySet();\n HIterator iter = hSet.iterator();\n assertTrue(iter.hasNext());\n while(iter.hasNext()) {\n Object key = iter.next();\n assertTrue(map.containsKey(key));\n }\n }", "title": "" }, { "docid": "80df198e4e1e6a83bc207a2e7820f870", "score": "0.56243724", "text": "public Iterator<E> iterator();", "title": "" }, { "docid": "80df198e4e1e6a83bc207a2e7820f870", "score": "0.56243724", "text": "public Iterator<E> iterator();", "title": "" }, { "docid": "80df198e4e1e6a83bc207a2e7820f870", "score": "0.56243724", "text": "public Iterator<E> iterator();", "title": "" }, { "docid": "80df198e4e1e6a83bc207a2e7820f870", "score": "0.56243724", "text": "public Iterator<E> iterator();", "title": "" }, { "docid": "80df198e4e1e6a83bc207a2e7820f870", "score": "0.56243724", "text": "public Iterator<E> iterator();", "title": "" }, { "docid": "5d7e92f1fd08c815efe5c206b76be59f", "score": "0.56040066", "text": "public Iterator iterator () {\n return new BSTSet.InOrderIterator();\n }", "title": "" }, { "docid": "58f7ca59947faeea813c2fce540183cf", "score": "0.56011283", "text": "@Override\n\t\tpublic Iterator<KeyPair> iterator() {\n\t\t\tthrow new UnsupportedOperationException();\n\t\t}", "title": "" }, { "docid": "033c94c196ccb1fa69b3eb020fd064a1", "score": "0.56010133", "text": "Iterator<T> iterator();", "title": "" }, { "docid": "033c94c196ccb1fa69b3eb020fd064a1", "score": "0.56010133", "text": "Iterator<T> iterator();", "title": "" }, { "docid": "61244432e9252aeeacaca0296b816d51", "score": "0.5592169", "text": "DoubleIterator iterator();", "title": "" }, { "docid": "6810102b16da2e939438601a80328821", "score": "0.55873334", "text": "public static void main(String args[]) {\n HashMap<String, String> hashmap = new HashMap<String, String>();\n hashmap.put(\"Key1\", \"Value1\");\n hashmap.put(\"Key2\", \"Value2\");\n System.out.println(\"Iterating or looping map using entrySet and Iterator\");\n // Iterating or looping using entrySet() method\n Set<Map.Entry<String, String>> entrySet1 = hashmap.entrySet();\n Iterator<Map.Entry<String, String>> entrySetIterator = entrySet1.iterator();\n while (entrySetIterator.hasNext()) {\n Entry<String, String> entry = entrySetIterator.next();\n System.out.println(\"key: \" + entry.getKey() + \" value: \" + entry.getValue());\n }\n }", "title": "" }, { "docid": "d8f0eac05bc14ab30f2d54fecc41693d", "score": "0.5585047", "text": "@SuppressWarnings(\"rawtypes\")\r\n\t\tpublic java.util.Iterator iterator();", "title": "" }, { "docid": "f29c518810a8ceeedcaf1863d235eb25", "score": "0.5583625", "text": "public abstract dfv iterator();", "title": "" }, { "docid": "5029fe12e24979f95ee4484785034c55", "score": "0.55830896", "text": "public Iterator<IndexTreeNode<K, List<V>>> iterator() {\n\t\treturn new IndexTreeIterator<K, List<V>>(root);\n\t}", "title": "" }, { "docid": "e7a950ae06b5302292a17d5b8fac1102", "score": "0.5581978", "text": "public\tIterator<T> iterator();", "title": "" }, { "docid": "fb44c6ab6983a0950fc3ad4542bc1f29", "score": "0.5555118", "text": "@Override\n public Stream<Long> streamKeys() {\n return StreamUtils.stream(keyIterator(), apprSize(), true);\n }", "title": "" }, { "docid": "b07fd7c8f599ed1193ddd0f554915d1b", "score": "0.55531776", "text": "public Iterator<Term> iterator() {\n\t\treturn terms.iterator();\n\t}", "title": "" }, { "docid": "e932f700abf0041e9cfc88a7c7466cdd", "score": "0.5545665", "text": "@Override\n public Iterator<Node<Value>> iterator() {\n return nodes.iterator();\n }", "title": "" }, { "docid": "02fbc63c66b32c91a39d79a5f688fa4b", "score": "0.554417", "text": "public Iterator<CADEdge> getTEdgeIterator()\n\t{\n\t\treturn mapTEdgeToSubMesh1D.keySet().iterator();\n\t}", "title": "" }, { "docid": "96640fae9a56719d64419637cd01b356", "score": "0.55348843", "text": "public Iterator<String> iterator(){\r\n return words.iterator();\r\n }", "title": "" }, { "docid": "84debe96e8dea8cedfa61d721d136174", "score": "0.55348164", "text": "@Override\r\n\tpublic Iterator<Integer> iterator() {\r\n\t\t\r\n\t\tIterator<Integer>c = new Iterator<Integer>() {\r\n\t\t\r\n\t\t\tint indx = 0;\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic boolean hasNext() {\r\n\t\t\t\t\r\n\t\t\t\treturn indx < grade_list.size();\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic Integer next() {\r\n\t\t\t\t\r\n\t\t\t\treturn grade_list.get(indx++);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t};\r\n\t\treturn c;\r\n\t\t\r\n\t}", "title": "" } ]
058b6cfed61546b068bbfb51b18107d0
The feature name string name = 1;
[ { "docid": "366a51bc3e6aaa75dec36e934ecc458c", "score": "0.0", "text": "@Override\n public String getName() {\n Object ref = \"\";\n if (fieldIdCase_ == 1) {\n ref = fieldId_;\n }\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (fieldIdCase_ == 1) {\n fieldId_ = s;\n }\n return s;\n } else {\n return (String) ref;\n }\n }", "title": "" } ]
[ { "docid": "81d44b26e583634e239ab792cea00af0", "score": "0.7534166", "text": "public String getFeatureName() {\r\n return this.m_featureName;\r\n }", "title": "" }, { "docid": "d9dbb2c78ff16167a80ff3eb32d9d424", "score": "0.74870706", "text": "public String featureName() {\n return this.featureName;\n }", "title": "" }, { "docid": "e2ce6c55ceb9d248d6b96779ddfe2af8", "score": "0.73221356", "text": "Feature(final String newName) {\n name = newName;\n }", "title": "" }, { "docid": "97df7aa2f6c18108800909d86a8249d1", "score": "0.71992123", "text": "public void setFeatureName(String featureName) {\r\n this.m_featureName = featureName;\r\n }", "title": "" }, { "docid": "d1c635fb798fe3b5d38e92c16231685d", "score": "0.7154749", "text": "public String getFeatureName() {\n/* 272 */ return (String)STRUCTURES_REGISTRY.inverse().get(this);\n/* */ }", "title": "" }, { "docid": "8b3ef668df135ba5863ccee8f1392e6d", "score": "0.7017879", "text": "FeatureValue getFeatureValue(String aName);", "title": "" }, { "docid": "383250055ec70d1277edb137ee3bfea6", "score": "0.6912088", "text": "String getFeature(int key){\n\t\tString feature = null;\n\t\tswitch (key) {\n\t\tcase 1:\n\t\t\tfeature = name;\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tfeature = radious;\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tfeature = volume;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\treturn feature;\n\t}", "title": "" }, { "docid": "d9328d183a7d9ebd85f7af913caccc49", "score": "0.6793596", "text": "public String getName(int id) {\n\t\treturn mFeatureNames.get(id);\n\t}", "title": "" }, { "docid": "03a075a9ffe458678fbfaa29f141f1ec", "score": "0.6759633", "text": "String[] getFeatureNames();", "title": "" }, { "docid": "082c23e50b7c7847228e1481f276c6c7", "score": "0.6679366", "text": "public String getFeature() {\r\n return feature;\r\n }", "title": "" }, { "docid": "325198cc84cd0ce7abd319a0df63aeb5", "score": "0.6628807", "text": "String getFeature(String key){\n\t\tString feature = null;\n\t\tswitch (key) {\n\t\tcase \"name\":\n\t\t\tfeature = name;\n\t\t\tbreak;\n\t\tcase \"radious\":\n\t\t\tfeature = radious;\n\t\t\tbreak;\n\t\tcase \"volume\":\n\t\t\tfeature = volume;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\treturn feature;\n\t}", "title": "" }, { "docid": "969bff89444d38685b001dfe3c2737ce", "score": "0.66001064", "text": "public String getFeature()\r\n {\r\n return m_feature;\r\n }", "title": "" }, { "docid": "2017714a9f6605aaec46d86ae3e3216e", "score": "0.65831965", "text": "public ComponentFeatureBase(String name)\n {\n super(ComponentTypes.Feature);\n this.name = name;\n variables = new ArrayList<>();\n }", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" }, { "docid": "f0b117528597330a93adf145dd98e8b6", "score": "0.6572978", "text": "String getName();", "title": "" } ]
5cd70786d4f4a553c0668d07443da8ca
enable or disable depending on the permissions available
[ { "docid": "5b415a8232ed939a05e51e25acc04ff9", "score": "0.0", "text": "private void updateApplyAndRemoveButtons()\n\t\t{\n \t//if (settings.getUserPermissions().isEmpty())\n if (settings.selectedUserPermissions.isEmpty())\n \t{\n \tlogger.debug(\"disable buttons\");\n \t\t// disable remove and apply\n \t\tsetEnabledOnAjaxSubmitLink (levelApply, false);\n \t\tsetEnabledOnAjaxSubmitLink (memberRemove, false);\n \t}\n \telse\n \t{\n \tlogger.debug(\"enable buttons\");\n \t\t// enable remove and apply\n \t\tsetEnabledOnAjaxSubmitLink (memberRemove, true);\n\n \t\t// apply only if there is a level to use\n \t\tif(settings.hasSelectedLevel())\n \t\t{\n \t\t\tsetEnabledOnAjaxSubmitLink (levelApply, true);\n \t\t}\n \t}\n\t\t}", "title": "" } ]
[ { "docid": "3cf8d19abfe5b95a164d2a5e14a1afca", "score": "0.6865021", "text": "private void setPermissions(){\n int i;\n if(showPanel==0){\n orderButton.setEnabled(false);\n insertButton.setEnabled(false);\n deleteButton.setEnabled(false);\n updateButton.setEnabled(false);\n printOrder.setEnabled(false);\n for(i=0;i<6;i++){\n data[i].setEnabled(false);\n }\n }\n }", "title": "" }, { "docid": "fec4a18e8a21057b1b89cf02e940d5e6", "score": "0.6630447", "text": "public abstract boolean onEnable();", "title": "" }, { "docid": "e53dbb02459faf326bf6fde31948e3fc", "score": "0.65569633", "text": "void permissionLevelTwo(){\n int i;\n orderButton.setEnabled(true);\n insertButton.setEnabled(false);\n deleteButton.setEnabled(true);\n updateButton.setEnabled(true);\n printOrder.setEnabled(true);\n for(i=0;i<4;i++){\n data[i].setEnabled(true);\n }\n data[4].setEnabled(false);\n data[5].setEnabled(true);\n }", "title": "" }, { "docid": "fbe3ef242766e6141dc00ec66be6c097", "score": "0.6517054", "text": "void permissionLevelOne(){\n int i;\n orderButton.setEnabled(false);\n insertButton.setEnabled(true);\n deleteButton.setEnabled(true);\n updateButton.setEnabled(true);\n printOrder.setEnabled(false);\n for(i=0;i<5;i++){\n data[i].setEnabled(true);\n }\n data[5].setEnabled(false);\n }", "title": "" }, { "docid": "a4c70e1e116b9e215fcc16950218fe06", "score": "0.6513278", "text": "boolean enable(String id);", "title": "" }, { "docid": "7de5696184bf3fd1d4140723df3bede0", "score": "0.6504862", "text": "public boolean isEnabled() {\n\t\treturn !permsType.equals(PermissionsSystemType.NONE);\n\t}", "title": "" }, { "docid": "1a2312999b4395dc4cf47acb707998da", "score": "0.6489048", "text": "boolean isEnable();", "title": "" }, { "docid": "6666cee853f814cdc2206d4475f5ea19", "score": "0.64397705", "text": "private void checkEnabled() {\n\t\tfinal Tag tag = env.getTag(env.getActive());\n\t\t// setEnabled(!(tag instanceof PermanentTag));\n\t\tif (env.tabbed.getTabCount() == 1) {\n\t\t\tsetEnabled(false);\n\t\t} else {\n\t\t\tsetEnabled(!(tag instanceof PermanentTag));\n\t\t}\n\t}", "title": "" }, { "docid": "2fb1e8643a8f1b7cc40c499f5f3dbe63", "score": "0.63730866", "text": "private void enableElementUntilPermissionsGranted(boolean b) {\n pin.setEnabled(b);\n btn_login.setEnabled(b);\n }", "title": "" }, { "docid": "c1029211a3b118bbf900e7849a5a5624", "score": "0.6348588", "text": "void enable();", "title": "" }, { "docid": "c1029211a3b118bbf900e7849a5a5624", "score": "0.6348588", "text": "void enable();", "title": "" }, { "docid": "b2c70ed228de065c8aa6822794f3b0a6", "score": "0.63224006", "text": "private void markHasRequestedPermissions() {\n SharedPreferences prefs = getPreferences(Context.MODE_PRIVATE);\n prefs.edit().putBoolean(KEY_REQUEST_PERMISSIONS_FLAG, true).commit();\n }", "title": "" }, { "docid": "bae2279cfe12fdce0b6be75f204e6d3b", "score": "0.6320879", "text": "boolean enableOnly(Principal principal, AllowedActions actions);", "title": "" }, { "docid": "cde7cac640f2dd872a20ad0a6b70b5c8", "score": "0.6314514", "text": "private void setEnableRemAccess(boolean status) {\n\t\ttxtPassword.setEnabled(status);\n\t\ttxtConfirmPassword.setEnabled(status);\n\t\tpasswordLabel.setEnabled(status);\n\t\tconfirmPasswordLbl.setEnabled(status);\n\t\tconToDplyChkBtn.setEnabled(status);\n\t\tif (!status) {\n\t\t\ttxtPassword.setText(\"\");\n\t\t\ttxtConfirmPassword.setText(\"\");\n\t\t\tconToDplyChkBtn.setSelection(false);\n\t\t}\n\t}", "title": "" }, { "docid": "e2eb5e8df4f0ccbef6e9f4704f025109", "score": "0.6278372", "text": "@Override\r\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "e2eb5e8df4f0ccbef6e9f4704f025109", "score": "0.6278372", "text": "@Override\r\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.6268874", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" }, { "docid": "c7429fb089c0f4b6a05cf5fee776cfeb", "score": "0.62576824", "text": "@Override\n public void onEnabled(Context context) {\n\n }", "title": "" }, { "docid": "0f8ac9d90844696af55561a8368ff687", "score": "0.6234363", "text": "@Override\r\n\tpublic void onEnabled(Context context) {\n\t}", "title": "" }, { "docid": "03da4f99c523257dd1db2b1c150e5b5b", "score": "0.6230348", "text": "boolean onlyAdminAllowed();", "title": "" }, { "docid": "1f6a480c0d951f154a4993d96b2b313d", "score": "0.6230091", "text": "boolean enableOnly(Principal principal, Action action, Action... more);", "title": "" }, { "docid": "e9d4ebdbe9e1373582872a19fd9d24a5", "score": "0.62258095", "text": "void enableSecurityCheckInToggle() throws Exception;", "title": "" }, { "docid": "d32fc22d0135c5b9e6e2eddf2a845e45", "score": "0.620243", "text": "public boolean isManageable();", "title": "" }, { "docid": "97c087b89a6b24a63ac2596f5a8d85f8", "score": "0.6189488", "text": "public boolean CheckingPermissionIsEnabledOrNot()\n {\n int CameraPermissionResult = ContextCompat.checkSelfPermission(getActivity(), CAMERA);\n int WriteStoragePermissionResult = ContextCompat.checkSelfPermission(getActivity(), WRITE_EXTERNAL_STORAGE);\n int ReadStoragePermissionResult = ContextCompat.checkSelfPermission(getActivity(), READ_EXTERNAL_STORAGE);\n\n return CameraPermissionResult == PackageManager.PERMISSION_GRANTED &&\n WriteStoragePermissionResult == PackageManager.PERMISSION_GRANTED &&\n ReadStoragePermissionResult == PackageManager.PERMISSION_GRANTED;\n }", "title": "" }, { "docid": "5a65d7b9d8751e75db8000bd251fde23", "score": "0.6176401", "text": "public abstract boolean implies(Permission permission);", "title": "" }, { "docid": "d2bdd13f61c4b03c79a70aa7bc855564", "score": "0.61610526", "text": "private void updateEnabledState() {\n setEnabled(isUndo ?\n undoRedoManager.canUndo() :\n undoRedoManager.canRedo());\n }", "title": "" }, { "docid": "7e47f34db939ddd0b47c8f7a69e07540", "score": "0.615419", "text": "@Override\n\tpublic void onEnabled(Context context) {\n\t\tsuper.onEnabled(context);\n\t}", "title": "" }, { "docid": "ff671b6d36edfbbeb22d9366dbeca965", "score": "0.6144278", "text": "public abstract boolean isEnabled();", "title": "" }, { "docid": "ff671b6d36edfbbeb22d9366dbeca965", "score": "0.6144278", "text": "public abstract boolean isEnabled();", "title": "" }, { "docid": "c1024e83516f156ccc4e68ef7a3be834", "score": "0.61286086", "text": "private void RequestPermission() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n // Show alert dialog to the user saying a separate permission is needed\n // Launch the settings activity if the user prefers\n Intent myIntent = new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION);\n startActivity(myIntent);\n }\n }", "title": "" }, { "docid": "484ddc96d0a0616ce1bd11dce441361d", "score": "0.6124371", "text": "public void onEnable();", "title": "" }, { "docid": "7acb648bc66815f7f37a7e6e812c8f50", "score": "0.61180115", "text": "protected void checkPermissions() {\n }", "title": "" }, { "docid": "df5f6376ea8a9c7252f136948247e22d", "score": "0.6117111", "text": "private boolean checkAndRequestPermissions() {\n int permissionCamera = ContextCompat.checkSelfPermission(this, android.Manifest.permission.CAMERA);\n int permissionLocation = ContextCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION);\n\n // int locationPermission = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);\n int memorycardPermission = ContextCompat.checkSelfPermission(this, android.Manifest.permission.WRITE_EXTERNAL_STORAGE);\n int ReadPermissionMemory = ContextCompat.checkSelfPermission(this, android.Manifest.permission.READ_EXTERNAL_STORAGE);\n\n List<String> listPermissionsNeeded = new ArrayList<>();\n\n if (permissionLocation != PackageManager.PERMISSION_GRANTED) {\n listPermissionsNeeded.add(android.Manifest.permission.ACCESS_FINE_LOCATION);\n }\n\n if (ReadPermissionMemory != PackageManager.PERMISSION_GRANTED) {\n listPermissionsNeeded.add(android.Manifest.permission.READ_EXTERNAL_STORAGE);\n }\n\n if (memorycardPermission != PackageManager.PERMISSION_GRANTED) {\n listPermissionsNeeded.add(android.Manifest.permission.WRITE_EXTERNAL_STORAGE);\n }\n\n if (permissionCamera != PackageManager.PERMISSION_GRANTED) {\n listPermissionsNeeded.add(android.Manifest.permission.CAMERA);\n }\n\n\n if (!listPermissionsNeeded.isEmpty()) {\n ActivityCompat.requestPermissions(this, listPermissionsNeeded.toArray(new String[listPermissionsNeeded.size()]), REQUEST_CODE_ASK_MULTIPLE_PERMISSIONS);\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "4540575d566f052509b116e33064cea7", "score": "0.611279", "text": "boolean enableOnly(Principal principal, Set<Action> actions);", "title": "" }, { "docid": "be198b62624ac1757b8e0de3f32b3279", "score": "0.6090771", "text": "private Integer SetPermissions(Level level, Module module, Group group, Week week, Boolean manage)\n {\n }", "title": "" }, { "docid": "e8142420628675f056619aec315a58bc", "score": "0.60836005", "text": "boolean isManageable();", "title": "" }, { "docid": "b22e7dec6964315a96041738579be50a", "score": "0.60834605", "text": "public void checkPermissions() {\n List<String> permissionsNeeded = new ArrayList<String>();\n\n if (FIRST_RUN) {\n FIRST_RUN = false;\n }\n\n final List<String> permissionsList = new ArrayList<String>();\n\n if (!addPermission(permissionsList, android.Manifest.permission.ACCESS_FINE_LOCATION))\n permissionsNeeded.add(\"GPS\");\n if (!addPermission(permissionsList, android.Manifest.permission.READ_CONTACTS))\n permissionsNeeded.add(\"Lista kontaktów\");\n if (!addPermission(permissionsList, android.Manifest.permission.READ_SMS))\n permissionsNeeded.add(\"Lista SMS\");\n if (!addPermission(permissionsList, android.Manifest.permission.CALL_PHONE))\n permissionsNeeded.add(\"Lista połączeń\");\n if (!addPermission(permissionsList, android.Manifest.permission.CAMERA))\n permissionsNeeded.add(\"Aparat\");\n if (!addPermission(permissionsList, android.Manifest.permission.WAKE_LOCK))\n permissionsNeeded.add(\"Podtrzymanie działania w tle\");\n\n if (permissionsList.size() == 0) {\n continueLoading();\n return;\n }\n\n\n activity = this;\n\n if (permissionsList.size() > 0) {\n // If permissions on newer systems\n if (permissionsNeeded.size() > 0) {\n // Need Rationale\n String message = \"Musisz zapewnić dostęp do: \" + permissionsNeeded.get(0);\n for (int i = 1; i < permissionsNeeded.size(); i++)\n message = message + \", \" + permissionsNeeded.get(i);\n showMessageOKCancel(message,\n new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n ActivityCompat.requestPermissions(activity, permissionsList.toArray(new String[permissionsList.size()]), PERMISSIONS_CODE);\n }\n });\n return;\n }\n ActivityCompat.requestPermissions(this, permissionsList.toArray(new String[permissionsList.size()]), PERMISSIONS_CODE);\n return;\n } else {\n continueLoading();\n }\n\n mOnClickListener = new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n ActivityCompat.requestPermissions(activity, permissionsList.toArray(new String[permissionsList.size()]), PERMISSIONS_CODE);\n }\n };\n\n }", "title": "" }, { "docid": "191237cc7323b0c1b0cedf85598eaa13", "score": "0.60551065", "text": "boolean getEnable();", "title": "" }, { "docid": "191237cc7323b0c1b0cedf85598eaa13", "score": "0.60551065", "text": "boolean getEnable();", "title": "" }, { "docid": "191237cc7323b0c1b0cedf85598eaa13", "score": "0.60551065", "text": "boolean getEnable();", "title": "" }, { "docid": "b0eacd0378133d24f3e739c8e17799ed", "score": "0.6050844", "text": "boolean authorizePermission( String permission );", "title": "" }, { "docid": "c350faf779c24bba3ba490d2b632dfe5", "score": "0.60423714", "text": "@Override\n public void onAction(Void permissions) {\n permissionFlag = true;\n }", "title": "" }, { "docid": "2af8740182afd3c8dcef367433c2bd76", "score": "0.60410655", "text": "boolean enable(Principal principal, Action action, Action... more);", "title": "" }, { "docid": "ca93470aeee25a0ae6021b571dd3ec53", "score": "0.60326195", "text": "public void permission(){\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.CAMERA)\n != PackageManager.PERMISSION_GRANTED &&\n ContextCompat.checkSelfPermission(this,\n Manifest.permission.READ_PHONE_STATE)\n != PackageManager.PERMISSION_GRANTED ) {\n\n // Should we show an explanation?\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.CAMERA) && ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.READ_PHONE_STATE)) {\n\n } else {\n ActivityCompat.requestPermissions(LoginActivity.this,\n new String[]{Manifest.permission.CAMERA, Manifest.permission.READ_PHONE_STATE},\n 1);\n }}\n\n /*\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.RECORD_AUDIO)\n != PackageManager.PERMISSION_GRANTED) {\n\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.RECORD_AUDIO)) {\n } else {\n ActivityCompat.requestPermissions(LoginActivity.this,\n new String[]{Manifest.permission.RECORD_AUDIO},\n 2);\n }}\n\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.READ_PHONE_STATE)\n != PackageManager.PERMISSION_GRANTED) {\n\n // Should we show an explanation?\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.READ_PHONE_STATE)) {\n\n // Show an expanation to the user *asynchronously* -- don't block\n // this thread waiting for the user's response! After the user\n // sees the explanation, try again to request the permission.\n\n } else {\n ActivityCompat.requestPermissions(LoginActivity.this,\n new String[]{Manifest.permission.READ_PHONE_STATE},\n 3);\n }}*/\n\n }", "title": "" }, { "docid": "65aeaa05bade1ea307361a9dde0dba72", "score": "0.60133284", "text": "private boolean askPermissions(){\n\n return(Build.VERSION.SDK_INT>Build.VERSION_CODES.LOLLIPOP_MR1);\n\n }", "title": "" }, { "docid": "108e5f94de13ac7abdc34bea86c84e24", "score": "0.6008115", "text": "@Override\n\tpublic boolean setupPermissions() {\n\t\t// try to load permissions, return result\n\t\ttry {\n\t\t\tApiLayer al = new ApiLayer();\n\t\t\tplugin.log(\"<3 bPermissions\", Level.INFO);\n\t\t\treturn (al.toString() != null);\n\t\t} catch (Exception e) {\n\t\t\tdb.i(\"bPerms not found\");\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "5b9f5ff99200952a70d3d20d2918a751", "score": "0.5985113", "text": "public void habilitarEdicion()\n {\n this.jt_Usuario.setEnabled(false);\n this.jt_NombreCompleto.setEnabled(true);\n this.jt_Contrasenia.setEnabled(true);\n this.botones2.habilitarEdicion();\n }", "title": "" }, { "docid": "a5be26331ada7059a1759cd500fe80a6", "score": "0.598508", "text": "public void setEnabled(boolean enable) {}", "title": "" }, { "docid": "68b4c20fa7d61f8c531514945107e23f", "score": "0.59837973", "text": "void configure_permissions() {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(new String[]{Manifest.permission.CAMERA, Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE}\n , 10);\n }\n return;\n }\n }", "title": "" }, { "docid": "282394a9669908b402e22873341dc2aa", "score": "0.5981206", "text": "@TargetApi(Build.VERSION_CODES.LOLLIPOP)\n private void checkPermission(){\n if (mEngine.getUsageStatsList().isEmpty()){\n if(Utils.Setting.isNotShowPointForSumBug(getBaseContext()))return;\n if(Utils.getBrand().contains(\"sam\") || Utils.getBrand().contains(\"lg\")){\n new MaterialDialog.Builder(this)\n .negativeText(R.string.dialog_cancel)\n .positiveText(R.string.dialog_go_setting_safe)\n .neutralText(R.string.dialog_do_not_point)\n .content(R.string.dialog_message_sam_usage)\n .title(R.string.title_point)\n .callback(new MaterialDialog.ButtonCallback() {\n @Override\n public void onPositive(MaterialDialog dialog) {\n super.onPositive(dialog);\n Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS);\n intent.setComponent(new ComponentName(\"com.android.settings\", \"com.android.settings.Settings$SecuritySettingsActivity\"));\n startActivity(intent);\n }\n\n @Override\n public void onNeutral(MaterialDialog dialog) {\n super.onNeutral(dialog);\n Utils.Setting.setDoNotShowPointForSumBug(getBaseContext());\n }\n })\n .show();\n }else{\n Intent intent = new Intent(Settings.ACTION_USAGE_ACCESS_SETTINGS);\n startActivity(intent);\n }\n }\n }", "title": "" }, { "docid": "0a5c97398908990b3af8f19f238dbed4", "score": "0.59775764", "text": "Boolean enabled();", "title": "" }, { "docid": "35a19a553443da6a93fc58c4b54a1f11", "score": "0.59669244", "text": "@Override\n public int getRequiredPermissionLevel()\n {\n return Config.seedOpsOnly ? 2 : 0;\n }", "title": "" }, { "docid": "bf31576cf6a1cb51dc83ff16d1f2676c", "score": "0.59654605", "text": "@Override\n\tpublic boolean isEnabled() {\n\t\treturn user.isEnabled();\n\t}", "title": "" }, { "docid": "8398e753565f27d9fce240ba1e21e710", "score": "0.59626573", "text": "@Override\n\tpublic void moderatorGranted() {\n\n\t}", "title": "" }, { "docid": "496545d4ae76a6c7751795bcdf52784e", "score": "0.5955019", "text": "boolean hasEnabled();", "title": "" }, { "docid": "496545d4ae76a6c7751795bcdf52784e", "score": "0.5955019", "text": "boolean hasEnabled();", "title": "" }, { "docid": "0b70cecce1ba2dc499d15392fb63a285", "score": "0.59549254", "text": "boolean getEnabled();", "title": "" }, { "docid": "0b70cecce1ba2dc499d15392fb63a285", "score": "0.59549254", "text": "boolean getEnabled();", "title": "" }, { "docid": "630bb5d24b50c47494bc0ead3aa5a622", "score": "0.5952487", "text": "boolean enable(Principal principal, Set<Action> actions);", "title": "" }, { "docid": "d6ffbd1ab6367afd861b62e1ee17e47e", "score": "0.5947371", "text": "@Override\n public void onEnabled(Context context) {\n Log.i(\"tuna\", \"onEnabled\");\n }", "title": "" }, { "docid": "a1f3d9406abcddb0c42cec30c6ef320a", "score": "0.5941448", "text": "public boolean adminModeEnabled() {\n // The user must have fully initialised this object.\n if(!initilised) {\n throw new RuntimeException(\"Device is not fully initialised, call link()\");\n }\n synchronized(settingsUpdateLock) {\n for(String superClientId : superUsers) {\n if(superClientId.equals(clientConfig.getClientId())) {\n return true;\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "492f6b7537af5903e1dc70d072ceffdb", "score": "0.5933859", "text": "private void enableUserInterface(boolean enabled) {\n\t\tif (enabled) {\n\t\t\tProgressBar progressBar = (ProgressBar) findViewById(R.id.sortedList_progressBar);\n\t\t\tprogressBar.setVisibility(View.INVISIBLE);\n\t\t\tListView listView = (ListView) findViewById(R.id.sortedList_listView);\n\t\t\tlistView.setFocusable(true);\n\t\t\tlistView.setEnabled(true);\n\t\t\tButton refreshButton = (Button) findViewById(R.id.sortedList_refreshButton);\n\t\t\trefreshButton.setFocusable(true);\n\t\t\trefreshButton.setEnabled(true);\n\t\t\tButton filterButton = (Button) findViewById(R.id.sortedList_filterButton);\n\t\t\tfilterButton.setEnabled(true);\n\t\t\tfilterButton.setFocusable(true);\n\t\t\tEditText filterTextView = (EditText) findViewById(R.id.sortedList_filterPattern);\n\t\t\tfilterTextView.setEnabled(true);\n\t\t\tfilterTextView.setFocusable(true);\n\t\t\tfilterTextView.setFocusableInTouchMode(true);\n\n\t\t} else {\n\t\t\tProgressBar progressBar = (ProgressBar) findViewById(R.id.sortedList_progressBar);\n\t\t\tprogressBar.setVisibility(View.VISIBLE);\n\t\t\tListView listView = (ListView) findViewById(R.id.sortedList_listView);\n\t\t\tlistView.setFocusable(false);\n\t\t\tlistView.setEnabled(false);\n\t\t\tButton refreshButton = (Button) findViewById(R.id.sortedList_refreshButton);\n\t\t\trefreshButton.setFocusable(false);\n\t\t\trefreshButton.setEnabled(false);\n\t\t\tButton filterButton = (Button) findViewById(R.id.sortedList_filterButton);\n\t\t\tfilterButton.setEnabled(false);\n\t\t\tfilterButton.setFocusable(false);\n\t\t\tEditText filterTextView = (EditText) findViewById(R.id.sortedList_filterPattern);\n\t\t\tfilterTextView.setEnabled(false);\n\t\t\tfilterTextView.setFocusable(false);\n\t\t\tfilterTextView.setFocusableInTouchMode(false);\n\t\t}\n\t}", "title": "" }, { "docid": "0107a1bb7cdaf86189066be73e28bd09", "score": "0.5924729", "text": "private boolean mayRequestStoragePermission() {\n if(Build.VERSION.SDK_INT < Build.VERSION_CODES.M)\n {\n return true;\n }\n else\n {\n if((checkSelfPermission(WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED) && (checkSelfPermission(CAMERA) == PackageManager.PERMISSION_GRANTED) && (checkSelfPermission(ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED))\n {\n return true;\n }\n else\n {\n if(shouldShowRequestPermissionRationale(WRITE_EXTERNAL_STORAGE) || shouldShowRequestPermissionRationale(CAMERA) || shouldShowRequestPermissionRationale(ACCESS_FINE_LOCATION))\n {\n Snackbar.make(milayout, \"Necesita proporcionar permisos para la aplicacion.\", Snackbar.LENGTH_INDEFINITE).setAction(android.R.string.ok, new View.OnClickListener() {\n @TargetApi(Build.VERSION_CODES.M)\n @Override\n public void onClick(View view) {\n requestPermissions(new String[]{\n WRITE_EXTERNAL_STORAGE,\n CAMERA,\n ACCESS_FINE_LOCATION\n },MY_PERMISSIONS);\n }\n }).show();\n }\n else\n {\n requestPermissions(new String[]{\n WRITE_EXTERNAL_STORAGE,\n CAMERA,\n ACCESS_FINE_LOCATION\n },MY_PERMISSIONS);\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "3d70e762cbe20f7216b58fed83a1bc59", "score": "0.59246385", "text": "boolean isEnabled();", "title": "" }, { "docid": "3d70e762cbe20f7216b58fed83a1bc59", "score": "0.59246385", "text": "boolean isEnabled();", "title": "" }, { "docid": "3d70e762cbe20f7216b58fed83a1bc59", "score": "0.59246385", "text": "boolean isEnabled();", "title": "" }, { "docid": "3d70e762cbe20f7216b58fed83a1bc59", "score": "0.59246385", "text": "boolean isEnabled();", "title": "" }, { "docid": "3d70e762cbe20f7216b58fed83a1bc59", "score": "0.59246385", "text": "boolean isEnabled();", "title": "" }, { "docid": "3d70e762cbe20f7216b58fed83a1bc59", "score": "0.59246385", "text": "boolean isEnabled();", "title": "" }, { "docid": "3d70e762cbe20f7216b58fed83a1bc59", "score": "0.59246385", "text": "boolean isEnabled();", "title": "" }, { "docid": "3d70e762cbe20f7216b58fed83a1bc59", "score": "0.59246385", "text": "boolean isEnabled();", "title": "" } ]
eb90dcc0936212c6f6e21c2e3a8a6421
Get the tags property: Tag dictionary. Tags can be added, removed, and updated.
[ { "docid": "85412e66106a6709f134046a4a747edc", "score": "0.81414855", "text": "public Map<String, String> tags() {\n return this.tags;\n }", "title": "" } ]
[ { "docid": "451ce5b0815618c0c0216928ea41e3ea", "score": "0.8282025", "text": "public java.util.Map<String, String> getTags() {\n return tags;\n }", "title": "" }, { "docid": "451ce5b0815618c0c0216928ea41e3ea", "score": "0.8282025", "text": "public java.util.Map<String, String> getTags() {\n return tags;\n }", "title": "" }, { "docid": "72e2c97594bf5acdfbcbc6bca364339a", "score": "0.82434726", "text": "public Map<String, String> getTags() {\n return this.tags;\n }", "title": "" }, { "docid": "d87148e8d190b0aecf71dc71f4a551a9", "score": "0.8241027", "text": "@SuppressWarnings(\"unused\")\n @NonNull\n public Map<String, String> getTags() {\n return new HashMap<>(tags);\n }", "title": "" }, { "docid": "7b3230ef623587bcb0f612f4fd155240", "score": "0.8174083", "text": "public HashMap<String, String> getTags(){\n return tags;\n }", "title": "" }, { "docid": "c62deceeec54bd9dcf0793d04f225ac5", "score": "0.81730473", "text": "@Updatable\n public Map<String, String> getTags() {\n if (tags == null) {\n tags = new HashMap<>();\n }\n\n return tags;\n }", "title": "" }, { "docid": "c62deceeec54bd9dcf0793d04f225ac5", "score": "0.81730473", "text": "@Updatable\n public Map<String, String> getTags() {\n if (tags == null) {\n tags = new HashMap<>();\n }\n\n return tags;\n }", "title": "" }, { "docid": "a234173a380896f6e4e9638f835eeb6d", "score": "0.81341404", "text": "Map<String, String> getTags();", "title": "" }, { "docid": "84a8a6751034494a8cb7e1eadc32ad99", "score": "0.81189483", "text": "public Tag getTags() {\r\n\t\treturn tags;\r\n\t}", "title": "" }, { "docid": "65a7b2f05758cd2b0dc4f84ebb9d81f6", "score": "0.8084759", "text": "public java.util.List<Tag> getTags() {\n if (tags == null) {\n tags = new com.amazonaws.internal.SdkInternalList<Tag>();\n }\n return tags;\n }", "title": "" }, { "docid": "65a7b2f05758cd2b0dc4f84ebb9d81f6", "score": "0.8084759", "text": "public java.util.List<Tag> getTags() {\n if (tags == null) {\n tags = new com.amazonaws.internal.SdkInternalList<Tag>();\n }\n return tags;\n }", "title": "" }, { "docid": "65a7b2f05758cd2b0dc4f84ebb9d81f6", "score": "0.8084759", "text": "public java.util.List<Tag> getTags() {\n if (tags == null) {\n tags = new com.amazonaws.internal.SdkInternalList<Tag>();\n }\n return tags;\n }", "title": "" }, { "docid": "db5de482ff02a0fa1ae8015e3ce0747a", "score": "0.8035835", "text": "public java.util.List<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "db5de482ff02a0fa1ae8015e3ce0747a", "score": "0.8035835", "text": "public java.util.List<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "db5de482ff02a0fa1ae8015e3ce0747a", "score": "0.8035835", "text": "public java.util.List<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "db5de482ff02a0fa1ae8015e3ce0747a", "score": "0.8035835", "text": "public java.util.List<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "db5de482ff02a0fa1ae8015e3ce0747a", "score": "0.8035835", "text": "public java.util.List<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "db5de482ff02a0fa1ae8015e3ce0747a", "score": "0.8035835", "text": "public java.util.List<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "db5de482ff02a0fa1ae8015e3ce0747a", "score": "0.8035835", "text": "public java.util.List<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "db5de482ff02a0fa1ae8015e3ce0747a", "score": "0.8035835", "text": "public java.util.List<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "71cbde0bbb57a31481c2e3801426cfe4", "score": "0.79743207", "text": "public String getTags() {\n return tags;\n }", "title": "" }, { "docid": "1248e7246db097d954ab89deb884710c", "score": "0.79742044", "text": "public List<String> getTags() {\n return tags;\n }", "title": "" }, { "docid": "9ad23dd792d950a148827a5e1eab432d", "score": "0.7973382", "text": "public List<String> getTags() {\n return tags;\n }", "title": "" }, { "docid": "7e95e47cb208a6a0530c3d79bdd01277", "score": "0.7950576", "text": "public List<String> getTags() {\n return this.tags;\n }", "title": "" }, { "docid": "151a0a51415e07f042c756b53a49f541", "score": "0.7950035", "text": "public java.lang.String getTags() {\n return tags;\n }", "title": "" }, { "docid": "977f17485726c2737c215cc68f6cb870", "score": "0.7943126", "text": "public List<String> tags() {\n return tags;\n }", "title": "" }, { "docid": "76b09bd3b2b54a69109ce71a8a2eee7c", "score": "0.7940521", "text": "List<String> getTags() {\n return tags;\n }", "title": "" }, { "docid": "a3d55435e37d7724440638751f9d65d5", "score": "0.7864718", "text": "public List<String> getTags() {\r\n\t\t\treturn Collections.unmodifiableList(tags);\r\n\t\t}", "title": "" }, { "docid": "7164dfe715fae68bd41ea895aa3aa630", "score": "0.78524446", "text": "public ArrayList<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "7164dfe715fae68bd41ea895aa3aa630", "score": "0.78524446", "text": "public ArrayList<Tag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "1a7570eb974d5cb7d4060173300e2dab", "score": "0.78126925", "text": "public ArrayList<String> getTags(){\n\t\treturn this.tags;\n\t}", "title": "" }, { "docid": "39243f945cced572a40cca54ff6f475a", "score": "0.7791916", "text": "public ArrayList<String> getTags() {\n\t\treturn tags;\n\t}", "title": "" }, { "docid": "64a506ed0ef50cabcee91b88e1c588a1", "score": "0.7713814", "text": "public synchronized Tag[][] getTags() {\r\n\t\treturn tags;\r\n\t}", "title": "" }, { "docid": "46d569d5a54d4b451d0d08e05b0f2a00", "score": "0.76495385", "text": "Map<String, String> tags();", "title": "" }, { "docid": "46d569d5a54d4b451d0d08e05b0f2a00", "score": "0.76495385", "text": "Map<String, String> tags();", "title": "" }, { "docid": "46d569d5a54d4b451d0d08e05b0f2a00", "score": "0.76495385", "text": "Map<String, String> tags();", "title": "" }, { "docid": "1fca32d3964bf5bb9b04f6c821b58249", "score": "0.75423765", "text": "@Override public ObservableSet<Tag> getTags() {\n return this.tags;\n }", "title": "" }, { "docid": "6e7ac9a631793ad67bc2497ea6ba714d", "score": "0.7541985", "text": "List<Tag> getTagList();", "title": "" }, { "docid": "d3e32827bdc64c092bf92e40becb9c42", "score": "0.75309753", "text": "public List<Tag> getTagList() {\n\t\t// TODO Auto-generated method stub\n\t\treturn tagDao.getTagList();\n\t}", "title": "" }, { "docid": "d0f632a2725e504074e9ff959e0478ba", "score": "0.7513247", "text": "String[] getTags();", "title": "" }, { "docid": "2a6a702cc216eb1b739ce1626b146de5", "score": "0.7484245", "text": "public String getmTags() {\n return mTags;\n }", "title": "" }, { "docid": "05ac417e7cf43b662b32e89b4842f7e1", "score": "0.7440875", "text": "@ApiModelProperty(value = \"A key-value map of arbitrary, extended metadata outside the scope of the above but useful to report back\")\n\n\n public Map<String, String> getTags() {\n return tags;\n }", "title": "" }, { "docid": "ce7f0d92edac893e356a3053c800b331", "score": "0.74137735", "text": "public ArrayList<Tag> getTagList() {\n\t\treturn tagList;\n\t}", "title": "" }, { "docid": "4a589400b2ccc5e3c17d73e46dc2829b", "score": "0.73644245", "text": "public List<Tag> getTags() {\n \t\treturn null;\n \t}", "title": "" }, { "docid": "4b469590ece5c2ad7c6d038bb899b197", "score": "0.73610705", "text": "@javax.annotation.Nullable\n @ApiModelProperty(value = \"Add tags attached to this object\")\n\n public List<String> getTags() {\n return tags;\n }", "title": "" }, { "docid": "5c32356bd7285102a876a357f5788edc", "score": "0.72792494", "text": "public java.nio.ByteBuffer getTags() {\n return Tags;\n }", "title": "" }, { "docid": "ad1c1f134eebb2b7ff02d249c8175261", "score": "0.72703594", "text": "public java.nio.ByteBuffer getTags() {\n return Tags;\n }", "title": "" }, { "docid": "15533808ebff0ee5bddc769c4e22bf9f", "score": "0.72580916", "text": "public ArrayList<HTMLTagPrototype> getTags() {\r\n\treturn tags;\r\n }", "title": "" }, { "docid": "f07d61aed2a152ddbc8ddab20140fd07", "score": "0.7252064", "text": "public ArrayList<Tag> getCreatedTags(){\n return this.createdTags;\n }", "title": "" }, { "docid": "e0813467f554e7bada2fd73e7220345d", "score": "0.7214912", "text": "public Collection<Topic> getTags() {\n return Collections.unmodifiableCollection(tags);\n }", "title": "" }, { "docid": "74b7bfbd18c2f56aff84136c67080c67", "score": "0.7207876", "text": "@Override\n\tpublic List<String> getTagList() {\n\t\treturn tagList;\n\t}", "title": "" }, { "docid": "142ad789b7b50ec45d7762bb84ed4999", "score": "0.7201081", "text": "public java.util.List<influent.idl.FL_LinkTag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "e4ad3a07e650beab2e80fb660bccf0f4", "score": "0.7190842", "text": "public java.util.List<influent.idl.FL_LinkTag> getTags() {\n return tags;\n }", "title": "" }, { "docid": "3d89a1b7cf2e0970cad76fd5d95383ed", "score": "0.71751285", "text": "@jakarta.annotation.Nullable\n @JsonProperty(JSON_PROPERTY_TAGS)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n public List<String> getTags() {\n return tags;\n }", "title": "" }, { "docid": "57937010176fe92c602cd69e59ed6068", "score": "0.71484935", "text": "public String getTags() {\r\n\treturn tagField.getText();\r\n }", "title": "" }, { "docid": "72fb86164a9fb3fc9fb52a88508a140d", "score": "0.7113957", "text": "@Override\r\n\tpublic List<IconTag> getTags() {\n\t\tList<IconTag> tags = iconDao.getTags();\r\n\t\treturn tags;\r\n\t}", "title": "" }, { "docid": "48d3f3a5b8fbb055520e85e630a8ec8c", "score": "0.70919615", "text": "java.util.List<String> getTagList();", "title": "" }, { "docid": "39e39846da3e3a7243885140459326b3", "score": "0.7019323", "text": "public Collection<TagLibraryInfo> getTaglibs() {\n return taglibsMap.values();\n }", "title": "" }, { "docid": "e5ee2ab26b53ab251d00b19d38550a3f", "score": "0.70020217", "text": "@Override\n\tpublic Set<Tag> getTags() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e49d33de5ed007b700992b0c7aeb5503", "score": "0.69982976", "text": "@Override\n\tpublic List<Tag> getTags() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "208e5546deb91f580648bbe5bc0044da", "score": "0.69941753", "text": "public TagSet getTagSet() {\n return tagSet;\n }", "title": "" }, { "docid": "5670528baa59da0bc5113035b0e4d351", "score": "0.6934972", "text": "public QueryTag[] getTagsArray() {\n\t\tQueryTag[] array = new QueryTag[tags.size()];\n\t\treturn tags.toArray(array);\n\t}", "title": "" }, { "docid": "34ba2ec61d0893e226f49ddfbe103380", "score": "0.6850607", "text": "public ImmutableSet<String> getTags();", "title": "" }, { "docid": "0910b530ba09b08d2fa171cc4f2bd982", "score": "0.67786217", "text": "public List<CloudTag> getTagUseCloudTags();", "title": "" }, { "docid": "710b3b8f01671cab9c2b3ebffea83f3f", "score": "0.67722315", "text": "public Queue<HtmlTag> getTags() {\n // return a deep copy of tags\n return new LinkedList<>(tags);\n }", "title": "" }, { "docid": "95510eac1394cb6f008af4abd402ede8", "score": "0.67469776", "text": "public Set<String> getAllTags() {\n Set<String> result = SetFactory.createNewSet();\n\n if (tag != null) result.add(tag);\n\n return result;\n }", "title": "" }, { "docid": "f1d3e0a29a45772802f78a9b697cb8d4", "score": "0.6730437", "text": "public List<Integer> getTagIdList()\r\n\t{\r\n\t\treturn tagIdList;\r\n\t}", "title": "" }, { "docid": "e1b083844cea30a63ba0ad35650eab0b", "score": "0.6727121", "text": "@AutoEscape\n\tpublic String getTagsList();", "title": "" }, { "docid": "c00f5646b9f11e209e3a3fcdb34db916", "score": "0.67015105", "text": "public Object getTag() {\n\n return tag;\n }", "title": "" }, { "docid": "8170c2a8d8f1e96575d20e8fa21f2622", "score": "0.6664952", "text": "@NotNull\n public HashMap<Integer, String> getTagNameMap() {\n return _tagNameMap;\n }", "title": "" }, { "docid": "c219f3ad44e7af7bed2a2b4c21a5c48a", "score": "0.6613469", "text": "@Override\n\tpublic List<Tag> findAllTag() {\n\t\treturn tagDao.findAllTag();\n\t}", "title": "" }, { "docid": "dd04339b5ab110696115eba1f692970f", "score": "0.6609895", "text": "public Object getTag() {\n return tag;\n }", "title": "" }, { "docid": "96c64256d8f835b2aaea04539d24a76d", "score": "0.65792537", "text": "public Map<Class<?>, Tag> getClassTags()\n {\n return this.classTags;\n }", "title": "" }, { "docid": "15e113cacb00428c22d90bdf8d2acb7b", "score": "0.65638715", "text": "public String getTag() {\r\n return tag;\r\n }", "title": "" }, { "docid": "adcc22ada73d1b73ed77087a436072df", "score": "0.6560287", "text": "public Collection<TaggedValueFacade> getTaggedValues()\n {\n return this.getSuperServiceOperation().getTaggedValues();\n }", "title": "" }, { "docid": "5fbafeff287fa509f2a1f929400a51a1", "score": "0.65567154", "text": "@Override\n\tpublic List<Tag> getAllTags() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "3f33e21cb16db7e2c0db3c9de18466ce", "score": "0.65426874", "text": "public String getTag() {\n return tag;\n }", "title": "" }, { "docid": "3f33e21cb16db7e2c0db3c9de18466ce", "score": "0.65426874", "text": "public String getTag() {\n return tag;\n }", "title": "" }, { "docid": "3f33e21cb16db7e2c0db3c9de18466ce", "score": "0.65426874", "text": "public String getTag() {\n return tag;\n }", "title": "" }, { "docid": "3f33e21cb16db7e2c0db3c9de18466ce", "score": "0.65426874", "text": "public String getTag() {\n return tag;\n }", "title": "" }, { "docid": "3f33e21cb16db7e2c0db3c9de18466ce", "score": "0.65426874", "text": "public String getTag() {\n return tag;\n }", "title": "" }, { "docid": "80de4e5a2e5c175cf271013790fc06d7", "score": "0.65364677", "text": "public ArrayList getTagLibs()\n {\n return tagLibs;\n }", "title": "" }, { "docid": "03b560ff0373502b976d90051fa3e6cc", "score": "0.6519703", "text": "public String getTag () {\n return tag;\n }", "title": "" }, { "docid": "759ef7797ac28f31fc633b2f16cf2105", "score": "0.6514159", "text": "public static Tag[] getTags() throws AlienReaderException, SQLException{\t\r\n \t\tTag tagList[] = reader.getTagList();\r\n// \t\tprintTagList(tagList);\r\n\t\t\r\n\t\treturn tagList;\r\n\t}", "title": "" }, { "docid": "d9a30651d76e9ac68c4ed47d9b8d897e", "score": "0.6495072", "text": "public String getTag() {\n return tag;\n }", "title": "" }, { "docid": "1b3b248106cfd6d271589883e7b1f22b", "score": "0.64934814", "text": "public Queue<HtmlTag> getTags(){\r\n // return the queue of tags\r\n return tagQueue;\r\n \r\n \r\n }", "title": "" }, { "docid": "30df5f7be35b6c6675a14f8e3b63273c", "score": "0.64743465", "text": "public String putTags() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "58b88316e770222e3110ef514de8cccd", "score": "0.6469737", "text": "@jakarta.annotation.Nullable\n @JsonProperty(JSON_PROPERTY_SERVICE_TAGS)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n public List<String> getServiceTags() {\n return serviceTags;\n }", "title": "" }, { "docid": "2b19069ce5ab78e59c0888b6fcc43d90", "score": "0.64687264", "text": "public POSDictionary getTagDictionary() {\n return (POSDictionary) artifactMap.get(TAG_DICTIONARY_ENTRY_NAME);\n }", "title": "" }, { "docid": "75a822af3dbaa24e989a2bb471a2500c", "score": "0.642653", "text": "public List<CloudTag> getTagSearchCloudTags();", "title": "" }, { "docid": "bd9060a861f1358818a7117ec1e6fe1d", "score": "0.64229965", "text": "public Tag getTag() {\n return this.tag;\n }", "title": "" }, { "docid": "9d18444551036ad3994c8730d88fd6fd", "score": "0.63995504", "text": "public String getTag() {\n\t\treturn tag;\n\t}", "title": "" }, { "docid": "9d18444551036ad3994c8730d88fd6fd", "score": "0.63995504", "text": "public String getTag() {\n\t\treturn tag;\n\t}", "title": "" }, { "docid": "f075abfc059f3980a66a2fb83fbba861", "score": "0.63847464", "text": "public String getTag() {\n\t\treturn _tag;\n\t}", "title": "" }, { "docid": "91ff663700c9c7fd7677ee3637e7f97a", "score": "0.6374927", "text": "public abstract Tag[] getTagList()\r\n throws DeviceOperationException, UnsupportedFeatureException;", "title": "" }, { "docid": "1162fd3e5efbc00b386f144fca4f7ba3", "score": "0.6355651", "text": "public DescribeTagsResult describeTags() throws AmazonServiceException, AmazonClientException;", "title": "" }, { "docid": "1547155a994488b8a2d92aee80aaf446", "score": "0.63507193", "text": "public ArrayList<String> getImageTags() {\n return getImageTags(imagePath);\n }", "title": "" } ]
4ea4ee489d1db41ba7050b1d6f0b8977
/ / / /
[ { "docid": "b707b998ac1924297f0ac56b2aba37a0", "score": "0.0", "text": "public void a(aer ☃) {\r\n/* 93 */ if (☃ instanceof afb) {\r\n/* 94 */ this.a.add(((afb)☃).t());\r\n/* */ }", "title": "" } ]
[ { "docid": "ed09b76919f53c65643ece0f61410ec7", "score": "0.58116597", "text": "public String toString(){\n return \"/\";\n }", "title": "" }, { "docid": "447d4d4bcbddbf9a2e265683f0e09b34", "score": "0.57590806", "text": "@Override\r\n\tpublic void divide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "035f1350f51835e976527ee94aae34e4", "score": "0.54724544", "text": "public void truc(){\n left=(left+1)%8;\n middle=(middle+1)%8;\n right=(right+1)%8;\n }", "title": "" }, { "docid": "0ea4d7cc6f167bcb0583463313c49ca9", "score": "0.5329996", "text": "public static void cone() {\n\t\tSystem.out.println(\" /\\\\ \");\r\n\t\tSystem.out.println(\" / \\\\ \");\r\n\t\tSystem.out.println(\" / \\\\\");\r\n\t}", "title": "" }, { "docid": "534e9106196a1e273246d27beb0c2374", "score": "0.5255702", "text": "public abstract void hilightSpace(List<Direction> path);", "title": "" }, { "docid": "a9be12ce77fd7c3c6af67b0b34a8b0d6", "score": "0.5195905", "text": "public String toString() {\n\t\treturn \"/\";\n\t\t\n\t}", "title": "" }, { "docid": "d5e76c41938dd8c856158ff768c547c1", "score": "0.51493084", "text": "static void pattern2(){\n System.out.println(\" * \");\n System.out.println(\" *** \");\n System.out.println(\" ***** \");\n System.out.println(\"*******\");\n }", "title": "" }, { "docid": "e82e6f40457b6843fef622fcaa3d8c08", "score": "0.5070492", "text": "@Override\r\n\tpublic void SCORPlan() {\n\r\n\t}", "title": "" }, { "docid": "4af4e540db05669d85bca6dfe4edcfdb", "score": "0.5069685", "text": "public static void monkeyart() {\n System.out.println(\" .=\\\"=.\");\r\n System.out.println(\" _/.\\\\,/.\\\\_ _\");\r\n System.out.println(\" ( ( o o ) ) ))\");\r\n System.out.println(\" |/ \\\" \\\\| //\");\r\n System.out.println(\" \\\\ --- / //\");\r\n System.out.println(\" /`\\\"\\\"\\\"`\\\\ ((\");\r\n System.out.println(\" / /_,_\\\\ \\\\ \\\\\");\r\n System.out.println(\" \\\\_\\\\_'__/ \\\\ ))\");\r\n System.out.println(\" /` /`~\\\\ |//\");\r\n System.out.println(\" / / \\\\ /\");\r\n System.out.println(\" ,--`,--'\\\\/\\\\ /\");\r\n System.out.println(\" '-- \\\"--' '--'\");\r\n }", "title": "" }, { "docid": "5143ab4501f35d1dc31d54be9e27eb4a", "score": "0.5048859", "text": "public int getWindingRule()\n{\n return _path.getWindingRule() == RMPath.WIND_NON_ZERO? PathIterator.WIND_NON_ZERO : PathIterator.WIND_EVEN_ODD;\n}", "title": "" }, { "docid": "03639804891ad13e439118dafcc396b0", "score": "0.50346136", "text": "static void pattern3(){\n System.out.println(\"*******\");\n System.out.println(\" ***** \");\n System.out.println(\" *** \");\n System.out.println(\" * \");\n }", "title": "" }, { "docid": "3700798da7c95348865e8cf51acafb38", "score": "0.5018254", "text": "private String slashDiagonal() {\n StringBuilder sb = new StringBuilder(this.height);\n for (int h = 0; h < this.height; h++) {\n int w = this.lastCol + this.lastTop - h;\n if (0 <= w && w < this.width) {\n sb.append(this.grid[h][w]);\n }\n }\n return sb.toString();\n }", "title": "" }, { "docid": "8b9fb3d86dfde50f0dee5b9df8f1386c", "score": "0.4994461", "text": "void mo18642pG();", "title": "" }, { "docid": "3c69c63c246f44530b4a17042070c51d", "score": "0.49819607", "text": "public static void main(String []args)\n\t{\n\t\tint gridSize = 20;\n\t\tlong path =1;\n\t\tfor(int i=0 ; i < gridSize ;i++)\n\t\t{\n\t\t\tpath *= 2*gridSize-i;\n\t\t\tpath /= (i+1);\n\t\t}\n\t\tSystem.out.println(path);\n\t}", "title": "" }, { "docid": "d0b665417ba863e29221fc1a7abb0fe6", "score": "0.49582106", "text": "void mo55980w();", "title": "" }, { "docid": "720a79d7084b0111dd03f869be5bf0a5", "score": "0.49431437", "text": "double volume() {\nreturn width * height * depth;\n}", "title": "" }, { "docid": "b91e7a7dce8735cd77fcb13aa0b036ee", "score": "0.49388686", "text": "private Double divide(Double x, Double y){\n\t\treturn x / y;\n\t}", "title": "" }, { "docid": "0105dc1e403c0191f275cad3b2d5a8e9", "score": "0.49305803", "text": "public int div(int x,int y){\n\n System.out.println(\"div method\");\nint z=x/y;\nreturn z;\n\n }", "title": "" }, { "docid": "8b02107bdf24c50d9ab66f3e21318e2a", "score": "0.4927779", "text": "public int dividir (int a , int b){\r\n return a / b;\r\n }", "title": "" }, { "docid": "ebc0a722526ccf90d582b57ecc9c0613", "score": "0.49244976", "text": "double area(){\n return side * side ;\n }", "title": "" }, { "docid": "e19705ad48d63170be8d28d244071248", "score": "0.48976326", "text": "public static void drawRhombus(int length){\n for (int y = 1; y < length*2; y++) {\n int padding = MathUtil.abs(length - y);\n for (int i = 1; i <= padding ; i++) {\n System.out.print(' ');\n }\n for (int i = 1; i <= (length - MathUtil.abs(length - y)) * 2; i++) {\n if (i % 2 == 1) {\n System.out.print('*');\n } else {\n System.out.print(' ');\n }\n }\n// for (int i = 1; i <= padding ; i++) {\n// System.out.print(' ');\n// }\n System.out.println();\n }\n }", "title": "" }, { "docid": "86c3557fe245a7216a239415f5c208d8", "score": "0.4897146", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tint no=16,div=2;\r\n\t\twhile(no/2>div)\r\n\t\t{\r\n\t\t\tif(no/div==div)\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(div+\" root\");\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tdiv++;\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\r\n\t}", "title": "" }, { "docid": "a8a575ae180a272e4e7810824824a43f", "score": "0.48827267", "text": "public abstract String getHspace();", "title": "" }, { "docid": "8bd29dcbdfed898d66e1362a1ccd41b7", "score": "0.48750746", "text": "public void assemble() {\n\r\n if (original[1] + (character / 16384) > 255) {\r\n character += abs((original[1]-bottomRight[1]) * 16384);\r\n } else {\r\n character += abs((bottomRight[1] - original[1]) * 16384);\r\n }\r\n if (original[0] + (character / 4096) > 255) {\r\n character += abs((original[0]-bottomRight[0]) * 4096);\r\n } else {\r\n character += abs((bottomRight[0] - original[0]) * 4096);\r\n\r\n }\r\n if (original[2] + (character / 1024) > 255) {\r\n character += abs((original[2]-bottomLeft[2]) * 1024);\r\n } else {\r\n character += abs((bottomLeft[2] - original[2]) * 1024);\r\n }\r\n if (original[1] + (character / 256) > 255) {\r\n character += abs((original[1]-bottomLeft[1]) * 256);\r\n } else {\r\n character += abs((bottomLeft[1] - original[1]) * 256);\r\n\r\n }\r\n if (original[0] + (character / 64) > 255) {\r\n character += abs((original[0]-bottomLeft[0]) * 64);\r\n } else {\r\n character += abs((bottomLeft[0] - original[0]) * 64);\r\n\r\n }\r\n if (original[2] + (character / 16) > 255) {\r\n character += abs((original[2]-topRight[2]) * 16);\r\n } else {\r\n character += abs((topRight[2] - original[2]) * 16);\r\n }\r\n if (original[1] + (character / 4) > 255) {\r\n character += abs((original[1]-topRight[1]) * 4);\r\n } else {\r\n character += abs((topRight[1] - original[1]) * 4);\r\n }\r\n if (original[0] + character > 255) {\r\n character += abs(original[0]-topRight[0]);\r\n } else {\r\n character += abs(topRight[0] - original[0]);\r\n }\r\n\r\n }", "title": "" }, { "docid": "98b05e70416c5b45027746b36baf590d", "score": "0.48747313", "text": "public int getRightEdge(){return x + getWidth();}", "title": "" }, { "docid": "7944b25373801318c2033bc0364efa46", "score": "0.4865147", "text": "private void divideGen()\n\t{\n\t\tfor(int y = 0; y < size; y++)\n\t\t{\n\t\t\tfor(int x = 0; x < size; x++)\n\t\t\t{\n//\t\t\t\tif(x==0 || y==0 || x==size-1 || y==size-1)\n//\t\t\t\t\tmap[y][x] = 1;\n//\t\t\t\telse\n\t\t\t\tmap[y][x] = (int)(Math.random() + .25 + .5*Math.abs(Math.cos(frequency * x)) + .3 * Math.abs(Math.sin(frequency * y)));\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int x = 0; x < (int)(size/25.0); x++)\n\t\t\tsmoothenDivide();\n\t}", "title": "" }, { "docid": "124164da5504accc54ff0bdfceb5c855", "score": "0.485918", "text": "public static int divideBinary(){}", "title": "" }, { "docid": "1b18ee135873d60d002f5077a41b2fb0", "score": "0.4855684", "text": "public int width ()\n {\n return 2;\n }", "title": "" }, { "docid": "e588cb541db9e0f9ccd70beec40f5a5a", "score": "0.48483503", "text": "public static void drawTop2() {\r\n for (int line = 1; line <= SIZE; line++) {\r\n int spaces = 2 * (line - 1);\r\n for (int j = 1; j <= spaces; j++) {\r\n System.out.print(\" \");\r\n }\r\n System.out.print(\"\\\\_\");\r\n int slashes = -2 * line + (3 * SIZE + 1);\r\n for (int j = 1; j <= slashes; j++) {\r\n System.out.print(\"/\\\\\");\r\n }\r\n System.out.println(\"_/\");\r\n }\r\n }", "title": "" }, { "docid": "41b4c3a96d9320879cae29d191397d1a", "score": "0.48407245", "text": "private void helo() {\n\r\n\t}", "title": "" }, { "docid": "f6666f4bb43f8efee82c3184e7db1970", "score": "0.48372602", "text": "private static String slash( String text ) {\n\t\tif ( text.charAt( text.length() - 1 ) != '/' ) {\n\t\t\treturn text.concat( \"/\" );\n\t\t}\n\t\treturn text;\n\t}", "title": "" }, { "docid": "dc4e5bfeb061cc29efd8690bd7abf536", "score": "0.48354268", "text": "double media(int x, int y) {\n\t\treturn (x+y)/2;\n\t}", "title": "" }, { "docid": "5936859144641ac6068776288b4419a3", "score": "0.48347634", "text": "public void normalizeHyperboloid() {\r\n\t\tdouble dist = w*w-x*x-y*y;\r\n\t\tif (dist > 0) {\r\n\t\t\tdouble size = Math.sqrt(dist);\r\n\t\t\tx /= size;\r\n\t\t\ty /= size;\r\n\t\t\tw /= size;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e25a350533f181120884fdb617d3ddce", "score": "0.4812421", "text": "private void interfazPath() {\n\t\r\n}", "title": "" }, { "docid": "9769203e0cda7685c588c8c64823fe65", "score": "0.4794334", "text": "public abstract void zzcw();", "title": "" }, { "docid": "7edc120eae27352b6d8bac8eba9d7790", "score": "0.4793256", "text": "private int divide(int a, int b) {\n return a/b;\n }", "title": "" }, { "docid": "edd6b083e91f1e0b81cb8ee92682c82e", "score": "0.47638154", "text": "Rektangel() {\n width = 1;\n hight = 1;\n }", "title": "" }, { "docid": "73505425d75fccf0aaca07c596941abd", "score": "0.4762187", "text": "static private void herd() {\n\t\t\n\t}", "title": "" }, { "docid": "a66c125e9080729dc670914a65127311", "score": "0.47600687", "text": "static void centerTriangle()\n {\n int i,j,k;\n for(i=1; i<=rows; i++)//prints the number of rows\n {\n for(j=rows-1; j>=i; j--)//prints the spaces before the asterik\n System.out.print(\" \");\n for(k=1; k<=(2*i-1); k++)//prints the asteriks\n System.out.print(\"*\");\n System.out.println();//formatting\n }\n }", "title": "" }, { "docid": "ac257699f0050e0d7d76adfc151e61ff", "score": "0.47587436", "text": "char getMidBorderAll();", "title": "" }, { "docid": "6a38d044b7884b6d9cdc762d45f1a2af", "score": "0.4756223", "text": "public static final Object hanger() {\r\n\t\tString h = \" ___\" + \"___\" + \"\\n | \" + \"|\" + \"\\n | \" + \"O\" + \"\\n |\" + \" /|\\\\\" + \"\\n | \" + \" / \\\\\" + \"\\n |\" + \"\\n/|\\\\\";\r\n\t\treturn h;\r\n\t}", "title": "" }, { "docid": "4762b0ff0ebb72945da311f6cda87ce4", "score": "0.47559342", "text": "private int rightChild (int parent){ return (parent * 2) + 2;}", "title": "" }, { "docid": "f0774832aa8eaecec23c1a38152c6172", "score": "0.47547096", "text": "char getMidBorderUp();", "title": "" }, { "docid": "451963e711347a36d9f8209aa1e707e2", "score": "0.4751271", "text": "public void mo39716g() {\n }", "title": "" }, { "docid": "e3ab3235c74bad4130f01aa37f0bb1d7", "score": "0.4749463", "text": "static void pattern1(){\n System.out.println(\"*\");\n System.out.println(\"**\");\n System.out.println(\"***\");\n System.out.println(\"****\");\n }", "title": "" }, { "docid": "d94093d5bb76d3a8340b4a6ceffae099", "score": "0.47402355", "text": "int rootSize();", "title": "" }, { "docid": "6ebb81e901443475d1f4202d280c1602", "score": "0.47392488", "text": "@Override\n\tpublic void strafeR() {\n\t\t\n\t}", "title": "" }, { "docid": "6a61e32f89d5f3147218caa0a93b8b1a", "score": "0.4733389", "text": "void draw() {\n\t}", "title": "" }, { "docid": "b994c4d6079ab430c9abbad18789b667", "score": "0.47267088", "text": "private void split() {\n double midX = (this.getTopLeft().getX() + this.getBotRight().getX()) / 2.0;\n double midY = (this.getTopLeft().getY() + this.getBotRight().getY()) / 2.0;\n\n // NW \n new QuadTree(this.getTopLeft(), new Point(midX, midY), this);\n // NE\n new QuadTree(new Point(midX, this.getTopLeft().getY()), \n new Point(this.getBotRight().getX(), midY), this);\n // SW\n new QuadTree(new Point(this.getTopLeft().getX(), midY), \n new Point(midX, this.getBotRight().getY()), this);\n // SE\n new QuadTree(new Point(midX, midY), this.getBotRight(), this);\n \n return;\n }", "title": "" }, { "docid": "f42f014bacbb374aec42815a9611b60b", "score": "0.4724779", "text": "char getMidBorderDown();", "title": "" }, { "docid": "935884be92cb0e163de32386df4e1d45", "score": "0.4717831", "text": "private void drawFrustume(){\n\t}", "title": "" }, { "docid": "787e5546a16c626fb55146dc128adf90", "score": "0.47173506", "text": "private int getWest(){\n\t\treturn 0;\n\t\t\n\t}", "title": "" }, { "docid": "f03773b9a3c57f8a86ecf6a360f22fb6", "score": "0.47167695", "text": "private int parentIndex (int child){return (child - 1) / 2 ;}", "title": "" }, { "docid": "280a30a1ecb023414b07eb170c25b248", "score": "0.4716698", "text": "String mirroredRhombus(int num){\r\n String stars = \"\";\r\n int num2 = 0;\r\n for (int i = 1; i <= num; i++){\r\n for (int k = 1; k <= num2; k++){\r\n stars += \" \";\r\n }\r\n num2++;\r\n \r\n for (int j = 1; j <= num; j++){\r\n stars += \"*\";\r\n }\r\n stars += \"\\n\";\r\n }\r\n return stars;\r\n }", "title": "" }, { "docid": "9748c2c9adbb1b462a830a6a771b2921", "score": "0.47126108", "text": "private double calcSide(int x1, int y1, int x2, int y2){\n }", "title": "" }, { "docid": "d6bb715e3de91c85f723bc431daf1dbb", "score": "0.4712127", "text": "void printPaths(Node node) \n\t{ \n\t\tchar path[] = new char[1000]; \n\t\tprintPathsRecur(node, path, 0); \n\t}", "title": "" }, { "docid": "10ec199a5501ead56fd942bd32e215fb", "score": "0.470958", "text": "@Override\n\tpublic void area() {\n\t\tSystem.out.println((upside+below)*tall/2);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "901769932aa23da8e8226e485a0fcbe6", "score": "0.47086096", "text": "private Shape[] createHorizontalBlock(double x0, double width, double y0, \n double y1, boolean inverted) {\n Shape[] result = new Shape[6];\n Point2D p00 = new Point2D.Double(y0, x0);\n Point2D p01 = new Point2D.Double(y0, x0 + width);\n Point2D p02 = new Point2D.Double(p01.getX() + getXOffset(), \n p01.getY() - getYOffset());\n Point2D p03 = new Point2D.Double(p00.getX() + getXOffset(), \n p00.getY() - getYOffset());\n\n Point2D p0 = new Point2D.Double(y1, x0);\n Point2D p1 = new Point2D.Double(y1, x0 + width);\n Point2D p2 = new Point2D.Double(p1.getX() + getXOffset(), \n p1.getY() - getYOffset());\n Point2D p3 = new Point2D.Double(p0.getX() + getXOffset(), \n p0.getY() - getYOffset());\n \n GeneralPath bottom = new GeneralPath();\n bottom.moveTo((float) p1.getX(), (float) p1.getY());\n bottom.lineTo((float) p01.getX(), (float) p01.getY());\n bottom.lineTo((float) p02.getX(), (float) p02.getY());\n bottom.lineTo((float) p2.getX(), (float) p2.getY());\n bottom.closePath();\n \n GeneralPath top = new GeneralPath();\n top.moveTo((float) p0.getX(), (float) p0.getY());\n top.lineTo((float) p00.getX(), (float) p00.getY());\n top.lineTo((float) p03.getX(), (float) p03.getY());\n top.lineTo((float) p3.getX(), (float) p3.getY());\n top.closePath();\n\n GeneralPath back = new GeneralPath();\n back.moveTo((float) p2.getX(), (float) p2.getY());\n back.lineTo((float) p02.getX(), (float) p02.getY());\n back.lineTo((float) p03.getX(), (float) p03.getY());\n back.lineTo((float) p3.getX(), (float) p3.getY());\n back.closePath();\n \n GeneralPath front = new GeneralPath();\n front.moveTo((float) p0.getX(), (float) p0.getY());\n front.lineTo((float) p1.getX(), (float) p1.getY());\n front.lineTo((float) p01.getX(), (float) p01.getY());\n front.lineTo((float) p00.getX(), (float) p00.getY());\n front.closePath();\n\n GeneralPath left = new GeneralPath();\n left.moveTo((float) p0.getX(), (float) p0.getY());\n left.lineTo((float) p1.getX(), (float) p1.getY());\n left.lineTo((float) p2.getX(), (float) p2.getY());\n left.lineTo((float) p3.getX(), (float) p3.getY());\n left.closePath();\n \n GeneralPath right = new GeneralPath();\n right.moveTo((float) p00.getX(), (float) p00.getY());\n right.lineTo((float) p01.getX(), (float) p01.getY());\n right.lineTo((float) p02.getX(), (float) p02.getY());\n right.lineTo((float) p03.getX(), (float) p03.getY());\n right.closePath();\n result[0] = bottom;\n result[1] = back;\n if (inverted) {\n result[2] = right;\n result[3] = left;\n }\n else {\n result[2] = left;\n result[3] = right;\n }\n result[4] = top;\n result[5] = front;\n return result;\n }", "title": "" }, { "docid": "12c1f8a94d573e79ca0be0bb32079752", "score": "0.4701597", "text": "public abstract void flatmapShape();", "title": "" }, { "docid": "089be79d90be02605e37d2a48b09e194", "score": "0.46987483", "text": "@Override\n\tpublic void gril() {\n\n\t}", "title": "" }, { "docid": "b6c0a6bb318f627768af6ec1c933768d", "score": "0.46966758", "text": "String hollowRhombus(int num){\r\n String stars = \"\";\r\n int num2 = num;\r\n for (int i = 1; i <= num; i++){\r\n for (int j = 1; j <= num2; j++){\r\n stars += \" \";\r\n \r\n }\r\n num2--;\r\n \r\n for (int j = 1; j <= num; j++) {\r\n if (i == 1 || i == num || j == 1 || j == num){\r\n stars += \"*\";\r\n } else {\r\n stars += \" \";\r\n }\r\n }\r\n stars += \"\\n\";\r\n }\r\n \r\n return stars;\r\n }", "title": "" }, { "docid": "0d8b5667260cf65e349dee9070a3e24c", "score": "0.4695222", "text": "@Override\r\npublic void draw() {\n\tSystem.out.println(\"Drawing a triangle |>\");\r\n}", "title": "" }, { "docid": "1d7be285e2bb61565f93d5aa7e8d3396", "score": "0.46895742", "text": "private static void horizondfs(int x, int y, int dir, char[][] tmp) {\n\t\tif(dir==2)return;\n\t\t\n\t\tint nx = x+dx[dir];\n\t\tint ny = y+dy[dir];\n\t\t//범위안이고 지금위치와 다음위치가 같다면\n\t\tif(inRange(nx,ny) && tmp[startx][starty]==tmp[nx][ny]) {\n\t\t\tcnt++; //연속되는개수 ++; \n\t\t\thorizondfs(nx,ny,dir,tmp);//오른쪽탐색\n\t\t}else {\n\t\t\thorizondfs(startx,starty,dir+1,tmp);//왼쪽탐색\n\t\t}\n\t}", "title": "" }, { "docid": "610a6e9079b19c274dbd1a2e7cab3ab2", "score": "0.46892872", "text": "abstract void breath();", "title": "" }, { "docid": "f576607002c47afd1ce61a8ba384642b", "score": "0.4682328", "text": "public String draw() {\n\t\treturn \"****\\n* *\\n* *\\n****\";\n\t}", "title": "" }, { "docid": "ed738fe1578c28f64746dceddc81fb47", "score": "0.4677856", "text": "public static void main(String[] args){\n String path=\"/\";\n// String[] paths=path.split(\"/\");\n// System.out.println(Arrays.toString(paths));\n\n Simplify_Path_71 s=new Simplify_Path_71();\n System.out.println(s.simplifyPath(path));\n }", "title": "" }, { "docid": "a45c3ba072a51ca0eb83a41a4eb5d9e6", "score": "0.46702474", "text": "public abstract void normalize();", "title": "" }, { "docid": "ea32c0461d6a5ef10731494c59fa7c78", "score": "0.46702042", "text": "int parent( int c )\n {\n return ( c - 1 ) / 2;\n }", "title": "" }, { "docid": "3fb97b46c147b19f8180197325c66d34", "score": "0.4668826", "text": "@Override\n public void quite() {\n }", "title": "" }, { "docid": "da07444f023c4f45aa766ef285cccf1c", "score": "0.46676192", "text": "@Override\n\tpublic void 吃斋() {\n\n\t}", "title": "" }, { "docid": "c5b6f39195277c2cf436197b698f3010", "score": "0.4666327", "text": "@Override\n public int division(int x, int y) {\n return x / y;\n }", "title": "" }, { "docid": "b0b4aa0f1baeaacfab40e95c737bb14c", "score": "0.46646523", "text": "@Override\n\tpublic void draw() {\n\t\t\n\t}", "title": "" }, { "docid": "b0b4aa0f1baeaacfab40e95c737bb14c", "score": "0.46646523", "text": "@Override\n\tpublic void draw() {\n\t\t\n\t}", "title": "" }, { "docid": "b0b4aa0f1baeaacfab40e95c737bb14c", "score": "0.46646523", "text": "@Override\n\tpublic void draw() {\n\t\t\n\t}", "title": "" }, { "docid": "0e91fd9f75998c3f51164e17f1645f61", "score": "0.46625212", "text": "float GetCenterX(){return width/2;}", "title": "" }, { "docid": "0ab142709543236bce3cc2d6f6e1cc40", "score": "0.46572465", "text": "@Override\n protected void calculateCenter(float fraction) {\n }", "title": "" }, { "docid": "ad83c39c7a07940a4ab02894f56db657", "score": "0.46549606", "text": "String alberoRicoprentePrim(String root);", "title": "" }, { "docid": "66dbe609e78677913f7f91b9a39ec645", "score": "0.465365", "text": "public static void all(){\n byte z= -5 + (8*6);\n System.out.println(z);\n\n // b. (55+9) % 9\n byte w= (55+9)%9;\n System.out.println(w);\n\n // c. 20 + -3*5 / 8\n float v= 20 + -3*5/8f;\n System.out.println(v);\n\n // d. 5 + 15 / 3 * 2 - 8 % 3\n int s= 5 + 15 / 3*2 - 8%3;\n System.out.println(s);\n }", "title": "" }, { "docid": "0a82c08aa5d4d0d9d027747ae59a815c", "score": "0.46485496", "text": "public double cr(){ return CR;}", "title": "" }, { "docid": "d904f232821235bb23db8b31e19b888b", "score": "0.46456176", "text": "void normalize();", "title": "" }, { "docid": "79b757f29ebc9ce4883eb3265dc0a473", "score": "0.46439487", "text": "@Override\n\tpublic String toString() {\n\n\t\treturn front + \"/\" + right;\n\t}", "title": "" }, { "docid": "f403755e545a83a39cf9ab4ff20bd408", "score": "0.4643926", "text": "private Shape[] createVerticalBlock(double x0, double width, double y0, \n double y1, boolean inverted) {\n Shape[] result = new Shape[6];\n Point2D p00 = new Point2D.Double(x0, y0);\n Point2D p01 = new Point2D.Double(x0 + width, y0);\n Point2D p02 = new Point2D.Double(p01.getX() + getXOffset(), \n p01.getY() - getYOffset());\n Point2D p03 = new Point2D.Double(p00.getX() + getXOffset(), \n p00.getY() - getYOffset());\n\n\n Point2D p0 = new Point2D.Double(x0, y1);\n Point2D p1 = new Point2D.Double(x0 + width, y1);\n Point2D p2 = new Point2D.Double(p1.getX() + getXOffset(), \n p1.getY() - getYOffset());\n Point2D p3 = new Point2D.Double(p0.getX() + getXOffset(), \n p0.getY() - getYOffset());\n \n GeneralPath right = new GeneralPath();\n right.moveTo((float) p1.getX(), (float) p1.getY());\n right.lineTo((float) p01.getX(), (float) p01.getY());\n right.lineTo((float) p02.getX(), (float) p02.getY());\n right.lineTo((float) p2.getX(), (float) p2.getY());\n right.closePath();\n \n GeneralPath left = new GeneralPath();\n left.moveTo((float) p0.getX(), (float) p0.getY());\n left.lineTo((float) p00.getX(), (float) p00.getY());\n left.lineTo((float) p03.getX(), (float) p03.getY());\n left.lineTo((float) p3.getX(), (float) p3.getY());\n left.closePath();\n\n GeneralPath back = new GeneralPath();\n back.moveTo((float) p2.getX(), (float) p2.getY());\n back.lineTo((float) p02.getX(), (float) p02.getY());\n back.lineTo((float) p03.getX(), (float) p03.getY());\n back.lineTo((float) p3.getX(), (float) p3.getY());\n back.closePath();\n \n GeneralPath front = new GeneralPath();\n front.moveTo((float) p0.getX(), (float) p0.getY());\n front.lineTo((float) p1.getX(), (float) p1.getY());\n front.lineTo((float) p01.getX(), (float) p01.getY());\n front.lineTo((float) p00.getX(), (float) p00.getY());\n front.closePath();\n\n GeneralPath top = new GeneralPath();\n top.moveTo((float) p0.getX(), (float) p0.getY());\n top.lineTo((float) p1.getX(), (float) p1.getY());\n top.lineTo((float) p2.getX(), (float) p2.getY());\n top.lineTo((float) p3.getX(), (float) p3.getY());\n top.closePath();\n \n GeneralPath bottom = new GeneralPath();\n bottom.moveTo((float) p00.getX(), (float) p00.getY());\n bottom.lineTo((float) p01.getX(), (float) p01.getY());\n bottom.lineTo((float) p02.getX(), (float) p02.getY());\n bottom.lineTo((float) p03.getX(), (float) p03.getY());\n bottom.closePath();\n \n result[0] = bottom;\n result[1] = back;\n result[2] = left;\n result[3] = right;\n result[4] = top;\n result[5] = front;\n if (inverted) {\n result[0] = top;\n result[4] = bottom;\n }\n return result;\n }", "title": "" }, { "docid": "1342886b3e7e37154c7ef62622890fae", "score": "0.4640013", "text": "public static void main(String[] args) {\n Scanner s=new Scanner(System.in);\r\n int n=s.nextInt();\r\n int k=(n/2)+1;\r\n for(int i=1;i<=k;i++){\r\n for(int j=1;j<=k-i;j++){\r\n System.out.print(\" \");\r\n }\r\n for(int j=1;j<=(i*2)-1;j++){\r\n System.out.print(\"*\");\r\n }\r\n \tSystem.out.println();\r\n }\r\n k--;\r\n for(int i=n/2;i>=1;i--){\r\n for(int j=1;j<=(k-i)+1;j++){\r\n System.out.print(\" \");\r\n }\r\n for(int j=1;j<=(i*2)-1;j++){\r\n System.out.print(\"*\");\r\n }\r\n System.out.println();\r\n }\r\n }", "title": "" }, { "docid": "bc0076cd46384c7195b899de62bf8c49", "score": "0.46355388", "text": "PathExpression right();", "title": "" }, { "docid": "8d9f856319a1a8082fc5c26451010bd4", "score": "0.46306822", "text": "private void draw4(int x, int y) \n{ \n \tpenUp(); \n \tmoveTo(x, y); \n \tturnToFace(getXPos() + 1, getYPos()); \n\tturnRight();\n\tpenDown();\n\tforward(CHAR_WIDTH); //first horizontal line of 4\n\tpenUp();\n\tturnLeft();\n\tpenDown();\n\tforward(CHAR_WIDTH); //first vertical line of 4\n\tpenUp();\n\tturnLeft();\n\tforward(CHAR_WIDTH); //second horizontal line of 4\n\tturnRight();\n\tturnRight();\n\tpenDown();\n\tforward(CHAR_SPACE); //second vertical line of 4\n}", "title": "" }, { "docid": "499f8fce232f06646af0582f434611d5", "score": "0.46299234", "text": "public void bewege();", "title": "" }, { "docid": "7bb046eaaafd5095f4dcc30be8fc2a03", "score": "0.4629401", "text": "@Override\r\n\tpublic void draw() {\n\r\n\t}", "title": "" }, { "docid": "430c52b7088fbc980a81ddfb8392450c", "score": "0.4627779", "text": "@Override\n public void display() {\n String space = \" \";\n String output = String.format(\"%0\" + totalDistance + \"d\", 0).replace(\"0\", space) + \"\\\\/\";\n //that last thing is supposed to be a hare lol\n System.out.println(output);\n }", "title": "" }, { "docid": "88fb495982e409a7a614a3e7133375e6", "score": "0.4627387", "text": "public TrianglePatternSideBySideToy() {\n }", "title": "" }, { "docid": "c66c8eb0471e51721ee0ae69f711d673", "score": "0.46259812", "text": "public static void jiaogu(int t)\n\t{\n\t\tint p; // ??????\n\t\tif (t == 1) // ???1?????\n\t\t{\n\t\t\tSystem.out.print(\"End\");\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (t % 2 == 0) // ?????\n\t\t\t{\n\t\t\t\tp = t;\n\t\t\t\tt = t / 2; // ??????\n\t\t\t\tSystem.out.print(p);\n\t\t\t\tSystem.out.print(\"/\");\n\t\t\t\tSystem.out.print(2);\n\t\t\t\tSystem.out.print(\"=\");\n\t\t\t\tSystem.out.print(t);\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\t\tjiaogu(t);\n\t\t\t}\n\t\t\telse\n\t\t\t{ //??\n\t\t\t\tp = t;\n\t\t\t\tt = t * 3 + 1;\n\t\t\t\tSystem.out.print(p);\n\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\tSystem.out.print(\"3+1\");\n\t\t\t\tSystem.out.print(\"=\");\n\t\t\t\tSystem.out.print(t);\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\t\tjiaogu(t);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "8ee7edfe404ab4e0ea528d4c2088110e", "score": "0.4616496", "text": "public abstract void wiederhole();", "title": "" }, { "docid": "1b85c731022798495c47c8588f28e48f", "score": "0.46164918", "text": "public void printPaths(){ rprintpaths(root, \"\"); }", "title": "" }, { "docid": "723628fdad2f681e4f369556cca0a697", "score": "0.4615113", "text": "static void makeproper(String string) {\n\t\tString c=null,d=null,root=String.valueOf(a[0].charAt(0));\n\t\tint r=0,start = 0;\n\t\tfor(int i=2;i<string.length();i++){\n\t\t\tif(string.charAt(i)==string.charAt(0)){\n\t\t\t\tr=1;\n\t\t\t\tstart=i;\n\t\t\t}\n\t\t\telse if(r==1){\n\t\t\t\tif(string.charAt(i)=='/')\n\t\t\t\t{\n\t\t\t\t\tr=0;\n\t\t\t\t\tc=string.substring(start+1, i);\n\t\t\t\t\td=string.substring(i+1);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tb[u++]=root+\"=\"+d+root+\"1\";\n\t\tb[u++]=root+\"1\"+\" = \"+c+root+\"1\"+\" /\"+\" [\";\n\t}", "title": "" }, { "docid": "e99fa9c8447113b6aeb5205c38ac8ca9", "score": "0.46091715", "text": "@Override\n public void handle(ActionEvent t) {\n \n opField.setText(opField.getText() + resLabel.getText()+\"/\");\n nflag = 0;\n //divide();\n operate();\n oper = '/';\n firstDot = 1;\n }", "title": "" }, { "docid": "b7575a943ae34a4abba314a640523697", "score": "0.46081725", "text": "public static void main(String[] args) {\n\t\tString b;\r\n Scanner s=new Scanner(System.in);\r\n b=s.next();\r\n int y= b.length();\r\n char t[]=b.toCharArray();\r\n int l=y/2;\r\n if(y%2!=0)\r\n { t[l]='*';\r\n \t System.out.println(t);\r\n }\r\n else\r\n {\r\n \t t[l]='*';\r\n \t t[l-1]='*';\r\n \t System.out.println(t);\r\n }\r\n \t \r\n\t}", "title": "" }, { "docid": "25cbbda39ea271ebb6c549a8dd4fa4c1", "score": "0.46012548", "text": "private void breath() {\n \n }", "title": "" }, { "docid": "dc27fafab306a67fb770d6f19e098800", "score": "0.4599719", "text": "void operate();", "title": "" }, { "docid": "fe5c0d3baab9541f7078efe5ad4fe9df", "score": "0.45979586", "text": "public void normalize4() {\n\t_norm4(this);\n}", "title": "" }, { "docid": "b5faa12981bac2b11d1abb8157089bf1", "score": "0.45973614", "text": "String hollowMirroredRhombus(int num) {\r\n String stars = \"\";\r\n int num2 = 0;\r\n for (int i = 1; i <= num; i++){\r\n for (int k = 1; k <= num2; k++){\r\n stars += \" \";\r\n }\r\n num2++;\r\n for (int j = 1; j <= num; j++){\r\n if (i == num || i == 1 || j == 1 || j == num)\r\n stars += \"*\";\r\n else\r\n stars += \" \";\r\n }\r\n stars += \"\\n\";\r\n }\r\n return stars;\r\n }", "title": "" }, { "docid": "96b11c9a1f966f65edd830a601227402", "score": "0.4595337", "text": "@Override\r\n public char draw() {\r\n return 'R';\r\n }", "title": "" }, { "docid": "600660580ea9a94dcf0bc4b90b376e03", "score": "0.45925093", "text": "public void area() {\n\t\t\r\n\t}", "title": "" } ]
f7950de518b7c0a9ad3a4010f3884662
Equip the Rambo Gear configured
[ { "docid": "7ef6ca0c710f35fa9c88f532aaca0649", "score": "0.6728743", "text": "public static boolean addRamboGear(final RamboConfigurationContainer container, final Player player)\r\n\t{\r\n\t\tif (isDebugEnabled)\r\n\t\t{\r\n\t\t\t_LOGGER.info(RamboConstants.DEBUG_TAG + \"addRamboGear(player=\" + player + \")\");\r\n\t\t}\r\n\r\n\t\tboolean result = true;\r\n\r\n\t\tclearFullInventory(player);\r\n\t\tfinal PlayerInventory inventory = player.getInventory();\r\n\r\n\t\t// Rambo Bow\r\n\t\tfinal ItemStack ramboBow = new ItemStack(Material.BOW, 1);\r\n\t\tfor (final RamboBowEnchantments rbe : container.bowEnchantsConfiguration.keySet())\r\n\t\t{\r\n\t\t\tif (isDebugEnabled && displayTestDebugMessages)\r\n\t\t\t{\r\n\t\t\t\t_LOGGER.info(RamboConstants.DEBUG_TAG + \"adding bow enchant \" + rbe.name);\r\n\t\t\t}\r\n\r\n\t\t\tfinal int level = container.bowEnchantsConfiguration.get(rbe).intValue();\r\n\r\n\t\t\tramboBow.addEnchantment(Enchantment.ARROW_FIRE, level);\r\n\t\t}\r\n\t\tinventory.addItem(ramboBow);\r\n\r\n\t\t// Rambo Gear + Enchants\r\n\t\tfinal RamboGear[] gear = (RamboGear[]) container.ramboGearConfiguration.keySet().toArray();\r\n\t\tint i = 0;\r\n\t\tfor (final RamboArmorEnchantments rae : container.armorEnchantsConfiguration.keySet())\r\n\t\t{\r\n\t\t\tcontainer.ramboGearConfiguration.get(gear[i]).addEnchantment(rae.enchant, container.armorEnchantsConfiguration.get(rae).intValue());\r\n\t\t\ti = (i < gear.length) ? i + 1 : 0;\r\n\t\t}\r\n\r\n\t\tHashMap<Integer, ItemStack> refusedItems = new HashMap<Integer, ItemStack>();\r\n\t\t\r\n\t\t// Equip Armor\r\n\t\tfor (final RamboGear ramboGear : container.ramboGearConfiguration.keySet())\r\n\t\t{\r\n\t\t\tfinal ItemStack item = container.ramboGearConfiguration.get(ramboGear);\r\n\t\t\trefusedItems.putAll(equipItem(item, ramboGear.type, inventory));\r\n\t\t}\r\n\t\t\r\n\t\tif (!refusedItems.isEmpty())\r\n\t\t{\r\n\t\t\t_LOGGER.warning(RamboConstants.PLUGIN_TAG + refusedItems.size() + \" parts of Rambo Gear failed to be added.\");\r\n\t\t\tresult = false;\r\n\t\t}\r\n\r\n\t\tif (isDebugEnabled)\r\n\t\t{\r\n\t\t\t_LOGGER.info(RamboConstants.DEBUG_TAG + \"addRamboGear() -> \" + result);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "title": "" } ]
[ { "docid": "58963ecd8a44be30017eba1baf9fae60", "score": "0.60962856", "text": "private void setGearSkills(Gear gear) {\n\t\t\n\t}", "title": "" }, { "docid": "ca2837821856375fbf66f866a2fe1b44", "score": "0.58970296", "text": "private static void loadEnchantingEvent() {\n \tMageGameConstants.bonusItemEnchantingChamber = color[random.nextInt(color.length)];\n\t\tfor (Player player : World.getPlayers()) {\n\t\t if (player == null) {\n\t\t \tcontinue;\n\t\t }\n\t\t if (player.getEnchantingChamber().isInEnchantingChamber()) {\n\t\t \tplayer.getEnchantingChamber().showInterfaceComponent(MageGameConstants.bonusItemEnchantingChamber);\n\t\t }\n\t\t}\n\t\tif (MageGameConstants.enchantingGuardian != null) {\n\t\t MageGameConstants.enchantingGuardian.getUpdateFlags().sendForceMessage(\"The color shape is now \" + MageGameConstants.bonusItemEnchantingChamber + \"!\");\n\t\t}\n }", "title": "" }, { "docid": "17ec0e695e87a7fb22f5c2da098bcd05", "score": "0.570803", "text": "public void setLowGear() {\n\t\tballShifter.set(DoubleSolenoid.Value.kReverse);\n\t\t//lowGear = true;\n\t\tSmartDashboard.putString(\"Gear/Speed\", \"low\");\n\t\t//System.out.println(\"LOW GEAR\");\n\t}", "title": "" }, { "docid": "fbb35570b9519394fa24497c875df38e", "score": "0.56276333", "text": "public RamStrategy(NPCCar thecar, GameObjCollection gobjcol)\n\t{\n\t\tnpcCar = thecar;//holds the NPCCar to be able to move\n\t\tthis.gobjcol = gobjcol;\n\t}", "title": "" }, { "docid": "4dc37636068c39c1994b9fdea9b7b4fc", "score": "0.5626148", "text": "public void HighGear() {\n this.slndShift.set(false);\n bIsLow = false;\n SmartDashboard.putBoolean(\"Gear\", bIsLow);\n }", "title": "" }, { "docid": "6b62a1efc76e38facfbed7cfa9fc02bc", "score": "0.56094813", "text": "private static void registerWithBattleGear2(Item item, String wield)\n\t{\n\t\tFMLInterModComms.sendMessage(\"battlegear2\", wield, new ItemStack(item));\n\t}", "title": "" }, { "docid": "71e50f69401adc53c4642f3fa9567d01", "score": "0.55367976", "text": "public void set_ambient(float r, float g, float b){\n rho_ambient = new Rgb(r, g, b);\n }", "title": "" }, { "docid": "f13a3da8f94bad0c8b2acdf9306059a1", "score": "0.5524148", "text": "public void setGear(Integer gear) {\n this.gear = gear;\n }", "title": "" }, { "docid": "1a68bfb32795ca3dfcfb7abd4349d182", "score": "0.55132335", "text": "public Grove()\n { \n groveSounds.setVolume(70);\n groveSounds.playLoop();\n \n addObject(super.play, 342, 343);\n\n addObject(new Mosquito(), 12, 12);\n addObject(new Mosquito(), 30, 30); \n addObject(new Mosquito(), 30, 30);\n addObject(new BoatSpirit(600, 650, 2), 650, 90);\n addObject(new Door(), 233, 40);\n \n \n \n addObject(new Apple(), 500, 80); \n addObject(new Platform(), 500, 124);\n addObject(new Platform(), 540, 124);\n \n addObject(new UpDown(100, 300), 233, 200);\n\n addObject(new Brick(350, 600), 400, 200);\n addObject(new Platform(), 80, 200);\n addObject(new Platform(), 530, 242);\n addObject(new Platform(), 20, 260);\n addObject(new Platform(), 650, 300);\n addObject(new Platform(), 60, 310);\n addObject(new Brick(400, 600), 450, 350);\n addObject(new Platform(), 200, 365);\n \n\n addObject(new Platform(), 350, 400);\n \n addObject(new Apple(), 570, 400);\n\n addObject(new Brick(300, 600), 550, 450);\n\n }", "title": "" }, { "docid": "3ec7ae682c1e4e2109aceb2cdc437c74", "score": "0.5504773", "text": "protected void setGearBox(GearBox gearBox) {\n this.gearBox = gearBox;\n }", "title": "" }, { "docid": "ea3931b68516cf4f3021156e1b19821a", "score": "0.55019987", "text": "@Override\n public void equipOnBlackMage(BlackMage player) {}", "title": "" }, { "docid": "efdaee31b46645c039193c435f47b641", "score": "0.54952854", "text": "@Test(dependsOnMethods = {\"setCriteria\"})\n public void setRAM() throws AWTException, InterruptedException {\n\t \n\t home.setRAM(raM);\n }", "title": "" }, { "docid": "e78f9a5b6eefbcbe9fe0f5109fba4887", "score": "0.5442673", "text": "public void setRadar(Board opponent){\n broken1 = new BrokenRadar(opponent);\n broken1.fillMap();\n }", "title": "" }, { "docid": "bf881945bd83a4a8f93acdda59712ff9", "score": "0.5393835", "text": "@Override\n public boolean isEquipabble()\n {\n return true;\n }", "title": "" }, { "docid": "68b126177d52d5f9388af4d722d4c8c9", "score": "0.5391805", "text": "private void giveArmor(Player player, Boolean noBurn, Boolean noDamage, Boolean noKnockback, Boolean reflection, Boolean focus, Boolean prism, Integer durability, Boolean equip) {\n ItemStack armorItemStack = ItemsFactory.getInstance().getArmorItemStack(noBurn, noDamage, noKnockback, reflection, focus, prism, durability);\n //Gives the armor to the player\n if (equip) {\n player.getInventory().setChestplate(armorItemStack);\n } else {\n player.getInventory().addItem(armorItemStack);\n }\n\n }", "title": "" }, { "docid": "00492b2de13128082a9b576bebc4a3a3", "score": "0.536896", "text": "private void assignGrenadeByComputer() {\r\n\t\tRandom random = new Random();\r\n\t\tSystem.out.println(\"Computer now placing his grenade!\\n\");\r\n\t\tfor (int i=0; i < MAX_PLAYER_GRENADE; i++) {\r\n\t\t\tboolean isPlacementValid = false;\r\n\t\t\twhile (!isPlacementValid) {\r\n\t\t\t\tint xCoordinate = random.nextInt(this.GRID_X);\r\n\t\t\t\tint yCoordinate = random.nextInt(this.GRID_Y);\r\n\t\t\t\tif (isShipCoordinatEmpty(yCoordinate, xCoordinate)) { // only if grid empty, place computer ship\r\n\t\t\t\t\tship[yCoordinate][xCoordinate].setObjectname(GRENADE.toUpperCase().trim());\r\n\t\t\t\t\tship[yCoordinate][xCoordinate].setOwner(COMPUTER);\r\n\t\t\t\t\tship[yCoordinate][xCoordinate].setStatus(STATUS_GRID_GRENADE);\r\n\t\t\t\t\tisPlacementValid = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f47b75963145ac044aa1a172c4a0c193", "score": "0.5358596", "text": "public static void registerOre(String name, Item ore){ registerOre(name, new ItemStack(ore)); }", "title": "" }, { "docid": "8e2ebf52a5eafadda9815dff9830345e", "score": "0.5332448", "text": "@Override\n public void populate() {\n agm.sboats = 1;\n updateshots();\n updateagmparameters();\n }", "title": "" }, { "docid": "2fb5ca9dc7c9591734baa7cd499d8d81", "score": "0.5320761", "text": "public void LowGear() {\n this.slndShift.set(true);\n bIsLow = true;\n SmartDashboard.putBoolean(\"Gear\", bIsLow);\n }", "title": "" }, { "docid": "929de79e30ab60ee688e850be971d0df", "score": "0.5318665", "text": "public void setupGuardbots(Screen screen) {\n\n\t\tGuardBot gaurd1;\n\t\tGuardBot guard2;\n\t\tGuardBot guard3;\n\t\tGuardBot guard4;\n\t\tGuardBot guard5;\n\t\tint[] dist = { 37, 14, 37};\n\t\tgaurd1 = new GuardBot(12, \"guard1\", \"level\", 17, dist, 0, 40 * 10, 8 * 10, 0, 5, 3, 12, 0.5, new Color(0, 0, 0));\n\t\tgaurd1.setScreen(screen);\n\t\tint[] dist2 = { 32, 29 };\n\t\tguard2 = new GuardBot(12, \"guard2\", \"level\", 12, dist2, 0, 81 * 10, 6 * 10, 0, 5, 3, 12, 0.3,\n\t\t\t\tnew Color(0, 0, 0));\n\t\tint[] dist3 = { 35, 29 };\n\t\tguard3 = new GuardBot(12, \"guard3\", \"level\", 10, dist3, 0, 81 * 10, 30 * 10, 0, 5, 3, 12, 0.3,\n\t\t\t\tnew Color(0, 0, 0));\n\t\tint[] dist4 = { 25, 25 };\n\t\tguard4 = new GuardBot(12, \"guard4\", \"level2\", 4, dist4, 0, 48 * 10, 2 * 10, 0, 5, 3, 12, 0.1,\n\t\t\t\tnew Color(0, 0, 0));\n\t\tint[] dist5 = { 35, 35 };\n\t\tguard5 = new GuardBot(12, \"guard5\", \"level2\", 1, dist5, 0, 2 * 10, 6 * 10, 0, 5, 3, 12, 0.1,\n\t\t\t\tnew Color(0, 0, 0));\n\t\tguard2.setScreen(screen);\n\t\tguard3.setScreen(screen);\n\t\tguard4.setScreen(screen);\n\t\tguard5.setScreen(screen);\n\t\tguardList1.add(gaurd1);\n\t\tguardList1.add(guard2);\n\t\tguardList1.add(guard3);\n\t\tguardList1.add(guard4);\n\t\tguardList1.add(guard5);\n\n\t}", "title": "" }, { "docid": "b94f3b819cdb67153065873af12540de", "score": "0.530712", "text": "public void useWeapon(ResponseInput responseMessage)\n {\n ResponseRailgun msg = (ResponseRailgun) responseMessage;\n\n if (msg.isMode())\n inPiercingMode(MethodsWeapons.ColorToPlayer(msg.getTarget1(),player.getSquare().getGameBoard()),MethodsWeapons.ColorToPlayer(msg.getTarget2(),player.getSquare().getGameBoard()));\n else\n basicMode(MethodsWeapons.ColorToPlayer(msg.getTarget1(),player.getSquare().getGameBoard()));\n }", "title": "" }, { "docid": "780be7bba434819b08539472895ed4b1", "score": "0.52925193", "text": "public void addAmmo(int replAmmo) {\n gun.addAmmo(replAmmo);\n }", "title": "" }, { "docid": "c652903a3a59183c2f7b7a4b36ac3e75", "score": "0.5278789", "text": "private void loadLoot(double rareBound){\n // start by getting first available coordinates \n Item loot = world.addUnequippedItem(rareBound);\n onLoad(loot);\n }", "title": "" }, { "docid": "575c37c6a37f57661b4f9a673a31eb0a", "score": "0.5275454", "text": "public PowerBoat(String regNum, double size, String fuelType, int engNum, String engType){\r\n this.setRegistrationNum(regNum);\r\n this.setSize(size);\r\n this.setFuelType(fuelType);\r\n engineNum = engNum;\r\n engineType = engType;\r\n }", "title": "" }, { "docid": "5882f108da37bb012598ca138146bafd", "score": "0.52753544", "text": "public void regen()\r\n\t{\r\n\t\tcurrentHealth=Math.min(baseHealth, currentHealth+regenRate);\r\n\t}", "title": "" }, { "docid": "d60af5103f10bb691ae80a62802a55bc", "score": "0.52598566", "text": "@Override\n\tpublic gearType GetGearType() {\n\t\treturn this.Gear;\n\t}", "title": "" }, { "docid": "02185c217c519c6f7e8bd0abeed00f19", "score": "0.52530795", "text": "protected void initialize() {\r\n \tRobot.gearbox.extendRightPiston();\r\n }", "title": "" }, { "docid": "96baf5e4e3ca4b95e89a196eb316d84a", "score": "0.52411044", "text": "private void loadGarments() {\n garments.add(new Garment(1, \"Cotton\", 3, 60, 1800, 333, false));\n garments.add(new Garment(2, \"Denim\", 5, 40, 900, 99, false));\n garments.add(new Garment(3, \"Nylon\", 2, 30, 1200, 12, true));\n garments.add(new Garment(4, \"Silk\", 1, 15, 300, 134, true));\n }", "title": "" }, { "docid": "aadfae15cf24ac0c33ea83699cec3944", "score": "0.52314603", "text": "public void addAmmo(Ammo ammocard){\n\n //add the first ammo in the ammo array\n loadAmmo(ammocard.getColorFirst());\n\n //add the second ammo in the ammo array\n loadAmmo(ammocard.getColorSecond());\n if (ammocard instanceof AmmoTriple) {\n\n //add the third ammo in the ammo array\n loadAmmo(((AmmoTriple) ammocard).getColorThird());\n }\n else if (ammocard instanceof AmmoDoublePowerUp) {\n Logger logger = Logger.getLogger(\"model.Player.addAmmo.AmmoDoublePowerUp\");\n\n try {\n addPowerUp(((AmmoDoublePowerUp) ammocard).getPowerUp());\n }catch (PowerUpOutOfBoundException e){\n logger.log(Level.WARNING, e.getMessage()+\" already have 3 PowerUps\");\n }\n }\n\n notify( new NotifyGrabEv(this.nickname, \"ammo\") );\n }", "title": "" }, { "docid": "e1b3ffe0dccf8d9fcdd2a7ef6ad5ac9f", "score": "0.52212596", "text": "private void handleArmour() {\r\n if (!player.isIronman()) {\r\n npc(\"You're not an Iron Man.\", \"Our armour is only for them.\");\r\n stage = END;\r\n return;\r\n }\r\n boolean hasHelmet = true;\r\n boolean hasBody = true;\r\n boolean hasLegs = true;\r\n int requiredInventory = 0;\r\n\r\n Item[] armourSet = getArmourSet(player.getSavedData().getGlobalData().getIronmanMode());\r\n\r\n if (armourSet == null) {\r\n end();\r\n return;\r\n }\r\n\r\n if (!player.hasItem(armourSet[0])) {\r\n hasHelmet = false;\r\n requiredInventory += 1;\r\n }\r\n if (!player.hasItem(armourSet[1])) {\r\n hasBody = false;\r\n requiredInventory += 1;\r\n }\r\n if (!player.hasItem(armourSet[2])) {\r\n hasLegs = false;\r\n requiredInventory += 1;\r\n }\r\n if (!hasHelmet || !hasBody || !hasLegs) {\r\n if (player.getInventory().freeSlots() < requiredInventory) {\r\n npc(\"It seems you don't have enough space for the armour.\");\r\n stage = END;\r\n return;\r\n }\r\n if (!hasHelmet) {\r\n player.getInventory().add(armourSet[0], true);\r\n }\r\n if (!hasBody) {\r\n player.getInventory().add(armourSet[1], true);\r\n }\r\n if (!hasLegs) {\r\n player.getInventory().add(armourSet[2], true);\r\n }\r\n npc(\"There you go. Wear it with pride.\");\r\n stage = END;\r\n return;\r\n }\r\n npc(\"I think you've already got the whole set.\");\r\n stage = END;\r\n return;\r\n }", "title": "" }, { "docid": "51ecc13f38f09d22c0b35f2b0bf0ff87", "score": "0.52117956", "text": "@Override\r\n\tpublic int getEquipType()\r\n\t{\r\n\t\treturn 1;\r\n\t}", "title": "" }, { "docid": "3351aca5e82772b3045e6c7f1a69ed18", "score": "0.520532", "text": "private void retrieveGlass(MyRobot myRobot){\n \tmyRobot.robot.msgReceiveGlass();\n \tmyRobot.robotState = RobotState.droppingOff;\n \ttry {\n \t\trobotHold.acquire();\n \t}catch(Exception e){\n \t\t//print(\"Unexpected exception caught in \"+this.toString());\n \t}\n \tstateChanged();\n }", "title": "" }, { "docid": "9a82564bd1458438e16521aecc47ebd5", "score": "0.51951873", "text": "public buycars2() {\n initComponents();\n xuv();\n xuvp();\n lambo();\n lambop();\n \n }", "title": "" }, { "docid": "2304e43f1f1a2fa52397553195fccfbe", "score": "0.5191868", "text": "public void MageArmor() {\r\n\t\t\tif(MageArmor == true) {\r\n\t\t\t\tac += dex;\r\n\t\t\t\tMageArmor = false;\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tSystem.out.println(\"You have already used this ability in this fight.\");\r\n\t\t\t}\r\n\t\t}", "title": "" }, { "docid": "f4dd4427f7807803ee7bd4e364635ad9", "score": "0.5186754", "text": "private void pickUpRings(){\n intakeWheels.setPower(1);\n\n setPositionAndWait(WOBBLE_X, WOBBLE_Y, 0);\n intakeWheels.setPower(0);\n }", "title": "" }, { "docid": "f6a5fe9642c75499dbbe8cbeee267b62", "score": "0.5185627", "text": "public static boolean addPlayerGear(final RamboConfigurationContainer container, final Player player)\r\n\t{\r\n\t\tif (isDebugEnabled)\r\n\t\t{\r\n\t\t\t_LOGGER.info(RamboConstants.DEBUG_TAG + \"addPlayerGear(player=\" + player + \")\");\r\n\t\t}\r\n\r\n\t\tboolean result = true;\r\n\r\n\t\tclearFullInventory(player);\r\n\t\tfinal PlayerInventory inventory = player.getInventory();\r\n\r\n\t\tHashMap<Integer, ItemStack> refusedItems = new HashMap<Integer, ItemStack>();\r\n\t\t\r\n\t\t// Equip Player Gear\r\n\t\tfor (final PlayerGear playerGear : container.playerGearConfiguration.keySet())\r\n\t\t{\r\n\t\t\tfinal List<ItemStack> stacks = container.playerGearConfiguration.get(playerGear);\r\n\t\t\tfor (final ItemStack item : stacks)\r\n\t\t\t{\r\n\t\t\t\trefusedItems.putAll(equipItem(item, playerGear.type, inventory));\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tif (!refusedItems.isEmpty())\r\n\t\t{\r\n\t\t\t_LOGGER.warning(RamboConstants.PLUGIN_TAG + refusedItems.size() + \" parts of Player Gear failed to be added.\");\r\n\t\t\tresult = false;\r\n\t\t}\r\n\r\n\t\tif (isDebugEnabled)\r\n\t\t{\r\n\t\t\t_LOGGER.info(RamboConstants.DEBUG_TAG + \"addRamboGear() -> \" + result);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "366fe71425edfc8d7d586f0b5d891962", "score": "0.51819694", "text": "public void pick()\n {\n int whichball = Greenfoot.getRandomNumber(3);\n \tswitch( whichball )\n \t{\n \t\tcase 0: gb = new BlueGumball(); break;\n \t\tcase 1: gb = new RedGumball(); break;\n \t\tcase 2: gb = new GreenGumball(); break;\n \t}\n \tWorld world = getWorld();\n \tworld.addObject(gb, 500, 500);\n \tthis.setMessage(\"I'm Random\");\n }", "title": "" }, { "docid": "26eca50fc1a98553edc52820b739b2e5", "score": "0.5180851", "text": "@Override\n\tpublic int getEquipType()\n\t{\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "809396363dffd46ea05226cd0fe13106", "score": "0.51624215", "text": "protected void registerFuel()\n\t{\n\t}", "title": "" }, { "docid": "bc9299669aa061f9ff13af6ec30f58d9", "score": "0.5158937", "text": "public void spawnRockRight() {\n invulnerables.add(new InvulnerableObject(new Rect(rocksRectR), drawableRocks));\n }", "title": "" }, { "docid": "0c24e06aff14068ea9dc5e928f49f83d", "score": "0.5156735", "text": "@Override\n public void setupConfig()\n {\n setDriver(\"6 30 -9 -360 360 0 90\");\n setNumBarrels(1);\n addBarrel(\"0 60 24 0\");\n setRecoil(4F);\n }", "title": "" }, { "docid": "280f690730f1b41fbb0a617010637c9f", "score": "0.515445", "text": "private void initHighbrowInventary()\r\n {\r\n Weapon startWeapon = new Weapon(\"Mains nues\", 0, 10, 10, \"Combat a main nues\");\r\n super.addInventary(startWeapon, 1);\r\n \r\n Armor startArmor = new Armor(\"Gants tactique\",1, 2, \"Gants en tissus qui protège les mains\");\r\n super.addInventary(startArmor, 1);\r\n \r\n super.activeWeapon = startWeapon;\r\n super.activeArmors.add(startArmor);\r\n }", "title": "" }, { "docid": "31645c9492544c1863c179dcbea4a3c8", "score": "0.51322746", "text": "public void checkArmor() {\n\t\t\r\n\t}", "title": "" }, { "docid": "851cea5330c732ac0427cfdde87c2cf3", "score": "0.5123896", "text": "void launchGummies() {\n\t\tfloat toss = PApplet.parseInt(parent.random(100));\n\t\tif (toss < settings.launchRate) {\n\t\t\t// if(bears.size() == 0) {\n\t\t\t// When launching new bears...\n\t\t\t// Choose a color gummy at random\n\t\t\tbears.add(new Bear(parent, gummyImgs[PApplet.parseInt(parent\n\t\t\t\t\t.random(0, gummyImgs.length))], (parent.noise(t\n\t\t\t\t\t+ parent.random(100)) * 100), box2d));\n\n\t\t\tt += parent.random(-1, 5);\n\t\t}\n\t}", "title": "" }, { "docid": "80c97bd0228f759394b62280ad9475ef", "score": "0.51215357", "text": "protected void initialize() {\n if (Robot.gearManipulation.isClampClosed()) {\n Robot.gearManipulation.setClampDown();\n }\n else{\n Robot.gearManipulation.setGearGrab();\n Robot.gearManipulation.setClampDown();\n }\n }", "title": "" }, { "docid": "16dfb3926bfc05296cc74d6114a2fb00", "score": "0.5114885", "text": "public static void init() {\n\n ItemStack mobSoul = new ItemStack(ModItems.mobSoul);\n ItemNBTHelper.setString(mobSoul, \"Name\", \"Any\");\n\n // Components Key[C=Corner, S=Side, M=Middle ]\n addOre(\n ModItems.draconicCore,\n \"CSC\",\n \"SMS\",\n \"CSC\",\n 'C',\n \"ingotGold\",\n 'S',\n ModItems.draconiumIngot,\n 'M',\n \"gemDiamond\");\n add(\n ModItems.wyvernCore,\n \"CSC\",\n \"SMS\",\n \"CSC\",\n 'C',\n ModItems.draconiumIngot,\n 'S',\n ModItems.draconicCore,\n 'M',\n Items.nether_star);\n addOre(ModItems.awakenedCore, \"CSC\", \"SCS\", \"CSC\", 'C', \"ingotDraconiumAwakened\", 'S', ModItems.wyvernCore);\n addOre(\n ModItems.chaoticCore,\n \"ACA\",\n \"CSC\",\n \"ACA\",\n 'A',\n \"ingotDraconiumAwakened\",\n 'C',\n ModItems.awakenedCore,\n 'S',\n ModItems.chaosShard);\n add(\n ModItems.wyvernEnergyCore,\n \"CSC\",\n \"SMS\",\n \"CSC\",\n 'C',\n ModItems.draconiumIngot,\n 'S',\n Blocks.redstone_block,\n 'M',\n ModItems.draconicCore);\n addOre(\n ModItems.draconicEnergyCore,\n \"CSC\",\n \"SMS\",\n \"CSC\",\n 'C',\n \"ingotDraconiumAwakened\",\n 'S',\n ModItems.wyvernEnergyCore,\n 'M',\n ModItems.wyvernCore);\n // addOre(ModItems.draconiumBlend, \" D \", \"DID\", \" D \", 'I', \"ingotIron\", 'D', ModItems.draconiumDust);\n\n addShaplessOre(getStack(ModItems.draconicIngot, 9, 0), \"blockDraconiumAwakened\");\n addShaplessOre(getStack(ModItems.draconiumIngot, 9, 0), \"blockDraconium\");\n addShaplessOre(getStack(ModItems.nugget, 9, 0), \"ingotDraconium\");\n addShaplessOre(getStack(ModItems.nugget, 9, 1), \"ingotDraconiumAwakened\");\n addOre(ModItems.draconiumIngot, \"III\", \"III\", \"III\", 'I', \"nuggetDraconium\");\n addOre(ModItems.draconicIngot, \"III\", \"III\", \"III\", 'I', \"nuggetDraconiumAwakened\");\n\n add(getStack(ModItems.chaosFragment, 1, 1), \"III\", \"III\", \"III\", 'I', getStack(ModItems.chaosFragment, 1, 0));\n add(getStack(ModItems.chaosFragment, 1, 2), \"III\", \"III\", \"III\", 'I', getStack(ModItems.chaosFragment, 1, 1));\n add(ModItems.chaosShard, \"III\", \"III\", \"III\", 'I', getStack(ModItems.chaosFragment, 1, 2));\n\n if (ModItems.isEnabled(ModItems.draconiumIngot) && ModItems.isEnabled(ModItems.draconiumBlend))\n GameRegistry.addSmelting(ModItems.draconiumBlend, getStack(ModItems.draconiumIngot, 2, 0), 1.0f);\n if (ModItems.isEnabled(ModItems.draconiumIngot) && ModItems.isEnabled(ModItems.draconiumDust))\n GameRegistry.addSmelting(\n new ItemStack(ModItems.draconiumDust), getStack(ModItems.draconiumIngot, 1, 0), 1.0f);\n\n // Reactor\n addOre(\n ModItems.partStabFrame,\n \"III\",\n \"CD \",\n \"III\",\n 'I',\n \"ingotIron\",\n 'C',\n ModItems.wyvernCore,\n 'D',\n \"ingotDraconiumAwakened\");\n addOre(\n ModItems.partStabRotorInner,\n \" \",\n \"III\",\n \"CWW\",\n 'I',\n \"ingotDraconiumAwakened\",\n 'W',\n \"ingotDraconium\",\n 'C',\n ModItems.draconicCore);\n addOre(\n ModItems.partStabRotorOuter,\n \" \",\n \"III\",\n \"CWW\",\n 'I',\n \"gemDiamond\",\n 'W',\n \"ingotDraconium\",\n 'C',\n ModItems.draconicCore);\n addOre(\n ModItems.partStabRotorAssembly,\n \" IO\",\n \"CWW\",\n \" IO\",\n 'I',\n ModItems.partStabRotorInner,\n 'O',\n ModItems.partStabRotorOuter,\n 'C',\n ModItems.wyvernCore,\n 'W',\n \"ingotDraconium\");\n addOre(\n ModItems.partStabRing,\n \"GDG\",\n \"DCD\",\n \"GDG\",\n 'G',\n \"ingotGold\",\n 'D',\n \"gemDiamond\",\n 'C',\n ModItems.wyvernCore);\n addOre(\n ModBlocks.reactorStabilizer,\n \"ICI\",\n \"FSR\",\n \"IEI\",\n 'I',\n \"ingotDraconiumAwakened\",\n 'C',\n ModItems.chaoticCore,\n 'F',\n ModItems.partStabFrame,\n 'S',\n ModItems.partStabRotorAssembly,\n 'R',\n ModItems.partStabRing,\n 'E',\n ModItems.draconicEnergyCore);\n addOre(\n ModBlocks.reactorEnergyInjector,\n \"IRI\",\n \"RCR\",\n \"IRI\",\n 'I',\n \"ingotDraconium\",\n 'R',\n ModItems.partStabRotorInner,\n 'C',\n ModItems.wyvernCore);\n addOre(ModBlocks.reactorCore, \" I \", \"ISI\", \" I \", 'I', \"ingotDraconiumAwakened\", 'S', ModItems.chaosShard);\n\n // Wyvern tools\n add(\n ModItems.wyvernFluxCapacitor,\n \"CSC\",\n \"SMS\",\n \"CSC\",\n 'C',\n ModItems.draconiumIngot,\n 'S',\n ModItems.wyvernEnergyCore,\n 'M',\n ModItems.wyvernCore);\n // tool\n add(\n ModItems.wyvernPickaxe,\n \" W \",\n \"ITI\",\n \" E \",\n 'W',\n ModItems.wyvernCore,\n 'I',\n ModItems.draconiumIngot,\n 'T',\n Items.diamond_pickaxe,\n 'E',\n ModItems.wyvernEnergyCore);\n add(\n ModItems.wyvernShovel,\n \" W \",\n \"ITI\",\n \" E \",\n 'W',\n ModItems.wyvernCore,\n 'I',\n ModItems.draconiumIngot,\n 'T',\n Items.diamond_shovel,\n 'E',\n ModItems.wyvernEnergyCore);\n add(\n ModItems.wyvernSword,\n \" W \",\n \"ITI\",\n \" E \",\n 'W',\n ModItems.wyvernCore,\n 'I',\n ModItems.draconiumIngot,\n 'T',\n Items.diamond_sword,\n 'E',\n ModItems.wyvernEnergyCore);\n add(\n ModItems.wyvernBow,\n \" W \",\n \"ITI\",\n \" E \",\n 'W',\n ModItems.wyvernCore,\n 'I',\n ModItems.draconiumIngot,\n 'T',\n Items.bow,\n 'E',\n ModItems.wyvernEnergyCore);\n addOre(\n new ItemStack(ModItems.magnet, 1, 0),\n \"RII\",\n \" C\",\n \"RII\",\n 'R',\n Blocks.redstone_block,\n 'I',\n \"ingotIron\",\n 'C',\n ModItems.teleporterMKI);\n\n // armor\n add(\n ModItems.wyvernHelm,\n \"IWI\",\n \"IAI\",\n \"IEI\",\n 'W',\n ModItems.wyvernCore,\n 'I',\n ModItems.draconiumIngot,\n 'A',\n Items.diamond_helmet,\n 'E',\n ModItems.wyvernEnergyCore);\n add(\n ModItems.wyvernChest,\n \"IWI\",\n \"IAI\",\n \"IEI\",\n 'W',\n ModItems.wyvernCore,\n 'I',\n ModItems.draconiumIngot,\n 'A',\n Items.diamond_chestplate,\n 'E',\n ModItems.wyvernEnergyCore);\n add(\n ModItems.wyvernLeggs,\n \"IWI\",\n \"IAI\",\n \"IEI\",\n 'W',\n ModItems.wyvernCore,\n 'I',\n ModItems.draconiumIngot,\n 'A',\n Items.diamond_leggings,\n 'E',\n ModItems.wyvernEnergyCore);\n add(\n ModItems.wyvernBoots,\n \"IWI\",\n \"IAI\",\n \"IEI\",\n 'W',\n ModItems.wyvernCore,\n 'I',\n ModItems.draconiumIngot,\n 'A',\n Items.diamond_boots,\n 'E',\n ModItems.wyvernEnergyCore);\n\n // Draconic Tools\n addEnergy(\n ModItems.draconicFluxCapacitor,\n \"CMC\",\n \"SPS\",\n \"CSC\",\n 'C',\n \"ingotDraconiumAwakened\",\n 'S',\n ModItems.draconicEnergyCore,\n 'M',\n ModItems.awakenedCore,\n 'P',\n ModItems.wyvernFluxCapacitor);\n // tools\n addEnergy(\n ModItems.draconicPickaxe,\n \" C \",\n \"ITI\",\n \" E \",\n 'C',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'T',\n ModItems.wyvernPickaxe,\n 'E',\n ModItems.draconicEnergyCore);\n addEnergy(\n ModItems.draconicShovel,\n \" C \",\n \"ITI\",\n \" E \",\n 'C',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'T',\n ModItems.wyvernShovel,\n 'E',\n ModItems.draconicEnergyCore);\n addOre(\n ModItems.draconicAxe,\n \" C \",\n \"ITI\",\n \" E \",\n 'C',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'T',\n Items.diamond_axe,\n 'E',\n ModItems.draconicEnergyCore);\n addOre(\n ModItems.draconicHoe,\n \" C \",\n \"ITI\",\n \" E \",\n 'C',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'T',\n Items.diamond_hoe,\n 'E',\n ModItems.draconicEnergyCore);\n addEnergy(\n ModItems.draconicSword,\n \" C \",\n \"ITI\",\n \" E \",\n 'C',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'T',\n ModItems.wyvernSword,\n 'E',\n ModItems.draconicEnergyCore);\n addOre(\n ModItems.draconicBow,\n \" C \",\n \"ITI\",\n \" E \",\n 'C',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'T',\n ModItems.wyvernBow,\n 'E',\n ModItems.draconicEnergyCore);\n addEnergy(\n ModItems.draconicDestructionStaff,\n \"IAI\",\n \"PIS\",\n \"IWI\",\n 'I',\n \"ingotDraconiumAwakened\",\n 'A',\n ModItems.awakenedCore,\n 'P',\n ModItems.draconicPickaxe,\n 'S',\n ModItems.draconicShovel,\n 'W',\n ModItems.draconicSword);\n addOre(\n new ItemStack(ModItems.magnet, 1, 1),\n \"RII\",\n \" C\",\n \"RII\",\n 'R',\n new ItemStack(ModBlocks.draconiumBlock, 1, 2),\n 'I',\n \"ingotDraconiumAwakened\",\n 'C',\n new ItemStack(ModItems.magnet, 1, 0));\n\n // armor\n addEnergy(\n ModItems.draconicHelm,\n \"IWI\",\n \"IAI\",\n \"IEI\",\n 'W',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'A',\n ModItems.wyvernHelm,\n 'E',\n ModItems.draconicEnergyCore);\n addEnergy(\n ModItems.draconicChest,\n \"IWI\",\n \"IAI\",\n \"IEI\",\n 'W',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'A',\n ModItems.wyvernChest,\n 'E',\n ModItems.draconicEnergyCore);\n addEnergy(\n ModItems.draconicLeggs,\n \"IWI\",\n \"IAI\",\n \"IEI\",\n 'W',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'A',\n ModItems.wyvernLeggs,\n 'E',\n ModItems.draconicEnergyCore);\n addEnergy(\n ModItems.draconicBoots,\n \"IWI\",\n \"IAI\",\n \"IEI\",\n 'W',\n ModItems.awakenedCore,\n 'I',\n \"ingotDraconiumAwakened\",\n 'A',\n ModItems.wyvernBoots,\n 'E',\n ModItems.draconicEnergyCore);\n\n // Blocks\n // storage\n addOre(ModBlocks.draconiumBlock, \"III\", \"III\", \"III\", 'I', \"ingotDraconium\");\n addOre(ModBlocks.draconicBlock, \"III\", \"III\", \"III\", 'I', \"ingotDraconiumAwakened\");\n\n // aesthetic\n add(\n ModBlocks.particleGenerator,\n \"RBR\",\n \"BCB\",\n \"RBR\",\n 'R',\n Blocks.redstone_block,\n 'B',\n Items.blaze_rod,\n 'C',\n ModItems.draconicCore);\n addOre(\n new ItemStack(ModBlocks.infusedObsidian, 4),\n \"BOB\",\n \"ODO\",\n \"BOB\",\n 'B',\n Items.blaze_powder,\n 'O',\n Blocks.obsidian,\n 'D',\n \"dustDraconium\");\n\n // machines\n addOre(\n ModBlocks.potentiometer,\n \"ITI\",\n \"QCQ\",\n \"IRI\",\n 'I',\n \"ingotIron\",\n 'T',\n Blocks.redstone_torch,\n 'Q',\n \"gemQuartz\",\n 'C',\n Items.comparator,\n 'R',\n Blocks.redstone_block);\n addOre(\n ModBlocks.rainSensor,\n \" \",\n \"RBR\",\n \"SPS\",\n 'R',\n \"dustRedstone\",\n 'B',\n Items.bucket,\n 'S',\n Blocks.stone_slab,\n 'P',\n Blocks.heavy_weighted_pressure_plate);\n addOre(\n ModBlocks.teleporterStand,\n \" P \",\n \" S \",\n \"HBH\",\n 'P',\n Blocks.stone_pressure_plate,\n 'S',\n \"stone\",\n 'H',\n new ItemStack(Blocks.stone_slab, 1, 0),\n 'B',\n Items.blaze_powder);\n addOre(\n ModBlocks.dislocatorReceptacle,\n \"ICI\",\n \" O \",\n \"ISI\",\n 'I',\n \"ingotIron\",\n 'C',\n ModItems.draconicCore,\n 'O',\n ModBlocks.infusedObsidian,\n 'S',\n ModBlocks.teleporterStand);\n addOre(\n ModBlocks.upgradeModifier,\n \" \",\n \"DCD\",\n \"III\",\n 'I',\n \"ingotIron\",\n 'D',\n \"ingotDraconium\",\n 'C',\n ModItems.draconicCore);\n\n // machines adv\n addOre(\n ModBlocks.resurrectionStone,\n \"CSC\",\n \"SMS\",\n \"CSC\",\n 'C',\n mobSoul,\n 'S',\n ModItems.wyvernCore,\n 'M',\n \"blockDraconium\");\n addOre(\n ModBlocks.energyStorageCore,\n \"CCC\",\n \"SMS\",\n \"CCC\",\n 'C',\n \"ingotDraconium\",\n 'S',\n ModItems.wyvernEnergyCore,\n 'M',\n ModItems.wyvernCore);\n addOre(\n ModBlocks.weatherController,\n \"RIR\",\n \"TPT\",\n \"IEI\",\n 'R',\n Items.blaze_rod,\n 'T',\n Blocks.tnt,\n 'P',\n ModItems.draconicCore,\n 'I',\n \"ingotDraconium\",\n 'E',\n Blocks.enchanting_table);\n addOre(\n ModBlocks.playerDetectorAdvanced,\n \"ISI\",\n \"EDE\",\n \"ICI\",\n 'I',\n \"ingotDraconium\",\n 'E',\n Items.ender_eye,\n 'S',\n new ItemStack(Items.skull, 1, 1),\n 'C',\n Items.compass,\n 'D',\n ModBlocks.playerDetector);\n addOre(\n ModBlocks.energyInfuser,\n \"IPI\",\n \"CEC\",\n \"ICI\",\n 'I',\n \"ingotDraconium\",\n 'P',\n ModBlocks.particleGenerator,\n 'C',\n ModItems.draconicCore,\n 'E',\n Blocks.enchanting_table);\n addOre(\n ModBlocks.draconiumChest,\n \"IFI\",\n \"SCS\",\n \"IWI\",\n 'I',\n \"ingotDraconium\",\n 'C',\n ModItems.draconicCore,\n 'S',\n getChest(),\n 'W',\n Blocks.crafting_table,\n 'F',\n Blocks.furnace);\n addOre(\n getStack(ModBlocks.energyPylon, 2, 0),\n \"IEI\",\n \"MCM\",\n \"IDI\",\n 'I',\n \"ingotDraconium\",\n 'E',\n Items.ender_eye,\n 'C',\n ModItems.draconicCore,\n 'D',\n \"gemDiamond\",\n 'M',\n \"gemEmerald\");\n addOre(\n getStack(ModBlocks.grinder, 1, 3),\n \"IXI\",\n \"DCD\",\n \"IFI\",\n 'I',\n \"ingotIron\",\n 'X',\n \"ingotDraconium\",\n 'D',\n Items.diamond_sword,\n 'C',\n ModItems.draconicCore,\n 'F',\n Blocks.furnace);\n addOre(\n ModBlocks.playerDetector,\n \"ITI\",\n \"CEC\",\n \"IDI\",\n 'I',\n \"ingotIron\",\n 'E',\n Items.ender_eye,\n 'T',\n Blocks.redstone_torch,\n 'C',\n Items.comparator,\n 'D',\n ModItems.draconicCore);\n addOre(\n getStack(ModBlocks.generator, 1, 3),\n \"NIN\",\n \"IFI\",\n \"NCN\",\n 'N',\n Items.netherbrick,\n 'I',\n \"ingotIron\",\n 'F',\n Blocks.furnace,\n 'C',\n ModItems.draconicCore);\n addOre(\n ModBlocks.dissEnchanter,\n \"PIP\",\n \"ETE\",\n \"CBC\",\n 'P',\n Items.ender_eye,\n 'I',\n Items.enchanted_book,\n 'E',\n \"gemEmerald\",\n 'T',\n Blocks.enchanting_table,\n 'C',\n ModItems.draconicCore,\n 'B',\n Items.book);\n addOre(\n getStack(ModBlocks.energyCrystal, 4, 0),\n \"IDI\",\n \"DCD\",\n \"IDI\",\n 'I',\n \"ingotDraconium\",\n 'D',\n \"gemDiamond\",\n 'C',\n ModItems.draconicCore);\n addOre(\n getStack(ModBlocks.energyCrystal, 4, 1),\n \"CRC\",\n \"RWR\",\n \"CRC\",\n 'R',\n getStack(ModBlocks.energyCrystal, 1, 0),\n 'W',\n ModItems.wyvernCore,\n 'C',\n ModItems.draconicCore);\n addShaplessOre(\n getStack(ModBlocks.energyCrystal, 1, 0),\n getStack(ModBlocks.energyCrystal, 1, 2),\n getStack(ModBlocks.energyCrystal, 1, 2));\n addShaplessOre(getStack(ModBlocks.energyCrystal, 2, 2), getStack(ModBlocks.energyCrystal, 1, 0));\n addShaplessOre(\n getStack(ModBlocks.energyCrystal, 1, 1),\n getStack(ModBlocks.energyCrystal, 1, 3),\n getStack(ModBlocks.energyCrystal, 1, 3));\n addShaplessOre(getStack(ModBlocks.energyCrystal, 2, 3), getStack(ModBlocks.energyCrystal, 1, 1));\n addOre(\n getStack(ModBlocks.energyCrystal, 1, 4),\n \"PGP\",\n \"ECE\",\n \"PGP\",\n 'P',\n Items.ender_pearl,\n 'G',\n ModBlocks.particleGenerator,\n 'E',\n Items.ender_eye,\n 'C',\n getStack(ModBlocks.energyCrystal, 1, 0));\n addOre(\n getStack(ModBlocks.energyCrystal, 1, 5),\n \"PGP\",\n \"ECE\",\n \"PGP\",\n 'P',\n Items.ender_pearl,\n 'G',\n ModBlocks.particleGenerator,\n 'E',\n Items.ender_eye,\n 'C',\n getStack(ModBlocks.energyCrystal, 1, 1));\n\n if (Loader.isModLoaded(\"ThermalDynamics\")) {\n addOre(\n getStack(ModBlocks.flowGate, 1, 0),\n \"ICI\",\n \"RSR\",\n \"ICI\",\n 'I',\n \"ingotDraconium\",\n 'C',\n getStack(ModItems.draconicCore, 1, 0),\n 'R',\n Items.comparator,\n 'S',\n new ItemStack(GameRegistry.findBlock(\"ThermalDynamics\", \"ThermalDynamics_0\"), 1, 1));\n addOre(\n getStack(ModBlocks.flowGate, 1, 6),\n \"ICI\",\n \"RSR\",\n \"ICI\",\n 'I',\n \"ingotDraconium\",\n 'C',\n getStack(ModItems.draconicCore, 1, 0),\n 'R',\n Items.comparator,\n 'S',\n new ItemStack(GameRegistry.findBlock(\"ThermalDynamics\", \"ThermalDynamics_16\"), 1, 2));\n } else {\n addOre(\n getStack(ModBlocks.flowGate, 1, 0),\n \"ICI\",\n \"RSR\",\n \"ICI\",\n 'I',\n \"ingotDraconium\",\n 'C',\n getStack(ModItems.draconicCore, 1, 0),\n 'R',\n Items.comparator,\n 'S',\n getStack(ModItems.draconiumEnergyCore, 1, 0));\n addOre(\n getStack(ModBlocks.flowGate, 1, 6),\n \"ICI\",\n \"RSR\",\n \"ICI\",\n 'I',\n \"ingotDraconium\",\n 'C',\n getStack(ModItems.draconicCore, 1, 0),\n 'R',\n Items.comparator,\n 'S',\n Items.bucket);\n }\n\n // Tools\n addOre(\n ModItems.teleporterMKII,\n \"IEI\",\n \"ETE\",\n \"IWI\",\n 'I',\n \"ingotDraconium\",\n 'E',\n Items.ender_pearl,\n 'T',\n ModItems.teleporterMKI,\n 'W',\n ModItems.wyvernCore);\n addOre(\n ModItems.teleporterMKI,\n \"CSC\",\n \"SMS\",\n \"CSC\",\n 'C',\n Items.blaze_powder,\n 'S',\n \"dustDraconium\",\n 'M',\n Items.ender_eye);\n addOre(getStack(ModItems.safetyMatch, 1, 1000), \" O \", \" S \", \" \", 'O', \"dyeOrange\", 'S', \"stickWood\");\n add(ModItems.safetyMatch, \"MMM\", \"MMM\", \"MMM\", 'M', getStack(ModItems.safetyMatch, 1, 1000));\n addOre(\n ModItems.wrench,\n \" ID\",\n \" RI\",\n \"C \",\n 'I',\n \"ingotDraconium\",\n 'D',\n \"gemDiamond\",\n 'R',\n Items.blaze_rod,\n 'C',\n ModItems.draconicCore);\n\n // Other\n addOre(ModItems.infoTablet, \"SSS\", \"SDS\", \"SSS\", 'S', \"stone\", 'D', \"dustDraconium\");\n addShaplessOre(getStack(ModItems.enderArrow, 1, 0), Items.arrow, Items.ender_pearl);\n addShaplessOre(\n new ItemStack(Blocks.dirt),\n Item.getItemFromBlock(Blocks.sand),\n Items.rotten_flesh,\n \"treeSapling\",\n \"treeSapling\",\n \"treeSapling\");\n addShaplessOre(\n new ItemStack(Blocks.dirt),\n Item.getItemFromBlock(Blocks.sand),\n Items.rotten_flesh,\n \"treeLeaves\",\n \"treeLeaves\",\n \"treeLeaves\");\n\n // Disable able\n // if(ConfigHandler.disableSunDial == 0)\n addOre(\n ModBlocks.sunDial,\n \"IAI\",\n \"CDC\",\n \"IEI\",\n 'I',\n \"ingotDraconium\",\n 'A',\n ModItems.awakenedCore,\n 'C',\n ModItems.draconicCore,\n 'E',\n Blocks.enchanting_table,\n 'D',\n Blocks.dragon_egg);\n // if(ConfigHandler.disableXrayBlock == 0)\n addOre(\n getStack(ModBlocks.xRayBlock, 4, 0),\n \"SGS\",\n \"GDG\",\n \"SGS\",\n 'S',\n Items.nether_star,\n 'G',\n \"blockGlassColorless\",\n 'D',\n \"gemDiamond\");\n }", "title": "" }, { "docid": "ac61351712d3cc1e75e8a07f43a7b1d3", "score": "0.51114994", "text": "public void setEquipped(Boolean equipped) {\n\t\tthis.equipped = equipped;\n\t}", "title": "" }, { "docid": "01bec085adfb6fed97640ee68c49b7da", "score": "0.51107746", "text": "public HeavyBlade( boolean upgrade) {\n super( upgrade,true);\n name = \"HeavyBlade\";\n rarity = \"Common\";\n type = \"Attack\";\n color = \"Red\";\n description = \"Deal 14 damage. Strength affects Heavy Blade 3 times.\";\n energy = 2;\n if(upgrade) upgrade();\n }", "title": "" }, { "docid": "d18f441b89753053598c053d3d8dea3d", "score": "0.5110434", "text": "private void setRequiredEquipment() {\n\t\tequipment = Simple.TASK_HANDLER.getCurrentTask().getAssignment().getRequiredEquipment();\n\t\tbestAxe = getAxe();\n\t\tcurrentAxe = equipment.getEquipment(EquipmentSlot.WEAPON);\n\t\tif (currentAxe.getIaoxItem() == null || currentAxe.getIaoxItem().getID() != bestAxe.getID()) {\n\t\t\tcurrentAxe.replaceItem(bestAxe);\n\t\t}\n\t}", "title": "" }, { "docid": "912d06b962b7b1b97684b6b2c3cf1f80", "score": "0.5106205", "text": "private void requestPickup(MyGlass myGlass){\n \tint robotIndex = -1;\n \tif (myGlass.glass.getRecipe().getNeedDrilling()){\n \tMyRobot tempMyRobot = null;\n \tsynchronized(robots){\n \t\tfor(MyRobot r:robots){\n \t\t\trobotIndex++;\n \t\t\tif (r.robotState == RobotState.idle && !r.broken){\n \t\t\t\ttempMyRobot = r;\n \t\t\t\tbreak;\n \t\t\t}\n \t\t}\n \t}\n \tif (tempMyRobot != null){\n \t\ttempMyRobot.robotState = RobotState.processing;\n \t\ttempMyRobot.robot.msgRobotPickup(myGlass.glass);\n \t\tglasses.remove(myGlass);\n\t\t\t\tcheckIfRobotsWorking = true;\n\t\t\t\tglassLoadStatus = GlassLoadStatus.notLoaded;\n\t\t\t\tif (robotIndex == 0){\n\t\t\t\t\ttopCheckTimer = new Timer();\n\t\t \ttopCheckTimer.schedule(new TimerTask(){\n\t\t \t public void run(){//this routine is like a message reception \n\t\t \t \tprint(\"Top workstation broken!\");\n\t\t \t\tInteger[] args = new Integer[1];\n\t\t \t\targs[0] = 0;\n\t\t \t\ttransducer.fireEvent(TChannel.DRILL, TEvent.OPERATOR_NEEDED, args);\n\t\t \t }\n\t\t \t}, expirationTime);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tbottomCheckTimer = new Timer();\n\t\t \tbottomCheckTimer.schedule(new TimerTask(){\n\t\t \t public void run(){//this routine is like a message reception \n\t\t \t \tprint(\"Bottom workstation broken!\");\n\t\t \t\tInteger[] args = new Integer[1];\n\t\t \t\targs[0] = 1;\n\t\t \t\ttransducer.fireEvent(TChannel.DRILL, TEvent.OPERATOR_NEEDED, args);\n\t\t \t }\n\t\t \t}, expirationTime);\t\t\t\t\n\t\t\t\t}\n \t}\n \t}\n \telse{\n \t\tmyGlass.state = Status.processed;\n \t}\n \tstateChanged();\n }", "title": "" }, { "docid": "f898980c2bf170140959f889259358d2", "score": "0.5105363", "text": "@Override\n\tpublic void use(Player p, int index) {\n\t\tSystem.out.println(\"Wield Armor now is: \" + this.getNome());\n\t\tArmor ar = p.getWield_a();\n\t\tp.setWield_a(this);\n\t\tp.setInventory(index-1, ar);\n\t}", "title": "" }, { "docid": "fbd0aacc6c7516501d258762d6850cac", "score": "0.5094553", "text": "public void setRabbitGrassSimulationSpace(RabbitsGrassSimulationSpace rgss) {\n\t\t// Agents learn their place\n\t\trgsSpace = rgss;\n\t}", "title": "" }, { "docid": "6e2f79c31655f540fd3578ffbdad0317", "score": "0.50910026", "text": "GearStuckOnNeutral(){\n // Voila! Empty!\n }", "title": "" }, { "docid": "5c6ec9a9209958550255b741e1bc840a", "score": "0.5090378", "text": "public String getGearBox()\n {\n return fuelType;\n }", "title": "" }, { "docid": "7fbdcadbf9649b90e88a62f412c84354", "score": "0.5089727", "text": "void equipOnArcher(Archer archer);", "title": "" }, { "docid": "57a6cc72e8651fd57ff47c8f94c065f8", "score": "0.508236", "text": "public void onBlue(){ \n\t\t\n\t\taddSequential(new DriveStraightByDistance(1750), 2.5);\n\t\taddSequential(new WaitCommand(0.2));\n\t\taddSequential(new TurnDegrees(dir ? -60 : 60, 1000), 1);\n\t\taddSequential(new DriveStraightByVisionTimed(5000), 5);\n\t\taddSequential(new OpenPlacer2(), 1);\n\t\taddSequential(new WaitCommand(0.4));\n\t\taddSequential(new SmartArcadeDriveByValues(0.46, 0, 200));\n\t\taddSequential(new WaitCommand(0.4));\n\t\taddSequential(new StupidDriveStraightByDistance(750, dir ? -60: 60 , false), 0.8);\n\t\taddParallel(new ClosePlacer(), 1);\n\t\taddSequential(new DriveStraightByDistance(-750, 0, false), 0.8);\n\t\t\n\t\taddSequential(new DriveStraightByDistance(750, dir ? 30 : -30, false), 0.8);\n\t\t\n\t\taddSequential(new StupidDriveStraightByDistance(-1000, 0,false), 1);\n\t\t\n\t\taddSequential(new DriveStraightByDistance(dir ? 7000 : 7500, dir ? 0 : 42.7, false), 7.5);\n\t}", "title": "" }, { "docid": "2cd007b9c2368a596576d3e2349f5a44", "score": "0.5073134", "text": "private static void registerVanillaOres()\r\n\t{\r\n\t\t// Dye list.\r\n\t\tfinal String[] dyes = { \"Black\", \"Red\", \"Green\", \"Brown\", \"Blue\", \"Purple\", \"Cyan\", \"LightGray\", \"Gray\", \"Pink\", \"Lime\", \"Yellow\", \"LightBlue\", \"Magenta\", \"Orange\", \"White\" };\r\n\t\t\r\n\t\t// tree- and wood-related things\r\n\t\tregisterOre(\"logWood\", Blocks.LOG);\r\n\t\tregisterOre(\"logWood\", Blocks.LOG2);\r\n\t\tregisterOre(\"plankWood\", Blocks.PLANKS);\r\n\t\tregisterOre(\"slabWood\", Blocks.WOODEN_SLAB);\r\n\t\tregisterOre(\"stairWood\", Blocks.OAK_STAIRS);\r\n\t\tregisterOre(\"stairWood\", Blocks.SPRUCE_STAIRS);\r\n\t\tregisterOre(\"stairWood\", Blocks.BIRCH_STAIRS);\r\n\t\tregisterOre(\"stairWood\", Blocks.JUNGLE_STAIRS);\r\n\t\tregisterOre(\"stairWood\", Blocks.ACACIA_STAIRS);\r\n\t\tregisterOre(\"stairWood\", Blocks.DARK_OAK_STAIRS);\r\n\t\tregisterOre(\"stickWood\", Items.STICK);\r\n\t\tregisterOre(\"treeSapling\", Blocks.SAPLING);\r\n\t\tregisterOre(\"treeLeaves\", Blocks.LEAVES);\r\n\t\tregisterOre(\"treeLeaves\", Blocks.LEAVES2);\r\n\t\tregisterOre(\"vine\", Blocks.VINE);\r\n\t\t\r\n\t\t// Ores\r\n\t\tregisterOre(\"oreGold\", Blocks.GOLD_ORE);\r\n\t\tregisterOre(\"oreIron\", Blocks.IRON_ORE);\r\n\t\tregisterOre(\"oreLapis\", Blocks.LAPIS_ORE);\r\n\t\tregisterOre(\"oreDiamond\", Blocks.DIAMOND_ORE);\r\n\t\tregisterOre(\"oreRedstone\", Blocks.REDSTONE_ORE);\r\n\t\tregisterOre(\"oreEmerald\", Blocks.EMERALD_ORE);\r\n\t\tregisterOre(\"oreQuartz\", Blocks.QUARTZ_ORE);\r\n\t\tregisterOre(\"oreCoal\", Blocks.COAL_ORE);\r\n\t\t\r\n\t\t// gems and dusts\r\n\t\tregisterOre(\"gemDiamond\", Items.DIAMOND);\r\n\t\tregisterOre(\"gemEmerald\", Items.EMERALD);\r\n\t\tregisterOre(\"gemQuartz\", Items.QUARTZ);\r\n\t\tregisterOre(\"gemPrismarine\", Items.PRISMARINE_SHARD);\r\n\t\tregisterOre(\"dustPrismarine\", Items.PRISMARINE_CRYSTALS);\r\n\t\tregisterOre(\"dustRedstone\", Items.REDSTONE);\r\n\t\tregisterOre(\"dustGlowstone\", Items.GLOWSTONE_DUST);\r\n\t\tregisterOre(\"gemLapis\", new ItemStack(Items.DYE, 1, 4));\r\n\t\tregisterOre(\"gemNetherStar\", Items.NETHER_STAR);// Far Core added.\r\n\t\t\r\n\t\t// storage blocks\r\n\t\tregisterOre(\"blockGold\", Blocks.GOLD_BLOCK);\r\n\t\tregisterOre(\"blockIron\", Blocks.IRON_BLOCK);\r\n\t\tregisterOre(\"blockLapis\", Blocks.LAPIS_BLOCK);\r\n\t\tregisterOre(\"blockDiamond\", Blocks.DIAMOND_BLOCK);\r\n\t\tregisterOre(\"blockRedstone\", Blocks.REDSTONE_BLOCK);\r\n\t\tregisterOre(\"blockEmerald\", Blocks.EMERALD_BLOCK);\r\n\t\tregisterOre(\"blockQuartz\", Blocks.QUARTZ_BLOCK);\r\n\t\tregisterOre(\"blockCoal\", Blocks.COAL_BLOCK);\r\n\t\t\r\n\t\t// crops\r\n\t\tregisterOre(\"cropWheat\", Items.WHEAT);\r\n\t\tregisterOre(\"cropPotato\", Items.POTATO);\r\n\t\tregisterOre(\"cropCarrot\", Items.CARROT);\r\n\t\tregisterOre(\"cropNetherWart\", Items.NETHER_WART);\r\n\t\tregisterOre(\"sugarcane\", Items.REEDS);\r\n\t\tregisterOre(\"blockCactus\", Blocks.CACTUS);\r\n\t\t\r\n\t\tregisterOre(\"seedWheat\", Items.WHEAT_SEEDS);// Far Core added.\r\n\t\tregisterOre(\"seedPotato\", Items.POTATO);// Far Core added.\r\n\t\tregisterOre(\"seedCarrot\", Items.CARROT);// Far Core added.\r\n\t\tregisterOre(\"seedMelon\", Items.MELON_SEEDS);// Far Core added.\r\n\t\tregisterOre(\"seedPumpkin\", Items.PUMPKIN_SEEDS);// Far Core added.\r\n\t\tregisterOre(\"seedNetherWart\", Items.NETHER_WART);// Far Core added.\r\n\t\t\r\n\t\t// misc materials\r\n\t\tregisterOre(\"dye\", new ItemStack(Items.DYE, 1, WILDCARD_VALUE));\r\n\t\tregisterOre(\"paper\", new ItemStack(Items.PAPER));\r\n\t\tregisterOre(\"book\", new ItemStack(Items.BOOK));// Far Core added.\r\n\t\tregisterOre(\"book\", new ItemStack(Items.ENCHANTED_BOOK));// Far Core\r\n\t\t// added.\r\n\t\tregisterOre(\"book\", new ItemStack(Items.WRITTEN_BOOK));// Far Core\r\n\t\t// added.\r\n\t\t\r\n\t\t// mob drops\r\n\t\tregisterOre(\"slimeball\", Items.SLIME_BALL);\r\n\t\tregisterOre(\"enderpearl\", Items.ENDER_PEARL);\r\n\t\tregisterOre(\"bone\", Items.BONE);\r\n\t\tregisterOre(\"gunpowder\", Items.GUNPOWDER);\r\n\t\tregisterOre(\"dustGunpowder\", Items.GUNPOWDER);// Far core added.\r\n\t\tregisterOre(\"string\", Items.STRING);\r\n\t\tregisterOre(\"netherStar\", Items.NETHER_STAR);\r\n\t\tregisterOre(\"leather\", Items.LEATHER);\r\n\t\tregisterOre(\"feather\", Items.FEATHER);\r\n\t\tregisterOre(\"stickBlaze\", Items.BLAZE_ROD);// Far core added.\r\n\t\tregisterOre(\"egg\", Items.EGG);\r\n\t\t\r\n\t\t// records\r\n\t\tregisterOre(\"record\", Items.RECORD_13);\r\n\t\tregisterOre(\"record\", Items.RECORD_CAT);\r\n\t\tregisterOre(\"record\", Items.RECORD_BLOCKS);\r\n\t\tregisterOre(\"record\", Items.RECORD_CHIRP);\r\n\t\tregisterOre(\"record\", Items.RECORD_FAR);\r\n\t\tregisterOre(\"record\", Items.RECORD_MALL);\r\n\t\tregisterOre(\"record\", Items.RECORD_MELLOHI);\r\n\t\tregisterOre(\"record\", Items.RECORD_STAL);\r\n\t\tregisterOre(\"record\", Items.RECORD_STRAD);\r\n\t\tregisterOre(\"record\", Items.RECORD_WARD);\r\n\t\tregisterOre(\"record\", Items.RECORD_11);\r\n\t\tregisterOre(\"record\", Items.RECORD_WAIT);\r\n\t\t\r\n\t\t// blocks\r\n\t\tregisterOre(\"dirt\", Blocks.DIRT);\r\n\t\tregisterOre(\"grass\", Blocks.GRASS);\r\n\t\tregisterOre(\"stone\", Blocks.STONE);\r\n\t\tregisterOre(\"cobblestone\", Blocks.COBBLESTONE);\r\n\t\tregisterOre(\"gravel\", Blocks.GRAVEL);\r\n\t\tregisterOre(\"sand\", Blocks.SAND);\r\n\t\tregisterOre(\"sandstone\", Blocks.SANDSTONE);\r\n\t\tregisterOre(\"sandstone\", Blocks.RED_SANDSTONE);\r\n\t\tregisterOre(\"clay\", Blocks.CLAY);// Far Core added.\r\n\t\tregisterOre(\"clayHardened\", Blocks.HARDENED_CLAY);// Far Core added.\r\n\t\tregisterOre(\"clayHardened\", Blocks.STAINED_HARDENED_CLAY);// Far Core added.\r\n\t\tregisterOre(\"netherrack\", Blocks.NETHERRACK);\r\n\t\tregisterOre(\"obsidian\", Blocks.OBSIDIAN);\r\n\t\tregisterOre(\"glowstone\", Blocks.GLOWSTONE);\r\n\t\tregisterOre(\"endstone\", Blocks.END_STONE);\r\n\t\tregisterOre(\"torch\", Blocks.TORCH);\r\n\t\tregisterOre(\"workbench\", Blocks.CRAFTING_TABLE);\r\n\t\tregisterOre(\"blockSlime\", Blocks.SLIME_BLOCK);\r\n\t\tregisterOre(\"blockPrismarine\", new ItemStack(Blocks.PRISMARINE, 1, BlockPrismarine.EnumType.ROUGH.getMetadata()));\r\n\t\tregisterOre(\"blockPrismarineBrick\", new ItemStack(Blocks.PRISMARINE, 1, BlockPrismarine.EnumType.BRICKS.getMetadata()));\r\n\t\tregisterOre(\"blockPrismarineDark\", new ItemStack(Blocks.PRISMARINE, 1, BlockPrismarine.EnumType.DARK.getMetadata()));\r\n\t\tregisterOre(\"stoneGranite\", new ItemStack(Blocks.STONE, 1, 1));\r\n\t\tregisterOre(\"stoneGranitePolished\", new ItemStack(Blocks.STONE, 1, 2));\r\n\t\tregisterOre(\"stoneDiorite\", new ItemStack(Blocks.STONE, 1, 3));\r\n\t\tregisterOre(\"stoneDioritePolished\", new ItemStack(Blocks.STONE, 1, 4));\r\n\t\tregisterOre(\"stoneAndesite\", new ItemStack(Blocks.STONE, 1, 5));\r\n\t\tregisterOre(\"stoneAndesitePolished\", new ItemStack(Blocks.STONE, 1, 6));\r\n\t\tregisterOre(\"blockGlassColorless\", Blocks.GLASS);\r\n\t\tregisterOre(\"blockGlass\", Blocks.GLASS);\r\n\t\tregisterOre(\"blockGlass\", Blocks.STAINED_GLASS);\r\n\t\t// blockGlass{Color} is added below with dyes\r\n\t\tregisterOre(\"paneGlassColorless\", Blocks.GLASS_PANE);\r\n\t\tregisterOre(\"paneGlass\", Blocks.GLASS_PANE);\r\n\t\tregisterOre(\"paneGlass\", Blocks.STAINED_GLASS_PANE);\r\n\t\t// paneGlass{Color} is added below with dyes\r\n\t\t\r\n\t\t// chests\r\n\t\tregisterOre(\"chest\", Blocks.CHEST);\r\n\t\tregisterOre(\"chest\", Blocks.ENDER_CHEST);\r\n\t\tregisterOre(\"chest\", Blocks.TRAPPED_CHEST);\r\n\t\tregisterOre(\"chestWood\", Blocks.CHEST);\r\n\t\tregisterOre(\"chestEnder\", Blocks.ENDER_CHEST);\r\n\t\tregisterOre(\"chestTrapped\", Blocks.TRAPPED_CHEST);\r\n\t\t\r\n\t\t// dyes\r\n\t\tfor (int i = 0; i < 16; ++i)\r\n\t\t{\r\n\t\t\tregisterOre(\"dye\" + dyes[i], new ItemStack(Items.DYE, 1, i));\r\n\t\t\tregisterOre(\"blockGlass\" + dyes[i], new ItemStack(Blocks.STAINED_GLASS, 1, 15 - i));\r\n\t\t\tregisterOre(\"paneGlass\" + dyes[i], new ItemStack(Blocks.STAINED_GLASS_PANE, 1, 15 - i));\r\n\t\t\tregisterOre(\"clayHardened\" + dyes[i], new ItemStack(Blocks.STAINED_HARDENED_CLAY, 1, 15 - i));//Far Core added.\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "01c61d134e79d08bc60416411197a030", "score": "0.50730395", "text": "public NearRocketToLoadingStation() {\n addSequential(new GyroPIDCommand(180, 2));\n addSequential(new MotionProfileCommand(\"NearRocketToLoadingStation\", false, 180));\n addSequential(new Command() {\n @Override\n protected void initialize() {\n Robot.switchAutoToTeleop();\n }\n @Override\n protected boolean isFinished() {\n return Robot.autoControl == false;\n }\n });\n\n }", "title": "" }, { "docid": "91321ddeeb74aec6e7c86edbcbf62afd", "score": "0.50726056", "text": "public void usePlayerFuel() {\n repository.useFuel();\n }", "title": "" }, { "docid": "10ec897cd9655924b75b68d0e0dffda2", "score": "0.5068844", "text": "public void teleport() {\n\t\tsetToRemove();\n\t\taddOrb(YellowOrb.class, Utils.random(0, 1000), Utils.random(0, 600), this.getRadius(), \n\t\t\t\tthis.getSpeedX(), this.getSpeedY(), \n\t\t\t\tYellowOrb.RED, YellowOrb.GREEN, YellowOrb.BLUE);\n\t}", "title": "" }, { "docid": "9effc66c4c26015054d8af649283fb97", "score": "0.50637686", "text": "private void prepare()\n {\n roket roket = new roket();\n addObject(roket, 303, 55);\n roket.setLocation(98, 79);\n balon balon = new balon();\n addObject(balon, 504, 101);\n balon balon2 = new balon();\n addObject(balon2, 792, 302);\n balon balon3 = new balon();\n addObject(balon3, 526, 411);\n balon balon4 = new balon();\n addObject(balon4, 317, 294);\n boom boom = new boom();\n addObject(boom, 773, 143);\n boom boom2 = new boom();\n addObject(boom2, 308, 442);\n }", "title": "" }, { "docid": "9d6ff1b2ce43b71b19fe2eabea98e4e5", "score": "0.506317", "text": "public void commitRobbery() {\n //fighter value skill check\n int num = rand.nextInt(11); //traders aren't great fighters\n //if player wins\n if (num <= player.getSkillSet()[1] + player.getShip().getDamageMod()) {\n //Random number between 1-3 items\n for (int i = 0; i < (rand.nextInt(3) + 1); i++) {\n player.getShip().addCargo(wares.remove(rand.nextInt(wares.size())));\n }\n } else {\n //Do a random # of damage (between 100-300)\n player.getShip().setHealth(player.getShip().getHealth() - (rand.nextInt(201) + 100));\n if (player.getShip().getHealth() <= 0) {\n GameOver end = new GameOver(false);\n }\n }\n //continue to travel\n }", "title": "" }, { "docid": "8f37fbac0a25b0a9e5e7321f585e8d0c", "score": "0.50587535", "text": "public String getManualGears(){\n return manualGears;\n }", "title": "" }, { "docid": "42c10e8ec0643e08e1d1688411e9e1e4", "score": "0.50562996", "text": "public BossConqueror () {\r\n accounts = PixelSkills.getAccountGs();\r\n config = PixelSkills.getConfigG();\r\n experienceHandler = PixelSkills.getExperienceHandler();\r\n }", "title": "" }, { "docid": "f557b44fe9f7b9a0d88ed2e69b2cdd36", "score": "0.50538546", "text": "public void buildingRegen(boolean regen) {\n \t\thealthRegenB = regen;\n \t}", "title": "" }, { "docid": "fb8650ff2bcac1e80c773e37bb6436aa", "score": "0.50491965", "text": "public void newGear(View view) {\n //adding a new element, no gear information yet, so only del is put in\n del = -1;\n Intent intent = new Intent(this, DisplayGear.class);\n intent.putExtra(\"del\", String.valueOf(del));\n startActivityForResult(intent, LAUNCH_GEAR);\n gearAdapter.notifyDataSetChanged();\n }", "title": "" }, { "docid": "b3f0ef9737332e32faa2084849f10756", "score": "0.5048882", "text": "public void SetCurrentGears(int num) {\r\n\t\tCurrentGear = num;\r\n\t}", "title": "" }, { "docid": "49f0bd3bd1bec1875b508705108a6619", "score": "0.50369054", "text": "@Override\n\tpublic void robotInit() {\n\t\toi = OI.getInstance();\n\t\tteleop = new G_Teleop();\n\t\tauton = new G_GearCenter();\n\t\t\n\t\t// pidTune = new DrivePID();\n\t\tRIOdroid.initUSB();\n\n\t}", "title": "" }, { "docid": "c5b785f70e34c6cffbb2b06e4585755e", "score": "0.5034327", "text": "private void registerGuns() {\n\n\t\tprismarine_pistol = new GenericGun(\"prismarine_pistol\", 1234,\n\t\t\t\tItems.prismarine_shard, (byte) 6, 1.0D);\n\t\tregisterItem(prismarine_pistol, \"prismarine_pistol\");\n\n\t\tfire_gun = new GenericGun(\"fire_gun\", 666, Items.fire_charge, (byte) 9,\n\t\t\t\t1.5D);\n\t\tregisterItem(fire_gun, \"fire_gun\");\n\n\t\tender_rifle = new GenericGun(\"ender_rifle\", 888, Items.ender_pearl,\n\t\t\t\t(byte) 11, 3.0D);\n\t\tregisterItem(ender_rifle, \"ender_rifle\");\n\n\t\tcompressed_redstone = new GenericItem(\"compressed_redstone\", guns);\n\n\t\tsteampunk_gun = new GenericGun(\"steampunk_gun\", 1280,\n\t\t\t\tcompressed_redstone, (byte) 10, 4);\n\t\tregisterItem(steampunk_gun, \"steampunk_gun\");\n\n\t\tregisterItem(compressed_redstone, \"compressed_redstone\");\n\n\t\tfire_bullet = new GenericItem(\"fire_bullet\", guns);\n\n\t\tincinerator_gun = new GenericGun(\"incinerator_gun\", 1500, fire_bullet,\n\t\t\t\t(byte) 14, 2.5D);\n\t\tregisterItem(incinerator_gun, \"incinerator_gun\");\n\n\t\tregisterItem(fire_bullet, \"fire_bullet\");\n\n\t\tjuggernaut_gun = new GenericGun(\"juggernaut_gun\", 6666,\n\t\t\t\tItems.iron_ingot, (byte) 40, 4.0D);\n\t\tregisterItem(juggernaut_gun, \"juggernaut_gun\");\n\t}", "title": "" }, { "docid": "b20c5d7a00cb5d73d66793208c6f2da2", "score": "0.5034081", "text": "public void equip(Weapon weapon) {\n if (this.getHealthpoints()>0) {\n if (weapon.equipToBlackMage(this)!=null) {\n this.equippedWeapon = weapon.equipToBlackMage(this);\n }\n }\n }", "title": "" }, { "docid": "5c9312d5150964a67ea658b48703b156", "score": "0.5027861", "text": "public void ride(){\n\t\tflying += 2;\r\n\t\tstrength -=2;\r\n\t\thunger +=2;\r\n\t\thappiness +=2;\r\n\t\tcheck();\r\n\t}", "title": "" }, { "docid": "ff819604aeda6bd5f3aebee41661a6a4", "score": "0.50242794", "text": "void equipOnCleric(Cleric cleric);", "title": "" }, { "docid": "c5db20cb5d45fe82575d5078ecb9c80a", "score": "0.5019813", "text": "@Override\n\tpublic void robotInit() {\n\t\t//Autonomous selector setup onto the SmartDashboard\n\t\tautonomousChooser.addDefault(\"Do Nothing\", doNothingAuto);\n\t\tautonomousChooser.addObject(\"Drive Forward\", driveForwardAuto);\n\t\tautonomousChooser.addObject(\"Center Gear\", centerGearAuto);\n\t\tautonomousChooser.addObject(\"Left Gear\", leftGearAuto);\n\t\tautonomousChooser.addObject(\"Right Gear\", rightGearAuto);\n\t\tSmartDashboard.putData(\"Auto choices\", autonomousChooser);\n\t\t\n\t\t\n\t\t//Robot class method calls\n\t\tdisplaySettings();\n\t\tsetConstants();\n\t\t\n\t\t\n\t\t//manipulator stick instantiations\n\t\tmanipulatorStick = new Joystick(MANIPULATOR_STICK_PORT);\n\t\tgearPanButton = new Toggle(manipulatorStick, GEAR_PAN_BUTTON);\n\t\t\n\t\t//mobility stick instantiations\n\t\tmobilityStick = new Joystick(MOBILITY_STICK_PORT);\n\t\tarcadeDriveYAxis = DeadZone.deadZone(mobilityStick.getRawAxis(ARCADE_DRIVE_Y_AXIS));\n\t\tarcadeDriveRotateAxis = DeadZone.deadZone(mobilityStick.getRawAxis(ARCADE_DRIVE_ROTATE_AXIS));\n\t\tmecanumDriveYAxis = DeadZone.deadZone(mobilityStick.getRawAxis(MECANUM_DRIVE_Y_AXIS));\n\t\tmecanumDriveXAxis = DeadZone.deadZone(mobilityStick.getRawAxis(MECANUM_DRIVE_X_AXIS));\n\t\tmecanumDriveRotateAxis = DeadZone.deadZone(mobilityStick.getRawAxis(MECANUM_DRIVE_ROTATE_AXIS));\n\t\tdriveSwitchButton = new Toggle(mobilityStick, DRIVE_SWITCH_BUTTON);\n\t\t\n\t\t//motor controller instantiations\n\t\tintakeMotor = new WPI_TalonSRX(INTAKE_MOTOR_PORT);\n\t\tshooterMotor = new WPI_TalonSRX(SHOOTER_MOTOR_PORT);\n\t\taugerMotor = new WPI_TalonSRX(AUGER_MOTOR_PORT);\n\t\tclimberMotor = new WPI_TalonSRX(CLIMBER_MOTOR_PORT);\n\t\t\n\t\tfrontLeftMotor = new WPI_TalonSRX(FRONT_LEFT_MOTOR_PORT);\n\t\trearLeftMotor = new WPI_TalonSRX(REAR_LEFT_MOTOR_PORT);\n\t\tleftMotors = new SpeedControllerGroup(frontLeftMotor, rearLeftMotor);\n\t\t\n\t\tfrontRightMotor = new WPI_TalonSRX(FRONT_RIGHT_MOTOR_PORT);\n\t\trearRightMotor = new WPI_TalonSRX(REAR_LEFT_MOTOR_PORT);\n\t\trightMotors = new SpeedControllerGroup(frontRightMotor, rearLeftMotor);\n\t\t\n\t\t//solenoid instantiations\n\t\tgearPanSolenoid = new Solenoid(GEAR_PAN_SOLENOID_PORT);\n\t\tfrontLeftSolenoid = new Solenoid(FRONT_LEFT_SOLENOID_PORT);\n\t\trearLeftSolenoid = new Solenoid(REAR_LEFT_SOLENOID_PORT);\n\t\tfrontRightSolenoid = new Solenoid(FRONT_RIGHT_SOLENOID_PORT);\n\t\trearRightSolenoid = new Solenoid(REAR_RIGHT_SOLENOID_PORT);\n\t\t\n\t\t//other instantiations\n\t\tdifferentialDrive = new DifferentialDrive(leftMotors, rightMotors);\n\t\tmecanumDrive = new MecanumDrive(frontLeftMotor, rearLeftMotor, frontRightMotor, rearRightMotor);\n\t\tgyro = new AHRS(SPI.Port.kMXP);\n\t\t\n\t\t//project class instantiations\n\t\tshooter = new Shooter(this);\n\t\tintake = new Intake(this);\n\t\tclimber = new Climber(this);\n\t\tdrive = new Drive(this);\n\t\tautonomousMethods = new AutonomousMethods(this);\n\t\tautonomousPrograms = new AutonomousPrograms(this);\n\t\t\n\t\tsetInverts();\n\t}", "title": "" }, { "docid": "83f49078306986bbdca0c52bbed86305", "score": "0.50176007", "text": "public i_InGripper_r(AbstractRobot ar) {\n\t\tif (DEBUG)\n\t\t\tSystem.out.println(\"i_InGripper_r: instantiated\");\n\t\tabstract_robot = ar;\n\t}", "title": "" }, { "docid": "05eb235ec611d4d9dc63529e8f894073", "score": "0.50148386", "text": "public void agit(){\n\t\tint x=getObjectif().getLargeur();\n\t\tint y=getObjectif().getHauteur();\n\t\t\n\t\tif(r.peutTirer()){ // Si le robot a assez de vie\n\t\t\tCellule objectif=r.getVue().p.getCellule(x, y);\n\t\t\tRobot thisR=r.getVue().p.getCellule(x, y).getContenu(); // robot (à \"null\" ou pas) de la future case\n\t\t\t\n\t\t\tif(r.getType().substring(0, 1).equalsIgnoreCase(\"T\") || r.getType().substring(0, 1).equalsIgnoreCase(\"C\")){ // Si le robot courant est un Tireur ou un char\n\t\t\t\tif(thisR!=null && objectif.estBase()==0 && thisR.getEquipe()==r.getEquipe()) // Si un robot tire sur un robot de son equipe\n\t\t\t\t\tSystem.out.println(\"Hey man, no friendly fire! ;)\");\n\t\t\t\t\n\t\t\t\telse if(thisR!=null && objectif.estBase()==0){ // Si on ne tire pas sur une base\n\t\t\t\t\tthisR.subitTir(); // le robot attaque perd des pvs\n\t\t\t\t\tSystem.out.println(\"Attaque effectuee!\");\n\t\t\t\t}\n\t\t\t\telse // Si on ne tire sur rien\n\t\t\t\t\tSystem.out.println(\"Impossible, vous ne tirez pas sur un robot!\");\n\t\t\t}\n\t\t\telse if(r.getType().substring(0, 1).equalsIgnoreCase(\"P\")){ // Si le robot courant est un Piegeur\n\t\t\t\tif(thisR==null && objectif.estBase()==0){ // Si la case est vide et que ce n'est pas une base\n\t\t\t\t\tobjectif.ajoute(r.getEquipe()); // Ajoute une mine\n\t\t\t\t\tSystem.out.println(\"Attaque effectuee!\");\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"Impossible de poser une mine, case non vide!\");\n\t\t\t}\n\t\t\tr.setEnergie(r.getEnergie()-r.getCoutAction()); // mise a jour de l'energie\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"Impossible, vous n'avez pas assez de vie pour attaquer!\");\n\t}", "title": "" }, { "docid": "4d8af9b39009a6924b9691afca7cfe76", "score": "0.5014249", "text": "@Override\r\n\tpublic void pickUp(){\r\n\t\thasWeapon = true;\r\n\t}", "title": "" }, { "docid": "64d6fb995e257d2085873a6baf4f0913", "score": "0.5011075", "text": "public Integer getGear() {\n return gear;\n }", "title": "" }, { "docid": "8713dd0545417623bf124907f4397304", "score": "0.5007384", "text": "static void Q_R() {\n RunningShoe runners = new RunningShoe(10.5f, \"Nike\", \"Ursain Bolt\");\n System.out.println(\"I don't run any where without my size \" + runners.getSize() + \" \" + runners.getBrand() + \" -- \" + runners.getEndorsedBy());\n }", "title": "" }, { "docid": "634995d3f5fbc2c2440748c0d0732f4e", "score": "0.500301", "text": "public void refresh ()\n{\n\t// retrieve the player's ship\n\tShip ship = JavaTrek.game.gamedata.space.getPlayersShip ();\n\t\n\tif (energy_type == MAIN_ENERGY)\n\t{\n\t\t// display the amount of energy remaining\n\t\tint remaining = ship.getEnergyRemaining ();\n\t\tint max = ship.getEnergyMax ();\n\t\tpd_energy.setPercentage ((float) remaining / (float) max);\n\n\t\t// set the button's tool tip text\n\t\tbuffer.delete (0, buffer.length ());\n\t\tbuffer.append (\" Energy (\");\n\t\tbuffer.append (remaining);\n\t\tbuffer.append (\" / \");\n\t\tbuffer.append (max);\n\t\tbuffer.append (\") \");\n\t\tb_work.setToolTipText (buffer.toString ());\n\t}\n\telse\n\t{\n\t\tShields shields = (Shields) ship.getSystem (Shields.class.getName ());\n\t\tif (shields != null)\n\t\t{\n\t\t\t// check that the button is enabled\n\t\t\tb_work.setEnabled (true);\n\t\t\t\n\t\t\t// display the amount of energy remaining\n\t\t\tint remaining = shields.getRemaining ();\n\t\t\tint max = shields.getCapacity ();\n\t\t\tpd_energy.setPercentage ((float) remaining / (float) max);\n\t\t\t\n\t\t\t// set the button's tool tip text\n\t\t\tbuffer.delete (0, buffer.length ());\n\t\t\tbuffer.append (\" Shields (\");\n\t\t\tbuffer.append (remaining);\n\t\t\tbuffer.append (\" / \");\n\t\t\tbuffer.append (max);\n\t\t\tbuffer.append (\") \");\n\t\t\tb_work.setToolTipText (buffer.toString ());\t\t\n\t\t}\n\t\telse\n\t\t{\n\t\t\t// zero the display and disable the button\n\t\t\tpd_energy.setPercentage (0.0f);\n\t\t\tb_work.setEnabled (false);\n\t\t\tb_work.setToolTipText (\"shields not installed\");\n\t\t}\n\t}\n}", "title": "" }, { "docid": "ce1b8b89a236b7fc4c21269b75ab3254", "score": "0.50027984", "text": "void consumesFuel();", "title": "" }, { "docid": "518329684637895dbb992bd51202f5b5", "score": "0.49904895", "text": "public void wear() {\n\t\tSystem.out.println(\"Wear bikini\");\n\t}", "title": "" }, { "docid": "db9bf2a0281794b81d66b032dbc194d3", "score": "0.49852514", "text": "public boolean getGear() {\n\t\treturn shifter.get();\n\t}", "title": "" }, { "docid": "baa9f7fd32aa81bb9cb2c8d44793bd22", "score": "0.49852353", "text": "private static void runHQ() throws GameActionException {\n\n\t\tRobot[] alliedRobots = rc.senseNearbyGameObjects(Robot.class,100000000,rc.getTeam());\n\n\t\t\n\t\tif(Clock.getRoundNum()>400&&alliedRobots.length<5){//call a retreat\n\t\t\t\n\t\t\tMapLocation startPoint = findAverageAllyLocation(alliedRobots);\n\t\t\t\n\t\t\tSystem.out.println(\"spawning \"+rc.senseHQLocation());\n\t\t\tComms.findPathAndBroadcast(2,startPoint,rc.senseHQLocation(),bigBoxSize,2);\n\t\t\t\n\t\t\trallyPoint = rc.senseHQLocation();\n\t\t}else{//not retreating\n\t\t\t//tell them to go to the rally point\n\t\t\t\n\t\t\tComms.findPathAndBroadcast(1,rc.getLocation(),rallyPoint,bigBoxSize,2);\n\n\t\t\t//if the enemy builds a pastr, tell sqaud 2 to go there.\n\t\t\tMapLocation[] enemyPastrs = rc.sensePastrLocations(rc.getTeam().opponent());\n\t\t\tif(enemyPastrs.length>0){\n\t\t\t\tMapLocation startPoint = findAverageAllyLocation(alliedRobots);\n\t\t\t\ttargetedPastr = getNextTargetPastr(enemyPastrs,startPoint);\n\t\t\t\t//broadcast it\n\t\t\t\tComms.findPathAndBroadcast(2,startPoint,targetedPastr,bigBoxSize,2);\n\t\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t//System.out.println(\"I AM BROADCASTINGGGGGGGGG\");\n\t\tband1 = new BandData(Clock.getRoundNum(), 0, 30, 20);\n\t\trc.broadcast(1, band1.concatenate());\n\t\tband2 = new BandData(Clock.getRoundNum(), 0, rc.senseEnemyHQLocation().x, rc.senseEnemyHQLocation().y);\n\t\trc.broadcast(2, band2.concatenate());\n\t\t\n\t\tint num = rc.senseRobotCount();\n\t\tint i = 0;\n\t\tif(num<GameConstants.MAX_ROBOTS){\n\t\t\tfor(i=0;i<8;i++){\n\t\t\t\tDirection trialDir = allDirections[i];\n\t\t\t\tif(rc.canMove(trialDir)){\n\t\t\t\t\trc.spawn(trialDir);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "20cadfa23318c685ab3485d1245afe00", "score": "0.4981182", "text": "@Override\n\tpublic void robotInit() {\n\t\tfL = new VictorSP(0);\n\t\tbL = new VictorSP(3);\n\t\tfR = new VictorSP(1);\n\t\tbR = new VictorSP(2);\n\t\tjoy = new Joystick(0);\n\t\t\n\t\toffsetFactor = 0.91; \n\t\tstraight = true;\n\t\t// haroldsjoystick = new Joystick(1);\n\t\t// haroldsmotor = new VictorSP(4);\n\t\tdrive = new RobotDrive(fL, bL, fR, bR);\n\t\t// chooser.addObject(\"My Auto\", new MyAutoCommand());\n\t\tSmartDashboard.putData(\"Auto mode\", chooser);\n\t\tdrivePower = 0.5f;\n\t\tlidPiss = new DoubleSolenoid(4, 5);\n\t\tgearPiss = new DoubleSolenoid(2, 3);\n\t\tserver = CameraServer.getInstance();\n\t\t\n\t\trightEncoder = new Encoder(0, 1, false, Encoder.EncodingType.k4X);\n\t\tleftEncoder = new Encoder(2, 3, true, Encoder.EncodingType.k4X);\n\t\t\n\t\ttable = NetworkTable.getTable(\"VisionTable\");\n\t\t\n\t\ttry {\n\n\t\t\t// Use SerialPort.Port.kOnboard if connecting nav6 to Roborio Rs-232\n\t\t\t// port\n\t\t\t// Use SerialPort.Port.kMXP if connecting navX MXP to the RoboRio\n\t\t\t// MXP port\n\t\t\t// Use SerialPort.Port.kUSB if connecting nav6 or navX MXP to the\n\t\t\t// RoboRio USB port\n\n\t\t\tserial_port = new SerialPort(57600, SerialPort.Port.kMXP);\n\n\t\t\t// You can add a second parameter to modify the\n\t\t\t// update rate (in hz) from. The minimum is 4.\n\t\t\t// The maximum (and the default) is 100 on a nav6, 60 on a navX MXP.\n\t\t\t// If you need to minimize CPU load, you can set it to a\n\t\t\t// lower value, as shown here, depending upon your needs.\n\t\t\t// The recommended maximum update rate is 50Hz\n\n\t\t\t// You can also use the IMUAdvanced class for advanced\n\t\t\t// features on a nav6 or a navX MXP.\n\n\t\t\t// You can also use the AHRS class for advanced features on\n\t\t\t// a navX MXP. This offers superior performance to the\n\t\t\t// IMU Advanced class, and also access to 9-axis headings\n\t\t\t// and magnetic disturbance detection. This class also offers\n\t\t\t// access to altitude/barometric pressure data from a\n\t\t\t// navX MXP Aero.\n\n\t\t\tbyte update_rate_hz = 50;\n\t\t\t// imu = new IMU(serial_port,update_rate_hz);\n\t\t\t// imu = new IMUAdvanced(serial_port,update_rate_hz);\n\t\t\timu = new AHRS(serial_port, update_rate_hz);\n\t\t} catch (Exception ex) {\n\n\t\t}\n\n\t\t\n\n\t}", "title": "" }, { "docid": "32e255060a7a266776400b94d7ffa14d", "score": "0.498065", "text": "public void onDeath(DamageSource cause) {\n \tthis.setCanPickUpLoot(false);\n \tif (this.getSpecialSkin() == null || this.getSpecialSkin() != null && !this.getSpecialSkin().equals(\"crystal_gems\")) {\n\t \tswitch (this.getColor()) {\n\t \tcase 0:\n\t \t\tthis.droppedGemItem = ModItems.WHITE_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_WHITE_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 1:\n\t \t\tthis.droppedGemItem = ModItems.ORANGE_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_ORANGE_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 2:\n\t \t\tthis.droppedGemItem = ModItems.MAGENTA_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_MAGENTA_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 3:\n\t \t\tthis.droppedGemItem = ModItems.LIGHT_BLUE_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_LIGHT_BLUE_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 4:\n\t \t\tthis.droppedGemItem = ModItems.YELLOW_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_YELLOW_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 5:\n\t \t\tthis.droppedGemItem = ModItems.LIME_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_LIME_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 6:\n\t \t\tthis.droppedGemItem = ModItems.PINK_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_PINK_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 7:\n\t \t\tthis.droppedGemItem = ModItems.GRAY_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_GRAY_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 8:\n\t \t\tthis.droppedGemItem = ModItems.LIGHT_GRAY_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_LIGHT_GRAY_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 9:\n\t \t\tthis.droppedGemItem = ModItems.CYAN_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_CYAN_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 10:\n\t \t\tthis.droppedGemItem = ModItems.PURPLE_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_PURPLE_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 11:\n\t \t\tthis.droppedGemItem = ModItems.BLUE_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_BLUE_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 12:\n\t \t\tthis.droppedGemItem = ModItems.BROWN_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_BROWN_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 13:\n\t \t\tthis.droppedGemItem = ModItems.GREEN_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_GREEN_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 14:\n\t \t\tthis.droppedGemItem = ModItems.RED_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_RED_PEARL_GEM;\n\t \t\tbreak;\n\t \tcase 15:\n\t \t\tthis.droppedGemItem = ModItems.BLACK_PEARL_GEM;\n\t \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_BLACK_PEARL_GEM;\n\t \t\tbreak;\n\t \t}\n \t}\n \telse {\n \t\tthis.droppedGemItem = ModItems.PEARL_GEM;\n \t\tthis.droppedCrackedGemItem = ModItems.CRACKED_PEARL_GEM;\n \t}\n \tsuper.onDeath(cause);\n }", "title": "" }, { "docid": "9b4c19377995aeee4f59d930008f941e", "score": "0.49779516", "text": "private static void registerOre(String name, int id, ItemStack ore)\n {\n ArrayList<ItemStack> ores = getOres(id);\n ore = ore.copy();\n ores.add(ore);\n MinecraftForge.EVENT_BUS.post(new OreRegisterEvent(name, ore));\n }", "title": "" }, { "docid": "ac942779f309588b7c13b380c5f8e15f", "score": "0.4976964", "text": "public void equipWeapon(Weapon weapon) {\n this.weapon = weapon;\n }", "title": "" }, { "docid": "98386cd5d47cd23c43671d43ad3ec418", "score": "0.4970962", "text": "public void newApple() {\n\t\tappleX = random.nextInt((int) (SCREEN_WIDTH / UNIT_SIZE)) * UNIT_SIZE;\n\t\tappleY = random.nextInt((int) (SCREEN_HEIGHT / UNIT_SIZE)) * UNIT_SIZE;\n\n\t}", "title": "" }, { "docid": "bda67af49c7c9ddd6e5a9008796ab5df", "score": "0.4969379", "text": "public void defineHP() {\r\n\t\ttry {\r\n\t\t\tbdef.position.set(hpSpawnPos);\r\n\t\t\thpPos = bdef.position;\r\n\t\t\tbdef.type = BodyDef.BodyType.DynamicBody;\r\n\t\t\tb2body = world.createBody(bdef);\r\n\t\t\tb2body.setUserData(this);\r\n\t\t\tFixtureDef fdef = new FixtureDef();\r\n\t\t\tCircleShape shape = new CircleShape();\r\n\t\t\tshape.setRadius(10 / Mutagen.PPM);\r\n\t\t\tshape.setPosition(new Vector2(15, 10).scl(1/Mutagen.PPM));\r\n\t\t\tfdef.shape = shape;\r\n\t\t\tfdef.filter.categoryBits = Mutagen.HP_PICKUP;\r\n\t\t\tfdef.filter.maskBits = Mutagen.PLAYER;\r\n\t\t\tb2body.createFixture(fdef).setUserData(\"hpPickUp\");\r\n\r\n\t\t} catch (Exception e) {\r\n\t\t\t// Logs that this method of this class triggered an exception\r\n\t\t\tString name = Thread.currentThread().getStackTrace()[1].getMethodName();\r\n\t\t\tlfh.fileLog(this.getClass().getSimpleName() + \" \", name + \" \", \"ERROR\");\r\n\t\t} \r\n\t}", "title": "" }, { "docid": "9f6fa9c907f604fd1ddfa7cddc632cd7", "score": "0.4968713", "text": "private void loadBarracksCard() {\n BarracksCard barracksCard = world.loadBarracksCard();\n onLoad(barracksCard);\n }", "title": "" }, { "docid": "96bf1764e3b5ea2eedf4a9684a2deba1", "score": "0.49682382", "text": "private void AetherCrystalArmor() {\n \tapplyEffect(21560, getOwner());\n }", "title": "" }, { "docid": "5aedfc785d43083742ee97a4a57c1a87", "score": "0.49671754", "text": "public void setArmor(Armor armor) {\n this.armor = armor;\n }", "title": "" }, { "docid": "e4939294b191805ab00d0a762b743a88", "score": "0.4961503", "text": "public void addRecipes()\n\t{\n\t\t//Crafting Recipes\n\t\t//Base\n\t\tGameRegistry.addRecipe(new ItemStack(WoodPaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), Item.axeWood, Character.valueOf('Y'), Item.pickaxeWood, Character.valueOf('Z'), Item.shovelWood, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(StonePaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), Item.axeStone, Character.valueOf('Y'), Item.pickaxeStone, Character.valueOf('Z'), Item.shovelStone, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(IronPaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), Item.axeSteel, Character.valueOf('Y'), Item.pickaxeSteel, Character.valueOf('Z'), Item.shovelSteel, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(DiamondPaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), Item.axeDiamond, Character.valueOf('Y'), Item.pickaxeDiamond, Character.valueOf('Z'), Item.shovelDiamond, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GoldPaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), Item.axeGold, Character.valueOf('Y'), Item.pickaxeGold, Character.valueOf('Z'), Item.shovelGold, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(WoodKnife), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), Block.planks, Character.valueOf('I'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(StoneKnife), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), Block.cobblestone, Character.valueOf('I'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(IronKnife), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), Item.ingotIron, Character.valueOf('I'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(DiamondKnife), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), Item.diamond, Character.valueOf('I'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GoldKnife), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), Item.ingotGold, Character.valueOf('I'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(Item.coal, 9), new Object[] {\n\t\t\t\"*\", Character.valueOf('*'), new ItemStack(MultiBlock, 1, 3)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(MultiBlock, 1, 3), new Object[] {\n\t\t\t\"***\", \"***\", \"***\", Character.valueOf('*'), Item.coal\n\t\t});\n\t\t\n\t\t//Obsidian\n\t\tGameRegistry.addRecipe(new ItemStack(MultiBlock, 1, 2), new Object[] {\n\t\t\t\"***\", \"***\", \"***\", Character.valueOf('*'), ObsidianIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianIngot, 9), new Object[] {\n\t\t\t\"*\", Character.valueOf('*'), new ItemStack(MultiBlock, 1, 2)\t\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianHelmet, 1), new Object[] {\n\t\t\t\"***\", \"* *\", Character.valueOf('*'), ObsidianIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianBody, 1), new Object[] {\n\t\t\t\"* *\", \"***\", \"***\", Character.valueOf('*'), ObsidianIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianLegs, 1), new Object[] {\n\t\t\t\"***\", \"* *\", \"* *\", Character.valueOf('*'), ObsidianIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianBoots, 1), new Object[] {\n\t\t\t\"* *\", \"* *\", Character.valueOf('*'), ObsidianIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianPaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), ObsidianAxe, Character.valueOf('Y'), ObsidianPickaxe, Character.valueOf('Z'), ObsidianSpade, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianPickaxe, 1), new Object[] {\n\t\t\t\"XXX\", \" T \", \" T \", Character.valueOf('X'), ObsidianIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianAxe, 1), new Object[] {\n\t\t\t\"XX\", \"XT\", \" T\", Character.valueOf('X'), ObsidianIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianSpade, 1), new Object[] {\n\t\t\t\"X\", \"T\", \"T\", Character.valueOf('X'), ObsidianIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianHoe, 1), new Object[] {\n\t\t\t\"XX\", \" T\", \" T\", Character.valueOf('X'), ObsidianIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianSword, 1), new Object[] {\n\t\t\t\"X\", \"X\", \"T\", Character.valueOf('X'), ObsidianIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianKnife, 1), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), ObsidianIngot, Character.valueOf('I'), Item.stick\n\t\t});\n\t\t\n\t\t//Glowstone\n\t\tGameRegistry.addRecipe(new ItemStack(MultiBlock, 1, 4), new Object[] {\n\t\t\t\"***\", \"***\", \"***\", Character.valueOf('*'), GlowstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneIngot, 9), new Object[] {\n\t\t\t\"*\", Character.valueOf('*'), new ItemStack(MultiBlock, 1, 4)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstonePaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), GlowstoneAxe, Character.valueOf('Y'), GlowstonePickaxe, Character.valueOf('Z'), GlowstoneSpade, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstonePickaxe, 1), new Object[] {\n\t\t\t\"XXX\", \" T \", \" T \", Character.valueOf('X'), GlowstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneAxe, 1), new Object[] {\n\t\t\t\"XX\", \"XT\", \" T\", Character.valueOf('X'), GlowstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneSpade, 1), new Object[] {\n\t\t\t\"X\", \"T\", \"T\", Character.valueOf('X'), GlowstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneHoe, 1), new Object[] {\n\t\t\t\"XX\", \" T\", \" T\", Character.valueOf('X'), GlowstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneSword, 1), new Object[] {\n\t\t\t\"X\", \"X\", \"T\", Character.valueOf('X'), GlowstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneHelmet, 1), new Object[] {\n\t\t\t\"***\", \"* *\", Character.valueOf('*'), GlowstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneBody, 1), new Object[] {\n\t\t\t\"* *\", \"***\", \"***\", Character.valueOf('*'), GlowstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneLegs, 1), new Object[] {\n\t\t\t\"***\", \"* *\", \"* *\", Character.valueOf('*'), GlowstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneBoots, 1), new Object[] {\n\t\t\t\"* *\", \"* *\", Character.valueOf('*'), GlowstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(GlowstoneKnife, 1), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), GlowstoneIngot, Character.valueOf('I'), Item.stick\n\t\t});\n\t\t\n\t\t//Lazuli\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliHelmet, 1), new Object[] {\n\t\t\t\"***\", \"* *\", Character.valueOf('*'), new ItemStack(Item.dyePowder, 1, 4)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliBody, 1), new Object[] {\n\t\t\t\"* *\", \"***\", \"***\", Character.valueOf('*'), new ItemStack(Item.dyePowder, 1, 4)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliLegs, 1), new Object[] {\n\t\t\t\"***\", \"* *\", \"* *\", Character.valueOf('*'), new ItemStack(Item.dyePowder, 1, 4)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliBoots, 1), new Object[] {\n\t\t\t\"* *\", \"* *\", Character.valueOf('*'), new ItemStack(Item.dyePowder, 1, 4)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliPaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), LazuliAxe, Character.valueOf('Y'), LazuliPickaxe, Character.valueOf('Z'), LazuliSpade, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliPickaxe, 1), new Object[] {\n\t\t\t\"XXX\", \" T \", \" T \", Character.valueOf('X'), new ItemStack(Item.dyePowder, 1, 4), Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliAxe, 1), new Object[] {\n\t\t\t\"XX\", \"XT\", \" T\", Character.valueOf('X'), new ItemStack(Item.dyePowder, 1, 4), Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliSpade, 1), new Object[] {\n\t\t\t\"X\", \"T\", \"T\", Character.valueOf('X'), new ItemStack(Item.dyePowder, 1, 4), Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliHoe, 1), new Object[] {\n\t\t\t\"XX\", \" T\", \" T\", Character.valueOf('X'), new ItemStack(Item.dyePowder, 1, 4), Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliSword, 1), new Object[] {\n\t\t\t\"X\", \"X\", \"T\", Character.valueOf('X'), new ItemStack(Item.dyePowder, 1, 4), Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(LazuliKnife, 1), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), new ItemStack(Item.dyePowder, 1, 4), Character.valueOf('I'), Item.stick\n\t\t});\n\t\t\n\t\t//Platinum\n\t\tGameRegistry.addRecipe(new ItemStack(MultiBlock, 1, 0), new Object[] {\n\t\t\t\"XXX\", \"XXX\", \"XXX\", Character.valueOf('X'), PlatinumIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumPaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), PlatinumAxe, Character.valueOf('Y'), PlatinumPickaxe, Character.valueOf('Z'), PlatinumSpade, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumPickaxe, 1), new Object[] {\n\t\t\t\"XXX\", \" T \", \" T \", Character.valueOf('X'), PlatinumIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumAxe, 1), new Object[] {\n\t\t\t\"XX\", \"XT\", \" T\", Character.valueOf('X'), PlatinumIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumSpade, 1), new Object[] {\n\t\t\t\"X\", \"T\", \"T\", Character.valueOf('X'), PlatinumIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumHoe, 1), new Object[] {\n\t\t\t\"XX\", \" T\", \" T\", Character.valueOf('X'), PlatinumIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumSword, 1), new Object[] {\n\t\t\t\"X\", \"X\", \"T\", Character.valueOf('X'), PlatinumIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumHelmet, 1), new Object[] {\n\t\t\t\"***\", \"* *\", Character.valueOf('*'), PlatinumIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumBody, 1), new Object[] {\n\t\t\t\"* *\", \"***\", \"***\", Character.valueOf('*'), PlatinumIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumLegs, 1), new Object[] {\n\t\t\t\"***\", \"* *\", \"* *\", Character.valueOf('*'), PlatinumIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumBoots, 1), new Object[] {\n\t\t\t\"* *\", \"* *\", Character.valueOf('*'), PlatinumIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumIngot, 9), new Object[] {\n\t\t\t\"*\", Character.valueOf('*'), new ItemStack(MultiBlock, 1, 0)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(PlatinumKnife, 1), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), PlatinumIngot, Character.valueOf('I'), Item.stick\n\t\t});\n\t\t\n\t\t//Redstone\n\t\tGameRegistry.addRecipe(new ItemStack(MultiBlock, 1, 1), new Object[] {\n\t\t\t\"***\", \"***\", \"***\", Character.valueOf('*'), RedstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneIngot, 9), new Object[] {\n\t\t\t\"*\", Character.valueOf('*'), new ItemStack(MultiBlock, 1, 1)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstonePaxel, 1), new Object[] {\n\t\t\t\"XYZ\", \" T \", \" T \", Character.valueOf('X'), RedstoneAxe, Character.valueOf('Y'), RedstonePickaxe, Character.valueOf('Z'), RedstoneSpade, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstonePickaxe, 1), new Object[] {\n\t\t\t\"XXX\", \" T \", \" T \", Character.valueOf('X'), RedstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneAxe, 1), new Object[] {\n\t\t\t\"XX\", \"XT\", \" T\", Character.valueOf('X'), RedstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneSpade, 1), new Object[] {\n\t\t\t\"X\", \"T\", \"T\", Character.valueOf('X'), RedstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneHoe, 1), new Object[] {\n\t\t\t\"XX\", \" T\", \" T\", Character.valueOf('X'), RedstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneSword, 1), new Object[] {\n\t\t\t\"X\", \"X\", \"T\", Character.valueOf('X'), RedstoneIngot, Character.valueOf('T'), Item.stick\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneHelmet, 1), new Object[] {\n\t\t\t\"***\", \"* *\", Character.valueOf('*'), RedstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneBody, 1), new Object[] {\n\t\t\t\"* *\", \"***\", \"***\", Character.valueOf('*'), RedstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneLegs, 1), new Object[] {\n\t\t\t\"***\", \"* *\", \"* *\", Character.valueOf('*'), RedstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneBoots, 1), new Object[] {\n\t\t\t\"* *\", \"* *\", Character.valueOf('*'), RedstoneIngot\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(RedstoneKnife, 1), new Object[] {\n\t\t\t\" ^\", \"I \", Character.valueOf('^'), RedstoneIngot, Character.valueOf('I'), Item.stick\n\t\t});\n\t\t\n\t\t//Extra\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianTNT, 1), new Object[] {\n\t\t\t\"***\", \"XXX\", \"***\", Character.valueOf('*'), Block.obsidian, Character.valueOf('X'), Block.tnt\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianArrow, 8), new Object[] {\n\t\t\t\"A\", \"B\", \"C\", Character.valueOf('A'), ObsidianIngot, Character.valueOf('B'), Item.stick, Character.valueOf('C'), Item.feather\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(ObsidianBow, 1), new Object[] {\n\t\t\t\" AB\", \"A B\", \" AB\", Character.valueOf('A'), ObsidianIngot, Character.valueOf('B'), Item.silk\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(MachineBlock, 1, 0), new Object[] {\n\t\t\t\"***\", \"*R*\", \"***\", Character.valueOf('*'), PlatinumIngot, Character.valueOf('R'), Item.redstone\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(MachineBlock, 1, 1), new Object[] {\n\t\t\t\"***\", \"*P*\", \"***\", Character.valueOf('*'), Item.redstone, Character.valueOf('P'), new ItemStack(MultiBlock, 1, 1)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(MachineBlock, 1, 2), new Object[] {\n\t\t\t\"***\", \"*P*\", \"***\", Character.valueOf('*'), Block.cobblestone, Character.valueOf('P'), new ItemStack(MultiBlock, 1, 1)\n\t\t});\n\t\tGameRegistry.addRecipe(new ItemStack(MachineBlock, 1, 3), new Object[] {\n\t\t\t\"***\", \"*L*\", \"***\", Character.valueOf('*'), PlatinumIngot, Character.valueOf('L'), Item.bucketLava\n\t\t});\n\t\t\n\t\tif(extrasEnabled)\n\t\t{\n\t\t\tGameRegistry.addRecipe(new ItemStack(MachineBlock, 1, 4), new Object[] {\n\t\t\t\t\"SGS\", \"GDG\", \"SGS\", Character.valueOf('S'), Block.stone, Character.valueOf('G'), Block.glass, Character.valueOf('D'), Block.blockDiamond\n\t\t\t});\n\t\t}\n\t\n\t\t//Furnace Recipes\n\t\tGameRegistry.addSmelting(new ItemStack(OreBlock, 1, 0).itemID, new ItemStack(PlatinumIngot, 2), 1.0F);\n\t\tGameRegistry.addSmelting(PlatinumDust.shiftedIndex, new ItemStack(PlatinumIngot, 1), 1.0F);\n\t\t\n\t\t//Enrichment Chamber Recipes\n\t\tMachineRecipes.addEnrichmentChamberRecipe(new ItemStack(OreBlock, 1, 0), new ItemStack(PlatinumDust, 2));\n\t\tMachineRecipes.addEnrichmentChamberRecipe(new ItemStack(Block.oreRedstone), new ItemStack(Item.redstone, 2));\n\t\t\n\t\t//Platinum Compressor Recipes\n\t\tMachineRecipes.addPlatinumCompressorRecipe(new ItemStack(Item.redstone), new ItemStack(RedstoneIngot));\n\t\tMachineRecipes.addPlatinumCompressorRecipe(new ItemStack(Item.lightStoneDust), new ItemStack(GlowstoneIngot));\n\t\t\n\t\t//Combiner Recipes\n\t\tMachineRecipes.addCombinerRecipe(new ItemStack(Item.redstone, 4), new ItemStack(Block.oreRedstone));\n\t\tMachineRecipes.addCombinerRecipe(new ItemStack(Item.redstone), new ItemStack(RedstoneIngot));\n\t\tMachineRecipes.addCombinerRecipe(new ItemStack(PlatinumDust, 2), new ItemStack(OreBlock, 1, 0));\n\t\tMachineRecipes.addCombinerRecipe(new ItemStack(Item.diamond), new ItemStack(Block.oreDiamond));\n\t\tMachineRecipes.addCombinerRecipe(new ItemStack(Item.dyePowder, 4, 4), new ItemStack(Block.oreLapis));\n\t\t\n\t\t//Crusher Recipes\n MachineRecipes.addCrusherRecipe(new ItemStack(RedstoneIngot), new ItemStack(Item.redstone));\n MachineRecipes.addCrusherRecipe(new ItemStack(PlatinumIngot), new ItemStack(PlatinumDust));\n MachineRecipes.addCrusherRecipe(new ItemStack(GlowstoneIngot), new ItemStack(Item.lightStoneDust));\n\t}", "title": "" }, { "docid": "60fec92920593e8688497dbb7df5ad72", "score": "0.49601695", "text": "public Railgun( Color color, int weaponID, boolean isLoaded)throws NullPointerException\n {\n super( color, weaponID, isLoaded);\n yellowAmmoCost = 2;\n blueAmmoCost = 1;\n redAmmoCost = 0;\n this.name = \"Fucile Laser\";\n }", "title": "" }, { "docid": "64813743c75d6b6580f64812412536a7", "score": "0.4958534", "text": "public void setGems(int index, String gemName) {\n try {\n if (index < this.gems.length) {\n Gem gem = Enum.valueOf(Gem.class, gemName.toUpperCase());\n\n //if slot is occupied I need to override wiith new gem\n if (this.gems[index] != null) {\n //I need to remove the current gem and remove powers that it's give to weapon\n this.removeGemPowers(this.gems[index]);\n //then setValues with new gem\n this.setGemPowers(gem);\n this.gems[index] = gem;\n }\n //if slot is FREE(null)\n else {\n this.gems[index] = gem;\n this.setGemPowers(this.gems[index]);\n }\n }\n } catch (IllegalArgumentException a) {\n }\n }", "title": "" }, { "docid": "88610341f19ab4347337889726f1873b", "score": "0.49521008", "text": "@Override\r\n public void onInitialize()\r\n {\r\n ModItem.registerAll();\r\n ModBlock.INSTANCE.registerAll();\r\n\r\n\r\n RegistryKey<ConfiguredFeature<?, ?>> orePurpiOverworld = RegistryKey.of(Registry.CONFIGURED_FEATURE_WORLDGEN,\r\n new Identifier(\"oaksimpleores\", \"ore_purpi_overworld\"));\r\n Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, orePurpiOverworld.getValue(), ORE_PURPI_OVERWORLD);\r\n BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, orePurpiOverworld);\r\n\r\n RegistryKey<ConfiguredFeature<?, ?>> oreGreeshisOverworld = RegistryKey.of(Registry.CONFIGURED_FEATURE_WORLDGEN,\r\n new Identifier(\"oaksimpleores\", \"ore_greeshis_overworld\"));\r\n Registry.register(BuiltinRegistries.CONFIGURED_FEATURE, oreGreeshisOverworld.getValue(), ORE_GREESHIS_OVERWORLD);\r\n BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES, oreGreeshisOverworld);\r\n }", "title": "" }, { "docid": "86ca7461d3e56dbfebad06b58713e25e", "score": "0.49504083", "text": "public void preBuildPlateMove (MetalBot Bot, String Alliance ) {\n if (Alliance == \"Red\") {\n Bot.driveForward(midSpeed, 3);\n Bot.rotateRight(midSpeed, 2.5);\n Bot.gyroCorrection(gyroSPD, 90);\n Bot.driveBackward(midSpeed, 2);\n }\n else if (Alliance == \"Blue\") {\n Bot.driveBackward(midSpeed, 3);\n Bot.rotateLeft(midSpeed, 2.5);\n Bot.gyroCorrection(gyroSPD, -90);\n Bot.driveBackward(midSpeed, 2);\n\n }\n }", "title": "" }, { "docid": "fec4e9f6f5057f9cf01585226c80c73c", "score": "0.49492398", "text": "public void reload() {\n _plugin.reloadConfig();\n\n DEBUG_DEATH = _plugin.getConfig().getBoolean(\"debug.death\", false);\n DEBUG_REMOVE = _plugin.getConfig().getBoolean(\"debug.remove\", false);\n DEBUG_SPAWN_NATURAL = _plugin.getConfig().getBoolean(\"debug.spawn.natural\", false);\n DEBUG_SPAWN_REINFORCEMENT = _plugin.getConfig().getBoolean(\"debug.spawn.reinforcement\", false);\n\n BLAZE_CHANCE = _plugin.getConfig().getDouble(\"difficulty.blaze.chance\", 0.1);\n BLAST_RADIUS_SCALE = _plugin.getConfig().getDouble(\"difficulty.blastscale\", 0.3);\n MIN_REINFORCEMENTS = _plugin.getConfig().getInt(\"reinforcements.min\", 1);\n MAX_REINFORCEMENTS = _plugin.getConfig().getInt(\"reinforcements.max\", 3);\n REINFORCEMENT_RANGE = _plugin.getConfig().getDouble(\"reinforcements.range\", 3.0);\n MIN_REINFORCEMENT_SPEED = _plugin.getConfig().getDouble(\"reinforcements.velocity.min\", 1);\n MAX_REINFORCEMENT_SPEED = _plugin.getConfig().getDouble(\"reinforcements.velocity.max\", 3);\n REINFORCEMENT_EGG_CHANCE = _plugin.getConfig().getDouble(\"reinforcements.egg.chance\", 0.2);\n\n DROPS_FEATHER_CHANCE = _plugin.getConfig().getDouble(\"drops.feather.chance\", 0.4);\n DROPS_FEATHER_NAME = _plugin.getConfig().getString(\"drops.feather.name\", \"Feather\");\n DROPS_FEATHER_LORE = loadAndTranslateLore(\"drops.feather.lore\");\n\n DROPS_EGG_CHANCE = _plugin.getConfig().getDouble(\"drops.egg.chance\", 0.2);\n DROPS_EGG_NAME = _plugin.getConfig().getString(\"drops.egg.name\", \"Egg\");\n DROPS_EGG_LORE = loadAndTranslateLore(\"drops.egg.lore\");\n\n DROPS_WISHBONE_CHANCE = _plugin.getConfig().getDouble(\"drops.wishbone.chance\", 0.025);\n DROPS_WISHBONE_NAME = _plugin.getConfig().getString(\"drops.wishbone.name\", \"Wishbone\");\n DROPS_WISHBONE_LORE = loadAndTranslateLore(\"drops.wishbone.lore\");\n\n DROPS_STUFFING_CHANCE = _plugin.getConfig().getDouble(\"drops.stuffing.chance\", 0.2);\n DROPS_STUFFING_NAME = _plugin.getConfig().getString(\"drops.stuffing.name\", \"Stuffing\");\n DROPS_STUFFING_LORE = loadAndTranslateLore(\"drops.stuffing.lore\");\n\n DROPS_CORPSE_CHANCE = _plugin.getConfig().getDouble(\"drops.corpse.chance\", 0.2);\n DROPS_CORPSE_NAME_RAW = _plugin.getConfig().getString(\"drops.corpse.name.raw\", \"Raw Poultry\");\n DROPS_CORPSE_NAME_COOKED = _plugin.getConfig().getString(\"drops.corpse.name.cooked\", \"Cooked Poultry\");\n DROPS_CORPSE_LORE = loadAndTranslateLore(\"drops.corpse.lore\");\n\n DROPS_CRANBERRY_SAUCE_CHANCE = _plugin.getConfig().getDouble(\"drops.cranberry_sauce.chance\", 0.05);\n DROPS_CRANBERRY_SAUCE_NAME = _plugin.getConfig().getString(\"drops.cranberry_sauce.name\", \"Cranberry Sauce\");\n DROPS_CRANBERRY_SAUCE_LORE = loadAndTranslateLore(\"drops.cranberry_sauce.lore\");\n\n DROPS_PUMPKIN_PIE_CHANCE = _plugin.getConfig().getDouble(\"drops.pumpkin_pie.chance\", 0.2);\n DROPS_PUMPKIN_PIE_NAME = _plugin.getConfig().getString(\"drops.pumpkin_pie.name\", \"Pumpkin Pie\");\n DROPS_PUMPKIN_PIE_LORE = loadAndTranslateLore(\"drops.pumpkin_pie.lore\");\n\n MESSAGES_TURKEY = _plugin.getConfig().getStringList(\"messages.turkey\");\n }", "title": "" }, { "docid": "58273a2bf8d7449538e41652d5e8e6bf", "score": "0.49456066", "text": "private void spawnBerries() {\n int numBerries = RandomUtils.uniform(rand, 3, 5);\n List<Room> rooms = new ArrayList<Room>(getWorld().getRoomList());\n for (int i = 0; i < numBerries; i += 1) {\n int randRoom = RandomUtils.uniform(rand, 0, rooms.size());\n Room room = rooms.get(randRoom);\n Berry berry = new Berry(room.randomPoint());\n while ((this.player != null\n && berry.getPos().equals(this.player.getPos()))\n || (this.exit != null\n && berry.getPos().equals(this.exit.getPos()))) {\n berry = new Berry(room.randomPoint());\n\n }\n rooms.remove(room);\n berries.add(berry);\n }\n }", "title": "" }, { "docid": "a0d7f13c402c3e37bce0768c2d460d65", "score": "0.49431708", "text": "public void setBrand(String newBrand){\n this.brand = newBrand;\n }", "title": "" } ]
219890e9dd410b343c9daa359c9db3e5
Imposta il titolo della pagina Wikipedia.
[ { "docid": "f0a6b8f6ef0cf2ddabb105339c611fcf", "score": "0.5302412", "text": "public PaginaWikipediaBuilder titoloPagina(String titoloPagina) {\n\t\tthis.titoloPagina = titoloPagina;\n\t\treturn this;\n\t}", "title": "" } ]
[ { "docid": "2a3f89a8a5f9691f169dc95edd97b9d1", "score": "0.63920337", "text": "String getWiki();", "title": "" }, { "docid": "ad14212c114e72e7908fc7ee882cca8a", "score": "0.6206983", "text": "public void generaWiki(String w) {\n imag.setVisibility(View.INVISIBLE);\n\n //Log.v(\"aaa\", \"el resultado es ------>\" + w);\n word = w;\n OkHttpClient client = new OkHttpClient();\n Request request = new Request.Builder()\n .url(\"https://\"+lang+\".wikipedia.org/wiki/\" + w.replaceAll(\" \", \"_\"))\n .build();\n\n Call call = client.newCall(request);\n call.enqueue(new Callback() {\n\n @Override\n public void onFailure(Request request, IOException e) {\n Toast.makeText(MainActivity.this, \"Error\", Toast.LENGTH_SHORT).show();\n }\n\n @Override\n public void onResponse(Response response) throws IOException {\n\n try {\n String html = response.body().string();\n Log.v(\"syso\", html);\n if (response.isSuccessful()) {\n try {\n Document doc = DocumentBuilderFactory.newInstance()\n .newDocumentBuilder().parse(new InputSource(new StringReader(html)));\n\n XPathExpression xpath = XPathFactory.newInstance()\n .newXPath().compile(\"//div[@id='mw-content-text']/p[1]\");\n\n XPathExpression imagenEXP = XPathFactory.newInstance()\n .newXPath().compile(\"//a[@class='image']/img/@src\");\n\n result = (String) xpath.evaluate(doc, XPathConstants.STRING);\n resultiMAGEN = (String) imagenEXP.evaluate(doc, XPathConstants.STRING);\n\n\n } catch (Exception e) {\n\n\n }\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Log.v(\"www\", result);\n if (result.contains(\"may refer to:\")) {\n generaPalabra();\n } else {\n String textoNuevo = result.replaceAll(\"\\\\[[0-9]\\\\]\", \"\");\n textoNuevo = textoNuevo.replaceAll(\"\\\\(.*?\\\\)\", \"\");\n textoNuevo = textoNuevo.replaceAll(\"\\\\[.*?\\\\]\", \"\");\n String inicio, fin;\n\n String delimitadores = \" \";\n String[] palabrasSeparadas = word.split(delimitadores);\n\n inicio = palabrasSeparadas[0];\n fin = palabrasSeparadas[palabrasSeparadas.length - 1];\n\n\n /* for(int i=0;i<word.length();i++){\n vac= vac+vac;\n }*/\n int a = word.length();\n String repeated = new String(new char[a]).replace(\"\\0\", \"█ \");\n String n = \"\";\n\n for (int i = 0; i < word.length(); i++) {\n char b = word.charAt(i);\n if (b == ' ') {\n n += \" \";\n } else {\n n += \"█ \";\n }\n\n }\n textoNuevo = textoNuevo.replaceAll(\"(\" + inicio + \" .*?\" + fin + \")\", n);\n if (inicio.length() > 2) {\n textoNuevo = textoNuevo.replaceAll(\"(?i)\" + inicio, new String(new char[inicio.length()]).replace(\"\\0\", \"█ \"));\n }\n if (fin.length() > 2) {\n textoNuevo = textoNuevo.replaceAll(\"(?i)\" + fin, new String(new char[fin.length()]).replace(\"\\0\", \"█ \"));\n }\n textoNuevo = textoNuevo.replaceAll(\"(?i)\" + word, n);\n texto.setText(textoNuevo);\n pantalla.startAnimation(AnimationUtils.loadAnimation(getApplicationContext(), R.anim.fade_in));\n pantalla.setVisibility(View.VISIBLE);\n\n\n trig = true;\n amd = true;\n }\n }\n });\n } else {\n }\n } catch (IOException e) {\n Log.e(\"syso\", \"Exception caught: \", e);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n });\n }", "title": "" }, { "docid": "032f911fdda8c33645183728fa65967c", "score": "0.6048867", "text": "public PaginaWikipedia build() {\n\t\treturn new PaginaWikipedia(url, titoloPagina, urlImmagine, sinottico, sinotticoHtml);\n\t}", "title": "" }, { "docid": "3df9cdce81e7a7195cb829f65f9c5d36", "score": "0.5953344", "text": "public void buscaWiki(String w) {\n OkHttpClient client = new OkHttpClient();\n Request request = new Request.Builder()\n .url(\"https://\"+lang+\".wikipedia.org/w/api.php?action=query&list=search&srsearch=\" + w.replaceAll(\" \", \"_\") + \"&srwhat=text&srprop=timestamp&format=json&continue=\")\n .build();\n\n Call call = client.newCall(request);\n call.enqueue(new Callback() {\n\n\n @Override\n public void onFailure(Request request, IOException e) {\n\n }\n\n @Override\n public void onResponse(Response response) throws IOException {\n\n try {\n String jsonData = response.body().string();\n Log.v(\"syso\", jsonData);\n if (response.isSuccessful()) {\n JSONObject json = new JSONObject(jsonData);\n JSONObject J = json.getJSONObject(\"query\").getJSONArray(\"search\").getJSONObject(0);\n word = J.getString(\"title\");\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n\n generaWiki(word);\n\n }\n });\n } else {\n }\n } catch (IOException e) {\n Log.e(\"syso\", \"Exception caught: \", e);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n });\n\n }", "title": "" }, { "docid": "ee6a542fe7786b73d4df33ac6061007f", "score": "0.5704294", "text": "public static void testConjecture(String destination, String source, int limit) throws IOException {\n\t\tWikiFetcher wf = new WikiFetcher();\n \tfor(String url=source;;) {\n\t\t\tSystem.out.println(\"[java] Fetching \"+url);\n \t\tElements eles = wf.fetchWikipedia(url);\n \t\tboolean bs = false;\n \t\tfor(Element ele : eles) {\n \t\t\tIterable<Node> iterable = new WikiNodeIterable(ele);\n \t\t\tIterator itr = iterable.iterator();\n \t\t\tDeque<Integer> deq = new ArrayDeque<Integer>();\n \t\t\twhile(itr.hasNext()) {\n \t\t\t\tNode now = (Node)itr.next();\n \t\t\t\t//텍스트라면 괄호스캔\n \t\t\t\tif(now instanceof TextNode) {\n \t\t\t\t\tString st = now.toString();\n \t\t\t\t\tfor(int j=0 ; j<st.length() ; j++) {\n \t\t\t\t\t\tif(st.charAt(j)=='(') deq.add(1);\n \t\t\t\t\t\tif(st.charAt(j)==')') deq.pop();\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t\t//엘리먼트라면 검사\n \t\t\t\tif(!deq.isEmpty()) continue;\n \t\t\t\tif(now instanceof Element && now.toString().substring(0, 2).equals(\"<a\")) {\n \t\t\t\t\t//부모중에 이탤릭체가 있는지 확인\n \t\t\t\t\tboolean swit=false;\n \t\t\t\t\tfor(Node node=now; node.parentNode()==null; node=now.parentNode()) {\n \t\t\t\t\t\tString st = node.toString();\n \t\t\t\t\t\tif(st.substring(0,3).equals(\"<i>\")||st.substring(0, 4).equals(\"<em>\")) {\n \t\t\t\t\t\t\tswit=true; break;\n \t\t\t\t\t\t}\n \t\t\t\t\t}\n \t\t\t\t\tif(swit==true) continue;\n \t\t\t\t\t\n \t\t\t\t\tElement el = (Element)now;\n \t\t\t\t\turl=el.attr(\"abs:href\");\n \t\t\t\t\tString title=el.attr(\"title\");\n \t\t\t\t\tif(visited.contains(title))return;\n \t\t\t\t\tvisited.add(title);\n \t\t\t\t\tSystem.out.println(\"[java] **\"+title+\"**\");\n \t\t\t\t\tif(title.equals(\"Philosophy\")) return;\n \t\t\t\t\tbs=true;\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t}\n \t\t\tif(bs==true)break;\n \t\t}\n \t}\n }", "title": "" }, { "docid": "659fd864bf560b6554680c2ad264168e", "score": "0.5643107", "text": "@Test public void Parse_empty_is_main_page_2()\t{\n\t\tfxt\t.Prep_raw_(\"/site/en.wikipedia.org/wiki\")\r\n\t\t\t.Expd_tid_(Xoh_href.Tid_site)\r\n\t\t\t.Expd_full_(\"en.wikipedia.org/wiki/Main Page\")\r\n\t\t\t.Expd_page_(\"Main Page\")\r\n\t\t\t.Test_parse();\r\n\t}", "title": "" }, { "docid": "435d07a6887666768f2ac5c4bdd716b9", "score": "0.56144464", "text": "@Override\n\tpublic void retrocederPagina() {\n\t}", "title": "" }, { "docid": "4768d5c5d2c4eaeca6b9a39a7b120bcc", "score": "0.55250734", "text": "public String getPage();", "title": "" }, { "docid": "693951fe8b95ce2105b27d718a1442bd", "score": "0.5519731", "text": "Page getPage();", "title": "" }, { "docid": "693951fe8b95ce2105b27d718a1442bd", "score": "0.5519731", "text": "Page getPage();", "title": "" }, { "docid": "5503c63536ee860de6abfa9641b85103", "score": "0.5502361", "text": "@Test public void Parse_empty_is_main_page() {\n\t\tfxt\t.Prep_raw_(\"/site/en.wikipedia.org/wiki/\")\r\n\t\t\t.Expd_tid_(Xoh_href.Tid_site)\r\n\t\t\t.Expd_full_(\"en.wikipedia.org/wiki/Main Page\")\r\n\t\t\t.Expd_page_(\"Main Page\")\r\n\t\t\t.Test_parse();\r\n\t}", "title": "" }, { "docid": "e1846aeece12964b9f8af3becac2d6e7", "score": "0.5478515", "text": "@Override\r\n \tpublic String getPageurl() {\n \t\treturn null;\r\n \t}", "title": "" }, { "docid": "608b2aaf2a3c9e569839fd7baefc944f", "score": "0.546735", "text": "void firstPage();", "title": "" }, { "docid": "0adb357db3dca102f7bd1fcc85fc292d", "score": "0.5457181", "text": "private void pagoTest() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "53a304a60872ab20fc831cd9d878617c", "score": "0.5448079", "text": "protected abstract W initWiki(final String wikiString) throws VCatException;", "title": "" }, { "docid": "0c09684f009ca13b95f119b007355c00", "score": "0.54218525", "text": "public void firstPage();", "title": "" }, { "docid": "9b7e8be4510f413ef137d6b5aecb7659", "score": "0.5419039", "text": "@Test public void Build_xwiki_2()\t\t\t\t\t{fxt.Test_build(\"wikt:Special:Search/a\"\t\t, \"/site/en.wiktionary.org/wiki/Special:Search/a\");}", "title": "" }, { "docid": "2d9da474a8e22526c25f414dc7f16460", "score": "0.5398603", "text": "void indexPage(String url, String[] unique_words);", "title": "" }, { "docid": "e813d249af168dea84e6dc3380961354", "score": "0.53909457", "text": "@Override\n\tpublic void 예금() {\n\t\tsuper.예금();\n\t}", "title": "" }, { "docid": "fb391eba64193ae358d23a7e83e06d35", "score": "0.5388882", "text": "void lastPage();", "title": "" }, { "docid": "3dc7d60b7e42f1c7c6122bdcf0152c6d", "score": "0.5361175", "text": "private native void getDefaultPage(PageFormat page);", "title": "" }, { "docid": "57f1a9271c01dd801b398966577a8d60", "score": "0.532854", "text": "@View( value = VIEW_HOME, defaultView = true )\n public XPage home( HttpServletRequest request )\n {\n return redirectWikiRoot( request );\n }", "title": "" }, { "docid": "7bce7ffb41367aa0e1466878b7602b8d", "score": "0.5323215", "text": "public void currentPage() {\n APIlib.getInstance().addJSLine(jsBase + \".currentPage();\");\n }", "title": "" }, { "docid": "8a8439d53bb0fbbec33b37663dd3178f", "score": "0.53192365", "text": "public void attemptRandom() {\n //todo check database\n Document wikipage;\n String pagename;\n long id;\n try {\n wikipage = Jsoup.connect(\"https://en.wikipedia.org/wiki/Special:Random\").get();\n Element titleEl = wikipage.selectFirst(\"title\");\n String titleLine = titleEl.html();\n pagename = titleLine.substring(0,titleLine.length() - 12);\n Element permaEl = wikipage.selectFirst(\"#t-permalink\");\n String permaLine = permaEl.html();\n String permaString =permaLine.replaceFirst(\".*oldid=\", \"\").replaceFirst(\"\\\".*\", \"\");\n id = Long.parseLong(permaString);\n this.newWikiDoc(pagename, id);\n Integer sightings =\n this.d.select(Tables.DOCS.SIGHTINGS)\n .from(Tables.DOCS)\n .where(Tables.DOCS.DOC_NAME\n .eq(pagename)\n .and(Tables.DOCS.REVISION\n .eq(id))).fetchOne().into(Integer.class);//This better only have one to fetch from. I do have that unique (doc_name, revision) constraint in the schema.\n if(sightings.equals(1)){\n Element content = wikipage.selectFirst(\"#mw-content-text\");\n String contentText = content.text();\n Scanner contentScanner = new Scanner(contentText);\n this.addDoc(contentScanner);\n }\n } catch (IOException io) {\n assert(!(io instanceof Exception));//todo haha fix this\n }\n // if database new, add\n }", "title": "" }, { "docid": "5d9be36bfa3ade961adeca8909e0519c", "score": "0.53183556", "text": "public PaginaWikipediaBuilder url(String urlPagina) {\n\t\tthis.url = urlPagina;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "c571ddbd99749acd928222c0934e20e5", "score": "0.53107685", "text": "public static void main(String[] args) throws IOException {\n String url = \"https://en.wikipedia.org/wiki/Main_Page\";\n\n try {\n\n URL myurl = new URL(url);\n con = (HttpURLConnection) myurl.openConnection();\n\n con.setRequestMethod(\"GET\"); // request method type \n System.out.println( \"Resonse code: \" + con.getResponseCode());\n \n /* if (con.getResponseCode() != 200) {\n \tthrow new RuntimeException (con.getResponseCode(), \"GET operation failed.\");\n }*/\n // Stopwatch requestTimer = Stopwatch.createStarted();\n\n StringBuilder content;\n\n try (BufferedReader in = new BufferedReader(\n new InputStreamReader(con.getInputStream()))) { //input stream is used to read the returned data.\n\n String line;\n content = new StringBuilder(); //use StringBuilder to build the content string.\n\n while ((line = in.readLine()) != null) {\n\n content.append(line); // read the data from the input stream line by line with readLine(). Each line is added to StringBuilder.\n content.append(System.lineSeparator()); //After each line we append a system-dependent line separator.\n }\n }\n\n System.out.println(content.toString()); //print the content to the terminal.\n\n } finally {\n\n con.disconnect();\n }\n }", "title": "" }, { "docid": "5bc6e1d4228db950174426daa491df5f", "score": "0.5256618", "text": "private XPage redirectWikiRoot( HttpServletRequest request )\n {\n String strWikiRootPageName = DatastoreService.getDataValue( DSKEY_WIKI_ROOT_PAGENAME, \"\" );\n if ( !\"\".equals( strWikiRootPageName ) )\n {\n Map<String, String> mapParameters = new ConcurrentHashMap<String, String>( );\n mapParameters.put( Constants.PARAMETER_PAGE_NAME, strWikiRootPageName );\n\n return redirect( request, VIEW_PAGE, mapParameters );\n }\n return redirectView( request, VIEW_LIST );\n }", "title": "" }, { "docid": "85035f0f3d588687af19012496887a33", "score": "0.5239709", "text": "int getPageIndex();", "title": "" }, { "docid": "e5b2343201b05850ac36543a08ed12da", "score": "0.52285725", "text": "public void lastPage();", "title": "" }, { "docid": "426ff030f78abddef6f0091b4084e71a", "score": "0.52167046", "text": "abstract protected String getURLFromPage(int page) throws IOException;", "title": "" }, { "docid": "0899abebf3179a6cd9da4651ca9f805b", "score": "0.51984394", "text": "private static JsonElement getJsonElement(String action, String title, String page, String req, String limit) throws IOException{\n\t\tURL url = new URL(\"https://en.wikipedia.org/w/api.php?action=query&\"+title+\"=\"+page+\"&\"+action+\"=\"+req+\"&format=json\"+\"&\"+limit);\n HttpURLConnection request = (HttpURLConnection) url.openConnection();\n request.connect();\n JsonElement jsonElement = new JsonParser().parse(new InputStreamReader((InputStream) request.getContent()));\n JsonElement pages = jsonElement.getAsJsonObject().get(\"query\").getAsJsonObject().get(\"pages\");\n Set<Entry<String, JsonElement>> entrySet = pages.getAsJsonObject().entrySet();\n JsonElement yourDesiredElement = null;\n for(Map.Entry<String,JsonElement> entry : entrySet){\n yourDesiredElement = entry.getValue();\n } \n\t\treturn yourDesiredElement;\n\t}", "title": "" }, { "docid": "3123689bc8aaebaf0229f2039a0aad86", "score": "0.5186657", "text": "private void loadDefaultPage() {\n loadPage(DEFAULT_PAGE);\n }", "title": "" }, { "docid": "a82785c885597e2306c03d714fc350e4", "score": "0.51666343", "text": "long getCurrentPageIndex();", "title": "" }, { "docid": "79eb8e98087a1975fb1103680d6a035a", "score": "0.513384", "text": "public void getGterUniversityPages() {\r\n\t\t//TODO: get countryId\r\n\t\tif(this.countries.containsKey(this.countrySo)) {\r\n\t\t\tint countryId = this.countries.get(this.countrySo);\r\n\t\t\t//this is the link sorted by publish date\r\n\t\t\tString link=\"http://school.gter.net/search/countries.html?countrieid=\"+countryId+\"&page=\";\r\n\t\t\tint pageAmount = getUniversityPageAmount(link+1);/*Integer.MAX_VALUE*/;\r\n\t\t\tint i=1, index=1;\r\n\t\t\tfor(;i<=pageAmount;i++) {\r\n\t\t\t\tindex = getGterUniversityNames(link+i, index);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "84ee3b356f78a024e6ee18de43124463", "score": "0.5123412", "text": "int getCurrentPage();", "title": "" }, { "docid": "b2c2462d69dca4ed5e27e6dfd35aaf80", "score": "0.5114267", "text": "private void defaultPage() {\n DefaultListModel word = new DefaultListModel();\n// words = dm.dictionarySearcher(\"\"); // old ver, use with dictionaries.txt file\n// for (int i = 0; i < words.size(); i++) {\n// word.addElement(words.get(i).getWord());\n// }\n// list1.setModel(word);\n\n try { // new ver, use with database sqlite\n words = db.wordLookup(\"\");\n for (int i = 0; i < words.size(); i++) {\n word.addElement(words.get(i).getWord());\n }\n list1.setModel(word);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "9110ef2b74cb09e76a9bfd565df5ef74", "score": "0.5109747", "text": "public static String base_url(){\n\t\tif(BASE_URL_OVERRIDE != null)\n\t\t\treturn(BASE_URL_OVERRIDE);\n\t\telse return(\"https://en.wikipedia.org/w/api.php?action=query\");\n\t}", "title": "" }, { "docid": "2b5f971fa073479386621f3316e95057", "score": "0.5107494", "text": "Document getPageByUrl(String url);", "title": "" }, { "docid": "1bc42eeda7b5c111fec41b4b6c7146d7", "score": "0.5105686", "text": "public void nachLinksBewegen()\n {\n horizontalBewegen(-20);\n }", "title": "" }, { "docid": "66539fa5683d960645ba0117d9f482e7", "score": "0.5102538", "text": "String getXwikiRelativeUrl();", "title": "" }, { "docid": "cdeea76507b04454e5ceb83f9e01e4ae", "score": "0.5091342", "text": "private static String url_page_touched(Set<String> pages) \n\t\t\tthrows Exception{\n\t\tIterator<String> iter = pages.iterator();\n\t\tString url = base_url() + \"&prop=info&titles=\";\n\t\twhile(iter.hasNext()) // Just append each page to the URL\n\t\t\turl += URLEncoder.encode(iter.next(), \"UTF-8\") + \"|\";\n\t\turl = url.substring(0, url.length()-1); // Trim off trailing bar\n\t\turl += \"&format=xml\";\n\t\treturn(url);\n\t}", "title": "" }, { "docid": "125bb6ed30e238ce526f765c29682415", "score": "0.5091062", "text": "@Test\n\tpublic void test16_CreateAPageWikiInASpace() {\n\t\tinfo(\"Test 16 Create a page wiki in a Space\");\n\t\t/*Step Number: 1\n\t\t*Step Name: Step 1: Add new page for space\n\t\t*Step Description: \n\t\t\t- Go to a space in [MY SPACES] list\n\t\t\t- Click [Wiki] on the space navigation bar\n\t\t\t- Click [Add Page] \n\t\t\t-\n\t\t\t-> [Blank Page]/[From Template...]\n\t\t\t- Select [Source Editor] to switch to [Source Editor] mode\n\t\t\t- Fill valid values for fields\n\t\t*Input Data: \n\t\t\t\n\t\t*Expected Outcome: \n\t\t\t- By default, the [Create Wiki page] is displayed in the [Rich Text] mode\n\t\t\t- A wiki page is created successfully\n\t\t\t- At the top of the page,\"Restricted\" is displayed*/ \n\t\tinfo(\"Create a space\");\n\t\tString space = txData.getContentByArrayTypeRandom(1)+getRandomNumber();\n\t\thp.goToAllSpace();\n\t\tspaMg.addNewSpaceSimple(space,space,6000);\n\t\tUtils.pause(2000);\n\n\t\tinfo(\"Create a wiki page\");\n\t\tString title= txData.getContentByArrayTypeRandom(1)+getRandomNumber();\n\t\tString content= txData.getContentByArrayTypeRandom(1)+getRandomNumber();\n\t\thp.goToSpecificSpace(space);\n\t\tspaHome.goToWikiTab();\n\t\twHome.goToAddBlankPage();\n\t\twikiMg.goToSourceEditor();\n\t\tsourceEditor.addSimplePage(title,content);\n\t\twikiMg.saveAddPage();\n\t\tUtils.pause(2000);\n\t\tinfo(\"Verify the version on infor bar\");\n\t\twaitForAndGetElement(wHome.ELEMENT_INFOR_BAR_VERSION\n\t\t\t\t.replace(\"$version\",\"V1\"));\n\n \t}", "title": "" }, { "docid": "f791f2dc68137c0b03d368620cf700ab", "score": "0.508382", "text": "public int getPageIndex();", "title": "" }, { "docid": "c31ce79924a2c8389134a23d7cdbc55e", "score": "0.50691307", "text": "@Test\n public void openEnglishMainPage(){\n WikiHome.getObjects();\n Log.info(\"Language Selected \" + WikiHome.linkEnglish.getText());\n WikiHome.linkEnglish.click();\n\n }", "title": "" }, { "docid": "6cb8d4dbbfec48076b5208d7f775b4f2", "score": "0.50659287", "text": "public abstract String getPageTitle();", "title": "" }, { "docid": "d279218c3deb5f26934a3de4d127286a", "score": "0.5057863", "text": "public WikipediaPageModel(final WebDriver driver) {\n\t\tthis.driver = driver;\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "36e321c7a37071ba67e255b7db853c86", "score": "0.5051289", "text": "void nextPage();", "title": "" }, { "docid": "36e321c7a37071ba67e255b7db853c86", "score": "0.5051289", "text": "void nextPage();", "title": "" }, { "docid": "b3d58d83568ecf0188a9cf811f94ff33", "score": "0.5042446", "text": "String getXwikiAbsoluteUrl();", "title": "" }, { "docid": "63fe4bb58496c28b86428e9b26c34108", "score": "0.5025233", "text": "private V2WikiPage createWikiPage(UserInfo info){\n\t\tV2WikiPage page = new V2WikiPage();\n\t\tpage.setTitle(\"rootTile\");\n\t\tpage.setMarkdownFileHandleId(markdownOne.getId());\n\t\tpage.setCreatedBy(info.getId().toString());\n\t\tpage.setCreatedOn(new Date());\n\t\tpage.setModifiedBy(page.getCreatedBy());\n\t\tpage.setModifiedOn(page.getCreatedOn());\n\t\tpage.setEtag(\"Etag\");\n\t\treturn page;\n\t}", "title": "" }, { "docid": "231ca04582a4fefdb19d1d37723f8deb", "score": "0.5015137", "text": "private static String url_pages_missing(Set<String> page_list) \n\t\t\tthrows Exception{\n\t\tStringBuilder url = new StringBuilder();\n\t\turl.append(base_url() + \"&titles=\");\n\t\tIterator<String> page_iter = page_list.iterator();\n\t\twhile(page_iter.hasNext())\n\t\t\turl.append(URLEncoder.encode(page_iter.next(), \"UTF-8\") + \"|\");\n\t\treturn(url.substring(0, url.length()-1) + \"&format=xml\");\n\t}", "title": "" }, { "docid": "feeaca7f43c0b8d50ba44a3d89e58356", "score": "0.50076115", "text": "public static void main(String[] args) throws IOException {\n\n\t\t// Stores the list of visited urls \n\t\tList<String> visited = new ArrayList<String>();\n\n\t\t// From Java page, it should take 7 links to get to Philosphy page \n\t\tint limit = 7; \n\t\tString url = \"https://en.wikipedia.org/wiki/Java_(programming_language)\";\n\t\tString endUrl = \"https://en.wikipedia.org/wiki/Philosophy\";\n\n\t\t// TODO: Avoid hardcoding number of iterations\n\t\tfor (int i=0; i < limit; i++) {\n\t\t\tif (visited.contains(url)) {\n\t\t\t\tSystem.err.println(\"Invalid url: This link has already been visited.\");\n\t\t\t\treturn; \n\t\t\t} \n\n\t\t\tvisited.add(url);\n\n\t\t\t// Fetch webpage main content \n\t\t\tElements paragraphs = wf.fetchWikipedia(url);\n\n\t\t\t// Parse html to find first valid url link \n\t\t\tElement element = getFirstLink(paragraphs);\t\n\t\t\n\t\t\tif (element == null) {\n\t\t\t\tSystem.err.println(\"Invalid url: This page has no valid links.\");\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Convert url to absolute version \n\t\t\turl = element.absUrl(\"href\");\n\n\t\t\tif (url.equals(endUrl)) {\n\t\t\t\tvisited.add(url);\n\n\t\t\t\tSystem.out.println(\"Found the Philosophy page.\");\n\n\t\t\t\t// Print out all the urls \n\t\t\t\tfor (int j=0; j < visited.size(); j++) {\n\t\t\t\t\tSystem.out.println(visited.get(j));\n\t\t\t\t}\n\n\t\t\t\treturn; \n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "bbbaad590345b4dfaf7a166c7e514ed2", "score": "0.5000768", "text": "public <T> T viewHomePage(String heading, String summary) throws Exception {\n return null; //(T) (new IndexPage(result));\n }", "title": "" }, { "docid": "9ffa7362fb53073f8cfb5ed5538dd7d4", "score": "0.49943128", "text": "@Override\n\tpublic String getNextPage() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "04334a4e826b58cbe9063e8bec3eff40", "score": "0.49906453", "text": "public void testCreateMediaWiki()\n {\n NodeRef folder = this.nodeService.createNode(this.rootNode, ContentModel.ASSOC_CHILDREN, ContentModel.ASSOC_CHILDREN, ContentModel.TYPE_FOLDER).getChildRef();\n Map<QName, Serializable> properties = new HashMap<QName, Serializable>(1);\n properties.put(ContentModel.PROP_NAME, \"mywiki\");\n NodeRef mediaWikiNodeRef = this.nodeService.createNode(\n folder, \n ContentModel.ASSOC_CONTAINS, \n QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, \"mywiki\"), \n Constants.TYPE_MEDIAWIKI,\n properties).getChildRef();\n assertNotNull(mediaWikiNodeRef); \n \n setComplete();\n }", "title": "" }, { "docid": "9f6cdf1a65e0a1fa08cee83db5669a26", "score": "0.49821478", "text": "public PaginaWikipediaBuilder sinottico(Sinottico sinottico) {\n\t\tthis.sinottico = sinottico;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "30cabe47737cca011fe62e824442bfad", "score": "0.4930025", "text": "@Override\n\tpublic void 출금() {\n\t\t\n\t}", "title": "" }, { "docid": "bf46eadf88ca34c96b8b47fdf765f62c", "score": "0.49221608", "text": "public LDAWithPrior initByWikipedia(LDAWithPrior toInitIETM,\n\t\t\tTimeWindowListPlus trainingData, float wikiWeight) {\n\n\t\t// Step1, update alphabet by wiki\n\t\tint oldTweetVSize = trainingData.tweetAlphabet.size();\n\t\tLogUtil.logger().info(\n\t\t\t\t\"Before adding wikipedia's alphabet. size(alphabet)=\"\n\t\t\t\t\t\t+ trainingData.tweetAlphabet.size());\n\n //the alphabet of background.topics includes the alphabet of wiki.topics\n String[] extraFilesForTopics=new String[]{\"wiki.topics\",\"background.topics\"};\n\t\tbuildExtraAlphabet(extraFilesForTopics,trainingData.tweetAlphabet);\n\n\t\tLogUtil.logger().info(\n\t\t\t\t\"After adding wikipedia's alphabet. size(alphabet)=\"\n\t\t\t\t\t\t+ trainingData.tweetAlphabet.size());\n\n\t\t// Step2, update iCkv part\n\t\ttoInitIETM.tweetVSize = trainingData.tweetAlphabet.size();\n\n\t\t// reuse the trained model, interest topic-token distribution\n\t\tint[][] iCkv = new int[toInitIETM.topicNumber][];\n\t\tint[] interestTokenPerTopic = new int[toInitIETM.tweetVSize];\n\t\tdouble[][] tau = new double[toInitIETM.topicNumber][];\n\t\tfor (int k = 0; k < toInitIETM.topicNumber; k++) {\n\t\t\tiCkv[k] = new int[toInitIETM.tweetVSize];\n\t\t\ttau[k] = new double[toInitIETM.tweetVSize];\n\t\t\tArrays.fill(tau[k], 0);\n\t\t\tfor (int v = 0; v < oldTweetVSize; v++) {\n\t\t\t\tiCkv[k][v] = toInitIETM.iCkv[k][v];// IMPORTANT\n\t\t\t\ttau[k][v] = toInitIETM.tau[k][v];// IMPORTANT\n\t\t\t}\n\t\t\tinterestTokenPerTopic[k] = toInitIETM.interestTokenPerTopic[k];\n\t\t}\n //update prior knowledge from wiki.topics\n\t\tString filename = \"wiki.topics\";\n\t\tMyFile reader = new MyFile(filename, \"r\");\n\t\tString line = reader.readln();\n\t\tint lineNum = 1;\n\n\t\tLogUtil.logger().info(\"oldTweetVSize=\" + oldTweetVSize);\n\n\t\twhile (line != null) {\n\t\t\tline = line.trim();\n\t\t\tif (!line.equals(\"\")) {\n\t\t\t\tString[] array = line.split(\"\\t\");\n\t\t\t\tint topicId = Integer.parseInt(array[0].split(\"topic\")[1]);\n if(topicId+1>this.wikiTopicNumber){\n this.wikiTopicNumber=topicId+1;\n }\n\t\t\t\tString word = array[1];\n\t\t\t\tfloat prob = Float.parseFloat(array[2]);\n\n\t\t\t\tint v = trainingData.tweetAlphabet.lookupIndex(word);\n\t\t\t\tfloat wikiPart = (new Float(prob * wikiWeight));\n\t\t\t\tif (wikiPart < 0) {\n\t\t\t\t\tLogUtil.logger().error(\"NEGATIVE v: \" + v + \" \" + wikiPart);\n\t\t\t\t}\n\t\t\t\ttry {\n\t\t\t\t\ttau[topicId][v] = tau[topicId][v] + wikiPart;// IMPORTANT\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tLogUtil.logger().error(line);\n\t\t\t\t\tLogUtil.logger().error(\"topicId:\" + topicId + \" \" + \"world\" + v);\n\t\t\t\t\tLogUtil.logger().error(\"trainingData.tweetAlphabet.size\"+trainingData.tweetAlphabet.size());\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t\ttauK[topicId] += wikiPart;\n\t\t\t}\n\t\t\tline = reader.readln();\n\t\t\tlineNum++;\n\t\t\tif (lineNum % 1000000 == 0) {\n\t\t\t\tLogUtil.logger().info(\n\t\t\t\t\t\t\"processed \" + lineNum + \" lines in wiki.topics\");\n\t\t\t}\n\t\t}\n\t\ttoInitIETM.tau = tau;\n\t\ttoInitIETM.tauK = tauK;\n\t\ttoInitIETM.iCkv = iCkv;\n\t\ttoInitIETM.interestTokenPerTopic = interestTokenPerTopic;\n\n\t\tLogUtil.logger().info(\"finish init by wikipedia\");\n\t\treturn toInitIETM;\n\t}", "title": "" }, { "docid": "2e12c682428384f2113914a11e7cb1e2", "score": "0.4922014", "text": "public void nextPage();", "title": "" }, { "docid": "9e6536e1e3c1d43689e88d8c32e314b3", "score": "0.49121624", "text": "@Test\n public void sanitizeWebPage() {\n DocumentModel doc = session.createDocumentModel(\"/\", \"wp\", \"WebPage\");\n doc.setPropertyValue(\"webp:content\", BAD_HTML);\n doc.setPropertyValue(\"webp:isRichtext\", true);\n doc = session.createDocument(doc);\n String webpage = (String) doc.getPropertyValue(\"webp:content\");\n assertEquals(SANITIZED_HTML, webpage);\n session.save();\n\n // Wiki page that must not be sanitized\n DocumentModel doc2 = session.createDocumentModel(\"/\", \"wp2\", \"WebPage\");\n doc2.setPropertyValue(\"webp:content\", WIKI_MARKUP);\n doc2.setPropertyValue(\"webp:isRichtext\", false);\n doc2 = session.createDocument(doc2);\n String webpage2 = (String) doc2.getPropertyValue(\"webp:content\");\n assertEquals(WIKI_MARKUP, webpage2);\n session.save();\n\n DocumentModel doc3 = session.createDocumentModel(\"/\", \"wp3\", \"WebPage\");\n doc3.setPropertyValue(\"webp:content\", BAD_HTML);\n doc3.setPropertyValue(\"webp:isRichtext\", false);\n doc3 = session.createDocument(doc3);\n String webpage3 = (String) doc3.getPropertyValue(\"webp:content\");\n assertEquals(BAD_HTML, webpage3);\n session.save();\n\n DocumentModel doc4 = session.createDocumentModel(\"/\", \"wp4\", \"WebPage\");\n doc4.setPropertyValue(\"webp:content\", WIKI_MARKUP);\n doc4.setPropertyValue(\"webp:isRichtext\", true);\n doc4 = session.createDocument(doc4);\n String webpage4 = (String) doc4.getPropertyValue(\"webp:content\");\n assertNotEquals(WIKI_MARKUP, webpage4);\n session.save();\n }", "title": "" }, { "docid": "e674ea5e3903b15bf610f0022968e6d5", "score": "0.490451", "text": "public Page(String enterAnything){\n\t\tid = null;\n\t\ttiles = new ArrayList<Tile>();\n\t\tdecisions = new ArrayList<Decision>();\n\t\tcomments = new ArrayList<Comment>();\n\t\ttitle = new String();\n\t\tpageEnding = ApplicationController.getInstance().getString(R.string.defaultEnding);\n\t}", "title": "" }, { "docid": "e13c1c5cf6c7bcc6f9e454d0aed3a401", "score": "0.4886402", "text": "public void startFootNaviPage() {\n eav.a(\"performance-\", \"clickFootNavigationBtn\");\n PageBundle pageBundle = new PageBundle();\n if (!TextUtils.isEmpty(this.mDestNaviParams)) {\n pageBundle.putString(\"bundle_key_obj_result\", this.mDestNaviParams);\n }\n pageBundle.putString(\"weather\", this.mWeatherData);\n startFootNaviBundlePage(1, pageBundle);\n }", "title": "" }, { "docid": "ef28cd7b9d76baf458cd5cb00dbd5048", "score": "0.48830274", "text": "@Override\n public void onLoadMore(int current_page) {\n\n if(!isNetworkConnected) {\n Snackbar.make((MainActivity.this).findViewById(android.R.id.content),R.string.string_no_internet_connection , Snackbar.LENGTH_LONG).show();\n return;\n }\n requestArticles(searchQuery, current_page);\n Snackbar.make((MainActivity.this).findViewById(android.R.id.content), R.string.string_loading, Snackbar.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "130564ee67548d878970a2b61d1ef602", "score": "0.48720098", "text": "public SniPage getSniPage();", "title": "" }, { "docid": "eb007cdf857b023f39eb4da49258e6c0", "score": "0.4859314", "text": "public String handleDefault()\n throws HttpPresentationException\n {\n\t return showPage(null);\n }", "title": "" }, { "docid": "0f66cadf91e63c0bf55a65ab96fe2219", "score": "0.4858588", "text": "@Override\n\tpublic int getPage() {\n\t\treturn page;\n\t}", "title": "" }, { "docid": "6695539652776738e36473b64a926c52", "score": "0.48573253", "text": "private void loadForwardWebpage() {\n\t\t//int currentIndex = webHistory.getCurrentIndex();\n\t\t//Platform.runLater(() -> {\n\t\t//\twebHistory.go((historyEntries.size() > 1) && (currentIndex < (historyEntries.size() - 1)) ? 1 : 0);\n\t\t//});\n\t\t\n\t\tif (history.size() > 1 && currentIndex < history.size() - 1) {\n\t\t\tSystem.out.println(\"Går fram till: \" + history.get(currentIndex+1));\n\t\t\tcpane.setWebpage(history.get(currentIndex + 1));\n\t\t\tcurrentIndex++;\n\t\t}\n\t}", "title": "" }, { "docid": "7f5b7dba07303f83ea2b4db48cd340ab", "score": "0.48490655", "text": "private void createStatisticsTutorialPage() {\n if (mTutorialPage != TutorialPage.STATISTICS_AND_GRAPH)\n throw new IllegalStateException(\"invalid tutorial page\");\n\n mTextViewTutorial.setText(R.string.text_tutorial_statistics);\n mViewTutorial = View.inflate(getContext(), R.layout.tutorial_statistics, null);\n }", "title": "" }, { "docid": "ea8a1ceb3fef807be6d713714f2cb441", "score": "0.4846933", "text": "public static void urlloader(URL url) {\n \n\t\ttry {\n\t\t\t// get URL content \n // url = new URL(\"https://en.wikipedia.org/wiki/Cybernetics\");\n\t\t\tURLConnection conn = url.openConnection();\n \n\t\t\t// open the stream and put it into BufferedReader\n\t\t\tBufferedReader br = new BufferedReader(\n new InputStreamReader(conn.getInputStream()));\n \n\t\t\tString inputLine;\n \n\t\t\t//save html to this filename\n\t\t\tString fileName = \"text1.html\";\n\t\t\tFile file = new File(fileName);\n \n\t\t\tif (!file.exists()) {\n\t\t\t\tfile.createNewFile();\n\t\t\t}\n \n\t\t\t//use FileWriter to write url page to file\n\t\t\tFileWriter fw = new FileWriter(file.getAbsoluteFile());\n\t\t\tBufferedWriter bw = new BufferedWriter(fw);\n //oso to readline diavazei grammes, kanei anathesi \n\t\t\twhile ((inputLine = br.readLine()) != null) {\n\t\t\t\tbw.write(inputLine);\n\t\t\t}\n \n\t\t\tbw.close();\n\t\t\tbr.close();\n \n\t\t\tSystem.out.println(\"file holding text from url page is now created\");\n \n\t\t} catch (MalformedURLException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\t\n \n \n }", "title": "" }, { "docid": "ce4bdd4cf88899ee153c57e6ec89fa3c", "score": "0.48434407", "text": "public void testHtdocsPages() throws Exception {\n loadReservedHtmlPage(\"help.html\");\n // TODO: should be not null?!\n assertNull(response.getResponseHeaderValue(\"Last-Modified\"));\n assertTitleContains(\"Help\");\n\n loadReservedErrorPage(\"../index.html?yanel.toolbar=on\", 401);\n //clickLink(\"../index.html?yanel.toolbar=on\");\n //assertTitleContains(\"Login\");\n\n loadReservedResource(\"yanel_toolbar_logo.png\");\n }", "title": "" }, { "docid": "3cba5d3b2cb17d72f74bb11fe374e1be", "score": "0.48429766", "text": "@Override\r\n \tpublic String getFullPageUrl() {\n \t\treturn null;\r\n \t}", "title": "" }, { "docid": "1b2fbaa74742ca6135dad7cf68ca7600", "score": "0.48391664", "text": "private static String url_page_content(String title) throws Exception{\n\t\tString url = base_url() + \"&prop=revisions&titles=\";\n\t\turl += URLEncoder.encode(title, \"UTF-8\") + \"&rvlimit=1\";\n\t\turl += \"&rvprop=content&format=xml\";\n\t\treturn(url);\n\t}", "title": "" }, { "docid": "c875089e6d826a6c5a3c2f25c7441d95", "score": "0.48367235", "text": "public static void ExtraireLiens(Page pPage) throws IOException {\n Document doc = null;\n try {\n doc = Jsoup.connect(pPage.URL).get();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (IllegalArgumentException i) {\n System.out.println(\"Url mal formée \" + pPage.URL);\n SauvegardePageExplorer(pPage);\n }\n PageExplorer++;\n ExtraireCouriels(pPage);\n AfficherMessageExploration(m_PageAExplorer.get(0));\n\n SauvegardeFichier(pPage);\n\n if (pPage.Profondeur > 0){\n Elements links = doc.select(\"a[href]\");\n for (Element link : links) {\n String Url = link.attr(\"abs:href\");\n AjoutPageAExplorer(Url, pPage);\n //System.out.println(\"Link: \" + Url);\n }\n }\n SauvegardePageExplorer(pPage);\n }", "title": "" }, { "docid": "b5a1fe10986f365b9ca5c73de052e529", "score": "0.4833868", "text": "public void setImprint_pages(java.lang.String param){\n localImprint_pagesTracker = param != null;\n \n this.localImprint_pages=param;\n \n\n }", "title": "" }, { "docid": "465f2b52337b2fed516f7dfe2747517a", "score": "0.4833206", "text": "@Override\n public void onClick(View v) {\n String url = \"https://en.wikipedia.org/wiki/Beck%27s_cognitive_triad\"; // URL of external website\n Intent i = new Intent(Intent.ACTION_VIEW); // Intent to move from app to external website\n i.setData(Uri.parse(url));\n startActivity(i); // Initiates the intent\n }", "title": "" }, { "docid": "25f62fed7427c12987368d275a20d118", "score": "0.48258513", "text": "@Test\n\tpublic void test02_AddNewPageWhenContentIsBlank() {\n\t\tinfo(\"Test 2: Add new page when content is blank\");\n\t\t/*Step Number: 1\n\t\t*Step Name: Step 1: Open form to create new page\n\t\t*Step Description: \n\t\t\t- Choose path to add new page\n\t\t\t- Click [Add Page] \n\t\t\t-\n\t\t\t-> [Blank Page]/[From Template...]\n\t\t\t- Select [Source Editor] to switch to [Source Editor] mode\n\t\t*Input Data: \n\t\t\t\n\t\t*Expected Outcome: \n\t\t\t- By default, the [Create Wiki page] is displayed in the [Rich Text] mode*/\n\n\t\t/*Step number: 2\n\t\t*Step Name: Step 2: Create new page\n\t\t*Step Description: \n\t\t\t- Put the title for this page\n\t\t\t- Leave the content blank\n\t\t\t- Click [Save]\n\t\t*Input Data: \n\t\t\t\n\t\t*Expected Outcome: \n\t\t\tNew page is created successfully with blank content. It is displayed in the destination path*/ \n\t\tinfo(\"Create a wiki page\");\n\t\tString title = txData.getContentByArrayTypeRandom(1)+getRandomNumber();\n\t\thp.goToWiki();\n\t\twHome.goToAddBlankPage();\n\t\twikiMg.goToSourceEditor();\n\t\tsourceEditor.addSimplePage(title, \"\");\n\t\twikiMg.saveAddPage();\n\t\tUtils.pause(2000);\n\t\twValidate.verifyTitleWikiPage(title);\n\t\tarrayPage.add(title);\n\t\t\n\t\tinfo(\"Verify that the content of the page is empty\");\n\t\twValidate.verifyEmptyContentPage();\n \t}", "title": "" }, { "docid": "46dd2bd78dee730623360b7e4b773ad1", "score": "0.48241392", "text": "private void loadPreviousWebpage() {\n\t\t//int currentIndex = webHistory.getCurrentIndex();\n\t\t//Platform.runLater(() -> {\n\t\t//\twebHistory.go((historyEntries.size() > 1) && (currentIndex > 0) ? -1 : 0);\n\t\t//});\n\t\tif (history.size() > 1 && currentIndex > 0) {\n\t\t\tSystem.out.println(\"Går bak till: \" + history.get(currentIndex-1));\n\t\t\tcpane.setWebpage(history.get(currentIndex-1));\n\t\t\tcurrentIndex--;\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "7852a18ef995b194ab1109d1a86bee32", "score": "0.4822547", "text": "@Override\n\tpublic void 출금() {\n\t\tsuper.출금();\n\t}", "title": "" }, { "docid": "dd1e662940423db0b570c916cee92e76", "score": "0.4818975", "text": "public static void main(String[] args) throws InterruptedException {\n\nSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\vishal mittal\\\\Downloads\\\\chromedriver_win32 (16)\\\\chromedriver.exe\");\n\t\t\n\n\t\tWebDriver driver = new ChromeDriver();\t\t\n\t\t\n\t\tdriver.get(\"https://en.wikipedia.org/w/index.php?title=Special:CreateAccount&returnto=Special%3ASearch&returntoquery=search%3D%26go%3DGo\");\n\t\t\n\t\tdriver.manage().window().maximize();\t\n\t\t\n\tWebElement l1=\tdriver.findElement(By.linkText(\"Main page\"));\n\t\n\tl1.isDisplayed();\n\tl1.isEnabled();\n\tl1.click();\n\t\n\tThread.sleep(3000);\n\tSystem.out.println(\"Title of main page: \" + driver.getTitle()); // title of main mapge\n\t\n\tdriver.navigate().back();\n\n\tThread.sleep(3000);\n\t\n\tSystem.out.println(\"Title of the page is: \" + driver.getTitle()); \t// create account page\n\t\n\tWebElement l2= driver.findElement(By.linkText(\"About Wikipedia\"));\n\t\n\t\n\tl2.isDisplayed();\n\tl2.isEnabled();\n\tl2.click();\n\t\n\tThread.sleep(3000);\n\t\t\n\tSystem.out.println(\"Title of the page is: \" + driver.getTitle()); // about wikipedia\n\t\n\tdriver.close();\n\t\t\n\t\t\n\t\t\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "0b61c29c0996673495da8b6701924c6e", "score": "0.48159227", "text": "@Test\n\tpublic void test01_AddNewPageHasTheSameTitleWithExistingPage() {\n\t\tinfo(\"Test 1: Add new page has the same title with existing page\");\n\t\t/*Step Number: 1\n\t\t*Step Name: Step 1: Open form to create new page\n\t\t*Step Description: \n\t\t\t- Choose path to add new page\n\t\t\t- Click [Add Page] \n\t\t\t-\n\t\t\t-> [Blank Page]/[From Template...]\n\t\t\t- Select [Source Editor] to switch to [Source Editor] mode\n\t\t*Input Data: \n\t\t\t\n\t\t*Expected Outcome: \n\t\t\t- By default, the [Create Wiki page] is displayed in the [Rich Text] mode\n\t\t\t- The page is switched to the [Source Editor] mode*/\n\t\t\n\n\t\t/*Step number: 2\n\t\t*Step Name: Step 2: Create new page\n\t\t*Step Description: \n\t\t\t- Put the title for this page has the same with existing pages\n\t\t\t- Put the content of page\n\t\t\t- Click [Save]\n\t\t*Input Data: \n\t\t\t\n\t\t*Expected Outcome: \n\t\t\tShow message alert that the page title is existing*/ \n\t\tinfo(\"Create a wiki page\");\n\t\tString title = txData.getContentByArrayTypeRandom(1)+getRandomNumber();\n\t\tString content = txData.getContentByArrayTypeRandom(1)+getRandomNumber();\n\t\thp.goToWiki();\n\t\twHome.goToAddBlankPage();\n\t\twikiMg.goToSourceEditor();\n\t\tsourceEditor.addSimplePage(title, content);\n\t\twikiMg.saveAddPage();\n\t\tUtils.pause(2000);\n\t\twValidate.verifyTitleWikiPage(title);\n\t\tarrayPage.add(title);\n\t\t\n\t\tinfo(\"Create a wiki page 2 with the same title\");\n\t\tString mess = wikiWarningData.getDataContentByArrayTypeRandom(1);\n\t\thp.goToWiki();\n\t\twHome.goToAddBlankPage();\n\t\tsourceEditor.addSimplePage(title, content);\n\t\twikiMg.savePage();\n\t\tUtils.pause(2000);\n\t\twValidate.verifyWarningMessage(mess);\n\n \t}", "title": "" }, { "docid": "64b4e2c37e3440d342970334e417d071", "score": "0.4815107", "text": "void previousPage();", "title": "" }, { "docid": "c4a3c3b5d1002964796d5755db490d2f", "score": "0.48108903", "text": "public abstract String getPageContent(Hashtable parameters);", "title": "" }, { "docid": "67e3def62d48b79954e2481fea1c98af", "score": "0.48071837", "text": "private int globalToPage(int index) {\n\t\treturn index - page.getStartIndex();\n\t}", "title": "" }, { "docid": "77fb56c69f907fb8838e30ede7b03b5d", "score": "0.48003533", "text": "public WebSite(String name){\r\n homepage = new WebPage(name);\r\n manyItems = 0;\r\n }", "title": "" }, { "docid": "5eeadf030c3c69fea7183306a24cc721", "score": "0.47993967", "text": "private String getPage() {\n\t\treturn responseHead() + makeTables() + responseTail();\n\t}", "title": "" }, { "docid": "06ca459f63af00662298153e6a6c3662", "score": "0.4794325", "text": "@Override\r\n public String getPageTitle() {\r\n return getTranslation(Routes.getPageTitleKey(Routes.HOME));\r\n }", "title": "" }, { "docid": "76dec6960f941ea88dd865d90845e1a9", "score": "0.47912955", "text": "@Test \tpublic void Lnki_lt_orig_thumb() \t\t{fxt.Lnki_type_(Xop_lnki_type.Id_thumb)\t\t.Lnki_(200, 100).Test_html(200, 100, Bool_.N);}", "title": "" }, { "docid": "93a5627f7f261c4b1af8bf17a75a1c24", "score": "0.47872952", "text": "private void resetPageCounter() {\n pageNumber = 1;\n totalPages = 2;\n }", "title": "" }, { "docid": "7cd24fabb7c58291ef462525022172fd", "score": "0.47864285", "text": "@Override\n\tpublic Page<Content> getLatestContent(int i) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "063bb761878052bbb6a5f59413e5ab12", "score": "0.47859466", "text": "@Override\n\tpublic void search(String url) {\n\t\t\n\t}", "title": "" }, { "docid": "437d1404b29deee4100be0a8bbc701b8", "score": "0.47829175", "text": "@SuppressWarnings(\"deprecation\")\r\n\t@Override\r\n public void visit(Page page) { \r\n \tif (!configured) init();\r\n String url = page.getWebURL().getURL();\r\n System.out.println(\"URL: \" + url);\r\n\r\n if (page.getParseData() instanceof HtmlParseData) {\r\n HtmlParseData htmlParseData = (HtmlParseData) page.getParseData();\r\n String html = htmlParseData.getHtml();\r\n \r\n \tMap<String,String> docProperties = new HashMap<String,String>();\r\n \tdocProperties.put(\"encoding\", \"UTF-8\");\r\n \tdocProperties.put(\"URL\", url);\r\n \t//docProperties.put(\"content\", text);\r\n \tc.setTimeInMillis(System.currentTimeMillis());\r\n \tdocProperties.put(\"time\", c.getTime().toGMTString());\r\n \t\r\n \tByteArrayInputStream inputStream = null;\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tinputStream = new ByteArrayInputStream(html.getBytes(\"UTF-8\"));\r\n\t\t\t\t\t} catch (UnsupportedEncodingException e1) {\r\n\t\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t\t}\r\n \t\r\n TaggedDocument tg = new TaggedDocument(inputStream,docProperties,tokeniser,doctags,exacttags,fieldtags);\r\n try {\r\n\t\t\t\t\t\tindex.indexDocument(tg);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n }\r\n }", "title": "" }, { "docid": "3f235b2c9bf27e3e9d82b96e44595903", "score": "0.47788686", "text": "public interface Oogle {\r\n\t/**\r\n\t * Receive a page from the web crawler - note, this will not be run multi-threaded\r\n\t * The page must have a url and search text that are not blank\r\n\t * It is expected that the page text will be words separated by space, comma or full stop\r\n\t * @param page Details of page found by the crawler\r\n\t */\r\n\tvoid add(Page page);\r\n\t\r\n\t/**\r\n\t * Find all pages which have ALL the words specified, case insensitive\r\n\t * @param words array of search terms - none of these can be blank or empty\r\n\t * @return a list of pages which meet the search criteria\r\n\t */\r\n\tList<Page> find(String ... words);\r\n\t\r\n\t/**\r\n\t * @return how many pages are currently known to Oogle\r\n\t */\r\n\tint size();\r\n}", "title": "" }, { "docid": "0780be396b230e0c7f1fd1bf1807b44e", "score": "0.4774693", "text": "@Override\n\tpublic GenericPage OpenPage(String url) throws Exception {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4e4a744ab533cd3a44e5fad7f314bc49", "score": "0.47715288", "text": "private void clickOnLink(Cognome istanzaNome) {\n String wikiTitle = getTitolo(istanzaNome);\n String message = CostBio.VUOTO;\n\n if (Api.esiste(wikiTitle)) {\n this.getUI().getPage().open(WIKI_URL + wikiTitle, \"_blank\");\n } else {\n message += ESISTE;\n message += istanzaNome.getCognome();\n message += \".\\n\" + POCHE;\n Notification.show(\"Avviso\", message, Notification.Type.HUMANIZED_MESSAGE);\n }// end of if/else cycle\n\n }", "title": "" }, { "docid": "aedf89c223bcbdfd700be1fa4bb4e36a", "score": "0.47713837", "text": "public String obtenerTitulo();", "title": "" }, { "docid": "1426e395d9ca4a6043b002ea5319a6cf", "score": "0.47711286", "text": "@Override\n\tprotected String getPageName() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c24f36356c15f0d993be73cff5cee861", "score": "0.476762", "text": "@Test public void Xnde_pops() {\n\t\tfxt.Test_parse_page_wiki_str(String_.Concat_lines_nl_skipLast\r\n\t\t\t(\t\"<i>\"\r\n\t\t\t,\t\"{|\"\r\n\t\t\t,\t\"|-\"\r\n\t\t\t,\t\"|<i>a</i>\"\r\n\t\t\t,\t\"|}\"\r\n\t\t\t,\t\"</i>\"\r\n\t\t\t), String_.Concat_lines_nl_skipLast\r\n\t\t\t(\t\"<i>\"\r\n\t\t\t,\t\"<table>\"\r\n\t\t\t,\t\" <tr>\"\r\n\t\t\t,\t\" <td><i>a</i>\"\r\n\t\t\t,\t\" </td>\"\r\n\t\t\t,\t\" </tr>\"\r\n\t\t\t,\t\"</table>\"\r\n\t\t\t,\t\"</i>\"\r\n\t\t\t));\r\n\t}", "title": "" }, { "docid": "cc7503a8042a0145e8b6fab91fe5f0ba", "score": "0.4761765", "text": "public static String repoWiki(String organization, String repoName) {\n return repoUrl(organization, repoName) + \"/wiki\";\n }", "title": "" }, { "docid": "19f1b5a3670ea3c38654e04270006dc2", "score": "0.47573048", "text": "void addVisited(WikiPage page);", "title": "" }, { "docid": "fe786664355f162b76fd78dfa35d22a3", "score": "0.47560993", "text": "@Test\n\tpublic void test06_CreateNewPageUsingBlankTemplate() {\n\t\tinfo(\"Test 6: Create new page using Blank Template\");\n\t\t/*Step Number: 1\n\t\t*Step Name: Step 1: Open form to create new page\n\t\t*Step Description: \n\t\t\t- Choose path to add new page\n\t\t\t- Click [Add Page] \n\t\t\t-\n\t\t\t-> [Blank Page]\n\t\t\t- Select [Source Editor] to switch to [Source Editor] mode\n\t\t*Input Data: \n\t\t\t\n\t\t*Expected Outcome: \n\t\t\t- By default, the [Create Wiki page] is displayed in the [Rich Text] mode*/\n\n\t\t/*Step number: 2\n\t\t*Step Name: Step 2: Create new page\n\t\t*Step Description: \n\t\t\t- Put the title for this page\n\t\t\t- Put the content of page\n\t\t\t- Click [Save]\n\t\t*Input Data: \n\t\t\t\n\t\t*Expected Outcome: \n\t\t\tNew page is created successfully. It is displayed in the destination path*/ \n\t\tinfo(\"Create a wiki page\");\n\t\tString title = txData.getContentByArrayTypeRandom(1)+getRandomNumber();\n\t\tString content = txData.getContentByArrayTypeRandom(1)+getRandomNumber();\n\t\thp.goToWiki();\n\t\twHome.goToAddBlankPage();\n\t\twikiMg.goToSourceEditor();\n\t\tsourceEditor.addSimplePage(title,content);\n\t\twikiMg.saveAddPage();\n\t\tUtils.pause(2000);\n\t\tinfo(\"New page is created successfully. It is displayed in the destination path\");\n\t\twValidate.verifyTitleWikiPage(title);\n\t\tarrayPage.add(title);\n\n \t}", "title": "" } ]
b9e7cc22869552ee965d72ab458bcd25
Shows warnings at compile time: "Type safety: Potential heap pollution via varargs parameter names"
[ { "docid": "ca1e756d3e1c6e7f6ba4d14ea3a6f1bb", "score": "0.5338913", "text": "private void printWithoutSafeVarargs(List... colors) {\n Arrays.stream(colors).forEach(System.out::println);\n }", "title": "" } ]
[ { "docid": "97addaf12a08816b1cbcc2088e1eac8d", "score": "0.6377156", "text": "public void warn(Object... messages);", "title": "" }, { "docid": "317093ec94a6acb3690bc92228261074", "score": "0.62057793", "text": "@Override\r\n\tpublic void warn(String format, Object[] argArray) {\n\r\n\t}", "title": "" }, { "docid": "e3e109191fd5ad80756e42941e59e754", "score": "0.5805018", "text": "default boolean isVarArgs() {\n return false;\n }", "title": "" }, { "docid": "1f4053b3de64ed474e230c19ec1a12d1", "score": "0.579666", "text": "private static void checkNoLiteralVariableUsageAcrossTypes(Signature declaredSignature)\n {\n Map<String, TypeSignature> existingUsages = new HashMap<>();\n for (TypeSignature parameter : declaredSignature.getArgumentTypes()) {\n checkNoLiteralVariableUsageAcrossTypes(parameter, existingUsages);\n }\n }", "title": "" }, { "docid": "0e3044a46d88e00bd002dc7fa09f5752", "score": "0.56709534", "text": "@Override\r\n\tpublic void warn(String format, Object arg) {\n\r\n\t}", "title": "" }, { "docid": "08d45859c1ee3607b8524c4f65b38266", "score": "0.5663409", "text": "void warn(Object message, Object... tags);", "title": "" }, { "docid": "cb8351f984d6aabef2ccf877820b2800", "score": "0.5610138", "text": "public static void warn(String msg, Object ... args) {\n print(\"Warn\", msg, args);\n }", "title": "" }, { "docid": "f18a3c549ffd1a24384e26cdc7663b91", "score": "0.55644417", "text": "static void dangerous(List<String>... stringLists) {\n Object[] objects = stringLists;\n System.out.println(objects[1]);\n // objects[0] = intList; // Heap pollution\n // String s = stringLists[0].get(0); // ClassCastException\n }", "title": "" }, { "docid": "14684fefe3fe1dbc8fa695676c40236a", "score": "0.5498758", "text": "public abstract void mo56574a(String... strArr);", "title": "" }, { "docid": "62feae4e0abbb0aa6fbfac7873f9c50b", "score": "0.5486818", "text": "@Test\n public void testGenerateMethodWithWildcardUpperBoundTypeArg() throws Exception {\n assertGenInvalid(MethodWithWildcardUpperBoundTypeArg.class);\n }", "title": "" }, { "docid": "3b728ee326f6a6b7a7782ca3d206093a", "score": "0.54721725", "text": "@Override\r\n\tpublic void warn(String format, Object arg1, Object arg2) {\n\r\n\t}", "title": "" }, { "docid": "9c0be734f094b5fc208c5233c3a9e114", "score": "0.5460869", "text": "public void method_9515(List param1) {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "e77322d7a35f4f4b0b76103d6d61e26b", "score": "0.5419691", "text": "public void withVarArgs(int firstInt, String... va){\n // NOOP\n }", "title": "" }, { "docid": "42592876bde49c0b8b32643ad09b9fda", "score": "0.54073304", "text": "void issueWarnings(T value);", "title": "" }, { "docid": "4e31a613a48a40ba4b6ced8a609e64f7", "score": "0.5376872", "text": "void warn(Object message);", "title": "" }, { "docid": "0808a1b25c273d7e0003bc31248db8c3", "score": "0.5338997", "text": "private void checkArg(Countable args) {\n if (args == null)\n throw new NullPointerException();\n if (this.getClass() != args.getClass())\n throw new IllegalArgumentException();\n }", "title": "" }, { "docid": "3bcb457f574a1639ee8c15e8bb6b3804", "score": "0.5338317", "text": "private static void addEnforceArgsConsistency(CtClass invocation, CtClass[] params)\n throws CannotCompileException\n {\n StringBuffer code = new StringBuffer();\n code.append(\"{ \");\n if (params.length != 0)\n {\n code.append(\"if(inconsistentArgs) {\");\n code.append(\"arg0 = \");\n code.append(JavassistToReflect.castInvocationValueToTypeString(params[0],\n \"arguments[0]\"));\n for (int i = 1; i < params.length; i++)\n {\n code.append(\"; arg\").append(i).append('=');\n code.append(JavassistToReflect.castInvocationValueToTypeString(params[i],\n \"arguments[\" + i + \"]\"));\n }\n code.append(\"; }\");\n }\n code.append('}');\n \n CtMethod enforceArgsConsistency = null;\n try\n {\n enforceArgsConsistency = CtNewMethod.make(\n CtClass.voidType, ENFORCE_ARGS_CONSISTENCY,\n new CtClass[0],\n new CtClass[0], code.toString(),\n invocation);\n }\n catch(CannotCompileException e)\n {\n logger.error(code.toString());\n throw e;\n }\n enforceArgsConsistency.setModifiers(javassist.Modifier.FINAL);\n invocation.addMethod(enforceArgsConsistency); \n }", "title": "" }, { "docid": "4bc3275fa7be9e80a7d35131bbca4daa", "score": "0.52763116", "text": "private static void m1(int... x)\n\n{\n\tint arr[]=x;\n\tSystem.out.println(\"In Varargs metthod\");\nfor(int y:x)\n{\n\tSystem.out.println(y);\n}\n\t\n}", "title": "" }, { "docid": "340ca10d6464a644ff55f312d3f40a6b", "score": "0.5242442", "text": "static IllegalArgumentException m45118a(String str, Object... objArr) {\n throw new IllegalArgumentException(C14126e.m44817a(str, objArr));\n }", "title": "" }, { "docid": "00f84c0f830d2510a365f39161b8b9cb", "score": "0.52223474", "text": "@Test\n public void testVAC_VarArgs_MoreActualParams_InvalidTypes(){\n Class<?>[] expectedTypes = {String.class, Integer[].class};\n Object[] actualParams = {\"Foo\", 1, 2, \"Cheese\", 4};\n\n //Get the values and check that they failed validation\n Object[] finalParams = ParamUtils.validateInvocationAndConvertParams(expectedTypes, true, actualParams);\n assertNull(\"finalParams were not returned null, validation succeeded when it should've failed\", finalParams);\n }", "title": "" }, { "docid": "5718badb010939e4558ebdb581bae0d5", "score": "0.52176386", "text": "public abstract void mo56573a(C4047d... dVarArr);", "title": "" }, { "docid": "87e3d0a520215f8d5fa3fb74ab08267b", "score": "0.5216585", "text": "public void method_9497(int param1, Object param2) {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "c5e16699a2e9c28735490b3fab8a669a", "score": "0.5181945", "text": "public void method_9506(int param1, Object param2) {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "3409205ae09f7bf9a3adec92fd66b95e", "score": "0.51544356", "text": "void warn(String msg);", "title": "" }, { "docid": "a1be18d51a2c0039f9b450451a8d9481", "score": "0.51453704", "text": "public void warn(String message, Object... args) {\n warn(String.format(message, args), getThrowable(args));\n }", "title": "" }, { "docid": "0331b9c0ed40e058c7c4834a91628f8c", "score": "0.51370656", "text": "void warn(Object message, Throwable e, Object... tags);", "title": "" }, { "docid": "e727fdaaa46fe8f61877258991b2b541", "score": "0.5130814", "text": "protected final void logArgArrayTooShortError(ArgArray argArray) {\n getLogger().log(Level.SEVERE, \"{0} represents too few arguments to {1}\", new Object[]{argArray.size(), getNameAndDescription()});\n }", "title": "" }, { "docid": "0a2193dc32c4efd2dde6b1cfe8c4cec0", "score": "0.51254433", "text": "void syntaxWarning(String message);", "title": "" }, { "docid": "374cead0670b29064f6a7155b86cd20c", "score": "0.5105231", "text": "@Override\r\n\tpublic void warn(String msg, Throwable t) {\n\r\n\t}", "title": "" }, { "docid": "3559b5a73e3dd84841de248687901721", "score": "0.50977415", "text": "private static void method_9513(class_112 param0, class_1712 param1) {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "3a4337f44e67af4cec3ef886289df16a", "score": "0.50910974", "text": "public void warn(String format, Object... args) {\n warn(null, format, args);\n }", "title": "" }, { "docid": "0420ddb0deb09b236898e962f78dd5c3", "score": "0.5089419", "text": "public void fatal(Object... messages);", "title": "" }, { "docid": "2413a57f4303e903172d259d10ff2478", "score": "0.5087782", "text": "@Override\n\tpublic void checkArity() {}", "title": "" }, { "docid": "03d93d52b51cf669dadefe68374d9a18", "score": "0.50869566", "text": "public static void warning(String message, Object... args) {\n\t\tlog(LogLevel.Warning, message, args);\n\t}", "title": "" }, { "docid": "622c4c5d29115bbcf58b8466c0aa6a94", "score": "0.5084352", "text": "private static void repairNullArgsAndWarnIfNecessary(String[] args) {\n boolean haveANullArg = false;\n for (String s : args) {\n if (s == null) {\n haveANullArg = true;\n break;\n }\n }\n\n if (haveANullArg) {\n Log.warn(\"Found a null command-line argument; printing all command-line arguments out now\");\n printArgs(args);\n }\n\n for (int i = 0; i < args.length; i++) {\n String s = args[i];\n args[i] = (s == null) ? \"\" : s;\n }\n }", "title": "" }, { "docid": "fd50db7b35de45e7faeb0527ab0c3149", "score": "0.50487244", "text": "static IllegalArgumentException badArgumentType(Method m, int argIndex,\n Set<TypeToken<?>> supportedTypes) {\n return badArgumentTypeFromTypeStrings(m, argIndex, ImmutableSet.copyOf(\n Iterables.transform(supportedTypes, new Function<TypeToken<?>, String>() {\n @Override public String apply(TypeToken<?> input) {\n return input.toString();\n }\n })));\n }", "title": "" }, { "docid": "805807d6ffa644136199bca1973d2ee2", "score": "0.5046113", "text": "public void testSignatureWithInsufficientActualParamters() {\n Value[] values = new Value[] {\n new StringValue(\"true\"),\n new StringValue(\"stringValue\"),\n new StringValue(\"100\"),\n };\n\n try {\n target.unify(values);\n fail(\"Unespected unification.\");\n } catch (SequenceNotFoundException snfe) {\n // OK.\n System.out.println(\"message:\" + snfe.getMessage());\n }\n }", "title": "" }, { "docid": "bb89210fb949469940ab34355265106e", "score": "0.5041964", "text": "private static void validateArgumentLength(String[] args)\n {\n if (args.length != 4)\n throw new IllegalArgumentException(MANUAL);\n }", "title": "" }, { "docid": "325de7bfd54018097cfdb92048793e87", "score": "0.5029975", "text": "void solution(Object... params);", "title": "" }, { "docid": "b2bfad27410c8af0e39e8346f59c9d9e", "score": "0.50287306", "text": "abstract IncompletenessWarningType incompletenessWarningType();", "title": "" }, { "docid": "1869e4076dbff94cbc31e558f3110ca0", "score": "0.5025358", "text": "public void warning(String message);", "title": "" }, { "docid": "10524f559c4c13711e8912d7cae68a08", "score": "0.5009607", "text": "protected void checkArgs()\n throws PALException {\n ActionDef def = getDefinition();\n for (int i = 0; i < def.numInputParams(); i++) {\n TypeDef type = def.getParamType(i);\n Object value = getValue(i);\n if (!(type instanceof NullableDef) && value == null) {\n log.warn(\"Param {} of {} is null but not nullable: type {}\",\n new Object[] { def.getParamName(i), this, type });\n }\n }\n }", "title": "" }, { "docid": "65971e6284e3395d8bd9c55ebc5d499c", "score": "0.4994503", "text": "private void heapyfy(){\n }", "title": "" }, { "docid": "ad0ecff1212fad333b79f50a41b725d2", "score": "0.49705607", "text": "public void onStallWarning(StallWarning arg0) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "3ee097fef0318e4059860b49864b2566", "score": "0.49638376", "text": "@Test(expected = IllegalArgumentException.class)\n @SuppressWarnings(\"ModifiedButNotUsed\")\n public void testUnsupportedParameterType() throws Throwable {\n class MyPair {};\n List<ParameterSet> paramList = new ArrayList<>();\n paramList.add(new ParameterSet().value(new MyPair()));\n }", "title": "" }, { "docid": "22b4e5d2c0d967559f177b3c2b1792ba", "score": "0.4962184", "text": "public void testBoundVarFailsToUnifyWithDifferentlyBoundVar() throws Exception\n {\n unifyAndAssertFailure(\"f(y,Y,Y)\", \"f(X,X,x)\");\n }", "title": "" }, { "docid": "a75e6df409b9e011cc3b9c8d4bb3bcd3", "score": "0.49591118", "text": "private void warn(String message, Object... parms) {\n getLog().warn(String.format(message, parms));\n }", "title": "" }, { "docid": "fe8d1e54e377ea249e0694bc4a89e782", "score": "0.4957195", "text": "public void method_3974(int param1) {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "17a33d9830d467f940b41c2869d75db4", "score": "0.49553025", "text": "void warn(String message);", "title": "" }, { "docid": "4b3e4784c4fc84deb715fe0127ef2fe5", "score": "0.49501836", "text": "@Test\n public void testVAC_VarArgs_OneExpectedNoActual_ValidTypes(){\n Class<?>[] expectedTypes = {String[].class};\n\n //Get the values and check that they passed validation\n Object[] finalParams = ParamUtils.validateInvocationAndConvertParams(expectedTypes, true);\n assertNotNull(\"finalParams were returned null, validation failed\", finalParams);\n assertEquals(\"finalParams is the wrong size\", 1, finalParams.length);\n\n //Check how the validation and conversion returned the values\n assertEquals(\"finalParams[0] is not of type String\", String[].class, finalParams[0].getClass());\n String[] varArgs = (String[]) finalParams[0];\n assertEquals(\"finalParams varArgs array is not empty\", 0, varArgs.length);\n }", "title": "" }, { "docid": "41c837fc0995d7636dee43e542c24ca2", "score": "0.49478725", "text": "public void warning(String msg, Object... params) {\n if (isWarningEnabled()) {\n CallerDetails details = inferCaller();\n logger.logp(Level.WARNING, details.clazz, details.method, msg, params);\n }\n }", "title": "" }, { "docid": "9c9664d2f6131fccffa9b76eca7374b6", "score": "0.49474698", "text": "public static void main(String[] args) {\n\t\tSet<String> exaltation = new HashSet();\n\n\t\tSet<String> exaltationWithoutWarning = new HashSet<>();\n\n\t\tSystem.out.println(exaltation + \" \" + exaltationWithoutWarning);\n\t}", "title": "" }, { "docid": "5ecb44a965df1d7fdc87bc1994a6b148", "score": "0.49472094", "text": "@Override\n\tpublic void onStallWarning(StallWarning warning) {\n\t}", "title": "" }, { "docid": "c3d9eb8bb6dde20fe7bddc407b2beaf9", "score": "0.49459055", "text": "private void setShowUnusedTypeSelectorWarnings(boolean showUnusedTypeSelectorWarnings)\n {\n }", "title": "" }, { "docid": "3121d925e79ded4af2a6b06f27e395f5", "score": "0.4941494", "text": "@Test\n public void test() {\n final HashMap<String, String> strMap = new HashMap<>();\n final HashMap<String, WidgetWithLogValue> widgetMap = new HashMap<>();\n final HashMap<String, Widget> unloggableWidgetMap = new HashMap<>();\n // CHECKSTYLE.ON: IllegalInstantiation\n\n strMap.put(\"MAPKEY1\", \"MAPVALUE1\");\n strMap.put(\"MAPKEY2\", \"MAPVALUE2\");\n\n widgetMap.put(\"MAPKEY1\", new WidgetWithLogValue(\"WIDGETVALUE1\"));\n\n unloggableWidgetMap.put(\"MAPKEY1\", new Widget(\"UNUSED\"));\n\n final ArrayList<String> strList = new ArrayList<>();\n strList.add(\"LISTVALUE1\");\n strList.add(\"LISTVALUE2\");\n\n final ArrayList<WidgetWithLogValue> widgetList = new ArrayList<>();\n widgetList.add(new WidgetWithLogValue(\"WIDGETVALUE1\"));\n\n final ArrayList<Widget> unloggableWidgetList = new ArrayList<>();\n unloggableWidgetList.add(new Widget(\"UNUSED\"));\n\n getStenoLogger().error()\n .setEvent(\"IT\")\n .setMessage(\"1. This is an error\")\n .addData(\"MAP1\", strMap)\n .log();\n\n getStenoLogger().error()\n .setEvent(\"IT\")\n .setMessage(\"2. This is an error\")\n .addData(\"MAP1\", widgetMap)\n .log();\n\n getStenoLogger().error()\n .setEvent(\"IT\")\n .setMessage(\"3. This is an error\")\n .addData(\"MAP1\", unloggableWidgetMap)\n .log();\n\n getStenoLogger().error()\n .setEvent(\"IT\")\n .setMessage(\"4. This is an error\")\n .addData(\"LIST1\", strList)\n .log();\n\n getStenoLogger().error()\n .setEvent(\"IT\")\n .setMessage(\"5. This is an error\")\n .addData(\"LIST1\", widgetList)\n .log();\n\n getStenoLogger().error()\n .setEvent(\"IT\")\n .setMessage(\"6. This is an error\")\n .addData(\"LIST1\", unloggableWidgetList)\n .log();\n\n assertOutput();\n }", "title": "" }, { "docid": "21f615cfa574bbd9a73269d205abac53", "score": "0.49353132", "text": "protected void validateParameters(java.lang.String[] param){\n \n }", "title": "" }, { "docid": "5b3c083e0d8c8fea084df4349701ac19", "score": "0.49353033", "text": "void warn( String message );", "title": "" }, { "docid": "ed24a2563ad6d7db79f013c7881ca361", "score": "0.49267215", "text": "public void testBoundVarFailsToUnifyWithDifferentBinding() throws Exception\n {\n unifyAndAssertFailure(\"f(x,y)\", \"f(X,X)\");\n }", "title": "" }, { "docid": "55b9c36e8d29036f215d74e152f0ecb1", "score": "0.4916242", "text": "public void mo46783d(Object obj) {\n m66990a(Level.WARNING, String.valueOf(obj), null);\n }", "title": "" }, { "docid": "79ec5835e578b0ab0b3686687235f56d", "score": "0.4899112", "text": "public void testProgBoundVarFailsToUnifyWithDifferentBinding() throws Exception\n {\n unifyAndAssertFailure(\"f(X,X)\", \"f(x,y)\");\n }", "title": "" }, { "docid": "36e2006bab5bbc1e2cedb083c213040b", "score": "0.48644444", "text": "public void debug(Object... messages);", "title": "" }, { "docid": "2fd6a6d94114642067d82d4f6a36f9b1", "score": "0.4862477", "text": "private static void addArgumentFieldsToInvocation(CtClass invocation, CtClass[] params)throws CannotCompileException\n {\n if (params.length == 0)\n {\n return;\n }\n CtField inconsistentArgs = new CtField(CtClass.booleanType, \"inconsistentArgs\",\n invocation);\n invocation.addField(inconsistentArgs, CtField.Initializer.byExpr(\"false\"));\n \n for (int i = 0 ; i < params.length ; i++)\n {\n CtField field = new CtField(params[i], \"arg\" + i, invocation);\n field.setModifiers(Modifier.PUBLIC);\n invocation.addField(field);\n }\n }", "title": "" }, { "docid": "43c195f18e310bae575eb9a5a06ea4f6", "score": "0.48527896", "text": "public static void autoBoxing(int... x) {\n\t\tSystem.out.println(\"Var -args Executed\");\n\t}", "title": "" }, { "docid": "63a6c1f9ed65cbd1e8555ee4d13afe55", "score": "0.48500806", "text": "public abstract void mo10721b(C4444k<? super T> kVar);", "title": "" }, { "docid": "705015ffcbab82b50b20e0df75c505e4", "score": "0.48473606", "text": "@Test\n public void testIgnoredVarargs() {\n // setup\n final String[] properties = new String[] {EntityTierOneType.PROPERTY, EntityTierOneType.ID};\n\n // method\n final MultiProperties multi = Fabut.ignored(properties);\n\n // assert\n assertEquals(properties.length, multi.getProperties().size());\n\n for (int i = 0; i < properties.length; i++) {\n assertTrue(multi.getProperties().get(i) instanceof IgnoredProperty);\n assertEquals(properties[i], multi.getProperties().get(i).getPath());\n }\n }", "title": "" }, { "docid": "66faafbbec27587b7bf48473e1d48643", "score": "0.4840793", "text": "@Override\n public void onStallWarning(StallWarning sw) {\n }", "title": "" }, { "docid": "d3f7b6f053b604c9eefb159b43c7d5f7", "score": "0.48303956", "text": "void warn(Object message, Throwable t);", "title": "" }, { "docid": "6e82be1c309aa8849f9f82db2826033d", "score": "0.48293227", "text": "public static void warning(Object... messages) {\n currentLogContext().log(Level.WARNING, null, messages);\n }", "title": "" }, { "docid": "26f2494bbb85edc644998e8a002bfbee", "score": "0.48245427", "text": "void warnAboutBugEclipse300408() {\n messager.printMessage(Diagnostic.Kind.WARNING,\n \"@AutoSerialize processor might not work properly in Eclipse < 3.5, see https://bugs\" +\n \".eclipse.org/bugs/show_bug.cgi?id=300408\");\n }", "title": "" }, { "docid": "3999e68c578ff1f7d9f58dee7469b54c", "score": "0.4817509", "text": "public static void warn(Object s, String msg) {\r\n\t\twarn(s.getClass().toString() + \": \" + msg);\r\n\t}", "title": "" }, { "docid": "e7b1fc92a0a72e1590ecc143bdd73431", "score": "0.4813035", "text": "private static void checkArgs(String[] args) throws ImplementorException {\n if (args == null || args.length != 2 || args[0] == null || args[1] == null) {\n throw new ImplementorException(\"You need to provide 2 non-null arguments.\");\n }\n }", "title": "" }, { "docid": "4c25b8c1770a551478a98c84893de394", "score": "0.48039144", "text": "public static void warn(String message, Object... args) {\n logger.warn(message, args);\n }", "title": "" }, { "docid": "d96cdd740dd0abfec8d82282618f4970", "score": "0.48010466", "text": "public static void main(String...args) {\n\t\tE19_Varargs.print(args);\r\n\t}", "title": "" }, { "docid": "51a6619a2b385a954452d72aa0896214", "score": "0.48005965", "text": "public static void m14550d(String str, Object... objArr) {\n Log.wtf(f13687b, m14551e(str, objArr));\n }", "title": "" }, { "docid": "f866130918532c21b2c0c7bd3aaca5d3", "score": "0.47961888", "text": "public static void main(String[] args) {\n List<String> strings = new ArrayList<String>();\n unsafeAdd(strings, new Integer(42));\n String s = strings.get(0); // Compiler-generated cast\n // Line above will give you a class cast exception\n }", "title": "" }, { "docid": "b687b08702acdeb132ec572822ccf1bf", "score": "0.47941062", "text": "private static void m21702a(String str) {\n StackTraceElement stackTraceElement = Thread.currentThread().getStackTrace()[3];\n String className = stackTraceElement.getClassName();\n String methodName = stackTraceElement.getMethodName();\n IllegalArgumentException illegalArgumentException = new IllegalArgumentException(\"Parameter specified as non-null is null: method \" + className + \".\" + methodName + \", parameter \" + str);\n m21699a(illegalArgumentException);\n throw illegalArgumentException;\n }", "title": "" }, { "docid": "7f1616c644f99e7d0d667a796f842dcc", "score": "0.47835332", "text": "@Test\n \tpublic void testEmtpyList() {\n \t\tList<String> list = new ArrayList<String>();\n \t\tfor (@SuppressWarnings({ \"unused\" })\n \t\tfinal String item : list) {\n \n \t\t}\n \t}", "title": "" }, { "docid": "adf9567e20b861fabb4383fb0943005e", "score": "0.47832733", "text": "public static void main(String[] args) {\n\t\t@SuppressWarnings(\"unused\")\r\n\t\tArrayList<String> list = new ArrayList<>(); // richtig ist ArrayList\r\n\t}", "title": "" }, { "docid": "6e2ff2d2692ab73781ccae2b379c3f12", "score": "0.47643244", "text": "public static boolean isArray_type_data_data_args_ident_compile_time() {\n return false;\n }", "title": "" }, { "docid": "bcce05e717b6c087a0a484edd4fe4ba0", "score": "0.47616965", "text": "@SuppressWarnings(\"unused\")\n public void lintTest(){\n }", "title": "" }, { "docid": "21e833dfdec1824f58d2c97e1643d756", "score": "0.47576338", "text": "private ArgFunction(Node[] masterArgs)\n\t{\n\t\tthis.masterArgs = Objects.requireNonNull(masterArgs);\n\t}", "title": "" }, { "docid": "bf872c1267de47d576f538abba3ca65f", "score": "0.47454643", "text": "@Test\n public void testVAC_VarArgs_MoreExpectedTypes_ValidTypes(){\n Class<?>[] expectedTypes = {String.class, Integer[].class};\n Object[] actualParams = {\"Foo\"};\n\n //Get the values and check that they passed validation\n Object[] finalParams = ParamUtils.validateInvocationAndConvertParams(expectedTypes, true, actualParams);\n assertNotNull(\"finalParams were returned null, validation failed\", finalParams);\n assertEquals(\"finalParams is the wrong size\", 2, finalParams.length);\n\n //Check how the validation and conversion returned the values\n assertEquals(\"finalParams[0] is not of type String\", String.class, finalParams[0].getClass());\n assertEquals(\"finalParams[0] has the wrong value\", \"Foo\", finalParams[0]);\n assertEquals(\"finalParams[1] is not of type Integer[]\", Integer[].class, finalParams[1].getClass());\n Integer[] varArgs = (Integer[]) finalParams[1];\n assertEquals(\"finalParams varArgs array is not empty\", 0, varArgs.length);\n }", "title": "" }, { "docid": "c131a3ac4997ec125b6f7a3bf484c39e", "score": "0.47337747", "text": "default void method_24(@NotNull f0F var1, @NotNull f0H var2, @NotNull f17 var3) {\n throw new UnsupportedOperationException(\"Please report this to the binscure obfuscator developers\");\n }", "title": "" }, { "docid": "934217ec7847ce1bbc054f96f5f56d07", "score": "0.47264272", "text": "@Test\n public void testVAC_VarArgs_MoreActualParams_ValidTypes(){\n Class<?>[] expectedTypes = {String.class, Integer[].class};\n Object[] actualParams = {\"Foo\", 1, 2, 3, 4};\n\n //Get the values and check that they passed validation\n Object[] finalParams = ParamUtils.validateInvocationAndConvertParams(expectedTypes, true, actualParams);\n assertNotNull(\"finalParams were returned null, validation failed\", finalParams);\n assertEquals(\"finalParams is the wrong size\", 2, finalParams.length);\n\n //Check how the validation and conversion returned the values\n assertEquals(\"finalParams[0] is not of type String\", String.class, finalParams[0].getClass());\n assertEquals(\"finalParams[0] has the wrong value\", \"Foo\", finalParams[0]);\n assertEquals(\"finalParams[1] is not of type Integer[]\", Integer[].class, finalParams[1].getClass());\n Integer[] varArgs = (Integer[]) finalParams[1];\n assertEquals(\"finalParams varArgs array is the wrong size\", 4, varArgs.length);\n assertEquals(\"finalParams varArgs[0] is the wrong value\", (Integer) 1, varArgs[0]);\n assertEquals(\"finalParams varArgs[0] is the wrong value\", (Integer) 2, varArgs[1]);\n assertEquals(\"finalParams varArgs[0] is the wrong value\", (Integer) 3, varArgs[2]);\n assertEquals(\"finalParams varArgs[0] is the wrong value\", (Integer) 4, varArgs[3]);\n }", "title": "" }, { "docid": "e0f7bcd11113111471fc0b79a8b20958", "score": "0.47236165", "text": "public static List method_9514(class_112 param0) {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "0ba145c96f6858018a43f8b97fefcde3", "score": "0.4720839", "text": "void warning(LogType target, String message);", "title": "" }, { "docid": "c1eeda0a97d13385fe7118bd1e51d4cd", "score": "0.4715036", "text": "public void log(Object...s){logA(s);}", "title": "" }, { "docid": "1dbd2b868da33d0d0cd2d7fa718044d8", "score": "0.47150084", "text": "public void logWarning(String str) {\n }", "title": "" }, { "docid": "b8c43d3170410118cbff8446990574ac", "score": "0.47047424", "text": "public static boolean isArray_type_data_data_args_short_arg() {\n return false;\n }", "title": "" }, { "docid": "5f15754c1fbb073f9c91fd3f2cb7fde6", "score": "0.4704199", "text": "static private void checkFunctionDeclaration (String funcName, \n\t\t\t\t\t\t String[] paramNames)\n {\n\tHashSet s = new HashSet ();\n\tint expectedSize = paramNames.length;\n\n\tif (funcName != null)\n\t{\n\t s.add (funcName);\n\t expectedSize++;\n\t}\n\n\tfor (int i = 0; i < paramNames.length; i++)\n\t{\n\t s.add (paramNames[i]);\n\t}\n\n\tif (s.size () != expectedSize)\n\t{\n\t throw new RuntimeException (\"duplicate name in function \" +\n\t\t\t\t\t\"declaration\");\n\t}\n }", "title": "" }, { "docid": "b2bc53ac75232329a2e9469cca316fa5", "score": "0.4703803", "text": "default void method_27(@NotNull f0F var1, @NotNull f0H var2, @NotNull f17 var3) {\n throw new UnsupportedOperationException(\"Please report this to the binscure obfuscator developers\");\n }", "title": "" }, { "docid": "242813858938b78829ee9fa2344843c2", "score": "0.4701562", "text": "public void traceWarn(final String funcName, final String format, Object... args)\n {\n traceMsg(funcName, MsgLevel.WARN, format, args);\n }", "title": "" }, { "docid": "4b0cbd9ab6d750d3e10dd197973021ba", "score": "0.46871457", "text": "protected void throwWarning(String message, String... args) throws MessageException {\n throw new MessageException(new ApplicationMessage(message, args, ApplicationMessage.WARNING)) ;\n }", "title": "" }, { "docid": "79ecf08def278faab3ecfef7249c80f1", "score": "0.46839723", "text": "static void unboundedArg(Holder<?> hoder, Object obj){\n\n Object o = hoder.getT();\n\n hoder = new Holder<Integer>();\n// hoder.setT(new Integer(2)); //compiler error, samae as List<?>\n }", "title": "" }, { "docid": "83d2f7ef4f3df4bca88e281d47860ea6", "score": "0.46796507", "text": "@Override\r\n\t\t\tpublic void onStallWarning(StallWarning warning) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "83d2f7ef4f3df4bca88e281d47860ea6", "score": "0.46796507", "text": "@Override\r\n\t\t\tpublic void onStallWarning(StallWarning warning) {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "7968ccc8aece92887b41a6b5bdd4b9c4", "score": "0.46730354", "text": "private void setShowActionScriptWarnings()\n {\n setShowActionScriptWarning(AssignmentInConditionalProblem.class, \n ICompilerSettings.WARN_ASSIGNMENT_WITHIN_CONDITIONAL);\n setShowActionScriptWarning(ArrayCastProblem.class, \n ICompilerSettings.WARN_BAD_ARRAY_CAST);\n setShowActionScriptWarning(DateCastProblem.class, \n ICompilerSettings.WARN_BAD_DATE_CAST);\n setShowActionScriptWarning(IllogicalComparionWithNaNProblem.class, \n ICompilerSettings.WARN_BAD_NAN_COMPARISON);\n setShowActionScriptWarning(NullUsedWhereOtherExpectedProblem.class, \n ICompilerSettings.WARN_BAD_NULL_ASSIGNMENT);\n setShowActionScriptWarning(IllogicalComparisonWithUndefinedProblem.class, \n ICompilerSettings.WARN_BAD_UNDEFINED_COMPARISON);\n setShowActionScriptWarning(ConstNotInitializedProblem.class, \n ICompilerSettings.WARN_CONST_NOT_INITIALIZED);\n setShowActionScriptWarning(DuplicateVariableDefinitionProblem.class, \n ICompilerSettings.WARN_DUPLICATE_VARIABLE_DEF);\n setShowActionScriptWarning(InstanceOfProblem.class, \n ICompilerSettings.WARN_INSTANCEOF_CHANGES);\n setShowActionScriptWarning(ScopedToDefaultNamespaceProblem.class, \n ICompilerSettings.WARN_MISSING_NAMESPACE_DECL);\n setShowActionScriptWarning(VariableHasNoTypeDeclarationProblem.class, \n ICompilerSettings.WARN_NO_TYPE_DECL);\n setShowActionScriptWarning(ThisUsedInClosureProblem.class, \n ICompilerSettings.WARN_THIS_WITHIN_CLOSURE);\n }", "title": "" }, { "docid": "5bb2476b4dcae301af201f755cedf93f", "score": "0.46704683", "text": "void warning(LogType target, String message, Throwable e);", "title": "" }, { "docid": "086ae27e86a681ec15ca0f6ad51445bb", "score": "0.46651703", "text": "public static void main(String[] args) {\n List<? extends Number> numbers = new ArrayList<>();\n // numbers.add((Number) 1); -> error\n // numbers.add((Integer) 1); -> error\n // Only --> null\n\n //Можно присвоить\n numbers = new ArrayList<Number>();\n numbers = new ArrayList<Integer>();\n numbers = new ArrayList<Long>();\n\n }", "title": "" }, { "docid": "638bc06aff3ef6fb03308dc423f5dc0f", "score": "0.46626616", "text": "@SuppressWarnings(\"EmptyMethod\")\n void EmptyFunction_2() {\n }", "title": "" } ]
d556e7de69c35bf7668b6ab354ed5dd2
/M m1 = new M(); without declaring abstract method inside an abstract class , we cannot create instance of a class
[ { "docid": "b8fdfc38cc27eea88d49c7c28208832e", "score": "0.0", "text": "public static void main(String[] args) \r\n\t{\r\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "1e0e085a17358caefa8b99e6c9cb673f", "score": "0.69571406", "text": "abstract public T newInstance();", "title": "" }, { "docid": "fe31b1132a2bdb9d94270ef1f0cfadbe", "score": "0.6891609", "text": "abstract public T newInstance ();", "title": "" }, { "docid": "60c865621e1db7a3b5f23226c07bf7a7", "score": "0.68903613", "text": "abstract T create();", "title": "" }, { "docid": "fa4203354c5a1a3b7a918c8c90ff50e2", "score": "0.68733776", "text": "public abstract T createNewInstance();", "title": "" }, { "docid": "9e1b7616578bb278b029773e5bbe75a8", "score": "0.66135967", "text": "protected abstract T createNew();", "title": "" }, { "docid": "8c20148372c087d9f4a4912ad2e13509", "score": "0.64850336", "text": "protected abstract Instance createInstance();", "title": "" }, { "docid": "94ea7c1742bdd6170707bdb9412369d7", "score": "0.6369301", "text": "protected abstract TYPE create();", "title": "" }, { "docid": "929ebeff5374d4bc71ec8a93d2bada26", "score": "0.63684213", "text": "protected abstract T createObject();", "title": "" }, { "docid": "db8c11dbde46a2191b89366a14592ba8", "score": "0.62742364", "text": "public void m1()\r\n{\r\n\tSystem.out.println(\"non abstract method\");\r\n}", "title": "" }, { "docid": "30b2a5c3002aaf5b33c2e800bc8f93f7", "score": "0.6238607", "text": "protected abstract T create() throws E;", "title": "" }, { "docid": "f6287fa7c451f465210f43016819f951", "score": "0.6130271", "text": "public Object createInstance();", "title": "" }, { "docid": "8d19cf4fb8b2b99ccff28ca86851cf30", "score": "0.6053652", "text": "public abstract T self();", "title": "" }, { "docid": "ad88ad1e5eafdd5df21700bbab17af34", "score": "0.60052264", "text": "public static void main(String[] args) {\n B b=new B();\r\n b.m2();\r\n \r\n\t\tABC a=new ABC();\r\n a.king();\r\n\t}", "title": "" }, { "docid": "b94d9e272638b5e61d0432041bfb7b59", "score": "0.5997707", "text": "public abstract T mo29185d();", "title": "" }, { "docid": "55c4a5f01b8cb016be9d3ebaed76e9fc", "score": "0.5970147", "text": "public abstract void construct() throws Exception;", "title": "" }, { "docid": "fa0cbe7b05741dcaea77fe70aecb6dde", "score": "0.5964763", "text": "public abstract T newBeing();", "title": "" }, { "docid": "3714e8b77fb45abc00d7664a4e9dfba7", "score": "0.59351665", "text": "public AbstractT606()\n {\n }", "title": "" }, { "docid": "07a7a1a69fd76445ee738d317c9041e7", "score": "0.5915033", "text": "MofClass getInstantiatedMofClass();", "title": "" }, { "docid": "1160867d5d0cf576cf39f1aadc5e1359", "score": "0.59011286", "text": "protected abstract T createReal() throws E;", "title": "" }, { "docid": "f4731993a2014cc21af04cbd6372fb1a", "score": "0.58608335", "text": "Manager createManager();", "title": "" }, { "docid": "796c3c15c8fb562ac81ce41f02e6ecc1", "score": "0.5858178", "text": "public abstract T mo27104a();", "title": "" }, { "docid": "10f4858ce2eb91f0c7ecebe5e30d5ad5", "score": "0.5858053", "text": "protected abstract void createObjects();", "title": "" }, { "docid": "37dc73c8d42310720f5e8136b5f90daa", "score": "0.5855185", "text": "@Test\n public void testConcreteClassInstantiation() throws Exception {\n ConcreteClass instance = UnsafeAllocator.INSTANCE.newInstance(ConcreteClass.class);\n assertThat(instance).isNotNull();\n }", "title": "" }, { "docid": "845f739bab0557f22faf86a3a73a8b0d", "score": "0.5849854", "text": "abstract protected void implementationOnCreate();", "title": "" }, { "docid": "9e8477edf98195118d0abfc28a7168d7", "score": "0.5805827", "text": "public static void main(String[] args) {\n\t\tConcreteClass obj = new ConcreteClass();\n\t\tobj.abstractMethod();\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "66716f844786ad90be79e1f4ce3225ba", "score": "0.58023876", "text": "protected VM (){}", "title": "" }, { "docid": "f7f977825acf7b2c6e18dc3d9dbcb763", "score": "0.57898575", "text": "public abstract boolean isInstantiable();", "title": "" }, { "docid": "17a28f84316c2566116de7bd25c7ead4", "score": "0.5764159", "text": "public static void main(String[] args) {\nA a1=new B();\r\na1.m1();\r\n\t}", "title": "" }, { "docid": "785d5515435a02fc240fddc97a604b9e", "score": "0.5737326", "text": "protected abstract void create(ClassVisitor cv);", "title": "" }, { "docid": "1519f0baa6a9735c2b3b89ff28eeb89c", "score": "0.5708354", "text": "public T newInstance();", "title": "" }, { "docid": "901e29f6495f94a8bae47aab2202479b", "score": "0.56910735", "text": "public ConcreteProduct(){}", "title": "" }, { "docid": "01f30588f5c09b444f5e5b7d053575ca", "score": "0.5689068", "text": "public void construct(){}", "title": "" }, { "docid": "517ddf33d5f78654a6aa43b4ec5a85bc", "score": "0.56827885", "text": "T create();", "title": "" }, { "docid": "517ddf33d5f78654a6aa43b4ec5a85bc", "score": "0.56827885", "text": "T create();", "title": "" }, { "docid": "f30b64708863f6749b1d493666a06990", "score": "0.5679266", "text": "public MrtmodelFactoryImpl() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "55ca32fb9ff407eccad1d940c66c190e", "score": "0.56456274", "text": "public abstract void mo119735a();", "title": "" }, { "docid": "3e13e80be45430f1d7cc009e39bf5512", "score": "0.56422716", "text": "public Object newInstance() \r\n {\n throw new RuntimeException(\"Can't call makeNewObject on \"+this.getClass().getName());\r\n }", "title": "" }, { "docid": "c735a6fbe6b1696bec1904a39bdbd873", "score": "0.5636347", "text": "public void m2(){\n\n }", "title": "" }, { "docid": "74c4a255181c1f9183ef5dc517c64ea9", "score": "0.56308556", "text": "public abstract Move makeMove();", "title": "" }, { "docid": "b191421a70e1cd265300e876e908ad63", "score": "0.5629017", "text": "public A m(){\n \n return null;\n }", "title": "" }, { "docid": "50ef0890bc5bd6872121331cc692646f", "score": "0.5626294", "text": "public abstract void mo78645a();", "title": "" }, { "docid": "0f26a4f6d02cde62a6b3ce880ec2a202", "score": "0.56227374", "text": "public abstract void mo434e();", "title": "" }, { "docid": "34ba089d5ad2891a76a7ca88da6b3bad", "score": "0.56216437", "text": "abstract public T newInstance (Object enclosingInstance);", "title": "" }, { "docid": "eb1c996778e978b0378995a621c052df", "score": "0.5621624", "text": "protected abstract void mo1020a();", "title": "" }, { "docid": "6eba6f2546e6e06a1a3a00956553b231", "score": "0.56069314", "text": "public abstract AbstractTransitionSystem<S,T,O> createNewInstance();", "title": "" }, { "docid": "6dddb39fff5189096c9208bbe7881ade", "score": "0.56024754", "text": "public ConcreteCall()\n {\n }", "title": "" }, { "docid": "3ac7f66d59f84983e63f41fa3e7db6b8", "score": "0.56007415", "text": "public MDDFactoryImpl()\n {\n super();\n }", "title": "" }, { "docid": "8a271245e6fa99b3ec517719ff2b7bff", "score": "0.55921465", "text": "public abstract Vehicle createVehicle();", "title": "" }, { "docid": "5d28639584b8f151075d0ba3b73ff7f3", "score": "0.5591254", "text": "@Test\n public void newInstance() {\n Model model = ObjectUtils.newInstance(Model.class);\n\n assert (model != null);\n }", "title": "" }, { "docid": "173ed924c7bcaab9a9a3b874fee64a36", "score": "0.55881816", "text": "public final Object create()\n\t{\n\t\ttry\n\t\t{\n\t\t\treturn handle.newInstance();\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tLog.debug(\"[ReflectedClass] Failed to instantiate class \" + getExtendedName());\n\t\t\tLog.debug(e.getMessage());\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f69e6c36a41a541707e2934c98a71491", "score": "0.5585146", "text": "@Override\n\tpublic void createClam() {\n\t\t\n\t}", "title": "" }, { "docid": "0a1e4bfe2fe27eff4ce1ca5ae5790981", "score": "0.5579083", "text": "protected abstract boolean isAbstract();", "title": "" }, { "docid": "a85c969793f7f2dbf5b21a05ec7ef692", "score": "0.5571508", "text": "public abstract S mo131108c();", "title": "" }, { "docid": "0c6538786f3340b2d691556d5c86092a", "score": "0.55713516", "text": "public abstract void mo234j();", "title": "" }, { "docid": "14a5e1055ba99c73d6c2b2db011f9927", "score": "0.5568377", "text": "private static void create() {}", "title": "" }, { "docid": "02ac4ad5c9bcfeb01b172959da25202f", "score": "0.5558185", "text": "AbstractEntity createAbstractEntity();", "title": "" }, { "docid": "5dea2be9e9abed2ec48a99b5ce84542d", "score": "0.5557435", "text": "private A(){}", "title": "" }, { "docid": "76a6a9376f484a2a47c693c8eb3ae21d", "score": "0.55512136", "text": "protected abstract void create(MethodVisitor mv);", "title": "" }, { "docid": "cdfa9ea3f3d9634e299303fc85cf7ae1", "score": "0.5547421", "text": "public MCFactory() {\n }", "title": "" }, { "docid": "8cc820b3c7f052b5c908b80bd1247803", "score": "0.55467427", "text": "public abstract T create(T obj);", "title": "" }, { "docid": "d503d8d78d706d7c02c38e84addbdfbc", "score": "0.55452204", "text": "Mimic createMimic();", "title": "" }, { "docid": "2471fd4ad905ee88cfdf163bb4bfd439", "score": "0.55297875", "text": "@Test(expected = InstantiationException.class)\n public void testConstructorIsAbstract() throws Exception {\n Constructor<AbstractDataEncoder> constructor =\n AbstractDataEncoder.class.getDeclaredConstructor();\n\n\n // Try to create an instance\n constructor.newInstance();\n }", "title": "" }, { "docid": "7415ef131345256e221f757d8bd89da2", "score": "0.5522015", "text": "protected AbstractDynamicMBean()\n {\n }", "title": "" }, { "docid": "bb63a090be322321e27884d83a510159", "score": "0.55132586", "text": "internal createinternal();", "title": "" }, { "docid": "26f57b8c5725c59a06c686a60aa19b44", "score": "0.5503622", "text": "public abstract void mo37873b();", "title": "" }, { "docid": "edb24a781596e28961b62e0e0137554e", "score": "0.55001396", "text": "public DynamicmodelFactoryImpl() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "6e287c523b9b5de14f5fee48ae73b83b", "score": "0.54990745", "text": "P create();", "title": "" }, { "docid": "cc2a66e850e0b935e17297c3d1b3d1cd", "score": "0.5495627", "text": "static <T> T m6929x(Class<T> cls) {\n try {\n return f11062b.allocateInstance(cls);\n } catch (InstantiationException e) {\n throw new IllegalStateException(e);\n }\n }", "title": "" }, { "docid": "831b4234bd760ec0f788387e93862ccb", "score": "0.54875046", "text": "default void m1() {\r\n\r\n\t}", "title": "" }, { "docid": "eb92706b72ad8268a5a760f54d2d5357", "score": "0.5485571", "text": "public abstract void mo1191b();", "title": "" }, { "docid": "835bdd7f1af94a291de4950bdc22fff7", "score": "0.54828894", "text": "public abstract void a();", "title": "" }, { "docid": "48d3221d8d73fe410e187ca5e0d5158d", "score": "0.5479505", "text": "abstract public void initial();", "title": "" }, { "docid": "3324206e3ac78c71b2fbcda7b433d357", "score": "0.54709905", "text": "public void abstractMethod(){\n System.out.println(\"Subclass two implementing abstract method from abstract class\");\n }", "title": "" }, { "docid": "54b589a4661635502a6a8e8975e09b3f", "score": "0.5469047", "text": "abstract public I generateInstance() throws InputDataException, Exception;", "title": "" }, { "docid": "9f2c97e0e7c3e026b7bd74518de4eac0", "score": "0.54650325", "text": "public static void m1(){\n\t\t\n\t}", "title": "" }, { "docid": "263138a772abde6e6588f94d4157e879", "score": "0.54649484", "text": "public AbstractProduct factoryMethod(){\n\t\treturn newAbstractProduct();\n\t}", "title": "" }, { "docid": "122db1f456d117e75b878ffc1e5adb7b", "score": "0.5452271", "text": "public abstract void mo2504e();", "title": "" }, { "docid": "05222ffed3fdc9a47372c93be087f8cc", "score": "0.5449368", "text": "public static Object create(Class<?> type) throws IOException {\n if ((type.getModifiers() & Modifier.ABSTRACT) != 0) {\n type = Helper.type(type);\n }\n return AccessHelper.Objects.create(type, TYPES, ARGS);\n }", "title": "" }, { "docid": "7b8b866a984e1d3eb1dd08c041d13197", "score": "0.54491013", "text": "public static void abst()\r\n\t {\n\t\t Student myObj = new Student();\r\n\t\r\n\t\t System.out.println(\"Name: \" + myObj.fname);\r\n\t\t System.out.println(\"Age: \" + myObj.age);\r\n\t\t System.out.println(\"Graduation Year: \" + myObj.graduationYear);\r\n\t\t myObj.study(); // call abstract method\r\n\t }", "title": "" }, { "docid": "faf2f64c19084ea069007c3e9028f2c3", "score": "0.54479563", "text": "abstract public AbstractModel create() throws SQLException;", "title": "" }, { "docid": "3e343b7c4fc69eb6a2ef4ef516314c45", "score": "0.5446889", "text": "public abstract void mo1282b();", "title": "" }, { "docid": "9cc2172b6e0534899cd820ad9d94f256", "score": "0.5444245", "text": "protected abstract NamedScorecardStructure createInstance();", "title": "" }, { "docid": "a058040447c811ee7a729070571b9585", "score": "0.5438997", "text": "ClazzModel createClazzModel();", "title": "" }, { "docid": "55a0dec5398ae16e92de2792580c5149", "score": "0.5428411", "text": "public abstract void mo3539b();", "title": "" }, { "docid": "37cbc83dd9c3e53025a3e5aaf7b0bdd6", "score": "0.5425557", "text": "void m2();", "title": "" }, { "docid": "ddad889c53896d07d920cf3e8a1c71fb", "score": "0.5425491", "text": "public MultiactivityFactoryImpl() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "e45f6b8d16423dde18f9b6f2d2bc215a", "score": "0.5415995", "text": "public abstract void mo2506g();", "title": "" }, { "docid": "cbf710711ac05c806d778f36917acd00", "score": "0.5414862", "text": "AbstractElement createAbstractElement();", "title": "" }, { "docid": "a80aa301003cbadb1da33736aaa23808", "score": "0.5397614", "text": "public Base() {}", "title": "" }, { "docid": "33f8a37e062987764e5a6fdf4b2acff1", "score": "0.5396071", "text": "public interface ComputerAbstractFactory {\n\n public AComputer createComputer();\n\n}", "title": "" }, { "docid": "d88f221873b6b211b62da17b915097ef", "score": "0.53954303", "text": "abstract void test();", "title": "" }, { "docid": "10b5bf0043b0abacd02cfa47d017f969", "score": "0.5392589", "text": "public abstract void mo464c();", "title": "" }, { "docid": "8f35e68eb8fbe26be6bb834282b863bd", "score": "0.53900814", "text": "public interface AbstractC07180rZ extends AnonymousClass0Ca {\n}", "title": "" }, { "docid": "d6b9a8bef2a026fa871e8993dd70fd54", "score": "0.5389262", "text": "public abstract void mo436f();", "title": "" }, { "docid": "285c63cef4c4f8076ef3c9f7e82bbf71", "score": "0.53835", "text": "public AbstractProduct newAbstractProduct(){\n\t\tSystem.out.println(\"Called: basic implementation of template method that \"\n\t\t\t\t+ \"may be overridden\");\n\t\treturn new ConcreteProduct();\n\t}", "title": "" }, { "docid": "1d7850f9b6be9103a05db3ed2281c7f5", "score": "0.53752923", "text": "boolean isAbstract();", "title": "" }, { "docid": "1d7850f9b6be9103a05db3ed2281c7f5", "score": "0.53752923", "text": "boolean isAbstract();", "title": "" }, { "docid": "1d7850f9b6be9103a05db3ed2281c7f5", "score": "0.53752923", "text": "boolean isAbstract();", "title": "" }, { "docid": "d27d86e29e794b995239ca3dbc199645", "score": "0.5373233", "text": "public interface BMWCarFactory {\n\n /**\n * Abstract factory method to make an abstract product FlyweightBMWCar\n * instance.\n * However, the ability to determine which concrete type of FlyweightBMWCar\n * product to instantiate is deferred to concrete factories (subclasses).\n * @return instantiated FlyweightBMWCar\n */\n FlyweightBMWCar createCar();\n\n}", "title": "" }, { "docid": "4fa1e0e141f1edc0242acf6160a2693e", "score": "0.53714275", "text": "public abstract Guantlets createInstance();", "title": "" }, { "docid": "cd302a00d927470a4a5e67b5307f0adb", "score": "0.5371339", "text": "public abstract Definition newDefinition();", "title": "" } ]
0a9b780c81d10cb4af78a3ba650df99a
Return the list of url fields.
[ { "docid": "f7ae07c18ff1396fb85d594ab37cae7f", "score": "0.84265476", "text": "default List<String> getURLFields() {\n\t\tObject[] value = getRestProperty(URLFIELDS_KEY);\n\t\tif (value == null) {\n\t\t\treturn null;\n\t\t}\n\t\tString[] stringArray = Arrays.copyOf(value, value.length, String[].class);\n\t\treturn Arrays.asList(stringArray);\n\t}", "title": "" } ]
[ { "docid": "b4f7950b18df4944093d714b148e32bd", "score": "0.63811386", "text": "public List<Field> getFields();", "title": "" }, { "docid": "4c08386f7c51eceec0f41be4219d1eb6", "score": "0.6282428", "text": "@Override\n\tpublic List<PropertyDescriptor> getFieldDescriptors() {\n\t\tList<PropertyDescriptor> fields = new ArrayList<PropertyDescriptor>();\n\n\t\t// Add custom UI for link to external resource\n\t\tPropertyDescriptor url = new PropertyDescriptor(\"External link\", \n\t\t\t\tnew URLPropertyEditor(), \n\t\t\t\tVisualControlDescriptor.Custom);\n\t\turl.setFieldMutable(true);\n\n\t\tfields.addAll(super.getFieldDescriptors()); // Costs\n\t\tfields.add(url);\n\n\t\treturn fields;\n\t}", "title": "" }, { "docid": "4f4e8fbdd29953f6c4c5a4a5029fe552", "score": "0.61938864", "text": "public String[] getFields();", "title": "" }, { "docid": "e72507530128323c2b5de71a57bc8341", "score": "0.6171078", "text": "java.util.List<java.lang.String>\n getUrlList();", "title": "" }, { "docid": "f571b984625b9c8e0739f1b189acc94b", "score": "0.61612105", "text": "public java.util.List<java.lang.String>\n getUrlList() {\n return url_;\n }", "title": "" }, { "docid": "11c0d02cba91ae1a501109ff26a0ea2f", "score": "0.61134094", "text": "public List getFields() {\n return fields;\n }", "title": "" }, { "docid": "690ff03ea58e7e61f9ebcdbd0248086a", "score": "0.6105032", "text": "public String[] fields();", "title": "" }, { "docid": "edc403ca350d2ce7d3054a3fdd602555", "score": "0.61040723", "text": "public java.util.List<java.lang.String>\n getUrlList() {\n return java.util.Collections.unmodifiableList(url_);\n }", "title": "" }, { "docid": "1e456a18c675a0646a2ca9ee10db07f8", "score": "0.6082119", "text": "default void setURLFields(String... keys) {\n\t\tsetRestProperty(URLFIELDS_KEY, keys);\n\t}", "title": "" }, { "docid": "810c45f2877f2be0555d4f492bea85a1", "score": "0.60410905", "text": "public static List<String> visibleFields() {\n List<String> visibleFields = Arrays.asList(new String[]{\n FIELD_NAME_KIND_OF_UNIT, FIELD_NAME_TYPE_STATUS,\n \"collection\", \"accessionNumber\",\n \"preferredStableUri\",\n FIELD_NAME_DESIGNATION_REFERENCE, \"designationReferenceDetail\",\n \"mediaUri\", \"mediaSpecimenReference\",\n \"mediaSpecimenReferenceDetail\"\n });\n return visibleFields;\n }", "title": "" }, { "docid": "fc2a7be3ea58884a07100cb859057004", "score": "0.5957864", "text": "public List<String> getUrls();", "title": "" }, { "docid": "c28c7c597152d53b7fe590538e5739c3", "score": "0.5949054", "text": "public static synchronized List<String> getFieldNames()\n {\n if (fieldNames == null)\n {\n fieldNames = new ArrayList<String>();\n fieldNames.add(\"Id\");\n fieldNames.add(\"Keyword\");\n fieldNames.add(\"Url\");\n fieldNames.add(\"State\");\n fieldNames.add(\"Source\");\n fieldNames.add(\"Score\");\n fieldNames.add(\"Message\");\n fieldNames.add(\"IpHost\");\n fieldNames.add(\"UpdateTime\");\n fieldNames.add(\"CreateTime\");\n fieldNames = Collections.unmodifiableList(fieldNames);\n }\n return fieldNames;\n }", "title": "" }, { "docid": "f6fd5a11bdbe442007ef5b2b901e27f3", "score": "0.5934504", "text": "public abstract List<FieldModel> getFieldPath();", "title": "" }, { "docid": "db45fed15e23f2bdc9e8554785ffd27d", "score": "0.5921809", "text": "public String getFields() {\n return fields;\n }", "title": "" }, { "docid": "693dc708dd82b036c8d0f73bd044b579", "score": "0.5920479", "text": "public List<SearchField> getFields() {\n return this.fields;\n }", "title": "" }, { "docid": "0c3d9c052aef56c59541e71fda2b2f8f", "score": "0.5919201", "text": "@Override\n\tpublic String getFieldList() {\n\t\treturn \"codigoFactura,codigoServicio,consumo\";\t\n\t}", "title": "" }, { "docid": "62b65dd63ec5e2db3ec73ecba4f3cc3c", "score": "0.59151083", "text": "public List<String> getAllAvailableFields() {\n return getAllAvailableFields( null );\n }", "title": "" }, { "docid": "f54fca464dfa265a8c79b03775620c68", "score": "0.5906492", "text": "List<String> getResFieldList();", "title": "" }, { "docid": "230f41177e7b4d3548c5e9b6a2b9470e", "score": "0.58697486", "text": "@Override\r\n\tpublic List<String> listSearchableFields() {\r\n\t\tList<String> listSearchableFields = new ArrayList<String>();\r\n\t\tlistSearchableFields.addAll(super.listSearchableFields());\r\n\r\n\t\tlistSearchableFields.add(\"location\");\r\n\r\n\t\tlistSearchableFields.add(\"comments\");\r\n\r\n\t\tlistSearchableFields.add(\"currentStatus\");\r\n\r\n\t\tlistSearchableFields.add(\"serviceOrderItems.additionalInfo\");\r\n\r\n\t\treturn listSearchableFields;\r\n\t}", "title": "" }, { "docid": "0b4ad5d603e70e9c988a20cbc90734d0", "score": "0.58403546", "text": "protected abstract String getFields();", "title": "" }, { "docid": "4defc4c096ff61416994702d4b47256d", "score": "0.5806094", "text": "public List<Map<String, HtmlData>> getDetailLineFieldInquiryUrl() {\n LOG.debug(\"getDetailLineFieldInquiryUrl() start\");\n\n return this.getDetailLineFieldInquiryUrl(this.getDetailLines());\n }", "title": "" }, { "docid": "35f889bfd8748d291d60135810a2a243", "score": "0.57750505", "text": "public List<String> getAvailableFieldsList() {\n // Fields do not have categories in the \"A-Z\" available fields view.\n List<ExtendedWebElement> elements =\n fieldFolderContentItems.size() > 0 ? fieldFolderContentItems : fieldsWithoutCategories;\n\n List<String> fields = new ArrayList<String>();\n for ( ExtendedWebElement field : elements ) {\n fields.add( field.getText() );\n }\n return fields;\n }", "title": "" }, { "docid": "babe56f84d47901c1c12c2fef924d045", "score": "0.575912", "text": "public List<Field> getFields() {\n return fields;\n }", "title": "" }, { "docid": "7d81c48a6b918eac6148cb9509cf3877", "score": "0.57577425", "text": "public java.util.List<String> getList() {\n\treturn fieldList;\n}", "title": "" }, { "docid": "6b94795dc93dabb08cc8fa37c97abb11", "score": "0.5746841", "text": "public ArrayList<String> getallFields()\r\n\t\t\tthrows InstantiationException, IllegalAccessException, ClassNotFoundException {\n\t\tArrayList<String> flds = new ArrayList<String>();\r\n\t\tflds = getallFields(t, flds, new StringBuffer(\"\"));\r\n\t\t/* for(String s : flds) { System.out.println(s); } */\r\n\t\treturn flds;\r\n\t}", "title": "" }, { "docid": "95ce659f72739d538f351e8e6c9fc8a0", "score": "0.56919384", "text": "public Single<List<FieldDetails>> getFields(Optional<RestRequestEnhancer> restRequestEnhancer)\n {\n\n RestRequest.Builder requestBuilder = RestRequest.builder()\n .method(HttpMethod.GET)\n .basePath(DEFAULT_BASE_PATH)\n .path(\"/rest/api/2/field\");\n\n Map<String, String> pathParams = new HashMap<>();\n requestBuilder.pathParams(pathParams);\n\n Map<String, Collection<String>> queryParams = new HashMap<>();\n requestBuilder.queryParams(queryParams);\n\n Map<String, String> headers = new HashMap<>();\n requestBuilder.headers(headers);\n\n return restClient.callEndpoint(requestBuilder.build(), restRequestEnhancer, returnType_getFields);\n }", "title": "" }, { "docid": "dd6c8cb24928dc29fa73e8e48d44e44d", "score": "0.5688517", "text": "public List<Field> getFields() {\n return new ArrayList<>(fields);\n }", "title": "" }, { "docid": "c4e73a207a9480dee096efde6ee5888f", "score": "0.568311", "text": "java.util.List<FieldMetaInfo>\n getFieldMetaInfoList();", "title": "" }, { "docid": "bbeb41899563d43ffed91180db26ecee", "score": "0.5679304", "text": "public List<FormField> getFields() {\n return fields;\n }", "title": "" }, { "docid": "acc9554ebd8a0d7af493bf88c62e7cd1", "score": "0.56724626", "text": "List<String> getParams();", "title": "" }, { "docid": "6e2875b76aa81245747d5eceee8d16b4", "score": "0.5662233", "text": "public Collection<FieldDescriptor<?>> listFields() {\n return fields.values();\n }", "title": "" }, { "docid": "c41a49077c0145a1fa84bda8a18e8e4b", "score": "0.5647892", "text": "public List<String> getUrls() {\n return urls;\n }", "title": "" }, { "docid": "e8f6a9d2ebc2810cf0bbc8b99d60a76d", "score": "0.5632638", "text": "public static synchronized List<String> getFieldNames()\n {\n if (fieldNames == null)\n {\n fieldNames = new ArrayList<String>();\n fieldNames.add(\"Id\");\n fieldNames.add(\"FkVersionId\");\n fieldNames.add(\"EpisodeId\");\n fieldNames.add(\"VideoId\");\n fieldNames.add(\"Keyword\");\n fieldNames.add(\"ErrorType\");\n fieldNames.add(\"ErrorContent\");\n fieldNames.add(\"Feednum\");\n fieldNames.add(\"Lastmodefydate\");\n fieldNames.add(\"Status\");\n fieldNames.add(\"Operator\");\n fieldNames.add(\"Operatedate\");\n fieldNames = Collections.unmodifiableList(fieldNames);\n }\n return fieldNames;\n }", "title": "" }, { "docid": "de829497c8c1ade91d27f1bf7776102c", "score": "0.5624854", "text": "public List<Pair<String, Expr>> getFields() {\r\n return fields;\r\n }", "title": "" }, { "docid": "f4b54985d96c7058ba081490f8b86ab3", "score": "0.5610617", "text": "List<Url> getUrls();", "title": "" }, { "docid": "46c8c5c7a7a3bb03d79a694b770d59ba", "score": "0.55913883", "text": "@Override\r\n\tpublic List<String> listSearchableFields() {\r\n\t\tList<String> listSearchableFields = new ArrayList<String>();\r\n\t\tlistSearchableFields.addAll(super.listSearchableFields());\r\n\r\n\t\tlistSearchableFields.add(\"textResume\");\r\n\r\n\t\tlistSearchableFields.add(\"coverLetter\");\r\n\r\n\t\treturn listSearchableFields;\r\n\t}", "title": "" }, { "docid": "995b18d868c3716424bb73cf8426e7cf", "score": "0.5590361", "text": "public static synchronized List getFieldNames()\n {\n if (fieldNames == null)\n {\n fieldNames = new ArrayList();\n fieldNames.add(\"Id\");\n fieldNames.add(\"MemberId\");\n fieldNames.add(\"DocumentTypeId\");\n fieldNames.add(\"ContentType\");\n fieldNames.add(\"Path\");\n fieldNames.add(\"Filename\");\n fieldNames.add(\"Label\");\n fieldNames = Collections.unmodifiableList(fieldNames);\n }\n return fieldNames;\n }", "title": "" }, { "docid": "e155b1f10c5009a07f9ec463ccc517bf", "score": "0.55358434", "text": "public abstract List<FieldDeclaration> getFields();", "title": "" }, { "docid": "5eaa600e7c610aceed69f6bb0c86e5a2", "score": "0.55120075", "text": "public static synchronized List getFieldNames()\n {\n if (fieldNames == null)\n {\n fieldNames = new ArrayList();\n fieldNames.add(\"Id\");\n fieldNames.add(\"Intitule\");\n fieldNames = Collections.unmodifiableList(fieldNames);\n }\n return fieldNames;\n }", "title": "" }, { "docid": "d3291aec954433dc27825b90b4608277", "score": "0.55057657", "text": "public String[] getFields(String fieldName);", "title": "" }, { "docid": "1c6dc72e3fe8598174bc2cd44798c57a", "score": "0.5478143", "text": "public List<FieldDescription> getFields() {\n\t\treturn fields;\n\t}", "title": "" }, { "docid": "1c1b4cbcefdd8bc5cf23265493800678", "score": "0.5475628", "text": "public Collection<JCFFormField> getFields();", "title": "" }, { "docid": "cb2a3513acee454bc976852f98cf445c", "score": "0.5469526", "text": "public java.util.List<android.net.UrlQuerySanitizer.ParameterValuePair> getParameterList() { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "2c8b1808577c91eda36c9bd1b649aeba", "score": "0.5464466", "text": "public String[] getAllowedFields()\r\n/* 193: */ {\r\n/* 194:401 */ return this.allowedFields;\r\n/* 195: */ }", "title": "" }, { "docid": "7df53d61f8cd0397c64b77e73970831c", "score": "0.54618007", "text": "@Nullable\n public abstract String getFields();", "title": "" }, { "docid": "8d075cb2d14dfc2bbf85c04401d3fae8", "score": "0.54389554", "text": "public <T> List<T> getFields(String fieldName, Class<T> clazz) {\n List<InputPart> ips = formDataMap.get(fieldName);\n if (isNotEmpty(ips)) {\n List<T> list = new ArrayList<>();\n for (InputPart ip : ips) {\n if (ip != null) {\n try {\n list.add(ip.getBody(clazz, null));\n } catch (IOException e) {\n throw new CorantRuntimeException(e);\n }\n }\n }\n return unmodifiableList(list);\n }\n return emptyList();\n }", "title": "" }, { "docid": "b401b217eecb9b839c389fb31a3549ea", "score": "0.54334587", "text": "private static interface FieldUris {\n\n\t\t/** The Associated calendar item id. */\n\t\tString AssociatedCalendarItemId = \"meeting:AssociatedCalendarItemId\";\n\n\t\t/** The Is delegated. */\n\t\tString IsDelegated = \"meeting:IsDelegated\";\n\n\t\t/** The Is out of date. */\n\t\tString IsOutOfDate = \"meeting:IsOutOfDate\";\n\n\t\t/** The Has been processed. */\n\t\tString HasBeenProcessed = \"meeting:HasBeenProcessed\";\n\n\t\t/** The Response type. */\n\t\tString ResponseType = \"meeting:ResponseType\";\n\t}", "title": "" }, { "docid": "06fc16bea9d28ef04f736fea0a23293f", "score": "0.5419034", "text": "public Set<Field> getFields();", "title": "" }, { "docid": "04a092fc3d4ee8085da20025fb20c5ed", "score": "0.54180866", "text": "public List<Map<String, String>> getFieldInfo() {\n LOG.debug(\"getFieldInfo() start\");\n\n return this.getFieldInfo(this.getDetailLines());\n }", "title": "" }, { "docid": "cf0710989254e7c97285a5bd26ce09c0", "score": "0.54094803", "text": "public ListView get_lv_fields()\n\t{\n\t\treturn this.lv_fields;\n\t}", "title": "" }, { "docid": "83788b50def665cfe9a6ea5dcd09a5e2", "score": "0.54090136", "text": "@Override\n protected List<String> getFormFieldsToFetch() {\n return Arrays.asList(\"account\");\n }", "title": "" }, { "docid": "6b1f84633840e520bad8f65d95e8137f", "score": "0.54069483", "text": "public abstract List<String> uris();", "title": "" }, { "docid": "91b983064f2cd780c0a140bc0d65e6b0", "score": "0.54059607", "text": "public List<String> getUrls() {\n return getEntities(MessageEntity.Type.URL);\n }", "title": "" }, { "docid": "753118cc1a7e56977f606e4d2801b28e", "score": "0.5403983", "text": "@Override\n protected List<String> getListFieldsToFetch() {\n return Arrays.asList(\"account\");\n }", "title": "" }, { "docid": "2de9acd76c5ad35e8a986266fb161124", "score": "0.54038554", "text": "FieldIndex getFields();", "title": "" }, { "docid": "2e784f604965cd6b84eda6570f782cf4", "score": "0.5397038", "text": "public Map<String, Object> getAllFields();", "title": "" }, { "docid": "34bd396b4aa060c60a841d940f54da55", "score": "0.53922933", "text": "private List<String> getDataSourceFields() {\n\n String[] tempFields = {\"instrumentType\",\n \"externalId\",\n \"id\",\n \"symbol\",\n \"underlyingId\",\n \"expirationDate\",\n \"effectiveDate\",\n \"contractSize\",\n \"futureType\",\n \"firstNoticeDate\",\n \"lastTradingDate\"};\n\n return Arrays.asList(tempFields);\n\n }", "title": "" }, { "docid": "aa1e99e69859cc8b4639d9c90a16cdc6", "score": "0.53758043", "text": "public Element getListField() {\n\t\treturn this.listField;\n\t}", "title": "" }, { "docid": "7c3aa20f76dfb16bba2476b004430f59", "score": "0.53630537", "text": "public String[] getURLs();", "title": "" }, { "docid": "f482a9a988b03f498bdbe91f0b9f2eea", "score": "0.53559697", "text": "java.util.List<com.hifun.soul.proto.common.Mine.MineField> \n getMineFieldsList();", "title": "" }, { "docid": "9ed593983c3b161a5eb7f4f210260dae", "score": "0.53351915", "text": "protected List<FudgeField> getFields() {\n return _fields;\n }", "title": "" }, { "docid": "e83f6f6c626935b337f67c3c70268ff6", "score": "0.53336793", "text": "protected List<ExtendedWebElement> getAvailableFieldElementList() {\n return fieldFieldItems.size() > 0 ? fieldFieldItems : fieldsWithoutCategories;\n }", "title": "" }, { "docid": "9dcf6b665e5ff0193c18c59b823bc837", "score": "0.5309566", "text": "public List getUniqueFields() {\n return uniqueFields;\n }", "title": "" }, { "docid": "561cc1a97dcc36d8cffdc26eefd7caf7", "score": "0.53091013", "text": "public List<Field> getFields(SymbolicPropertiesSet properties);", "title": "" }, { "docid": "9d455ccbd00e1a50838b0c9c4668a1a0", "score": "0.53047526", "text": "protected List<ImportField> getImportFieldList() {\n\t\treturn importFieldList;\n\t}", "title": "" }, { "docid": "4c5c1680cc77d03a058e74bdba9bf5f2", "score": "0.53013545", "text": "public ArrayList<String> getFunctionFromURLList()\n\t{\n\t\treturn functionFromURL;\n\t}", "title": "" }, { "docid": "c237847134d1f56585fdd1b5b0017527", "score": "0.5300094", "text": "public List<URL> getURLs() {\n return urls;\n }", "title": "" }, { "docid": "fac6309c75091836f640edf5174137ac", "score": "0.5298976", "text": "public FieldDescription[] getFields() {\n return adapter.getFields();\n }", "title": "" }, { "docid": "284167155c8e02455e68b63112da5fe8", "score": "0.52759993", "text": "java.util.List<org.vootoo.client.netty.protocol.SolrProtocol.Param> \n getParamList();", "title": "" }, { "docid": "5aaf5fcc5c4b519a326aaffcbee82240", "score": "0.52592516", "text": "public List<Field> getFields(SymbolicProperty property);", "title": "" }, { "docid": "cc42cccf6de3a9a209530f87ac67d5ad", "score": "0.52521443", "text": "@Valid\n @JsonProperty(\"fields\")\n public FieldContainer getFields();", "title": "" }, { "docid": "ef6ebac55f5925fc677d50b6637a4941", "score": "0.5246142", "text": "public List<ImportField> getOptionalImportFields() {\n\t\tsanityCheck();\n\t\tif (optionalImportFieldList == null) {\n\t\t\tpopulateRequiredAndOptionalImportFields();\n\t\t}\n\t\treturn optionalImportFieldList;\n\t}", "title": "" }, { "docid": "cd2e5ec9853944831707492dc47099df", "score": "0.52336854", "text": "public static synchronized List getFieldNames()\n {\n if (fieldNames == null)\n {\n fieldNames = new ArrayList();\n fieldNames.add(\"TableId\");\n fieldNames.add(\"ColumnId\");\n fieldNames.add(\"ModifiedBy\");\n fieldNames.add(\"CreatedBy\");\n fieldNames.add(\"ModifiedDate\");\n fieldNames.add(\"CreatedDate\");\n fieldNames = Collections.unmodifiableList(fieldNames);\n }\n return fieldNames;\n }", "title": "" }, { "docid": "14af4c5bf4246c69d2ccce4f64510c23", "score": "0.5218896", "text": "public abstract List<String> getUrlChain();", "title": "" }, { "docid": "b4b93c80d92ac31b157f60c112c69313", "score": "0.5216739", "text": "public java.util.Map<CharSequence, CharSequence> getFields() {\n return fields;\n }", "title": "" }, { "docid": "7376dec937eac91827d03c41fe77d9da", "score": "0.5216632", "text": "protected List<Field> getFields(Class object, List<Field> fields, ExcellEndpoint endpoint) {\n\t\tif (endpoint.getFieldNames() != null) {\n\t\t\tfor (String fieldName : endpoint.getFieldNames().keySet()) {\n\t\t\t\ttry {\n\t\t\t\t\tfields.add(object.getClass().getField(fieldName));\n\t\t\t\t} catch (SecurityException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (NoSuchFieldException e) {\n\t\t\t\t\tLOG.error(\"Field with name '\" + fieldName + \"' does not exist for object of class '\" + object.getClass().getName() + \"'.\");\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t/** Else take all fields.*/\n\t\telse {\n\t\t\trecursivlyGetFields(object, fields);\n\t\t}\n\n\t\treturn fields;\n\t}", "title": "" }, { "docid": "08cc3ae519a18c8dcc0deccf230aecb5", "score": "0.5201608", "text": "public java.util.Map<CharSequence, CharSequence> getFields() {\n return fields;\n }", "title": "" }, { "docid": "dab1755bc7f5b227479b005b23ca2926", "score": "0.5195006", "text": "public ArrayList<String> getDerivativeFromURLList()\n\t{\n\t\treturn derivativeFromURL;\n\t}", "title": "" }, { "docid": "f9537586850e84b9d4739442b724bb78", "score": "0.519035", "text": "public Set<Field> getFields() \n {\n return this.fields;\n }", "title": "" }, { "docid": "a86a48e5e5a31f1ba876e60a7b72ec21", "score": "0.5186363", "text": "public Map<String, String> getFields() {\n return this.fields;\n }", "title": "" }, { "docid": "8eccde7a8affad279535031731fdec59", "score": "0.51857364", "text": "@Override\n\t\tpublic List<String> indexFields() {\n\t\t\tList<String> list = new ArrayList<String>(50);\n\t\t\tlist.add(FN_TITLE);\n\t\t\tlist.add(FN_DESCRIBE);\n\t\t\tlist.add(FN_AUTHOR);\n\t\t\tlist.add(FN_PUBLISHER);\n\t\t\tlist.add(FN_CONTENT);\n\t\t\treturn list;\n\t\t}", "title": "" }, { "docid": "7f01c1b8c6a23bed02d46550bb02819f", "score": "0.51856446", "text": "public List<FieldElement> getFields() {\r\n List<FieldElement> result = new ArrayList<>();\r\n List<? extends Element> members = getElementUtils().getAllMembers(originElement);\r\n List<VariableElement> fields = ElementFilter.fieldsIn(members);\r\n for (VariableElement field : fields) {\r\n result.add(new FieldElement(processingEnv, this, field));\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "4ae60e2c93aaae4e9d78ab74cc1600c8", "score": "0.5180241", "text": "public List<String> getLayoutFields() {\n return getElementListText( layoutFields );\n }", "title": "" }, { "docid": "9871b542d70975feeff4680f19f180b0", "score": "0.5172729", "text": "public com.google.protobuf.ProtocolStringList\n getAuthURLsList() {\n return authURLs_.getUnmodifiableView();\n }", "title": "" }, { "docid": "910d6014b8ce099ae73e6d9a79474abe", "score": "0.5160652", "text": "public static List getFieldsName() {\n Field[] fields = Recommendation.class.getDeclaredFields();\n List<String> allFieldsName = Stream.of(fields).filter(field -> {\n return field.getType().equals(String.class);\n }).map(field -> field.getName()).collect(Collectors.toList());\n return allFieldsName;\n }", "title": "" }, { "docid": "4c45680a1d6d7c996705578f46229a94", "score": "0.51563954", "text": "DataFields getDataFields();", "title": "" }, { "docid": "7e7e2c6cad5f66ba56c4a0e384a839e7", "score": "0.5155628", "text": "public static synchronized List getFieldNames()\n {\n if (fieldNames == null)\n {\n fieldNames = new ArrayList();\n fieldNames.add(\"CustomerId\");\n fieldNames.add(\"CustomerCode\");\n fieldNames.add(\"Status\");\n fieldNames.add(\"Priority\");\n fieldNames.add(\"CustomerType\");\n fieldNames.add(\"CustomerCatId\");\n fieldNames.add(\"LeadSourceId\");\n fieldNames.add(\"CustomerName1\");\n fieldNames.add(\"CustomerName2\");\n fieldNames.add(\"CustomerDisplay\");\n fieldNames.add(\"Dear\");\n fieldNames.add(\"IndustryId\");\n fieldNames.add(\"Address1\");\n fieldNames.add(\"Address2\");\n fieldNames.add(\"Address3\");\n fieldNames.add(\"City\");\n fieldNames.add(\"Zip\");\n fieldNames.add(\"State\");\n fieldNames.add(\"CountryId\");\n fieldNames.add(\"RegionId\");\n fieldNames.add(\"ShiptoAddress1\");\n fieldNames.add(\"ShiptoAddress2\");\n fieldNames.add(\"ShiptoAddress3\");\n fieldNames.add(\"ShiptoCity\");\n fieldNames.add(\"ShiptoZip\");\n fieldNames.add(\"ShiptoState\");\n fieldNames.add(\"ShiptoCountryId\");\n fieldNames.add(\"ShiptoRegionId\");\n fieldNames.add(\"Phone1\");\n fieldNames.add(\"Phone2\");\n fieldNames.add(\"Fax\");\n fieldNames.add(\"Email\");\n fieldNames.add(\"EmailFormat\");\n fieldNames.add(\"SendNews\");\n fieldNames.add(\"WebUrl\");\n fieldNames.add(\"LanguageId\");\n fieldNames.add(\"Gender\");\n fieldNames.add(\"AgeCatId\");\n fieldNames.add(\"EducationCatId\");\n fieldNames.add(\"HouseholdCatId\");\n fieldNames.add(\"TaxIdNo\");\n fieldNames.add(\"Ownership\");\n fieldNames.add(\"RevenueCatId\");\n fieldNames.add(\"EmployeeNoCatId\");\n fieldNames.add(\"Custom1\");\n fieldNames.add(\"Custom2\");\n fieldNames.add(\"Custom3\");\n fieldNames.add(\"Custom4\");\n fieldNames.add(\"Custom5\");\n fieldNames.add(\"Custom6\");\n fieldNames.add(\"AllowLogin\");\n fieldNames.add(\"AllowProfileEdit\");\n fieldNames.add(\"LoginExisted\");\n fieldNames.add(\"LoginName\");\n fieldNames.add(\"PasswordValue\");\n fieldNames.add(\"Notes\");\n fieldNames.add(\"Created\");\n fieldNames.add(\"Modified\");\n fieldNames.add(\"CreatedBy\");\n fieldNames.add(\"ModifiedBy\");\n fieldNames = Collections.unmodifiableList(fieldNames);\n }\n return fieldNames;\n }", "title": "" }, { "docid": "29664ba4445a52ca1ae2a2fbb95e5234", "score": "0.5147916", "text": "public Color[] getFields() {\n \treturn fields;\n }", "title": "" }, { "docid": "d6e2ece08659cdc51a5a9ff6f9e8b4a6", "score": "0.51438767", "text": "public List<JRHyperlinkParameter> getHyperlinkParametersList()\n\t{\n\t\treturn hyperlinkParameters;\n\t}", "title": "" }, { "docid": "177599d6e4dbb176f4e3004fd62755e9", "score": "0.5136718", "text": "public JTextField getUrl() {\n return url;\n }", "title": "" }, { "docid": "df6133dee41d46ab3f5444a19ce79983", "score": "0.51362246", "text": "public List<ScadaFieldDescriptor> getFieldDescriptors() {\n return this.lstFldDscr;\n }", "title": "" }, { "docid": "82bc87af0786d7d7bee48deb92443c27", "score": "0.5120723", "text": "public static String[] getDataFields() {\n String[] dataFields = new String[7];\n dataFields[0] = ID_COLUMN;\n dataFields[1] = DATE_COLUMN;\n dataFields[2] = TIME_COLUMN;\n dataFields[3] = PLACE_COLUMN;\n dataFields[4] = URL_COLUMN;\n dataFields[5] = CONTENT_TYPE_COLUMN;\n dataFields[6] = TEXT_COLUMN;\n return dataFields;\n }", "title": "" }, { "docid": "5e27ab845a6d3c23ec34da3d71e33129", "score": "0.5118543", "text": "public java.util.List<com.sun.java.xml.ns.j2Ee.UrlPatternType> getUrlPatternList()\n {\n final class UrlPatternList extends java.util.AbstractList<com.sun.java.xml.ns.j2Ee.UrlPatternType>\n {\n public com.sun.java.xml.ns.j2Ee.UrlPatternType get(int i)\n { return WebResourceCollectionTypeImpl.this.getUrlPatternArray(i); }\n \n public com.sun.java.xml.ns.j2Ee.UrlPatternType set(int i, com.sun.java.xml.ns.j2Ee.UrlPatternType o)\n {\n com.sun.java.xml.ns.j2Ee.UrlPatternType old = WebResourceCollectionTypeImpl.this.getUrlPatternArray(i);\n WebResourceCollectionTypeImpl.this.setUrlPatternArray(i, o);\n return old;\n }\n \n public void add(int i, com.sun.java.xml.ns.j2Ee.UrlPatternType o)\n { WebResourceCollectionTypeImpl.this.insertNewUrlPattern(i).set(o); }\n \n public com.sun.java.xml.ns.j2Ee.UrlPatternType remove(int i)\n {\n com.sun.java.xml.ns.j2Ee.UrlPatternType old = WebResourceCollectionTypeImpl.this.getUrlPatternArray(i);\n WebResourceCollectionTypeImpl.this.removeUrlPattern(i);\n return old;\n }\n \n public int size()\n { return WebResourceCollectionTypeImpl.this.sizeOfUrlPatternArray(); }\n \n }\n \n synchronized (monitor())\n {\n check_orphaned();\n return new UrlPatternList();\n }\n }", "title": "" }, { "docid": "d2623ad2772d17ba0e6651e078d4fe68", "score": "0.5113039", "text": "java.util.List<com.databricks.api.proto.mlflow.Service.Param> \n getParamsList();", "title": "" }, { "docid": "69de4b1d90ca44f20ab60d5d1b852b48", "score": "0.5100896", "text": "private List<String> parseFields(String text) {\n return Arrays.asList(text.split(FIELD_DELIMITER));\n }", "title": "" }, { "docid": "b3eb8363711d71980466121939d7f900", "score": "0.50925946", "text": "public final List<String> getLinkopts() {\n return this.linkopts;\n }", "title": "" }, { "docid": "01f3e0e0615691668e62a845ad7eac3e", "score": "0.5065515", "text": "public String asUrlParams() {\n\t\treturn String.format(\"language=%s&textType=%s\", language, textType);\n\t}", "title": "" }, { "docid": "f20875902cf3e23aed05406540260bda", "score": "0.5062099", "text": "public List<String> getOrderFields(){\n return orderFields;\n }", "title": "" }, { "docid": "73cba99651e9e95be0ad6bf8268b36ef", "score": "0.5060518", "text": "public String[] getURLs(Document doc) {\n String[] urls = null;\n List<String> urlList = new ArrayList<String>();\n \n Filter f = new ElementFilter(\"URL\");\n Iterator it = doc.getDescendants(f);\n \n while (it.hasNext()) {\n Element elt = (Element) it.next();\n urlList.add(elt.getText());\n }\n \n return urlList.toArray(new String[urlList.size()]);\n }", "title": "" }, { "docid": "b8775db28045ca1b45ac98e131190ff2", "score": "0.5052484", "text": "public abstract String getEntityListUrl();", "title": "" } ]
083837f03feb0c4b635bc241f2d36d06
Retrieves the signer's X.509 certificate chain.
[ { "docid": "1f3d7c1b7d86bf25d580f2af1adc6655", "score": "0.80349857", "text": "public X509Certificate[] getSignerCertificateChain() {\n return signerCertificateChain;\n }", "title": "" } ]
[ { "docid": "f709234b756eab9b5c0df3571ec1e750", "score": "0.69536304", "text": "public Certificate[] getCertificateChain() {\n return chain.clone();\n }", "title": "" }, { "docid": "84012e9f1bf390046aef15e01f3a82f2", "score": "0.6888591", "text": "Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement getCertificateChain(int index);", "title": "" }, { "docid": "2b33797ccb8678d38c8c5dc58772475d", "score": "0.6879556", "text": "X509Certificate getSignerCertificate();", "title": "" }, { "docid": "70ad8ae8222403dacd68c37a231b7562", "score": "0.67913294", "text": "java.util.List<Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement> \n getCertificateChainList();", "title": "" }, { "docid": "3c530bd7c4dd02e59ab43e0bd6b98c58", "score": "0.66464657", "text": "public Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement getCertificateChain(int index) {\n return certificateChain_.get(index);\n }", "title": "" }, { "docid": "98a0ab3722ff0ccac1a983c2e68e599b", "score": "0.6635593", "text": "public java.util.List<Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement> getCertificateChainList() {\n return certificateChain_;\n }", "title": "" }, { "docid": "34626b6972792854fd8ed7f5a757db75", "score": "0.65533346", "text": "public Certificate[] getKeyStoreCertificateChain(KeyStore keyStore) throws KeyStoreException {\n return keyStore.getCertificateChain(\"mykey\");\n }", "title": "" }, { "docid": "c713ff0698b0c001b74f2a7ea1d4e752", "score": "0.65007114", "text": "public java.util.List<Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement> getCertificateChainList() {\n if (certificateChainBuilder_ == null) {\n return java.util.Collections.unmodifiableList(certificateChain_);\n } else {\n return certificateChainBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "4fbcca7469856f453dec9c9cbc4f184f", "score": "0.6481044", "text": "public Object[] getPeerCertificateChain() throws IOException\n {\n return getPeerCertificateChain(false);\n }", "title": "" }, { "docid": "38f45a423ce92ba985079fa9b593653b", "score": "0.6478349", "text": "Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElementOrBuilder getCertificateChainOrBuilder(\n int index);", "title": "" }, { "docid": "cb6aa3f312b74bc6d67c80b509d6831c", "score": "0.64765936", "text": "java.util.List<? extends Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElementOrBuilder> \n getCertificateChainOrBuilderList();", "title": "" }, { "docid": "2c2185331882d32a10aea502663a63eb", "score": "0.64350164", "text": "public java.util.List<? extends Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElementOrBuilder> \n getCertificateChainOrBuilderList() {\n return certificateChain_;\n }", "title": "" }, { "docid": "46d6dd65cf8830b4c6a1a1ad0033cb0c", "score": "0.6398868", "text": "public Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElementOrBuilder getCertificateChainOrBuilder(\n int index) {\n return certificateChain_.get(index);\n }", "title": "" }, { "docid": "a9b7cdac35934811a690d34184ba402f", "score": "0.6382043", "text": "public Certificate getCertificate() {\n return chain[0];\n }", "title": "" }, { "docid": "88a1f010ef65a9f60c0139969b48bbbb", "score": "0.6354622", "text": "public Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement getCertificateChain(int index) {\n if (certificateChainBuilder_ == null) {\n return certificateChain_.get(index);\n } else {\n return certificateChainBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "cb37bbc8736bd93062ff488ac98a28d8", "score": "0.63301957", "text": "public java.util.List<? extends Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElementOrBuilder> \n getCertificateChainOrBuilderList() {\n if (certificateChainBuilder_ != null) {\n return certificateChainBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(certificateChain_);\n }\n }", "title": "" }, { "docid": "f1e1c5f416744bb81544148b0e7dd1cd", "score": "0.6163836", "text": "public Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElementOrBuilder getCertificateChainOrBuilder(\n int index) {\n if (certificateChainBuilder_ == null) {\n return certificateChain_.get(index); } else {\n return certificateChainBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "f635979e9ffd18d02778590ab5bbb679", "score": "0.61616164", "text": "@Override\n public X509Certificate getSignerCert() {\n \treturn null;\n }", "title": "" }, { "docid": "6e5e33565638cf094c4a4e873b239870", "score": "0.6122475", "text": "public ArrayList<X509Certificate> getOCSPSigner() {\r\n\t\treturn this.ocspSignerCerts;\r\n\t}", "title": "" }, { "docid": "4f9e0ed146d9f5c5f95ad803bb4cca9b", "score": "0.60707325", "text": "public Certificate[] getPublicKeyCertificateChain(String serviceURL){\n\t\t//TODO\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d6c61206b93975b30016930bbc718a25", "score": "0.59510046", "text": "X509Certificate[] getRealCertificateChain() throws Exception {\n\n X509Certificate intermediateCert = createCertificateFromResourceFile(TestConstants.INTERMEDIATE_CERT);\n X509Certificate rootCert = createCertificateFromResourceFile(TestConstants.ROOT_CERT);\n\n return new X509Certificate[] { intermediateCert, rootCert };\n }", "title": "" }, { "docid": "e682750625330959ef30c52302603f41", "score": "0.5851502", "text": "@Override public X509Certificate[] getCertificateChain(String alias) {\n return null;\n }", "title": "" }, { "docid": "d71b9adf473dd2b5e61f832dd98f0c96", "score": "0.57457626", "text": "public List<X509Certificate> getCertificates() {\n/* 395 */ return this.certs;\n/* */ }", "title": "" }, { "docid": "abb7a146d1cb99b40f0be5197de2a7ec", "score": "0.572765", "text": "Collection<CertificateMetadata> getCertificates();", "title": "" }, { "docid": "428b6621da3ef72f04a9228ff53908c8", "score": "0.5668483", "text": "@ApiModelProperty(required = true,\n value = \"A chain of X509.v3 trusted certificates in PEM format. The chain must contain all certificates from root to leaf. Otherwise, the signature parameter is required.\")\n public String getCertificate() {\n return certificate;\n }", "title": "" }, { "docid": "8641d253f54a587e810ae1def3e77a9c", "score": "0.56604403", "text": "public Vector<CertificatePath> getCertificatePaths() {\n\t\treturn certificatePaths;\n\t}", "title": "" }, { "docid": "817c9b974815160368b3a88d72f5d033", "score": "0.5629718", "text": "public java.util.List<Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement.Builder> \n getCertificateChainBuilderList() {\n return getCertificateChainFieldBuilder().getBuilderList();\n }", "title": "" }, { "docid": "8d76316731423c39e9b31657060591a5", "score": "0.5629335", "text": "public Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement.Builder addCertificateChainBuilder() {\n return getCertificateChainFieldBuilder().addBuilder(\n Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement.getDefaultInstance());\n }", "title": "" }, { "docid": "9dfa2fb9f64d518a2a16e944dc63dfd9", "score": "0.5620464", "text": "public int getCertificateChainCount() {\n return certificateChain_.size();\n }", "title": "" }, { "docid": "657eb7b6885e44e933a2b35a78cb5b46", "score": "0.5597219", "text": "public Certificate[] getCertificates() {\n/* 108 */ return (this.certs == null) ? null : (Certificate[])this.certs.clone();\n/* */ }", "title": "" }, { "docid": "20a0182b8edc96e2087ac0b243f057c3", "score": "0.5574826", "text": "CertificateMetadata getRootCertificate();", "title": "" }, { "docid": "d1d517b172950b3376b7066f25addb28", "score": "0.5574518", "text": "public Certificate[] getCertificates () throws IOException\n {\n JarEntry entry = getJarEntry();\n \n return entry != null ? entry.getCertificates() : null;\n }", "title": "" }, { "docid": "a52c5d87158b251f20a37609284e6934", "score": "0.5567503", "text": "public synchronized Certificate[] getCaGridProxyCertificateChain(String authNServiceURL,\n\t\t\tString dorianServiceURL) throws CMException{\n\t\t\n\t\tsynchronized (Security.class) {\n\t\t\tArrayList<Provider> oldBCProviders = unregisterOldBCProviders();\n\t\t\tSecurity.addProvider(bcProvider);\n\t\t\n\t\t\tString proxyAlias = \"cagridproxy#\" + authNServiceURL + \" \" + dorianServiceURL;\n\n\t // Get the proxy key pair entry's certificate chain\n\t\t\tCertificate[] certChain = null;\n\t\t\ttry {\n\t\t\t\tcertChain = getCertificateChain(proxyAlias);\n\t\t\t} catch (Exception ex) {\n\t\t\t\tString exMessage = \"Credential Manager: Failed to get the certificate chain for the proxy entry\";\n\t\t\t\tlogger.error(exMessage);\n\t\t\t\tex.printStackTrace();\n\t\t\t\tthrow new CMException(exMessage);\n\t\t\t}\n\t\t\tfinally{\n\t\t\t\t// Add the old BC providers back and remove the one we have added\n\t\t\t\trestoreOldBCProviders(oldBCProviders);\n\t\t\t}\n\t\t\treturn certChain;\n\t\t}\n\t}", "title": "" }, { "docid": "6878242fa016c692046a92fcd8640069", "score": "0.554198", "text": "@SuppressWarnings(\"deprecation\") // Used in public Conscrypt APIs\n static javax.security.cert.X509Certificate[] toCertificateChain(X509Certificate[] certificates)\n throws SSLPeerUnverifiedException {\n try {\n javax.security.cert.X509Certificate[] chain =\n new javax.security.cert.X509Certificate[certificates.length];\n\n for (int i = 0; i < certificates.length; i++) {\n byte[] encoded = certificates[i].getEncoded();\n chain[i] = javax.security.cert.X509Certificate.getInstance(encoded);\n }\n return chain;\n } catch (CertificateEncodingException | javax.security.cert.CertificateException e) {\n SSLPeerUnverifiedException exception = new SSLPeerUnverifiedException(e.getMessage());\n exception.initCause(e);\n throw exception;\n }\n }", "title": "" }, { "docid": "31b5c8e5e61675b4a0987ea95affb760", "score": "0.549863", "text": "public Certificate[] getCertificates() {\n\treturn certs;\n }", "title": "" }, { "docid": "165eda510a77acdee394e9804b858496", "score": "0.5495739", "text": "int getCertificateChainCount();", "title": "" }, { "docid": "6bdfe371d497afc6101ac6e3ef752674", "score": "0.54872835", "text": "X509Certificate[] getFakeCertificateChain() throws Exception {\n\n KeyPair rootKeyPair = generateRSAKeyPair();\n X509Certificate rootCert = generateFakeRootCert(rootKeyPair);\n KeyPair entityKeyPair = generateRSAKeyPair();\n BigInteger entitySerialNum = BigInteger.valueOf(111);\n X509Certificate entityCert = generateFakeCertificate(rootCert, entityKeyPair.getPublic(),\n entitySerialNum, rootKeyPair);\n return new X509Certificate[] { entityCert, rootCert };\n }", "title": "" }, { "docid": "8a297168bc73d9f2f6416a5403c32627", "score": "0.54474455", "text": "public Certificate[] getCertificateChain(String alias) throws CMException{\n\t\tsynchronized (Security.class) {\n\t\t\tArrayList<Provider> oldBCProviders = unregisterOldBCProviders();\n\t\t\tSecurity.addProvider(bcProvider);\n\n\t\t\ttry {\n\t\t\t\tsynchronized (keystore) {\n\t\t\t\t\treturn keystore.getCertificateChain(alias);\n\t\t\t\t}\n\t\t\t} \n\t\t\tcatch (Exception ex) {\n\t\t\t\tString exMessage = \"Credential Manager: Failed to fetch certificate chain for the keypair from the Keystore\";\n\t\t\t\tlogger.error(exMessage, ex);\n\t\t\t\tthrow (new CMException(exMessage));\n\t\t\t}\n\t\t\tfinally{\n\t\t\t\t// Add the old BC providers back and remove the one we have added\n\t\t\t\trestoreOldBCProviders(oldBCProviders);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "53f0842fe0f6ecab52664dc588dbf644", "score": "0.5438322", "text": "CertificatesClient getCertificates();", "title": "" }, { "docid": "662cbf4ce9159fff3d2824da4611fc58", "score": "0.54286784", "text": "com.google.protobuf.ByteString getCert();", "title": "" }, { "docid": "4523952c0e43c9c83d67a6b4bed879e3", "score": "0.5425924", "text": "public Object[] getSigners() {\n\t return getClassLoaderImpl().getSigners(this);\n}", "title": "" }, { "docid": "ed754edd9c55394fa389e468c63f4484", "score": "0.54244506", "text": "public int getCertificateChainCount() {\n if (certificateChainBuilder_ == null) {\n return certificateChain_.size();\n } else {\n return certificateChainBuilder_.getCount();\n }\n }", "title": "" }, { "docid": "37c71a2f061db4b19dbd817f2dea898a", "score": "0.5421097", "text": "@Override\n\tpublic CertificateChainType getContractCertificateChain(X509Certificate oemProvisioningCert) {\n\t\treturn SecurityUtils.getCertificateChain(\"./moCertChain.p12\");\n\t}", "title": "" }, { "docid": "8287c9d883b7672b1668365a8d037240", "score": "0.54148966", "text": "@Nonnull @Unmodifiable @NotLive default List<String> getSigningCertificates() {\n return CollectionSupport.emptyList();\n }", "title": "" }, { "docid": "342fb6c1655b4dc9c102a6c59ba6c05b", "score": "0.54055357", "text": "private static PKIXCertPathBuilderResult buildCertificateChain(X509Certificate cert, Set<X509Certificate> trustedRootCerts, Set<X509Certificate> intermediateCerts, String provider) throws GeneralSecurityException {\r\n \t\tif (LOG.isLoggable(Level.FINE)) {\r\n \t\t\tLOG.fine(\"Building cert chain for \" + cert.getSubjectDN().getName() + \", serial \" + cert.getSerialNumber());\r\n \t\t}\r\n \t\t// Create the selector that specifies the starting certificate\r\n \t\tX509CertSelector selector = new X509CertSelector();\r\n \t\tselector.setCertificate(cert);\r\n\t\t\r\n\t\tintermediateCerts.add(cert); // Workaround for IBM J9\r\n \r\n \t\t// Create the trust anchors (set of root CA certificates)\r\n \t\tSet<TrustAnchor> trustAnchors = new HashSet<TrustAnchor>();\r\n \t\tfor (X509Certificate trustedRootCert : trustedRootCerts) {\r\n \t\t\ttrustAnchors.add(new TrustAnchor(trustedRootCert, null));\r\n \t\t}\r\n \r\n \t\t// Configure the PKIX certificate builder algorithm parameters\r\n\t\tPKIXBuilderParameters pkixParams = new PKIXBuilderParameters(trustAnchors, selector); \r\n \r\n \t\t// Disable CRL checks (this is done manually as additional step)\r\n \t\tpkixParams.setRevocationEnabled(false);\r\n \r\n \t\t// Specify a list of intermediate certificates\r\n \t\tCertStore intermediateCertStore = CertStore.getInstance(\"Collection\", new CollectionCertStoreParameters(intermediateCerts));\r\n \t\tpkixParams.addCertStore(intermediateCertStore);\r\n\t\t\t\t\r\n \t\tpkixParams.setSigProvider(provider);\r\n \r\n \t\t// Build and verify the certification chain\r\n \t\tCertPathBuilder builder = CertPathBuilder.getInstance(CERT_BUILDER_ALG_PKIX);\r\n \t\tPKIXCertPathBuilderResult result = (PKIXCertPathBuilderResult) builder.build(pkixParams);\r\n \t\tint certPathLen = result.getCertPath().getCertificates().size();\r\n \t\t\r\n \t\tif (LOG.isLoggable(Level.FINE)) {\r\n \t\t\tLOG.fine(\"Building cert chain complited for \" + cert.getSubjectDN().getName() + \" using builder's provider \" + builder.getProvider().getName() + \" with signature provider \" + pkixParams.getSigProvider());\r\n \t\t\tTrustAnchor trustAnchor = result.getTrustAnchor();\r\n \t\t\tLOG.fine(\"Certificate chain has built: Root (trusted) anchor is '\" + (certPathLen != 0 ? trustAnchor.getTrustedCert().getSubjectDN().getName() : \"SELF -> self-signed\") + \"', total path lenght is \" + certPathLen);\r\n \t\t\t\r\n \t\t}\r\n \t\t\r\n \t\tif (certPathLen < 2) {\r\n \t\t\tLOG.warning(\"\\tCertPath is very short. Use more sophisticated PKI infrastructure.\");\r\n \t\t}\r\n \t\treturn result;\r\n \t}", "title": "" }, { "docid": "3a0a76357bfcb19dc69acabbfbe543d7", "score": "0.5393462", "text": "public Vector<Certification> getCertificates() {\n\t\t\treturn certificates;\n\t\t}", "title": "" }, { "docid": "fbb3c7a3b8280b78a69f4c15c49dc1ed", "score": "0.5393257", "text": "protected X509Certificate[] getCerts() {\n return certs;\n }", "title": "" }, { "docid": "f1794561bbc72f8bc5c65e779e8d1921", "score": "0.53547055", "text": "public Diadoc.Api.Proto.SignatureVerificationResultProtos.CertificateChainElement.Builder getCertificateChainBuilder(\n int index) {\n return getCertificateChainFieldBuilder().getBuilder(index);\n }", "title": "" }, { "docid": "ec644172ffec6ac259c5bbd150f98a29", "score": "0.5322773", "text": "@Override\n public X509Certificate[] getPeerCertificates() {\n return sslCertificates;\n }", "title": "" }, { "docid": "502663d175844dee1c8d0e644f17bbbb", "score": "0.5321876", "text": "private java.security.cert.Certificate[] extractCertificates(String certificatePEM, byte[] certificateDER)\r\n\t\t\tthrows Exception {\r\n\t\tjava.security.cert.Certificate[] chain = null;\r\n\t\tInputStream inputStream = null;\r\n\t\ttry {\r\n\t\t\tif (certificatePEM != null) {\r\n\t\t\t\tinputStream = new ByteArrayInputStream(certificatePEM.getBytes());\r\n\t\t\t} else {\r\n\t\t\t\tinputStream = new ByteArrayInputStream(certificateDER);\r\n\t\t\t}\r\n\r\n\t\t\tCertificateFactory cf = CertificateFactory.getInstance(\"X.509\");\r\n\t\t\tCollection<?> c = cf.generateCertificates(inputStream);\r\n\t\t\tint numberOfCertificates = c.size();\r\n\t\t\tif (numberOfCertificates == 0) {\r\n\t\t\t\tthrow new Exception(ErrorMessageBundle.CERTIFICATE_NOT_FOUND);\r\n\t\t\t}\r\n\t\t\tchain = new java.security.cert.Certificate[numberOfCertificates];\r\n\t\t\tIterator<?> i = c.iterator();\r\n\t\t\tint counter = 0;\r\n\t\t\twhile (i.hasNext()) {\r\n\t\t\t\tX509Certificate cert509 = (X509Certificate) i.next();\r\n\t\t\t\t// Check if introduced certificate is valid. If is not then a\r\n\t\t\t\t// exception is thrown and the message will be visible in\r\n\t\t\t\t// interface.\r\n\t\t\t\tcert509.checkValidity();\r\n\t\t\t\tchain[counter] = cert509;\r\n\t\t\t\tcounter++;\r\n\t\t\t}\r\n\t\t\treturn chain;\r\n\t\t} finally {\r\n\t\t\ttry {\r\n\t\t\t\tif (inputStream != null) {\r\n\t\t\t\t\tinputStream.close();\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\t// TODO: handle exception\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "eade57e4f017f39b40133c8e2bf3c01e", "score": "0.5254672", "text": "public X509Certificate getCertificate()\n {\n return _cert;\n }", "title": "" }, { "docid": "d37e98b048e69c84571c969621d7493c", "score": "0.52106255", "text": "public File getCertificatePath()\r\n {\n return certificatePath;\r\n }", "title": "" }, { "docid": "f627523ed1ec86342f6307d62832d971", "score": "0.5208091", "text": "public List<X509Certificate> getTrustedSigningCertificatesForTesting() {\n return trustedSigningCertificates;\n }", "title": "" }, { "docid": "3c4294b9b6f295d064cbee68a3a2d080", "score": "0.51785666", "text": "java.util.List<edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain> \n getCorefChainList();", "title": "" }, { "docid": "696478477e03b9a39a69bc5243177797", "score": "0.51649195", "text": "public String cert() {\n return this.cert;\n }", "title": "" }, { "docid": "b7a49a387c14fadd76cae9d3c88898a7", "score": "0.5154721", "text": "public abstract List<TlsCertificate> getCertificateList();", "title": "" }, { "docid": "f041eae9e9d544ed9111089964c6478a", "score": "0.5095993", "text": "public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException\n {\n if (session != null)\n return session.getPeerCertificates();\n return null;\n }", "title": "" }, { "docid": "024b14797b43de1c267a26a40a1e1ea2", "score": "0.50944024", "text": "com.google.protobuf.ByteString getDerCertificate();", "title": "" }, { "docid": "21d6556003100208cc76c7f3376d3d2d", "score": "0.50785726", "text": "public List<SamlddNameCertificate> getCertificates() {\r\n\t\treturn Collections.unmodifiableList(certs);\r\n\t}", "title": "" }, { "docid": "56f8d3fa6fe59c7adfbde4f81f74c188", "score": "0.5061021", "text": "public static final void printServerCertificateChain( StringBuffer con, URL url ) {\n\t\t\n\t\tDocPrintUtil.println(con, \"[Server certificate chain]\" );\n\t\t\n\t\tStringBuffer buff = new StringBuffer();\n\t\t\n\t\tDocPrintUtil.println(con,\"Chain Summary, end-entity --> root\" );\n\t\t\n X509Certificate[] certs;\n \n\t\ttry {\n\t\t\tcerts = CipherSuiteUtil.getServerCertificateChain(url);\n\t\t\t\n\t\t\tboolean firstcert = true; \n\t\t\tX509Certificate lastcert = null;\n\t\t\tString fingerprint = \"\";\n\t\t\tint n=0;\n\t\t\t\n\t for (X509Certificate c : certs) {\n \t \n\t\t\t\t//fingerprint = CipherSuiteUtil.sha1Fingerprint(c.getEncoded());\n\t \t\n\t\t\t\tif( CipherSuiteUtil.isSelfSignedCertificate(c) ) {\n\t\t\t\t\t\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t \t\n\t\t\t\tDocPrintUtil.println(con,buff.toString()+\"|\" ); \n\t\t\t\tDocPrintUtil.println(con,buff.toString()+\"|\" );\n\t\t\t\t\n\t\t\t\tStringBuffer attributes = new StringBuffer();\n\t\t\t\t\n\t\t\t\tattributes.append(\"NODE\"+n+\"(\");\n\t\t\t\t\n\t\t\t\tif( firstcert ) {\n\t\t\t\t\t\n\t\t\t\t\tattributes.append(\"End-Entity \");\n\t\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\t\n\t\t\t\t\tattributes.append(\"Intermediate CA \");\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tattributes.append(\")--->\");\n\t\t\t\tattributes.append(\"SubjectDN=\"+c.getSubjectDN().getName()+\" IssuerDN=\"+c.getIssuerDN().getName());\n\t\t\t\t\n\t \t\t //TODO: Signature algorithm is different than a digest algorithm. Need to understand\n\t \t\t // if parsing SHA256withRSA into SHA256 will work consistently.\n\t\t\t\tbyte[] encx509 = c.getEncoded();\n\t \tString calgo = c.getSigAlgName();\n\t \t\t String sa = calgo.substring(0,calgo.indexOf(\"with\"));\n\t \t\t attributes.append(\", \"+sa+\"(Fingerprint)=\"+CipherSuiteUtil.signerFingerprint(encx509,sa));\n\t\t\t\t\n\n\t\t\t\tDocPrintUtil.println(con,buff.toString()+attributes.toString() );\n\t\t\t\t\n\t\t\t\tfirstcert = false;\n\t\t\t\tlastcert = c;\n\t\t\t\tbuff.append(\" \");\n\t\t\t\t\n\t\t\t\tn++;\n\t\n\t }\n\t \n\t\t\tDocPrintUtil.println(con,buff.toString()+\"|\" ); \n\t\t\tDocPrintUtil.println(con,buff.toString()+\"|\" );\n\t\t\tbuff.append( \"NODE\"+n+\"(\");\n\t \n\t // At this point we have printed all certs returned by the server\n\t // (via getServerCertificateChain()). Note the server does NOT\n\t\t\t// return the root CA cert to us. However, we can infer the\n\t\t\t// root by checking IssuerDN of the last Intermediate CA and\n\t\t\t// the AuthorityKeyIdentifier (if present).\t \t\t\n\t\t\tif( CipherSuiteUtil.isJavaRootCertificateDN(lastcert.getIssuerDN().getName()) ) {\n\t\t\t\t\n\t\t\t\tbuff.append(\"Java Root CA \");\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\t\n\t\t\t\tbuff.append(\"Self-Signed CA \");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tbuff.append(\")--->\");\n\t\t\tbuff.append(\"SubjectDN=\"+lastcert.getIssuerDN().getName());\n\t\t\t\n \t\t //TODO: Signature algorithm is different than a digest algorithm. Need to understand\n \t\t // if parsing SHA256withRSA into SHA256 will work consistently.\n\t\t\tbyte[] encx509 = lastcert.getEncoded();\n \tString calgo = lastcert.getSigAlgName();\n \t\t String sa = calgo.substring(0,calgo.indexOf(\"with\"));\n\t\t\tbuff.append(\", \"+sa+\"(Fingerprint)=\"+CipherSuiteUtil.signerFingerprint(encx509,sa));\n\t\t\t\n\t\t\tDocPrintUtil.println(con,buff.toString() );\n\n\t buff = new StringBuffer();\n\n\t\t\tDocPrintUtil.println(con,\"\" ); \n\t\t\tDocPrintUtil.println(con, \"[Chain details]\" );\n\t \n\t\t\tint n1=0;\n\t for (X509Certificate c : certs) {\n\t \t\n\t\t\t\tDocPrintUtil.println(con,\"[NODE\"+n1+\"] \");\n\t\t\t\tprintX509Certificate(con,c);\n\t\t\t\tn1++;\n\t\t\t\t\n\t\n\t }\n\t \n\t\t} catch (SSLHandshakeException e ) {\n\t\t\t\n\t\t\tif( e.getMessage().indexOf(\"PKIX\") > 0 ) {\n\t\t\t\tDocPrintUtil.println(con,\"Certificate chain failed validation.\" );\n\t\t\t\tDocPrintUtil.println(con,\"\");\n\t\t\t\tlogger.error(\"Certificate chain failed validation. err=\"+e.getMessage(),e );\n\t\t\t}else{\n\t\t\t\tDocPrintUtil.println(con,\"SSLHandshakeException. err=\"+e.getMessage() );\n\t\t\t\tDocPrintUtil.println(con,\"\");\n\t\t\t\tlogger.error(\"SSLHandshakeException. err=\"+e.getMessage(),e );\n\t\t\t}\n\t\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tDocPrintUtil.println(con,\"Problem fetching certificates. err=\"+e.getMessage() );\n\t\t\tDocPrintUtil.println(con,\"\");\n\t\t\tlogger.error(\"Problem fetching certificates. err=\"+e.getMessage(),e );\n\t\t}\n\t\t\n\t\n\t}", "title": "" }, { "docid": "1937a5e4b70fc2a6a1f86304dbd6c272", "score": "0.5036399", "text": "public X509Certificate getX509Certificate() {\n\t\treturn certificate;\n\t}", "title": "" }, { "docid": "9242d407d17cb2b1cca66ead546f998d", "score": "0.50341845", "text": "@Override\n public String getSignerCn() {\n return null;\n }", "title": "" }, { "docid": "ff4e0be3f1b46d3d1c1b53a167d7bcd8", "score": "0.50332814", "text": "boolean isCertificateChainTrusted();", "title": "" }, { "docid": "ed55e1f3c720a46a215fd100e8103c92", "score": "0.502217", "text": "io.xapix.capbac.CapBACProto.Certificate getParent();", "title": "" }, { "docid": "c80d08aafe1eee9453bdb6b77c1c9e1a", "score": "0.49980685", "text": "public com.google.protobuf.ByteString getCert() {\n return cert_;\n }", "title": "" }, { "docid": "162ae1e91a1add2ae2e20a28508c45df", "score": "0.49976587", "text": "public List<VpnServerConfigRadiusClientRootCertificate> radiusClientRootCertificates() {\n return this.radiusClientRootCertificates;\n }", "title": "" }, { "docid": "52af7c2c5eadd24c04e4bcc2362d097c", "score": "0.49952954", "text": "public String certificate() {\n return this.certificate;\n }", "title": "" }, { "docid": "4e41532f2a410d5cc99c583066c194a5", "score": "0.49851578", "text": "private void loadTrustedSigningCertificates() throws GeneralSecurityException {\n trustedSigningCertificates = new LinkedList<X509Certificate>();\n for (String alias : trustedSigningCertificateAliases) {\n trustedSigningCertificates.add((X509Certificate) keystore.getCertificate(alias));\n }\n }", "title": "" }, { "docid": "4e369df54be4f8c717dc4fa968005a5e", "score": "0.4969708", "text": "public Certificate[] getLocalCertificates()\n {\n if (session != null)\n return session.getLocalCertificates();\n return null;\n }", "title": "" }, { "docid": "ffaa23683a2029e7274865810cf9ddc5", "score": "0.4968454", "text": "java.util.List<String> getCertificateHashList();", "title": "" }, { "docid": "ea58bf628171de644f2d7d1bac009f23", "score": "0.49655008", "text": "public com.google.protobuf.ByteString getCert() {\n return cert_;\n }", "title": "" }, { "docid": "1cf0ed08555ac715f8dcfba2db5658c0", "score": "0.4935752", "text": "public String sslCertificateUri() {\n return this.sslCertificateUri;\n }", "title": "" }, { "docid": "4dea4e4beab44f6c81e0e1797607138f", "score": "0.49323824", "text": "public String getCertificate() {\n return this.certificate;\n }", "title": "" }, { "docid": "6791ac55742afc3c94f45297aab80193", "score": "0.4922189", "text": "public List<String> getCRLDistributionPoint() throws IOException {\n\n\t\tList<String> lcrS = new ArrayList<String>();\n\t\t// DERObject derObj =\n\t\t// getExtensionValue(X509Extensions.CRLDistributionPoints.getId());\n\t\tASN1Object derObj = getExtensionValue(X509Extensions.CRLDistributionPoints.getId());\n\t\tif (derObj == null) {\n\t\t\treturn null;\n\t\t}\n\t\tCRLDistPoint crlDistPoint = CRLDistPoint.getInstance(derObj);\n\t\tDistributionPoint[] dp = crlDistPoint.getDistributionPoints();\n\t\tfor (int i = 0; i < dp.length; i++) {\n\t\t\t// @SuppressWarnings(\"resource\")\n\t\t\tDERSequence seq = (DERSequence) dp[i].getDistributionPoint().getName().toASN1Primitive();\n\t\t\tGeneralName url = (GeneralName) seq.getObjectAt(0);\n\t\t\tlcrS.add(url.getName().toString());\n\t\t}\n\t\treturn lcrS;\n\t}", "title": "" }, { "docid": "8507dd65720bcd5d8046953fedf5a784", "score": "0.49220315", "text": "public String getCertificate() {\n\t\treturn certificate;\n\t}", "title": "" }, { "docid": "28b97393ecfded16edff5d91091ef61b", "score": "0.49152267", "text": "public byte[] getX509Subject() {\n return x509Subject;\n }", "title": "" }, { "docid": "abdb59cdf841845e217059391a6bd94a", "score": "0.48952585", "text": "java.util.List<Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateInfoV2> \n getCertificatesList();", "title": "" }, { "docid": "0e96c303926809ed42aa88955b9916bc", "score": "0.48728213", "text": "public X509Certificate getTimestampingAuthorityCertificate() {\n return tsaCertificate;\n }", "title": "" }, { "docid": "864c5744b751104b72c71e2405334b40", "score": "0.4849734", "text": "public static String getCertificatePath() {\n return getLocalUserDirectory() + \"\\\\SecureChat.cer\";\n\n }", "title": "" }, { "docid": "4d9db70bf587bd6a6057eaee65417a02", "score": "0.48462722", "text": "public String getCertificateKey() {\n return this.CertificateKey;\n }", "title": "" }, { "docid": "8e97bf640b815ae93baa0a40aee7f9fb", "score": "0.48267373", "text": "public List<VpnServerConfigVpnClientRootCertificate> vpnClientRootCertificates() {\n return this.vpnClientRootCertificates;\n }", "title": "" }, { "docid": "63d861f6a302ea761eb4fe037a581b26", "score": "0.48251653", "text": "@Override\n public HashMap<String, byte[]> getCertDev() {\n PlccTAController.TACerts tACerts;\n HashMap hashMap;\n try {\n PlccTAController plccTAController = this.mPlccTAController;\n tACerts = plccTAController.getAllCerts(\"PLCC\");\n hashMap = new HashMap();\n }\n catch (PlccTAException plccTAException) {\n hashMap = null;\n PlccTAException plccTAException2 = plccTAException;\n Log.c(TAG, plccTAException2.getMessage(), (Throwable)((Object)plccTAException2));\n return hashMap;\n }\n hashMap.put((Object)\"cert_enc\", (Object)tACerts.encryptcert);\n hashMap.put((Object)\"cert_sign\", (Object)tACerts.signcert);\n hashMap.put((Object)\"cert_ca\", (Object)tACerts.drk);\n return hashMap;\n {\n catch (PlccTAException plccTAException) {}\n }\n }", "title": "" }, { "docid": "8cdaa20b3bd8c459d20e7675bd525d52", "score": "0.48214844", "text": "@java.lang.SuppressWarnings(\"all\")\n\t@javax.annotation.Generated(\"lombok\")\n\tpublic String getChain() {\n\t\treturn this.chain;\n\t}", "title": "" }, { "docid": "f2743adf8efb358d53b213dcb63480af", "score": "0.48137534", "text": "public KeyTool.KeyAndCert getCaCert()\n {\n return m_caCert;\n }", "title": "" }, { "docid": "c8cc2966c0fabe34f51531f662223157", "score": "0.48091248", "text": "public final CertStoreParameters getCertStoreParameters()\n {\n return params;\n }", "title": "" }, { "docid": "f0b2cf5ff0abbf4e41b6b59911710db5", "score": "0.48066133", "text": "public java.util.List<Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateInfoV2> getCertificatesList() {\n if (certificatesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(certificates_);\n } else {\n return certificatesBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "ae5776b53c08b2b644394c9315fb3a42", "score": "0.48022732", "text": "private List<String> getTrustedCertificates() {\n\t\tif (trustCertificatesStr != null) {\n\t\t\treturn Arrays.asList(trustCertificatesStr.split(\",\"));\n\t\t} else {\n\t\t\treturn new ArrayList<>();\n\t\t}\n\t}", "title": "" }, { "docid": "6338fa0c1e63da52b9f524fe2316f381", "score": "0.47905", "text": "@java.lang.Override\n public io.xapix.capbac.CapBACProto.CertificateOrBuilder getParentOrBuilder() {\n return getParent();\n }", "title": "" }, { "docid": "fcac03ed22a3ba0653e38a1528a923dd", "score": "0.4786468", "text": "public String getVersionChain() {\n\t\treturn version_chain_;\n\t}", "title": "" }, { "docid": "a432e4610372a8b7c8a4d8aa2fc8c019", "score": "0.47803527", "text": "io.xapix.capbac.CapBACProto.Certificate getCertificate();", "title": "" }, { "docid": "fc5a683f36ec1612c4e346d1d6a883b5", "score": "0.47639206", "text": "java.util.List<java.lang.String>\n getSignersList();", "title": "" }, { "docid": "fc5a683f36ec1612c4e346d1d6a883b5", "score": "0.47639206", "text": "java.util.List<java.lang.String>\n getSignersList();", "title": "" }, { "docid": "fc5a683f36ec1612c4e346d1d6a883b5", "score": "0.47639206", "text": "java.util.List<java.lang.String>\n getSignersList();", "title": "" }, { "docid": "f1743ec6e46e5ee0b0e6f54ffe4c3760", "score": "0.4747764", "text": "public CodeSigner[] getCodeSigners() {\n/* 127 */ return (this.signers == null) ? null : (CodeSigner[])this.signers.clone();\n/* */ }", "title": "" }, { "docid": "dcb8a27eb2ff9fbf7531c2a687d03c1b", "score": "0.47441855", "text": "io.xapix.capbac.CapBACProto.CertificateOrBuilder getParentOrBuilder();", "title": "" }, { "docid": "5d99cf444abc9c51b3eae88e3be9dd18", "score": "0.47374192", "text": "public io.xapix.capbac.CapBACProto.Certificate getParent() {\n if (parentBuilder_ == null) {\n return parent_ == null ? io.xapix.capbac.CapBACProto.Certificate.getDefaultInstance() : parent_;\n } else {\n return parentBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "766755f22557d4c9b6c7674076ece14a", "score": "0.47151807", "text": "public static Collection<X509Certificate> getPackagedTrustStoreCerts()\r\n {\r\n Collection<X509Certificate> certs = New.collection();\r\n\r\n String trustStoreLocation = System.getProperty(\"javax.net.ssl.trustStore\");\r\n if (trustStoreLocation != null)\r\n {\r\n String pw = System.getProperty(\"javax.net.ssl.trustStorePassword\");\r\n if (pw != null)\r\n {\r\n boolean found = false;\r\n try\r\n {\r\n Enumeration<URL> urls = KeyStoreUtilities.class.getClassLoader().getResources(trustStoreLocation);\r\n while (urls.hasMoreElements())\r\n {\r\n found |= loadTrustStore(urls.nextElement(), pw.toCharArray(), certs);\r\n }\r\n }\r\n catch (IOException e)\r\n {\r\n LOGGER.warn(\r\n \"Failed to load trust store specified in javax.net.ssl.trustStore [\" + trustStoreLocation + \"]: \" + e,\r\n e);\r\n }\r\n\r\n try\r\n {\r\n File file = new File(trustStoreLocation);\r\n if (file.exists())\r\n {\r\n if (file.canRead())\r\n {\r\n found |= loadTrustStore(file.toURI().toURL(), pw.toCharArray(), certs);\r\n }\r\n else\r\n {\r\n LOGGER.warn(\"Failed to load trust store specified in javax.net.ssl.trustStore [\" + trustStoreLocation\r\n + \"]: file cannot be read.\");\r\n }\r\n }\r\n }\r\n catch (MalformedURLException e)\r\n {\r\n LOGGER.warn(\r\n \"Failed to load trust store specified in javax.net.ssl.trustStore [\" + trustStoreLocation + \"]: \" + e,\r\n e);\r\n }\r\n\r\n if (!found)\r\n {\r\n LOGGER.warn(\"No trust store found for location: \" + trustStoreLocation);\r\n }\r\n }\r\n }\r\n return certs;\r\n }", "title": "" }, { "docid": "67e64640bebdc76123ec06d343eac36c", "score": "0.47096762", "text": "@Nonnull @Unmodifiable @NotLive default List<String> getCertificates() {\n return CollectionSupport.emptyList();\n }", "title": "" }, { "docid": "f0d3067583a7491edcac6ac38379bc7b", "score": "0.47067598", "text": "public String getSignerName() {\n return this.signerName;\n }", "title": "" }, { "docid": "f12e4a9470173d87840d10c7e724d716", "score": "0.47053048", "text": "public byte[] getChainID() {\n if(!isParsed) parseEncodedBytes();\n return this.chainID;\n }", "title": "" } ]
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "3259181485ea0efdb3ec3a0ecd909bdc", "score": "0.0", "text": "public /* synthetic */ void mo9789a(StoreTheme storeTheme) {\n boolean[] $jacocoInit = $jacocoInit();\n this.currentModel.setStoreTheme(storeTheme);\n $jacocoInit[355] = true;\n }", "title": "" } ]
[ { "docid": "e8b407e15e709133d36c40b376c5772b", "score": "0.6288352", "text": "@C4056a\n /* renamed from: a */\n public abstract Object mo18472a(String str);", "title": "" }, { "docid": "b7e8cbc10834bded8ca03375afdf1d79", "score": "0.6287218", "text": "public interface C35231a {\n /* renamed from: a */\n void mo89666a();\n }", "title": "" }, { "docid": "990ca82f6d79829620f9c7c63c42d1c0", "score": "0.6213956", "text": "public interface C4787a {\n /* renamed from: a */\n void mo6197a();\n }", "title": "" }, { "docid": "0838b2b0e9aa2807e91619b424a1e69d", "score": "0.6188341", "text": "public interface C23997b {\n /* renamed from: a */\n void mo62244a();\n }", "title": "" }, { "docid": "f647feb670b7ad17200448f87590365a", "score": "0.6149341", "text": "public interface C36485a {\n /* renamed from: a */\n void mo92183a();\n\n /* renamed from: b */\n void mo92184b();\n }", "title": "" }, { "docid": "8614f6197ac6c0488fb5f1ced40a3fbd", "score": "0.6115897", "text": "public interface C7201a {\n /* renamed from: a */\n void mo18691a();\n }", "title": "" }, { "docid": "0801fc92f8835a0ef1d1299e7ad23021", "score": "0.6113476", "text": "public interface C29555d {\n /* renamed from: a */\n void mo68109a();\n }", "title": "" }, { "docid": "65cde27051e270d356c6f510035e1f07", "score": "0.6095605", "text": "public interface dcj {\n /* renamed from: a */\n void mo2708a();\n}", "title": "" }, { "docid": "8ba698cada094833525117713674d689", "score": "0.60713834", "text": "interface C6370a {\n /* renamed from: a */\n void mo29593a();\n }", "title": "" }, { "docid": "fc9f153bf03297f542abf0c636f3c0b5", "score": "0.60185695", "text": "public interface C3069a {\n /* renamed from: a */\n void mo39207a();\n }", "title": "" }, { "docid": "92d70a7dc862d5d2dbed92e3cf3cf5d7", "score": "0.600772", "text": "public interface C18891a {\n /* renamed from: a */\n C12897a mo50253a();\n}", "title": "" }, { "docid": "f17b60b207f215f0cc07327ddc40c772", "score": "0.5999561", "text": "interface C6034a {\n /* renamed from: b */\n void mo24793b();\n }", "title": "" }, { "docid": "719b6da43497e729cc242145c5f5a08d", "score": "0.59877187", "text": "public interface C2291a {\n /* renamed from: a */\n void mo8634a();\n\n /* renamed from: b */\n void mo8635b();\n }", "title": "" }, { "docid": "ce6a70ca9a4b52d2df6700439024dc05", "score": "0.5986148", "text": "public interface C24165a {\n /* renamed from: a */\n void mo62309a(String str);\n }", "title": "" }, { "docid": "672f08e2c820820bb3a1a4e0670eaec4", "score": "0.5985277", "text": "public interface C12023xa {\n /* renamed from: a */\n void mo38828a();\n\n /* renamed from: a */\n boolean mo38829a(C11703Aa aa);\n}", "title": "" }, { "docid": "72b59b281537223614641c2c550a68cf", "score": "0.5980908", "text": "public interface C42640d {\n /* renamed from: a */\n void mo91621a(String str);\n }", "title": "" }, { "docid": "98c6046c677297909fc9d0bba191b345", "score": "0.59806055", "text": "public interface C6972a {\n /* renamed from: a */\n void mo21703a();\n}", "title": "" }, { "docid": "f277bf3bbc1bebc72203858681017d19", "score": "0.59285647", "text": "public interface C19031b extends C19030a {\n /* renamed from: a */\n void mo50527a();\n}", "title": "" }, { "docid": "c2f58334b088867ae9c9cf4f3559461c", "score": "0.59026986", "text": "public interface C8508a {\n /* renamed from: a */\n void mo26061a();\n }", "title": "" }, { "docid": "594fcceafd42aee03def79a3c7da5bf8", "score": "0.58978033", "text": "public interface C2354a {\n /* renamed from: a */\n void mo15255a();\n\n /* renamed from: b */\n void mo15256b();\n }", "title": "" }, { "docid": "e47673bd21a60684fc7feb6dc600831e", "score": "0.588733", "text": "public interface C24166b {\n /* renamed from: a */\n void mo62614a(String str);\n }", "title": "" }, { "docid": "4bf3ff166a38c785c099b6e927def8f2", "score": "0.58869153", "text": "public interface C36230b {\n /* renamed from: a */\n void mo92230a(String str);\n }", "title": "" }, { "docid": "4e647723b7f7824cb177c6468e6afd45", "score": "0.58723813", "text": "public interface C2587a {\n /* renamed from: a */\n String mo3327a();\n}", "title": "" }, { "docid": "7486a8c4c0c8e4fc043982d0f6ac2a2b", "score": "0.5866058", "text": "public interface C0610b {\n /* renamed from: a */\n void mo2671a();\n }", "title": "" }, { "docid": "3a8cdac72c56c2ae2f8e083c5be8f3c9", "score": "0.58433354", "text": "public interface C39923b {\n /* renamed from: a */\n void mo99337a();\n\n /* renamed from: b */\n void mo99338b();\n}", "title": "" }, { "docid": "486283f9af54553e1a6b672133e1bf30", "score": "0.58409333", "text": "public interface C0803a {\n /* renamed from: a */\n void mo4675a();\n }", "title": "" }, { "docid": "dd345abf3fe29083c8a347faac27a473", "score": "0.5837917", "text": "interface C0551c {\n /* renamed from: a */\n List<CharSequence> mo423a(Object obj);\n\n /* renamed from: a */\n void mo424a(Object obj, int i);\n\n /* renamed from: a */\n void mo425a(Object obj, View view, int i);\n\n /* renamed from: a */\n void mo426a(Object obj, CharSequence charSequence);\n\n /* renamed from: a */\n void mo427a(Object obj, boolean z);\n\n /* renamed from: b */\n void mo428b(Object obj, int i);\n\n /* renamed from: b */\n void mo429b(Object obj, CharSequence charSequence);\n\n /* renamed from: b */\n void mo430b(Object obj, boolean z);\n\n /* renamed from: c */\n void mo431c(Object obj, int i);\n\n /* renamed from: c */\n void mo432c(Object obj, boolean z);\n\n /* renamed from: d */\n void mo433d(Object obj, int i);\n\n /* renamed from: d */\n void mo434d(Object obj, boolean z);\n\n /* renamed from: e */\n void mo435e(Object obj, int i);\n\n /* renamed from: f */\n void mo436f(Object obj, int i);\n\n /* renamed from: g */\n void mo437g(Object obj, int i);\n }", "title": "" }, { "docid": "c7d92b2336f3a06c1e76f8cec14bd759", "score": "0.5830234", "text": "public interface C0065a {\n /* renamed from: a */\n void mo55a(int i);\n }", "title": "" }, { "docid": "6afad9a9a23f281ecb4315c3d6af0b7a", "score": "0.58213806", "text": "public interface C44948b {\n /* renamed from: a */\n String mo105116a(String str);\n}", "title": "" }, { "docid": "6c1ac6d3a80e22c98140b5b20c07c4fc", "score": "0.58100575", "text": "public void a(e.a parama) {\n }", "title": "" }, { "docid": "051efb91b947783941dda0d216693834", "score": "0.578539", "text": "interface C2546a {\n /* renamed from: a */\n C2542co mo18739a(C2622r rVar);\n }", "title": "" }, { "docid": "6cf9fd2c6600e9ee9ae9f0f1aaf2506c", "score": "0.5778132", "text": "interface C13660a {\n /* renamed from: a */\n void mo42652a(long j);\n\n /* renamed from: a */\n void mo42653a(Throwable th);\n }", "title": "" }, { "docid": "ab62b7f5add98ac4c6e588ca9a21d0ec", "score": "0.57699597", "text": "public interface C1166d<T> {\n /* renamed from: a */\n void mo954a(T t);\n }", "title": "" }, { "docid": "bdeb15b62729209ea2d3484419992388", "score": "0.576547", "text": "public interface C4869a {\n /* renamed from: a */\n void mo5092a();\n\n /* renamed from: a */\n void mo5093a(az azVar);\n }", "title": "" }, { "docid": "bea61a2140fea90aff3bf12e3cf8bb56", "score": "0.571287", "text": "public interface C37331a {\n /* renamed from: a */\n void mo93950a(View view, C37332a aVar);\n }", "title": "" }, { "docid": "235ab90792560bae2ad41a95b917362b", "score": "0.5675692", "text": "public interface C6195a {\n /* renamed from: a */\n void mo29319a();\n\n /* renamed from: a */\n void mo29320a(String str);\n\n /* renamed from: a */\n void mo29321a(String str, C6043b bVar);\n\n /* renamed from: b */\n void mo29322b(String str);\n }", "title": "" }, { "docid": "4c93cf4e58ed81a9d88359a99622b390", "score": "0.56742996", "text": "public interface C25414a {\n /* renamed from: a */\n void mo66017a();\n\n /* renamed from: a */\n void mo66018a(boolean z);\n\n /* renamed from: b */\n void mo66019b();\n }", "title": "" }, { "docid": "44f87ab41737b87153a0c7fa494c0530", "score": "0.5673115", "text": "public interface boy {\n /* renamed from: a */\n void mo2254a(box box);\n}", "title": "" }, { "docid": "07453c54751a84244b74e8d61bb3b09c", "score": "0.567145", "text": "interface C0804b {\n /* renamed from: a */\n void mo4676a(C0794d0 d0Var);\n }", "title": "" }, { "docid": "de4ff1a5c975e5f63334402a596572d7", "score": "0.56686354", "text": "public interface C39198b {\n /* renamed from: a */\n void mo97289a(int i);\n\n /* renamed from: a */\n boolean mo97290a();\n\n /* renamed from: b */\n List<VideoSegment> mo97291b();\n }", "title": "" }, { "docid": "89616ceb93b069da38b3615dee1cb7f9", "score": "0.5647778", "text": "public interface BEP {\n /* renamed from: a */\n Set mo42679a();\n}", "title": "" }, { "docid": "f4792f378fdf1aa2beb4f1caf54e01b3", "score": "0.56471604", "text": "public interface AbstractC4601af {\n /* renamed from: a */\n void mo42655a();\n}", "title": "" }, { "docid": "e46a57dfb9233b5ab09be4033f204dca", "score": "0.564579", "text": "public interface C29860a {\n /* renamed from: a */\n void mo75844a(User user, int i, int i2);\n }", "title": "" }, { "docid": "55c46b869b6d786d8df5e3524b6bb6a9", "score": "0.56183887", "text": "@Override\n\tpublic void a() {\n\t\t\n\t}", "title": "" }, { "docid": "db0e0bc7c1e770be5fdb4d1fc05f2976", "score": "0.5613329", "text": "interface C8153a<T> {\n /* renamed from: a */\n int mo21216a(T t);\n\n /* renamed from: a */\n String mo21217a();\n\n /* renamed from: b */\n int mo21218b();\n\n T newArray(int i);\n}", "title": "" }, { "docid": "273df04b54f7d3562d17d193a9278bdb", "score": "0.5611863", "text": "public interface C1493b {\n /* renamed from: a */\n boolean mo6746a(String str);\n\n /* renamed from: b */\n List<String> mo6747b(String str);\n}", "title": "" }, { "docid": "a4e17a616e5cd07b7afd218ece6c2566", "score": "0.56052184", "text": "public interface C1813a {\n /* renamed from: a */\n void mo4568a();\n\n /* renamed from: a */\n void mo4569a(int i, int i2);\n\n /* renamed from: a */\n void mo4570a(String str);\n\n /* renamed from: b */\n void mo4571b();\n }", "title": "" }, { "docid": "180eeee86a08c191c7ad8491fb005d56", "score": "0.5594175", "text": "public interface AbstractC3590a {\n /* renamed from: a */\n void mo24932a();\n\n /* renamed from: b */\n void mo24933b();\n }", "title": "" }, { "docid": "953def56050400bbec310bd3c7605772", "score": "0.55938685", "text": "public interface C0622al {\n /* renamed from: a */\n void mo1671a(C0568a aVar);\n}", "title": "" }, { "docid": "410c03476c1ee6dac93886e12dd2f602", "score": "0.5568412", "text": "public interface C9434a {\n /* renamed from: b */\n void mo22698b(int i, long j, long j2);\n }", "title": "" }, { "docid": "9e23413348d56a5654dcd0c5a327f9fa", "score": "0.5559781", "text": "public interface C1164a<T> {\n /* renamed from: b */\n T mo955b();\n }", "title": "" }, { "docid": "cb4442784e0870cdb3f06a8af954d8ea", "score": "0.55476", "text": "public interface C1360a {\n /* renamed from: a */\n void mo906a(C1452zd zdVar);\n }", "title": "" }, { "docid": "77e1711c364a84702fcd62cd103804a6", "score": "0.5546456", "text": "public interface C4539b {\n /* renamed from: a */\n void mo10557a();\n\n /* renamed from: a */\n void mo10558a(int i, int i2);\n\n /* renamed from: a */\n void mo10559a(String str);\n\n /* renamed from: b */\n void mo10560b();\n\n /* renamed from: c */\n void mo10561c();\n }", "title": "" }, { "docid": "9df69087c298a86996ec78cebef7a07e", "score": "0.5542701", "text": "@Test public void test_rt_38787_remove_a() {\n test_rt_38787(\"b\", 0, 0);\n }", "title": "" }, { "docid": "6f9bed3e190e4337c22f931f25221ebb", "score": "0.55327135", "text": "public interface C4778a {\n /* renamed from: a */\n void mo11037a(long j, long j2);\n\n /* renamed from: a */\n void mo11038a(boolean z);\n }", "title": "" }, { "docid": "d5f07a66260c7c4ad7e10e642ac3894a", "score": "0.55307025", "text": "private Object format(Object a) {\n return a.toString().toLowerCase().replaceAll(\"\\\\W\", \"\");\n }", "title": "" }, { "docid": "c1ac3b541888f88e0d8c31a0193cfa2e", "score": "0.55181926", "text": "public interface C9480o {\n /* renamed from: a */\n long mo24542a(String str, long j);\n\n /* renamed from: a */\n String mo24543a(String str, String str2);\n}", "title": "" }, { "docid": "7d1723fb1736de2af7a9035f1066cd8e", "score": "0.55170393", "text": "public interface dcv {\n /* renamed from: a */\n int mo3544a();\n\n /* renamed from: b */\n boolean mo3545b();\n}", "title": "" }, { "docid": "16cab3a65291c291e4422ef0ddbc6c93", "score": "0.55062026", "text": "public interface AbstractC12932a {\n /* renamed from: a */\n void mo71700a();\n\n /* renamed from: a */\n void mo71701a(View view);\n\n /* renamed from: b */\n void mo71702b();\n }", "title": "" }, { "docid": "74fc3789eb95a799b1e0ad85716a9165", "score": "0.5504013", "text": "private double fixangle(double a) {\n\n a = a - (360 * (Math.floor(a / 360.0)));\n\n a = a < 0 ? (a + 360) : a;\n\n return a;\n }", "title": "" }, { "docid": "f55a6e4744563b0753b3f828bb6af15c", "score": "0.5503718", "text": "public interface AbstractC2642a {\n /* renamed from: a */\n void mo36283a(int i);\n }", "title": "" }, { "docid": "959a1b2304aae8cdf38549839d553556", "score": "0.55034894", "text": "public interface anl {\n\n /* renamed from: anl$a */\n /* compiled from: IAlertDialog */\n public interface a {\n }\n}", "title": "" }, { "docid": "6fcce06387a8305e699dced0dbab2c89", "score": "0.54989475", "text": "public interface C4788b {\n /* renamed from: a */\n void m18789a(C4789b c4789b, int i, int i2, int i3);\n }", "title": "" }, { "docid": "8a3426fdd4b85eaaecbe156b279e41d8", "score": "0.5498109", "text": "public interface C3687i {\n /* renamed from: b */\n String mo13175b();\n}", "title": "" }, { "docid": "8c9ffd6325ac23e15a03df01562207ae", "score": "0.54811114", "text": "public interface C13215d {\n /* renamed from: a */\n void mo42246a(C13198c cVar);\n}", "title": "" }, { "docid": "6ab731fcffaec362b6d5432f8c3ab567", "score": "0.5479689", "text": "public interface C0288ae {\n /* renamed from: a */\n void mo3559a(MenuBuilder menuBuilder);\n}", "title": "" }, { "docid": "5c03fd492836e341b2c4162484e56caa", "score": "0.5467787", "text": "interface C0043bo {\n /* renamed from: a */\n boolean mo2136a(Object obj);\n\n /* renamed from: b */\n int mo2137b(Object obj);\n}", "title": "" }, { "docid": "001627f4f176aa3741a4bf8e0ac2c414", "score": "0.546663", "text": "public interface C5530b {\n /* renamed from: a */\n List<Integer> mo4093a();\n\n /* renamed from: b */\n int mo4094b();\n }", "title": "" }, { "docid": "3eee3d14665ca9b1486cc6daa344038b", "score": "0.5463728", "text": "private interface C0398a {\n /* renamed from: a */\n int mo314a(Resources resources);\n\n /* renamed from: b */\n int mo315b(Resources resources);\n\n /* renamed from: c */\n int mo316c(Resources resources);\n }", "title": "" }, { "docid": "543c2046509c999bf3d6b8239ad4db8c", "score": "0.54634273", "text": "public interface C41847c {\n /* renamed from: a */\n void mo101264a();\n\n /* renamed from: a */\n void mo101265a(Effect effect);\n}", "title": "" }, { "docid": "71e32568e446db40bc83b5508e2b2335", "score": "0.5462299", "text": "public interface C5270i {\n /* renamed from: a */\n C5268h mo3968a();\n}", "title": "" }, { "docid": "418ee18f6cab4873d1d1753b4fc03f4f", "score": "0.54610646", "text": "public interface C7202b {\n /* renamed from: a */\n String mo18692a(String str);\n }", "title": "" }, { "docid": "ef35b3731b2283e67b992e18b0719993", "score": "0.5456648", "text": "public interface C0608ax {\n /* renamed from: a */\n void mo9147a(int i, int i2, ArrayList<C0884s> arrayList);\n}", "title": "" }, { "docid": "d92c7c53e1909173212b9e13addb0415", "score": "0.54551506", "text": "public interface AbstractC1666a {\n /* renamed from: a */\n void mo17688a();\n\n /* renamed from: a */\n void mo17689a(String str);\n }", "title": "" }, { "docid": "b32322d6e24696fc1c9c49007ab0e550", "score": "0.545286", "text": "public interface C4847g {\n /* renamed from: a */\n al mo5089a();\n\n /* renamed from: a */\n boolean mo5090a(af afVar);\n\n /* renamed from: a */\n boolean mo5091a(am amVar);\n}", "title": "" }, { "docid": "fcd8551bac73ea3ef8d2b350b8f47708", "score": "0.54425395", "text": "public interface a$a {\n void a(a aVar, String str);\n}", "title": "" }, { "docid": "6eac082015e7ca86197e4883be39f38a", "score": "0.5439623", "text": "public interface C8067b {\n /* renamed from: a */\n void mo24891a(String str);\n\n /* renamed from: a */\n String[] mo24892a();\n\n /* renamed from: b */\n String mo24893b(String str);\n\n /* renamed from: c */\n String mo24894c(String str);\n\n /* renamed from: d */\n void mo24895d(String str);\n }", "title": "" }, { "docid": "461942e6ef26893ed98efff76edc1a5c", "score": "0.54353696", "text": "public interface AbstractC0820c {\n /* renamed from: a */\n String mo5374a();\n\n /* renamed from: b */\n String mo5375b();\n}", "title": "" }, { "docid": "04383528a2702142308fa655edd53cc4", "score": "0.54353243", "text": "public void b(e.a parama) {\n }", "title": "" }, { "docid": "c9d084204d09e6a7e04c9c422047f542", "score": "0.54238987", "text": "public void a_() {\n }", "title": "" }, { "docid": "529a1e6cf1cd6d9e7fe45917fd04dd0e", "score": "0.54145396", "text": "public interface C6852e<T> {\n /* renamed from: a */\n boolean mo16715a(T t);\n}", "title": "" }, { "docid": "33a088820c545957f56c7a93e7410306", "score": "0.54131836", "text": "public interface C34432b extends C12410b {\n /* renamed from: a */\n void mo54965a(String str, String str2, int i, String str3, boolean z, boolean z2);\n\n /* renamed from: a */\n void mo54966a(String str, String str2, String str3, String str4, boolean z, boolean z2);\n\n void bLd();\n}", "title": "" }, { "docid": "f82ad4bd7c151986a1e94d9494d6f4ca", "score": "0.54109466", "text": "public interface C37652b {\n /* renamed from: a */\n boolean mo60391a(boolean z);\n\n /* renamed from: b */\n void mo60392b(boolean z);\n}", "title": "" }, { "docid": "a30934041706c396c14100672bca592e", "score": "0.54093784", "text": "public interface C1603a {\n /* renamed from: a */\n void mo1645a(View view);\n\n /* renamed from: a */\n void mo1646a(String str);\n\n /* renamed from: a */\n void mo1647a(String str, C1427q c1427q);\n }", "title": "" }, { "docid": "adf78799bf3e7b7f284692260131eb5c", "score": "0.540517", "text": "public interface C25864j {\n /* renamed from: a */\n C25862i mo67101a();\n}", "title": "" }, { "docid": "e8520698a65affa1d5809bc1305d45f2", "score": "0.54022753", "text": "interface C1774a {\n /* renamed from: a */\n C1676b mo7675a(int i, int i2, int i3, Object obj);\n\n /* renamed from: a */\n void mo7678a(C1676b bVar);\n }", "title": "" }, { "docid": "5855755607c918f2dc0cfaa6b05ef49d", "score": "0.54001385", "text": "public interface C0500b {\n /* renamed from: a */\n void mo358a(NestedScrollView nestedScrollView, int i, int i2, int i3, int i4);\n }", "title": "" }, { "docid": "0fec1f47c4d1b42b6a92c4b28d04dfd3", "score": "0.53924", "text": "public abstract Object a(Object obj);", "title": "" }, { "docid": "9eb084340f99b2397dbf2e96a7290a8b", "score": "0.5390726", "text": "public interface C1611a {\n /* renamed from: a */\n Drawable mo12476a();\n\n /* renamed from: b */\n View mo12512b();\n\n /* renamed from: b */\n void mo12477b(Drawable drawable);\n }", "title": "" }, { "docid": "6348e6d4befcab9ee15066b0cec7a6be", "score": "0.5388108", "text": "public interface AbstractC1039a {\n /* renamed from: a */\n void mo10839a(float f);\n }", "title": "" }, { "docid": "920278ca39b92ffa9eab70b3e0de844f", "score": "0.53879493", "text": "public interface C20498d {\n /* renamed from: a */\n int mo55472a(int i);\n\n /* renamed from: a */\n int mo55473a(int i, double d);\n\n /* renamed from: b */\n int mo55474b(int i);\n }", "title": "" }, { "docid": "2b6cacba62b81a580de15933630ed226", "score": "0.5386948", "text": "public interface C9454a {\n /* renamed from: a */\n void mo34069a(String str, Uri uri);\n\n /* renamed from: b */\n void mo34070b(String str, Uri uri);\n }", "title": "" }, { "docid": "1402bcaccff6d255fe86c3fea121f861", "score": "0.5362913", "text": "public interface C2735c {\n /* renamed from: a */\n void mo9437a(Game game);\n }", "title": "" }, { "docid": "a9bdea3b94e6da73a7e0ef1bbbad83b2", "score": "0.5361877", "text": "public void a(String paramString)\r\n/* 92: */ {\r\n/* 93:122 */ this.a = paramString;\r\n/* 94: */ }", "title": "" }, { "docid": "ced31b30a258c032466a11695fde7aa2", "score": "0.53611875", "text": "interface C0658a<T> {\n /* renamed from: a */\n T mo3491a();\n\n /* renamed from: a */\n void mo3492a(T[] tArr, int i);\n\n boolean release(T t);\n }", "title": "" }, { "docid": "eb2febb235179ed53628d6297faf42e8", "score": "0.53588367", "text": "public interface C0034g {\n /* renamed from: a */\n void mo245a(int i);\n\n /* renamed from: a */\n void mo246a(int i, int i2);\n\n /* renamed from: a */\n void mo247a(Drawable drawable);\n\n /* renamed from: a */\n void mo248a(ListAdapter listAdapter);\n\n /* renamed from: a */\n void mo249a(CharSequence charSequence);\n\n /* renamed from: a */\n boolean mo250a();\n\n /* renamed from: b */\n int mo251b();\n\n /* renamed from: b */\n void mo252b(int i);\n\n /* renamed from: c */\n void mo253c(int i);\n\n /* renamed from: d */\n Drawable mo254d();\n\n void dismiss();\n\n /* renamed from: f */\n int mo256f();\n\n /* renamed from: g */\n CharSequence mo257g();\n }", "title": "" }, { "docid": "0a61a27158e5097b53572c35fcfaadf4", "score": "0.532783", "text": "public interface C3553a {\n /* renamed from: a */\n void mo10824a(boolean z);\n }", "title": "" }, { "docid": "0b2069ee96758cf641dfb35ccdbca45c", "score": "0.5327017", "text": "public interface C32013b {\n /* renamed from: a */\n void mo18117a(Context context, C7102a aVar, int i);\n}", "title": "" }, { "docid": "f7b74f4257a703638e2b5b696b7f3d53", "score": "0.5320025", "text": "public interface C45353e {\n\n /* renamed from: a */\n public static final C45353e f116829a = new C45353e() {\n };\n }", "title": "" }, { "docid": "3b4558dd04e8e47bca08e6f0a2f9c4bd", "score": "0.5317466", "text": "private static <E> void swapReferences(E[] array, int a, int b) {\r\n // a temporary E instance is used to store first element\r\n E temp = array[a];\r\n array[a] = array[b];\r\n array[b] = temp;\r\n }", "title": "" }, { "docid": "97969fcf9f3a344ffbc4c30b4cb0f08c", "score": "0.53165346", "text": "public interface C45884b {\n /* renamed from: a */\n String mo14420a(String str) throws Exception;\n\n /* renamed from: a */\n String mo14421a(String str, byte[] bArr, String str2, String str3) throws Exception;\n}", "title": "" } ]
5cb371d9a2987950e2f76744611463c1
/ renamed from: d
[ { "docid": "19afe0f583d5356c53da4a72ea48e5fe", "score": "0.0", "text": "public C2245f mo3215d() {\n int i = 0;\n while (i < this.f6939c.length) {\n byte b = this.f6939c[i];\n if (b < (byte) 65 || b > (byte) 90) {\n i++;\n } else {\n byte[] bArr = (byte[]) this.f6939c.clone();\n int i2 = i + 1;\n bArr[i] = (byte) (b + 32);\n for (i = i2; i < bArr.length; i++) {\n byte b2 = bArr[i];\n if (b2 >= (byte) 65 && b2 <= (byte) 90) {\n bArr[i] = (byte) (b2 + 32);\n }\n }\n return new C2245f(bArr);\n }\n }\n return this;\n }", "title": "" } ]
[ { "docid": "3ed98ed98220a2646fe539dcdc317393", "score": "0.6448344", "text": "public abstract void d_();", "title": "" }, { "docid": "149f89ed03ef8a604a72d9c5ae75661a", "score": "0.63814974", "text": "public void d() {\n }", "title": "" }, { "docid": "4823aae83aa7af015dffd8334f23609d", "score": "0.6049325", "text": "void m1155a(C0420k<D> c0420k, D d);", "title": "" }, { "docid": "b503e52c11d532b12e3b1a331bb26d7b", "score": "0.5894887", "text": "@Override\r\n\tpublic void comerDoritos(Dorito d) {\n\t\t\r\n\t}", "title": "" }, { "docid": "7d1e022b9319d4d5b247b1d2d36d67e0", "score": "0.58793354", "text": "public void setD(final int d)\n {\n \tthis.d = d;\n }", "title": "" }, { "docid": "2eb2ac68d55d43a0abfa7f5cc3a3e6bc", "score": "0.58647853", "text": "public abstract long d();", "title": "" }, { "docid": "c64411f2d7b4359b656294e598122466", "score": "0.58506596", "text": "public void mo1294d() {\n }", "title": "" }, { "docid": "31c3080e5187a24721329d4e20439c6f", "score": "0.58416444", "text": "private static int m21790c(double d) {\n return (int) (d + 0.5d);\n }", "title": "" }, { "docid": "b20c02526bbb55c8f71f09842f62deba", "score": "0.5796467", "text": "public String getDdd();", "title": "" }, { "docid": "20366ffcfbb4ee3c88b69f51cc0bb2db", "score": "0.5728405", "text": "private int p(double d) {\n return (int) pd(d);\n }", "title": "" }, { "docid": "9fd77870a97c8b6af3edd002ffdcacdc", "score": "0.5725275", "text": "protected void dnd() {\r\n\r\n\t}", "title": "" }, { "docid": "30c84374ef374e3e21c1375175cf98c6", "score": "0.55513304", "text": "D getData();", "title": "" }, { "docid": "9144a32a2cd5a72f1d1380aa1f1d5f09", "score": "0.55176514", "text": "public void mo5774g() {\n }", "title": "" }, { "docid": "50a1558eac74452151b827b0eac48f13", "score": "0.5509146", "text": "public String d() {\n return this.d;\n }", "title": "" }, { "docid": "552838d2f2eb39f8a84efde38a75ce4a", "score": "0.54757375", "text": "public void mo131120a(double d) {\n SinkDefaults.m149818a(this, d);\n }", "title": "" }, { "docid": "1ade1ce91707f49178ae394708da5470", "score": "0.5437841", "text": "Tuple (Guard f, Domain cd, SortedMap<ColorClass, List<? extends SetFunction>> m, Guard g, Domain d) {\n super(f, cd, m, g, d);\n }", "title": "" }, { "docid": "e855ba9852e310712040bfcbaec73f65", "score": "0.5427688", "text": "protected double m()\r\n/* 290: */ {\r\n/* 291:365 */ return 0.4D;\r\n/* 292: */ }", "title": "" }, { "docid": "b11d2a4403d9fc7f43d533232cec92ac", "score": "0.5418686", "text": "public abstract void mo14782a(Object obj, long j, double d);", "title": "" }, { "docid": "872d5078951aa4c9ab6334f445c00bc5", "score": "0.5404885", "text": "public static double punkteZuNote(double d){\n\t\t//17 entpricht Note 0\n\t\td = (17-d)/3;\n\t\treturn d;\n\t}", "title": "" }, { "docid": "ee8959b18cb2b6aadc8cfc728fcfff20", "score": "0.5396796", "text": "void mo6177d();", "title": "" }, { "docid": "f6e08d0b48e37c4e72de015a0709eca0", "score": "0.5392757", "text": "void m1154a(C0420k<D> c0420k);", "title": "" }, { "docid": "fce7076388f3be0cc027c544254eb27b", "score": "0.5378866", "text": "protected d(String name, String mode) throws IOException {\n/* 214 */ this(name, mode, 512);\n/* */ }", "title": "" }, { "docid": "440d93401eeb61c99996e0d9e27120bf", "score": "0.53762674", "text": "private static dr m177a() {\n return new dn();\n }", "title": "" }, { "docid": "ca354c9df446f0392ff9516055ad712d", "score": "0.53712106", "text": "public void setDdd(String ddd);", "title": "" }, { "docid": "65722fd17081cefc1c93f0736acf3d57", "score": "0.53689456", "text": "public d k() {\n/* 63 */ return null;\n/* */ }", "title": "" }, { "docid": "92e0d870b8258b0c5f6a01d1fd83828f", "score": "0.5366536", "text": "EObject getF40409d();", "title": "" }, { "docid": "2bc9fb20cca81190893087d211b65c13", "score": "0.535466", "text": "public final void d() {\n int[] iArr = a.this.f2365a;\n int[] iArr2 = a.this.f2366b;\n int i2 = Integer.MAX_VALUE;\n int i3 = RNCartPanelDataEntity.NULL_VALUE;\n int i4 = Integer.MAX_VALUE;\n int i5 = RNCartPanelDataEntity.NULL_VALUE;\n int i6 = Integer.MAX_VALUE;\n int i7 = RNCartPanelDataEntity.NULL_VALUE;\n int i8 = 0;\n for (int i9 = this.f2372b; i9 <= this.f2373c; i9++) {\n int i10 = iArr[i9];\n i8 += iArr2[i10];\n int a2 = a.a(i10);\n int b2 = a.b(i10);\n int c2 = a.c(i10);\n if (a2 > i3) {\n i3 = a2;\n }\n if (a2 < i2) {\n i2 = a2;\n }\n if (b2 > i5) {\n i5 = b2;\n }\n if (b2 < i4) {\n i4 = b2;\n }\n if (c2 > i7) {\n i7 = c2;\n }\n if (c2 < i6) {\n i6 = c2;\n }\n }\n this.f2375e = i2;\n this.f2376f = i3;\n this.f2377g = i4;\n this.h = i5;\n this.i = i6;\n this.j = i7;\n this.f2374d = i8;\n }", "title": "" }, { "docid": "b8c66fcbc251ecea38d5d2cba3929f57", "score": "0.53442144", "text": "protected Node deepExport(Node n, AbstractDocument d) {\n/* 270 */ super.deepExport(n, d);\n/* 271 */ AbstractAttr aa = (AbstractAttr)n;\n/* 272 */ aa.nodeName = this.nodeName;\n/* 273 */ aa.unspecified = false;\n/* 274 */ aa.isIdAttr = d.isId(aa);\n/* 275 */ return n;\n/* */ }", "title": "" }, { "docid": "e5f6c1b2d9ded11ac469b4f41260850c", "score": "0.5333986", "text": "@Override\r\n\tpublic List<DI> getDIList(DI d) {\n\t\treturn dd.getDIList(d);\r\n\t}", "title": "" }, { "docid": "5262660a9edcdf4c362ff4b7231a8c41", "score": "0.5331753", "text": "@Override\r\n\tpublic void dibujar() {\n\r\n\t}", "title": "" }, { "docid": "3113106af24e718e671b2ace08a39a11", "score": "0.53229773", "text": "public void mo25146a(double d) throws IOException {\n this.f17645a.mo16598a(d);\n }", "title": "" }, { "docid": "87ed511001ec7449b54ed9ca69dd59c7", "score": "0.53219575", "text": "public void retDouble(double d) {\n if (hasMatcher()) {\n this.dx = d;\n this.ax = 0;\n this.state = State.WHNF;\n } else {\n this.s[++this.sp] = new Double(d);\n } \n }", "title": "" }, { "docid": "5789cb3770112e1ec1d4b57aea3424d7", "score": "0.53217113", "text": "public static int d() {\n\t\treturn diff;\n\t}", "title": "" }, { "docid": "20e28f829f25e3aea164a2203b5f91ed", "score": "0.53174335", "text": "void mo36264d();", "title": "" }, { "docid": "1fcdfcd2c21dbcb8366c174e7f0a7cf0", "score": "0.52959806", "text": "private double pd(double d) {\n return (Math.sqrt(r.getWidth() * r.getHeight()) * d);\n }", "title": "" }, { "docid": "36157b2ebc052d5121bc95ed64cac9b2", "score": "0.52751213", "text": "public String toString() {\n return \"\" + d;\n }", "title": "" }, { "docid": "a287e36778d432d6f582d9ae0d7b50a2", "score": "0.5275077", "text": "private static void xuLyLuu() {\n\t\t\n\t}", "title": "" }, { "docid": "6adfcacefe8c9092c1e37283f71e2bb5", "score": "0.52725893", "text": "protected Node export(Node n, AbstractDocument d) {\n/* 258 */ super.export(n, d);\n/* 259 */ AbstractAttr aa = (AbstractAttr)n;\n/* 260 */ aa.nodeName = this.nodeName;\n/* 261 */ aa.unspecified = false;\n/* 262 */ aa.isIdAttr = d.isId(aa);\n/* 263 */ return n;\n/* */ }", "title": "" }, { "docid": "c5cf2b82d5530d48bf6c0d78d14efb93", "score": "0.5265618", "text": "private void d(X param1) {\n }", "title": "" }, { "docid": "9687e6797492b8e7da6a65a38ee302f0", "score": "0.5263461", "text": "public java.lang.Integer getD() {\n return d;\n }", "title": "" }, { "docid": "559d3c1cd53e81e55292816a72b68225", "score": "0.525908", "text": "private static int m21774a(double d) {\n int b = m21787b(d);\n int c = m21790c(((double) b) * d);\n return m21790c((d / ((double) (((float) c) / ((float) b)))) * ((double) c));\n }", "title": "" }, { "docid": "583b3a42b72f56eee4d8f1f6de153186", "score": "0.5258746", "text": "static void m6908c(Object obj, long j, double d) {\n f11066f.mo14782a(obj, j, d);\n }", "title": "" }, { "docid": "002e4398384635b1f1bc1fb9f1a7c742", "score": "0.5253726", "text": "void mo8246d();", "title": "" }, { "docid": "6fd5f99520457d01192c2b44c0633b7a", "score": "0.5251268", "text": "@Override\n\tpublic void visit(DsqlNode dsqlNode) {\n\t}", "title": "" }, { "docid": "51e69bea50c80933d22b7df4cebd88c6", "score": "0.5249619", "text": "EObject getF40408d();", "title": "" }, { "docid": "5fa57f9077ff9ba457f3da6b4603b65d", "score": "0.5249204", "text": "void d(String msg);", "title": "" }, { "docid": "c0fef3549eadf437879e498c9c037457", "score": "0.52459794", "text": "public final void mo29523db() {\n }", "title": "" }, { "docid": "798b90ad9f5fdc4a24747374650e068d", "score": "0.52424604", "text": "public double printn(double d)\n {\n return d;\n }", "title": "" }, { "docid": "36b73954ed0f7cc69dd9c3cf9dcc5ae9", "score": "0.52304685", "text": "private double getDistance(float f, double d) {\n\t\treturn Angle.getDistance(f, d);\n\t}", "title": "" }, { "docid": "b1b16ca453fbb97982017d16b9dd8113", "score": "0.5217497", "text": "@Override\r\n\tpublic void getnamedd() {\n\t\tsuper.getnamedd();\r\n\t}", "title": "" }, { "docid": "682a721c0c9a8d0b74d815217f60e986", "score": "0.52147174", "text": "void d(String tag, String log);", "title": "" }, { "docid": "f425de2864eea1df93fc8f891e62c300", "score": "0.52131987", "text": "public void Deneme(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "37bae6ef4b317dbf26e31b1775f640b3", "score": "0.5209446", "text": "public void setDit(int d) {\n dit = d;\n }", "title": "" }, { "docid": "a4b548b5deadb8418218136b7bdec6a3", "score": "0.5208079", "text": "public interface C8792a {\n /* renamed from: a */\n void mo14130a(View view, C8791d dVar);\n }", "title": "" }, { "docid": "bce44e1e0ecf8329cd35c4c761a96a24", "score": "0.5208055", "text": "java.lang.String getDSeq();", "title": "" }, { "docid": "7ef1a53002f6a9d98cbe3f9f6dfe0d0e", "score": "0.5206105", "text": "public java.lang.Integer getD() {\n return d;\n }", "title": "" }, { "docid": "b01236d7f1fe929b5ea222faff87457d", "score": "0.52013767", "text": "public decodificare() {\n\t}", "title": "" }, { "docid": "1bcfa32b33426bb3978a5529937b0c99", "score": "0.51928437", "text": "@Override\n\tpublic void eliminar(int d) {\n\t\t\n\t}", "title": "" }, { "docid": "d56fd3ab50e7e1b13d98a4c79aa76254", "score": "0.51898193", "text": "private int getDimention1() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "ebde52f771d9ccb0923252953bec2729", "score": "0.5189348", "text": "@Override\r\n\tpublic int updateDI(DI d) {\n\t\treturn dd.updateDI(d);\r\n\t}", "title": "" }, { "docid": "ae4590105a599eba7d1276f140bdcd5f", "score": "0.51854676", "text": "EObject getF40406d();", "title": "" }, { "docid": "fec3e6a41d2ed9cdd00ba10a2227fbfb", "score": "0.51827025", "text": "int mo19467d();", "title": "" }, { "docid": "7b353c83e3a88df324d3bc81c68a888b", "score": "0.516318", "text": "public interface y extends d {\n f bdc();\n\n v bhD();\n\n boolean bhL();\n}", "title": "" }, { "docid": "ec766adcb641c01edcae36377d466b94", "score": "0.51601774", "text": "private IndexedUnsortedList<Integer> ABC_setD_DBC() {\r\n\t\tIndexedUnsortedList<Integer> list =AB_addAfterB_ABC();\r\n\t\tlist.set(0,ELEMENT_D);\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "35f6cb268efcc6b4ffca28d07b44f621", "score": "0.51582706", "text": "public int getDoubleIndex(final Double d) {\n\t\treturn (addConstant(Constant.DOUBLE, d));\n\t}", "title": "" }, { "docid": "ad7e4b0d26e161fd8d9fd998b1ef52fa", "score": "0.5156483", "text": "private Dovahzul(){}", "title": "" }, { "docid": "24b431e4d0c8ec6a1d4aaa3bf0453a09", "score": "0.514971", "text": "public int getDit() { return dit; }", "title": "" }, { "docid": "991a048e03e4df550ec9ac306d501b71", "score": "0.51491064", "text": "private static int subPos(final double d) {\n final int i = (int) d;\n return limit(d == i ? i - 1 : (long) StrictMath.floor(d - 0.5));\n }", "title": "" }, { "docid": "4cb7110bdbbea5cb6b966207ae3c151e", "score": "0.5147253", "text": "public boolean d()\r\n/* 39: */ {\r\n/* 40:43 */ return false;\r\n/* 41: */ }", "title": "" }, { "docid": "05c6884e59e2084b52451081adfe2f8d", "score": "0.5142951", "text": "@ReflectiveMethod(name = \"d\", types = {})\n public void d(){\n NMSWrapper.getInstance().exec(nmsObject);\n }", "title": "" }, { "docid": "58f6305694416baf36fa76973834a7a5", "score": "0.51393133", "text": "@Override\r\n\tpublic void delete(Object d) {\n\r\n\t}", "title": "" }, { "docid": "de38ea1ee9b141c93d98c1fab876be0e", "score": "0.5130844", "text": "void mo11513a(blj<?> blj, C1236dd ddVar);", "title": "" }, { "docid": "e79b38697b1606c5d29e9e9e3ac321ca", "score": "0.5130053", "text": "public abstract void mo11687AD();", "title": "" }, { "docid": "685795d6cd977eeca77e20f9349de836", "score": "0.51262", "text": "EObject getF40401d();", "title": "" }, { "docid": "85c20a8d83fa8ef6387f7e12aaa71495", "score": "0.51261467", "text": "public byte[] getD() {\n return d;\n }", "title": "" }, { "docid": "99fe0a72196be9ed3cbbff9b4d89d766", "score": "0.5124648", "text": "private String convert_ddn(String ddn) {\r\n return ddn.substring(0, 4)+ddn.substring(4, 6)+ddn.substring(6, 8);\r\n }", "title": "" }, { "docid": "3f319bbc8e5aa6565ef97f9c44e9ee53", "score": "0.51203656", "text": "@Override\r\n\tpublic Vector getD(Point point) {\n\t\treturn _dir;\r\n\t}", "title": "" }, { "docid": "b94d9e272638b5e61d0432041bfb7b59", "score": "0.5119267", "text": "public abstract T mo29185d();", "title": "" }, { "docid": "457c13f5afba66677e47a39a910e6397", "score": "0.5110716", "text": "@Override\n public String toString() {\n return \"D\" + \" | \" + super.toString() + \" | \" + by;\n }", "title": "" }, { "docid": "6b89a3ab4c01886ca0676a6f3a8a8808", "score": "0.5108845", "text": "private void m11342g() {\n }", "title": "" }, { "docid": "e5c8ba827fcab8e8cccce9077bd374c6", "score": "0.5108589", "text": "public abstract Object translateToDamType();", "title": "" }, { "docid": "8c75ba8076413e90dfea3b1787c18238", "score": "0.5103617", "text": "public abstract void d(String tag, String message);", "title": "" }, { "docid": "231c72cb5ebc0867db59a9aadf7b63e2", "score": "0.50998783", "text": "String mo3763d();", "title": "" }, { "docid": "f9728f844116fc5b3b4a88cbf40a273e", "score": "0.5093647", "text": "int getDlid();", "title": "" }, { "docid": "e4ca1f79ef24fc0d694b63b005057d0e", "score": "0.5093179", "text": "String mo66739d(T t);", "title": "" }, { "docid": "3ce04a862f1f67ee07eabaed7c3c57ee", "score": "0.50906324", "text": "public abstract D getData();", "title": "" }, { "docid": "4034ce62f5ffd1a5fe5b7f8f0a44b61d", "score": "0.508998", "text": "public boolean d()\r\n/* 128: */ {\r\n/* 129:150 */ return !this.u;\r\n/* 130: */ }", "title": "" }, { "docid": "74cd4a6f1b14b5fcf52cab4364b246ad", "score": "0.50884354", "text": "@ReflectiveMethod(name = \"d\", types = {})\n public NMSVec3D d(){\n return new NMSVec3D(NMSWrapper.getInstance().exec(nmsObject));\n }", "title": "" }, { "docid": "7eeb1bcf2b25fd476d701a8f930e4253", "score": "0.5085645", "text": "public abstract zzdwt<K> mo14286b();", "title": "" }, { "docid": "cfda2b2df99d6468d61a673658081de5", "score": "0.5084439", "text": "public final void d(int r5, int r6, java.util.LinkedList<?> r7) {\n /*\n r4 = this;\n r0 = 0;\n if (r7 == 0) goto L_0x0023;\n L_0x0003:\n switch(r6) {\n case 1: goto L_0x0091;\n case 2: goto L_0x0061;\n case 3: goto L_0x0079;\n case 4: goto L_0x0031;\n case 5: goto L_0x0049;\n case 6: goto L_0x001c;\n case 7: goto L_0x00a5;\n case 8: goto L_0x00bd;\n default: goto L_0x0006;\n };\n L_0x0006:\n r0 = new java.lang.IllegalArgumentException;\n r1 = new java.lang.StringBuilder;\n r2 = \"The data type was not found, the id used was \";\n r1.<init>(r2);\n r1 = r1.append(r6);\n r1 = r1.toString();\n r0.<init>(r1);\n throw r0;\n L_0x001c:\n r1 = r0;\n L_0x001d:\n r0 = r7.size();\n if (r1 < r0) goto L_0x0024;\n L_0x0023:\n return;\n L_0x0024:\n r0 = r7.get(r1);\n r0 = (com.tencent.mm.bk.b) r0;\n r4.b(r5, r0);\n r0 = r1 + 1;\n r1 = r0;\n goto L_0x001d;\n L_0x0031:\n r1 = r0;\n L_0x0032:\n r0 = r7.size();\n if (r1 >= r0) goto L_0x0023;\n L_0x0038:\n r0 = r7.get(r1);\n r0 = (java.lang.Double) r0;\n r2 = r0.doubleValue();\n r4.c(r5, r2);\n r0 = r1 + 1;\n r1 = r0;\n goto L_0x0032;\n L_0x0049:\n r1 = r0;\n L_0x004a:\n r0 = r7.size();\n if (r1 >= r0) goto L_0x0023;\n L_0x0050:\n r0 = r7.get(r1);\n r0 = (java.lang.Float) r0;\n r0 = r0.floatValue();\n r4.l(r5, r0);\n r0 = r1 + 1;\n r1 = r0;\n goto L_0x004a;\n L_0x0061:\n r1 = r0;\n L_0x0062:\n r0 = r7.size();\n if (r1 >= r0) goto L_0x0023;\n L_0x0068:\n r0 = r7.get(r1);\n r0 = (java.lang.Integer) r0;\n r0 = r0.intValue();\n r4.fT(r5, r0);\n r0 = r1 + 1;\n r1 = r0;\n goto L_0x0062;\n L_0x0079:\n r1 = r0;\n L_0x007a:\n r0 = r7.size();\n if (r1 >= r0) goto L_0x0023;\n L_0x0080:\n r0 = r7.get(r1);\n r0 = (java.lang.Long) r0;\n r2 = r0.longValue();\n r4.T(r5, r2);\n r0 = r1 + 1;\n r1 = r0;\n goto L_0x007a;\n L_0x0091:\n r1 = r0;\n L_0x0092:\n r0 = r7.size();\n if (r1 >= r0) goto L_0x0023;\n L_0x0098:\n r0 = r7.get(r1);\n r0 = (java.lang.String) r0;\n r4.g(r5, r0);\n r0 = r1 + 1;\n r1 = r0;\n goto L_0x0092;\n L_0x00a5:\n r1 = r0;\n L_0x00a6:\n r0 = r7.size();\n if (r1 >= r0) goto L_0x0023;\n L_0x00ac:\n r0 = r7.get(r1);\n r0 = (java.lang.Boolean) r0;\n r0 = r0.booleanValue();\n r4.av(r5, r0);\n r0 = r1 + 1;\n r1 = r0;\n goto L_0x00a6;\n L_0x00bd:\n r1 = r0;\n L_0x00be:\n r0 = r7.size();\n if (r1 >= r0) goto L_0x0023;\n L_0x00c4:\n r0 = r7.get(r1);\n r0 = (com.tencent.mm.bk.a) r0;\n r2 = r0.boi();\n r4.fV(r5, r2);\n r0.a(r4);\n r0 = r1 + 1;\n r1 = r0;\n goto L_0x00be;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: f.a.a.c.a.d(int, int, java.util.LinkedList):void\");\n }", "title": "" }, { "docid": "838ade77d9317ca9c1477f58bf2ed244", "score": "0.5082265", "text": "@Override\n\tpublic void updateData(Data d) {\n\t\t\n\t}", "title": "" }, { "docid": "75773448098fa15ca1b5f066ae079ca0", "score": "0.5071762", "text": "public abstract zzdwt<Map.Entry<K, V>> mo14285a();", "title": "" }, { "docid": "4756c7921aae036a00da235fda7e1e07", "score": "0.50677764", "text": "public boolean aDx() {\n return false;\n }", "title": "" }, { "docid": "247adb5a7ca640c81a23ef4a01e4c7bc", "score": "0.5067144", "text": "private static String d(final XDValue... x) {\n\t\tif (x == null) {\n\t\t\treturn \"(null)\";\n\t\t} else if (x.length == 0) {\n\t\t\treturn \"()\";\n\t\t} else {\n\t\t\tString s = \"(\" + x[0].toString();\n\t\t\tfor (int i = 1; i < x.length; i++) {\n\t\t\t\ts += \", \" + x[i];\n\t\t\t}\n\t\t\treturn s + \")\";\n\t\t}\n\t}", "title": "" }, { "docid": "6113c3b6512464d1841778f7e19004fb", "score": "0.5064366", "text": "void mo35060d();", "title": "" }, { "docid": "7239ddb24cb233001958117563a89e91", "score": "0.50487566", "text": "public int d() {\n return this.c;\n }", "title": "" }, { "docid": "bb93fee495d2db52e602a3d8cf66d002", "score": "0.50463074", "text": "Tuple (SetFunction f , Guard g, Domain d) {\n this(null, new Domain(f.getSort(),1), Util.singleSortedMap(f.getSort(), Collections.singletonList(f)), g, d );\n }", "title": "" }, { "docid": "93c5bd7c6b4043b1fef3219103c98ee0", "score": "0.50448114", "text": "private int getDimention2() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "df5ebf8a317eb2228d9ccb94a8807212", "score": "0.5044347", "text": "EObject getF40404d();", "title": "" }, { "docid": "559202c766966e3a1868e90b7c9fa7d1", "score": "0.5040988", "text": "@Override\r\n\tpublic int insertDI(DI d) {\n\t\treturn dd.insertDI(d);\r\n\t}", "title": "" }, { "docid": "12e683b8473d2e59b9025f87b997f12a", "score": "0.5040902", "text": "public abstract T mo25588d();", "title": "" } ]
3d9bb456582d1783fa49c767e55b2d77
Puts the given message in the error log view, as error or warning.
[ { "docid": "6c2b87043d5508ecf5db9617037efc35", "score": "0.0", "text": "public void log(String message, boolean blocker) {\n int severity = (blocker) ? IStatus.ERROR : IStatus.WARNING;\n log(new Status(severity, getID(), severity, ((message != null) ? message.trim().replaceFirst(\"\\n\", \";\\n\") : AcceleoToolsMessages.getString(\"AcceleoPlugin.UnknownError\")), null)); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$\n }", "title": "" } ]
[ { "docid": "d3f7cab5bddc631f18e0a4c119375692", "score": "0.6982649", "text": "void showErrorHint(String message);", "title": "" }, { "docid": "4a50bfa144fd4d240b6c3217b884aab6", "score": "0.6965631", "text": "public void addError(String message);", "title": "" }, { "docid": "f7795c94d9f8cc5fc476593182d0cb2b", "score": "0.69450104", "text": "void showError(@Nullable String message);", "title": "" }, { "docid": "268089c3e384f33036d08bc8d7f05894", "score": "0.6927379", "text": "public void error(String message);", "title": "" }, { "docid": "268089c3e384f33036d08bc8d7f05894", "score": "0.6927379", "text": "public void error(String message);", "title": "" }, { "docid": "83b0bc1b62bddf4a1408b7563427e7fa", "score": "0.677223", "text": "private void error(String message) {\n System.out.println(\"ERROR: \" + message);\n }", "title": "" }, { "docid": "87713db5979e8de6377f7c837b777a6b", "score": "0.6761972", "text": "public void logError( String message ) {\n log.logError( message );\n }", "title": "" }, { "docid": "6c8bdc4ec2c90a64383d7dde012206fd", "score": "0.66918486", "text": "public void error(String msg);", "title": "" }, { "docid": "eebec38876d1dd3f1eb01f3ed31e5f44", "score": "0.6679849", "text": "public void displayError(String message) {\n numErrors++;\n displayWarning(message);\n }", "title": "" }, { "docid": "9c4f138b8d97ee7f1c191ac905c4cdcc", "score": "0.66556424", "text": "void showErrorMsg(String message);", "title": "" }, { "docid": "54744c5cd4ede18876f7882ac5805ca4", "score": "0.6600805", "text": "public static void error(String message) {\n show(message, MessageType.ERROR);\n }", "title": "" }, { "docid": "4dae738c63fbea1dd2b3be920bc5cbc4", "score": "0.65752786", "text": "public void displayError(String errorMessage);", "title": "" }, { "docid": "b99383d00c4d514c386a8b4a31cdf626", "score": "0.6573592", "text": "public void error(Object message);", "title": "" }, { "docid": "015f7de3b849c85cb84e1ba1c4d86301", "score": "0.65543437", "text": "public void writeError(String text) {\n this.error.setText(text);\n }", "title": "" }, { "docid": "0106fb0f3663a7d9d600f23e2a836d76", "score": "0.6550909", "text": "public void error(String message, Throwable error);", "title": "" }, { "docid": "66b653525036eddf425410b2515497a0", "score": "0.65423447", "text": "private void errorMessage(Exception message) {\n errorMessage.showMessage(this, message);\n }", "title": "" }, { "docid": "585265fe72c3ef6c6420e94d96f6619a", "score": "0.6513137", "text": "public void error(String message) {\n\t\terror(message, null);\n\t}", "title": "" }, { "docid": "56d86f6bcbaef7db3c1507b3b60b8b8f", "score": "0.6458021", "text": "public void error(String message) {\n\t\tstatus.setForeground(new Color(200, 0, 0));\n\t\tstatus.setMessage(message);\n\t}", "title": "" }, { "docid": "7c905f1e5e1a29d3cae4e58f24f60960", "score": "0.64338905", "text": "public void showError( String message ) {\n\t\tshowError(message, null);\n\t}", "title": "" }, { "docid": "0e90d614edce7360a34cceea35eb4b03", "score": "0.64279944", "text": "public static final void error(String message) {\n logger.error(message);\n }", "title": "" }, { "docid": "3274d56d29ce4793de1c01027b855e44", "score": "0.64213", "text": "void error( String message );", "title": "" }, { "docid": "0dbcae78d2e97a0a004ef42477501a12", "score": "0.6419323", "text": "public static void errorLog(final String message) {\r\n stderr.println(message);\r\n }", "title": "" }, { "docid": "00e087d6dbdfeefbaa9fbc345f150e5e", "score": "0.6419281", "text": "public static void error(String msg)\r\n \t{\r\n \t\tif (_log.isErrorEnabled()) _log.error(\"ERROR: \" + msg);\r\n //\t\tSystem.err.println(\"ERROR: \" + msg);\r\n \t}", "title": "" }, { "docid": "c20aa22039de40597704197ce3e37e68", "score": "0.6412832", "text": "public void errorMessage(String messageID, String message) {\n if (messageID != null) {\n try {\n message = Messages.message(messageID);\n } catch (MissingResourceException e) {\n logger.warning(\"could not find message with id: \" + messageID);\n }\n }\n\n ErrorPanel errorPanel = new ErrorPanel(this);\n errorPanel.initialize(message);\n showFreeColDialog(errorPanel);\n }", "title": "" }, { "docid": "9fcf9d4e1675158594e2c432e0871dbe", "score": "0.640307", "text": "public static void error(String message) {\r\n\t\tJOptionPane.showMessageDialog(null, message, MMESSAGE_ERROR_TITLE, JOptionPane.ERROR_MESSAGE);\r\n\t}", "title": "" }, { "docid": "0091180b45139d5d7eda4e569d9ce454", "score": "0.6399667", "text": "void error(String message);", "title": "" }, { "docid": "f0c77b983bd1fea2fecf9357b03a615a", "score": "0.6391883", "text": "void showError(String error);", "title": "" }, { "docid": "b345290b9fc7a97bc4beed6ea0fce0fb", "score": "0.63787013", "text": "public void viewAsError() {\n setType(ERROR);\n }", "title": "" }, { "docid": "3c2f512e1ae72880b0578bba7543a98b", "score": "0.6373937", "text": "public void error(Object message)\r\n/* 26: */ {\r\n/* 27: 74 */ this.log4jLogger.error(message);\r\n/* 28: */ }", "title": "" }, { "docid": "7269efd7b0f13b2e75b16d2e82c56552", "score": "0.6368562", "text": "@Override\n public void error(final String message)\n {\n m_logger.error(message);\n }", "title": "" }, { "docid": "57121fc8aac78a57c017b126f8deb7ec", "score": "0.63333255", "text": "public void error( final String message )\n {\n m_logger.fatalError( message );\n }", "title": "" }, { "docid": "11f72033c8f5b6a2748bc3cb77d54dcf", "score": "0.63123006", "text": "private static void errorPrintln(final String message) {\r\n System.err.println(\"ERROR>>> \" + message);\r\n }", "title": "" }, { "docid": "4d7549314a6c07b0a13120de86385cf4", "score": "0.63113046", "text": "public static void printError( String message )\r\n {\r\n printMessage( \"ERROR\", message );\r\n }", "title": "" }, { "docid": "aaba2c0fb374b1394ebdf8214fb8b0e0", "score": "0.63019305", "text": "public final void setErrorMessage (String msg) {\n nd.setErrorMessage (msg);\n }", "title": "" }, { "docid": "2e64b007cf8814f997a53bb27cb70f0c", "score": "0.6274575", "text": "@Override\n\tpublic void printErrorLog(String msg) {\n\t\tActivityLogObj activityLogObj = writeActiveLogLocal.get();\n\t\tmsg = ReplicationMessage.getResource(ReplicationMessage.REPLICATION_VMWARE_MSG, msg);\n\t\tif(activityLogObj!=null)\n\t\t\tHACommon.addActivityLogByAFGuid(Constants.AFRES_AFALOG_ERROR, activityLogObj.getJobID(), Constants.AFRES_AFJWBS_GENERAL, \n\t\t\t\t\tnew String[] { msg,\"\", \"\", \"\", \"\" }, activityLogObj.getAfguid());\n\t}", "title": "" }, { "docid": "1eecdf6ce664b4541de714251dea6260", "score": "0.6267829", "text": "public void errorMessage(String message) {\n Platform.runLater(() -> {\n textField.clear();\n textField.editableProperty().setValue(true);\n error.setText(message);\n error.setVisible(true);\n connectButton.setDisable(false);\n });\n }", "title": "" }, { "docid": "5cf6d8febe301ce3bf5d464e036bad7f", "score": "0.6256882", "text": "private void displayError(String message) {\n SourceCode error = lang.newSourceCode(new Offset(0, 30, \"header\",\n AnimalScript.DIRECTION_SW), \"error\", null, textProps);\n error.addCodeLine(message, null, 0, null);\n }", "title": "" }, { "docid": "40e06aec131d21608809dabcff67a15d", "score": "0.6232278", "text": "public void errorMessage(String message){\n Toast.makeText(this, message, Toast.LENGTH_SHORT).show();\n\n }", "title": "" }, { "docid": "66e21384fbfe8ebca9f49886a7e10f6d", "score": "0.62190163", "text": "protected void logError(String message, Exception ex) {\n String exceptionMessage = (ex != null) ? ex.getMessage() : \"\";\n message = \"[TimeSeriesForecasting] \" + statusMessagePrefix() + \" \"\n + message + exceptionMessage;\n if (m_log != null) {\n m_log.logMessage(message);\n } else {\n System.err.println(message);\n }\n }", "title": "" }, { "docid": "4fbb327a3cdeb73a316544fea4b20f4c", "score": "0.62073267", "text": "public void error(String msg) {\n out.print(ERROR);\n out.println(msg);\n }", "title": "" }, { "docid": "bb33ef40d1a78c8831fd1b6ce47383f8", "score": "0.6197587", "text": "void error(String msg);", "title": "" }, { "docid": "6d64747b173d1aaf7a8455bed9d45f39", "score": "0.61949277", "text": "public static void logError(String message)\n {\n Log.e(APP_TAG, message);\n }", "title": "" }, { "docid": "ad967a35872a86b3504328bb18af1bfc", "score": "0.6191138", "text": "public void emitError(String title, String message)\r\n {\r\n JOptionPane.showMessageDialog(this, message, title, JOptionPane.ERROR_MESSAGE);\r\n }", "title": "" }, { "docid": "c512920056794ec3cde467c5812ac6b8", "score": "0.61874384", "text": "public static void error(String message)\r\n\t{\r\n\t\tfor(ILogger logger : loggers)\r\n\t\t{\r\n\t\t\tlogger.log(toErrorMessage(message));\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "19dc79cec46665b22fb93764873571d2", "score": "0.6166144", "text": "public static void error(String message, Throwable e) {\r\n getDefault().getLog().log(new Status(IStatus.ERROR, ID, 0, message == null ? \"\" : message, e)); //$NON-NLS-1$\r\n }", "title": "" }, { "docid": "6a4481d1ed934bac98deb14ba0b86c67", "score": "0.6160075", "text": "public void displayError(String message) {\n\t\tInputErrorDialogFragment errorDialog = new InputErrorDialogFragment();\n\t\terrorDialog.setMessage(message);\n\t\terrorDialog.show(getFragmentManager(), \"errorDialog\");\n\t}", "title": "" }, { "docid": "9b8d1fde18d2027dd94ffae32f5f67ff", "score": "0.6159", "text": "public abstract void showErrorMessage(String message);", "title": "" }, { "docid": "7ca6a31e3bd93b696aa12c2e5edc361f", "score": "0.615564", "text": "@Override\n public void showErrorMessage(View view, String error) {\n TextView textView = (TextView) view.findViewById(R.id.tv_error_message);\n textView.setText(error);\n textView.setVisibility(View.VISIBLE);\n }", "title": "" }, { "docid": "92da728d72f06ea616020c7cc048e72e", "score": "0.61386454", "text": "static void appendAndShow(String message) {\n assert SwingUtilities.isEventDispatchThread();\n\n int oldLen = instance.textArea.getDocument().getLength();\n instance.textArea.append(message + \"\\n\\n\");\n // The window must be set visible before modelToView() call,\n // otherwise the size of the textarea is not computed yet.\n instance.setVisible(true);\n\n int firstErrorIndex = (message == null) ? -1 : message.indexOf(\"ERROR\");\n\n if( firstErrorIndex > -1 ) {\n \t// The compiler generated error messages are often very long but\n \t// the root cause of the error is described after the first occurence\n \t// of the string \"ERROR\". Make it easier for the user to spot errors\n \t// by scrolling to the hopefully most relevant location.\n \tJViewport vp = instance.areaScrollPane.getViewport();\n \ttry {\n \t\tRectangle r = instance.textArea.modelToView(oldLen \n \t\t\t\t+ firstErrorIndex);\n \t\tPoint p = vp.getViewPosition();\n \t\tp.setLocation(0, r.y);\n \t\tvp.setViewPosition(p);\n \t\t// Hilight the first occurence of \"ERROR\"\n \t\tinstance.textArea.select(oldLen + firstErrorIndex,\n \t\t\t\toldLen + firstErrorIndex + 5);\n \t} catch (BadLocationException e) {\n logger.error(null, e);\n \t}\n }\n \n if( instance.getState() == Frame.ICONIFIED ) {\n instance.setState( Frame.NORMAL );\n }\n instance.toFront();\n }", "title": "" }, { "docid": "0a6b123358506129d940d23af79686ca", "score": "0.6128066", "text": "private void addError(Token token, String message, Object... args) {\n int line = token.getLine();\n int column = token.getCharPositionInLine();\n message = String.format(message, args);\n message = String.format(\"Line %d:%d - %s\", line, column, message);\n this.errors.add(message);\n }", "title": "" }, { "docid": "332b9bfb0ea9f9e47affcfc7c02ffa7d", "score": "0.61241144", "text": "public void logError(Object message) {\n/* 148 */ logInternal(1, message, null);\n/* */ }", "title": "" }, { "docid": "4864472fc1bc90d9397c8b4aac482bc1", "score": "0.6116002", "text": "public void error(String msg) {\n String name = getClass().toString();\n name = name.substring(name.lastIndexOf('.') + 1);\n System.err.println(name + (id != null ? \"(\" + id + \")\" : \"\") + \": \" + msg);\n }", "title": "" }, { "docid": "4bfd60f51071cf031b89c04c86a3a49c", "score": "0.6104654", "text": "public void error(String msg, Throwable e);", "title": "" }, { "docid": "b273f1f4683e2098a28a3341a02c679e", "score": "0.608172", "text": "@Override\n \tpublic void showErrorMessage(final String title, final String message) {\n \n \t}", "title": "" }, { "docid": "ab249891fc1dc517dfbca4975599d648", "score": "0.6080868", "text": "public void showError(String error)\n {\n \n errorLabel.setText(error);\n }", "title": "" }, { "docid": "0bdfa7c0a80dee22e3f043d5c946f905", "score": "0.6070451", "text": "private void setErrorView() {\n \n //Set the error/mode label to the correct specs \n error.setBackground(Color.RED);\n error.setText(\"E\");\n \n display.setText(CalculatorModel.ERROR_STRING); \n }", "title": "" }, { "docid": "9d67dfe6267d6626f4ae156f914f0401", "score": "0.6068008", "text": "void error(final String source, final String message);", "title": "" }, { "docid": "02911060571ad873238bea5d889a20c7", "score": "0.6060941", "text": "public MessageError(String title, String message){\n JOptionPane.showMessageDialog(null, message, title, JOptionPane.ERROR_MESSAGE);\n }", "title": "" }, { "docid": "afa50e3382e8f4c5f2eeb906b9d50ac9", "score": "0.60582", "text": "@Override\n public void showError(ServerError error, String message) {\n Toast.makeText(this, \"Error: \" + error.toString() + \" Message: \" + message, Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "b7dfd12c555e13b19ff6777306eab8b1", "score": "0.605694", "text": "void setErrorDialog(String title, String text);", "title": "" }, { "docid": "8760249b908ee25920e1d505ac7710e5", "score": "0.60441667", "text": "public void showError(String errorMessage) {\n System.out.println(errorMessage);\n }", "title": "" }, { "docid": "0004fd9866bd17b8a6d7a477d06d71b7", "score": "0.6041863", "text": "public void error(String msg)\r\n/* 212: */ {\r\n/* 213:513 */ this.logger.log(FQCN, Level.ERROR, msg, null);\r\n/* 214: */ }", "title": "" }, { "docid": "3e8d60cacd607320f39b8762e8fc41ac", "score": "0.6035183", "text": "public abstract void setMessage(Label errorMessage);", "title": "" }, { "docid": "9fb62b6cd09209b8022f095353d1ea16", "score": "0.6030038", "text": "@RequestMapping(value = \"error\" + WebUtils.URL_SUFFIX_PAGE)\n\tpublic String showError(final HttpServletRequest request, final HttpServletResponse response, ModelMap model) {\n\t\tmodel.addAttribute(\"title\", \"Erreur\");\n\n\t\treturn \"utils/error\";\n\t}", "title": "" }, { "docid": "d7e7a54651987c7ed2852b18d39ed827", "score": "0.6023476", "text": "void error(String message, Exception exception);", "title": "" }, { "docid": "152d39dba85bfeacc733bcad8394478c", "score": "0.6021119", "text": "default void outputError(String error){\n\n System.out.println(\"-------------------------ERROR---------------------------\\n\" +\n error +\n \"\\n---------------------------------------------------------\");\n }", "title": "" }, { "docid": "cfd9cd16047aa4710ac285cb6c84582c", "score": "0.60210973", "text": "public static void error(String msg) {\n\t\tSystem.err.println(\"ERROR: \" + msg);\n\t}", "title": "" }, { "docid": "d72804c0b19b3fad7b13769802096efd", "score": "0.6009293", "text": "public static void error(String message)\n\t{\n\t\tIPartialPageRequestHandler handler = RequestCycleUtils.getRequestHandler();\n\n\t\tif (handler != null)\n\t\t{\n\t\t\tFeedbackUtils.error(handler, message);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tWebSession.get().error(message);\n\t\t}\n\t}", "title": "" }, { "docid": "0d714ca7a9599fbff38a58dcf7a334ac", "score": "0.6005834", "text": "public void SetConsoleLogMessage() {\n\t\tconsolePanelTextArea.setText(\"Show Errors Here!\");\n\t}", "title": "" }, { "docid": "0d1e96e78a77d1d0da09d6bbfcc4bc05", "score": "0.6003375", "text": "public void report_error(String message, Object info) {\n StringBuilder m = new StringBuilder(\"Error\");\n if (info instanceof java_cup.runtime.Symbol) {\n java_cup.runtime.Symbol s = ((java_cup.runtime.Symbol) info);\n m.append(\" \" + s.value.toString());\n if (s.left >= 0) { \n m.append(\" in line \"+(s.left));\n if (s.right >= 0)\n m.append(\", column \"+(s.right));\n }\n }\n m.append(\" : \"+message);\n System.err.println(m);\n }", "title": "" }, { "docid": "6257e14f0b44c9a10f7bf832575936fd", "score": "0.59985656", "text": "public void displayError(String message) {\n Toast toast = Toast.makeText(this, message, Toast.LENGTH_SHORT);\n toast.setGravity(Gravity.CENTER, 0, 0);\n toast.show();\n }", "title": "" }, { "docid": "3583e8d6268c5392ee474ec282bd19d4", "score": "0.59984493", "text": "protected void showErrorMessage(String message) {\t\n \t\tif (getActiveEditor() != null) {\n \t\t\tIEditorStatusLine statusLine= (IEditorStatusLine) getActiveEditor().getAdapter(IEditorStatusLine.class);\n \t\t\tif (statusLine != null) {\n \t\t\t\tstatusLine.setMessage(true, message, null);\n \t\t\t}\n \t\t}\t\t\n \t\tJDIDebugUIPlugin.getStandardDisplay().beep();\t\t\n \t}", "title": "" }, { "docid": "9bbdd7ec24d63b36a894f8feec14dc95", "score": "0.5997729", "text": "public void error(String message) {\n out.printf(\"semanticdb-javac: %s\\n\", message);\n }", "title": "" }, { "docid": "ad33ab643c22d05129ba0e50307dffdd", "score": "0.59957033", "text": "public static void error(String msg) {\n if (msg != null && msg.length() > 0)\n getLogger(\"unidu.error\").error(msg);\n }", "title": "" }, { "docid": "0aea6701b6f782a6eaa81f6fb1da369a", "score": "0.59950334", "text": "private void handleGameErrorMessage(final StringMessage message) {\n showGameError(message.getContent());\n }", "title": "" }, { "docid": "1a1078985f6978bed2b012c76a1d84fb", "score": "0.5988302", "text": "public void info(String message, Throwable error);", "title": "" }, { "docid": "7798c8c2d0fb2fa51f0206f11817835b", "score": "0.598751", "text": "private static void setErrorText(EditText editText, String message) {\n int RGB = Color.argb(255, 255, 0, 0);\n // Object that contains the color white\n ForegroundColorSpan fgcspan = new ForegroundColorSpan(RGB);\n // Object that will hold the message, and makes it possible to change the color of the text\n SpannableStringBuilder ssbuilder = new SpannableStringBuilder(message);\n // Give the message from the first till the last character a white color.\n // The last '0' means that the message should not display additional behaviour\n ssbuilder.setSpan(fgcspan, 0, message.length(), 0);\n // Make the EditText display the error message\n editText.setError(ssbuilder);\n }", "title": "" }, { "docid": "1fb9da853f427b3a9cb3e00b09984e92", "score": "0.5986194", "text": "protected void setErrorMessage(String msg) {\n \t\tIWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();\n \t\tif (window != null) {\n \t\t\tIWorkbenchPage page = window.getActivePage();\n \t\t\tif (page != null) {\n \t\t\t\tIEditorPart editor = page.getActiveEditor();\n \t\t\t\tif (editor != null) {\n \t\t\t\t\tIEditorStatusLine statusLine = (IEditorStatusLine) editor.getAdapter(IEditorStatusLine.class);\n \t\t\t\t\tif (statusLine != null)\n \t\t\t\t\t\tstatusLine.setMessage(true, msg, null);\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "5cae6b4fd7199d729daaeac66a83c6bd", "score": "0.59825784", "text": "void error(String msg, Throwable t);", "title": "" }, { "docid": "b69d303610bbe235dce8b8adee811249", "score": "0.59768325", "text": "public void error(Object message, Throwable throwable);", "title": "" }, { "docid": "b2af96b15b935f5891ff6d2c6bba77e1", "score": "0.59760636", "text": "void showErrorView();", "title": "" }, { "docid": "5fe773a39f6a7a320357a829d9a79de9", "score": "0.5974885", "text": "void setErrorMessage(java.lang.String errorMessage);", "title": "" }, { "docid": "d03972a1ee8c5274cb2dd2bf4236f0c1", "score": "0.5972406", "text": "public void warn(String message, Throwable error);", "title": "" }, { "docid": "cfea602ce875167d31af62a9947b61d4", "score": "0.5968884", "text": "public void displayErrorDialog(final Throwable error);", "title": "" }, { "docid": "10bdbcb76d176bda3479f616cafe82d5", "score": "0.59655523", "text": "void setErrorMessage(String errorMessage);", "title": "" }, { "docid": "b39ffcd0d8e9d349b49a2960f1f55ec3", "score": "0.5959742", "text": "public void displayWarning(String message) {\n err.println(getName() + \": \" + message);\n }", "title": "" }, { "docid": "b43f5b2327cc1f501b9ea2336714bfc7", "score": "0.59541434", "text": "private void printError(String message) {\n\t\tSystem.err.println(message);\n\t}", "title": "" }, { "docid": "44f7e6430d54a22497ef680c14fb815f", "score": "0.59514344", "text": "public static void logToError(String entry)\n\t{\n\t\ttry\n\t\t{\n\t\t\tSystem.err.println(DateUtil.getCurrentDateTime() + \" :: \" + entry);\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tSystem.err.println(\"exception logging to err. message: \" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "35adf4919b52bec959cbb1432a7bece5", "score": "0.59492636", "text": "@Override\n\tpublic void logError(final int code, final String text);", "title": "" }, { "docid": "94c7ef605dcb20285998c17f62dc94c8", "score": "0.5941263", "text": "public void error(Object message, Throwable t)\r\n/* 31: */ {\r\n/* 32: 82 */ this.log4jLogger.error(message, t);\r\n/* 33: */ }", "title": "" }, { "docid": "94845bda54840eb8bdbdcfd4fa083814", "score": "0.593924", "text": "public void errorMessage(String messageID) {\n errorMessage(messageID, \"Unspecified error: \" + messageID);\n }", "title": "" }, { "docid": "cd787267d520bc5bf8470056e6c5a1cf", "score": "0.5938209", "text": "public void addErrorMessage(String message){\n\t\tFacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, \"Erro!\", message));\n\t}", "title": "" }, { "docid": "968749cee120372d0c848ce874145982", "score": "0.59371495", "text": "public void showError(String message) {\n Alert error = new Alert(Alert.AlertType.ERROR);\n error.setTitle(\"Virhe\");\n error.setHeaderText(message);\n error.showAndWait();\n }", "title": "" }, { "docid": "d3d93948ee1d19ba928d1e5f70432d5a", "score": "0.59346855", "text": "private void sendErrMessage(String message, UserThread user) {\n\t\tuser.sendMessage(\"Error : \" + message);\n\t}", "title": "" }, { "docid": "4f4ee8ee455a5a2af17fa9a32a22767e", "score": "0.592909", "text": "public void error(String error) {\n logger.error(error);\n }", "title": "" }, { "docid": "494350fcd484f98acb4f674d11f314b4", "score": "0.591938", "text": "protected void statusError() {\n String message = statusMessagePrefix() + \"ERROR: see log for details\";\n if (m_log != null) {\n m_log.statusMessage(message);\n } else {\n System.err.println(message);\n }\n }", "title": "" }, { "docid": "7dc04cf5eb8355cbee2ba04fee2a74e4", "score": "0.59138006", "text": "public void warn( final String message )\n {\n m_logger.error( message );\n }", "title": "" }, { "docid": "09ff304ce6e2546563d99fa3a38196aa", "score": "0.5912868", "text": "public void printError(String msg)\r\n\t{\r\n\t\tSystem.err.println(errorMsg(msg));\r\n\t}", "title": "" }, { "docid": "45ab56024c8152999e1add8db0cc729d", "score": "0.5909662", "text": "@Override\n public void showError(String error) {\n theScreen.showError(error);\n }", "title": "" }, { "docid": "53a205f32e8855b797753f3dcf5fc53c", "score": "0.59095514", "text": "void setError(String msg) {\n if (!error() && msg != null) {\n commandLineError = msg;\n }\n }", "title": "" }, { "docid": "1f87fd14c0180b958afbe18acac8d3e0", "score": "0.5905818", "text": "static String toErrorMessage(String message)\r\n\t{\r\n\t\treturn getTimeStamp() + \"[ERROR] \" + message;\r\n\t}", "title": "" } ]